Skip to content

Misc. bug: test case "Server / server-windows (pull_request) " failed in PR checks, error:"The term 'pytest' is not recognized as a name of a cmdlet, function, script file, or executable program" #10554

@leo-pony

Description

@leo-pony

Name and Version

Test case "Server / server-windows (pull_request) " failed in PR checks, error:"The term 'pytest' is not recognized as a name of a cmdlet, function, script file, or executable program".

The PR that affected by this issue: #10519.
This issue may have relationship with PR #10416(server : replace behave with pytest) .

Operating systems

Linux

Which llama.cpp modules do you know to be affected?

Other (Please specify in the next section)

Problem description & steps to reproduce

image
Run cd examples/server/tests
cd examples/server/tests
$env:PYTHONIOENCODING = ":replace"
pytest -v -x
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
LLAMA_LOG_COLORS: 1
LLAMA_LOG_PREFIX: 1
LLAMA_LOG_TIMESTAMPS: 1
LLAMA_LOG_VERBOSITY: 10
pythonLocation: C:\hostedtoolcache\windows\Python\3.11.9\x64
PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.11.9\x64/lib/pkgconfig
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.11.9\x64
pytest: D:\a_temp\4cf99d7f-0c62-442d-b9b9-7b88a28fd6b6.ps1:4
Line |
4 | pytest -v -x
| ~~~~~~
| The term 'pytest' is not recognized as a name of a cmdlet, function, script file, or executable program. Check
| the spelling of the name, or if a path was included, verify that the path is correct and try again.
Error: Process completed with exit code 1.

First Bad Commit

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions