Running as SYSTEM Building in workspace /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing using credential 45a67c37-a169-4d69-91d6-d6fd444fa2f0 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url /jenkins_esp32_lora_testing # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 > git submodule foreach --recursive git reset --hard # timeout=10 > git submodule foreach git clean -fdx # timeout=10 Fetching upstream changes from /jenkins_esp32_lora_testing > git --version # timeout=10 using GIT_ASKPASS to set credentials Jenkins > git fetch --tags --progress /jenkins_esp32_lora_testing +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 5d0c31c832f14ab7a9ce68673d1d7d1c57fd4725 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d0c31c832f14ab7a9ce68673d1d7d1c57fd4725 Commit message: "Adjusted file permissions for Jenkins to push tags to local file repository" > git rev-list --no-walk 976eac963c7c301e93a836ea6b03afb0edc7791e # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git --git-dir=/jenkins_esp32_lora_testing rev-parse --is-bare-repository # timeout=10 > git --git-dir=/jenkins_esp32_lora_testing/.git rev-parse --is-bare-repository # timeout=10 > git ls-tree -r HEAD # timeout=10 > git config submodule.esp32/lora.url /jenkins_esp32_lora_testing/esp32/lora # timeout=10 > git --git-dir=esp32/lora/.git config --get remote.origin.url # timeout=10 > git --git-dir=esp32/lora/.git config remote.origin.url /jenkins_esp32_lora_testing/esp32/lora # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.esp32/lora.url # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 > git config -f .gitmodules --get submodule.esp32/lora.path # timeout=10 using GIT_ASKPASS to set credentials Jenkins > git submodule update esp32/lora [ESP32_LoRa_Testing] $ /bin/bash -xe /tmp/jenkins7295297945955605372.sh + pip install --user pipenv Requirement already satisfied: pipenv in /var/lib/jenkins/.local/lib64/python3.5/site-packages Requirement already satisfied: virtualenv in /var/lib/jenkins/.local/lib64/python3.5/site-packages (from pipenv) Requirement already satisfied: pip>=9.0.1 in /usr/lib64/python3.5/site-packages (from pipenv) Requirement already satisfied: certifi in /usr/lib64/python3.5/site-packages (from pipenv) Requirement already satisfied: setuptools>=36.2.1 in /usr/lib64/python3.5/site-packages (from pipenv) Requirement already satisfied: virtualenv-clone>=0.2.5 in /var/lib/jenkins/.local/lib64/python3.5/site-packages (from pipenv) + PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/llvm/6/bin:/opt/bin:/var/lib/jenkins/.local/bin + pipenv --python 3.6 run pip install -r requirements.txt Virtualenv already exists! Removing existing virtualenv… Creating a virtualenv for this project… Pipfile: /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing/Pipfile Using /usr/bin/python (3.6.5) to create virtualenv… ⠋ Creating virtual environment... ... New python executable in /var/lib/jenkins/.local/share/virtualenvs/ESP32_LoRa_Testing-AEcau7YN/bin/python Installing setuptools, pip, wheel... done. Running virtualenv with interpreter /usr/bin/python ✔ Successfully created virtual environment! Virtualenv location: /var/lib/jenkins/.local/share/virtualenvs/ESP32_LoRa_Testing-AEcau7YN Collecting atomicwrites==1.3.0 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl Collecting attrs==19.1.0 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl Collecting beautifulsoup4==4.7.1 (from -r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl Collecting bs4==0.0.1 (from -r requirements.txt (line 4)) Collecting ecdsa==0.13 (from -r requirements.txt (line 5)) Using cached https://files.pythonhosted.org/packages/63/f4/73669d51825516ce8c43b816c0a6b64cd6eb71d08b99820c00792cb42222/ecdsa-0.13-py2.py3-none-any.whl Collecting esptool==2.6 (from -r requirements.txt (line 6)) Collecting more-itertools==7.0.0 (from -r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/b3/73/64fb5922b745fc1daee8a2880d907d2a70d9c7bb71eea86fcb9445daab5e/more_itertools-7.0.0-py3-none-any.whl Collecting pluggy==0.9.0 (from -r requirements.txt (line 8)) Using cached https://files.pythonhosted.org/packages/84/e8/4ddac125b5a0e84ea6ffc93cfccf1e7ee1924e88f53c64e98227f0af2a5f/pluggy-0.9.0-py2.py3-none-any.whl Collecting py==1.8.0 (from -r requirements.txt (line 9)) Using cached https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl Collecting pyaes==1.6.1 (from -r requirements.txt (line 10)) Collecting pyserial==3.4 (from -r requirements.txt (line 11)) Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl Collecting pytest==4.4.0 (from -r requirements.txt (line 12)) Using cached https://files.pythonhosted.org/packages/7e/16/83b2a35c427b838df9836c9e7e4ae6dfbcbdea643db44652f693b1c57d70/pytest-4.4.0-py2.py3-none-any.whl Collecting pytest-html==1.20.0 (from -r requirements.txt (line 13)) Using cached https://files.pythonhosted.org/packages/67/95/ca1c8fdf96f3bc8be8cef942478df3c79c2cdf1ba44de1f0e41dc336d4ab/pytest_html-1.20.0-py2.py3-none-any.whl Collecting pytest-metadata==1.8.0 (from -r requirements.txt (line 14)) Using cached https://files.pythonhosted.org/packages/ce/8f/d0542e1aa0e23d902ce6acce2790736473da94453a36bdc7829f25734199/pytest_metadata-1.8.0-py2.py3-none-any.whl Collecting pytest-ordering==0.6 (from -r requirements.txt (line 15)) Using cached https://files.pythonhosted.org/packages/ec/98/adc368fe369465f291ab24e18b9900473786ed1afdf861ba90467eb0767e/pytest_ordering-0.6-py3-none-any.whl Collecting pyudev==0.21.0 (from -r requirements.txt (line 16)) Collecting rshell==0.0.21 (from -r requirements.txt (line 17)) Collecting six==1.12.0 (from -r requirements.txt (line 18)) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Collecting soupsieve==1.9.1 (from -r requirements.txt (line 19)) Using cached https://files.pythonhosted.org/packages/b9/a5/7ea40d0f8676bde6e464a6435a48bc5db09b1a8f4f06d41dd997b8f3c616/soupsieve-1.9.1-py2.py3-none-any.whl Requirement already satisfied: setuptools in /var/lib/jenkins/.local/share/virtualenvs/ESP32_LoRa_Testing-AEcau7YN/lib/python3.6/site-packages (from pytest==4.4.0->-r requirements.txt (line 12)) (41.0.1) Installing collected packages: atomicwrites, attrs, soupsieve, beautifulsoup4, bs4, ecdsa, pyaes, pyserial, esptool, more-itertools, pluggy, py, six, pytest, pytest-metadata, pytest-html, pytest-ordering, pyudev, rshell Successfully installed atomicwrites-1.3.0 attrs-19.1.0 beautifulsoup4-4.7.1 bs4-0.0.1 ecdsa-0.13 esptool-2.6 more-itertools-7.0.0 pluggy-0.9.0 py-1.8.0 pyaes-1.6.1 pyserial-3.4 pytest-4.4.0 pytest-html-1.20.0 pytest-metadata-1.8.0 pytest-ordering-0.6 pyudev-0.21.0 rshell-0.0.21 six-1.12.0 soupsieve-1.9.1 + pipenv run pytest -v --junitxml=./report.xml --html=./html/report.html -c tests/pytest.ini ============================= test session starts ============================== platform linux -- Python 3.6.5, pytest-4.4.0, py-1.8.0, pluggy-0.9.0 -- /var/lib/jenkins/.local/share/virtualenvs/ESP32_LoRa_Testing-AEcau7YN/bin/python cachedir: .pytest_cache metadata: {'Python': '3.6.5', 'Platform': 'Linux-4.19.23-gentoo-x86_64-Intel-R-_Core-TM-_i5-5300U_CPU_@_2.30GHz-with-gentoo-2.6', 'Packages': {'pytest': '4.4.0', 'py': '1.8.0', 'pluggy': '0.9.0'}, 'Plugins': {'ordering': '0.6', 'metadata': '1.8.0', 'html': '1.20.0'}, 'BUILD_NUMBER': '55', 'BUILD_ID': '55', 'BUILD_URL': 'http://127.0.0.1:8080/job/ESP32_LoRa_Testing/55/', 'NODE_NAME': 'master', 'JOB_NAME': 'ESP32_LoRa_Testing', 'BUILD_TAG': 'jenkins-ESP32_LoRa_Testing-55', 'EXECUTOR_NUMBER': '0', 'JENKINS_URL': 'http://127.0.0.1:8080/', 'WORKSPACE': '/var/lib/jenkins/home/workspace/ESP32_LoRa_Testing', 'GIT_COMMIT': '5d0c31c832f14ab7a9ce68673d1d7d1c57fd4725', 'GIT_URL': '/jenkins_esp32_lora_testing', 'GIT_BRANCH': 'origin/master'} rootdir: /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing, inifile: tests/pytest.ini plugins: ordering-0.6, metadata-1.8.0, html-1.20.0 collecting ... collected 6 items tests/test_firmware.py::test_firmware_directory_exists PASSED tests/test_firmware.py::test_latest_firmware_version PASSED tests/test_firmware.py::test_flash_firmware PASSED tests/test_firmware.py::test_firmware_loaded PASSED tests/test_ulora.py::test_lora_code_uploaded PASSED tests/test_ulora.py::test_lora_chirp_output_file PASSED - generated xml file: /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing/report.xml - - generated html file: /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing/html/report.html - ========================== 6 passed in 132.64 seconds ========================== Archiving artifacts [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at BUILD level /var/lib/jenkins/home/workspace/ESP32_LoRa_Testing/html to /var/lib/jenkins/home/jobs/ESP32_LoRa_Testing/builds/55/htmlreports/HTML_20Report Recording test results using credential 45a67c37-a169-4d69-91d6-d6fd444fa2f0 > git tag -l jenkins-ESP32_LoRa_Testing-55 # timeout=10 > git tag -a -f -m Jenkins Git plugin tagging with jenkins-ESP32_LoRa_Testing-55 jenkins-ESP32_LoRa_Testing-55 # timeout=10 Pushing tag jenkins-ESP32_LoRa_Testing-55 to repo origin > git --version # timeout=10 using GIT_ASKPASS to set credentials Jenkins > git push /jenkins_esp32_lora_testing jenkins-ESP32_LoRa_Testing-55 Finished: SUCCESS