Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92d6f227f6d624542842fd3e1767d7dce5dd31c9 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-ssh14505670696630086954.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8951624140441085904.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14581650713434596633.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh9944632108936733051.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh7064685420237323531.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64198’ Running on prd-ubuntu20.04-docker-8c-8g-64201 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 92d6f227f6d624542842fd3e1767d7dce5dd31c9 (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 92d6f227f6d624542842fd3e1767d7dce5dd31c9 # timeout=10 Commit message: "Merge pull request #28 from FelixTing/issue-15" > git rev-list --no-walk a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:44:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:44:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:44:45 ========================================================= 14:44:45 EdgeX Global Pipelines Version Info 14:44:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:44:46 ------------------- 14:44:46 stable info: 14:44:46 ------------------- 14:44:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:44:46 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:44:46 Message: update stable to v1.0.230 14:44:47 ------------------- 14:44:47 experimental info: 14:44:47 ------------------- 14:44:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:44:47 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:44:47 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92d6f22 [Pipeline] echo 14:44:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:47 provisioning config files... 14:44:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7305940713999283885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:48 ---> docker-login.sh 14:44:48 nexus3.edgexfoundry.org:10001 14:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:48 Configure a credential helper to remove this warning. See 14:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:48 14:44:48 Login Succeeded 14:44:48 nexus3.edgexfoundry.org:10002 14:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:48 Configure a credential helper to remove this warning. See 14:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:48 14:44:48 Login Succeeded 14:44:48 nexus3.edgexfoundry.org:10003 14:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:48 Configure a credential helper to remove this warning. See 14:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:48 14:44:48 Login Succeeded 14:44:48 nexus3.edgexfoundry.org:10004 14:44:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:49 Configure a credential helper to remove this warning. See 14:44:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:49 14:44:49 Login Succeeded 14:44:49 docker.io 14:44:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:49 Configure a credential helper to remove this warning. See 14:44:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:49 14:44:49 Login Succeeded 14:44:49 ---> docker-login.sh ends [Pipeline] } 14:44:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:44:49 + git rev-list -1 --merges 92d6f227f6d624542842fd3e1767d7dce5dd31c9~1..92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] echo 14:44:49 -----------> git rev-list -1 --merges 92d6f227f6d624542842fd3e1767d7dce5dd31c9~1..92d6f227f6d624542842fd3e1767d7dce5dd31c9 92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:44:49 92d6f227f6d624542842fd3e1767d7dce5dd31c9 [false] [Pipeline] sh 14:44:49 + git log --format=format:%s -1 92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] echo 14:44:50 ========================================================= 14:44:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:44:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:44:50 + git log --format=format:%s -1 92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] echo 14:44:50 [semverPrep] GIT_COMMIT: 92d6f227f6d624542842fd3e1767d7dce5dd31c9, Commit Message: Merge pull request #28 from FelixTing/issue-15 [Pipeline] echo 14:44:50 [semverPrep] This is not a build commit. [Pipeline] sh 14:44:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:44:50 + grep -v github /etc/ssh/ssh_known_hosts 14:44:50 + [ -e /tmp/ssh_known_hosts ] 14:44:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:44:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:44:50 + sudo tee -a /etc/ssh/ssh_known_hosts 14:44:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:44:51 14:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:44:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:44:51 latest: Pulling from edgex-devops/py-git-semver 14:44:51 1fe172e4850f: Pulling fs layer 14:44:51 caf521ccaac6: Pulling fs layer 14:44:51 3ead6fa29328: Pulling fs layer 14:44:51 5c2a1cbceb83: Pulling fs layer 14:44:51 a8d5f1318db7: Pulling fs layer 14:44:51 c427282e49a2: Pulling fs layer 14:44:51 1827001aaf11: Pulling fs layer 14:44:51 0714d37db230: Pulling fs layer 14:44:51 ac28cf19c067: Pulling fs layer 14:44:51 ca983d60f3e2: Pulling fs layer 14:44:51 9f894cec8388: Pulling fs layer 14:44:51 1827001aaf11: Waiting 14:44:51 ca983d60f3e2: Waiting 14:44:51 0714d37db230: Waiting 14:44:51 5c2a1cbceb83: Waiting 14:44:51 a8d5f1318db7: Waiting 14:44:51 ac28cf19c067: Waiting 14:44:51 c427282e49a2: Waiting 14:44:51 caf521ccaac6: Verifying Checksum 14:44:51 caf521ccaac6: Download complete 14:44:51 5c2a1cbceb83: Verifying Checksum 14:44:51 5c2a1cbceb83: Download complete 14:44:51 a8d5f1318db7: Verifying Checksum 14:44:51 a8d5f1318db7: Download complete 14:44:51 3ead6fa29328: Verifying Checksum 14:44:51 3ead6fa29328: Download complete 14:44:51 c427282e49a2: Download complete 14:44:51 0714d37db230: Download complete 14:44:51 ac28cf19c067: Verifying Checksum 14:44:51 ac28cf19c067: Download complete 14:44:51 ca983d60f3e2: Verifying Checksum 14:44:51 ca983d60f3e2: Download complete 14:44:51 9f894cec8388: Verifying Checksum 14:44:51 9f894cec8388: Download complete 14:44:51 1fe172e4850f: Verifying Checksum 14:44:51 1fe172e4850f: Download complete 14:44:51 1827001aaf11: Verifying Checksum 14:44:51 1827001aaf11: Download complete 14:44:53 1fe172e4850f: Pull complete 14:44:53 caf521ccaac6: Pull complete 14:44:53 3ead6fa29328: Pull complete 14:44:53 5c2a1cbceb83: Pull complete 14:44:54 a8d5f1318db7: Pull complete 14:44:54 c427282e49a2: Pull complete 14:44:55 1827001aaf11: Pull complete 14:44:55 0714d37db230: Pull complete 14:44:55 ac28cf19c067: Pull complete 14:44:55 ca983d60f3e2: Pull complete 14:44:56 9f894cec8388: Pull complete 14:44:56 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:44:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:44:56 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:44:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:44:57 $ docker top b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 -eo pid,comm 14:44:57 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). 14:44:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:57 [ssh-agent] Looking for ssh-agent implementation... 14:44:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:58 $ docker exec b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 ssh-agent 14:44:58 SSH_AUTH_SOCK=/tmp/ssh-V5X46ZVrrvaH/agent.33 14:44:58 SSH_AGENT_PID=39 14:44:58 Running ssh-add (command line suppressed) 14:44:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_275751022154317048.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_275751022154317048.key) 14:44:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:58 + git tag --points-at HEAD [Pipeline] } 14:44:58 $ docker exec --env ******** --env ******** b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 ssh-agent -k 14:44:58 unset SSH_AUTH_SOCK; 14:44:58 unset SSH_AGENT_PID; 14:44:58 echo Agent pid 39 killed; 14:44:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:44:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:44:58 [ssh-agent] Looking for ssh-agent implementation... 14:44:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:44:58 $ docker exec b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 ssh-agent 14:44:58 SSH_AUTH_SOCK=/tmp/ssh-L7mGD6LgPtbT/agent.72 14:44:58 SSH_AGENT_PID=79 14:44:58 Running ssh-add (command line suppressed) 14:44:59 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5939909010557744481.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5939909010557744481.key) 14:44:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:44:59 + git semver init 14:44:59 2022-05-20 14:44:59,574 [run_init] DEBUG init version:0.0.0 force:False 14:44:59 2022-05-20 14:44:59,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 14:44:59 2022-05-20 14:44:59,575 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 14:44:59 2022-05-20 14:44:59,575 [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) 14:45:00 2022-05-20 14:45:00,167 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 14:45:00 2022-05-20 14:45:00,167 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 14:45:00 2022-05-20 14:45:00,168 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:45:00 2022-05-20 14:45:00,168 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:45:00 0.0.1-dev.1 [Pipeline] } 14:45:00 $ docker exec --env ******** --env ******** b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 ssh-agent -k 14:45:00 unset SSH_AUTH_SOCK; 14:45:00 unset SSH_AGENT_PID; 14:45:00 echo Agent pid 79 killed; 14:45:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:45:00 + git semver [Pipeline] } 14:45:01 $ docker stop --time=1 b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 14:45:02 $ docker rm -f b0100404c5c1a9a4902774d5aa45cfec4da156851f235a1c8e7074d2ca2cd246 [Pipeline] // withDockerContainer [Pipeline] sh 14:45:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:45:03 Stashed 1 file(s) [Pipeline] echo 14:45:03 [edgeXSemver]: initialized semver on version 0.0.1-dev.1 [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 14:45:03 provisioning config files... 14:45:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3619875011374714279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:03 ---> docker-login.sh 14:45:03 nexus3.edgexfoundry.org:10001 14:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:03 Configure a credential helper to remove this warning. See 14:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:03 14:45:03 Login Succeeded 14:45:03 nexus3.edgexfoundry.org:10002 14:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:03 Configure a credential helper to remove this warning. See 14:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:03 14:45:03 Login Succeeded 14:45:03 nexus3.edgexfoundry.org:10003 14:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:03 Configure a credential helper to remove this warning. See 14:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:03 14:45:03 Login Succeeded 14:45:03 nexus3.edgexfoundry.org:10004 14:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:04 Configure a credential helper to remove this warning. See 14:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:04 14:45:04 Login Succeeded 14:45:04 docker.io 14:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:04 Configure a credential helper to remove this warning. See 14:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:04 14:45:04 Login Succeeded 14:45:04 ---> docker-login.sh ends [Pipeline] } 14:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:04 ========================================================= 14:45:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:45:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:45:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:45:04 Sending build context to Docker daemon 572.4kB 14:45:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:45:04 Step 2/12 : FROM ${BASE} AS builder 14:45:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:45:04 59bf1c3509f3: Pulling fs layer 14:45:04 666ba61612fd: Pulling fs layer 14:45:04 8ed8ca486205: Pulling fs layer 14:45:04 4fe6c5a15a65: Pulling fs layer 14:45:04 22a0e8bec74d: Pulling fs layer 14:45:04 ca2b28591e48: Pulling fs layer 14:45:04 a51346096db8: Pulling fs layer 14:45:04 daebc70d1ce1: Pulling fs layer 14:45:04 0e18a0eac166: Pulling fs layer 14:45:04 4fe6c5a15a65: Waiting 14:45:04 22a0e8bec74d: Waiting 14:45:04 ca2b28591e48: Waiting 14:45:04 a51346096db8: Waiting 14:45:04 daebc70d1ce1: Waiting 14:45:05 8ed8ca486205: Download complete 14:45:05 666ba61612fd: Verifying Checksum 14:45:05 666ba61612fd: Download complete 14:45:05 22a0e8bec74d: Verifying Checksum 14:45:05 22a0e8bec74d: Download complete 14:45:05 ca2b28591e48: Download complete 14:45:05 59bf1c3509f3: Verifying Checksum 14:45:05 59bf1c3509f3: Download complete 14:45:05 a51346096db8: Verifying Checksum 14:45:05 a51346096db8: Download complete 14:45:05 daebc70d1ce1: Verifying Checksum 14:45:05 daebc70d1ce1: Download complete 14:45:05 59bf1c3509f3: Pull complete 14:45:05 666ba61612fd: Pull complete 14:45:05 8ed8ca486205: Pull complete 14:45:05 0e18a0eac166: Verifying Checksum 14:45:05 0e18a0eac166: Download complete 14:45:05 4fe6c5a15a65: Verifying Checksum 14:45:05 4fe6c5a15a65: Download complete 14:45:09 4fe6c5a15a65: Pull complete 14:45:09 22a0e8bec74d: Pull complete 14:45:09 ca2b28591e48: Pull complete 14:45:09 a51346096db8: Pull complete 14:45:09 daebc70d1ce1: Pull complete 14:45:11 0e18a0eac166: Pull complete 14:45:11 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:45:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:45:11 ---> f018257e8ee9 14:45:11 Step 3/12 : ARG MAKE="make build" 14:45:14 ---> Running in 2ff064dfa129 14:45:14 Removing intermediate container 2ff064dfa129 14:45:14 ---> 4eae57cf3227 14:45:14 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:45:14 ---> Running in 6ce79e4fdea7 14:45:14 Removing intermediate container 6ce79e4fdea7 14:45:14 ---> 143ac69b7d69 14:45:14 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:45:14 ---> Running in e538ddd0ac27 14:45:14 Removing intermediate container e538ddd0ac27 14:45:14 ---> ca1325071cce 14:45:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:14 ---> Running in 443794b9bf1f 14:45:15 Removing intermediate container 443794b9bf1f 14:45:15 ---> 295c41e826db 14:45:15 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:45:15 ---> Running in e32ecb53de4e 14:45:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:45:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:45:16 (1/81) Installing mesa (21.2.6-r0) 14:45:16 (2/81) Installing libxau (1.0.9-r0) 14:45:16 (3/81) Installing libmd (1.0.3-r0) 14:45:16 (4/81) Installing libbsd (0.11.3-r1) 14:45:17 (5/81) Installing libxdmcp (1.1.3-r0) 14:45:17 (6/81) Installing libxcb (1.14-r2) 14:45:17 (7/81) Installing libx11 (1.7.2-r0) 14:45:17 (8/81) Installing libxext (1.3.4-r0) 14:45:17 (9/81) Installing libxfixes (6.0.0-r0) 14:45:17 (10/81) Installing libxxf86vm (1.1.4-r2) 14:45:17 (11/81) Installing libpciaccess (0.16-r0) 14:45:17 (12/81) Installing libdrm (2.4.109-r0) 14:45:17 (13/81) Installing mesa-glapi (21.2.6-r0) 14:45:17 (14/81) Installing libxshmfence (1.3-r1) 14:45:17 (15/81) Installing mesa-gl (21.2.6-r0) 14:45:18 (16/81) Installing libice (1.0.10-r0) 14:45:18 (17/81) Installing libuuid (2.37.4-r0) 14:45:18 (18/81) Installing libsm (1.2.3-r0) 14:45:18 Still waiting to schedule task 14:45:18 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-64199’ 14:45:18 (19/81) Installing libxt (1.2.1-r0) 14:45:18 (20/81) Installing libxmu (1.1.3-r0) 14:45:18 (21/81) Installing xset (1.2.4-r0) 14:45:18 (22/81) Installing xprop (1.2.5-r0) 14:45:18 (23/81) Installing xdg-utils (1.1.3-r0) 14:45:18 (24/81) Installing dbus-libs (1.12.20-r4) 14:45:18 (25/81) Installing libffi (3.4.2-r1) 14:45:18 (26/81) Installing libintl (0.21-r0) 14:45:18 (27/81) Installing libblkid (2.37.4-r0) 14:45:19 (28/81) Installing libmount (2.37.4-r0) 14:45:19 (29/81) Installing pcre (8.45-r1) 14:45:19 (30/81) Installing glib (2.70.1-r0) 14:45:19 (31/81) Installing icu-libs (69.1-r1) 14:45:19 (32/81) Installing libpcre2-16 (10.39-r0) 14:45:20 (33/81) Installing zstd-libs (1.5.0-r0) 14:45:20 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 14:45:20 (35/81) Installing hicolor-icon-theme (0.17-r1) 14:45:20 (36/81) Installing wayland-libs-server (1.19.0-r1) 14:45:20 (37/81) Installing mesa-gbm (21.2.6-r0) 14:45:20 (38/81) Installing wayland-libs-client (1.19.0-r1) 14:45:20 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 14:45:21 (40/81) Installing libxcomposite (0.4.5-r0) 14:45:21 (41/81) Installing libbz2 (1.0.8-r1) 14:45:21 (42/81) Installing libpng (1.6.37-r1) 14:45:21 (43/81) Installing freetype (2.11.1-r2) 14:45:21 (44/81) Installing fontconfig (2.13.1-r4) 14:45:21 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 14:45:21 (46/81) Installing wayland-libs-egl (1.19.0-r1) 14:45:21 (47/81) Installing xkeyboard-config (2.34-r0) 14:45:21 (48/81) Installing xz-libs (5.2.5-r1) 14:45:21 (49/81) Installing libxml2 (2.9.14-r0) 14:45:22 (50/81) Installing libxkbcommon (1.3.1-r0) 14:45:22 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 14:45:22 (52/81) Installing mesa-egl (21.2.6-r0) 14:45:22 (53/81) Installing avahi-libs (0.8-r5) 14:45:22 (54/81) Installing nettle (3.7.3-r0) 14:45:22 (55/81) Installing p11-kit (0.24.0-r1) 14:45:22 (56/81) Installing libtasn1 (4.18.0-r0) 14:45:22 (57/81) Installing libunistring (0.9.10-r1) 14:45:22 (58/81) Installing gnutls (3.7.1-r0) 14:45:22 (59/81) Installing cups-libs (2.3.3-r5) 14:45:22 (60/81) Installing graphite2 (1.3.14-r0) 14:45:23 (61/81) Installing harfbuzz (3.0.0-r2) 14:45:23 (62/81) Installing libevdev (1.12.0-r0) 14:45:23 (63/81) Installing mtdev (1.1.6-r0) 14:45:23 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 14:45:23 (65/81) Installing libinput-libs (1.19.4-r0) 14:45:23 (66/81) Installing libjpeg-turbo (2.1.2-r0) 14:45:23 (67/81) Installing xcb-util-wm (0.4.1-r1) 14:45:23 (68/81) Installing xcb-util (0.4.0-r3) 14:45:23 (69/81) Installing xcb-util-image (0.4.0-r1) 14:45:23 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 14:45:23 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 14:45:23 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 14:45:24 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 14:45:25 (74/81) Installing v4l-utils-libs (1.22.1-r1) 14:45:25 (75/81) Installing v4l-utils (1.22.1-r1) 14:45:25 (76/81) Installing udev-init-scripts (35-r0) 14:45:25 Executing udev-init-scripts-35-r0.post-install 14:45:25 (77/81) Installing kmod-libs (29-r2) 14:45:25 (78/81) Installing eudev (3.2.11_pre1-r0) 14:45:25 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 14:45:25 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 14:45:25 (81/81) Installing v4l-utils-dev (1.22.1-r1) 14:45:25 Executing busybox-1.34.1-r3.trigger 14:45:25 Executing eudev-3.2.11_pre1-r0.trigger 14:45:25 OK: 335 MiB in 133 packages 14:45:28 Removing intermediate container e32ecb53de4e 14:45:28 ---> 20c4d2df3df1 14:45:28 Step 8/12 : WORKDIR /device-usb-camera 14:45:28 ---> Running in ea88e0b1fdb5 14:45:28 Removing intermediate container ea88e0b1fdb5 14:45:28 ---> 3d2e423a51eb 14:45:28 Step 9/12 : COPY go.mod vendor* ./ 14:45:28 ---> 53b835861525 14:45:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:28 ---> Running in c4f11798e8c9 14:45:43 Removing intermediate container c4f11798e8c9 14:45:43 ---> 50c9576e4593 14:45:43 Step 11/12 : COPY . . 14:45:43 ---> 3e00e33a5cb7 14:45:43 Step 12/12 : RUN ${MAKE} 14:45:43 ---> Running in 48a606ec7592 14:45:43 noop 14:45:43 Removing intermediate container 48a606ec7592 14:45:43 ---> 6bad0ef289a7 14:45:43 Successfully built 6bad0ef289a7 14:45:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:45:44 + docker inspect -f . ci-base-image-x86_64 14:45:44 . [Pipeline] withDockerContainer 14:45:44 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:45: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 ******** ci-base-image-x86_64 cat 14:45:44 $ docker top 24d15fc866f815894d4f6423713d0ca7c4a2b1bfdce194f5a747ed92ab2a8427 -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:45 + go version 14:45:45 go version go1.17.6 linux/amd64 [Pipeline] } 14:45:45 $ docker stop --time=1 24d15fc866f815894d4f6423713d0ca7c4a2b1bfdce194f5a747ed92ab2a8427 14:45:46 $ docker rm -f 24d15fc866f815894d4f6423713d0ca7c4a2b1bfdce194f5a747ed92ab2a8427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:45:46 + docker inspect -f . ci-base-image-x86_64 14:45:46 . [Pipeline] withDockerContainer 14:45:46 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:45:46 $ 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 ******** ci-base-image-x86_64 cat 14:45:47 $ docker top 64f894eb9731a1af690f50e96283476eddcc00d9d5197dbeb5b4a88dd8aed349 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:45:47 + make test 14:45:47 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 14:45:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 14:45:57 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 14:45:57 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 14:46:03 CGO_ENABLED=1 go vet ./... 14:46:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:46:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:46:07 ./bin/test-attribution-txt.sh [Pipeline] echo 14:46:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:46:07 $ docker stop --time=1 64f894eb9731a1af690f50e96283476eddcc00d9d5197dbeb5b4a88dd8aed349 14:46:09 $ docker rm -f 64f894eb9731a1af690f50e96283476eddcc00d9d5197dbeb5b4a88dd8aed349 [Pipeline] // withDockerContainer [Pipeline] sh 14:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:46:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:46:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:46:10 + ls -al . 14:46:10 total 164 14:46:10 drwxrwxr-x 9 jenkins jenkins 4096 May 20 14:46 . 14:46:10 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:44 .. 14:46:10 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:45 .git 14:46:10 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:44 .github 14:46:10 -rw-rw-r-- 1 jenkins jenkins 349 May 20 14:44 .gitignore 14:46:10 -rw-rw-r-- 1 jenkins jenkins 42 May 20 14:44 .golangci.yml 14:46:10 -rw-rw-r-- 1 jenkins jenkins 77 May 20 14:44 .hadolint.yml 14:46:10 drwxr-xr-x 3 jenkins jenkins 4096 May 20 14:45 .semver 14:46:10 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 14:44 Attribution.txt 14:46:10 -rw-rw-r-- 1 jenkins jenkins 181 May 20 14:44 CHANGELOG.md 14:46:10 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 14:44 Dockerfile 14:46:10 -rw-rw-r-- 1 jenkins jenkins 678 May 20 14:44 GOVERNANCE.md 14:46:10 -rw-rw-r-- 1 jenkins jenkins 659 May 20 14:44 Jenkinsfile 14:46:10 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 14:44 LICENSE 14:46:10 -rw-rw-r-- 1 jenkins jenkins 2030 May 20 14:44 Makefile 14:46:10 -rw-rw-r-- 1 jenkins jenkins 622 May 20 14:44 OWNERS.md 14:46:10 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 14:44 README.md 14:46:10 -rw-rw-r-- 1 jenkins jenkins 11 May 20 14:45 VERSION 14:46:10 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:44 bin 14:46:10 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:44 cmd 14:46:10 -rw-r--r-- 1 jenkins jenkins 10 May 20 14:45 coverage.out 14:46:10 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:44 docker-compose 14:46:10 -rw-rw-r-- 1 jenkins jenkins 140 May 20 14:44 docker-entrypoint.sh 14:46:10 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 14:44 go.mod 14:46:10 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 14:44 go.sum 14:46:10 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:44 internal 14:46:10 -rw-rw-r-- 1 jenkins jenkins 231 May 20 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:46:10 + 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=92d6f227f6d624542842fd3e1767d7dce5dd31c9 --label arch=amd64 --label version=0.0.1-dev.1 . 14:46:10 Sending build context to Docker daemon 573.4kB 14:46:10 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 14:46:10 Step 2/29 : FROM ${BASE} AS builder 14:46:10 ---> 6bad0ef289a7 14:46:10 Step 3/29 : ARG MAKE="make build" 14:46:10 ---> Running in a3f6aa850cb4 14:46:10 Removing intermediate container a3f6aa850cb4 14:46:10 ---> 9c345d859775 14:46:10 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:46:11 ---> Running in 989ed1f477a6 14:46:11 Removing intermediate container 989ed1f477a6 14:46:11 ---> de17bf75aa86 14:46:11 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:46:11 ---> Running in 71a578d71cfb 14:46:11 Removing intermediate container 71a578d71cfb 14:46:11 ---> 33eac32bf4e3 14:46:11 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:46:11 ---> Running in a8d94a02ab93 14:46:11 Removing intermediate container a8d94a02ab93 14:46:11 ---> af2b41db58ce 14:46:11 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:46:11 ---> Running in 3294e0d6c062 14:46:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:46:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:46:13 OK: 335 MiB in 133 packages 14:46:13 Removing intermediate container 3294e0d6c062 14:46:13 ---> 3f2bd030e6de 14:46:13 Step 8/29 : WORKDIR /device-usb-camera 14:46:13 ---> Running in 34c19b1bc026 14:46:13 Removing intermediate container 34c19b1bc026 14:46:13 ---> 7582b6540e63 14:46:13 Step 9/29 : COPY go.mod vendor* ./ 14:46:13 ---> bc40cefb83d0 14:46:13 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:46:13 ---> Running in 728c31f8ee60 14:46:14 Removing intermediate container 728c31f8ee60 14:46:14 ---> 30b59abb053f 14:46:14 Step 11/29 : COPY . . 14:46:14 ---> f9f8251d4acd 14:46:14 Step 12/29 : RUN ${MAKE} 14:46:14 ---> Running in 5703b1967fae 14:46:15 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 14:46:36 Removing intermediate container 5703b1967fae 14:46:36 ---> 42fefcd9912e 14:46:36 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 14:46:36 v0.18.4: Pulling from aler9/rtsp-simple-server 14:46:36 af6660deedbd: Pulling fs layer 14:46:36 97cd0a44c592: Pulling fs layer 14:46:36 97cd0a44c592: Download complete 14:46:36 af6660deedbd: Verifying Checksum 14:46:36 af6660deedbd: Download complete 14:46:36 af6660deedbd: Pull complete 14:46:36 97cd0a44c592: Pull complete 14:46:36 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 14:46:36 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 14:46:36 ---> fea57e182299 14:46:36 Step 14/29 : FROM alpine:3.15 14:46:36 3.15: Pulling from library/alpine 14:46:36 df9b9388f04a: Pulling fs layer 14:46:36 df9b9388f04a: Download complete 14:46:36 df9b9388f04a: Pull complete 14:46:36 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:46:36 Status: Downloaded newer image for alpine:3.15 14:46:36 ---> 0ac33e5f5afa 14:46:36 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:46:36 ---> Running in 13cde40fe16e 14:46:36 Removing intermediate container 13cde40fe16e 14:46:36 ---> 128c3890a3fa 14:46:36 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 14:46:36 ---> Running in 1a3feb8165e6 14:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:46:37 (1/74) Installing dumb-init (1.2.5-r1) 14:46:37 (2/74) Installing sdl2 (2.0.16-r4) 14:46:37 (3/74) Installing libxau (1.0.9-r0) 14:46:37 (4/74) Installing libmd (1.0.3-r0) 14:46:37 (5/74) Installing libbsd (0.11.3-r1) 14:46:37 (6/74) Installing libxdmcp (1.1.3-r0) 14:46:37 (7/74) Installing libxcb (1.14-r2) 14:46:37 (8/74) Installing libx11 (1.7.2-r0) 14:46:37 (9/74) Installing aom-libs (3.2.0-r0) 14:46:37 (10/74) Installing alsa-lib (1.2.5.1-r1) 14:46:37 (11/74) Installing expat (2.4.7-r0) 14:46:37 (12/74) Installing brotli-libs (1.0.9-r5) 14:46:37 (13/74) Installing libbz2 (1.0.8-r1) 14:46:37 (14/74) Installing libpng (1.6.37-r1) 14:46:37 (15/74) Installing freetype (2.11.1-r2) 14:46:37 (16/74) Installing libuuid (2.37.4-r0) 14:46:37 (17/74) Installing fontconfig (2.13.1-r4) 14:46:37 (18/74) Installing fribidi (1.0.11-r0) 14:46:37 (19/74) Installing libffi (3.4.2-r1) 14:46:37 (20/74) Installing libintl (0.21-r0) 14:46:37 (21/74) Installing libblkid (2.37.4-r0) 14:46:37 (22/74) Installing libmount (2.37.4-r0) 14:46:37 (23/74) Installing pcre (8.45-r1) 14:46:37 (24/74) Installing glib (2.70.1-r0) 14:46:37 (25/74) Installing graphite2 (1.3.14-r0) 14:46:37 (26/74) Installing harfbuzz (3.0.0-r2) 14:46:37 (27/74) Installing libass (0.15.2-r0) 14:46:37 (28/74) Installing libdav1d (0.9.2-r0) 14:46:37 (29/74) Installing gmp (6.2.1-r1) 14:46:37 (30/74) Installing nettle (3.7.3-r0) 14:46:37 (31/74) Installing p11-kit (0.24.0-r1) 14:46:37 (32/74) Installing libtasn1 (4.18.0-r0) 14:46:37 (33/74) Installing libunistring (0.9.10-r1) 14:46:37 (34/74) Installing gnutls (3.7.1-r0) 14:46:37 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 14:46:37 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 14:46:37 (37/74) Installing lame (3.100-r0) 14:46:37 (38/74) Installing opus (1.3.1-r1) 14:46:37 (39/74) Installing libgomp (10.3.1_git20211027-r0) 14:46:37 (40/74) Installing soxr (0.1.3-r2) 14:46:37 (41/74) Installing libgcc (10.3.1_git20211027-r0) 14:46:37 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 14:46:37 (43/74) Installing libsrt (1.4.2-r1) 14:46:37 (44/74) Installing libssh (0.9.6-r1) 14:46:37 (45/74) Installing libogg (1.3.5-r0) 14:46:37 (46/74) Installing libtheora (1.1.1-r16) 14:46:37 (47/74) Installing libjpeg-turbo (2.1.2-r0) 14:46:37 (48/74) Installing v4l-utils-libs (1.22.1-r1) 14:46:38 (49/74) Installing libxext (1.3.4-r0) 14:46:38 (50/74) Installing libxfixes (6.0.0-r0) 14:46:38 (51/74) Installing libpciaccess (0.16-r0) 14:46:38 (52/74) Installing libdrm (2.4.109-r0) 14:46:38 (53/74) Installing wayland-libs-client (1.19.0-r1) 14:46:38 (54/74) Installing libva (2.13.0-r0) 14:46:38 (55/74) Installing libvdpau (1.4-r0) 14:46:38 (56/74) Installing vidstab (1.1.0-r1) 14:46:38 (57/74) Installing libvorbis (1.3.7-r0) 14:46:38 (58/74) Installing libvpx (1.10.0-r0) 14:46:38 (59/74) Installing vulkan-loader (1.2.196-r0) 14:46:38 (60/74) Installing libwebp (1.2.2-r0) 14:46:38 (61/74) Installing x264-libs (20210613-r0) 14:46:38 (62/74) Installing x265-libs (3.5-r0) 14:46:38 (63/74) Installing xvidcore (1.3.7-r1) 14:46:38 (64/74) Installing ffmpeg-libs (4.4.1-r2) 14:46:38 (65/74) Installing ffmpeg (4.4.1-r2) 14:46:38 (66/74) Installing udev-init-scripts (35-r0) 14:46:38 Executing udev-init-scripts-35-r0.post-install 14:46:38 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 14:46:38 (68/74) Installing xz-libs (5.2.5-r1) 14:46:38 (69/74) Installing zstd-libs (1.5.0-r0) 14:46:38 (70/74) Installing kmod-libs (29-r2) 14:46:38 (71/74) Installing eudev (3.2.11_pre1-r0) 14:46:38 (72/74) Installing libsodium (1.0.18-r0) 14:46:38 (73/74) Installing libzmq (4.3.4-r0) 14:46:38 (74/74) Installing zeromq (4.3.4-r0) 14:46:38 Executing busybox-1.34.1-r5.trigger 14:46:38 Executing eudev-3.2.11_pre1-r0.trigger 14:46:38 OK: 78 MiB in 88 packages 14:46:40 Removing intermediate container 1a3feb8165e6 14:46:40 ---> 49cd50132aca 14:46:40 Step 17/29 : WORKDIR / 14:46:40 ---> Running in 4595cff92aa3 14:46:40 Removing intermediate container 4595cff92aa3 14:46:40 ---> 36fcae616a69 14:46:40 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 14:46:41 ---> 3e9b37563c09 14:46:41 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 14:46:41 ---> 416ab19a6494 14:46:41 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 14:46:41 ---> d2bb0db09d9c 14:46:41 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 14:46:41 ---> 37ad6729e4d6 14:46:41 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 14:46:41 ---> 7be1cb775e91 14:46:41 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 14:46:42 ---> 6ff88655f0ba 14:46:42 Step 24/29 : EXPOSE 59983 14:46:42 ---> Running in 6f169b948d42 14:46:42 Removing intermediate container 6f169b948d42 14:46:42 ---> 76a75fc286e9 14:46:42 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 14:46:42 ---> Running in de943f58c131 14:46:42 Removing intermediate container de943f58c131 14:46:42 ---> 57c73962c535 14:46:42 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 14:46:42 ---> Running in a664a53ff524 14:46:42 Removing intermediate container a664a53ff524 14:46:42 ---> 7a64c3c2d94f 14:46:42 Step 27/29 : LABEL arch=amd64 14:46:42 ---> Running in d4d92f484cab 14:46:43 Removing intermediate container d4d92f484cab 14:46:43 ---> e71e57367534 14:46:43 Step 28/29 : LABEL git_sha=92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:46:43 ---> Running in 2766a36db95d 14:46:43 Removing intermediate container 2766a36db95d 14:46:43 ---> b6338e6d6b77 14:46:43 Step 29/29 : LABEL version=0.0.1-dev.1 14:46:43 ---> Running in e8084e58af2e 14:46:43 Removing intermediate container e8084e58af2e 14:46:43 ---> 7ae3c44c0fb7 14:46:43 [Warning] One or more build-args [ARCH] were not consumed 14:46:43 Successfully built 7ae3c44c0fb7 14:46:43 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:46:43 provisioning config files... 14:46:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7769118639353657125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:46:43 ---> docker-login.sh 14:46:43 nexus3.edgexfoundry.org:10001 14:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:43 Configure a credential helper to remove this warning. See 14:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:43 14:46:43 Login Succeeded 14:46:43 nexus3.edgexfoundry.org:10002 14:46:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:44 Configure a credential helper to remove this warning. See 14:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:44 14:46:44 Login Succeeded 14:46:44 nexus3.edgexfoundry.org:10003 14:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:44 Configure a credential helper to remove this warning. See 14:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:44 14:46:44 Login Succeeded 14:46:44 nexus3.edgexfoundry.org:10004 14:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:44 Configure a credential helper to remove this warning. See 14:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:44 14:46:44 Login Succeeded 14:46:44 docker.io 14:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:44 Configure a credential helper to remove this warning. See 14:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:44 14:46:44 Login Succeeded 14:46:44 ---> docker-login.sh ends [Pipeline] } 14:46:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:46:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:46:44 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 14:46:44 92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:46:44 latest 14:46:44 0.0.1-dev.1 14:46:44 92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:46:44 main 14:46:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:46:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] isUnix [Pipeline] sh 14:46:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 14:46:45 550e596c6d0e: Preparing 14:46:45 1207169bf42c: Preparing 14:46:45 7b710faf6e10: Preparing 14:46:45 944cb251c586: Preparing 14:46:45 ac9a572ca322: Preparing 14:46:45 49eddac613bc: Preparing 14:46:45 66ac17746094: Preparing 14:46:45 4fc242d58285: Preparing 14:46:45 49eddac613bc: Waiting 14:46:45 66ac17746094: Waiting 14:46:45 4fc242d58285: Waiting 14:46:45 1207169bf42c: Pushed 14:46:45 ac9a572ca322: Pushed 14:46:45 944cb251c586: Pushed 14:46:45 7b710faf6e10: Pushed 14:46:45 4fc242d58285: Layer already exists 14:46:47 550e596c6d0e: Pushed 14:46:48 49eddac613bc: Pushed 14:46:52 66ac17746094: Pushed 14:46:52 92d6f227f6d624542842fd3e1767d7dce5dd31c9: digest: sha256:d0b62ddbc50753f381c68747fdf69c5842c3fb58f427c4f21f0571857af65d36 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:46:52 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] isUnix [Pipeline] sh 14:46:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 14:46:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 14:46:52 550e596c6d0e: Preparing 14:46:52 1207169bf42c: Preparing 14:46:52 7b710faf6e10: Preparing 14:46:52 944cb251c586: Preparing 14:46:52 ac9a572ca322: Preparing 14:46:52 49eddac613bc: Preparing 14:46:52 66ac17746094: Preparing 14:46:52 4fc242d58285: Preparing 14:46:52 49eddac613bc: Waiting 14:46:52 66ac17746094: Waiting 14:46:52 4fc242d58285: Waiting 14:46:52 1207169bf42c: Layer already exists 14:46:52 7b710faf6e10: Layer already exists 14:46:52 ac9a572ca322: Layer already exists 14:46:52 944cb251c586: Layer already exists 14:46:52 550e596c6d0e: Layer already exists 14:46:52 49eddac613bc: Layer already exists 14:46:52 4fc242d58285: Layer already exists 14:46:52 66ac17746094: Layer already exists 14:46:52 latest: digest: sha256:d0b62ddbc50753f381c68747fdf69c5842c3fb58f427c4f21f0571857af65d36 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:46:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:46:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.1 14:46:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 14:46:53 550e596c6d0e: Preparing 14:46:53 1207169bf42c: Preparing 14:46:53 7b710faf6e10: Preparing 14:46:53 944cb251c586: Preparing 14:46:53 ac9a572ca322: Preparing 14:46:53 49eddac613bc: Preparing 14:46:53 66ac17746094: Preparing 14:46:53 4fc242d58285: Preparing 14:46:53 49eddac613bc: Waiting 14:46:53 66ac17746094: Waiting 14:46:53 4fc242d58285: Waiting 14:46:53 7b710faf6e10: Layer already exists 14:46:53 944cb251c586: Layer already exists 14:46:53 1207169bf42c: Layer already exists 14:46:53 ac9a572ca322: Layer already exists 14:46:53 550e596c6d0e: Layer already exists 14:46:53 66ac17746094: Layer already exists 14:46:53 49eddac613bc: Layer already exists 14:46:53 4fc242d58285: Layer already exists 14:46:53 0.0.1-dev.1: digest: sha256:d0b62ddbc50753f381c68747fdf69c5842c3fb58f427c4f21f0571857af65d36 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:46:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:46:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:46:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 14:46:54 550e596c6d0e: Preparing 14:46:54 1207169bf42c: Preparing 14:46:54 7b710faf6e10: Preparing 14:46:54 944cb251c586: Preparing 14:46:54 ac9a572ca322: Preparing 14:46:54 49eddac613bc: Preparing 14:46:54 66ac17746094: Preparing 14:46:54 49eddac613bc: Waiting 14:46:54 4fc242d58285: Preparing 14:46:54 4fc242d58285: Waiting 14:46:54 66ac17746094: Waiting 14:46:54 1207169bf42c: Layer already exists 14:46:54 ac9a572ca322: Layer already exists 14:46:54 550e596c6d0e: Layer already exists 14:46:54 944cb251c586: Layer already exists 14:46:54 7b710faf6e10: Layer already exists 14:46:54 66ac17746094: Layer already exists 14:46:54 49eddac613bc: Layer already exists 14:46:54 4fc242d58285: Layer already exists 14:46:54 92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1: digest: sha256:d0b62ddbc50753f381c68747fdf69c5842c3fb58f427c4f21f0571857af65d36 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:46:54 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] isUnix [Pipeline] sh 14:46:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 14:46:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 14:46:54 550e596c6d0e: Preparing 14:46:54 1207169bf42c: Preparing 14:46:54 7b710faf6e10: Preparing 14:46:54 944cb251c586: Preparing 14:46:54 ac9a572ca322: Preparing 14:46:54 49eddac613bc: Preparing 14:46:54 66ac17746094: Preparing 14:46:54 4fc242d58285: Preparing 14:46:54 49eddac613bc: Waiting 14:46:54 66ac17746094: Waiting 14:46:54 4fc242d58285: Waiting 14:46:54 1207169bf42c: Layer already exists 14:46:54 7b710faf6e10: Layer already exists 14:46:54 944cb251c586: Layer already exists 14:46:54 ac9a572ca322: Layer already exists 14:46:54 550e596c6d0e: Layer already exists 14:46:54 49eddac613bc: Layer already exists 14:46:54 66ac17746094: Layer already exists 14:46:54 4fc242d58285: Layer already exists 14:46:54 main: digest: sha256:d0b62ddbc50753f381c68747fdf69c5842c3fb58f427c4f21f0571857af65d36 size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:46:54 ===================================================== [Pipeline] echo 14:46:54 taggedImages: 14:46:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:46:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 14:46:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.1 14:46:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:46:54 - 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] sh 14:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:46:55 14:46:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:46:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:46:55 latest: Pulling from edgex-lftools-log-publisher 14:46:55 5eb5b503b376: Pulling fs layer 14:46:55 5c69ac0246d0: Pulling fs layer 14:46:55 ec43610c2a17: Pulling fs layer 14:46:55 3a2ae6a8a46f: Pulling fs layer 14:46:55 33b1e0a273af: Pulling fs layer 14:46:55 5d3b04190fa2: Pulling fs layer 14:46:55 2f39f015ded8: Pulling fs layer 14:46:55 3a2ae6a8a46f: Waiting 14:46:55 33b1e0a273af: Waiting 14:46:55 5d3b04190fa2: Waiting 14:46:55 2f39f015ded8: Waiting 14:46:55 5c69ac0246d0: Download complete 14:46:55 3a2ae6a8a46f: Download complete 14:46:55 33b1e0a273af: Verifying Checksum 14:46:55 33b1e0a273af: Download complete 14:46:55 5d3b04190fa2: Verifying Checksum 14:46:55 5d3b04190fa2: Download complete 14:46:55 ec43610c2a17: Verifying Checksum 14:46:55 ec43610c2a17: Download complete 14:46:55 5eb5b503b376: Verifying Checksum 14:46:55 5eb5b503b376: Download complete 14:46:56 2f39f015ded8: Download complete 14:46:56 5eb5b503b376: Pull complete 14:46:57 5c69ac0246d0: Pull complete 14:46:57 ec43610c2a17: Pull complete 14:46:57 3a2ae6a8a46f: Pull complete 14:46:58 33b1e0a273af: Pull complete 14:46:58 5d3b04190fa2: Pull complete 14:47:02 2f39f015ded8: Pull complete 14:47:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:47:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:47:02 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:47:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:47:05 $ docker top 44e9bbde448fb8c229805b39ac84a84cc96a9a7ff98ea36626eab6c2edac2e92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:05 ---> job-cost.sh 14:47:05 lf-activate-venv: SKIPPING 14:47:05 INFO: No Stack... 14:47:06 INFO: Retrieving Pricing Info for: v3-standard-8 14:47:06 INFO: Archiving Costs [Pipeline] sh 14:47:06 + + cut -d, -f6 14:47:06 cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 14:47:06 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] 14:47:06 Resource [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] did not exist. Created. 14:47:06 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:47:07 + echo total: 0.2199999988079071 [Pipeline] stash 14:47:07 Stashed 1 file(s) [Pipeline] } 14:47:07 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 14:47:07 $ docker stop --time=1 44e9bbde448fb8c229805b39ac84a84cc96a9a7ff98ea36626eab6c2edac2e92 14:47:08 $ docker rm -f 44e9bbde448fb8c229805b39ac84a84cc96a9a7ff98ea36626eab6c2edac2e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:48:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64203 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 14:48:28 Running in /w/workspace/device-usb-camera/12 [Pipeline] { [Pipeline] checkout 14:48:28 Selected Git installation does not exist. Using Default 14:48:28 The recommended git tool is: NONE 14:48:35 using credential edgex-jenkins-ssh 14:48:35 Cloning the remote Git repository 14:48:35 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 14:48:35 > git init /w/workspace/device-usb-camera/12 # timeout=10 14:48:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 14:48:36 > git --version # timeout=10 14:48:36 > git --version # 'git version 2.25.1' 14:48:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:37 Avoid second fetch 14:48:37 Checking out Revision 92d6f227f6d624542842fd3e1767d7dce5dd31c9 (main) 14:48:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 14:48:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:37 > git config core.sparsecheckout # timeout=10 14:48:37 > git checkout -f 92d6f227f6d624542842fd3e1767d7dce5dd31c9 # timeout=10 14:48:41 Commit message: "Merge pull request #28 from FelixTing/issue-15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:48:42 % Total % Received % Xferd Average Speed Time Time Time Current 14:48:42 Dload Upload Total Spent Left Speed 14:48:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50423 0 --:--:-- --:--:-- --:--:-- 50632 [Pipeline] sh 14:48:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:48:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:48:43 + sudo tee /etc/docker/daemon.new 14:48:43 { 14:48:43 "registry-mirrors": [ 14:48:43 "https://nexus3.edgexfoundry.org:10001" 14:48:43 ], 14:48:43 "bip": "10.250.0.254/24", 14:48:43 "hosts": [ 14:48:43 "tcp://0.0.0.0:5555", 14:48:43 "unix:///var/run/docker.sock" 14:48:43 ], 14:48:43 "mtu": 1458, 14:48:43 "selinux-enabled": true, 14:48:43 "seccomp-profile": "/etc/docker/seccomp.json" 14:48:43 } [Pipeline] sh 14:48:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:48:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:02 provisioning config files... 14:49:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/12@tmp/config7887841693492884997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:02 ---> docker-login.sh 14:49:02 nexus3.edgexfoundry.org:10001 14:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:03 Configure a credential helper to remove this warning. See 14:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:03 14:49:03 Login Succeeded 14:49:03 nexus3.edgexfoundry.org:10002 14:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:04 Configure a credential helper to remove this warning. See 14:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:04 14:49:04 Login Succeeded 14:49:04 nexus3.edgexfoundry.org:10003 14:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:04 Configure a credential helper to remove this warning. See 14:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:04 14:49:04 Login Succeeded 14:49:04 nexus3.edgexfoundry.org:10004 14:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:05 Configure a credential helper to remove this warning. See 14:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:05 14:49:05 Login Succeeded 14:49:05 docker.io 14:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:05 Configure a credential helper to remove this warning. See 14:49:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:05 14:49:05 Login Succeeded 14:49:05 ---> docker-login.sh ends [Pipeline] } 14:49:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:49:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:49:06 ========================================================= 14:49:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:49:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:49:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:49:06 Sending build context to Docker daemon 387.6kB 14:49:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:49:06 Step 2/12 : FROM ${BASE} AS builder 14:49:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:49:07 9b3977197b4f: Pulling fs layer 14:49:07 1a89e8eeedd5: Pulling fs layer 14:49:07 94645a83ff95: Pulling fs layer 14:49:07 3f3a8bcf1eab: Pulling fs layer 14:49:07 0c92f367c5e7: Pulling fs layer 14:49:07 3096ccb668a1: Pulling fs layer 14:49:07 e8cf19c19ddd: Pulling fs layer 14:49:07 a4caa8a26152: Pulling fs layer 14:49:07 3f3a8bcf1eab: Waiting 14:49:07 0c92f367c5e7: Waiting 14:49:07 3096ccb668a1: Waiting 14:49:07 e8cf19c19ddd: Waiting 14:49:07 a4caa8a26152: Waiting 14:49:07 94645a83ff95: Verifying Checksum 14:49:07 94645a83ff95: Download complete 14:49:07 1a89e8eeedd5: Verifying Checksum 14:49:07 1a89e8eeedd5: Download complete 14:49:07 0c92f367c5e7: Download complete 14:49:07 3096ccb668a1: Download complete 14:49:07 9b3977197b4f: Verifying Checksum 14:49:07 9b3977197b4f: Download complete 14:49:07 e8cf19c19ddd: Verifying Checksum 14:49:07 e8cf19c19ddd: Download complete 14:49:07 9b3977197b4f: Pull complete 14:49:08 1a89e8eeedd5: Pull complete 14:49:08 94645a83ff95: Pull complete 14:49:09 a4caa8a26152: Verifying Checksum 14:49:09 a4caa8a26152: Download complete 14:49:09 3f3a8bcf1eab: Verifying Checksum 14:49:09 3f3a8bcf1eab: Download complete 14:49:22 3f3a8bcf1eab: Pull complete 14:49:22 0c92f367c5e7: Pull complete 14:49:22 3096ccb668a1: Pull complete 14:49:22 e8cf19c19ddd: Pull complete 14:49:29 a4caa8a26152: Pull complete 14:49:29 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:49:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:49:29 ---> 725f1c02e7f9 14:49:29 Step 3/12 : ARG MAKE="make build" 14:49:29 ---> Running in 62f6dc335814 14:49:29 Removing intermediate container 62f6dc335814 14:49:29 ---> 49c17708f59f 14:49:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:49:29 ---> Running in 2a7f01fb36f8 14:49:29 Removing intermediate container 2a7f01fb36f8 14:49:29 ---> b744da90cfc4 14:49:29 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:49:29 ---> Running in 65bda997ee2e 14:49:30 Removing intermediate container 65bda997ee2e 14:49:30 ---> 240638f4b932 14:49:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:49:30 ---> Running in 6c072b7b9d4e 14:49:32 Removing intermediate container 6c072b7b9d4e 14:49:32 ---> f157ba2e8ce9 14:49:32 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:49:32 ---> Running in 6d298e0e2d1a 14:49:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:49:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:49:35 (1/14) Installing libintl (0.21-r0) 14:49:35 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 14:49:35 (3/14) Installing libjpeg-turbo (2.1.2-r0) 14:49:35 (4/14) Installing v4l-utils-libs (1.22.1-r1) 14:49:35 (5/14) Installing v4l-utils (1.22.1-r1) 14:49:35 (6/14) Installing udev-init-scripts (35-r0) 14:49:35 Executing udev-init-scripts-35-r0.post-install 14:49:35 (7/14) Installing libblkid (2.37.4-r0) 14:49:35 (8/14) Installing xz-libs (5.2.5-r1) 14:49:35 (9/14) Installing zstd-libs (1.5.0-r0) 14:49:36 (10/14) Installing kmod-libs (29-r2) 14:49:36 (11/14) Installing eudev (3.2.11_pre1-r0) 14:49:36 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 14:49:36 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 14:49:36 (14/14) Installing v4l-utils-dev (1.22.1-r1) 14:49:36 Executing busybox-1.34.1-r3.trigger 14:49:36 Executing eudev-3.2.11_pre1-r0.trigger 14:49:36 OK: 227 MiB in 66 packages 14:49:38 Removing intermediate container 6d298e0e2d1a 14:49:38 ---> bc9bf3249d0e 14:49:38 Step 8/12 : WORKDIR /device-usb-camera 14:49:38 ---> Running in 04b45debb7ff 14:49:38 Removing intermediate container 04b45debb7ff 14:49:38 ---> 9e9be7a8f51b 14:49:38 Step 9/12 : COPY go.mod vendor* ./ 14:49:39 ---> 761dd98cf130 14:49:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:49:39 ---> Running in 18e1fed7f980 14:50:35 Removing intermediate container 18e1fed7f980 14:50:35 ---> 3298482f78af 14:50:35 Step 11/12 : COPY . . 14:50:35 ---> 128298a685d7 14:50:35 Step 12/12 : RUN ${MAKE} 14:50:35 ---> Running in 284acc17a401 14:50:35 noop 14:50:35 Removing intermediate container 284acc17a401 14:50:35 ---> e46c9292c9fe 14:50:35 Successfully built e46c9292c9fe 14:50:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:50:36 + docker inspect -f . ci-base-image-arm64 14:50:36 . [Pipeline] withDockerContainer 14:50:36 prd-ubuntu20.04-docker-arm64-4c-16g-64203 does not seem to be running inside a container 14:50:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/12 -v /w/workspace/device-usb-camera/12:/w/workspace/device-usb-camera/12:rw,z -v /w/workspace/device-usb-camera/12@tmp:/w/workspace/device-usb-camera/12@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-arm64 cat 14:50:37 $ docker top 2571102a0b3622114729e863b69faae3ddb5200326c439295683524fe6f4c052 -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:38 + go version 14:50:38 go version go1.17.6 linux/arm64 [Pipeline] } 14:50:38 $ docker stop --time=1 2571102a0b3622114729e863b69faae3ddb5200326c439295683524fe6f4c052 14:50:40 $ docker rm -f 2571102a0b3622114729e863b69faae3ddb5200326c439295683524fe6f4c052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:50:41 + docker inspect -f . ci-base-image-arm64 14:50:41 . [Pipeline] withDockerContainer 14:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-64203 does not seem to be running inside a container 14:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/12 -v /w/workspace/device-usb-camera/12:/w/workspace/device-usb-camera/12:rw,z -v /w/workspace/device-usb-camera/12@tmp:/w/workspace/device-usb-camera/12@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-arm64 cat 14:50:42 $ docker top b8e38c946119b547b01015e61d791831e90e35d4a2a24e943e787ba99d81494b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:50:43 + make test 14:50:43 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 14:50:45 ? github.com/edgexfoundry/device-usb-camera [no test files] 14:52:07 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 14:52:07 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 14:52:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:52:07 CGO_ENABLED=1 go vet ./... 14:52:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:52:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:52:34 ./bin/test-attribution-txt.sh [Pipeline] echo 14:52:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:52:34 $ docker stop --time=1 b8e38c946119b547b01015e61d791831e90e35d4a2a24e943e787ba99d81494b 14:52:36 $ docker rm -f b8e38c946119b547b01015e61d791831e90e35d4a2a24e943e787ba99d81494b [Pipeline] // withDockerContainer [Pipeline] sh 14:52:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:52:37 Warning: overwriting stash ‘coverage-report’ 14:52:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:52:38 + ls -al . 14:52:38 total 160 14:52:38 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:52 . 14:52:38 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:48 .. 14:52:38 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:48 .git 14:52:38 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:48 .github 14:52:38 -rw-rw-r-- 1 jenkins jenkins 349 May 20 14:48 .gitignore 14:52:38 -rw-rw-r-- 1 jenkins jenkins 42 May 20 14:48 .golangci.yml 14:52:38 -rw-rw-r-- 1 jenkins jenkins 77 May 20 14:48 .hadolint.yml 14:52:38 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 14:48 Attribution.txt 14:52:38 -rw-rw-r-- 1 jenkins jenkins 181 May 20 14:48 CHANGELOG.md 14:52:38 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 14:48 Dockerfile 14:52:38 -rw-rw-r-- 1 jenkins jenkins 678 May 20 14:48 GOVERNANCE.md 14:52:38 -rw-rw-r-- 1 jenkins jenkins 659 May 20 14:48 Jenkinsfile 14:52:38 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 14:48 LICENSE 14:52:38 -rw-rw-r-- 1 jenkins jenkins 2030 May 20 14:48 Makefile 14:52:38 -rw-rw-r-- 1 jenkins jenkins 622 May 20 14:48 OWNERS.md 14:52:38 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 14:48 README.md 14:52:38 -rw-rw-r-- 1 jenkins jenkins 11 May 20 14:45 VERSION 14:52:38 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:48 bin 14:52:38 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:48 cmd 14:52:38 -rw-r--r-- 1 jenkins jenkins 10 May 20 14:50 coverage.out 14:52:38 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:48 docker-compose 14:52:38 -rw-rw-r-- 1 jenkins jenkins 140 May 20 14:48 docker-entrypoint.sh 14:52:38 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 14:48 go.mod 14:52:38 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 14:48 go.sum 14:52:38 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:48 internal 14:52:38 -rw-rw-r-- 1 jenkins jenkins 231 May 20 14:48 version.go [Pipeline] isUnix [Pipeline] sh 14:52:38 + 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=92d6f227f6d624542842fd3e1767d7dce5dd31c9 --label arch=arm64 --label version=0.0.1-dev.1 . 14:52:38 Sending build context to Docker daemon 388.6kB 14:52:38 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 14:52:38 Step 2/29 : FROM ${BASE} AS builder 14:52:38 ---> e46c9292c9fe 14:52:38 Step 3/29 : ARG MAKE="make build" 14:52:38 ---> Running in bb4b0849f4ee 14:52:39 Removing intermediate container bb4b0849f4ee 14:52:39 ---> 9a271d726540 14:52:39 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:52:39 ---> Running in d76e6620cb8b 14:52:39 Removing intermediate container d76e6620cb8b 14:52:39 ---> 83f58f2c747d 14:52:39 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:52:39 ---> Running in e58791334fd9 14:52:40 Removing intermediate container e58791334fd9 14:52:40 ---> e645d2eb6d66 14:52:40 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:52:40 ---> Running in 08c4816bc676 14:52:42 Removing intermediate container 08c4816bc676 14:52:42 ---> 3f8f2374dde8 14:52:42 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:52:42 ---> Running in 02562dcedc4a 14:52:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:52:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:52:45 OK: 227 MiB in 66 packages 14:52:46 Removing intermediate container 02562dcedc4a 14:52:46 ---> e33c7eb02eaa 14:52:46 Step 8/29 : WORKDIR /device-usb-camera 14:52:46 ---> Running in da5522e7c520 14:52:46 Removing intermediate container da5522e7c520 14:52:46 ---> ddcac6d93d9d 14:52:46 Step 9/29 : COPY go.mod vendor* ./ 14:52:46 ---> 74deeb715b91 14:52:46 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:52:46 ---> Running in 7e7ffbfa791f 14:52:48 Removing intermediate container 7e7ffbfa791f 14:52:48 ---> 3906d4884c95 14:52:48 Step 11/29 : COPY . . 14:52:49 ---> 4fd407a6b897 14:52:49 Step 12/29 : RUN ${MAKE} 14:52:49 ---> Running in c91a892e49c6 14:52:50 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 14:54:57 Removing intermediate container c91a892e49c6 14:54:57 ---> 55247e5153a7 14:54:57 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 14:54:57 v0.18.4: Pulling from aler9/rtsp-simple-server 14:54:57 eab2503cf8f4: Pulling fs layer 14:54:57 97cd0a44c592: Pulling fs layer 14:54:57 97cd0a44c592: Verifying Checksum 14:54:57 97cd0a44c592: Download complete 14:54:57 eab2503cf8f4: Verifying Checksum 14:54:57 eab2503cf8f4: Download complete 14:54:57 eab2503cf8f4: Pull complete 14:54:57 97cd0a44c592: Pull complete 14:54:57 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 14:54:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 14:54:57 ---> 7f763cca56b3 14:54:57 Step 14/29 : FROM alpine:3.15 14:54:57 3.15: Pulling from library/alpine 14:54:57 9981e73032c8: Pulling fs layer 14:54:57 9981e73032c8: Verifying Checksum 14:54:57 9981e73032c8: Download complete 14:54:57 9981e73032c8: Pull complete 14:54:57 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:54:57 Status: Downloaded newer image for alpine:3.15 14:54:57 ---> 3fb3c9af89a9 14:54:57 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:54:57 ---> Running in c51cee826870 14:54:57 Removing intermediate container c51cee826870 14:54:57 ---> 776ddaebbf3e 14:54:57 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 14:54:57 ---> Running in 4080966eec56 14:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:54:57 (1/73) Installing dumb-init (1.2.5-r1) 14:54:57 (2/73) Installing sdl2 (2.0.16-r4) 14:54:57 (3/73) Installing libxau (1.0.9-r0) 14:54:57 (4/73) Installing libmd (1.0.3-r0) 14:54:57 (5/73) Installing libbsd (0.11.3-r1) 14:54:57 (6/73) Installing libxdmcp (1.1.3-r0) 14:54:57 (7/73) Installing libxcb (1.14-r2) 14:54:57 (8/73) Installing libx11 (1.7.2-r0) 14:54:57 (9/73) Installing aom-libs (3.2.0-r0) 14:54:57 (10/73) Installing alsa-lib (1.2.5.1-r1) 14:54:57 (11/73) Installing expat (2.4.7-r0) 14:54:57 (12/73) Installing brotli-libs (1.0.9-r5) 14:54:57 (13/73) Installing libbz2 (1.0.8-r1) 14:54:57 (14/73) Installing libpng (1.6.37-r1) 14:54:57 (15/73) Installing freetype (2.11.1-r2) 14:54:57 (16/73) Installing libuuid (2.37.4-r0) 14:54:57 (17/73) Installing fontconfig (2.13.1-r4) 14:54:57 (18/73) Installing fribidi (1.0.11-r0) 14:54:57 (19/73) Installing libffi (3.4.2-r1) 14:54:57 (20/73) Installing libintl (0.21-r0) 14:54:57 (21/73) Installing libblkid (2.37.4-r0) 14:54:57 (22/73) Installing libmount (2.37.4-r0) 14:54:57 (23/73) Installing pcre (8.45-r1) 14:54:57 (24/73) Installing glib (2.70.1-r0) 14:54:57 (25/73) Installing graphite2 (1.3.14-r0) 14:54:57 (26/73) Installing harfbuzz (3.0.0-r2) 14:54:57 (27/73) Installing libass (0.15.2-r0) 14:54:57 (28/73) Installing libdav1d (0.9.2-r0) 14:54:57 (29/73) Installing gmp (6.2.1-r1) 14:54:57 (30/73) Installing nettle (3.7.3-r0) 14:54:57 (31/73) Installing p11-kit (0.24.0-r1) 14:54:57 (32/73) Installing libtasn1 (4.18.0-r0) 14:54:57 (33/73) Installing libunistring (0.9.10-r1) 14:54:57 (34/73) Installing gnutls (3.7.1-r0) 14:54:57 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 14:54:57 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 14:54:57 (37/73) Installing lame (3.100-r0) 14:54:57 (38/73) Installing opus (1.3.1-r1) 14:54:57 (39/73) Installing libgomp (10.3.1_git20211027-r0) 14:54:57 (40/73) Installing soxr (0.1.3-r2) 14:54:57 (41/73) Installing libgcc (10.3.1_git20211027-r0) 14:54:57 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 14:54:57 (43/73) Installing libsrt (1.4.2-r1) 14:54:57 (44/73) Installing libssh (0.9.6-r1) 14:54:57 (45/73) Installing libogg (1.3.5-r0) 14:54:57 (46/73) Installing libtheora (1.1.1-r16) 14:54:57 (47/73) Installing libjpeg-turbo (2.1.2-r0) 14:54:57 (48/73) Installing v4l-utils-libs (1.22.1-r1) 14:54:57 (49/73) Installing libxext (1.3.4-r0) 14:54:57 (50/73) Installing libxfixes (6.0.0-r0) 14:54:57 (51/73) Installing libdrm (2.4.109-r0) 14:54:57 (52/73) Installing wayland-libs-client (1.19.0-r1) 14:54:57 (53/73) Installing libva (2.13.0-r0) 14:54:57 (54/73) Installing libvdpau (1.4-r0) 14:54:57 (55/73) Installing vidstab (1.1.0-r1) 14:54:57 (56/73) Installing libvorbis (1.3.7-r0) 14:54:57 (57/73) Installing libvpx (1.10.0-r0) 14:54:57 (58/73) Installing vulkan-loader (1.2.196-r0) 14:54:57 (59/73) Installing libwebp (1.2.2-r0) 14:54:57 (60/73) Installing x264-libs (20210613-r0) 14:54:57 (61/73) Installing x265-libs (3.5-r0) 14:54:57 (62/73) Installing xvidcore (1.3.7-r1) 14:54:57 (63/73) Installing ffmpeg-libs (4.4.1-r2) 14:54:57 (64/73) Installing ffmpeg (4.4.1-r2) 14:54:57 (65/73) Installing udev-init-scripts (35-r0) 14:54:57 Executing udev-init-scripts-35-r0.post-install 14:54:57 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 14:54:57 (67/73) Installing xz-libs (5.2.5-r1) 14:54:57 (68/73) Installing zstd-libs (1.5.0-r0) 14:54:57 (69/73) Installing kmod-libs (29-r2) 14:54:57 (70/73) Installing eudev (3.2.11_pre1-r0) 14:54:57 (71/73) Installing libsodium (1.0.18-r0) 14:54:57 (72/73) Installing libzmq (4.3.4-r0) 14:54:57 (73/73) Installing zeromq (4.3.4-r0) 14:54:57 Executing busybox-1.34.1-r5.trigger 14:54:57 Executing eudev-3.2.11_pre1-r0.trigger 14:54:57 OK: 67 MiB in 87 packages 14:54:57 Removing intermediate container 4080966eec56 14:54:57 ---> e9c64905a400 14:54:57 Step 17/29 : WORKDIR / 14:54:57 ---> Running in f8dd0e9b30b0 14:54:57 Removing intermediate container f8dd0e9b30b0 14:54:57 ---> fc53958e9265 14:54:57 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 14:54:58 ---> 9f3773eed29e 14:54:58 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 14:54:59 ---> 7a4933c8d274 14:54:59 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 14:54:59 ---> 881514f916e9 14:54:59 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 14:55:00 ---> 918748ace7a3 14:55:00 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 14:55:00 ---> b9f46812141a 14:55:00 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 14:55:02 ---> a92e773e2a2c 14:55:02 Step 24/29 : EXPOSE 59983 14:55:02 ---> Running in f5dcf7e7d674 14:55:02 Removing intermediate container f5dcf7e7d674 14:55:02 ---> 453eafe0cf59 14:55:02 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 14:55:02 ---> Running in 60597b35fed8 14:55:02 Removing intermediate container 60597b35fed8 14:55:02 ---> 4edc79292329 14:55:02 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 14:55:02 ---> Running in 96a4e22c53e0 14:55:03 Removing intermediate container 96a4e22c53e0 14:55:03 ---> c5d4d9ffb4bb 14:55:03 Step 27/29 : LABEL arch=arm64 14:55:03 ---> Running in 8beee2700480 14:55:03 Removing intermediate container 8beee2700480 14:55:03 ---> 6ac9a0b6fe69 14:55:03 Step 28/29 : LABEL git_sha=92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:55:03 ---> Running in 8b14eeda66a5 14:55:03 Removing intermediate container 8b14eeda66a5 14:55:03 ---> 5c1251e609b1 14:55:03 Step 29/29 : LABEL version=0.0.1-dev.1 14:55:03 ---> Running in cd020ee9488a 14:55:04 Removing intermediate container cd020ee9488a 14:55:04 ---> 614854768930 14:55:04 [Warning] One or more build-args [ARCH] were not consumed 14:55:04 Successfully built 614854768930 14:55:04 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:04 provisioning config files... 14:55:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/12@tmp/config3164825910687428262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:04 ---> docker-login.sh 14:55:04 nexus3.edgexfoundry.org:10001 14:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:05 Configure a credential helper to remove this warning. See 14:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:05 14:55:05 Login Succeeded 14:55:05 nexus3.edgexfoundry.org:10002 14:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:05 Configure a credential helper to remove this warning. See 14:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:05 14:55:05 Login Succeeded 14:55:05 nexus3.edgexfoundry.org:10003 14:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:06 Configure a credential helper to remove this warning. See 14:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:06 14:55:06 Login Succeeded 14:55:06 nexus3.edgexfoundry.org:10004 14:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:06 Configure a credential helper to remove this warning. See 14:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:06 14:55:06 Login Succeeded 14:55:06 docker.io 14:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:07 Configure a credential helper to remove this warning. See 14:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:07 14:55:07 Login Succeeded 14:55:07 ---> docker-login.sh ends [Pipeline] } 14:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:55:07 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 14:55:07 92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:55:07 latest 14:55:07 0.0.1-dev.1 14:55:07 92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:55:07 main 14:55:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:07 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] isUnix [Pipeline] sh 14:55:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:55:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 14:55:08 a43932d1df72: Preparing 14:55:08 1207169bf42c: Preparing 14:55:08 4a771a906a75: Preparing 14:55:08 dd3cb089b71d: Preparing 14:55:08 158cccda4f35: Preparing 14:55:08 68766a6cca9d: Preparing 14:55:08 b427baa22094: Preparing 14:55:08 4f4ce317c6bb: Preparing 14:55:08 68766a6cca9d: Waiting 14:55:08 b427baa22094: Waiting 14:55:08 4f4ce317c6bb: Waiting 14:55:08 1207169bf42c: Pushed 14:55:08 4a771a906a75: Pushed 14:55:08 dd3cb089b71d: Pushed 14:55:08 158cccda4f35: Pushed 14:55:08 4f4ce317c6bb: Layer already exists 14:55:12 a43932d1df72: Pushed 14:55:14 68766a6cca9d: Pushed 14:55:23 b427baa22094: Pushed 14:55:23 92d6f227f6d624542842fd3e1767d7dce5dd31c9: digest: sha256:2772f2589753b28f0d4a4cce453fd0bc3c8d6b6672acb0164db3fcedd8d5ee06 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:55:23 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:55:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 14:55:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 14:55:23 a43932d1df72: Preparing 14:55:23 1207169bf42c: Preparing 14:55:23 4a771a906a75: Preparing 14:55:23 dd3cb089b71d: Preparing 14:55:23 158cccda4f35: Preparing 14:55:23 68766a6cca9d: Preparing 14:55:23 b427baa22094: Preparing 14:55:23 4f4ce317c6bb: Preparing 14:55:23 68766a6cca9d: Waiting 14:55:23 4f4ce317c6bb: Waiting 14:55:23 b427baa22094: Waiting 14:55:23 158cccda4f35: Layer already exists 14:55:23 dd3cb089b71d: Layer already exists 14:55:23 4a771a906a75: Layer already exists 14:55:23 a43932d1df72: Layer already exists 14:55:23 1207169bf42c: Layer already exists 14:55:23 4f4ce317c6bb: Layer already exists 14:55:23 b427baa22094: Layer already exists 14:55:23 68766a6cca9d: Layer already exists 14:55:24 latest: digest: sha256:2772f2589753b28f0d4a4cce453fd0bc3c8d6b6672acb0164db3fcedd8d5ee06 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:55:24 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.1 14:55:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 14:55:24 a43932d1df72: Preparing 14:55:24 1207169bf42c: Preparing 14:55:24 4a771a906a75: Preparing 14:55:24 dd3cb089b71d: Preparing 14:55:24 158cccda4f35: Preparing 14:55:24 68766a6cca9d: Preparing 14:55:24 b427baa22094: Preparing 14:55:24 4f4ce317c6bb: Preparing 14:55:24 68766a6cca9d: Waiting 14:55:24 b427baa22094: Waiting 14:55:24 4f4ce317c6bb: Waiting 14:55:24 1207169bf42c: Layer already exists 14:55:24 4a771a906a75: Layer already exists 14:55:24 a43932d1df72: Layer already exists 14:55:24 158cccda4f35: Layer already exists 14:55:24 dd3cb089b71d: Layer already exists 14:55:24 b427baa22094: Layer already exists 14:55:24 4f4ce317c6bb: Layer already exists 14:55:24 68766a6cca9d: Layer already exists 14:55:25 0.0.1-dev.1: digest: sha256:2772f2589753b28f0d4a4cce453fd0bc3c8d6b6672acb0164db3fcedd8d5ee06 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:55:25 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:55:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:55:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 14:55:25 a43932d1df72: Preparing 14:55:25 1207169bf42c: Preparing 14:55:25 4a771a906a75: Preparing 14:55:25 dd3cb089b71d: Preparing 14:55:25 158cccda4f35: Preparing 14:55:25 68766a6cca9d: Preparing 14:55:25 b427baa22094: Preparing 14:55:25 4f4ce317c6bb: Preparing 14:55:25 68766a6cca9d: Waiting 14:55:25 b427baa22094: Waiting 14:55:25 4f4ce317c6bb: Waiting 14:55:25 1207169bf42c: Layer already exists 14:55:25 4a771a906a75: Layer already exists 14:55:25 a43932d1df72: Layer already exists 14:55:25 158cccda4f35: Layer already exists 14:55:25 dd3cb089b71d: Layer already exists 14:55:25 b427baa22094: Layer already exists 14:55:25 68766a6cca9d: Layer already exists 14:55:25 4f4ce317c6bb: Layer already exists 14:55:26 92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1: digest: sha256:2772f2589753b28f0d4a4cce453fd0bc3c8d6b6672acb0164db3fcedd8d5ee06 size: 1994 [Pipeline] isUnix [Pipeline] sh 14:55:26 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 14:55:26 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 14:55:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 14:55:26 a43932d1df72: Preparing 14:55:26 1207169bf42c: Preparing 14:55:26 4a771a906a75: Preparing 14:55:26 dd3cb089b71d: Preparing 14:55:26 158cccda4f35: Preparing 14:55:26 68766a6cca9d: Preparing 14:55:26 b427baa22094: Preparing 14:55:26 4f4ce317c6bb: Preparing 14:55:26 68766a6cca9d: Waiting 14:55:26 b427baa22094: Waiting 14:55:26 4f4ce317c6bb: Waiting 14:55:26 4a771a906a75: Layer already exists 14:55:26 158cccda4f35: Layer already exists 14:55:26 a43932d1df72: Layer already exists 14:55:26 dd3cb089b71d: Layer already exists 14:55:26 1207169bf42c: Layer already exists 14:55:26 4f4ce317c6bb: Layer already exists 14:55:26 68766a6cca9d: Layer already exists 14:55:26 b427baa22094: Layer already exists 14:55:26 main: digest: sha256:2772f2589753b28f0d4a4cce453fd0bc3c8d6b6672acb0164db3fcedd8d5ee06 size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:27 ===================================================== [Pipeline] echo 14:55:27 taggedImages: 14:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9 14:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 14:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.1 14:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:92d6f227f6d624542842fd3e1767d7dce5dd31c9-0.0.1-dev.1 14:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:55:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:27 14:55:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:55:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:28 arm64: Pulling from edgex-lftools-log-publisher 14:55:28 8998bd30e6a1: Pulling fs layer 14:55:28 04944245beec: Pulling fs layer 14:55:28 699f458cf7ca: Pulling fs layer 14:55:28 765212b225bb: Pulling fs layer 14:55:28 f23df028b6ca: Pulling fs layer 14:55:28 d65c8cfc05b1: Pulling fs layer 14:55:28 2437ff75d9bd: Pulling fs layer 14:55:28 f23df028b6ca: Waiting 14:55:28 d65c8cfc05b1: Waiting 14:55:28 2437ff75d9bd: Waiting 14:55:28 765212b225bb: Waiting 14:55:28 04944245beec: Verifying Checksum 14:55:28 04944245beec: Download complete 14:55:28 765212b225bb: Verifying Checksum 14:55:28 765212b225bb: Download complete 14:55:28 f23df028b6ca: Verifying Checksum 14:55:28 f23df028b6ca: Download complete 14:55:28 d65c8cfc05b1: Verifying Checksum 14:55:28 d65c8cfc05b1: Download complete 14:55:28 699f458cf7ca: Verifying Checksum 14:55:28 699f458cf7ca: Download complete 14:55:28 8998bd30e6a1: Verifying Checksum 14:55:28 8998bd30e6a1: Download complete 14:55:31 2437ff75d9bd: Verifying Checksum 14:55:31 2437ff75d9bd: Download complete 14:55:33 8998bd30e6a1: Pull complete 14:55:33 04944245beec: Pull complete 14:55:35 699f458cf7ca: Pull complete 14:55:35 765212b225bb: Pull complete 14:55:36 f23df028b6ca: Pull complete 14:55:36 d65c8cfc05b1: Pull complete 14:55:51 2437ff75d9bd: Pull complete 14:55:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:55:51 prd-ubuntu20.04-docker-arm64-4c-16g-64203 does not seem to be running inside a container 14:55:51 $ 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/12 -v /w/workspace/device-usb-camera/12:/w/workspace/device-usb-camera/12:rw,z -v /w/workspace/device-usb-camera/12@tmp:/w/workspace/device-usb-camera/12@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:arm64 cat 14:55:54 $ docker top 43f755888673ce36e331f766ed827e10524d0d79285d87d44445b1f5fa5ad1eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:55 ---> job-cost.sh 14:55:55 lf-activate-venv: SKIPPING 14:55:55 INFO: No Stack... 14:55:55 INFO: Retrieving Pricing Info for: v3-standard-4 14:55:56 INFO: Archiving Costs [Pipeline] sh 14:55:57 + cat /w/workspace/device-usb-camera/12/archives/cost.csv 14:55:57 + cut -d, -f6 [Pipeline] lock 14:55:57 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] 14:55:57 Resource [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] did not exist. Created. 14:55:57 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:57 /w/workspace/device-usb-camera/12@tmp/durable-8099d4bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:55:58 + echo total: 0.10999999940395355 [Pipeline] stash 14:55:58 Warning: overwriting stash ‘stack-cost’ 14:55:58 Stashed 1 file(s) [Pipeline] } 14:55:58 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-12-stack-cost] [Pipeline] // lock [Pipeline] } 14:55:58 $ docker stop --time=1 43f755888673ce36e331f766ed827e10524d0d79285d87d44445b1f5fa5ad1eb 14:56:00 $ docker rm -f 43f755888673ce36e331f766ed827e10524d0d79285d87d44445b1f5fa5ad1eb [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 14:56:00 provisioning config files... 14:56:00 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6947541932616623413tmp [Pipeline] { [Pipeline] sh 14:56:00 + set +x 14:56:00 + bash -s -- 14:56:00 + curl -s https://codecov.io/bash 14:56:00 14:56:00 _____ _ 14:56:00 / ____| | | 14:56:00 | | ___ __| | ___ ___ _____ __ 14:56:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:56:00 | |___| (_) | (_| | __/ (_| (_) \ V / 14:56:00 \_____\___/ \__,_|\___|\___\___/ \_/ 14:56:00 Bash-1.0.6 14:56:00 14:56:00 14:56:00 ==> git version 2.25.1 found 14:56:00 ==> 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 14:56:00 Release-Date: 2020-01-08 14:56:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:56:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:56:00 ==> Jenkins CI detected. 14:56:00 current dir:  /w/workspace/exfoundry_device-usb-camera_main 14:56:00 project root: . 14:56:00 --> token set from env 14:56:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:56:00 ==> Running gcov in . (disable via -X gcov) 14:56:00 ==> Python coveragepy not found 14:56:00 ==> Searching for coverage reports in: 14:56:00 + . 14:56:00 -> Found 1 reports 14:56:00 ==> Detecting git/mercurial file structure 14:56:00 ==> Reading reports 14:56:00 + ./coverage.out bytes=10 14:56:00 ==> Appending adjustments 14:56:00 https://docs.codecov.io/docs/fixing-reports 14:56:01 + Found adjustments 14:56:01 ==> Gzipping contents 14:56:01 4.0K /tmp/codecov.VdOUcT.gz 14:56:01 ==> Uploading reports 14:56:01 url: https://codecov.io 14:56:01 query: branch=main&commit=92d6f227f6d624542842fd3e1767d7dce5dd31c9&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:56:01 -> Pinging Codecov 14:56:01 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=92d6f227f6d624542842fd3e1767d7dce5dd31c9&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:56:01 -> Uploading to 14:56:01 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/73D8F5FF140700D3E01443B452E23636/92d6f227f6d624542842fd3e1767d7dce5dd31c9/4f44ed78-70a3-4029-a5cd-c24ad0d141ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T145601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb861ec8da13d5dc924ef2330dfcc3f26ffaf10356a1084f1d5b94e47d8f521f 14:56:01 % Total % Received % Xferd Average Speed Time Time Time Current 14:56:01 Dload Upload Total Spent Left Speed 14:56:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1006 0 0 100 1006 0 4393 --:--:-- --:--:-- --:--:-- 4373 100 1006 0 0 100 1006 0 3353 --:--:-- --:--:-- --:--:-- 3342 14:56:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] } 14:56:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:56:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:56:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:56:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:56:02 14:56:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:56:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:56:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:56:02 188c0c94c7c5: Pulling fs layer 14:56:02 0ef7d3d256c8: Pulling fs layer 14:56:02 de9db76c5a1d: Pulling fs layer 14:56:02 0eba1c9be4d2: Pulling fs layer 14:56:02 0d57e429df01: Pulling fs layer 14:56:02 4e4be7b47b0d: Pulling fs layer 14:56:02 e1f770b5df2f: Pulling fs layer 14:56:02 85a0685a4137: Pulling fs layer 14:56:02 4e4be7b47b0d: Waiting 14:56:02 0eba1c9be4d2: Waiting 14:56:02 0d57e429df01: Waiting 14:56:02 e1f770b5df2f: Waiting 14:56:02 de9db76c5a1d: Verifying Checksum 14:56:02 de9db76c5a1d: Download complete 14:56:02 0ef7d3d256c8: Verifying Checksum 14:56:02 0ef7d3d256c8: Download complete 14:56:02 0d57e429df01: Verifying Checksum 14:56:02 0d57e429df01: Download complete 14:56:02 4e4be7b47b0d: Verifying Checksum 14:56:02 4e4be7b47b0d: Download complete 14:56:02 188c0c94c7c5: Verifying Checksum 14:56:02 188c0c94c7c5: Download complete 14:56:02 188c0c94c7c5: Pull complete 14:56:02 e1f770b5df2f: Verifying Checksum 14:56:02 e1f770b5df2f: Download complete 14:56:02 0ef7d3d256c8: Pull complete 14:56:03 de9db76c5a1d: Pull complete 14:56:03 0eba1c9be4d2: Verifying Checksum 14:56:03 0eba1c9be4d2: Download complete 14:56:03 85a0685a4137: Verifying Checksum 14:56:03 85a0685a4137: Download complete 14:56:06 0eba1c9be4d2: Pull complete 14:56:06 0d57e429df01: Pull complete 14:56:06 4e4be7b47b0d: Pull complete 14:56:07 e1f770b5df2f: Pull complete 14:56:10 85a0685a4137: Pull complete 14:56:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:56:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:56:10 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:56:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:56:12 $ docker top 5a4b36043480e95d8165e2c5e5b588c81b22070a998d1681b8d578340f7cef10 -eo pid,comm [Pipeline] { [Pipeline] echo 14:56:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:56:13 + set -o pipefail 14:56:13 + snyk monitor '--org=edgex-jenkins' 14:56:18 14:56:18 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 14:56:18 14:56:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0704d385-d3ec-41e9-ab35-6ec0fee52da4/history/9b71bf3a-7bb5-4aba-b00c-bf3f32645a93 14:56:18 14:56:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:56:18 14:56:18 [Pipeline] } 14:56:18 $ docker stop --time=1 5a4b36043480e95d8165e2c5e5b588c81b22070a998d1681b8d578340f7cef10 14:56:20 $ docker rm -f 5a4b36043480e95d8165e2c5e5b588c81b22070a998d1681b8d578340f7cef10 [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 14:56:21 + git log --format=format:%s -1 92d6f227f6d624542842fd3e1767d7dce5dd31c9 [Pipeline] sh 14:56:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:56:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:56:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:56:22 . [Pipeline] withDockerContainer 14:56:22 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:56:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:56:22 $ docker top 6ae11d1ab0a3e01c3d97fe30ae6b27a34a77b3c208e37e6cf7fc1896268a8da4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:56:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:56:22 [ssh-agent] Looking for ssh-agent implementation... 14:56:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:56:22 $ docker exec 6ae11d1ab0a3e01c3d97fe30ae6b27a34a77b3c208e37e6cf7fc1896268a8da4 ssh-agent 14:56:23 SSH_AUTH_SOCK=/tmp/ssh-ODaoYJxOz7P5/agent.33 14:56:23 SSH_AGENT_PID=39 14:56:23 Running ssh-add (command line suppressed) 14:56:23 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_608307540974224517.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_608307540974224517.key) 14:56:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:56:23 + git semver tag 14:56:23 2022-05-20 14:56:23,686 [run_tag] DEBUG tag force:False 14:56:23 2022-05-20 14:56:23,686 [check_head_tag] DEBUG check head tag 14:56:23 2022-05-20 14:56:23,686 [execute] INFO git cat-file --batch-check 14:56:23 2022-05-20 14:56:23,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 14:56:23 2022-05-20 14:56:23,689 [execute] INFO git cat-file --batch 14:56:23 2022-05-20 14:56:23,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 14:56:23 2022-05-20 14:56:23,694 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:23 2022-05-20 14:56:23,694 [execute] INFO git tag -a v0.0.1-dev.1 -m v0.0.1-dev.1 14:56:23 2022-05-20 14:56:23,694 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.1', '-m', 'v0.0.1-dev.1'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 14:56:23 2022-05-20 14:56:23,700 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:23 0.0.1-dev.1 [Pipeline] } 14:56:23 $ docker exec --env ******** --env ******** 6ae11d1ab0a3e01c3d97fe30ae6b27a34a77b3c208e37e6cf7fc1896268a8da4 ssh-agent -k 14:56:23 unset SSH_AUTH_SOCK; 14:56:23 unset SSH_AGENT_PID; 14:56:23 echo Agent pid 39 killed; 14:56:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:56:24 + git semver [Pipeline] } 14:56:24 $ docker stop --time=1 6ae11d1ab0a3e01c3d97fe30ae6b27a34a77b3c208e37e6cf7fc1896268a8da4 14:56:25 $ docker rm -f 6ae11d1ab0a3e01c3d97fe30ae6b27a34a77b3c208e37e6cf7fc1896268a8da4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:56:26 14:56:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:56:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:56:26 0.23.1-centos7: Pulling from edgex-lftools 14:56:26 ab5ef0e58194: Pulling fs layer 14:56:26 9712f1f96733: Pulling fs layer 14:56:26 63f879dbbcfc: Pulling fs layer 14:56:26 0d9ebad4ef96: Pulling fs layer 14:56:26 e9a5061849ea: Pulling fs layer 14:56:26 d747dcd14b5f: Pulling fs layer 14:56:26 2de7ff778b66: Pulling fs layer 14:56:26 d747dcd14b5f: Waiting 14:56:26 e9a5061849ea: Waiting 14:56:26 2de7ff778b66: Waiting 14:56:26 0d9ebad4ef96: Waiting 14:56:26 9712f1f96733: Verifying Checksum 14:56:26 9712f1f96733: Download complete 14:56:26 63f879dbbcfc: Verifying Checksum 14:56:26 63f879dbbcfc: Download complete 14:56:26 e9a5061849ea: Verifying Checksum 14:56:26 e9a5061849ea: Download complete 14:56:26 d747dcd14b5f: Download complete 14:56:26 0d9ebad4ef96: Verifying Checksum 14:56:26 0d9ebad4ef96: Download complete 14:56:26 ab5ef0e58194: Verifying Checksum 14:56:26 ab5ef0e58194: Download complete 14:56:26 2de7ff778b66: Download complete 14:56:29 ab5ef0e58194: Pull complete 14:56:29 9712f1f96733: Pull complete 14:56:30 63f879dbbcfc: Pull complete 14:56:34 0d9ebad4ef96: Pull complete 14:56:34 e9a5061849ea: Pull complete 14:56:34 d747dcd14b5f: Pull complete 14:56:35 2de7ff778b66: Pull complete 14:56:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:56:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:56:35 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:56:38 $ docker top 0330a2f5fe19417bf1b994c1a4de5068e9cdf566a1a33c1362a5a6ddd3deaa6b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:56:38 provisioning config files... 14:56:38 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1896616957093254440tmp 14:56:38 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1962969216807513788tmp 14:56:38 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config159761156960541687tmp [Pipeline] { [Pipeline] echo 14:56:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:56:38 ---> sigul-configuration.sh 14:56:38 gpg: directory `/root/.gnupg' created 14:56:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:56:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:56:38 gpg: keyring `/root/.gnupg/secring.gpg' created 14:56:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:56:38 gpg: CAST5 encrypted data 14:56:38 gpg: encrypted with 1 passphrase 14:56:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:56:38 + mkdir /home/jenkins 14:56:38 + mkdir /home/jenkins/sigul [Pipeline] sh 14:56:39 + 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 14:56:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:56:39 ---> sigul-install.sh 14:56:39 Sigul already installed; skipping installation. [Pipeline] sh 14:56:39 + git tag --list 14:56:39 v0.0.0 14:56:39 v0.0.1-dev.1 [Pipeline] sh 14:56:39 + lftools sign git-tag v0.0.1-dev.1 14:56:40 Signing Git tag with Sigul... 14:56:40 Signing v0.0.1-dev.1 [Pipeline] echo 14:56:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:56:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:56:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:56:41 $ docker stop --time=1 0330a2f5fe19417bf1b994c1a4de5068e9cdf566a1a33c1362a5a6ddd3deaa6b 14:56:42 $ docker rm -f 0330a2f5fe19417bf1b994c1a4de5068e9cdf566a1a33c1362a5a6ddd3deaa6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:56:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:56:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:56:43 . [Pipeline] withDockerContainer 14:56:43 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:56:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:56:43 $ docker top ae98861d6d65a7b066d6b453ae5279182db7105780530deb67218a25b0f2ef2c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:56:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:56:43 [ssh-agent] Looking for ssh-agent implementation... 14:56:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:56:43 $ docker exec ae98861d6d65a7b066d6b453ae5279182db7105780530deb67218a25b0f2ef2c ssh-agent 14:56:44 SSH_AUTH_SOCK=/tmp/ssh-NQtkpe9Vpj22/agent.34 14:56:44 SSH_AGENT_PID=40 14:56:44 Running ssh-add (command line suppressed) 14:56:44 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8660625441787153655.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8660625441787153655.key) 14:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:56:44 + git semver bump pre 14:56:44 2022-05-20 14:56:44,714 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:44 2022-05-20 14:56:44,714 [bump_version] DEBUG bumping version:0.0.1-dev.1 on axis:pre with prefix:dev 14:56:44 2022-05-20 14:56:44,714 [bump_version] DEBUG bumped version:0.0.1-dev.2 14:56:44 2022-05-20 14:56:44,714 [write_version] DEBUG write version:0.0.1-dev.2 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 14:56:44 2022-05-20 14:56:44,715 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:44 2022-05-20 14:56:44,715 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:44 2022-05-20 14:56:44,717 [execute] INFO git cat-file --batch-check 14:56:44 2022-05-20 14:56:44,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 14:56:44 2022-05-20 14:56:44,723 [execute] INFO git cat-file --batch 14:56:44 2022-05-20 14:56:44,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 14:56:44 2022-05-20 14:56:44,729 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:44 0.0.1-dev.2 [Pipeline] } 14:56:44 $ docker exec --env ******** --env ******** ae98861d6d65a7b066d6b453ae5279182db7105780530deb67218a25b0f2ef2c ssh-agent -k 14:56:44 unset SSH_AUTH_SOCK; 14:56:44 unset SSH_AGENT_PID; 14:56:44 echo Agent pid 40 killed; 14:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:56:45 + git semver [Pipeline] } 14:56:45 $ docker stop --time=1 ae98861d6d65a7b066d6b453ae5279182db7105780530deb67218a25b0f2ef2c 14:56:46 $ docker rm -f ae98861d6d65a7b066d6b453ae5279182db7105780530deb67218a25b0f2ef2c [Pipeline] // withDockerContainer [Pipeline] sh 14:56:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:56:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:56:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:56:47 . [Pipeline] withDockerContainer 14:56:47 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:56:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:56:47 $ docker top 1b0b73047085f89fb864e68a5740cb78c1562d2cfb6372cd35557796a349b430 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:56:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:56:48 [ssh-agent] Looking for ssh-agent implementation... 14:56:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:56:48 $ docker exec 1b0b73047085f89fb864e68a5740cb78c1562d2cfb6372cd35557796a349b430 ssh-agent 14:56:48 SSH_AUTH_SOCK=/tmp/ssh-swYw4azQiP3b/agent.34 14:56:48 SSH_AGENT_PID=40 14:56:48 Running ssh-add (command line suppressed) 14:56:48 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2869070193114192244.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2869070193114192244.key) 14:56:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:56:48 + git semver push 14:56:49 2022-05-20 14:56:48,942 [run_push] DEBUG push 14:56:49 2022-05-20 14:56:48,942 [execute] INFO git push origin semver 14:56:49 2022-05-20 14:56:48,942 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 14:56:49 2022-05-20 14:56:49,596 [run_push] DEBUG push all version tags 14:56:49 2022-05-20 14:56:49,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:56:49 2022-05-20 14:56:49,597 [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) 14:56:50 2022-05-20 14:56:50,242 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 14:56:50 0.0.1-dev.2 [Pipeline] } 14:56:50 $ docker exec --env ******** --env ******** 1b0b73047085f89fb864e68a5740cb78c1562d2cfb6372cd35557796a349b430 ssh-agent -k 14:56:50 unset SSH_AUTH_SOCK; 14:56:50 unset SSH_AGENT_PID; 14:56:50 echo Agent pid 40 killed; 14:56:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:56:50 + git semver [Pipeline] } 14:56:51 $ docker stop --time=1 1b0b73047085f89fb864e68a5740cb78c1562d2cfb6372cd35557796a349b430 14:56:52 $ docker rm -f 1b0b73047085f89fb864e68a5740cb78c1562d2cfb6372cd35557796a349b430 [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 14:56:53 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 14:56:53 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 14:56:53 total 16 14:56:53 drwxr-xr-x 3 root root 4096 May 20 14:47 . 14:56:53 drwxrwxr-x 10 jenkins jenkins 4096 May 20 14:56 .. 14:56:53 drwxr-xr-x 2 root root 4096 May 20 14:47 cost 14:56:53 -rw-r--r-- 1 root root 87 May 20 14:47 cost.csv 14:56:53 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 14:56:53 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 14:56:53 total 16 14:56:53 drwxr-xr-x 3 jenkins jenkins 4096 May 20 14:47 . 14:56:53 drwxrwxr-x 10 jenkins jenkins 4096 May 20 14:56 .. 14:56:53 drwxr-xr-x 2 jenkins jenkins 4096 May 20 14:47 cost 14:56:53 -rw-r--r-- 1 jenkins jenkins 87 May 20 14:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:56:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:56:54 ---> package-listing.sh 14:56:54 ++ facter osfamily 14:56:54 ++ tr '[:upper:]' '[:lower:]' 14:56:54 + OS_FAMILY=debian 14:56:54 + workspace=/w/workspace/exfoundry_device-usb-camera_main 14:56:54 + START_PACKAGES=/tmp/packages_start.txt 14:56:54 + END_PACKAGES=/tmp/packages_end.txt 14:56:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:56:54 + PACKAGES=/tmp/packages_start.txt 14:56:54 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 14:56:54 + PACKAGES=/tmp/packages_end.txt 14:56:54 + case "${OS_FAMILY}" in 14:56:54 + dpkg -l 14:56:54 + grep '^ii' 14:56:54 + '[' -f /tmp/packages_start.txt ']' 14:56:54 + '[' -f /tmp/packages_end.txt ']' 14:56:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:56:54 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 14:56:54 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 14:56:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 14:56:54 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 14:56:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:56:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:55 . [Pipeline] withDockerContainer 14:56:55 prd-ubuntu20.04-docker-8c-8g-64201 does not seem to be running inside a container 14:56:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:56:55 $ docker top af8afa78fa3fe28b1f2fd2663f5b395e1d74bd251c9986ae7cc44006a1f2370c -eo pid,comm [Pipeline] { [Pipeline] sh 14:56:56 + touch /tmp/pre-build-complete [Pipeline] sh 14:56:56 + mkdir -p /var/log/sysstat [Pipeline] sh 14:56:56 + ls /var/log/sa-host 14:56:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:56 provisioning config files... 14:56:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8822570984723532253tmp [Pipeline] { [Pipeline] echo 14:56:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:56:57 ---> create-netrc.sh [Pipeline] } 14:56:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:56:57 ---> python-tools-install.sh [Pipeline] echo 14:56:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:56:57 ---> sudo-logs.sh 14:56:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:56:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:56:58 ---> job-cost.sh 14:56:58 lf-activate-venv: SKIPPING 14:56:58 DEBUG: total: 0.2199999988079071 14:56:58 INFO: Retrieving Stack Cost... 14:56:58 INFO: Retrieving Pricing Info for: v3-standard-8 14:56:59 INFO: Archiving Costs [Pipeline] echo 14:56:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:56:59 ---> logs-deploy.sh 14:56:59 lf-activate-venv: SKIPPING 14:56:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/12 14:56:59 INFO: archiving workspace using pattern(s): 14:57:00 Archives upload complete. 14:57:00 INFO: archiving logs to Nexus