pmgbergen / porepy

Python Simulation Tool for Fractured and Deformable Porous Media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jenkins have failed

jhabriel opened this issue · comments

Build 'functional_testing' is failing!

Last 50 lines of build output:

[...truncated 128.25 KB...]
============================= test session starts ==============================
platform linux -- Python 3.9.15, pytest-7.1.3, pluggy-1.0.0 -- /usr/local/bin/python
cachedir: .pytest_cache
rootdir: /home/porepy-tests/pp-tests/tests
plugins: cov-4.0.0
collecting ... collected 9 items

functional/test_dummier.py::TestDummier::test_four PASSED                [ 11%]
functional/test_dummier.py::TestDummier::test_five PASSED                [ 22%]
functional/test_dummier.py::TestDummier::test_six PASSED                 [ 33%]
functional/test_dummy.py::TestDummy::test_one FAILED                     [ 44%]
functional/test_dummy.py::TestDummy::test_two PASSED                     [ 55%]
functional/test_dummy.py::TestDummy::test_three PASSED                   [ 66%]
functional/test_dummy_functional.py::TestDummy::test_dummy_one PASSED    [ 77%]
functional/test_dummy_functional.py::TestDummy::test_dummy_two PASSED    [ 88%]
functional/test_dummy_functional.py::TestDummy::test_dummy_three PASSED  [100%]

=================================== FAILURES ===================================
______________________________ TestDummy.test_one ______________________________

self = <test_dummy.TestDummy object at 0x7f85f1d1fbb0>

    def test_one(self):
>       assert 1 + 2 == 2
E       assert (1 + 2) == 2

functional/test_dummy.py:9: AssertionError
-- generated xml file: /home/porepy-tests/pp-tests/tests/reports/results.xml ---
=========================== short test summary info ============================
FAILED functional/test_dummy.py::TestDummy::test_one - assert (1 + 2) == 2
=================== 1 failed, 8 passed, 9 warnings in 1.85s ====================
The command '/bin/sh -c pytest -v --cov-report term-missing --cache-clear --disable-warnings --junitxml=reports/results.xml' returned a non-zero code: 1
functional-image succesfully build.
Unable to find image 'functional-image:latest' locally
docker: Error response from daemon: pull access denied for functional-image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
functional-container is running.
/var/jenkins_home/workspace/functional_testing
Copy results.xml into Jenkins container
Error: No such container:path: functional-container:/home/porepy-tests/pp-tests/tests/reports/results.xml
Stopping functional-container
Error response from daemon: No such container: functional-container
Removing functional-container
Error: No such container: functional-container
Removing functional-image
Error: No such image: functional-image
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?

Changes since last successful build:
No changes
No changes
No changes
No changes
No changes
No changes

View full output

Build was fixed!