Reconnect DBs #570
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
main.yml
on: pull_request
pytest
5m 1s
pytest-integration
12m 29s
mypy
2m 1s
client-generation
4m 10s
Annotations
21 errors
mypy
Process completed with exit code 1.
|
pytest:
tests/db/jobs/test_jobDB.py#L44
test_some_asyncio_code
assert []
|
pytest:
tests/routers/test_job_manager.py#L86
test_insert_and_list_parametric_jobs
assert 0 == 3
+ where 0 = len([])
|
pytest:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions0]
assert 0 == 1
+ where 0 = len([])
+ and 1 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n'])
|
pytest:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions1]
assert 0 == 2
+ where 0 = len([])
+ and 2 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n'])
|
pytest:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions2]
assert 0 == 10
+ where 0 = len([])
+ and 10 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out...rguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', ...])
|
pytest:
tests/routers/test_job_manager.py#L128
test_insert_and_search
assert [] == [1]
Right contains one more item: 1
Full diff:
- [1]
? -
+ []
|
pytest:
tests/routers/test_job_manager.py#L209
test_search_distinct
assert 0 > 1
+ where 0 = len([])
+ where [] = <bound method Response.json of <Response [200 OK]>>()
+ where <bound method Response.json of <Response [200 OK]>> = <Response [200 OK]>.json
|
pytest:
tests/routers/test_job_manager.py#L342
test_get_job_status_history
AssertionError: {'detail': 'Job 1 not found'}
assert <HTTPStatus.NOT_FOUND: 404> == 200
+ where <HTTPStatus.NOT_FOUND: 404> = <Response [404 Not Found]>.status_code
|
pytest:
tests/routers/test_job_manager.py#L418
test_set_job_status
AssertionError: {'detail': 'Job 1 not found'}
assert <HTTPStatus.NOT_FOUND: 404> == 200
+ where <HTTPStatus.NOT_FOUND: 404> = <Response [404 Not Found]>.status_code
|
pytest:
tests/routers/test_job_manager.py#L493
test_set_job_status_cannot_make_impossible_transitions
AssertionError: {'detail': 'Job 1 not found'}
assert <HTTPStatus.NOT_FOUND: 404> == 200
+ where <HTTPStatus.NOT_FOUND: 404> = <Response [404 Not Found]>.status_code
|
pytest-integration:
tests/cli/test_jobs.py#L9
test_search
UnboundLocalError: cannot access local variable 'jobs' where it is not associated with a value
|
pytest-integration:
tests/db/jobs/test_jobDB.py#L44
test_some_asyncio_code
assert []
|
pytest-integration:
tests/routers/test_job_manager.py#L86
test_insert_and_list_parametric_jobs
assert 0 == 3
+ where 0 = len([])
|
pytest-integration:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions0]
assert 0 == 1
+ where 0 = len([])
+ and 1 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n'])
|
pytest-integration:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions1]
assert 0 == 2
+ where 0 = len([])
+ and 2 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n'])
|
pytest-integration:
tests/routers/test_job_manager.py#L111
test_insert_and_list_bulk_jobs[job_definitions2]
assert 0 == 10
+ where 0 = len([])
+ and 10 = len(['\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out...rguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', '\n Arguments = "jobDescription.xml -o LogLevel=INFO";\n Executable = "dirac-jobexec";\n JobGroup = jobGroup;\n JobName = jobName;\n JobType = User;\n LogLevel = INFO;\n OutputSandbox =\n {\n Script1_CodeOutput.log,\n std.err,\n std.out\n };\n Priority = 1;\n Site = ANY;\n StdError = std.err;\n StdOutput = std.out;\n', ...])
|
pytest-integration:
tests/routers/test_job_manager.py#L128
test_insert_and_search
assert [] == [1]
Right contains one more item: 1
Full diff:
- [1]
? -
+ []
|
pytest-integration:
tests/routers/test_job_manager.py#L209
test_search_distinct
assert 0 > 1
+ where 0 = len([])
+ where [] = <bound method Response.json of <Response [200 OK]>>()
+ where <bound method Response.json of <Response [200 OK]>> = <Response [200 OK]>.json
|
pytest-integration:
tests/routers/test_job_manager.py#L342
test_get_job_status_history
AssertionError: {'detail': 'Job 1 not found'}
assert <HTTPStatus.NOT_FOUND: 404> == 200
+ where <HTTPStatus.NOT_FOUND: 404> = <Response [404 Not Found]>.status_code
|
pytest-integration:
tests/routers/test_job_manager.py#L418
test_set_job_status
AssertionError: {'detail': 'Job 1 not found'}
assert <HTTPStatus.NOT_FOUND: 404> == 200
+ where <HTTPStatus.NOT_FOUND: 404> = <Response [404 Not Found]>.status_code
|