Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 438075a0e0f96d3e210f1ba936027bcbd9da410f Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15840091966166760656.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1776182634524837628.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14887414339502681074.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11138958843470382178.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 4380b28759747445197f7f8ad1d695bc09152af5 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13766881374730707557.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 4380b28759747445197f7f8ad1d695bc09152af5 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4380b28759747445197f7f8ad1d695bc09152af5 # timeout=10 Commit message: "Fix: Set default language to 'en'" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20830 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 438075a0e0f96d3e210f1ba936027bcbd9da410f (main) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 438075a0e0f96d3e210f1ba936027bcbd9da410f # timeout=10 Commit message: "Merge pull request #57 from FelixTing/issue-53" > git rev-list --no-walk 664c5ba3293ecbd7fca44ad183f6df17541e93fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:55:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:55:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:55:19 ========================================================= 23:55:19 EdgeX Global Pipelines Version Info 23:55:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:55:20 ------------------- 23:55:20 stable info: 23:55:20 ------------------- 23:55:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:55:20 Message: update stable to v1.0.238 23:55:20 ------------------- 23:55:20 experimental info: 23:55:20 ------------------- 23:55:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:55:20 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 438075a [Pipeline] echo 23:55:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:21 provisioning config files... 23:55:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4210897509629151841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:21 ---> docker-login.sh 23:55:21 nexus3.edgexfoundry.org:10001 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:22 Configure a credential helper to remove this warning. See 23:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:22 23:55:22 Login Succeeded 23:55:22 nexus3.edgexfoundry.org:10002 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:22 Configure a credential helper to remove this warning. See 23:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:22 23:55:22 Login Succeeded 23:55:22 nexus3.edgexfoundry.org:10003 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:22 Configure a credential helper to remove this warning. See 23:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:22 23:55:22 Login Succeeded 23:55:22 nexus3.edgexfoundry.org:10004 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:22 Configure a credential helper to remove this warning. See 23:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:22 23:55:22 Login Succeeded 23:55:22 docker.io 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:23 Configure a credential helper to remove this warning. See 23:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:23 23:55:23 Login Succeeded 23:55:23 ---> docker-login.sh ends [Pipeline] } 23:55:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:55:23 + git rev-list -1 --merges 438075a0e0f96d3e210f1ba936027bcbd9da410f~1..438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] echo 23:55:23 -----------> git rev-list -1 --merges 438075a0e0f96d3e210f1ba936027bcbd9da410f~1..438075a0e0f96d3e210f1ba936027bcbd9da410f 438075a0e0f96d3e210f1ba936027bcbd9da410f 23:55:23 438075a0e0f96d3e210f1ba936027bcbd9da410f [false] [Pipeline] sh 23:55:23 + git log --format=format:%s -1 438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] echo 23:55:23 ========================================================= 23:55:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:55:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:24 + git log --format=format:%s -1 438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] echo 23:55:24 [semverPrep] GIT_COMMIT: 438075a0e0f96d3e210f1ba936027bcbd9da410f, Commit Message: Merge pull request #57 from FelixTing/issue-53 [Pipeline] echo 23:55:24 [semverPrep] This is not a build commit. [Pipeline] sh 23:55:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:24 + grep -v github /etc/ssh/ssh_known_hosts 23:55:24 + [ -e /tmp/ssh_known_hosts ] 23:55:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:55:24 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:55:24 sudo tee -a /etc/ssh/ssh_known_hosts 23:55:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:25 23:55:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:25 0.1.4: Pulling from edgex-devops/py-git-semver 23:55:25 b85a868b505f: Pulling fs layer 23:55:25 e2be974225ed: Pulling fs layer 23:55:25 339a4e72a1f5: Pulling fs layer 23:55:25 988bab9f4d93: Pulling fs layer 23:55:25 1469e6f7b9e6: Pulling fs layer 23:55:25 eaf3925da568: Pulling fs layer 23:55:25 bab4dde63d76: Pulling fs layer 23:55:25 bde34c3a00c8: Pulling fs layer 23:55:25 b352a97aabf1: Pulling fs layer 23:55:25 4872d77fe225: Pulling fs layer 23:55:25 5851b861e8e6: Pulling fs layer 23:55:25 1469e6f7b9e6: Waiting 23:55:25 eaf3925da568: Waiting 23:55:25 bab4dde63d76: Waiting 23:55:25 bde34c3a00c8: Waiting 23:55:25 b352a97aabf1: Waiting 23:55:25 4872d77fe225: Waiting 23:55:25 5851b861e8e6: Waiting 23:55:25 988bab9f4d93: Waiting 23:55:25 e2be974225ed: Verifying Checksum 23:55:25 e2be974225ed: Download complete 23:55:25 988bab9f4d93: Verifying Checksum 23:55:25 988bab9f4d93: Download complete 23:55:25 1469e6f7b9e6: Verifying Checksum 23:55:25 1469e6f7b9e6: Download complete 23:55:25 339a4e72a1f5: Verifying Checksum 23:55:25 339a4e72a1f5: Download complete 23:55:25 bde34c3a00c8: Download complete 23:55:25 b352a97aabf1: Download complete 23:55:25 4872d77fe225: Verifying Checksum 23:55:25 4872d77fe225: Download complete 23:55:25 5851b861e8e6: Download complete 23:55:25 b85a868b505f: Verifying Checksum 23:55:25 b85a868b505f: Download complete 23:55:25 bab4dde63d76: Verifying Checksum 23:55:25 bab4dde63d76: Download complete 23:55:27 b85a868b505f: Pull complete 23:55:27 e2be974225ed: Pull complete 23:55:27 339a4e72a1f5: Pull complete 23:55:27 988bab9f4d93: Pull complete 23:55:28 1469e6f7b9e6: Pull complete 23:55:28 eaf3925da568: Pull complete 23:55:29 bab4dde63d76: Pull complete 23:55:30 bde34c3a00c8: Pull complete 23:55:30 b352a97aabf1: Pull complete 23:55:30 4872d77fe225: Pull complete 23:55:30 5851b861e8e6: Pull complete 23:55:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:55:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:30 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 23:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:55:33 $ docker top 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 -eo pid,comm 23:55:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:55:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:33 [ssh-agent] Looking for ssh-agent implementation... 23:55:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:33 $ docker exec 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 ssh-agent 23:55:33 SSH_AUTH_SOCK=/tmp/ssh-MfoWJe1LnDSE/agent.32 23:55:33 SSH_AGENT_PID=39 23:55:33 Running ssh-add (command line suppressed) 23:55:33 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3711973931899545599.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3711973931899545599.key) 23:55:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:34 + git tag --points-at HEAD [Pipeline] } 23:55:34 $ docker exec --env ******** --env ******** 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 ssh-agent -k 23:55:34 unset SSH_AUTH_SOCK; 23:55:34 unset SSH_AGENT_PID; 23:55:34 echo Agent pid 39 killed; 23:55:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:55:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:34 [ssh-agent] Looking for ssh-agent implementation... 23:55:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:34 $ docker exec 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 ssh-agent 23:55:34 SSH_AUTH_SOCK=/tmp/ssh-uab6A5Zo3crx/agent.72 23:55:34 SSH_AGENT_PID=79 23:55:34 Running ssh-add (command line suppressed) 23:55:34 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8054254969099314057.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8054254969099314057.key) 23:55:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:34 + git semver init 23:55:35 2022-07-22 23:55:35,162 [run_init] DEBUG init version:0.0.0 force:False 23:55:35 2022-07-22 23:55:35,163 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 23:55:35 2022-07-22 23:55:35,164 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 23:55:35 2022-07-22 23:55:35,164 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 23:55:35 2022-07-22 23:55:35,728 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 23:55:35 2022-07-22 23:55:35,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 23:55:35 2022-07-22 23:55:35,729 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 23:55:35 2022-07-22 23:55:35,729 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 23:55:35 2.2.0-dev.18 [Pipeline] } 23:55:35 $ docker exec --env ******** --env ******** 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 ssh-agent -k 23:55:35 unset SSH_AUTH_SOCK; 23:55:35 unset SSH_AGENT_PID; 23:55:35 echo Agent pid 79 killed; 23:55:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:36 + git semver [Pipeline] } 23:55:36 $ docker stop --time=1 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 23:55:37 $ docker rm -f 23fedbf25cdda0e1ff46dd06527d12148be23974830377cb229d480196e99619 [Pipeline] // withDockerContainer [Pipeline] sh 23:55:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:55:38 Stashed 1 file(s) [Pipeline] echo 23:55:38 [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:38 provisioning config files... 23:55:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8933975819226611439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:38 ---> docker-login.sh 23:55:38 nexus3.edgexfoundry.org:10001 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10002 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 nexus3.edgexfoundry.org:10003 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 nexus3.edgexfoundry.org:10004 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 docker.io 23:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:39 Configure a credential helper to remove this warning. See 23:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:39 23:55:39 Login Succeeded 23:55:39 ---> docker-login.sh ends [Pipeline] } 23:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:39 ========================================================= 23:55:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:55:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:55:40 Sending build context to Docker daemon 708.6kB 23:55:40 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:55:40 Step 2/13 : FROM ${BASE} AS builder 23:55:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:55:40 2408cc74d12b: Pulling fs layer 23:55:40 ea60b727a1ce: Pulling fs layer 23:55:40 30c4a7721957: Pulling fs layer 23:55:40 370296b7ddb6: Pulling fs layer 23:55:40 7c6cee850709: Pulling fs layer 23:55:40 39a5fcdaea64: Pulling fs layer 23:55:40 d94ebbe4e438: Pulling fs layer 23:55:40 bcfd1f05c69d: Pulling fs layer 23:55:40 59ccb84bbe0f: Pulling fs layer 23:55:40 370296b7ddb6: Waiting 23:55:40 7c6cee850709: Waiting 23:55:40 39a5fcdaea64: Waiting 23:55:40 d94ebbe4e438: Waiting 23:55:40 bcfd1f05c69d: Waiting 23:55:40 59ccb84bbe0f: Waiting 23:55:40 30c4a7721957: Download complete 23:55:40 ea60b727a1ce: Verifying Checksum 23:55:40 ea60b727a1ce: Download complete 23:55:40 7c6cee850709: Verifying Checksum 23:55:40 7c6cee850709: Download complete 23:55:40 2408cc74d12b: Verifying Checksum 23:55:40 2408cc74d12b: Download complete 23:55:40 39a5fcdaea64: Download complete 23:55:40 d94ebbe4e438: Verifying Checksum 23:55:40 d94ebbe4e438: Download complete 23:55:40 2408cc74d12b: Pull complete 23:55:40 ea60b727a1ce: Pull complete 23:55:40 30c4a7721957: Pull complete 23:55:40 59ccb84bbe0f: Verifying Checksum 23:55:40 59ccb84bbe0f: Download complete 23:55:40 bcfd1f05c69d: Verifying Checksum 23:55:40 bcfd1f05c69d: Download complete 23:55:41 370296b7ddb6: Verifying Checksum 23:55:41 370296b7ddb6: Download complete 23:55:45 370296b7ddb6: Pull complete 23:55:45 7c6cee850709: Pull complete 23:55:45 39a5fcdaea64: Pull complete 23:55:45 d94ebbe4e438: Pull complete 23:55:47 bcfd1f05c69d: Pull complete 23:55:48 59ccb84bbe0f: Pull complete 23:55:48 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:55:48 ---> a4fb48ad2a94 23:55:48 Step 3/13 : ARG MAKE="make build" 23:55:52 ---> Running in ed411bc4b313 23:55:52 Removing intermediate container ed411bc4b313 23:55:52 ---> 9fe48aac1d53 23:55:52 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:55:52 ---> Running in 8fc9b77eab16 23:55:52 Removing intermediate container 8fc9b77eab16 23:55:52 ---> a0e704ddb2ee 23:55:52 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:55:52 ---> Running in 806fe8cece58 23:55:52 Removing intermediate container 806fe8cece58 23:55:52 ---> 5754159716e2 23:55:52 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:52 ---> Running in af87097eb484 23:55:53 Removing intermediate container af87097eb484 23:55:53 ---> adb0e61128f7 23:55:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:53 ---> Running in d2e477bee391 23:55:53 Still waiting to schedule task 23:55:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20828’ 23:55:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:55:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:55:55 (1/80) Installing mesa (21.3.8-r1) 23:55:55 (2/80) Installing libxau (1.0.9-r0) 23:55:55 (3/80) Installing libxdmcp (1.1.3-r0) 23:55:55 (4/80) Installing libxcb (1.15-r0) 23:55:55 (5/80) Installing libx11 (1.8-r0) 23:55:55 (6/80) Installing libxext (1.3.4-r0) 23:55:55 (7/80) Installing libxfixes (6.0.0-r0) 23:55:55 (8/80) Installing libxxf86vm (1.1.4-r2) 23:55:55 (9/80) Installing libpciaccess (0.16-r0) 23:55:55 (10/80) Installing libdrm (2.4.110-r0) 23:55:55 (11/80) Installing mesa-glapi (21.3.8-r1) 23:55:56 (12/80) Installing libxshmfence (1.3-r1) 23:55:56 (13/80) Installing mesa-gl (21.3.8-r1) 23:55:56 (14/80) Installing icu-data-full (71.1-r2) 23:55:57 (15/80) Installing libice (1.0.10-r0) 23:55:57 (16/80) Installing libuuid (2.38-r1) 23:55:57 (17/80) Installing libsm (1.2.3-r0) 23:55:57 (18/80) Installing libxt (1.2.1-r0) 23:55:57 (19/80) Installing libxmu (1.1.3-r0) 23:55:57 (20/80) Installing xset (1.2.4-r0) 23:55:57 (21/80) Installing xprop (1.2.5-r0) 23:55:57 (22/80) Installing xdg-utils (1.1.3-r3) 23:55:57 (23/80) Installing dbus-libs (1.14.0-r1) 23:55:57 (24/80) Installing libffi (3.4.2-r1) 23:55:57 (25/80) Installing libintl (0.21-r2) 23:55:57 (26/80) Installing libblkid (2.38-r1) 23:55:58 (27/80) Installing libmount (2.38-r1) 23:55:58 (28/80) Installing pcre (8.45-r2) 23:55:58 (29/80) Installing glib (2.72.1-r0) 23:55:58 (30/80) Installing icu-libs (71.1-r2) 23:55:58 (31/80) Installing libpcre2-16 (10.40-r0) 23:55:58 (32/80) Installing zstd-libs (1.5.2-r1) 23:55:58 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 23:56:00 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:56:00 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:56:00 (36/80) Installing mesa-gbm (21.3.8-r1) 23:56:00 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:56:00 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 23:56:01 (39/80) Installing libxcomposite (0.4.5-r0) 23:56:01 (40/80) Installing libbz2 (1.0.8-r1) 23:56:01 (41/80) Installing libpng (1.6.37-r1) 23:56:01 (42/80) Installing freetype (2.12.1-r0) 23:56:01 (43/80) Installing fontconfig (2.14.0-r0) 23:56:01 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:56:01 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:56:01 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:56:01 (47/80) Installing xz-libs (5.2.5-r1) 23:56:02 (48/80) Installing libxml2 (2.9.14-r0) 23:56:02 (49/80) Installing libxkbcommon (1.4.1-r0) 23:56:02 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:56:02 (51/80) Installing mesa-egl (21.3.8-r1) 23:56:02 (52/80) Installing avahi-libs (0.8-r6) 23:56:02 (53/80) Installing nettle (3.7.3-r0) 23:56:02 (54/80) Installing p11-kit (0.24.1-r0) 23:56:02 (55/80) Installing libtasn1 (4.18.0-r0) 23:56:02 (56/80) Installing libunistring (1.0-r0) 23:56:02 (57/80) Installing gnutls (3.7.6-r0) 23:56:03 (58/80) Installing cups-libs (2.4.2-r0) 23:56:03 (59/80) Installing graphite2 (1.3.14-r1) 23:56:03 (60/80) Installing harfbuzz (4.3.0-r0) 23:56:03 (61/80) Installing libevdev (1.12.1-r0) 23:56:03 (62/80) Installing mtdev (1.1.6-r0) 23:56:03 (63/80) Installing eudev-libs (3.2.11-r0) 23:56:03 (64/80) Installing libinput-libs (1.20.1-r0) 23:56:03 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:56:03 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:56:03 (67/80) Installing xcb-util (0.4.0-r3) 23:56:03 (68/80) Installing xcb-util-image (0.4.0-r1) 23:56:04 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:56:04 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:56:04 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:56:04 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 23:56:04 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:56:04 (74/80) Installing v4l-utils (1.22.1-r1) 23:56:04 (75/80) Installing udev-init-scripts (35-r0) 23:56:05 Executing udev-init-scripts-35-r0.post-install 23:56:05 (76/80) Installing kmod-libs (29-r2) 23:56:05 (77/80) Installing eudev (3.2.11-r0) 23:56:05 (78/80) Installing eudev-dev (3.2.11-r0) 23:56:05 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:56:05 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:56:05 Executing busybox-1.35.0-r13.trigger 23:56:05 Executing eudev-3.2.11-r0.trigger 23:56:05 OK: 330 MiB in 131 packages 23:56:08 Removing intermediate container d2e477bee391 23:56:08 ---> caae202d0463 23:56:08 Step 8/13 : WORKDIR /device-usb-camera 23:56:08 ---> Running in 0413aadfc31a 23:56:08 Removing intermediate container 0413aadfc31a 23:56:08 ---> c10c1df92ddb 23:56:08 Step 9/13 : COPY go.mod vendor* ./ 23:56:08 ---> 44a09d253851 23:56:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:08 ---> Running in bdd0a77a5d43 23:56:35 Removing intermediate container bdd0a77a5d43 23:56:35 ---> 58d548f70ad5 23:56:35 Step 11/13 : COPY . . 23:56:35 ---> 8bb6c54da817 23:56:35 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:56:35 ---> Running in 8bc2f544cc03 23:56:35  % Total % Received % Xferd Average Speed Time Time Time Current 23:56:35  Dload Upload Total Spent Left Speed 23:56:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7538 0 --:--:-- --:--:-- --:--:-- 7585 23:56:35 Removing intermediate container 8bc2f544cc03 23:56:35 ---> 747c42670b56 23:56:35 Step 13/13 : RUN ${MAKE} 23:56:35 ---> Running in 55f983bafd19 23:56:35 noop 23:56:35 Removing intermediate container 55f983bafd19 23:56:35 ---> e0a041bd48ee 23:56:35 Successfully built e0a041bd48ee 23:56:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:35 + docker inspect -f . ci-base-image-x86_64 23:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:35 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 23:56:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:36 $ docker top 86537721901b7a256c5a47b987f1d624fe7597ac6643babfbce12ef555a5d126 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:36 + go version 23:56:36 go version go1.18.3 linux/amd64 [Pipeline] } 23:56:36 $ docker stop --time=1 86537721901b7a256c5a47b987f1d624fe7597ac6643babfbce12ef555a5d126 23:56:37 $ docker rm -f 86537721901b7a256c5a47b987f1d624fe7597ac6643babfbce12ef555a5d126 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:38 + docker inspect -f . ci-base-image-x86_64 23:56:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:38 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 23:56:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:38 $ docker top 9e1ee7d6dbd5143ad29e49c0c0f80cf6550f04fa8bad1b94abce37515d5c4929 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:39 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 23:56:39 + make test 23:56:39 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:56:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:56:49 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:56:49 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 23:56:56 CGO_ENABLED=1 go vet ./... 23:56:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:57:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:57:00 $ docker stop --time=1 9e1ee7d6dbd5143ad29e49c0c0f80cf6550f04fa8bad1b94abce37515d5c4929 23:57:02 $ docker rm -f 9e1ee7d6dbd5143ad29e49c0c0f80cf6550f04fa8bad1b94abce37515d5c4929 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:57:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:57:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:57:03 + ls -al . 23:57:03 total 164 23:57:03 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 23:56 . 23:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 23:55 .. 23:57:03 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 23:56 .git 23:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:55 .github 23:57:03 -rw-rw-r-- 1 jenkins jenkins 414 Jul 22 23:55 .gitignore 23:57:03 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 23:55 .golangci.yml 23:57:03 -rw-rw-r-- 1 jenkins jenkins 77 Jul 22 23:55 .hadolint.yml 23:57:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 23:55 .semver 23:57:03 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 22 23:55 Attribution.txt 23:57:03 -rw-rw-r-- 1 jenkins jenkins 181 Jul 22 23:55 CHANGELOG.md 23:57:03 -rw-rw-r-- 1 jenkins jenkins 2125 Jul 22 23:55 Dockerfile 23:57:03 -rw-rw-r-- 1 jenkins jenkins 678 Jul 22 23:55 GOVERNANCE.md 23:57:03 -rw-rw-r-- 1 jenkins jenkins 659 Jul 22 23:55 Jenkinsfile 23:57:03 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 23:55 LICENSE 23:57:03 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 22 23:55 Makefile 23:57:03 -rw-rw-r-- 1 jenkins jenkins 622 Jul 22 23:55 OWNERS.md 23:57:03 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 22 23:55 README.md 23:57:03 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 23:55 VERSION 23:57:03 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 23:55 bin 23:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:55 cmd 23:57:03 -rw-r--r-- 1 jenkins jenkins 10 Jul 22 23:56 coverage.out 23:57:03 -rwxrwxr-x 1 jenkins jenkins 140 Jul 22 23:55 docker-entrypoint.sh 23:57:03 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 22 23:55 go.mod 23:57:03 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 22 23:55 go.sum 23:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:55 internal 23:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 23:55 snap 23:57:03 -rw-rw-r-- 1 jenkins jenkins 231 Jul 22 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:04 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=438075a0e0f96d3e210f1ba936027bcbd9da410f --label arch=amd64 --label version=2.2.0-dev.18 . 23:57:04 Sending build context to Docker daemon 709.6kB 23:57:04 Step 1/32 : ARG BASE=golang:1.17-alpine3.15 23:57:04 Step 2/32 : FROM ${BASE} AS builder 23:57:04 ---> e0a041bd48ee 23:57:04 Step 3/32 : ARG MAKE="make build" 23:57:04 ---> Running in bfb7cb80f7c7 23:57:04 Removing intermediate container bfb7cb80f7c7 23:57:04 ---> c1a5296382a3 23:57:04 Step 4/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:57:04 ---> Running in d10ccf41b619 23:57:04 Removing intermediate container d10ccf41b619 23:57:04 ---> 95376416ed9f 23:57:04 Step 5/32 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:57:04 ---> Running in 1b91cfbb89be 23:57:04 Removing intermediate container 1b91cfbb89be 23:57:04 ---> 59f9857086f5 23:57:04 Step 6/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:04 ---> Running in 367c858ab0c1 23:57:05 Removing intermediate container 367c858ab0c1 23:57:05 ---> 2c5a43a4123f 23:57:05 Step 7/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:05 ---> Running in 31ccb565cfc7 23:57:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:57:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:57:06 OK: 330 MiB in 131 packages 23:57:07 Removing intermediate container 31ccb565cfc7 23:57:07 ---> bef005f3f010 23:57:07 Step 8/32 : WORKDIR /device-usb-camera 23:57:07 ---> Running in c49606ee4da7 23:57:07 Removing intermediate container c49606ee4da7 23:57:07 ---> 9669c70574eb 23:57:07 Step 9/32 : COPY go.mod vendor* ./ 23:57:07 ---> 7f51bb6664d8 23:57:07 Step 10/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:07 ---> Running in f4a0aab21208 23:57:08 Removing intermediate container f4a0aab21208 23:57:08 ---> da33f90f88f7 23:57:08 Step 11/32 : COPY . . 23:57:08 ---> df17694adf37 23:57:08 Step 12/32 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:57:08 ---> Running in 7fc9f37b9335 23:57:08  % Total % Received % Xferd Average Speed Time Time Time Current 23:57:08 Dload Upload Total Spent Left Speed 23:57:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44044 0 --:--:-- --:--:-- --:--:-- 44250 23:57:09 Removing intermediate container 7fc9f37b9335 23:57:09 ---> f40341fcecb5 23:57:09 Step 13/32 : RUN ${MAKE} 23:57:09 ---> Running in 69fdb3b76656 23:57:09 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:57:31 Removing intermediate container 69fdb3b76656 23:57:31 ---> 15244e4e9779 23:57:31 Step 14/32 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 23:57:31 v0.18.4: Pulling from aler9/rtsp-simple-server 23:57:31 af6660deedbd: Pulling fs layer 23:57:31 97cd0a44c592: Pulling fs layer 23:57:32 97cd0a44c592: Verifying Checksum 23:57:32 97cd0a44c592: Download complete 23:57:32 af6660deedbd: Verifying Checksum 23:57:32 af6660deedbd: Download complete 23:57:32 af6660deedbd: Pull complete 23:57:32 97cd0a44c592: Pull complete 23:57:32 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 23:57:32 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 23:57:32 ---> fea57e182299 23:57:32 Step 15/32 : FROM alpine:3.15 23:57:33 3.15: Pulling from library/alpine 23:57:33 ab6db1bc80d0: Pulling fs layer 23:57:33 ab6db1bc80d0: Verifying Checksum 23:57:33 ab6db1bc80d0: Download complete 23:57:33 ab6db1bc80d0: Pull complete 23:57:33 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 23:57:33 Status: Downloaded newer image for alpine:3.15 23:57:33 ---> 2720e26172a0 23:57:33 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:57:33 ---> Running in 83c6e0df7435 23:57:33 Removing intermediate container 83c6e0df7435 23:57:33 ---> 014c5ed36358 23:57:33 Step 17/32 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:57:33 ---> Running in 1231beb5a3da 23:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:57:34 (1/74) Installing dumb-init (1.2.5-r1) 23:57:34 (2/74) Installing sdl2 (2.0.16-r4) 23:57:34 (3/74) Installing libxau (1.0.9-r0) 23:57:34 (4/74) Installing libmd (1.0.3-r0) 23:57:34 (5/74) Installing libbsd (0.11.3-r1) 23:57:34 (6/74) Installing libxdmcp (1.1.3-r0) 23:57:34 (7/74) Installing libxcb (1.14-r2) 23:57:34 (8/74) Installing libx11 (1.7.2-r0) 23:57:34 (9/74) Installing aom-libs (3.2.0-r0) 23:57:34 (10/74) Installing alsa-lib (1.2.5.1-r1) 23:57:34 (11/74) Installing expat (2.4.7-r0) 23:57:34 (12/74) Installing brotli-libs (1.0.9-r5) 23:57:34 (13/74) Installing libbz2 (1.0.8-r1) 23:57:34 (14/74) Installing libpng (1.6.37-r1) 23:57:34 (15/74) Installing freetype (2.11.1-r2) 23:57:34 (16/74) Installing libuuid (2.37.4-r0) 23:57:34 (17/74) Installing fontconfig (2.13.1-r4) 23:57:34 (18/74) Installing fribidi (1.0.11-r0) 23:57:34 (19/74) Installing libffi (3.4.2-r1) 23:57:34 (20/74) Installing libintl (0.21-r0) 23:57:34 (21/74) Installing libblkid (2.37.4-r0) 23:57:34 (22/74) Installing libmount (2.37.4-r0) 23:57:34 (23/74) Installing pcre (8.45-r1) 23:57:34 (24/74) Installing glib (2.70.1-r0) 23:57:34 (25/74) Installing graphite2 (1.3.14-r0) 23:57:34 (26/74) Installing harfbuzz (3.0.0-r2) 23:57:34 (27/74) Installing libass (0.15.2-r0) 23:57:34 (28/74) Installing libdav1d (0.9.2-r0) 23:57:34 (29/74) Installing gmp (6.2.1-r1) 23:57:34 (30/74) Installing nettle (3.7.3-r0) 23:57:34 (31/74) Installing p11-kit (0.24.0-r1) 23:57:34 (32/74) Installing libtasn1 (4.18.0-r0) 23:57:34 (33/74) Installing libunistring (0.9.10-r1) 23:57:34 (34/74) Installing gnutls (3.7.1-r0) 23:57:34 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 23:57:34 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 23:57:34 (37/74) Installing lame (3.100-r0) 23:57:34 (38/74) Installing opus (1.3.1-r1) 23:57:34 (39/74) Installing libgomp (10.3.1_git20211027-r0) 23:57:34 (40/74) Installing soxr (0.1.3-r2) 23:57:34 (41/74) Installing libgcc (10.3.1_git20211027-r0) 23:57:34 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 23:57:35 (43/74) Installing libsrt (1.4.2-r1) 23:57:35 (44/74) Installing libssh (0.9.6-r1) 23:57:35 (45/74) Installing libogg (1.3.5-r0) 23:57:35 (46/74) Installing libtheora (1.1.1-r16) 23:57:35 (47/74) Installing libjpeg-turbo (2.1.2-r0) 23:57:35 (48/74) Installing v4l-utils-libs (1.22.1-r1) 23:57:35 (49/74) Installing libxext (1.3.4-r0) 23:57:35 (50/74) Installing libxfixes (6.0.0-r0) 23:57:35 (51/74) Installing libpciaccess (0.16-r0) 23:57:35 (52/74) Installing libdrm (2.4.109-r0) 23:57:35 (53/74) Installing wayland-libs-client (1.19.0-r1) 23:57:35 (54/74) Installing libva (2.13.0-r0) 23:57:35 (55/74) Installing libvdpau (1.4-r0) 23:57:35 (56/74) Installing vidstab (1.1.0-r1) 23:57:35 (57/74) Installing libvorbis (1.3.7-r0) 23:57:35 (58/74) Installing libvpx (1.10.0-r0) 23:57:35 (59/74) Installing vulkan-loader (1.2.196-r0) 23:57:35 (60/74) Installing libwebp (1.2.2-r0) 23:57:35 (61/74) Installing x264-libs (20210613-r0) 23:57:35 (62/74) Installing x265-libs (3.5-r0) 23:57:35 (63/74) Installing xvidcore (1.3.7-r1) 23:57:35 (64/74) Installing ffmpeg-libs (4.4.1-r2) 23:57:35 (65/74) Installing ffmpeg (4.4.1-r2) 23:57:35 (66/74) Installing udev-init-scripts (35-r0) 23:57:35 Executing udev-init-scripts-35-r0.post-install 23:57:35 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 23:57:35 (68/74) Installing xz-libs (5.2.5-r1) 23:57:35 (69/74) Installing zstd-libs (1.5.0-r0) 23:57:35 (70/74) Installing kmod-libs (29-r2) 23:57:35 (71/74) Installing eudev (3.2.11_pre1-r0) 23:57:35 (72/74) Installing libsodium (1.0.18-r0) 23:57:35 (73/74) Installing libzmq (4.3.4-r0) 23:57:35 (74/74) Installing zeromq (4.3.4-r0) 23:57:35 Executing busybox-1.34.1-r7.trigger 23:57:35 Executing eudev-3.2.11_pre1-r0.trigger 23:57:35 OK: 78 MiB in 88 packages 23:57:37 Removing intermediate container 1231beb5a3da 23:57:37 ---> d0820e6a0da9 23:57:37 Step 18/32 : WORKDIR / 23:57:37 ---> Running in 6d308f23f474 23:57:37 Removing intermediate container 6d308f23f474 23:57:37 ---> 2353eb66b5f7 23:57:37 Step 19/32 : COPY --from=builder /device-usb-camera/cmd / 23:57:38 ---> dce835013aa6 23:57:38 Step 20/32 : COPY --from=builder /device-usb-camera/LICENSE / 23:57:38 ---> 124eb237a55d 23:57:38 Step 21/32 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:57:38 ---> c8e2a3f1350c 23:57:38 Step 22/32 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:57:38 ---> 44e6cdf5605f 23:57:38 Step 23/32 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:57:38 ---> 755921b9ed11 23:57:38 Step 24/32 : COPY --from=rtsp /rtsp-simple-server.yml / 23:57:38 ---> b20e45592b65 23:57:38 Step 25/32 : COPY --from=rtsp /rtsp-simple-server / 23:57:39 ---> 316fbaf86324 23:57:39 Step 26/32 : EXPOSE 59983 23:57:39 ---> Running in 7dff8574feea 23:57:39 Removing intermediate container 7dff8574feea 23:57:39 ---> eb67aa4380b6 23:57:39 Step 27/32 : EXPOSE 8554 23:57:39 ---> Running in cd8c9d95bc2c 23:57:39 Removing intermediate container cd8c9d95bc2c 23:57:39 ---> 618ae7a2073c 23:57:39 Step 28/32 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:57:39 ---> Running in 5f5ca4686dc4 23:57:39 Removing intermediate container 5f5ca4686dc4 23:57:39 ---> 9853ab4db073 23:57:39 Step 29/32 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:57:39 ---> Running in 3d9331ab2cd2 23:57:40 Removing intermediate container 3d9331ab2cd2 23:57:40 ---> c9953369ee97 23:57:40 Step 30/32 : LABEL arch=amd64 23:57:40 ---> Running in 3cd46fe24640 23:57:40 Removing intermediate container 3cd46fe24640 23:57:40 ---> 6bb054d10ea6 23:57:40 Step 31/32 : LABEL git_sha=438075a0e0f96d3e210f1ba936027bcbd9da410f 23:57:40 ---> Running in bbeb3612c0e4 23:57:40 Removing intermediate container bbeb3612c0e4 23:57:40 ---> 82f3508215c6 23:57:40 Step 32/32 : LABEL version=2.2.0-dev.18 23:57:40 ---> Running in 8e8e1ed7960b 23:57:40 Removing intermediate container 8e8e1ed7960b 23:57:40 ---> 09315d46c89c 23:57:40 [Warning] One or more build-args [ARCH] were not consumed 23:57:40 Successfully built 09315d46c89c 23:57:40 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:40 provisioning config files... 23:57:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8784933121860970347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:40 ---> docker-login.sh 23:57:40 nexus3.edgexfoundry.org:10001 23:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:40 Configure a credential helper to remove this warning. See 23:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:40 23:57:40 Login Succeeded 23:57:40 nexus3.edgexfoundry.org:10002 23:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:40 Configure a credential helper to remove this warning. See 23:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:40 23:57:40 Login Succeeded 23:57:40 nexus3.edgexfoundry.org:10003 23:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:40 Configure a credential helper to remove this warning. See 23:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:40 23:57:40 Login Succeeded 23:57:40 nexus3.edgexfoundry.org:10004 23:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:41 Configure a credential helper to remove this warning. See 23:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:41 23:57:41 Login Succeeded 23:57:41 docker.io 23:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:41 Configure a credential helper to remove this warning. See 23:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:41 23:57:41 Login Succeeded 23:57:41 ---> docker-login.sh ends [Pipeline] } 23:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:41 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 23:57:41 438075a0e0f96d3e210f1ba936027bcbd9da410f 23:57:41 latest 23:57:41 2.2.0-dev.18 23:57:41 438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 23:57:41 main 23:57:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:41 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:42 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f 23:57:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:57:42 550e596c6d0e: Preparing 23:57:42 1207169bf42c: Preparing 23:57:42 083834e93021: Preparing 23:57:42 0a9b3a50898a: Preparing 23:57:42 8cc3bfe7d89b: Preparing 23:57:42 592df6580ed0: Preparing 23:57:42 26145cca3d07: Preparing 23:57:42 3baaa6a319a2: Preparing 23:57:42 ad543cd673bd: Preparing 23:57:42 3baaa6a319a2: Waiting 23:57:42 ad543cd673bd: Waiting 23:57:42 592df6580ed0: Waiting 23:57:42 26145cca3d07: Waiting 23:57:42 0a9b3a50898a: Pushed 23:57:42 1207169bf42c: Pushed 23:57:42 083834e93021: Pushed 23:57:42 8cc3bfe7d89b: Pushed 23:57:42 ad543cd673bd: Layer already exists 23:57:42 592df6580ed0: Pushed 23:57:44 550e596c6d0e: Pushed 23:57:44 26145cca3d07: Pushed 23:57:50 3baaa6a319a2: Pushed 23:57:50 438075a0e0f96d3e210f1ba936027bcbd9da410f: digest: sha256:d3d922dc4aeef5d609c6cf57bb397d95e6fad9d33ff75ffefe39bed982864a16 size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:50 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:57:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:57:50 550e596c6d0e: Preparing 23:57:50 1207169bf42c: Preparing 23:57:50 083834e93021: Preparing 23:57:50 0a9b3a50898a: Preparing 23:57:50 8cc3bfe7d89b: Preparing 23:57:50 592df6580ed0: Preparing 23:57:50 26145cca3d07: Preparing 23:57:50 3baaa6a319a2: Preparing 23:57:50 ad543cd673bd: Preparing 23:57:50 592df6580ed0: Waiting 23:57:50 26145cca3d07: Waiting 23:57:50 3baaa6a319a2: Waiting 23:57:50 ad543cd673bd: Waiting 23:57:50 0a9b3a50898a: Layer already exists 23:57:50 083834e93021: Layer already exists 23:57:50 8cc3bfe7d89b: Layer already exists 23:57:50 550e596c6d0e: Layer already exists 23:57:50 1207169bf42c: Layer already exists 23:57:50 592df6580ed0: Layer already exists 23:57:50 3baaa6a319a2: Layer already exists 23:57:50 26145cca3d07: Layer already exists 23:57:50 ad543cd673bd: Layer already exists 23:57:50 latest: digest: sha256:d3d922dc4aeef5d609c6cf57bb397d95e6fad9d33ff75ffefe39bed982864a16 size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.2.0-dev.18 23:57:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:57:51 550e596c6d0e: Preparing 23:57:51 1207169bf42c: Preparing 23:57:51 083834e93021: Preparing 23:57:51 0a9b3a50898a: Preparing 23:57:51 8cc3bfe7d89b: Preparing 23:57:51 592df6580ed0: Preparing 23:57:51 26145cca3d07: Preparing 23:57:51 3baaa6a319a2: Preparing 23:57:51 ad543cd673bd: Preparing 23:57:51 26145cca3d07: Waiting 23:57:51 3baaa6a319a2: Waiting 23:57:51 8cc3bfe7d89b: Layer already exists 23:57:51 550e596c6d0e: Layer already exists 23:57:51 1207169bf42c: Layer already exists 23:57:51 083834e93021: Layer already exists 23:57:51 0a9b3a50898a: Layer already exists 23:57:51 592df6580ed0: Layer already exists 23:57:51 26145cca3d07: Layer already exists 23:57:51 ad543cd673bd: Layer already exists 23:57:51 3baaa6a319a2: Layer already exists 23:57:51 2.2.0-dev.18: digest: sha256:d3d922dc4aeef5d609c6cf57bb397d95e6fad9d33ff75ffefe39bed982864a16 size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 23:57:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:57:52 550e596c6d0e: Preparing 23:57:52 1207169bf42c: Preparing 23:57:52 083834e93021: Preparing 23:57:52 0a9b3a50898a: Preparing 23:57:52 8cc3bfe7d89b: Preparing 23:57:52 592df6580ed0: Preparing 23:57:52 26145cca3d07: Preparing 23:57:52 3baaa6a319a2: Preparing 23:57:52 ad543cd673bd: Preparing 23:57:52 592df6580ed0: Waiting 23:57:52 26145cca3d07: Waiting 23:57:52 ad543cd673bd: Waiting 23:57:52 3baaa6a319a2: Waiting 23:57:52 8cc3bfe7d89b: Layer already exists 23:57:52 550e596c6d0e: Layer already exists 23:57:52 0a9b3a50898a: Layer already exists 23:57:52 1207169bf42c: Layer already exists 23:57:52 083834e93021: Layer already exists 23:57:52 592df6580ed0: Layer already exists 23:57:52 ad543cd673bd: Layer already exists 23:57:52 26145cca3d07: Layer already exists 23:57:52 3baaa6a319a2: Layer already exists 23:57:52 438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18: digest: sha256:d3d922dc4aeef5d609c6cf57bb397d95e6fad9d33ff75ffefe39bed982864a16 size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:52 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 23:57:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:57:52 550e596c6d0e: Preparing 23:57:52 1207169bf42c: Preparing 23:57:52 083834e93021: Preparing 23:57:52 0a9b3a50898a: Preparing 23:57:52 8cc3bfe7d89b: Preparing 23:57:52 592df6580ed0: Preparing 23:57:52 26145cca3d07: Preparing 23:57:52 3baaa6a319a2: Preparing 23:57:52 ad543cd673bd: Preparing 23:57:52 592df6580ed0: Waiting 23:57:52 26145cca3d07: Waiting 23:57:52 3baaa6a319a2: Waiting 23:57:52 ad543cd673bd: Waiting 23:57:52 8cc3bfe7d89b: Layer already exists 23:57:52 083834e93021: Layer already exists 23:57:52 0a9b3a50898a: Layer already exists 23:57:52 1207169bf42c: Layer already exists 23:57:52 550e596c6d0e: Layer already exists 23:57:52 592df6580ed0: Layer already exists 23:57:52 26145cca3d07: Layer already exists 23:57:52 3baaa6a319a2: Layer already exists 23:57:52 ad543cd673bd: Layer already exists 23:57:52 main: digest: sha256:d3d922dc4aeef5d609c6cf57bb397d95e6fad9d33ff75ffefe39bed982864a16 size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:57:52 ===================================================== [Pipeline] echo 23:57:52 taggedImages: 23:57:52 - nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f 23:57:52 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:57:52 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.2.0-dev.18 23:57:52 - nexus3.edgexfoundry.org:10004/device-usb-camera:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 23:57:52 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:53 23:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:53 latest: Pulling from edgex-lftools-log-publisher 23:57:53 5eb5b503b376: Pulling fs layer 23:57:53 5c69ac0246d0: Pulling fs layer 23:57:53 ec43610c2a17: Pulling fs layer 23:57:53 3a2ae6a8a46f: Pulling fs layer 23:57:53 33b1e0a273af: Pulling fs layer 23:57:53 5d3b04190fa2: Pulling fs layer 23:57:53 2f39f015ded8: Pulling fs layer 23:57:53 3a2ae6a8a46f: Waiting 23:57:53 33b1e0a273af: Waiting 23:57:53 5d3b04190fa2: Waiting 23:57:53 2f39f015ded8: Waiting 23:57:53 5c69ac0246d0: Verifying Checksum 23:57:53 5c69ac0246d0: Download complete 23:57:53 3a2ae6a8a46f: Download complete 23:57:53 33b1e0a273af: Verifying Checksum 23:57:53 33b1e0a273af: Download complete 23:57:53 5d3b04190fa2: Download complete 23:57:53 ec43610c2a17: Verifying Checksum 23:57:53 ec43610c2a17: Download complete 23:57:53 5eb5b503b376: Verifying Checksum 23:57:53 5eb5b503b376: Download complete 23:57:54 2f39f015ded8: Verifying Checksum 23:57:54 2f39f015ded8: Download complete 23:57:55 5eb5b503b376: Pull complete 23:57:55 5c69ac0246d0: Pull complete 23:57:55 ec43610c2a17: Pull complete 23:57:55 3a2ae6a8a46f: Pull complete 23:57:55 33b1e0a273af: Pull complete 23:57:56 5d3b04190fa2: Pull complete 23:58:01 2f39f015ded8: Pull complete 23:58:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:58:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:58:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:01 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 23:58:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:58:06 $ docker top 5f918618aff3ab18c79f2d5d5bda753a8bf02c3439c55a02ce7e01a664a9da4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:06 ---> job-cost.sh 23:58:06 lf-activate-venv: SKIPPING 23:58:06 INFO: No Stack... 23:58:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:58:07 INFO: Archiving Costs [Pipeline] sh 23:58:07 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 23:58:07 + cut -d, -f6 [Pipeline] lock 23:58:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] 23:58:07 Resource [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] did not exist. Created. 23:58:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:58:08 + echo total: 0.2199999988079071 [Pipeline] stash 23:58:08 Stashed 1 file(s) [Pipeline] } 23:58:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 23:58:08 $ docker stop --time=1 5f918618aff3ab18c79f2d5d5bda753a8bf02c3439c55a02ce7e01a664a9da4c 23:58:09 $ docker rm -f 5f918618aff3ab18c79f2d5d5bda753a8bf02c3439c55a02ce7e01a664a9da4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:59:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20831 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 23:59:29 Running in /w/workspace/device-usb-camera/29 [Pipeline] { [Pipeline] checkout 23:59:29 Selected Git installation does not exist. Using Default 23:59:29 The recommended git tool is: NONE 23:59:35 using credential edgex-jenkins-ssh 23:59:35 Cloning the remote Git repository 23:59:35 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:59:35 > git init /w/workspace/device-usb-camera/29 # timeout=10 23:59:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:59:35 > git --version # timeout=10 23:59:35 > git --version # 'git version 2.25.1' 23:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:36 Avoid second fetch 23:59:36 Checking out Revision 438075a0e0f96d3e210f1ba936027bcbd9da410f (main) 23:59:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:59:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:36 > git config core.sparsecheckout # timeout=10 23:59:36 > git checkout -f 438075a0e0f96d3e210f1ba936027bcbd9da410f # timeout=10 23:59:40 Commit message: "Merge pull request #57 from FelixTing/issue-53" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:59:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:41 Dload Upload Total Spent Left Speed 23:59:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 68893 0 --:--:-- --:--:-- --:--:-- 69280 [Pipeline] sh 23:59:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:59:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:59:42 + sudo tee /etc/docker/daemon.new 23:59:42 { 23:59:42 "registry-mirrors": [ 23:59:42 "https://nexus3.edgexfoundry.org:10001" 23:59:42 ], 23:59:42 "bip": "10.250.0.254/24", 23:59:42 "hosts": [ 23:59:42 "tcp://0.0.0.0:5555", 23:59:42 "unix:///var/run/docker.sock" 23:59:42 ], 23:59:42 "mtu": 1458, 23:59:42 "selinux-enabled": true, 23:59:42 "seccomp-profile": "/etc/docker/seccomp.json" 23:59:42 } [Pipeline] sh 23:59:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:59:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:01 provisioning config files... 00:00:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/29@tmp/config2191075793542105468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:02 ---> docker-login.sh 00:00:02 nexus3.edgexfoundry.org:10001 00:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:03 Configure a credential helper to remove this warning. See 00:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:03 00:00:03 Login Succeeded 00:00:03 nexus3.edgexfoundry.org:10002 00:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:03 Configure a credential helper to remove this warning. See 00:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:03 00:00:03 Login Succeeded 00:00:03 nexus3.edgexfoundry.org:10003 00:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:04 Configure a credential helper to remove this warning. See 00:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:04 00:00:04 Login Succeeded 00:00:04 nexus3.edgexfoundry.org:10004 00:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:04 Configure a credential helper to remove this warning. See 00:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:04 00:00:04 Login Succeeded 00:00:04 docker.io 00:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 ---> docker-login.sh ends [Pipeline] } 00:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:07 ========================================================= 00:00:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:00:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:00:08 Sending build context to Docker daemon 461.8kB 00:00:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:00:08 Step 2/13 : FROM ${BASE} AS builder 00:00:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:00:08 b3c136eddcbf: Pulling fs layer 00:00:08 c0a3192eca97: Pulling fs layer 00:00:08 a050256f5b6f: Pulling fs layer 00:00:08 656be50a0ddc: Pulling fs layer 00:00:08 2bbca73fdf42: Pulling fs layer 00:00:08 46d945488cbd: Pulling fs layer 00:00:08 8a5474983e97: Pulling fs layer 00:00:08 329c88fbcd65: Pulling fs layer 00:00:08 656be50a0ddc: Waiting 00:00:08 2bbca73fdf42: Waiting 00:00:08 8a5474983e97: Waiting 00:00:08 329c88fbcd65: Waiting 00:00:08 46d945488cbd: Waiting 00:00:08 a050256f5b6f: Verifying Checksum 00:00:08 a050256f5b6f: Download complete 00:00:08 c0a3192eca97: Verifying Checksum 00:00:08 c0a3192eca97: Download complete 00:00:08 2bbca73fdf42: Verifying Checksum 00:00:08 2bbca73fdf42: Download complete 00:00:08 46d945488cbd: Verifying Checksum 00:00:08 46d945488cbd: Download complete 00:00:08 b3c136eddcbf: Verifying Checksum 00:00:08 b3c136eddcbf: Download complete 00:00:09 b3c136eddcbf: Pull complete 00:00:09 329c88fbcd65: Verifying Checksum 00:00:09 329c88fbcd65: Download complete 00:00:10 c0a3192eca97: Pull complete 00:00:10 a050256f5b6f: Pull complete 00:00:10 8a5474983e97: Verifying Checksum 00:00:10 8a5474983e97: Download complete 00:00:11 656be50a0ddc: Verifying Checksum 00:00:11 656be50a0ddc: Download complete 00:00:24 656be50a0ddc: Pull complete 00:00:24 2bbca73fdf42: Pull complete 00:00:24 46d945488cbd: Pull complete 00:00:31 8a5474983e97: Pull complete 00:00:32 329c88fbcd65: Pull complete 00:00:32 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:00:32 ---> ff4287adb874 00:00:32 Step 3/13 : ARG MAKE="make build" 00:00:34 ---> Running in e403eacd1f6f 00:00:34 Removing intermediate container e403eacd1f6f 00:00:34 ---> 5d0e32d939cd 00:00:34 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:00:34 ---> Running in 7ff0529e3bfe 00:00:35 Removing intermediate container 7ff0529e3bfe 00:00:35 ---> f19c3f6da058 00:00:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:00:35 ---> Running in e6a7fbe34d79 00:00:36 Removing intermediate container e6a7fbe34d79 00:00:36 ---> 1eb356649b42 00:00:36 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:36 ---> Running in 5f6a58ebb21c 00:00:38 Removing intermediate container 5f6a58ebb21c 00:00:38 ---> 9b0144625cf3 00:00:38 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:38 ---> Running in 8a97484cf931 00:00:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:00:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:00:41 (1/14) Installing libintl (0.21-r2) 00:00:41 (2/14) Installing eudev-libs (3.2.11-r0) 00:00:41 (3/14) Installing libjpeg-turbo (2.1.3-r1) 00:00:41 (4/14) Installing v4l-utils-libs (1.22.1-r1) 00:00:41 (5/14) Installing v4l-utils (1.22.1-r1) 00:00:41 (6/14) Installing udev-init-scripts (35-r0) 00:00:41 Executing udev-init-scripts-35-r0.post-install 00:00:41 (7/14) Installing libblkid (2.38-r1) 00:00:41 (8/14) Installing xz-libs (5.2.5-r1) 00:00:41 (9/14) Installing zstd-libs (1.5.2-r1) 00:00:41 (10/14) Installing kmod-libs (29-r2) 00:00:41 (11/14) Installing eudev (3.2.11-r0) 00:00:42 (12/14) Installing eudev-dev (3.2.11-r0) 00:00:42 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:00:42 (14/14) Installing v4l-utils-dev (1.22.1-r1) 00:00:42 Executing busybox-1.35.0-r13.trigger 00:00:42 Executing eudev-3.2.11-r0.trigger 00:00:42 OK: 228 MiB in 65 packages 00:00:43 Removing intermediate container 8a97484cf931 00:00:43 ---> 1a69dcf65585 00:00:43 Step 8/13 : WORKDIR /device-usb-camera 00:00:43 ---> Running in e891fb8e255b 00:00:44 Removing intermediate container e891fb8e255b 00:00:44 ---> c6564967283b 00:00:44 Step 9/13 : COPY go.mod vendor* ./ 00:00:44 ---> f183bd785e01 00:00:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:44 ---> Running in 8454b96504ef 00:01:31 Removing intermediate container 8454b96504ef 00:01:31 ---> 368400a67af3 00:01:31 Step 11/13 : COPY . . 00:01:31 ---> 164f74574e3e 00:01:31 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:01:31 ---> Running in 658a7d470c7d 00:01:31  % Total % Received % Xferd Average Speed Time Time Time Current 00:01:31 Dload Upload Total Spent Left Speed 00:01:31 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11956 0 --:--:-- --:--:-- --:--:-- 12068 00:01:31 Removing intermediate container 658a7d470c7d 00:01:31 ---> fa93e9f8887e 00:01:31 Step 13/13 : RUN ${MAKE} 00:01:31 ---> Running in 39ef7f7f8dcb 00:01:31 noop 00:01:31 Removing intermediate container 39ef7f7f8dcb 00:01:31 ---> 368fb4de4aff 00:01:31 Successfully built 368fb4de4aff 00:01:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:31 + docker inspect -f . ci-base-image-arm64 00:01:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:31 prd-ubuntu20.04-docker-arm64-4c-16g-20831 does not seem to be running inside a container 00:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:01:33 $ docker top 389c07e82279090b256223fb60a81559df6ac915bd769222eb55b0dcc510e5ba -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:34 + go version 00:01:34 go version go1.18.3 linux/arm64 [Pipeline] } 00:01:34 $ docker stop --time=1 389c07e82279090b256223fb60a81559df6ac915bd769222eb55b0dcc510e5ba 00:01:35 $ docker rm -f 389c07e82279090b256223fb60a81559df6ac915bd769222eb55b0dcc510e5ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:36 + docker inspect -f . ci-base-image-arm64 00:01:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:36 prd-ubuntu20.04-docker-arm64-4c-16g-20831 does not seem to be running inside a container 00:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:01:37 $ docker top be72d1e18b3399ad01c6d29f9cb429e2bb58df64caf7fa34e707ed94045b8c10 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:38 + git config --global --add safe.directory /w/workspace/device-usb-camera/29 [Pipeline] fileExists [Pipeline] sh 00:01:39 + make test 00:01:39 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 00:01:40 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:03:02 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:03:02 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 00:03:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:02 CGO_ENABLED=1 go vet ./... 00:03:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:21 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:22 $ docker stop --time=1 be72d1e18b3399ad01c6d29f9cb429e2bb58df64caf7fa34e707ed94045b8c10 00:03:23 $ docker rm -f be72d1e18b3399ad01c6d29f9cb429e2bb58df64caf7fa34e707ed94045b8c10 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:24 Warning: overwriting stash ‘coverage-report’ 00:03:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:26 + ls -al . 00:03:26 total 160 00:03:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 23 00:03 . 00:03:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 23:59 .. 00:03:26 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 23:59 .git 00:03:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:59 .github 00:03:26 -rw-rw-r-- 1 jenkins jenkins 414 Jul 22 23:59 .gitignore 00:03:26 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 23:59 .golangci.yml 00:03:26 -rw-rw-r-- 1 jenkins jenkins 77 Jul 22 23:59 .hadolint.yml 00:03:26 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 22 23:59 Attribution.txt 00:03:26 -rw-rw-r-- 1 jenkins jenkins 181 Jul 22 23:59 CHANGELOG.md 00:03:26 -rw-rw-r-- 1 jenkins jenkins 2125 Jul 22 23:59 Dockerfile 00:03:26 -rw-rw-r-- 1 jenkins jenkins 678 Jul 22 23:59 GOVERNANCE.md 00:03:26 -rw-rw-r-- 1 jenkins jenkins 659 Jul 22 23:59 Jenkinsfile 00:03:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 23:59 LICENSE 00:03:26 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 22 23:59 Makefile 00:03:26 -rw-rw-r-- 1 jenkins jenkins 622 Jul 22 23:59 OWNERS.md 00:03:26 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 22 23:59 README.md 00:03:26 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 23:55 VERSION 00:03:26 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 23:59 bin 00:03:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:59 cmd 00:03:26 -rw-r--r-- 1 jenkins jenkins 10 Jul 23 00:01 coverage.out 00:03:26 -rwxrwxr-x 1 jenkins jenkins 140 Jul 22 23:59 docker-entrypoint.sh 00:03:26 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 22 23:59 go.mod 00:03:26 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 22 23:59 go.sum 00:03:26 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 23:59 internal 00:03:26 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 23:59 snap 00:03:26 -rw-rw-r-- 1 jenkins jenkins 231 Jul 22 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:26 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=438075a0e0f96d3e210f1ba936027bcbd9da410f --label arch=arm64 --label version=2.2.0-dev.18 . 00:03:26 Sending build context to Docker daemon 462.8kB 00:03:26 Step 1/32 : ARG BASE=golang:1.17-alpine3.15 00:03:26 Step 2/32 : FROM ${BASE} AS builder 00:03:26 ---> 368fb4de4aff 00:03:26 Step 3/32 : ARG MAKE="make build" 00:03:26 ---> Running in 2dac83dcfd4c 00:03:27 Removing intermediate container 2dac83dcfd4c 00:03:27 ---> 02c11156a44b 00:03:27 Step 4/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:03:27 ---> Running in 754dae82b99c 00:03:27 Removing intermediate container 754dae82b99c 00:03:27 ---> 8b4473f19a43 00:03:27 Step 5/32 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:03:27 ---> Running in f9ff7999c178 00:03:28 Removing intermediate container f9ff7999c178 00:03:28 ---> d461154821ea 00:03:28 Step 6/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:28 ---> Running in f737925376c5 00:03:30 Removing intermediate container f737925376c5 00:03:30 ---> b1ccd39b2df8 00:03:30 Step 7/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:30 ---> Running in 02742dbc0886 00:03:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:03:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:03:32 OK: 228 MiB in 65 packages 00:03:33 Removing intermediate container 02742dbc0886 00:03:33 ---> cc0d14a6f22b 00:03:33 Step 8/32 : WORKDIR /device-usb-camera 00:03:33 ---> Running in b0cc0f33d7a4 00:03:33 Removing intermediate container b0cc0f33d7a4 00:03:33 ---> 5276ca75b13d 00:03:33 Step 9/32 : COPY go.mod vendor* ./ 00:03:34 ---> 9eaaac8d7a17 00:03:34 Step 10/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:34 ---> Running in 373d670a9edf 00:03:36 Removing intermediate container 373d670a9edf 00:03:36 ---> c0d07bee8a98 00:03:36 Step 11/32 : COPY . . 00:03:37 ---> 65ab10065618 00:03:37 Step 12/32 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:03:37 ---> Running in 5c97fae03bdb 00:03:38  % Total % Received % Xferd Average Speed Time Time Time Current 00:03:38 Dload Upload Total Spent Left Speed 00:03:38 0 0 0 0  0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8018 0 --:--:-- --:--:-- --:--:-- 8106 00:03:39 Removing intermediate container 5c97fae03bdb 00:03:39 ---> 941964697978 00:03:39 Step 13/32 : RUN ${MAKE} 00:03:39 ---> Running in cf7dfdb02041 00:03:40 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.2.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 00:06:02 Removing intermediate container cf7dfdb02041 00:06:02 ---> 220c5edc6d2c 00:06:02 Step 14/32 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 00:06:02 v0.18.4: Pulling from aler9/rtsp-simple-server 00:06:02 eab2503cf8f4: Pulling fs layer 00:06:02 97cd0a44c592: Pulling fs layer 00:06:02 97cd0a44c592: Verifying Checksum 00:06:02 97cd0a44c592: Download complete 00:06:02 eab2503cf8f4: Verifying Checksum 00:06:02 eab2503cf8f4: Download complete 00:06:02 eab2503cf8f4: Pull complete 00:06:02 97cd0a44c592: Pull complete 00:06:02 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 00:06:02 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 00:06:02 ---> 7f763cca56b3 00:06:02 Step 15/32 : FROM alpine:3.15 00:06:02 3.15: Pulling from library/alpine 00:06:02 e0295fd11fe2: Pulling fs layer 00:06:02 e0295fd11fe2: Verifying Checksum 00:06:02 e0295fd11fe2: Download complete 00:06:02 e0295fd11fe2: Pull complete 00:06:02 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:06:02 Status: Downloaded newer image for alpine:3.15 00:06:02 ---> 60f2846fe774 00:06:02 Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:06:02 ---> Running in 49b4347cd2b7 00:06:02 Removing intermediate container 49b4347cd2b7 00:06:02 ---> cfa1afd0d367 00:06:02 Step 17/32 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 00:06:02 ---> Running in 019d86b8831e 00:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:06:02 (1/73) Installing dumb-init (1.2.5-r1) 00:06:02 (2/73) Installing sdl2 (2.0.16-r4) 00:06:02 (3/73) Installing libxau (1.0.9-r0) 00:06:02 (4/73) Installing libmd (1.0.3-r0) 00:06:02 (5/73) Installing libbsd (0.11.3-r1) 00:06:02 (6/73) Installing libxdmcp (1.1.3-r0) 00:06:02 (7/73) Installing libxcb (1.14-r2) 00:06:02 (8/73) Installing libx11 (1.7.2-r0) 00:06:02 (9/73) Installing aom-libs (3.2.0-r0) 00:06:02 (10/73) Installing alsa-lib (1.2.5.1-r1) 00:06:02 (11/73) Installing expat (2.4.7-r0) 00:06:02 (12/73) Installing brotli-libs (1.0.9-r5) 00:06:02 (13/73) Installing libbz2 (1.0.8-r1) 00:06:02 (14/73) Installing libpng (1.6.37-r1) 00:06:02 (15/73) Installing freetype (2.11.1-r2) 00:06:02 (16/73) Installing libuuid (2.37.4-r0) 00:06:02 (17/73) Installing fontconfig (2.13.1-r4) 00:06:02 (18/73) Installing fribidi (1.0.11-r0) 00:06:02 (19/73) Installing libffi (3.4.2-r1) 00:06:02 (20/73) Installing libintl (0.21-r0) 00:06:02 (21/73) Installing libblkid (2.37.4-r0) 00:06:02 (22/73) Installing libmount (2.37.4-r0) 00:06:02 (23/73) Installing pcre (8.45-r1) 00:06:02 (24/73) Installing glib (2.70.1-r0) 00:06:02 (25/73) Installing graphite2 (1.3.14-r0) 00:06:02 (26/73) Installing harfbuzz (3.0.0-r2) 00:06:02 (27/73) Installing libass (0.15.2-r0) 00:06:02 (28/73) Installing libdav1d (0.9.2-r0) 00:06:02 (29/73) Installing gmp (6.2.1-r1) 00:06:02 (30/73) Installing nettle (3.7.3-r0) 00:06:02 (31/73) Installing p11-kit (0.24.0-r1) 00:06:02 (32/73) Installing libtasn1 (4.18.0-r0) 00:06:02 (33/73) Installing libunistring (0.9.10-r1) 00:06:02 (34/73) Installing gnutls (3.7.1-r0) 00:06:02 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 00:06:02 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 00:06:02 (37/73) Installing lame (3.100-r0) 00:06:02 (38/73) Installing opus (1.3.1-r1) 00:06:02 (39/73) Installing libgomp (10.3.1_git20211027-r0) 00:06:02 (40/73) Installing soxr (0.1.3-r2) 00:06:02 (41/73) Installing libgcc (10.3.1_git20211027-r0) 00:06:02 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 00:06:02 (43/73) Installing libsrt (1.4.2-r1) 00:06:02 (44/73) Installing libssh (0.9.6-r1) 00:06:02 (45/73) Installing libogg (1.3.5-r0) 00:06:02 (46/73) Installing libtheora (1.1.1-r16) 00:06:02 (47/73) Installing libjpeg-turbo (2.1.2-r0) 00:06:02 (48/73) Installing v4l-utils-libs (1.22.1-r1) 00:06:02 (49/73) Installing libxext (1.3.4-r0) 00:06:02 (50/73) Installing libxfixes (6.0.0-r0) 00:06:02 (51/73) Installing libdrm (2.4.109-r0) 00:06:02 (52/73) Installing wayland-libs-client (1.19.0-r1) 00:06:02 (53/73) Installing libva (2.13.0-r0) 00:06:02 (54/73) Installing libvdpau (1.4-r0) 00:06:02 (55/73) Installing vidstab (1.1.0-r1) 00:06:02 (56/73) Installing libvorbis (1.3.7-r0) 00:06:02 (57/73) Installing libvpx (1.10.0-r0) 00:06:02 (58/73) Installing vulkan-loader (1.2.196-r0) 00:06:02 (59/73) Installing libwebp (1.2.2-r0) 00:06:02 (60/73) Installing x264-libs (20210613-r0) 00:06:02 (61/73) Installing x265-libs (3.5-r0) 00:06:02 (62/73) Installing xvidcore (1.3.7-r1) 00:06:02 (63/73) Installing ffmpeg-libs (4.4.1-r2) 00:06:02 (64/73) Installing ffmpeg (4.4.1-r2) 00:06:02 (65/73) Installing udev-init-scripts (35-r0) 00:06:02 Executing udev-init-scripts-35-r0.post-install 00:06:02 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 00:06:02 (67/73) Installing xz-libs (5.2.5-r1) 00:06:02 (68/73) Installing zstd-libs (1.5.0-r0) 00:06:02 (69/73) Installing kmod-libs (29-r2) 00:06:02 (70/73) Installing eudev (3.2.11_pre1-r0) 00:06:02 (71/73) Installing libsodium (1.0.18-r0) 00:06:02 (72/73) Installing libzmq (4.3.4-r0) 00:06:02 (73/73) Installing zeromq (4.3.4-r0) 00:06:02 Executing busybox-1.34.1-r7.trigger 00:06:02 Executing eudev-3.2.11_pre1-r0.trigger 00:06:02 OK: 67 MiB in 87 packages 00:06:02 Removing intermediate container 019d86b8831e 00:06:02 ---> 72804d0b6d0a 00:06:02 Step 18/32 : WORKDIR / 00:06:02 ---> Running in 38be222c040f 00:06:02 Removing intermediate container 38be222c040f 00:06:02 ---> 5c8ae934e6c7 00:06:02 Step 19/32 : COPY --from=builder /device-usb-camera/cmd / 00:06:02 ---> 0c26b2904dd3 00:06:02 Step 20/32 : COPY --from=builder /device-usb-camera/LICENSE / 00:06:02 ---> 6d258614bb4a 00:06:02 Step 21/32 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:06:02 ---> 4b4e6f61f0ec 00:06:02 Step 22/32 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:06:02 ---> 1332b422cfb3 00:06:02 Step 23/32 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:06:02 ---> f1060575708d 00:06:02 Step 24/32 : COPY --from=rtsp /rtsp-simple-server.yml / 00:06:03 ---> 0db98c9405ae 00:06:03 Step 25/32 : COPY --from=rtsp /rtsp-simple-server / 00:06:04 ---> ceaeb0e2f590 00:06:04 Step 26/32 : EXPOSE 59983 00:06:04 ---> Running in cc2616af0ac8 00:06:05 Removing intermediate container cc2616af0ac8 00:06:05 ---> 344edd51624a 00:06:05 Step 27/32 : EXPOSE 8554 00:06:05 ---> Running in 4f0b5524c770 00:06:05 Removing intermediate container 4f0b5524c770 00:06:05 ---> eb242bb3ddee 00:06:05 Step 28/32 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:06:05 ---> Running in b7273454b348 00:06:05 Removing intermediate container b7273454b348 00:06:05 ---> 04fb240f624d 00:06:05 Step 29/32 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 00:06:05 ---> Running in d154bf1d6906 00:06:05 Removing intermediate container d154bf1d6906 00:06:05 ---> 46f98343fddc 00:06:05 Step 30/32 : LABEL arch=arm64 00:06:06 ---> Running in c8c92a019fcb 00:06:06 Removing intermediate container c8c92a019fcb 00:06:06 ---> 4e359314d5a9 00:06:06 Step 31/32 : LABEL git_sha=438075a0e0f96d3e210f1ba936027bcbd9da410f 00:06:06 ---> Running in 03176d401e71 00:06:06 Removing intermediate container 03176d401e71 00:06:06 ---> d4b57c85f5bf 00:06:06 Step 32/32 : LABEL version=2.2.0-dev.18 00:06:06 ---> Running in 471709810de3 00:06:06 Removing intermediate container 471709810de3 00:06:06 ---> 990f29ff603f 00:06:06 [Warning] One or more build-args [ARCH] were not consumed 00:06:06 Successfully built 990f29ff603f 00:06:06 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:07 provisioning config files... 00:06:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/29@tmp/config5874645089970530882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:07 ---> docker-login.sh 00:06:07 nexus3.edgexfoundry.org:10001 00:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:07 Configure a credential helper to remove this warning. See 00:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:07 00:06:07 Login Succeeded 00:06:07 nexus3.edgexfoundry.org:10002 00:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:08 Configure a credential helper to remove this warning. See 00:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:08 00:06:08 Login Succeeded 00:06:08 nexus3.edgexfoundry.org:10003 00:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:09 Configure a credential helper to remove this warning. See 00:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:09 00:06:09 Login Succeeded 00:06:09 nexus3.edgexfoundry.org:10004 00:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:09 Configure a credential helper to remove this warning. See 00:06:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:09 00:06:09 Login Succeeded 00:06:09 docker.io 00:06:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:10 Configure a credential helper to remove this warning. See 00:06:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:10 00:06:10 Login Succeeded 00:06:10 ---> docker-login.sh ends [Pipeline] } 00:06:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:06:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:10 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:06:10 438075a0e0f96d3e210f1ba936027bcbd9da410f 00:06:10 latest 00:06:10 2.2.0-dev.18 00:06:10 438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 00:06:10 main 00:06:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:10 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:11 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f 00:06:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:06:11 a43932d1df72: Preparing 00:06:11 1207169bf42c: Preparing 00:06:11 af39b7e6cecb: Preparing 00:06:11 59da44c6ef44: Preparing 00:06:11 5a4a4a77e196: Preparing 00:06:11 500db2f3cbeb: Preparing 00:06:11 1ee762f43c53: Preparing 00:06:11 349b1760c9e5: Preparing 00:06:11 eb54b7b7991f: Preparing 00:06:11 1ee762f43c53: Waiting 00:06:11 349b1760c9e5: Waiting 00:06:11 500db2f3cbeb: Waiting 00:06:11 eb54b7b7991f: Waiting 00:06:11 af39b7e6cecb: Pushed 00:06:11 59da44c6ef44: Pushed 00:06:11 5a4a4a77e196: Pushed 00:06:11 1207169bf42c: Pushed 00:06:11 eb54b7b7991f: Layer already exists 00:06:11 500db2f3cbeb: Pushed 00:06:15 a43932d1df72: Pushed 00:06:17 1ee762f43c53: Pushed 00:06:25 349b1760c9e5: Pushed 00:06:26 438075a0e0f96d3e210f1ba936027bcbd9da410f: digest: sha256:426f399632bf45d0c4840869505547438cae39afdb4d5a06204ebf506cbc32ce size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:26 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:26 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:06:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:06:26 a43932d1df72: Preparing 00:06:26 1207169bf42c: Preparing 00:06:26 af39b7e6cecb: Preparing 00:06:26 59da44c6ef44: Preparing 00:06:26 5a4a4a77e196: Preparing 00:06:26 500db2f3cbeb: Preparing 00:06:26 1ee762f43c53: Preparing 00:06:26 349b1760c9e5: Preparing 00:06:26 eb54b7b7991f: Preparing 00:06:26 500db2f3cbeb: Waiting 00:06:26 1ee762f43c53: Waiting 00:06:26 349b1760c9e5: Waiting 00:06:26 eb54b7b7991f: Waiting 00:06:26 5a4a4a77e196: Layer already exists 00:06:26 a43932d1df72: Layer already exists 00:06:26 1207169bf42c: Layer already exists 00:06:26 af39b7e6cecb: Layer already exists 00:06:26 59da44c6ef44: Layer already exists 00:06:26 349b1760c9e5: Layer already exists 00:06:26 500db2f3cbeb: Layer already exists 00:06:26 eb54b7b7991f: Layer already exists 00:06:26 1ee762f43c53: Layer already exists 00:06:27 latest: digest: sha256:426f399632bf45d0c4840869505547438cae39afdb4d5a06204ebf506cbc32ce size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:27 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.2.0-dev.18 00:06:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:06:27 a43932d1df72: Preparing 00:06:27 1207169bf42c: Preparing 00:06:27 af39b7e6cecb: Preparing 00:06:27 59da44c6ef44: Preparing 00:06:27 5a4a4a77e196: Preparing 00:06:27 500db2f3cbeb: Preparing 00:06:27 1ee762f43c53: Preparing 00:06:27 349b1760c9e5: Preparing 00:06:27 eb54b7b7991f: Preparing 00:06:27 500db2f3cbeb: Waiting 00:06:27 1ee762f43c53: Waiting 00:06:27 eb54b7b7991f: Waiting 00:06:27 349b1760c9e5: Waiting 00:06:27 59da44c6ef44: Layer already exists 00:06:27 1207169bf42c: Layer already exists 00:06:27 a43932d1df72: Layer already exists 00:06:27 af39b7e6cecb: Layer already exists 00:06:27 5a4a4a77e196: Layer already exists 00:06:27 eb54b7b7991f: Layer already exists 00:06:27 1ee762f43c53: Layer already exists 00:06:27 349b1760c9e5: Layer already exists 00:06:27 500db2f3cbeb: Layer already exists 00:06:28 2.2.0-dev.18: digest: sha256:426f399632bf45d0c4840869505547438cae39afdb4d5a06204ebf506cbc32ce size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:28 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 00:06:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:06:28 a43932d1df72: Preparing 00:06:28 1207169bf42c: Preparing 00:06:28 af39b7e6cecb: Preparing 00:06:28 59da44c6ef44: Preparing 00:06:28 5a4a4a77e196: Preparing 00:06:28 500db2f3cbeb: Preparing 00:06:28 1ee762f43c53: Preparing 00:06:28 349b1760c9e5: Preparing 00:06:28 eb54b7b7991f: Preparing 00:06:28 1ee762f43c53: Waiting 00:06:28 500db2f3cbeb: Waiting 00:06:28 349b1760c9e5: Waiting 00:06:28 eb54b7b7991f: Waiting 00:06:28 59da44c6ef44: Layer already exists 00:06:28 1207169bf42c: Layer already exists 00:06:28 a43932d1df72: Layer already exists 00:06:28 5a4a4a77e196: Layer already exists 00:06:28 af39b7e6cecb: Layer already exists 00:06:28 1ee762f43c53: Layer already exists 00:06:28 349b1760c9e5: Layer already exists 00:06:28 500db2f3cbeb: Layer already exists 00:06:28 eb54b7b7991f: Layer already exists 00:06:29 438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18: digest: sha256:426f399632bf45d0c4840869505547438cae39afdb4d5a06204ebf506cbc32ce size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:29 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:06:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:06:29 a43932d1df72: Preparing 00:06:29 1207169bf42c: Preparing 00:06:29 af39b7e6cecb: Preparing 00:06:29 59da44c6ef44: Preparing 00:06:29 5a4a4a77e196: Preparing 00:06:29 500db2f3cbeb: Preparing 00:06:29 1ee762f43c53: Preparing 00:06:29 349b1760c9e5: Preparing 00:06:29 eb54b7b7991f: Preparing 00:06:29 1ee762f43c53: Waiting 00:06:29 500db2f3cbeb: Waiting 00:06:29 eb54b7b7991f: Waiting 00:06:29 349b1760c9e5: Waiting 00:06:29 5a4a4a77e196: Layer already exists 00:06:29 1207169bf42c: Layer already exists 00:06:29 a43932d1df72: Layer already exists 00:06:29 59da44c6ef44: Layer already exists 00:06:29 af39b7e6cecb: Layer already exists 00:06:29 349b1760c9e5: Layer already exists 00:06:29 1ee762f43c53: Layer already exists 00:06:29 500db2f3cbeb: Layer already exists 00:06:29 eb54b7b7991f: Layer already exists 00:06:30 main: digest: sha256:426f399632bf45d0c4840869505547438cae39afdb4d5a06204ebf506cbc32ce size: 2201 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:06:30 ===================================================== [Pipeline] echo 00:06:30 taggedImages: 00:06:30 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f 00:06:30 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:06:30 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.2.0-dev.18 00:06:30 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:438075a0e0f96d3e210f1ba936027bcbd9da410f-2.2.0-dev.18 00:06:30 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:30 00:06:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:31 arm64: Pulling from edgex-lftools-log-publisher 00:06:31 8998bd30e6a1: Pulling fs layer 00:06:31 04944245beec: Pulling fs layer 00:06:31 699f458cf7ca: Pulling fs layer 00:06:31 765212b225bb: Pulling fs layer 00:06:31 f23df028b6ca: Pulling fs layer 00:06:31 d65c8cfc05b1: Pulling fs layer 00:06:31 2437ff75d9bd: Pulling fs layer 00:06:31 765212b225bb: Waiting 00:06:31 f23df028b6ca: Waiting 00:06:31 d65c8cfc05b1: Waiting 00:06:31 2437ff75d9bd: Waiting 00:06:31 04944245beec: Verifying Checksum 00:06:31 04944245beec: Download complete 00:06:31 765212b225bb: Verifying Checksum 00:06:31 765212b225bb: Download complete 00:06:31 f23df028b6ca: Download complete 00:06:31 d65c8cfc05b1: Verifying Checksum 00:06:31 d65c8cfc05b1: Download complete 00:06:31 699f458cf7ca: Verifying Checksum 00:06:31 699f458cf7ca: Download complete 00:06:31 8998bd30e6a1: Verifying Checksum 00:06:31 8998bd30e6a1: Download complete 00:06:33 2437ff75d9bd: Verifying Checksum 00:06:33 2437ff75d9bd: Download complete 00:06:35 8998bd30e6a1: Pull complete 00:06:36 04944245beec: Pull complete 00:06:38 699f458cf7ca: Pull complete 00:06:38 765212b225bb: Pull complete 00:06:39 f23df028b6ca: Pull complete 00:06:39 d65c8cfc05b1: Pull complete 00:06:54 2437ff75d9bd: Pull complete 00:06:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:06:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:55 prd-ubuntu20.04-docker-arm64-4c-16g-20831 does not seem to be running inside a container 00:06:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/29 -v /w/workspace/device-usb-camera/29:/w/workspace/device-usb-camera/29:rw,z -v /w/workspace/device-usb-camera/29@tmp:/w/workspace/device-usb-camera/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:06:57 $ docker top a78da127eb66e0bc0e357f55384fe16b606779e59f7275925759b12e5a27be42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:58 ---> job-cost.sh 00:06:58 lf-activate-venv: SKIPPING 00:06:58 INFO: No Stack... 00:06:58 INFO: Retrieving Pricing Info for: v3-standard-4 00:06:59 INFO: Archiving Costs [Pipeline] sh 00:07:00 + cat /w/workspace/device-usb-camera/29/archives/cost.csv 00:07:00 + cut -d, -f6 [Pipeline] lock 00:07:00 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] 00:07:00 Resource [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] did not exist. Created. 00:07:00 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:01 /w/workspace/device-usb-camera/29@tmp/durable-7383d4fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:07:01 + echo total: 0.10999999940395355 [Pipeline] stash 00:07:01 Warning: overwriting stash ‘stack-cost’ 00:07:01 Stashed 1 file(s) [Pipeline] } 00:07:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 00:07:01 $ docker stop --time=1 a78da127eb66e0bc0e357f55384fe16b606779e59f7275925759b12e5a27be42 00:07:03 $ docker rm -f a78da127eb66e0bc0e357f55384fe16b606779e59f7275925759b12e5a27be42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:07:03 provisioning config files... 00:07:03 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4725323559502197852tmp [Pipeline] { [Pipeline] sh 00:07:04 + set +x 00:07:04 + curl -s https://codecov.io/bash 00:07:04 + bash -s -- 00:07:04 00:07:04 _____ _ 00:07:04 / ____| | | 00:07:04 | | ___ __| | ___ ___ _____ __ 00:07:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:07:04 | |___| (_) | (_| | __/ (_| (_) \ V / 00:07:04 \_____\___/ \__,_|\___|\___\___/ \_/ 00:07:04 Bash-1.0.6 00:07:04 00:07:04 00:07:04 ==> git version 2.25.1 found 00:07:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:07:04 Release-Date: 2020-01-08 00:07:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:07:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:07:04 ==> Jenkins CI detected. 00:07:04 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:07:04 project root: . 00:07:04 --> token set from env 00:07:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:07:04 ==> Running gcov in . (disable via -X gcov) 00:07:04 ==> Python coveragepy not found 00:07:04 ==> Searching for coverage reports in: 00:07:04 + . 00:07:04 -> Found 1 reports 00:07:04 ==> Detecting git/mercurial file structure 00:07:04 ==> Reading reports 00:07:04 + ./coverage.out bytes=10 00:07:04 ==> Appending adjustments 00:07:04 https://docs.codecov.io/docs/fixing-reports 00:07:04 + Found adjustments 00:07:04 ==> Gzipping contents 00:07:04 4.0K /tmp/codecov.aDyknW.gz 00:07:04 ==> Uploading reports 00:07:04 url: https://codecov.io 00:07:04 query: branch=main&commit=438075a0e0f96d3e210f1ba936027bcbd9da410f&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:07:04 -> Pinging Codecov 00:07:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=438075a0e0f96d3e210f1ba936027bcbd9da410f&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:07:04 -> Uploading to 00:07:04 https://storage.googleapis.com/codecov/v4/raw/2022-07-23/73D8F5FF140700D3E01443B452E23636/438075a0e0f96d3e210f1ba936027bcbd9da410f/84f911d1-d670-479f-a6c1-ee364fd85fee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220723%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220723T000704Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ffab5acc49191c11d541263dd397fdc67b1f0c6988d8e776eddd53d8c7b65819 00:07:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:04 Dload Upload Total Spent Left Speed 00:07:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1187 0 0 100 1187 0 3491 --:--:-- --:--:-- --:--:-- 3491 00:07:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] } 00:07:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:07:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:07:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:05 00:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:07:05 df9b9388f04a: Pulling fs layer 00:07:05 52dc419b0ee2: Pulling fs layer 00:07:05 25bc292e5bac: Pulling fs layer 00:07:05 114826534d7a: Pulling fs layer 00:07:05 4657fd5d0bcf: Pulling fs layer 00:07:05 6ad1cebc031e: Pulling fs layer 00:07:05 8a3aa393b2d8: Pulling fs layer 00:07:05 4657fd5d0bcf: Waiting 00:07:05 114826534d7a: Waiting 00:07:05 6ad1cebc031e: Waiting 00:07:05 8a3aa393b2d8: Waiting 00:07:05 25bc292e5bac: Verifying Checksum 00:07:05 25bc292e5bac: Download complete 00:07:05 52dc419b0ee2: Verifying Checksum 00:07:05 52dc419b0ee2: Download complete 00:07:05 4657fd5d0bcf: Download complete 00:07:05 df9b9388f04a: Verifying Checksum 00:07:05 df9b9388f04a: Download complete 00:07:06 6ad1cebc031e: Verifying Checksum 00:07:06 6ad1cebc031e: Download complete 00:07:06 df9b9388f04a: Pull complete 00:07:06 52dc419b0ee2: Pull complete 00:07:06 25bc292e5bac: Pull complete 00:07:06 114826534d7a: Verifying Checksum 00:07:06 114826534d7a: Download complete 00:07:06 8a3aa393b2d8: Verifying Checksum 00:07:06 8a3aa393b2d8: Download complete 00:07:10 114826534d7a: Pull complete 00:07:10 4657fd5d0bcf: Pull complete 00:07:10 6ad1cebc031e: Pull complete 00:07:14 8a3aa393b2d8: Pull complete 00:07:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:07:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:14 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:07:17 $ docker top 9c8cd0665af8c0b654339e52ee5a11dc1d242a368e9dc66d1d00d7356fb3b2f5 -eo pid,comm [Pipeline] { [Pipeline] echo 00:07:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:07:17 + set -o pipefail 00:07:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:07:22 00:07:22 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:07:22 00:07:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/4cf95745-717f-421d-8c58-ed65a91a2c24 00:07:22 00:07:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:07:22 00:07:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:07:22 00:07:23 [Pipeline] } 00:07:23 $ docker stop --time=1 9c8cd0665af8c0b654339e52ee5a11dc1d242a368e9dc66d1d00d7356fb3b2f5 00:07:27 $ docker rm -f 9c8cd0665af8c0b654339e52ee5a11dc1d242a368e9dc66d1d00d7356fb3b2f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:27 + git log --format=format:%s -1 438075a0e0f96d3e210f1ba936027bcbd9da410f [Pipeline] sh 00:07:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:28 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:07:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:29 $ docker top 5182eedc7123c29fbdc565f441465273fcd4f65454727793510e474998c01621 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:29 [ssh-agent] Looking for ssh-agent implementation... 00:07:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:29 $ docker exec 5182eedc7123c29fbdc565f441465273fcd4f65454727793510e474998c01621 ssh-agent 00:07:29 SSH_AUTH_SOCK=/tmp/ssh-b8C3OI3ozaKD/agent.32 00:07:29 SSH_AGENT_PID=38 00:07:29 Running ssh-add (command line suppressed) 00:07:29 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7522714283992302726.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7522714283992302726.key) 00:07:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:30 + git semver tag 00:07:30 2022-07-23 00:07:30,295 [run_tag] DEBUG tag force:False 00:07:30 2022-07-23 00:07:30,295 [check_head_tag] DEBUG check head tag 00:07:30 2022-07-23 00:07:30,295 [execute] INFO git cat-file --batch-check 00:07:30 2022-07-23 00:07:30,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:07:30 2022-07-23 00:07:30,301 [execute] INFO git cat-file --batch 00:07:30 2022-07-23 00:07:30,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:07:30 2022-07-23 00:07:30,311 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:30 2022-07-23 00:07:30,311 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 00:07:30 2022-07-23 00:07:30,311 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:07:30 2022-07-23 00:07:30,318 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:30 2.2.0-dev.18 [Pipeline] } 00:07:30 $ docker exec --env ******** --env ******** 5182eedc7123c29fbdc565f441465273fcd4f65454727793510e474998c01621 ssh-agent -k 00:07:30 unset SSH_AUTH_SOCK; 00:07:30 unset SSH_AGENT_PID; 00:07:30 echo Agent pid 38 killed; 00:07:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:30 + git semver [Pipeline] } 00:07:31 $ docker stop --time=1 5182eedc7123c29fbdc565f441465273fcd4f65454727793510e474998c01621 00:07:32 $ docker rm -f 5182eedc7123c29fbdc565f441465273fcd4f65454727793510e474998c01621 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:32 00:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:33 0.23.1-centos7: Pulling from edgex-lftools 00:07:33 ab5ef0e58194: Pulling fs layer 00:07:33 9712f1f96733: Pulling fs layer 00:07:33 63f879dbbcfc: Pulling fs layer 00:07:33 0d9ebad4ef96: Pulling fs layer 00:07:33 e9a5061849ea: Pulling fs layer 00:07:33 d747dcd14b5f: Pulling fs layer 00:07:33 2de7ff778b66: Pulling fs layer 00:07:33 0d9ebad4ef96: Waiting 00:07:33 e9a5061849ea: Waiting 00:07:33 d747dcd14b5f: Waiting 00:07:33 9712f1f96733: Verifying Checksum 00:07:33 9712f1f96733: Download complete 00:07:33 63f879dbbcfc: Verifying Checksum 00:07:33 63f879dbbcfc: Download complete 00:07:33 0d9ebad4ef96: Verifying Checksum 00:07:33 0d9ebad4ef96: Download complete 00:07:33 d747dcd14b5f: Verifying Checksum 00:07:33 d747dcd14b5f: Download complete 00:07:33 e9a5061849ea: Verifying Checksum 00:07:33 e9a5061849ea: Download complete 00:07:33 ab5ef0e58194: Verifying Checksum 00:07:33 ab5ef0e58194: Download complete 00:07:33 2de7ff778b66: Verifying Checksum 00:07:33 2de7ff778b66: Download complete 00:07:37 ab5ef0e58194: Pull complete 00:07:37 9712f1f96733: Pull complete 00:07:37 63f879dbbcfc: Pull complete 00:07:42 0d9ebad4ef96: Pull complete 00:07:42 e9a5061849ea: Pull complete 00:07:42 d747dcd14b5f: Pull complete 00:07:43 2de7ff778b66: Pull complete 00:07:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:43 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:07:47 $ docker top 7c4586eb6f75336307004d6d013f3f691dfd8094af815564c26bcb82aed88e6f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:07:47 provisioning config files... 00:07:47 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9150538907711273686tmp 00:07:47 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7734718438255435406tmp 00:07:47 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config921827097714133025tmp [Pipeline] { [Pipeline] echo 00:07:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:07:48 ---> sigul-configuration.sh 00:07:48 gpg: directory `/root/.gnupg' created 00:07:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:07:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:07:48 gpg: keyring `/root/.gnupg/secring.gpg' created 00:07:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:07:48 gpg: CAST5 encrypted data 00:07:48 gpg: encrypted with 1 passphrase 00:07:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:07:48 + mkdir /home/jenkins 00:07:48 + mkdir /home/jenkins/sigul [Pipeline] sh 00:07:48 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:07:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:07:49 ---> sigul-install.sh 00:07:49 Sigul already installed; skipping installation. [Pipeline] sh 00:07:49 + git tag --list 00:07:49 v0.0.0 00:07:49 v0.0.1-dev.1 00:07:49 v0.0.1-dev.10 00:07:49 v0.0.1-dev.11 00:07:49 v0.0.1-dev.12 00:07:49 v0.0.1-dev.13 00:07:49 v0.0.1-dev.14 00:07:49 v0.0.1-dev.15 00:07:49 v0.0.1-dev.16 00:07:49 v0.0.1-dev.2 00:07:49 v0.0.1-dev.3 00:07:49 v0.0.1-dev.4 00:07:49 v0.0.1-dev.5 00:07:49 v0.0.1-dev.6 00:07:49 v0.0.1-dev.7 00:07:49 v0.0.1-dev.8 00:07:49 v0.0.1-dev.9 00:07:49 v2.2.0-dev.17 00:07:49 v2.2.0-dev.18 [Pipeline] sh 00:07:49 + lftools sign git-tag v2.2.0-dev.18 00:07:50 Signing Git tag with Sigul... 00:07:50 Signing v2.2.0-dev.18 [Pipeline] echo 00:07:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:07:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:07:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:07:51 $ docker stop --time=1 7c4586eb6f75336307004d6d013f3f691dfd8094af815564c26bcb82aed88e6f 00:07:52 $ docker rm -f 7c4586eb6f75336307004d6d013f3f691dfd8094af815564c26bcb82aed88e6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:07:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:53 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:53 $ docker top c8a81e16feb03211068cc1f2620a7cad17486eb11f80f496c5fa6f605ce1d018 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:53 [ssh-agent] Looking for ssh-agent implementation... 00:07:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:53 $ docker exec c8a81e16feb03211068cc1f2620a7cad17486eb11f80f496c5fa6f605ce1d018 ssh-agent 00:07:54 SSH_AUTH_SOCK=/tmp/ssh-cgb8OjnoBhQt/agent.34 00:07:54 SSH_AGENT_PID=40 00:07:54 Running ssh-add (command line suppressed) 00:07:54 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5882943797504002921.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5882943797504002921.key) 00:07:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:54 + git semver bump pre 00:07:54 2022-07-23 00:07:54,732 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:54 2022-07-23 00:07:54,732 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev 00:07:54 2022-07-23 00:07:54,733 [bump_version] DEBUG bumped version:2.2.0-dev.19 00:07:54 2022-07-23 00:07:54,733 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:07:54 2022-07-23 00:07:54,733 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:54 2022-07-23 00:07:54,733 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:54 2022-07-23 00:07:54,736 [execute] INFO git cat-file --batch-check 00:07:54 2022-07-23 00:07:54,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:54 2022-07-23 00:07:54,743 [execute] INFO git cat-file --batch 00:07:54 2022-07-23 00:07:54,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:54 2022-07-23 00:07:54,749 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:54 2.2.0-dev.19 [Pipeline] } 00:07:54 $ docker exec --env ******** --env ******** c8a81e16feb03211068cc1f2620a7cad17486eb11f80f496c5fa6f605ce1d018 ssh-agent -k 00:07:54 unset SSH_AUTH_SOCK; 00:07:54 unset SSH_AGENT_PID; 00:07:54 echo Agent pid 40 killed; 00:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:55 + git semver [Pipeline] } 00:07:55 $ docker stop --time=1 c8a81e16feb03211068cc1f2620a7cad17486eb11f80f496c5fa6f605ce1d018 00:07:56 $ docker rm -f c8a81e16feb03211068cc1f2620a7cad17486eb11f80f496c5fa6f605ce1d018 [Pipeline] // withDockerContainer [Pipeline] sh 00:07:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:57 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:58 $ docker top 6ae54ea00ee094d856dd1f45ce4246b90e7c91fbc668637552d8cb1181dff31b -eo pid,comm 00:07:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:07:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:58 [ssh-agent] Looking for ssh-agent implementation... 00:07:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:58 $ docker exec 6ae54ea00ee094d856dd1f45ce4246b90e7c91fbc668637552d8cb1181dff31b ssh-agent 00:07:58 SSH_AUTH_SOCK=/tmp/ssh-D8RWX80TDJKr/agent.33 00:07:58 SSH_AGENT_PID=39 00:07:58 Running ssh-add (command line suppressed) 00:07:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8015741760813881156.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8015741760813881156.key) 00:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:58 + git semver push 00:07:59 2022-07-23 00:07:59,053 [run_push] DEBUG push 00:07:59 2022-07-23 00:07:59,054 [execute] INFO git cat-file --batch-check 00:07:59 2022-07-23 00:07:59,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:07:59 2022-07-23 00:07:59,060 [execute] INFO git rev-list b9aef5f918c813a95defcb65ed2bcea9ce98d9df -- 00:07:59 2022-07-23 00:07:59,060 [execute] DEBUG Popen(['git', 'rev-list', 'b9aef5f918c813a95defcb65ed2bcea9ce98d9df', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:07:59 2022-07-23 00:07:59,066 [execute] INFO git fetch -v origin 00:07:59 2022-07-23 00:07:59,066 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:07:59 2022-07-23 00:07:59,555 [run_push] DEBUG no remote changes detected 00:07:59 2022-07-23 00:07:59,555 [execute] INFO git push origin semver 00:07:59 2022-07-23 00:07:59,556 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:08:00 2022-07-23 00:08:00,203 [run_push] DEBUG push all version tags 00:08:00 2022-07-23 00:08:00,204 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:08:00 2022-07-23 00:08:00,204 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:08:01 2022-07-23 00:08:00,897 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:08:01 2.2.0-dev.19 [Pipeline] } 00:08:01 $ docker exec --env ******** --env ******** 6ae54ea00ee094d856dd1f45ce4246b90e7c91fbc668637552d8cb1181dff31b ssh-agent -k 00:08:01 unset SSH_AUTH_SOCK; 00:08:01 unset SSH_AGENT_PID; 00:08:01 echo Agent pid 39 killed; 00:08:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:01 + git semver [Pipeline] } 00:08:01 $ docker stop --time=1 6ae54ea00ee094d856dd1f45ce4246b90e7c91fbc668637552d8cb1181dff31b 00:08:03 $ docker rm -f 6ae54ea00ee094d856dd1f45ce4246b90e7c91fbc668637552d8cb1181dff31b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:08:03 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:08:03 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:08:03 total 16 00:08:03 drwxr-xr-x 3 root root 4096 Jul 22 23:58 . 00:08:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 23 00:07 .. 00:08:03 drwxr-xr-x 2 root root 4096 Jul 22 23:58 cost 00:08:03 -rw-r--r-- 1 root root 87 Jul 22 23:58 cost.csv 00:08:03 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:08:03 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:08:03 total 16 00:08:03 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 23:58 . 00:08:03 drwxrwxr-x 10 jenkins jenkins 4096 Jul 23 00:07 .. 00:08:03 drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 23:58 cost 00:08:03 -rw-r--r-- 1 jenkins jenkins 87 Jul 22 23:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:08:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:08:05 ---> package-listing.sh 00:08:05 ++ facter osfamily 00:08:05 ++ tr '[:upper:]' '[:lower:]' 00:08:05 + OS_FAMILY=debian 00:08:05 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:08:05 + START_PACKAGES=/tmp/packages_start.txt 00:08:05 + END_PACKAGES=/tmp/packages_end.txt 00:08:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:08:05 + PACKAGES=/tmp/packages_start.txt 00:08:05 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:08:05 + PACKAGES=/tmp/packages_end.txt 00:08:05 + case "${OS_FAMILY}" in 00:08:05 + dpkg -l 00:08:05 + grep '^ii' 00:08:05 + '[' -f /tmp/packages_start.txt ']' 00:08:05 + '[' -f /tmp/packages_end.txt ']' 00:08:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:08:05 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:08:05 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:08:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:08:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:08:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:06 prd-ubuntu20.04-docker-8c-8g-20830 does not seem to be running inside a container 00:08:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:06 $ docker top 3193a7b388fc1bec0e729a917c821a84f0e6c2c5f15a310934879891049bbafc -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:07 + touch /tmp/pre-build-complete [Pipeline] sh 00:08:07 + mkdir -p /var/log/sysstat [Pipeline] sh 00:08:07 + ls /var/log/sa-host 00:08:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:07 provisioning config files... 00:08:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6874206270303823516tmp [Pipeline] { [Pipeline] echo 00:08:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:08 ---> create-netrc.sh [Pipeline] } 00:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:08:08 ---> python-tools-install.sh [Pipeline] echo 00:08:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:08 ---> sudo-logs.sh 00:08:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:08:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:09 ---> job-cost.sh 00:08:09 lf-activate-venv: SKIPPING 00:08:09 DEBUG: total: 0.2199999988079071 00:08:09 INFO: Retrieving Stack Cost... 00:08:09 INFO: Retrieving Pricing Info for: v3-standard-8 00:08:09 INFO: Archiving Costs [Pipeline] echo 00:08:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:10 ---> logs-deploy.sh 00:08:10 lf-activate-venv: SKIPPING 00:08:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/29 00:08:10 INFO: archiving workspace using pattern(s): 00:08:11 Archives upload complete. 00:08:11 INFO: archiving logs to Nexus 00:08:11 ---> uname -a: 00:08:11 Linux prd-ubuntu20-04-docker-8c-8g-20830 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:08:11 00:08:11 00:08:11 ---> lscpu: 00:08:11 Architecture: x86_64 00:08:11 CPU op-mode(s): 32-bit, 64-bit 00:08:11 Byte Order: Little Endian 00:08:11 Address sizes: 40 bits physical, 48 bits virtual 00:08:11 CPU(s): 8 00:08:11 On-line CPU(s) list: 0-7 00:08:11 Thread(s) per core: 1 00:08:11 Core(s) per socket: 1 00:08:11 Socket(s): 8 00:08:11 NUMA node(s): 1 00:08:11 Vendor ID: AuthenticAMD 00:08:11 CPU family: 23 00:08:11 Model: 49 00:08:11 Model name: AMD EPYC-Rome Processor 00:08:11 Stepping: 0 00:08:11 CPU MHz: 2799.864 00:08:11 BogoMIPS: 5599.72 00:08:11 Virtualization: AMD-V 00:08:11 Hypervisor vendor: KVM 00:08:11 Virtualization type: full 00:08:11 L1d cache: 256 KiB 00:08:11 L1i cache: 256 KiB 00:08:11 L2 cache: 4 MiB 00:08:11 L3 cache: 128 MiB 00:08:11 NUMA node0 CPU(s): 0-7 00:08:11 Vulnerability Itlb multihit: Not affected 00:08:11 Vulnerability L1tf: Not affected 00:08:11 Vulnerability Mds: Not affected 00:08:11 Vulnerability Meltdown: Not affected 00:08:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:08:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:08:11 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:08:11 Vulnerability Srbds: Not affected 00:08:11 Vulnerability Tsx async abort: Not affected 00:08:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:08:11 00:08:11 00:08:11 ---> nproc: 00:08:11 8 00:08:11 00:08:11 00:08:11 ---> df -h: 00:08:11 Filesystem Size Used Avail Use% Mounted on 00:08:11 overlay 155G 13G 143G 8% / 00:08:11 tmpfs 64M 0 64M 0% /dev 00:08:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:08:11 shm 64M 0 64M 0% /dev/shm 00:08:11 /dev/vda1 155G 13G 143G 8% /facter-os 00:08:11 00:08:11