Pull request #36 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 8335b304f069749f7ac9f3572061b8c8386e1043+aaa7e572fda13da2933300a631edf8df830ba1ce (bf0cfe9d255014b1c274412055cbfbd070d7d6d6) 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-ssh12029734585627405453.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-ssh10333228235908235889.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-36/workspace@libs/edgex-global-pipelines # timeout=10 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/PR-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12872576978771446682.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8377812030319135087.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12361502030015654100.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-36/workspace@libs/lf-pipelines # timeout=10 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/PR-36/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14105851041861627370.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64471 in /w/workspace/xfoundry_device-usb-camera_PR-36 [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 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-36 # 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 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit 8335b304f069749f7ac9f3572061b8c8386e1043 Merge succeeded, producing 8335b304f069749f7ac9f3572061b8c8386e1043 Checking out Revision 8335b304f069749f7ac9f3572061b8c8386e1043 (PR-36) > 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 remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 Commit message: "fix: Update Makefile to show the version number" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:20:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:20:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:20:26 ========================================================= 10:20:26 EdgeX Global Pipelines Version Info 10:20:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:20:27 ------------------- 10:20:27 stable info: 10:20:27 ------------------- 10:20:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:20:27 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:20:27 Message: update stable to v1.0.230 10:20:28 ------------------- 10:20:28 experimental info: 10:20:28 ------------------- 10:20:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:20:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:20:28 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:20:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8335b30 [Pipeline] echo 10:20:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:29 provisioning config files... 10:20:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config6539518029634438699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:30 ---> docker-login.sh 10:20:30 nexus3.edgexfoundry.org:10001 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10002 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10003 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10004 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 docker.io 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 ---> docker-login.sh ends [Pipeline] } 10:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:20:32 + git rev-list -1 --merges 8335b304f069749f7ac9f3572061b8c8386e1043~1..8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo 10:20:32 -----------> git rev-list -1 --merges 8335b304f069749f7ac9f3572061b8c8386e1043~1..8335b304f069749f7ac9f3572061b8c8386e1043 8335b304f069749f7ac9f3572061b8c8386e1043 [false] [Pipeline] sh 10:20:32 + git log --format=format:%s -1 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo 10:20:33 ========================================================= 10:20:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:20:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:33 + git log --format=format:%s -1 8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] echo 10:20:33 [semverPrep] GIT_COMMIT: 8335b304f069749f7ac9f3572061b8c8386e1043, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo 10:20:33 [semverPrep] This is not a build commit. [Pipeline] sh 10:20:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:33 + grep -v github /etc/ssh/ssh_known_hosts 10:20:33 + [ -e /tmp/ssh_known_hosts ] 10:20:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:20:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:20:33 + sudo tee -a /etc/ssh/ssh_known_hosts 10:20:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:20:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:20:34 10:20:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:20:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:20:35 latest: Pulling from edgex-devops/py-git-semver 10:20:35 1fe172e4850f: Pulling fs layer 10:20:35 caf521ccaac6: Pulling fs layer 10:20:35 3ead6fa29328: Pulling fs layer 10:20:35 5c2a1cbceb83: Pulling fs layer 10:20:35 a8d5f1318db7: Pulling fs layer 10:20:35 c427282e49a2: Pulling fs layer 10:20:35 a8d5f1318db7: Waiting 10:20:35 5c2a1cbceb83: Waiting 10:20:35 1827001aaf11: Pulling fs layer 10:20:35 0714d37db230: Pulling fs layer 10:20:35 c427282e49a2: Waiting 10:20:35 1827001aaf11: Waiting 10:20:35 0714d37db230: Waiting 10:20:35 ac28cf19c067: Pulling fs layer 10:20:35 ca983d60f3e2: Pulling fs layer 10:20:35 ac28cf19c067: Waiting 10:20:35 9f894cec8388: Pulling fs layer 10:20:35 ca983d60f3e2: Waiting 10:20:35 9f894cec8388: Waiting 10:20:35 caf521ccaac6: Verifying Checksum 10:20:35 caf521ccaac6: Download complete 10:20:35 5c2a1cbceb83: Verifying Checksum 10:20:35 5c2a1cbceb83: Download complete 10:20:35 3ead6fa29328: Verifying Checksum 10:20:35 3ead6fa29328: Download complete 10:20:35 a8d5f1318db7: Verifying Checksum 10:20:35 a8d5f1318db7: Download complete 10:20:35 c427282e49a2: Verifying Checksum 10:20:35 c427282e49a2: Download complete 10:20:35 0714d37db230: Download complete 10:20:35 ac28cf19c067: Verifying Checksum 10:20:35 ac28cf19c067: Download complete 10:20:35 ca983d60f3e2: Verifying Checksum 10:20:35 ca983d60f3e2: Download complete 10:20:35 9f894cec8388: Verifying Checksum 10:20:35 9f894cec8388: Download complete 10:20:35 1fe172e4850f: Download complete 10:20:35 1827001aaf11: Verifying Checksum 10:20:35 1827001aaf11: Download complete 10:20:36 1fe172e4850f: Pull complete 10:20:37 caf521ccaac6: Pull complete 10:20:37 3ead6fa29328: Pull complete 10:20:37 5c2a1cbceb83: Pull complete 10:20:38 a8d5f1318db7: Pull complete 10:20:38 c427282e49a2: Pull complete 10:20:40 1827001aaf11: Pull complete 10:20:40 0714d37db230: Pull complete 10:20:40 ac28cf19c067: Pull complete 10:20:40 ca983d60f3e2: Pull complete 10:20:41 9f894cec8388: Pull complete 10:20:41 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:20:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:20:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:20:41 prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container 10:20:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:20:44 $ docker top 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc -eo pid,comm 10:20:44 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). 10:20:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:44 [ssh-agent] Looking for ssh-agent implementation... 10:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:45 $ docker exec 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent 10:20:45 SSH_AUTH_SOCK=/tmp/ssh-fweuFQvjOJwe/agent.23 10:20:45 SSH_AGENT_PID=41 10:20:45 Running ssh-add (command line suppressed) 10:20:45 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_986712671979116355.key (/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_986712671979116355.key) 10:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:45 + git tag --points-at HEAD [Pipeline] } 10:20:45 $ docker exec --env ******** --env ******** 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent -k 10:20:45 unset SSH_AUTH_SOCK; 10:20:45 unset SSH_AGENT_PID; 10:20:45 echo Agent pid 41 killed; 10:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:20:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:46 [ssh-agent] Looking for ssh-agent implementation... 10:20:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:46 $ docker exec 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent 10:20:46 SSH_AUTH_SOCK=/tmp/ssh-kU19VB3DVw90/agent.74 10:20:46 SSH_AGENT_PID=80 10:20:46 Running ssh-add (command line suppressed) 10:20:46 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_7100503517175033947.key (/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/private_key_7100503517175033947.key) 10:20:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:46 + git semver init 10:20:47 2022-05-24 10:20:47,070 [run_init] DEBUG init version:0.0.0 force:False 10:20:47 2022-05-24 10:20:47,070 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver 10:20:47 2022-05-24 10:20:47,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-36/.semver 10:20:47 2022-05-24 10:20:47,071 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-36/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36, universal_newlines=False, shell=None, istream=None) 10:20:47 2022-05-24 10:20:47,685 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-36/.git/info/exclude 10:20:47 2022-05-24 10:20:47,686 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 with force:False 10:20:47 2022-05-24 10:20:47,686 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 10:20:47 2022-05-24 10:20:47,690 [execute] INFO git cat-file --batch-check 10:20:47 2022-05-24 10:20:47,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36/.semver, universal_newlines=False, shell=None, istream=) 10:20:47 2022-05-24 10:20:47,698 [execute] INFO git cat-file --batch 10:20:47 2022-05-24 10:20:47,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-36/.semver, universal_newlines=False, shell=None, istream=) 10:20:47 2022-05-24 10:20:47,703 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-36/.semver/PR-36 10:20:47 0.0.0 [Pipeline] } 10:20:47 $ docker exec --env ******** --env ******** 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc ssh-agent -k 10:20:48 unset SSH_AUTH_SOCK; 10:20:48 unset SSH_AGENT_PID; 10:20:48 echo Agent pid 80 killed; 10:20:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:48 + git semver [Pipeline] } 10:20:48 $ docker stop --time=1 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc 10:20:50 $ docker rm -f 88b2366d498a63bcaa12b6c4388068e67fa414bdde15f184ce212d7f5055b3fc [Pipeline] // withDockerContainer [Pipeline] sh 10:20:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:20:51 Stashed 1 file(s) [Pipeline] echo 10:20:51 [edgeXSemver]: initialized semver on version 0.0.0 [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 10:20:51 provisioning config files... 10:20:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config8789703374174805181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:52 ---> docker-login.sh 10:20:52 nexus3.edgexfoundry.org:10001 10:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:52 Configure a credential helper to remove this warning. See 10:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:52 10:20:52 Login Succeeded 10:20:52 nexus3.edgexfoundry.org:10002 10:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:52 Configure a credential helper to remove this warning. See 10:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:52 10:20:52 Login Succeeded 10:20:52 nexus3.edgexfoundry.org:10003 10:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:52 Configure a credential helper to remove this warning. See 10:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:52 10:20:52 Login Succeeded 10:20:52 nexus3.edgexfoundry.org:10004 10:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:52 Configure a credential helper to remove this warning. See 10:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:52 10:20:52 Login Succeeded 10:20:52 docker.io 10:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:52 Configure a credential helper to remove this warning. See 10:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:52 10:20:52 Login Succeeded 10:20:52 ---> docker-login.sh ends [Pipeline] } 10:20:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:53 ========================================================= 10:20:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:20:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:20:53 + 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 . 10:20:53 Sending build context to Docker daemon 586.2kB 10:20:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:20:53 Step 2/12 : FROM ${BASE} AS builder 10:20:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:20:53 59bf1c3509f3: Pulling fs layer 10:20:53 666ba61612fd: Pulling fs layer 10:20:53 8ed8ca486205: Pulling fs layer 10:20:53 4fe6c5a15a65: Pulling fs layer 10:20:53 22a0e8bec74d: Pulling fs layer 10:20:53 ca2b28591e48: Pulling fs layer 10:20:53 a51346096db8: Pulling fs layer 10:20:53 daebc70d1ce1: Pulling fs layer 10:20:53 0e18a0eac166: Pulling fs layer 10:20:53 ca2b28591e48: Waiting 10:20:53 a51346096db8: Waiting 10:20:53 22a0e8bec74d: Waiting 10:20:53 daebc70d1ce1: Waiting 10:20:53 0e18a0eac166: Waiting 10:20:53 4fe6c5a15a65: Waiting 10:20:53 8ed8ca486205: Download complete 10:20:53 666ba61612fd: Download complete 10:20:53 22a0e8bec74d: Download complete 10:20:53 59bf1c3509f3: Download complete 10:20:53 a51346096db8: Verifying Checksum 10:20:53 a51346096db8: Download complete 10:20:53 ca2b28591e48: Verifying Checksum 10:20:53 ca2b28591e48: Download complete 10:20:54 daebc70d1ce1: Verifying Checksum 10:20:54 daebc70d1ce1: Download complete 10:20:54 59bf1c3509f3: Pull complete 10:20:54 666ba61612fd: Pull complete 10:20:54 8ed8ca486205: Pull complete 10:20:54 0e18a0eac166: Verifying Checksum 10:20:54 0e18a0eac166: Download complete 10:20:54 4fe6c5a15a65: Verifying Checksum 10:20:54 4fe6c5a15a65: Download complete 10:20:59 4fe6c5a15a65: Pull complete 10:20:59 22a0e8bec74d: Pull complete 10:20:59 ca2b28591e48: Pull complete 10:20:59 a51346096db8: Pull complete 10:20:59 daebc70d1ce1: Pull complete 10:21:02 0e18a0eac166: Pull complete 10:21:02 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:21:02 ---> f018257e8ee9 10:21:02 Step 3/12 : ARG MAKE="make build" 10:21:06 Still waiting to schedule task 10:21:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:21:08 ---> Running in fd0f85f83b32 10:21:08 Removing intermediate container fd0f85f83b32 10:21:08 ---> 49d3103f81d3 10:21:08 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:21:09 ---> Running in a6f8e6551fdf 10:21:09 Removing intermediate container a6f8e6551fdf 10:21:09 ---> fcf5d7ed93b2 10:21:09 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:21:10 ---> Running in 0ccb0e5a6052 10:21:11 Removing intermediate container 0ccb0e5a6052 10:21:11 ---> d70697dba695 10:21:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:11 ---> Running in cf1377a793ee 10:21:12 Removing intermediate container cf1377a793ee 10:21:12 ---> c3b9c4e36007 10:21:12 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:21:12 ---> Running in 263b46d07292 10:21:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:21:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:21:14 (1/81) Installing mesa (21.2.6-r0) 10:21:14 (2/81) Installing libxau (1.0.9-r0) 10:21:14 (3/81) Installing libmd (1.0.3-r0) 10:21:14 (4/81) Installing libbsd (0.11.3-r1) 10:21:14 (5/81) Installing libxdmcp (1.1.3-r0) 10:21:14 (6/81) Installing libxcb (1.14-r2) 10:21:14 (7/81) Installing libx11 (1.7.2-r0) 10:21:15 (8/81) Installing libxext (1.3.4-r0) 10:21:15 (9/81) Installing libxfixes (6.0.0-r0) 10:21:15 (10/81) Installing libxxf86vm (1.1.4-r2) 10:21:15 (11/81) Installing libpciaccess (0.16-r0) 10:21:15 (12/81) Installing libdrm (2.4.109-r0) 10:21:15 (13/81) Installing mesa-glapi (21.2.6-r0) 10:21:15 (14/81) Installing libxshmfence (1.3-r1) 10:21:15 (15/81) Installing mesa-gl (21.2.6-r0) 10:21:15 (16/81) Installing libice (1.0.10-r0) 10:21:15 (17/81) Installing libuuid (2.37.4-r0) 10:21:15 (18/81) Installing libsm (1.2.3-r0) 10:21:15 (19/81) Installing libxt (1.2.1-r0) 10:21:16 (20/81) Installing libxmu (1.1.3-r0) 10:21:16 (21/81) Installing xset (1.2.4-r0) 10:21:16 (22/81) Installing xprop (1.2.5-r0) 10:21:16 (23/81) Installing xdg-utils (1.1.3-r0) 10:21:16 (24/81) Installing dbus-libs (1.12.20-r4) 10:21:16 (25/81) Installing libffi (3.4.2-r1) 10:21:16 (26/81) Installing libintl (0.21-r0) 10:21:16 (27/81) Installing libblkid (2.37.4-r0) 10:21:16 (28/81) Installing libmount (2.37.4-r0) 10:21:16 (29/81) Installing pcre (8.45-r1) 10:21:16 (30/81) Installing glib (2.70.1-r0) 10:21:16 (31/81) Installing icu-libs (69.1-r1) 10:21:17 (32/81) Installing libpcre2-16 (10.39-r0) 10:21:17 (33/81) Installing zstd-libs (1.5.0-r0) 10:21:17 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 10:21:18 (35/81) Installing hicolor-icon-theme (0.17-r1) 10:21:18 (36/81) Installing wayland-libs-server (1.19.0-r1) 10:21:18 (37/81) Installing mesa-gbm (21.2.6-r0) 10:21:18 (38/81) Installing wayland-libs-client (1.19.0-r1) 10:21:18 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 10:21:20 (40/81) Installing libxcomposite (0.4.5-r0) 10:21:20 (41/81) Installing libbz2 (1.0.8-r1) 10:21:20 (42/81) Installing libpng (1.6.37-r1) 10:21:20 (43/81) Installing freetype (2.11.1-r2) 10:21:20 (44/81) Installing fontconfig (2.13.1-r4) 10:21:20 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 10:21:20 (46/81) Installing wayland-libs-egl (1.19.0-r1) 10:21:20 (47/81) Installing xkeyboard-config (2.34-r0) 10:21:20 (48/81) Installing xz-libs (5.2.5-r1) 10:21:20 (49/81) Installing libxml2 (2.9.14-r0) 10:21:20 (50/81) Installing libxkbcommon (1.3.1-r0) 10:21:20 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 10:21:21 (52/81) Installing mesa-egl (21.2.6-r0) 10:21:21 (53/81) Installing avahi-libs (0.8-r5) 10:21:21 (54/81) Installing nettle (3.7.3-r0) 10:21:21 (55/81) Installing p11-kit (0.24.0-r1) 10:21:21 (56/81) Installing libtasn1 (4.18.0-r0) 10:21:21 (57/81) Installing libunistring (0.9.10-r1) 10:21:21 (58/81) Installing gnutls (3.7.1-r0) 10:21:21 (59/81) Installing cups-libs (2.3.3-r5) 10:21:21 (60/81) Installing graphite2 (1.3.14-r0) 10:21:22 (61/81) Installing harfbuzz (3.0.0-r2) 10:21:22 (62/81) Installing libevdev (1.12.0-r0) 10:21:22 (63/81) Installing mtdev (1.1.6-r0) 10:21:22 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 10:21:22 (65/81) Installing libinput-libs (1.19.4-r0) 10:21:22 (66/81) Installing libjpeg-turbo (2.1.2-r0) 10:21:22 (67/81) Installing xcb-util-wm (0.4.1-r1) 10:21:22 (68/81) Installing xcb-util (0.4.0-r3) 10:21:22 (69/81) Installing xcb-util-image (0.4.0-r1) 10:21:22 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 10:21:22 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 10:21:22 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 10:21:23 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 10:21:23 (74/81) Installing v4l-utils-libs (1.22.1-r1) 10:21:23 (75/81) Installing v4l-utils (1.22.1-r1) 10:21:23 (76/81) Installing udev-init-scripts (35-r0) 10:21:23 Executing udev-init-scripts-35-r0.post-install 10:21:23 (77/81) Installing kmod-libs (29-r2) 10:21:23 (78/81) Installing eudev (3.2.11_pre1-r0) 10:21:23 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 10:21:24 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 10:21:24 (81/81) Installing v4l-utils-dev (1.22.1-r1) 10:21:24 Executing busybox-1.34.1-r3.trigger 10:21:24 Executing eudev-3.2.11_pre1-r0.trigger 10:21:24 OK: 335 MiB in 133 packages 10:21:29 Removing intermediate container 263b46d07292 10:21:29 ---> c655a2e7e492 10:21:29 Step 8/12 : WORKDIR /device-usb-camera 10:21:29 ---> Running in 582e3c29e5e2 10:21:30 Removing intermediate container 582e3c29e5e2 10:21:30 ---> 867aab6a4aab 10:21:30 Step 9/12 : COPY go.mod vendor* ./ 10:21:30 ---> da17ea341f25 10:21:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:21:31 ---> Running in 635de4b2fff5 10:22:04 Removing intermediate container 635de4b2fff5 10:22:04 ---> c1d1828fa2f8 10:22:04 Step 11/12 : COPY . . 10:22:04 ---> 0e2f81865df8 10:22:04 Step 12/12 : RUN ${MAKE} 10:22:04 ---> Running in ac7f275e2f76 10:22:04 noop 10:22:04 Removing intermediate container ac7f275e2f76 10:22:04 ---> fd38576487fd 10:22:04 Successfully built fd38576487fd 10:22:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:22:04 + docker inspect -f . ci-base-image-x86_64 10:22:04 . [Pipeline] withDockerContainer 10:22:04 prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container 10:22:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:05 $ docker top 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:05 + go version 10:22:05 go version go1.17.6 linux/amd64 [Pipeline] } 10:22:05 $ docker stop --time=1 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 10:22:07 $ docker rm -f 72ade4eb92778fbf2ad05a6563682e1b705b4aee7c86c89c62780541fd486ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:22:08 + docker inspect -f . ci-base-image-x86_64 10:22:08 . [Pipeline] withDockerContainer 10:22:08 prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container 10:22:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:09 $ docker top b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:22:09 + make test 10:22:09 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 10:22:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:22:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:22:21 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 10:22:27 CGO_ENABLED=1 go vet ./... 10:22:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:22:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:22:31 ./bin/test-attribution-txt.sh [Pipeline] echo 10:22:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:22:31 $ docker stop --time=1 b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 10:22:34 $ docker rm -f b1ccf878968ff30ec8cc19189c743ecd03af2cadac9706c8e02ee1519eff7a38 [Pipeline] // withDockerContainer [Pipeline] sh 10:22:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:22:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:22:36 + ls -al . 10:22:36 total 164 10:22:36 drwxrwxr-x 9 jenkins jenkins 4096 May 24 10:22 . 10:22:36 drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:20 .. 10:22:36 drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:20 .git 10:22:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 .github 10:22:36 -rw-rw-r-- 1 jenkins jenkins 349 May 24 10:20 .gitignore 10:22:36 -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:20 .golangci.yml 10:22:36 -rw-rw-r-- 1 jenkins jenkins 77 May 24 10:20 .hadolint.yml 10:22:36 drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:20 .semver 10:22:36 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 10:20 Attribution.txt 10:22:36 -rw-rw-r-- 1 jenkins jenkins 181 May 24 10:20 CHANGELOG.md 10:22:36 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 10:20 Dockerfile 10:22:36 -rw-rw-r-- 1 jenkins jenkins 678 May 24 10:20 GOVERNANCE.md 10:22:36 -rw-rw-r-- 1 jenkins jenkins 659 May 24 10:20 Jenkinsfile 10:22:36 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 10:20 LICENSE 10:22:36 -rw-rw-r-- 1 jenkins jenkins 2345 May 24 10:20 Makefile 10:22:36 -rw-rw-r-- 1 jenkins jenkins 622 May 24 10:20 OWNERS.md 10:22:36 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 10:20 README.md 10:22:36 -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:20 VERSION 10:22:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 bin 10:22:36 drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:20 cmd 10:22:36 -rw-r--r-- 1 jenkins jenkins 10 May 24 10:22 coverage.out 10:22:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:20 docker-compose 10:22:36 -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:20 docker-entrypoint.sh 10:22:36 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 10:20 go.mod 10:22:36 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 10:20 go.sum 10:22:36 drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:20 internal 10:22:36 -rw-rw-r-- 1 jenkins jenkins 231 May 24 10:20 version.go [Pipeline] isUnix [Pipeline] sh 10:22:36 + 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=8335b304f069749f7ac9f3572061b8c8386e1043 --label arch=amd64 --label version=0.0.0 . 10:22:36 Sending build context to Docker daemon 587.3kB 10:22:36 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 10:22:36 Step 2/29 : FROM ${BASE} AS builder 10:22:36 ---> fd38576487fd 10:22:36 Step 3/29 : ARG MAKE="make build" 10:22:37 ---> Running in fc5072cbf5a9 10:22:37 Removing intermediate container fc5072cbf5a9 10:22:37 ---> 0b8f590db06d 10:22:37 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:22:37 ---> Running in 43d0a31e0774 10:22:37 Removing intermediate container 43d0a31e0774 10:22:37 ---> fb93f2b88d34 10:22:37 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:22:37 ---> Running in 4f286a54fce8 10:22:38 Removing intermediate container 4f286a54fce8 10:22:38 ---> ef554ca9d3c4 10:22:38 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:22:38 ---> Running in 74ad4a12577d 10:22:38 Removing intermediate container 74ad4a12577d 10:22:38 ---> 6c688a9d9cbe 10:22:38 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:38 ---> Running in 64bdf6006dd1 10:22:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64472 in /w/workspace/xfoundry_device-usb-camera_PR-36 [Pipeline] { [Pipeline] ws 10:22:39 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 10:22:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:22:39 Selected Git installation does not exist. Using Default 10:22:39 The recommended git tool is: NONE 10:22:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:22:40 OK: 335 MiB in 133 packages 10:22:40 Removing intermediate container 64bdf6006dd1 10:22:40 ---> 1f1f2571b966 10:22:40 Step 8/29 : WORKDIR /device-usb-camera 10:22:40 ---> Running in 2db9fe599e40 10:22:40 Removing intermediate container 2db9fe599e40 10:22:40 ---> 2ae5362823ab 10:22:40 Step 9/29 : COPY go.mod vendor* ./ 10:22:41 ---> aca24c9babed 10:22:41 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:41 ---> Running in c297c1847c1c 10:22:42 Removing intermediate container c297c1847c1c 10:22:42 ---> e4c6acc7795a 10:22:42 Step 11/29 : COPY . . 10:22:42 ---> 320ae9bb4e52 10:22:42 Step 12/29 : RUN ${MAKE} 10:22:42 ---> Running in 871cade4e5dc 10:22:42 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 10:22:44 using credential edgex-jenkins-ssh 10:22:44 Cloning the remote Git repository 10:22:44 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 10:22:44 > git init /w/workspace/device-usb-camera/1 # timeout=10 10:22:44 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:22:44 > git --version # timeout=10 10:22:44 > git --version # 'git version 2.25.1' 10:22:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:22:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:45 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:22:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:22:45 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:22:45 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit 8335b304f069749f7ac9f3572061b8c8386e1043 10:22:46 Merge succeeded, producing 8335b304f069749f7ac9f3572061b8c8386e1043 10:22:46 Checking out Revision 8335b304f069749f7ac9f3572061b8c8386e1043 (PR-36) 10:22:45 > git config core.sparsecheckout # timeout=10 10:22:45 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 10:22:45 > git remote # timeout=10 10:22:45 > git config --get remote.origin.url # timeout=10 10:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:46 > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 10:22:46 > git rev-parse HEAD^{commit} # timeout=10 10:22:46 > git config core.sparsecheckout # timeout=10 10:22:46 > git checkout -f 8335b304f069749f7ac9f3572061b8c8386e1043 # timeout=10 10:22:50 Commit message: "fix: Update Makefile to show the version number" 10:22:50 > git --version # timeout=10 10:22:50 > git --version # 'git version 2.25.1' 10:22:50 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 10:22:51 Dload Upload Total Spent Left Speed 10:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50632 0 --:--:-- --:--:-- --:--:-- 50632 [Pipeline] sh 10:22:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:22:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:22:52 + sudo tee /etc/docker/daemon.new 10:22:52 { 10:22:52 "registry-mirrors": [ 10:22:52 "https://nexus3.edgexfoundry.org:10001" 10:22:52 ], 10:22:52 "bip": "10.250.0.254/24", 10:22:52 "hosts": [ 10:22:52 "tcp://0.0.0.0:5555", 10:22:52 "unix:///var/run/docker.sock" 10:22:52 ], 10:22:52 "mtu": 1458, 10:22:52 "selinux-enabled": true, 10:22:52 "seccomp-profile": "/etc/docker/seccomp.json" 10:22:52 } [Pipeline] sh 10:22:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:22:53 + sudo service docker restart 10:23:09 Removing intermediate container 871cade4e5dc 10:23:09 ---> fe0062be4cd5 10:23:09 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 10:23:09 v0.18.4: Pulling from aler9/rtsp-simple-server 10:23:09 af6660deedbd: Pulling fs layer 10:23:09 97cd0a44c592: Pulling fs layer 10:23:09 97cd0a44c592: Verifying Checksum 10:23:09 97cd0a44c592: Download complete 10:23:09 af6660deedbd: Verifying Checksum 10:23:09 af6660deedbd: Download complete 10:23:09 af6660deedbd: Pull complete 10:23:09 97cd0a44c592: Pull complete 10:23:09 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 10:23:09 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 10:23:09 ---> fea57e182299 10:23:09 Step 14/29 : FROM alpine:3.15 10:23:09 3.15: Pulling from library/alpine 10:23:09 df9b9388f04a: Pulling fs layer 10:23:09 df9b9388f04a: Verifying Checksum 10:23:09 df9b9388f04a: Download complete 10:23:09 df9b9388f04a: Pull complete 10:23:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:23:09 Status: Downloaded newer image for alpine:3.15 10:23:09 ---> 0ac33e5f5afa 10:23:09 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:23:09 ---> Running in c07f7122939d 10:23:09 Removing intermediate container c07f7122939d 10:23:09 ---> 9ff771085bc2 10:23:09 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 10:23:09 ---> Running in e1ba96aa0147 10:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:09 (1/74) Installing dumb-init (1.2.5-r1) 10:23:09 (2/74) Installing sdl2 (2.0.16-r4) 10:23:09 (3/74) Installing libxau (1.0.9-r0) 10:23:09 (4/74) Installing libmd (1.0.3-r0) 10:23:09 (5/74) Installing libbsd (0.11.3-r1) 10:23:09 (6/74) Installing libxdmcp (1.1.3-r0) 10:23:09 (7/74) Installing libxcb (1.14-r2) 10:23:09 (8/74) Installing libx11 (1.7.2-r0) 10:23:09 (9/74) Installing aom-libs (3.2.0-r0) 10:23:09 (10/74) Installing alsa-lib (1.2.5.1-r1) 10:23:09 (11/74) Installing expat (2.4.7-r0) 10:23:09 (12/74) Installing brotli-libs (1.0.9-r5) 10:23:09 (13/74) Installing libbz2 (1.0.8-r1) 10:23:09 (14/74) Installing libpng (1.6.37-r1) 10:23:09 (15/74) Installing freetype (2.11.1-r2) 10:23:09 (16/74) Installing libuuid (2.37.4-r0) 10:23:09 (17/74) Installing fontconfig (2.13.1-r4) 10:23:09 (18/74) Installing fribidi (1.0.11-r0) 10:23:09 (19/74) Installing libffi (3.4.2-r1) 10:23:09 (20/74) Installing libintl (0.21-r0) 10:23:09 (21/74) Installing libblkid (2.37.4-r0) 10:23:09 (22/74) Installing libmount (2.37.4-r0) 10:23:10 (23/74) Installing pcre (8.45-r1) 10:23:10 (24/74) Installing glib (2.70.1-r0) 10:23:10 (25/74) Installing graphite2 (1.3.14-r0) 10:23:10 (26/74) Installing harfbuzz (3.0.0-r2) 10:23:10 (27/74) Installing libass (0.15.2-r0) 10:23:10 (28/74) Installing libdav1d (0.9.2-r0) 10:23:10 (29/74) Installing gmp (6.2.1-r1) 10:23:10 (30/74) Installing nettle (3.7.3-r0) 10:23:10 (31/74) Installing p11-kit (0.24.0-r1) 10:23:10 (32/74) Installing libtasn1 (4.18.0-r0) 10:23:10 (33/74) Installing libunistring (0.9.10-r1) 10:23:10 (34/74) Installing gnutls (3.7.1-r0) 10:23:10 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 10:23:10 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 10:23:10 (37/74) Installing lame (3.100-r0) 10:23:10 (38/74) Installing opus (1.3.1-r1) 10:23:10 (39/74) Installing libgomp (10.3.1_git20211027-r0) 10:23:10 (40/74) Installing soxr (0.1.3-r2) 10:23:10 (41/74) Installing libgcc (10.3.1_git20211027-r0) 10:23:10 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 10:23:10 (43/74) Installing libsrt (1.4.2-r1) 10:23:10 (44/74) Installing libssh (0.9.6-r1) 10:23:10 (45/74) Installing libogg (1.3.5-r0) 10:23:10 (46/74) Installing libtheora (1.1.1-r16) 10:23:10 (47/74) Installing libjpeg-turbo (2.1.2-r0) 10:23:10 (48/74) Installing v4l-utils-libs (1.22.1-r1) 10:23:10 (49/74) Installing libxext (1.3.4-r0) 10:23:10 (50/74) Installing libxfixes (6.0.0-r0) 10:23:10 (51/74) Installing libpciaccess (0.16-r0) 10:23:10 (52/74) Installing libdrm (2.4.109-r0) 10:23:10 (53/74) Installing wayland-libs-client (1.19.0-r1) 10:23:10 (54/74) Installing libva (2.13.0-r0) 10:23:10 (55/74) Installing libvdpau (1.4-r0) 10:23:10 (56/74) Installing vidstab (1.1.0-r1) 10:23:10 (57/74) Installing libvorbis (1.3.7-r0) 10:23:10 (58/74) Installing libvpx (1.10.0-r0) 10:23:10 (59/74) Installing vulkan-loader (1.2.196-r0) 10:23:10 (60/74) Installing libwebp (1.2.2-r0) 10:23:10 (61/74) Installing x264-libs (20210613-r0) 10:23:10 (62/74) Installing x265-libs (3.5-r0) 10:23:10 (63/74) Installing xvidcore (1.3.7-r1) 10:23:10 (64/74) Installing ffmpeg-libs (4.4.1-r2) 10:23:10 (65/74) Installing ffmpeg (4.4.1-r2) 10:23:10 (66/74) Installing udev-init-scripts (35-r0) 10:23:10 Executing udev-init-scripts-35-r0.post-install 10:23:10 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 10:23:10 (68/74) Installing xz-libs (5.2.5-r1) 10:23:10 (69/74) Installing zstd-libs (1.5.0-r0) 10:23:10 (70/74) Installing kmod-libs (29-r2) 10:23:10 (71/74) Installing eudev (3.2.11_pre1-r0) 10:23:10 (72/74) Installing libsodium (1.0.18-r0) 10:23:10 (73/74) Installing libzmq (4.3.4-r0) 10:23:10 (74/74) Installing zeromq (4.3.4-r0) 10:23:10 Executing busybox-1.34.1-r5.trigger 10:23:10 Executing eudev-3.2.11_pre1-r0.trigger 10:23:10 OK: 78 MiB in 88 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:11 provisioning config files... 10:23:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config1706834394616833308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:11 ---> docker-login.sh 10:23:11 nexus3.edgexfoundry.org:10001 10:23:12 Removing intermediate container e1ba96aa0147 10:23:12 ---> 771a12109fdf 10:23:12 Step 17/29 : WORKDIR / 10:23:12 ---> Running in 3dc05a916951 10:23:12 Removing intermediate container 3dc05a916951 10:23:12 ---> e7797f27635c 10:23:12 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 10:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:12 Configure a credential helper to remove this warning. See 10:23:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:12 10:23:12 Login Succeeded 10:23:12 nexus3.edgexfoundry.org:10002 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:13 nexus3.edgexfoundry.org:10003 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:13 nexus3.edgexfoundry.org:10004 10:23:13 ---> 092892fe2f5d 10:23:13 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 10:23:13 ---> 9d94aa9e6f83 10:23:13 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:23:13 ---> baf10e0c050a 10:23:13 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:14 ---> 5e8dbc9208fd 10:23:14 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 10:23:14 docker.io 10:23:14 ---> 3ef4f33182e5 10:23:14 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 10:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:14 ---> 7c621be46779 10:23:14 Step 24/29 : EXPOSE 59983 10:23:14 ---> Running in c687d5cf1aa8 10:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:14 Configure a credential helper to remove this warning. See 10:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:14 10:23:14 Login Succeeded 10:23:14 ---> docker-login.sh ends [Pipeline] } 10:23:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 10:23:14 Removing intermediate container c687d5cf1aa8 10:23:14 ---> 21387ac74045 10:23:14 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:23:14 ---> Running in b7d7f48bcc8e 10:23:14 Removing intermediate container b7d7f48bcc8e 10:23:14 ---> e622a6d39e5c 10:23:14 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [Pipeline] echo 10:23:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:23:15 ========================================================= 10:23:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:23:15 ========================================================= 10:23:15 ---> Running in 956de1f5d2bd 10:23:15 Removing intermediate container 956de1f5d2bd 10:23:15 ---> 3d9357ec0511 10:23:15 Step 27/29 : LABEL arch=amd64 10:23:15 ---> Running in 50439eb07245 [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:23:15 Removing intermediate container 50439eb07245 10:23:15 ---> 6bd16456325c 10:23:15 Step 28/29 : LABEL git_sha=8335b304f069749f7ac9f3572061b8c8386e1043 10:23:15 ---> Running in c85b95a6c0e5 10:23:15 Removing intermediate container c85b95a6c0e5 10:23:15 ---> 81c06b8d4afa 10:23:15 Step 29/29 : LABEL version=0.0.0 10:23:15 + 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 . 10:23:15 ---> Running in 1ac21c00d83b 10:23:15 Removing intermediate container 1ac21c00d83b 10:23:15 ---> 79961d525d88 10:23:15 [Warning] One or more build-args [ARCH] were not consumed 10:23:15 Successfully built 79961d525d88 10:23:15 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 10:23:16 Sending build context to Docker daemon 398.3kB 10:23:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:23:16 Step 2/12 : FROM ${BASE} AS builder [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix 10:23:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:23:16 9b3977197b4f: Pulling fs layer 10:23:16 1a89e8eeedd5: Pulling fs layer 10:23:16 94645a83ff95: Pulling fs layer 10:23:16 3f3a8bcf1eab: Pulling fs layer 10:23:16 0c92f367c5e7: Pulling fs layer 10:23:16 3096ccb668a1: Pulling fs layer 10:23:16 e8cf19c19ddd: Pulling fs layer 10:23:16 a4caa8a26152: Pulling fs layer 10:23:16 3f3a8bcf1eab: Waiting 10:23:16 0c92f367c5e7: Waiting 10:23:16 3096ccb668a1: Waiting 10:23:16 e8cf19c19ddd: Waiting 10:23:16 a4caa8a26152: Waiting 10:23:16 94645a83ff95: Verifying Checksum 10:23:16 94645a83ff95: Download complete 10:23:16 1a89e8eeedd5: Verifying Checksum 10:23:16 1a89e8eeedd5: Download complete 10:23:16 0c92f367c5e7: Verifying Checksum 10:23:16 0c92f367c5e7: Download complete 10:23:16 9b3977197b4f: Verifying Checksum 10:23:16 9b3977197b4f: Download complete 10:23:16 3096ccb668a1: Verifying Checksum 10:23:16 3096ccb668a1: Download complete 10:23:16 e8cf19c19ddd: Verifying Checksum 10:23:16 e8cf19c19ddd: Download complete [Pipeline] sh 10:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:16 10:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:23:16 9b3977197b4f: Pull complete 10:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:16 latest: Pulling from edgex-lftools-log-publisher 10:23:16 5eb5b503b376: Pulling fs layer 10:23:16 5c69ac0246d0: Pulling fs layer 10:23:16 ec43610c2a17: Pulling fs layer 10:23:16 3a2ae6a8a46f: Pulling fs layer 10:23:16 33b1e0a273af: Pulling fs layer 10:23:16 5d3b04190fa2: Pulling fs layer 10:23:16 2f39f015ded8: Pulling fs layer 10:23:16 3a2ae6a8a46f: Waiting 10:23:16 33b1e0a273af: Waiting 10:23:16 5d3b04190fa2: Waiting 10:23:16 2f39f015ded8: Waiting 10:23:16 5c69ac0246d0: Verifying Checksum 10:23:16 5c69ac0246d0: Download complete 10:23:16 3a2ae6a8a46f: Download complete 10:23:16 33b1e0a273af: Verifying Checksum 10:23:16 33b1e0a273af: Download complete 10:23:16 ec43610c2a17: Verifying Checksum 10:23:16 ec43610c2a17: Download complete 10:23:16 5d3b04190fa2: Verifying Checksum 10:23:17 5eb5b503b376: Verifying Checksum 10:23:17 5eb5b503b376: Download complete 10:23:17 1a89e8eeedd5: Pull complete 10:23:17 2f39f015ded8: Verifying Checksum 10:23:17 2f39f015ded8: Download complete 10:23:17 94645a83ff95: Pull complete 10:23:18 a4caa8a26152: Verifying Checksum 10:23:18 a4caa8a26152: Download complete 10:23:18 5eb5b503b376: Pull complete 10:23:18 5c69ac0246d0: Pull complete 10:23:18 3f3a8bcf1eab: Download complete 10:23:19 ec43610c2a17: Pull complete 10:23:19 3a2ae6a8a46f: Pull complete 10:23:19 33b1e0a273af: Pull complete 10:23:19 5d3b04190fa2: Pull complete 10:23:23 2f39f015ded8: Pull complete 10:23:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:23:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:23:23 prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container 10:23:23 $ 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/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:23:26 $ docker top cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:27 ---> job-cost.sh 10:23:27 lf-activate-venv: SKIPPING 10:23:27 INFO: No Stack... 10:23:27 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:28 INFO: Archiving Costs [Pipeline] sh 10:23:28 + cat /w/workspace/xfoundry_device-usb-camera_PR-36/archives/cost.csv 10:23:28 + cut -d, -f6 [Pipeline] lock 10:23:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] 10:23:28 Resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] did not exist. Created. 10:23:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:28 + echo total: 0.2199999988079071 [Pipeline] stash 10:23:29 Stashed 1 file(s) [Pipeline] } 10:23:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:29 $ docker stop --time=1 cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 10:23:30 $ docker rm -f cc7a297b1e5f75107cd93f02a5650bd41fb4878f238a567c4db12e4fe7647450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:23:31 3f3a8bcf1eab: Pull complete 10:23:31 0c92f367c5e7: Pull complete 10:23:31 3096ccb668a1: Pull complete 10:23:31 e8cf19c19ddd: Pull complete 10:23:38 a4caa8a26152: Pull complete 10:23:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:23:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:23:38 ---> 725f1c02e7f9 10:23:38 Step 3/12 : ARG MAKE="make build" 10:23:39 ---> Running in c95f3eb33fab 10:23:39 Removing intermediate container c95f3eb33fab 10:23:39 ---> 3a3ca6c9444a 10:23:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:23:39 ---> Running in 5b592d19719a 10:23:39 Removing intermediate container 5b592d19719a 10:23:39 ---> f89788be466b 10:23:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:23:39 ---> Running in e7b814a7ae9e 10:23:40 Removing intermediate container e7b814a7ae9e 10:23:40 ---> ce785be480a5 10:23:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:40 ---> Running in 02995d7429e1 10:23:42 Removing intermediate container 02995d7429e1 10:23:42 ---> e69af528de1d 10:23:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:23:42 ---> Running in 6044432af0f1 10:23:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:23:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:23:44 (1/14) Installing libintl (0.21-r0) 10:23:44 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 10:23:45 (3/14) Installing libjpeg-turbo (2.1.2-r0) 10:23:45 (4/14) Installing v4l-utils-libs (1.22.1-r1) 10:23:45 (5/14) Installing v4l-utils (1.22.1-r1) 10:23:45 (6/14) Installing udev-init-scripts (35-r0) 10:23:45 Executing udev-init-scripts-35-r0.post-install 10:23:45 (7/14) Installing libblkid (2.37.4-r0) 10:23:45 (8/14) Installing xz-libs (5.2.5-r1) 10:23:45 (9/14) Installing zstd-libs (1.5.0-r0) 10:23:45 (10/14) Installing kmod-libs (29-r2) 10:23:45 (11/14) Installing eudev (3.2.11_pre1-r0) 10:23:45 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 10:23:46 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 10:23:46 (14/14) Installing v4l-utils-dev (1.22.1-r1) 10:23:46 Executing busybox-1.34.1-r3.trigger 10:23:46 Executing eudev-3.2.11_pre1-r0.trigger 10:23:46 OK: 227 MiB in 66 packages 10:23:47 Removing intermediate container 6044432af0f1 10:23:47 ---> efec3d4835bd 10:23:47 Step 8/12 : WORKDIR /device-usb-camera 10:23:47 ---> Running in 076b5b057953 10:23:47 Removing intermediate container 076b5b057953 10:23:47 ---> 4be09341ba32 10:23:47 Step 9/12 : COPY go.mod vendor* ./ 10:23:48 ---> 1bacf53c5bed 10:23:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:48 ---> Running in 78ea35cea200 10:24:35 Removing intermediate container 78ea35cea200 10:24:35 ---> 1c5f5f9430cd 10:24:35 Step 11/12 : COPY . . 10:24:35 ---> f2331ad7b3b4 10:24:35 Step 12/12 : RUN ${MAKE} 10:24:35 ---> Running in ca8f77cfd618 10:24:35 noop 10:24:35 Removing intermediate container ca8f77cfd618 10:24:35 ---> b47ced75f9d2 10:24:35 Successfully built b47ced75f9d2 10:24:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:24:35 + docker inspect -f . ci-base-image-arm64 10:24:35 . [Pipeline] withDockerContainer 10:24:35 prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container 10:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:37 $ docker top 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:38 + go version 10:24:38 go version go1.17.6 linux/arm64 [Pipeline] } 10:24:38 $ docker stop --time=1 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 10:24:39 $ docker rm -f 1ddc04f81f6d018a4a42765911e7094c9991c4d5a8008640ac854ed88773e5e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:24:40 + docker inspect -f . ci-base-image-arm64 10:24:40 . [Pipeline] withDockerContainer 10:24:40 prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container 10:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:42 $ docker top 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:24:43 + make test 10:24:43 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 10:24:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:26:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:26:06 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 10:26:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:26:06 CGO_ENABLED=1 go vet ./... 10:26:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:26:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:26:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:26:32 $ docker stop --time=1 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 10:26:33 $ docker rm -f 43a3d33705cff794f97cc42fc37b095906256029d4ce32d60f00497b503b4b07 [Pipeline] // withDockerContainer [Pipeline] sh 10:26:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:26:34 Warning: overwriting stash ‘coverage-report’ 10:26:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:26:36 + ls -al . 10:26:36 total 160 10:26:36 drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:26 . 10:26:36 drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:22 .. 10:26:36 drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:22 .git 10:26:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 .github 10:26:36 -rw-rw-r-- 1 jenkins jenkins 349 May 24 10:22 .gitignore 10:26:36 -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:22 .golangci.yml 10:26:36 -rw-rw-r-- 1 jenkins jenkins 77 May 24 10:22 .hadolint.yml 10:26:36 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 10:22 Attribution.txt 10:26:36 -rw-rw-r-- 1 jenkins jenkins 181 May 24 10:22 CHANGELOG.md 10:26:36 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 10:22 Dockerfile 10:26:36 -rw-rw-r-- 1 jenkins jenkins 678 May 24 10:22 GOVERNANCE.md 10:26:36 -rw-rw-r-- 1 jenkins jenkins 659 May 24 10:22 Jenkinsfile 10:26:36 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 10:22 LICENSE 10:26:36 -rw-rw-r-- 1 jenkins jenkins 2345 May 24 10:22 Makefile 10:26:36 -rw-rw-r-- 1 jenkins jenkins 622 May 24 10:22 OWNERS.md 10:26:36 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 10:22 README.md 10:26:36 -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:20 VERSION 10:26:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 bin 10:26:36 drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:22 cmd 10:26:36 -rw-r--r-- 1 jenkins jenkins 10 May 24 10:24 coverage.out 10:26:36 drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:22 docker-compose 10:26:36 -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:22 docker-entrypoint.sh 10:26:36 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 10:22 go.mod 10:26:36 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 10:22 go.sum 10:26:36 drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:22 internal 10:26:36 -rw-rw-r-- 1 jenkins jenkins 231 May 24 10:22 version.go [Pipeline] isUnix [Pipeline] sh 10:26:36 + 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=8335b304f069749f7ac9f3572061b8c8386e1043 --label arch=arm64 --label version=0.0.0 . 10:26:36 Sending build context to Docker daemon 399.4kB 10:26:36 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 10:26:36 Step 2/29 : FROM ${BASE} AS builder 10:26:36 ---> b47ced75f9d2 10:26:36 Step 3/29 : ARG MAKE="make build" 10:26:36 ---> Running in 621236ec7aac 10:26:37 Removing intermediate container 621236ec7aac 10:26:37 ---> 63f5439041e1 10:26:37 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:26:37 ---> Running in 69f448c1b315 10:26:37 Removing intermediate container 69f448c1b315 10:26:37 ---> 069ecb966727 10:26:37 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:26:37 ---> Running in 9d012345d5c5 10:26:38 Removing intermediate container 9d012345d5c5 10:26:38 ---> b08fab77bf25 10:26:38 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:38 ---> Running in 556aa6dd85f2 10:26:40 Removing intermediate container 556aa6dd85f2 10:26:40 ---> b02a6308a12d 10:26:40 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:40 ---> Running in eac659525a2a 10:26:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:26:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:26:42 OK: 227 MiB in 66 packages 10:26:43 Removing intermediate container eac659525a2a 10:26:43 ---> 2d2960c3447b 10:26:43 Step 8/29 : WORKDIR /device-usb-camera 10:26:43 ---> Running in fbac7ea5e08e 10:26:44 Removing intermediate container fbac7ea5e08e 10:26:44 ---> aae06ab9b6f1 10:26:44 Step 9/29 : COPY go.mod vendor* ./ 10:26:44 ---> 8864cbf24739 10:26:44 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:44 ---> Running in 63b85cd6d247 10:26:46 Removing intermediate container 63b85cd6d247 10:26:46 ---> 625df58da24c 10:26:46 Step 11/29 : COPY . . 10:26:47 ---> 3ffcbe1309c9 10:26:47 Step 12/29 : RUN ${MAKE} 10:26:47 ---> Running in 419a5a1811e7 10:26:48 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 10:28:55 Removing intermediate container 419a5a1811e7 10:28:55 ---> 9f9bf67e09a5 10:28:55 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 10:28:55 v0.18.4: Pulling from aler9/rtsp-simple-server 10:28:55 eab2503cf8f4: Pulling fs layer 10:28:55 97cd0a44c592: Pulling fs layer 10:28:55 97cd0a44c592: Download complete 10:28:55 eab2503cf8f4: Verifying Checksum 10:28:55 eab2503cf8f4: Download complete 10:28:55 eab2503cf8f4: Pull complete 10:28:55 97cd0a44c592: Pull complete 10:28:55 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 10:28:55 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 10:28:55 ---> 7f763cca56b3 10:28:55 Step 14/29 : FROM alpine:3.15 10:28:55 3.15: Pulling from library/alpine 10:28:55 9981e73032c8: Pulling fs layer 10:28:55 9981e73032c8: Verifying Checksum 10:28:55 9981e73032c8: Download complete 10:28:55 9981e73032c8: Pull complete 10:28:55 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:28:55 Status: Downloaded newer image for alpine:3.15 10:28:55 ---> 3fb3c9af89a9 10:28:55 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:28:55 ---> Running in 5a3b434eef15 10:28:55 Removing intermediate container 5a3b434eef15 10:28:55 ---> 4fc0de04e5c8 10:28:55 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 10:28:55 ---> Running in 2e9267797b24 10:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:28:55 (1/73) Installing dumb-init (1.2.5-r1) 10:28:55 (2/73) Installing sdl2 (2.0.16-r4) 10:28:55 (3/73) Installing libxau (1.0.9-r0) 10:28:55 (4/73) Installing libmd (1.0.3-r0) 10:28:55 (5/73) Installing libbsd (0.11.3-r1) 10:28:55 (6/73) Installing libxdmcp (1.1.3-r0) 10:28:55 (7/73) Installing libxcb (1.14-r2) 10:28:55 (8/73) Installing libx11 (1.7.2-r0) 10:28:55 (9/73) Installing aom-libs (3.2.0-r0) 10:28:55 (10/73) Installing alsa-lib (1.2.5.1-r1) 10:28:55 (11/73) Installing expat (2.4.7-r0) 10:28:55 (12/73) Installing brotli-libs (1.0.9-r5) 10:28:55 (13/73) Installing libbz2 (1.0.8-r1) 10:28:55 (14/73) Installing libpng (1.6.37-r1) 10:28:55 (15/73) Installing freetype (2.11.1-r2) 10:28:55 (16/73) Installing libuuid (2.37.4-r0) 10:28:55 (17/73) Installing fontconfig (2.13.1-r4) 10:28:55 (18/73) Installing fribidi (1.0.11-r0) 10:28:55 (19/73) Installing libffi (3.4.2-r1) 10:28:55 (20/73) Installing libintl (0.21-r0) 10:28:55 (21/73) Installing libblkid (2.37.4-r0) 10:28:55 (22/73) Installing libmount (2.37.4-r0) 10:28:55 (23/73) Installing pcre (8.45-r1) 10:28:55 (24/73) Installing glib (2.70.1-r0) 10:28:55 (25/73) Installing graphite2 (1.3.14-r0) 10:28:55 (26/73) Installing harfbuzz (3.0.0-r2) 10:28:55 (27/73) Installing libass (0.15.2-r0) 10:28:55 (28/73) Installing libdav1d (0.9.2-r0) 10:28:55 (29/73) Installing gmp (6.2.1-r1) 10:28:55 (30/73) Installing nettle (3.7.3-r0) 10:28:55 (31/73) Installing p11-kit (0.24.0-r1) 10:28:55 (32/73) Installing libtasn1 (4.18.0-r0) 10:28:55 (33/73) Installing libunistring (0.9.10-r1) 10:28:55 (34/73) Installing gnutls (3.7.1-r0) 10:28:55 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 10:28:55 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 10:28:55 (37/73) Installing lame (3.100-r0) 10:28:55 (38/73) Installing opus (1.3.1-r1) 10:28:55 (39/73) Installing libgomp (10.3.1_git20211027-r0) 10:28:55 (40/73) Installing soxr (0.1.3-r2) 10:28:55 (41/73) Installing libgcc (10.3.1_git20211027-r0) 10:28:55 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 10:28:55 (43/73) Installing libsrt (1.4.2-r1) 10:28:55 (44/73) Installing libssh (0.9.6-r1) 10:28:55 (45/73) Installing libogg (1.3.5-r0) 10:28:55 (46/73) Installing libtheora (1.1.1-r16) 10:28:55 (47/73) Installing libjpeg-turbo (2.1.2-r0) 10:28:55 (48/73) Installing v4l-utils-libs (1.22.1-r1) 10:28:55 (49/73) Installing libxext (1.3.4-r0) 10:28:55 (50/73) Installing libxfixes (6.0.0-r0) 10:28:55 (51/73) Installing libdrm (2.4.109-r0) 10:28:55 (52/73) Installing wayland-libs-client (1.19.0-r1) 10:28:55 (53/73) Installing libva (2.13.0-r0) 10:28:55 (54/73) Installing libvdpau (1.4-r0) 10:28:55 (55/73) Installing vidstab (1.1.0-r1) 10:28:55 (56/73) Installing libvorbis (1.3.7-r0) 10:28:55 (57/73) Installing libvpx (1.10.0-r0) 10:28:55 (58/73) Installing vulkan-loader (1.2.196-r0) 10:28:55 (59/73) Installing libwebp (1.2.2-r0) 10:28:55 (60/73) Installing x264-libs (20210613-r0) 10:28:55 (61/73) Installing x265-libs (3.5-r0) 10:28:55 (62/73) Installing xvidcore (1.3.7-r1) 10:28:55 (63/73) Installing ffmpeg-libs (4.4.1-r2) 10:28:55 (64/73) Installing ffmpeg (4.4.1-r2) 10:28:55 (65/73) Installing udev-init-scripts (35-r0) 10:28:55 Executing udev-init-scripts-35-r0.post-install 10:28:55 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 10:28:55 (67/73) Installing xz-libs (5.2.5-r1) 10:28:55 (68/73) Installing zstd-libs (1.5.0-r0) 10:28:55 (69/73) Installing kmod-libs (29-r2) 10:28:55 (70/73) Installing eudev (3.2.11_pre1-r0) 10:28:55 (71/73) Installing libsodium (1.0.18-r0) 10:28:55 (72/73) Installing libzmq (4.3.4-r0) 10:28:55 (73/73) Installing zeromq (4.3.4-r0) 10:28:55 Executing busybox-1.34.1-r5.trigger 10:28:55 Executing eudev-3.2.11_pre1-r0.trigger 10:28:55 OK: 67 MiB in 87 packages 10:28:56 Removing intermediate container 2e9267797b24 10:28:56 ---> ae9dcdaec665 10:28:56 Step 17/29 : WORKDIR / 10:28:56 ---> Running in cb2de57ab93f 10:28:56 Removing intermediate container cb2de57ab93f 10:28:56 ---> 840f101af146 10:28:56 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 10:28:57 ---> 5465207e8b8d 10:28:57 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 10:28:58 ---> 5b91653fd296 10:28:58 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:28:59 ---> 1892866b620a 10:28:59 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:28:59 ---> 97d5a1710541 10:28:59 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 10:29:00 ---> 26818b9a6e9e 10:29:00 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 10:29:01 ---> 5385ab939589 10:29:01 Step 24/29 : EXPOSE 59983 10:29:01 ---> Running in 27a0b7fb72c2 10:29:01 Removing intermediate container 27a0b7fb72c2 10:29:01 ---> 1b9d1622c3a9 10:29:01 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:29:01 ---> Running in 340bc17688dc 10:29:02 Removing intermediate container 340bc17688dc 10:29:02 ---> 8bef490cc61e 10:29:02 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 10:29:02 ---> Running in 5c97ff3e3b6c 10:29:02 Removing intermediate container 5c97ff3e3b6c 10:29:02 ---> d7ada02c2d97 10:29:02 Step 27/29 : LABEL arch=arm64 10:29:02 ---> Running in 905ce20fada0 10:29:02 Removing intermediate container 905ce20fada0 10:29:02 ---> 5b8d4880f7f0 10:29:02 Step 28/29 : LABEL git_sha=8335b304f069749f7ac9f3572061b8c8386e1043 10:29:02 ---> Running in 293c80f1c121 10:29:03 Removing intermediate container 293c80f1c121 10:29:03 ---> 40daf5161a2c 10:29:03 Step 29/29 : LABEL version=0.0.0 10:29:03 ---> Running in 01a942ce713e 10:29:03 Removing intermediate container 01a942ce713e 10:29:03 ---> 6577ccd1dab5 10:29:03 [Warning] One or more build-args [ARCH] were not consumed 10:29:03 Successfully built 6577ccd1dab5 10:29:03 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:29:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:04 10:29:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:04 arm64: Pulling from edgex-lftools-log-publisher 10:29:04 8998bd30e6a1: Pulling fs layer 10:29:04 04944245beec: Pulling fs layer 10:29:04 699f458cf7ca: Pulling fs layer 10:29:04 765212b225bb: Pulling fs layer 10:29:04 f23df028b6ca: Pulling fs layer 10:29:04 d65c8cfc05b1: Pulling fs layer 10:29:04 2437ff75d9bd: Pulling fs layer 10:29:04 f23df028b6ca: Waiting 10:29:04 d65c8cfc05b1: Waiting 10:29:04 2437ff75d9bd: Waiting 10:29:04 765212b225bb: Waiting 10:29:04 04944245beec: Verifying Checksum 10:29:04 04944245beec: Download complete 10:29:04 765212b225bb: Verifying Checksum 10:29:04 765212b225bb: Download complete 10:29:04 f23df028b6ca: Verifying Checksum 10:29:04 f23df028b6ca: Download complete 10:29:04 d65c8cfc05b1: Verifying Checksum 10:29:04 d65c8cfc05b1: Download complete 10:29:05 699f458cf7ca: Verifying Checksum 10:29:05 699f458cf7ca: Download complete 10:29:05 8998bd30e6a1: Verifying Checksum 10:29:05 8998bd30e6a1: Download complete 10:29:07 2437ff75d9bd: Verifying Checksum 10:29:07 2437ff75d9bd: Download complete 10:29:09 8998bd30e6a1: Pull complete 10:29:10 04944245beec: Pull complete 10:29:11 699f458cf7ca: Pull complete 10:29:11 765212b225bb: Pull complete 10:29:12 f23df028b6ca: Pull complete 10:29:12 d65c8cfc05b1: Pull complete 10:29:27 2437ff75d9bd: Pull complete 10:29:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:29:27 prd-ubuntu20.04-docker-arm64-4c-16g-64472 does not seem to be running inside a container 10:29:28 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:29:30 $ docker top 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:31 ---> job-cost.sh 10:29:31 lf-activate-venv: SKIPPING 10:29:31 INFO: No Stack... 10:29:31 INFO: Retrieving Pricing Info for: v3-standard-4 10:29:32 INFO: Archiving Costs [Pipeline] sh 10:29:33 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 10:29:33 + cut -d, -f6 [Pipeline] lock 10:29:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] 10:29:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] did not exist. Created. 10:29:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:34 /w/workspace/device-usb-camera/1@tmp/durable-8f621f4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:29:35 + echo total: 0.10999999940395355 [Pipeline] stash 10:29:35 Warning: overwriting stash ‘stack-cost’ 10:29:35 Stashed 1 file(s) [Pipeline] } 10:29:35 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:29:35 $ docker stop --time=1 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 10:29:36 $ docker rm -f 4cddbc77e1cd3c33f933c97d40d63a7b7fb8b00012069857a7b47fc974916830 [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 10:29:37 provisioning config files... 10:29:37 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config3351258302841820263tmp [Pipeline] { [Pipeline] sh 10:29:38 + set +x 10:29:38 + curl -s https://codecov.io/bash 10:29:38 + bash -s -- 10:29:38 10:29:38 _____ _ 10:29:38 / ____| | | 10:29:38 | | ___ __| | ___ ___ _____ __ 10:29:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:29:38 | |___| (_) | (_| | __/ (_| (_) \ V / 10:29:38 \_____\___/ \__,_|\___|\___\___/ \_/ 10:29:38 Bash-1.0.6 10:29:38 10:29:38 10:29:38 ==> git version 2.25.1 found 10:29:38 ==> 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 10:29:38 Release-Date: 2020-01-08 10:29:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:29:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:29:38 ==> Jenkins CI detected. 10:29:38 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-36 10:29:38 project root: . 10:29:38 --> token set from env 10:29:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:29:38 ==> Running gcov in . (disable via -X gcov) 10:29:38 ==> Python coveragepy not found 10:29:38 ==> Searching for coverage reports in: 10:29:38 + . 10:29:38 -> Found 1 reports 10:29:38 ==> Detecting git/mercurial file structure 10:29:38 ==> Reading reports 10:29:38 + ./coverage.out bytes=10 10:29:38 ==> Appending adjustments 10:29:38 https://docs.codecov.io/docs/fixing-reports 10:29:38 + Found adjustments 10:29:38 ==> Gzipping contents 10:29:38 4.0K /tmp/codecov.3kQ4LM.gz 10:29:38 ==> Uploading reports 10:29:38 url: https://codecov.io 10:29:38 query: branch=PR-36&commit=8335b304f069749f7ac9f3572061b8c8386e1043&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=36&job=&cmd_args= 10:29:38 -> Pinging Codecov 10:29:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-36&commit=8335b304f069749f7ac9f3572061b8c8386e1043&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=36&job=&cmd_args= 10:29:38 -> Uploading to 10:29:38 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/8335b304f069749f7ac9f3572061b8c8386e1043/9e03b567-cdfa-408b-848f-beb084845636.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T102938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8dc7e75719c98c5621352bba85580c3ca08ecda1ec4e17d5932bc89370046dc0 10:29:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:38 Dload Upload Total Spent Left Speed 10:29:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1007 0 0 100 1007 0 4436 --:--:-- --:--:-- --:--:-- 4416 100 1007 0 0 100 1007 0 4436 --:--:-- --:--:-- --:--:-- 4416 10:29:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/8335b304f069749f7ac9f3572061b8c8386e1043 [Pipeline] } 10:29:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 10:29:40 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-36/archives ] 10:29:40 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-36/archives 10:29:40 total 16 10:29:40 drwxr-xr-x 3 root root 4096 May 24 10:23 . 10:29:40 drwxrwxr-x 10 jenkins jenkins 4096 May 24 10:23 .. 10:29:40 drwxr-xr-x 2 root root 4096 May 24 10:23 cost 10:29:40 -rw-r--r-- 1 root root 87 May 24 10:23 cost.csv 10:29:40 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-36/archives 10:29:40 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-36/archives 10:29:40 total 16 10:29:40 drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:23 . 10:29:40 drwxrwxr-x 10 jenkins jenkins 4096 May 24 10:23 .. 10:29:40 drwxr-xr-x 2 jenkins jenkins 4096 May 24 10:23 cost 10:29:40 -rw-r--r-- 1 jenkins jenkins 87 May 24 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:29:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:29:41 ---> package-listing.sh 10:29:41 ++ facter osfamily 10:29:41 ++ tr '[:upper:]' '[:lower:]' 10:29:42 + OS_FAMILY=debian 10:29:42 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-36 10:29:42 + START_PACKAGES=/tmp/packages_start.txt 10:29:42 + END_PACKAGES=/tmp/packages_end.txt 10:29:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:29:42 + PACKAGES=/tmp/packages_start.txt 10:29:42 + '[' /w/workspace/xfoundry_device-usb-camera_PR-36 ']' 10:29:42 + PACKAGES=/tmp/packages_end.txt 10:29:42 + case "${OS_FAMILY}" in 10:29:42 + dpkg -l 10:29:42 + grep '^ii' 10:29:42 + '[' -f /tmp/packages_start.txt ']' 10:29:42 + '[' -f /tmp/packages_end.txt ']' 10:29:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:29:42 + '[' /w/workspace/xfoundry_device-usb-camera_PR-36 ']' 10:29:42 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-36/archives/ 10:29:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-36/archives/ [Pipeline] echo 10:29:42 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/xfoundry_device-usb-camera_PR-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:29:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:29:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:43 . [Pipeline] withDockerContainer 10:29:43 prd-ubuntu20.04-docker-8c-8g-64471 does not seem to be running inside a container 10:29:43 $ 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/xfoundry_device-usb-camera_PR-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-36 -v /w/workspace/xfoundry_device-usb-camera_PR-36:/w/workspace/xfoundry_device-usb-camera_PR-36:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-36@tmp:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:29:43 $ docker top c3900b61f0d4a6663bc3b17234b08e6b018e209d57541127f5c7d4ab0a5c01be -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:43 + touch /tmp/pre-build-complete [Pipeline] sh 10:29:44 + mkdir -p /var/log/sysstat [Pipeline] sh 10:29:44 + ls /var/log/sa-host 10:29:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:29:44 provisioning config files... 10:29:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-36@tmp/config3872456991778247594tmp [Pipeline] { [Pipeline] echo 10:29:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:29:45 ---> create-netrc.sh [Pipeline] } 10:29:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:29:45 ---> python-tools-install.sh [Pipeline] echo 10:29:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:29:45 ---> sudo-logs.sh 10:29:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:29:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:29:46 ---> job-cost.sh 10:29:46 lf-activate-venv: SKIPPING 10:29:46 DEBUG: total: 0.2199999988079071 10:29:46 INFO: Retrieving Stack Cost... 10:29:46 INFO: Retrieving Pricing Info for: v3-standard-8 10:29:47 INFO: Archiving Costs [Pipeline] echo 10:29:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:29:47 ---> logs-deploy.sh 10:29:47 lf-activate-venv: SKIPPING 10:29:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-36/1 10:29:47 INFO: archiving workspace using pattern(s): 10:29:48 Archives upload complete. 10:29:48 INFO: archiving logs to Nexus