Pull request #33 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 farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from f0869547065ff951d29868c456c216123e6da9de+aaa7e572fda13da2933300a631edf8df830ba1ce (db8b3f791dd63d8cb26ee2c68bfb8a95cd28bb8e) 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-ssh5267297166514147592.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-ssh6911300950483021132.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-33/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-33/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12231461081433570251.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-33/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3760794693027429102.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-ssh529092956961561982.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-33/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-33/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1709161208341234561.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64345’ Running on prd-ubuntu20.04-docker-8c-8g-64348 in /w/workspace/xfoundry_device-usb-camera_PR-33 [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-33 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit f0869547065ff951d29868c456c216123e6da9de Merge succeeded, producing f0869547065ff951d29868c456c216123e6da9de Checking out Revision f0869547065ff951d29868c456c216123e6da9de (PR-33) > git config core.sparsecheckout # timeout=10 > git checkout -f f0869547065ff951d29868c456c216123e6da9de # 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 f0869547065ff951d29868c456c216123e6da9de # timeout=10 Commit message: "docs: link to all device examples" 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 09:07:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:07:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:07:07 ========================================================= 09:07:07 EdgeX Global Pipelines Version Info 09:07:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:07:08 ------------------- 09:07:08 stable info: 09:07:08 ------------------- 09:07:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:08 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:07:08 Message: update stable to v1.0.230 09:07:09 ------------------- 09:07:09 experimental info: 09:07:09 ------------------- 09:07:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:07:09 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:07:09 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:07:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-33 [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-33 [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-33 [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0869547065ff951d29868c456c216123e6da9de [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f086954 [Pipeline] echo 09:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:07:10 provisioning config files... 09:07:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/config5299908632568278801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:11 ---> docker-login.sh 09:07:11 nexus3.edgexfoundry.org:10001 09:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:11 Configure a credential helper to remove this warning. See 09:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:11 09:07:11 Login Succeeded 09:07:11 nexus3.edgexfoundry.org:10002 09:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:11 Configure a credential helper to remove this warning. See 09:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:11 09:07:11 Login Succeeded 09:07:11 nexus3.edgexfoundry.org:10003 09:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:11 Configure a credential helper to remove this warning. See 09:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:11 09:07:11 Login Succeeded 09:07:11 nexus3.edgexfoundry.org:10004 09:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:12 Configure a credential helper to remove this warning. See 09:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:12 09:07:12 Login Succeeded 09:07:12 docker.io 09:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:12 Configure a credential helper to remove this warning. See 09:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:12 09:07:12 Login Succeeded 09:07:12 ---> docker-login.sh ends [Pipeline] } 09:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:07:12 + git rev-list -1 --merges f0869547065ff951d29868c456c216123e6da9de~1..f0869547065ff951d29868c456c216123e6da9de [Pipeline] echo 09:07:13 -----------> git rev-list -1 --merges f0869547065ff951d29868c456c216123e6da9de~1..f0869547065ff951d29868c456c216123e6da9de f0869547065ff951d29868c456c216123e6da9de [false] [Pipeline] sh 09:07:13 + git log --format=format:%s -1 f0869547065ff951d29868c456c216123e6da9de [Pipeline] echo 09:07:13 ========================================================= 09:07:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:07:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:07:13 + git log --format=format:%s -1 f0869547065ff951d29868c456c216123e6da9de [Pipeline] echo 09:07:13 [semverPrep] GIT_COMMIT: f0869547065ff951d29868c456c216123e6da9de, Commit Message: docs: link to all device examples [Pipeline] echo 09:07:13 [semverPrep] This is not a build commit. [Pipeline] sh 09:07:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:07:14 + grep -v github /etc/ssh/ssh_known_hosts 09:07:14 + [ -e /tmp/ssh_known_hosts ] 09:07:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:07:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:07:14 + sudo tee -a /etc/ssh/ssh_known_hosts 09:07:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:07:14 09:07:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:07:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:07:15 latest: Pulling from edgex-devops/py-git-semver 09:07:15 1fe172e4850f: Pulling fs layer 09:07:15 caf521ccaac6: Pulling fs layer 09:07:15 3ead6fa29328: Pulling fs layer 09:07:15 5c2a1cbceb83: Pulling fs layer 09:07:15 a8d5f1318db7: Pulling fs layer 09:07:15 c427282e49a2: Pulling fs layer 09:07:15 1827001aaf11: Pulling fs layer 09:07:15 0714d37db230: Pulling fs layer 09:07:15 ac28cf19c067: Pulling fs layer 09:07:15 ca983d60f3e2: Pulling fs layer 09:07:15 9f894cec8388: Pulling fs layer 09:07:15 1827001aaf11: Waiting 09:07:15 0714d37db230: Waiting 09:07:15 ac28cf19c067: Waiting 09:07:15 ca983d60f3e2: Waiting 09:07:15 9f894cec8388: Waiting 09:07:15 a8d5f1318db7: Waiting 09:07:15 5c2a1cbceb83: Waiting 09:07:15 c427282e49a2: Waiting 09:07:15 caf521ccaac6: Verifying Checksum 09:07:15 caf521ccaac6: Download complete 09:07:15 5c2a1cbceb83: Verifying Checksum 09:07:15 5c2a1cbceb83: Download complete 09:07:15 a8d5f1318db7: Verifying Checksum 09:07:15 a8d5f1318db7: Download complete 09:07:15 c427282e49a2: Verifying Checksum 09:07:15 c427282e49a2: Download complete 09:07:15 3ead6fa29328: Verifying Checksum 09:07:15 3ead6fa29328: Download complete 09:07:15 0714d37db230: Verifying Checksum 09:07:15 0714d37db230: Download complete 09:07:15 ac28cf19c067: Verifying Checksum 09:07:15 ac28cf19c067: Download complete 09:07:15 ca983d60f3e2: Download complete 09:07:15 9f894cec8388: Download complete 09:07:15 1fe172e4850f: Verifying Checksum 09:07:15 1fe172e4850f: Download complete 09:07:15 1827001aaf11: Verifying Checksum 09:07:15 1827001aaf11: Download complete 09:07:16 1fe172e4850f: Pull complete 09:07:16 caf521ccaac6: Pull complete 09:07:17 3ead6fa29328: Pull complete 09:07:17 5c2a1cbceb83: Pull complete 09:07:17 a8d5f1318db7: Pull complete 09:07:17 c427282e49a2: Pull complete 09:07:19 1827001aaf11: Pull complete 09:07:19 0714d37db230: Pull complete 09:07:19 ac28cf19c067: Pull complete 09:07:19 ca983d60f3e2: Pull complete 09:07:19 9f894cec8388: Pull complete 09:07:19 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:07:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:07:19 prd-ubuntu20.04-docker-8c-8g-64348 does not seem to be running inside a container 09:07:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-33 -v /w/workspace/xfoundry_device-usb-camera_PR-33:/w/workspace/xfoundry_device-usb-camera_PR-33:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-33@tmp:/w/workspace/xfoundry_device-usb-camera_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:07:21 $ docker top eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c -eo pid,comm 09:07:21 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). 09:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:21 [ssh-agent] Looking for ssh-agent implementation... 09:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:21 $ docker exec eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c ssh-agent 09:07:22 SSH_AUTH_SOCK=/tmp/ssh-B9RkeuYBe6Tz/agent.32 09:07:22 SSH_AGENT_PID=38 09:07:22 Running ssh-add (command line suppressed) 09:07:22 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-33@tmp/private_key_7624453465217515110.key (/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/private_key_7624453465217515110.key) 09:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:22 + git tag --points-at HEAD [Pipeline] } 09:07:22 $ docker exec --env ******** --env ******** eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c ssh-agent -k 09:07:22 unset SSH_AUTH_SOCK; 09:07:22 unset SSH_AGENT_PID; 09:07:22 echo Agent pid 38 killed; 09:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:07:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:07:22 [ssh-agent] Looking for ssh-agent implementation... 09:07:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:07:22 $ docker exec eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c ssh-agent 09:07:22 SSH_AUTH_SOCK=/tmp/ssh-irQiZ75i1WBD/agent.71 09:07:22 SSH_AGENT_PID=77 09:07:22 Running ssh-add (command line suppressed) 09:07:23 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-33@tmp/private_key_2668015986658455471.key (/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/private_key_2668015986658455471.key) 09:07:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:07:23 + git semver init 09:07:23 2022-05-23 09:07:23,744 [run_init] DEBUG init version:0.0.0 force:False 09:07:23 2022-05-23 09:07:23,744 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-33/.semver 09:07:23 2022-05-23 09:07:23,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-33/.semver 09:07:23 2022-05-23 09:07:23,745 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-33/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-33, universal_newlines=False, shell=None, istream=None) 09:07:24 2022-05-23 09:07:24,289 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-33/.git/info/exclude 09:07:24 2022-05-23 09:07:24,289 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-33/.semver/PR-33 with force:False 09:07:24 2022-05-23 09:07:24,290 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-33/.semver/PR-33 09:07:24 2022-05-23 09:07:24,294 [execute] INFO git cat-file --batch-check 09:07:24 2022-05-23 09:07:24,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-33/.semver, universal_newlines=False, shell=None, istream=) 09:07:24 2022-05-23 09:07:24,301 [execute] INFO git cat-file --batch 09:07:24 2022-05-23 09:07:24,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-33/.semver, universal_newlines=False, shell=None, istream=) 09:07:24 2022-05-23 09:07:24,306 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-33/.semver/PR-33 09:07:24 0.0.0 [Pipeline] } 09:07:24 $ docker exec --env ******** --env ******** eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c ssh-agent -k 09:07:24 unset SSH_AUTH_SOCK; 09:07:24 unset SSH_AGENT_PID; 09:07:24 echo Agent pid 77 killed; 09:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:07:24 + git semver [Pipeline] } 09:07:25 $ docker stop --time=1 eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c 09:07:26 $ docker rm -f eb83c4eefa08c7e968a43bf7df11d29929fbe1a70722f034e23b91fc81bea68c [Pipeline] // withDockerContainer [Pipeline] sh 09:07:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:07:27 Stashed 1 file(s) [Pipeline] echo 09:07:27 [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 09:07:27 provisioning config files... 09:07:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/config262827891500575015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:07:28 ---> docker-login.sh 09:07:28 nexus3.edgexfoundry.org:10001 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 nexus3.edgexfoundry.org:10002 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 nexus3.edgexfoundry.org:10003 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 nexus3.edgexfoundry.org:10004 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 docker.io 09:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:07:28 Configure a credential helper to remove this warning. See 09:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:07:28 09:07:28 Login Succeeded 09:07:28 ---> docker-login.sh ends [Pipeline] } 09:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:07:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:07:29 ========================================================= 09:07:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:07:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:07:29 + 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 . 09:07:29 Sending build context to Docker daemon 599kB 09:07:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:07:29 Step 2/12 : FROM ${BASE} AS builder 09:07:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:07:29 59bf1c3509f3: Pulling fs layer 09:07:29 666ba61612fd: Pulling fs layer 09:07:29 8ed8ca486205: Pulling fs layer 09:07:29 4fe6c5a15a65: Pulling fs layer 09:07:29 22a0e8bec74d: Pulling fs layer 09:07:29 4fe6c5a15a65: Waiting 09:07:29 ca2b28591e48: Pulling fs layer 09:07:29 a51346096db8: Pulling fs layer 09:07:29 daebc70d1ce1: Pulling fs layer 09:07:29 22a0e8bec74d: Waiting 09:07:29 ca2b28591e48: Waiting 09:07:29 a51346096db8: Waiting 09:07:29 0e18a0eac166: Pulling fs layer 09:07:29 0e18a0eac166: Waiting 09:07:29 8ed8ca486205: Verifying Checksum 09:07:29 8ed8ca486205: Download complete 09:07:29 666ba61612fd: Verifying Checksum 09:07:29 666ba61612fd: Download complete 09:07:29 22a0e8bec74d: Verifying Checksum 09:07:29 22a0e8bec74d: Download complete 09:07:29 ca2b28591e48: Download complete 09:07:29 59bf1c3509f3: Verifying Checksum 09:07:29 59bf1c3509f3: Download complete 09:07:29 a51346096db8: Verifying Checksum 09:07:29 a51346096db8: Download complete 09:07:29 daebc70d1ce1: Verifying Checksum 09:07:29 daebc70d1ce1: Download complete 09:07:29 59bf1c3509f3: Pull complete 09:07:30 666ba61612fd: Pull complete 09:07:30 8ed8ca486205: Pull complete 09:07:30 0e18a0eac166: Verifying Checksum 09:07:30 0e18a0eac166: Download complete 09:07:30 4fe6c5a15a65: Verifying Checksum 09:07:30 4fe6c5a15a65: Download complete 09:07:33 4fe6c5a15a65: Pull complete 09:07:33 22a0e8bec74d: Pull complete 09:07:33 ca2b28591e48: Pull complete 09:07:33 a51346096db8: Pull complete 09:07:33 daebc70d1ce1: Pull complete 09:07:35 0e18a0eac166: Pull complete 09:07:35 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:07:35 ---> f018257e8ee9 09:07:35 Step 3/12 : ARG MAKE="make build" 09:07:37 ---> Running in cdf8c36d4e9f 09:07:37 Removing intermediate container cdf8c36d4e9f 09:07:37 ---> 21e6e23bf881 09:07:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:07:37 ---> Running in 7bbae09ce124 09:07:37 Removing intermediate container 7bbae09ce124 09:07:37 ---> faa45808c906 09:07:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:07:38 ---> Running in 02100c45263f 09:07:38 Removing intermediate container 02100c45263f 09:07:38 ---> 7471229840a5 09:07:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:38 ---> Running in a74cdbfb4605 09:07:38 Removing intermediate container a74cdbfb4605 09:07:38 ---> f08bfec324f4 09:07:38 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:38 ---> Running in a38bdf5710ff 09:07:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:07:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:07:40 (1/81) Installing mesa (21.2.6-r0) 09:07:40 (2/81) Installing libxau (1.0.9-r0) 09:07:40 (3/81) Installing libmd (1.0.3-r0) 09:07:40 (4/81) Installing libbsd (0.11.3-r1) 09:07:40 (5/81) Installing libxdmcp (1.1.3-r0) 09:07:40 (6/81) Installing libxcb (1.14-r2) 09:07:40 (7/81) Installing libx11 (1.7.2-r0) 09:07:40 (8/81) Installing libxext (1.3.4-r0) 09:07:40 (9/81) Installing libxfixes (6.0.0-r0) 09:07:40 (10/81) Installing libxxf86vm (1.1.4-r2) 09:07:40 (11/81) Installing libpciaccess (0.16-r0) 09:07:41 (12/81) Installing libdrm (2.4.109-r0) 09:07:41 (13/81) Installing mesa-glapi (21.2.6-r0) 09:07:41 (14/81) Installing libxshmfence (1.3-r1) 09:07:41 (15/81) Installing mesa-gl (21.2.6-r0) 09:07:41 (16/81) Installing libice (1.0.10-r0) 09:07:41 (17/81) Installing libuuid (2.37.4-r0) 09:07:41 (18/81) Installing libsm (1.2.3-r0) 09:07:41 (19/81) Installing libxt (1.2.1-r0) 09:07:41 (20/81) Installing libxmu (1.1.3-r0) 09:07:41 (21/81) Installing xset (1.2.4-r0) 09:07:41 (22/81) Installing xprop (1.2.5-r0) 09:07:41 (23/81) Installing xdg-utils (1.1.3-r0) 09:07:42 (24/81) Installing dbus-libs (1.12.20-r4) 09:07:42 (25/81) Installing libffi (3.4.2-r1) 09:07:42 (26/81) Installing libintl (0.21-r0) 09:07:42 (27/81) Installing libblkid (2.37.4-r0) 09:07:42 (28/81) Installing libmount (2.37.4-r0) 09:07:42 (29/81) Installing pcre (8.45-r1) 09:07:42 Still waiting to schedule task 09:07:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-64346’ 09:07:42 (30/81) Installing glib (2.70.1-r0) 09:07:42 (31/81) Installing icu-libs (69.1-r1) 09:07:43 (32/81) Installing libpcre2-16 (10.39-r0) 09:07:43 (33/81) Installing zstd-libs (1.5.0-r0) 09:07:43 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 09:07:43 (35/81) Installing hicolor-icon-theme (0.17-r1) 09:07:43 (36/81) Installing wayland-libs-server (1.19.0-r1) 09:07:43 (37/81) Installing mesa-gbm (21.2.6-r0) 09:07:43 (38/81) Installing wayland-libs-client (1.19.0-r1) 09:07:44 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 09:07:44 (40/81) Installing libxcomposite (0.4.5-r0) 09:07:44 (41/81) Installing libbz2 (1.0.8-r1) 09:07:44 (42/81) Installing libpng (1.6.37-r1) 09:07:44 (43/81) Installing freetype (2.11.1-r2) 09:07:44 (44/81) Installing fontconfig (2.13.1-r4) 09:07:44 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 09:07:44 (46/81) Installing wayland-libs-egl (1.19.0-r1) 09:07:44 (47/81) Installing xkeyboard-config (2.34-r0) 09:07:44 (48/81) Installing xz-libs (5.2.5-r1) 09:07:45 (49/81) Installing libxml2 (2.9.14-r0) 09:07:45 (50/81) Installing libxkbcommon (1.3.1-r0) 09:07:45 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 09:07:45 (52/81) Installing mesa-egl (21.2.6-r0) 09:07:45 (53/81) Installing avahi-libs (0.8-r5) 09:07:45 (54/81) Installing nettle (3.7.3-r0) 09:07:45 (55/81) Installing p11-kit (0.24.0-r1) 09:07:45 (56/81) Installing libtasn1 (4.18.0-r0) 09:07:45 (57/81) Installing libunistring (0.9.10-r1) 09:07:45 (58/81) Installing gnutls (3.7.1-r0) 09:07:45 (59/81) Installing cups-libs (2.3.3-r5) 09:07:46 (60/81) Installing graphite2 (1.3.14-r0) 09:07:46 (61/81) Installing harfbuzz (3.0.0-r2) 09:07:46 (62/81) Installing libevdev (1.12.0-r0) 09:07:46 (63/81) Installing mtdev (1.1.6-r0) 09:07:46 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 09:07:46 (65/81) Installing libinput-libs (1.19.4-r0) 09:07:46 (66/81) Installing libjpeg-turbo (2.1.2-r0) 09:07:46 (67/81) Installing xcb-util-wm (0.4.1-r1) 09:07:46 (68/81) Installing xcb-util (0.4.0-r3) 09:07:46 (69/81) Installing xcb-util-image (0.4.0-r1) 09:07:46 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 09:07:46 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 09:07:47 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 09:07:47 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 09:07:47 (74/81) Installing v4l-utils-libs (1.22.1-r1) 09:07:47 (75/81) Installing v4l-utils (1.22.1-r1) 09:07:47 (76/81) Installing udev-init-scripts (35-r0) 09:07:47 Executing udev-init-scripts-35-r0.post-install 09:07:47 (77/81) Installing kmod-libs (29-r2) 09:07:48 (78/81) Installing eudev (3.2.11_pre1-r0) 09:07:48 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 09:07:48 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:07:48 (81/81) Installing v4l-utils-dev (1.22.1-r1) 09:07:48 Executing busybox-1.34.1-r3.trigger 09:07:48 Executing eudev-3.2.11_pre1-r0.trigger 09:07:48 OK: 335 MiB in 133 packages 09:07:50 Removing intermediate container a38bdf5710ff 09:07:50 ---> c2ae36046f90 09:07:50 Step 8/12 : WORKDIR /device-usb-camera 09:07:50 ---> Running in af40332ca50e 09:07:50 Removing intermediate container af40332ca50e 09:07:50 ---> 83de6b42599d 09:07:50 Step 9/12 : COPY go.mod vendor* ./ 09:07:50 ---> 46b93a2dc1fd 09:07:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:50 ---> Running in 7f4a54a87d21 09:08:02 Removing intermediate container 7f4a54a87d21 09:08:02 ---> 635c0eeb3b6f 09:08:02 Step 11/12 : COPY . . 09:08:02 ---> 20330ae51caf 09:08:02 Step 12/12 : RUN ${MAKE} 09:08:02 ---> Running in 4c465ce1d2a8 09:08:03 noop 09:08:03 Removing intermediate container 4c465ce1d2a8 09:08:03 ---> d0aeb7f12b25 09:08:03 Successfully built d0aeb7f12b25 09:08:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:08:03 + docker inspect -f . ci-base-image-x86_64 09:08:03 . [Pipeline] withDockerContainer 09:08:04 prd-ubuntu20.04-docker-8c-8g-64348 does not seem to be running inside a container 09:08:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-33 -v /w/workspace/xfoundry_device-usb-camera_PR-33:/w/workspace/xfoundry_device-usb-camera_PR-33:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-33@tmp:/w/workspace/xfoundry_device-usb-camera_PR-33@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 ******** -e ******** ci-base-image-x86_64 cat 09:08:04 $ docker top 19efd8932d2bdd57fe2e8851e46abfe1d38a5abfc67ad05953ed3d9b29c5c413 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:04 + go version 09:08:04 go version go1.17.6 linux/amd64 [Pipeline] } 09:08:04 $ docker stop --time=1 19efd8932d2bdd57fe2e8851e46abfe1d38a5abfc67ad05953ed3d9b29c5c413 09:08:06 $ docker rm -f 19efd8932d2bdd57fe2e8851e46abfe1d38a5abfc67ad05953ed3d9b29c5c413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:08:06 + docker inspect -f . ci-base-image-x86_64 09:08:06 . [Pipeline] withDockerContainer 09:08:06 prd-ubuntu20.04-docker-8c-8g-64348 does not seem to be running inside a container 09:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-33 -v /w/workspace/xfoundry_device-usb-camera_PR-33:/w/workspace/xfoundry_device-usb-camera_PR-33:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-33@tmp:/w/workspace/xfoundry_device-usb-camera_PR-33@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 ******** -e ******** ci-base-image-x86_64 cat 09:08:07 $ docker top 897088d6343ab23313d94332b811876b30d2aca24ca977506b3e874a71e9d577 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:08:07 + make test 09:08:07 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:08:08 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:08:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:08:18 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 09:08:23 CGO_ENABLED=1 go vet ./... 09:08:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:26 ./bin/test-attribution-txt.sh [Pipeline] echo 09:08:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:08:26 $ docker stop --time=1 897088d6343ab23313d94332b811876b30d2aca24ca977506b3e874a71e9d577 09:08:28 $ docker rm -f 897088d6343ab23313d94332b811876b30d2aca24ca977506b3e874a71e9d577 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:08:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:30 + ls -al . 09:08:30 total 164 09:08:30 drwxrwxr-x 9 jenkins jenkins 4096 May 23 09:08 . 09:08:30 drwxrwxr-x 4 jenkins jenkins 4096 May 23 09:07 .. 09:08:30 drwxrwxr-x 8 jenkins jenkins 4096 May 23 09:07 .git 09:08:30 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:07 .github 09:08:30 -rw-rw-r-- 1 jenkins jenkins 349 May 23 09:07 .gitignore 09:08:30 -rw-rw-r-- 1 jenkins jenkins 42 May 23 09:07 .golangci.yml 09:08:30 -rw-rw-r-- 1 jenkins jenkins 77 May 23 09:07 .hadolint.yml 09:08:30 drwxr-xr-x 3 jenkins jenkins 4096 May 23 09:07 .semver 09:08:30 -rw-rw-r-- 1 jenkins jenkins 8706 May 23 09:07 Attribution.txt 09:08:30 -rw-rw-r-- 1 jenkins jenkins 181 May 23 09:07 CHANGELOG.md 09:08:30 -rw-rw-r-- 1 jenkins jenkins 1891 May 23 09:07 Dockerfile 09:08:30 -rw-rw-r-- 1 jenkins jenkins 678 May 23 09:07 GOVERNANCE.md 09:08:30 -rw-rw-r-- 1 jenkins jenkins 659 May 23 09:07 Jenkinsfile 09:08:30 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 09:07 LICENSE 09:08:30 -rw-rw-r-- 1 jenkins jenkins 2030 May 23 09:07 Makefile 09:08:30 -rw-rw-r-- 1 jenkins jenkins 622 May 23 09:07 OWNERS.md 09:08:30 -rw-rw-r-- 1 jenkins jenkins 8912 May 23 09:07 README.md 09:08:30 -rw-rw-r-- 1 jenkins jenkins 5 May 23 09:07 VERSION 09:08:30 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:07 bin 09:08:30 drwxrwxr-x 3 jenkins jenkins 4096 May 23 09:07 cmd 09:08:30 -rw-r--r-- 1 jenkins jenkins 10 May 23 09:08 coverage.out 09:08:30 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:07 docker-compose 09:08:30 -rw-rw-r-- 1 jenkins jenkins 140 May 23 09:07 docker-entrypoint.sh 09:08:30 -rw-rw-r-- 1 jenkins jenkins 3307 May 23 09:07 go.mod 09:08:30 -rw-rw-r-- 1 jenkins jenkins 35656 May 23 09:07 go.sum 09:08:30 drwxrwxr-x 3 jenkins jenkins 4096 May 23 09:07 internal 09:08:30 -rw-rw-r-- 1 jenkins jenkins 231 May 23 09:07 version.go [Pipeline] isUnix [Pipeline] sh 09:08:30 + 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=f0869547065ff951d29868c456c216123e6da9de --label arch=amd64 --label version=0.0.0 . 09:08:30 Sending build context to Docker daemon 600.1kB 09:08:30 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 09:08:30 Step 2/29 : FROM ${BASE} AS builder 09:08:30 ---> d0aeb7f12b25 09:08:30 Step 3/29 : ARG MAKE="make build" 09:08:30 ---> Running in 8f297a7ecafa 09:08:30 Removing intermediate container 8f297a7ecafa 09:08:30 ---> f791f1e76402 09:08:30 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:08:30 ---> Running in c128e6a09ab0 09:08:30 Removing intermediate container c128e6a09ab0 09:08:30 ---> 8e8ba4d468eb 09:08:30 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:08:30 ---> Running in 13e8e7ba3e93 09:08:31 Removing intermediate container 13e8e7ba3e93 09:08:31 ---> b29b334eae11 09:08:31 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:31 ---> Running in c465c47e8f04 09:08:31 Removing intermediate container c465c47e8f04 09:08:31 ---> 38c5b289e9f3 09:08:31 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:31 ---> Running in fc1ea3a81ece 09:08:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:08:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:08:32 OK: 335 MiB in 133 packages 09:08:33 Removing intermediate container fc1ea3a81ece 09:08:33 ---> 9eecdb9e807d 09:08:33 Step 8/29 : WORKDIR /device-usb-camera 09:08:33 ---> Running in 14c19397028e 09:08:33 Removing intermediate container 14c19397028e 09:08:33 ---> 3e5ea5b43857 09:08:33 Step 9/29 : COPY go.mod vendor* ./ 09:08:33 ---> bf7267627f0b 09:08:33 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:33 ---> Running in 5f03de612f89 09:08:34 Removing intermediate container 5f03de612f89 09:08:34 ---> 267cba77157b 09:08:34 Step 11/29 : COPY . . 09:08:34 ---> 67598a0f5d36 09:08:34 Step 12/29 : RUN ${MAKE} 09:08:34 ---> Running in c633adf3bdf4 09:08:34 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 09:08:56 Removing intermediate container c633adf3bdf4 09:08:56 ---> bcfc6446ddf2 09:08:56 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:08:56 v0.18.4: Pulling from aler9/rtsp-simple-server 09:08:56 af6660deedbd: Pulling fs layer 09:08:56 97cd0a44c592: Pulling fs layer 09:08:56 97cd0a44c592: Verifying Checksum 09:08:56 97cd0a44c592: Download complete 09:08:56 af6660deedbd: Verifying Checksum 09:08:56 af6660deedbd: Download complete 09:08:56 af6660deedbd: Pull complete 09:08:56 97cd0a44c592: Pull complete 09:08:56 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:08:56 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:08:56 ---> fea57e182299 09:08:56 Step 14/29 : FROM alpine:3.15 09:08:56 3.15: Pulling from library/alpine 09:08:56 df9b9388f04a: Pulling fs layer 09:08:56 df9b9388f04a: Verifying Checksum 09:08:56 df9b9388f04a: Download complete 09:08:56 df9b9388f04a: Pull complete 09:08:56 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:08:56 Status: Downloaded newer image for alpine:3.15 09:08:56 ---> 0ac33e5f5afa 09:08:56 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:08:56 ---> Running in 772c9ac955ba 09:08:56 Removing intermediate container 772c9ac955ba 09:08:56 ---> 937d60a7ff8a 09:08:56 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:08:56 ---> Running in 7e10ca334fd7 09:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:08:56 (1/74) Installing dumb-init (1.2.5-r1) 09:08:56 (2/74) Installing sdl2 (2.0.16-r4) 09:08:56 (3/74) Installing libxau (1.0.9-r0) 09:08:56 (4/74) Installing libmd (1.0.3-r0) 09:08:56 (5/74) Installing libbsd (0.11.3-r1) 09:08:56 (6/74) Installing libxdmcp (1.1.3-r0) 09:08:56 (7/74) Installing libxcb (1.14-r2) 09:08:56 (8/74) Installing libx11 (1.7.2-r0) 09:08:56 (9/74) Installing aom-libs (3.2.0-r0) 09:08:57 (10/74) Installing alsa-lib (1.2.5.1-r1) 09:08:57 (11/74) Installing expat (2.4.7-r0) 09:08:57 (12/74) Installing brotli-libs (1.0.9-r5) 09:08:57 (13/74) Installing libbz2 (1.0.8-r1) 09:08:57 (14/74) Installing libpng (1.6.37-r1) 09:08:57 (15/74) Installing freetype (2.11.1-r2) 09:08:57 (16/74) Installing libuuid (2.37.4-r0) 09:08:57 (17/74) Installing fontconfig (2.13.1-r4) 09:08:57 (18/74) Installing fribidi (1.0.11-r0) 09:08:57 (19/74) Installing libffi (3.4.2-r1) 09:08:57 (20/74) Installing libintl (0.21-r0) 09:08:57 (21/74) Installing libblkid (2.37.4-r0) 09:08:57 (22/74) Installing libmount (2.37.4-r0) 09:08:57 (23/74) Installing pcre (8.45-r1) 09:08:57 (24/74) Installing glib (2.70.1-r0) 09:08:57 (25/74) Installing graphite2 (1.3.14-r0) 09:08:57 (26/74) Installing harfbuzz (3.0.0-r2) 09:08:57 (27/74) Installing libass (0.15.2-r0) 09:08:57 (28/74) Installing libdav1d (0.9.2-r0) 09:08:57 (29/74) Installing gmp (6.2.1-r1) 09:08:57 (30/74) Installing nettle (3.7.3-r0) 09:08:57 (31/74) Installing p11-kit (0.24.0-r1) 09:08:57 (32/74) Installing libtasn1 (4.18.0-r0) 09:08:57 (33/74) Installing libunistring (0.9.10-r1) 09:08:57 (34/74) Installing gnutls (3.7.1-r0) 09:08:57 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 09:08:57 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 09:08:57 (37/74) Installing lame (3.100-r0) 09:08:57 (38/74) Installing opus (1.3.1-r1) 09:08:57 (39/74) Installing libgomp (10.3.1_git20211027-r0) 09:08:57 (40/74) Installing soxr (0.1.3-r2) 09:08:57 (41/74) Installing libgcc (10.3.1_git20211027-r0) 09:08:57 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 09:08:57 (43/74) Installing libsrt (1.4.2-r1) 09:08:57 (44/74) Installing libssh (0.9.6-r1) 09:08:57 (45/74) Installing libogg (1.3.5-r0) 09:08:57 (46/74) Installing libtheora (1.1.1-r16) 09:08:57 (47/74) Installing libjpeg-turbo (2.1.2-r0) 09:08:57 (48/74) Installing v4l-utils-libs (1.22.1-r1) 09:08:57 (49/74) Installing libxext (1.3.4-r0) 09:08:57 (50/74) Installing libxfixes (6.0.0-r0) 09:08:57 (51/74) Installing libpciaccess (0.16-r0) 09:08:57 (52/74) Installing libdrm (2.4.109-r0) 09:08:57 (53/74) Installing wayland-libs-client (1.19.0-r1) 09:08:57 (54/74) Installing libva (2.13.0-r0) 09:08:57 (55/74) Installing libvdpau (1.4-r0) 09:08:57 (56/74) Installing vidstab (1.1.0-r1) 09:08:57 (57/74) Installing libvorbis (1.3.7-r0) 09:08:57 (58/74) Installing libvpx (1.10.0-r0) 09:08:57 (59/74) Installing vulkan-loader (1.2.196-r0) 09:08:57 (60/74) Installing libwebp (1.2.2-r0) 09:08:57 (61/74) Installing x264-libs (20210613-r0) 09:08:57 (62/74) Installing x265-libs (3.5-r0) 09:08:57 (63/74) Installing xvidcore (1.3.7-r1) 09:08:57 (64/74) Installing ffmpeg-libs (4.4.1-r2) 09:08:57 (65/74) Installing ffmpeg (4.4.1-r2) 09:08:57 (66/74) Installing udev-init-scripts (35-r0) 09:08:57 Executing udev-init-scripts-35-r0.post-install 09:08:57 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 09:08:57 (68/74) Installing xz-libs (5.2.5-r1) 09:08:57 (69/74) Installing zstd-libs (1.5.0-r0) 09:08:57 (70/74) Installing kmod-libs (29-r2) 09:08:57 (71/74) Installing eudev (3.2.11_pre1-r0) 09:08:57 (72/74) Installing libsodium (1.0.18-r0) 09:08:57 (73/74) Installing libzmq (4.3.4-r0) 09:08:57 (74/74) Installing zeromq (4.3.4-r0) 09:08:57 Executing busybox-1.34.1-r5.trigger 09:08:57 Executing eudev-3.2.11_pre1-r0.trigger 09:08:57 OK: 78 MiB in 88 packages 09:08:59 Removing intermediate container 7e10ca334fd7 09:08:59 ---> 094046e90aab 09:08:59 Step 17/29 : WORKDIR / 09:08:59 ---> Running in 4a4f6d6101f2 09:08:59 Removing intermediate container 4a4f6d6101f2 09:08:59 ---> 2f919194b857 09:08:59 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 09:09:00 ---> 970408090021 09:09:00 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 09:09:00 ---> 76c5d46c58a8 09:09:00 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:09:00 ---> 32156368885f 09:09:00 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:09:00 ---> 82af0c298c21 09:09:00 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 09:09:00 ---> dad21e93d838 09:09:00 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 09:09:01 ---> 0242bd5e225d 09:09:01 Step 24/29 : EXPOSE 59983 09:09:01 ---> Running in 0682e98473cf 09:09:01 Removing intermediate container 0682e98473cf 09:09:01 ---> 0975178a8137 09:09:01 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:09:01 ---> Running in ad021877595c 09:09:01 Removing intermediate container ad021877595c 09:09:01 ---> 6fac82b4ce1e 09:09:01 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:09:01 ---> Running in 77eeca97d39c 09:09:01 Removing intermediate container 77eeca97d39c 09:09:01 ---> 247567837ecc 09:09:01 Step 27/29 : LABEL arch=amd64 09:09:01 ---> Running in f91c319a9ab9 09:09:01 Removing intermediate container f91c319a9ab9 09:09:01 ---> c7fff68c86c2 09:09:01 Step 28/29 : LABEL git_sha=f0869547065ff951d29868c456c216123e6da9de 09:09:01 ---> Running in 8edba551ae82 09:09:01 Removing intermediate container 8edba551ae82 09:09:01 ---> c541b4d1abec 09:09:01 Step 29/29 : LABEL version=0.0.0 09:09:01 ---> Running in 2249718de396 09:09:01 Removing intermediate container 2249718de396 09:09:01 ---> a3672543944e 09:09:01 [Warning] One or more build-args [ARCH] were not consumed 09:09:01 Successfully built a3672543944e 09:09:01 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:02 09:09:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:09:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:02 latest: Pulling from edgex-lftools-log-publisher 09:09:02 5eb5b503b376: Pulling fs layer 09:09:02 5c69ac0246d0: Pulling fs layer 09:09:02 ec43610c2a17: Pulling fs layer 09:09:02 3a2ae6a8a46f: Pulling fs layer 09:09:02 33b1e0a273af: Pulling fs layer 09:09:02 5d3b04190fa2: Pulling fs layer 09:09:02 2f39f015ded8: Pulling fs layer 09:09:02 3a2ae6a8a46f: Waiting 09:09:02 33b1e0a273af: Waiting 09:09:02 5d3b04190fa2: Waiting 09:09:02 2f39f015ded8: Waiting 09:09:02 5c69ac0246d0: Download complete 09:09:02 3a2ae6a8a46f: Verifying Checksum 09:09:02 3a2ae6a8a46f: Download complete 09:09:02 33b1e0a273af: Verifying Checksum 09:09:02 33b1e0a273af: Download complete 09:09:02 5d3b04190fa2: Verifying Checksum 09:09:02 5d3b04190fa2: Download complete 09:09:02 ec43610c2a17: Verifying Checksum 09:09:02 ec43610c2a17: Download complete 09:09:03 5eb5b503b376: Verifying Checksum 09:09:03 5eb5b503b376: Download complete 09:09:03 2f39f015ded8: Download complete 09:09:04 5eb5b503b376: Pull complete 09:09:04 5c69ac0246d0: Pull complete 09:09:04 ec43610c2a17: Pull complete 09:09:04 3a2ae6a8a46f: Pull complete 09:09:05 33b1e0a273af: Pull complete 09:09:05 5d3b04190fa2: Pull complete 09:09:09 2f39f015ded8: Pull complete 09:09:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:09:09 prd-ubuntu20.04-docker-8c-8g-64348 does not seem to be running inside a container 09:09:09 $ 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-33 -v /w/workspace/xfoundry_device-usb-camera_PR-33:/w/workspace/xfoundry_device-usb-camera_PR-33:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-33@tmp:/w/workspace/xfoundry_device-usb-camera_PR-33@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:11 $ docker top dbcd90136f60c85886b8732c0d0a7dd726e72ba184739a1636a34d80f23d80ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:11 ---> job-cost.sh 09:09:11 lf-activate-venv: SKIPPING 09:09:11 INFO: No Stack... 09:09:12 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:12 INFO: Archiving Costs [Pipeline] sh 09:09:12 + cat /w/workspace/xfoundry_device-usb-camera_PR-33/archives/cost.csv 09:09:12 + cut -d, -f6 [Pipeline] lock 09:09:12 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] 09:09:12 Resource [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] did not exist. Created. 09:09:12 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:13 + echo total: 0.2199999988079071 [Pipeline] stash 09:09:13 Stashed 1 file(s) [Pipeline] } 09:09:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:13 $ docker stop --time=1 dbcd90136f60c85886b8732c0d0a7dd726e72ba184739a1636a34d80f23d80ad 09:09:14 $ docker rm -f dbcd90136f60c85886b8732c0d0a7dd726e72ba184739a1636a34d80f23d80ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:11:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64349 in /w/workspace/xfoundry_device-usb-camera_PR-33 [Pipeline] { [Pipeline] ws 09:11:29 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 09:11:30 Selected Git installation does not exist. Using Default 09:11:30 The recommended git tool is: NONE 09:11:37 using credential edgex-jenkins-ssh 09:11:37 Cloning the remote Git repository 09:11:37 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:11:37 > git init /w/workspace/device-usb-camera/1 # timeout=10 09:11:37 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:11:37 > git --version # timeout=10 09:11:37 > git --version # 'git version 2.25.1' 09:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:11:38 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:11:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:11:38 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:11:38 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:11:38 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit f0869547065ff951d29868c456c216123e6da9de 09:11:39 Merge succeeded, producing f0869547065ff951d29868c456c216123e6da9de 09:11:39 Checking out Revision f0869547065ff951d29868c456c216123e6da9de (PR-33) 09:11:38 > git config core.sparsecheckout # timeout=10 09:11:38 > git checkout -f f0869547065ff951d29868c456c216123e6da9de # timeout=10 09:11:39 > git remote # timeout=10 09:11:39 > git config --get remote.origin.url # timeout=10 09:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:11:39 > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 09:11:39 > git rev-parse HEAD^{commit} # timeout=10 09:11:39 > git config core.sparsecheckout # timeout=10 09:11:39 > git checkout -f f0869547065ff951d29868c456c216123e6da9de # timeout=10 09:11:43 Commit message: "docs: link to all device examples" 09:11:43 > git --version # timeout=10 09:11:43 > git --version # 'git version 2.25.1' 09:11:43 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:11:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:11:44 % Total % Received % Xferd Average Speed Time Time Time Current 09:11:44 Dload Upload Total Spent Left Speed 09:11:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50217 0 --:--:-- --:--:-- --:--:-- 50423 [Pipeline] sh 09:11:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:11:45 + sudo+ tee /etc/docker/daemon.new 09:11:45 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:11:45 { 09:11:45 "registry-mirrors": [ 09:11:45 "https://nexus3.edgexfoundry.org:10001" 09:11:45 ], 09:11:45 "bip": "10.250.0.254/24", 09:11:45 "hosts": [ 09:11:45 "tcp://0.0.0.0:5555", 09:11:45 "unix:///var/run/docker.sock" 09:11:45 ], 09:11:45 "mtu": 1458, 09:11:45 "selinux-enabled": true, 09:11:45 "seccomp-profile": "/etc/docker/seccomp.json" 09:11:45 } [Pipeline] sh 09:11:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:11:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:04 provisioning config files... 09:12:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6042586434030772382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:05 ---> docker-login.sh 09:12:05 nexus3.edgexfoundry.org:10001 09:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:06 Configure a credential helper to remove this warning. See 09:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:06 09:12:06 Login Succeeded 09:12:06 nexus3.edgexfoundry.org:10002 09:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:07 Configure a credential helper to remove this warning. See 09:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:07 09:12:07 Login Succeeded 09:12:07 nexus3.edgexfoundry.org:10003 09:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:07 Configure a credential helper to remove this warning. See 09:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:07 09:12:07 Login Succeeded 09:12:07 nexus3.edgexfoundry.org:10004 09:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:07 Configure a credential helper to remove this warning. See 09:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:07 09:12:07 Login Succeeded 09:12:07 docker.io 09:12:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:12:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:12:08 Configure a credential helper to remove this warning. See 09:12:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:12:08 09:12:08 Login Succeeded 09:12:08 ---> docker-login.sh ends [Pipeline] } 09:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:12:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:12:09 ========================================================= 09:12:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:12:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:12:09 + 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 . 09:12:09 Sending build context to Docker daemon 411.1kB 09:12:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:12:09 Step 2/12 : FROM ${BASE} AS builder 09:12:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:12:10 9b3977197b4f: Pulling fs layer 09:12:10 1a89e8eeedd5: Pulling fs layer 09:12:10 94645a83ff95: Pulling fs layer 09:12:10 3f3a8bcf1eab: Pulling fs layer 09:12:10 0c92f367c5e7: Pulling fs layer 09:12:10 3096ccb668a1: Pulling fs layer 09:12:10 e8cf19c19ddd: Pulling fs layer 09:12:10 a4caa8a26152: Pulling fs layer 09:12:10 0c92f367c5e7: Waiting 09:12:10 3096ccb668a1: Waiting 09:12:10 e8cf19c19ddd: Waiting 09:12:10 a4caa8a26152: Waiting 09:12:10 3f3a8bcf1eab: Waiting 09:12:10 94645a83ff95: Verifying Checksum 09:12:10 94645a83ff95: Download complete 09:12:10 1a89e8eeedd5: Download complete 09:12:10 0c92f367c5e7: Verifying Checksum 09:12:10 0c92f367c5e7: Download complete 09:12:10 3096ccb668a1: Download complete 09:12:10 9b3977197b4f: Verifying Checksum 09:12:10 9b3977197b4f: Download complete 09:12:10 e8cf19c19ddd: Verifying Checksum 09:12:10 e8cf19c19ddd: Download complete 09:12:11 9b3977197b4f: Pull complete 09:12:11 1a89e8eeedd5: Pull complete 09:12:11 94645a83ff95: Pull complete 09:12:12 a4caa8a26152: Verifying Checksum 09:12:12 a4caa8a26152: Download complete 09:12:13 3f3a8bcf1eab: Verifying Checksum 09:12:13 3f3a8bcf1eab: Download complete 09:12:25 3f3a8bcf1eab: Pull complete 09:12:25 0c92f367c5e7: Pull complete 09:12:25 3096ccb668a1: Pull complete 09:12:25 e8cf19c19ddd: Pull complete 09:12:32 a4caa8a26152: Pull complete 09:12:32 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:12:32 ---> 725f1c02e7f9 09:12:32 Step 3/12 : ARG MAKE="make build" 09:12:32 ---> Running in e4da5c854e96 09:12:32 Removing intermediate container e4da5c854e96 09:12:32 ---> 594a02c5c84c 09:12:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:12:32 ---> Running in e9a457a470bd 09:12:32 Removing intermediate container e9a457a470bd 09:12:32 ---> 60478a282c1c 09:12:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:12:32 ---> Running in 63072f78f6cb 09:12:33 Removing intermediate container 63072f78f6cb 09:12:33 ---> 8ee557e76225 09:12:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:33 ---> Running in e23ae81f3510 09:12:35 Removing intermediate container e23ae81f3510 09:12:35 ---> ab5c7b73ed51 09:12:35 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:12:35 ---> Running in 95657b98e10d 09:12:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:12:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:12:38 (1/14) Installing libintl (0.21-r0) 09:12:38 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 09:12:38 (3/14) Installing libjpeg-turbo (2.1.2-r0) 09:12:38 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:12:38 (5/14) Installing v4l-utils (1.22.1-r1) 09:12:38 (6/14) Installing udev-init-scripts (35-r0) 09:12:38 Executing udev-init-scripts-35-r0.post-install 09:12:38 (7/14) Installing libblkid (2.37.4-r0) 09:12:38 (8/14) Installing xz-libs (5.2.5-r1) 09:12:38 (9/14) Installing zstd-libs (1.5.0-r0) 09:12:39 (10/14) Installing kmod-libs (29-r2) 09:12:39 (11/14) Installing eudev (3.2.11_pre1-r0) 09:12:39 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 09:12:39 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:12:39 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:12:39 Executing busybox-1.34.1-r3.trigger 09:12:39 Executing eudev-3.2.11_pre1-r0.trigger 09:12:39 OK: 227 MiB in 66 packages 09:12:40 Removing intermediate container 95657b98e10d 09:12:40 ---> f32a402e0fc6 09:12:40 Step 8/12 : WORKDIR /device-usb-camera 09:12:40 ---> Running in 286967c3cb66 09:12:40 Removing intermediate container 286967c3cb66 09:12:40 ---> 03d9ba57580b 09:12:40 Step 9/12 : COPY go.mod vendor* ./ 09:12:41 ---> b639cb997f7a 09:12:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:12:41 ---> Running in 098fd93d31bc 09:13:28 Removing intermediate container 098fd93d31bc 09:13:28 ---> 8c59bd55b40c 09:13:28 Step 11/12 : COPY . . 09:13:28 ---> f84320008ae3 09:13:28 Step 12/12 : RUN ${MAKE} 09:13:28 ---> Running in d9afe8f5e7ec 09:13:28 noop 09:13:29 Removing intermediate container d9afe8f5e7ec 09:13:29 ---> 3eeec86e03f3 09:13:29 Successfully built 3eeec86e03f3 09:13:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:13:29 + docker inspect -f . ci-base-image-arm64 09:13:29 . [Pipeline] withDockerContainer 09:13:29 prd-ubuntu20.04-docker-arm64-4c-16g-64349 does not seem to be running inside a container 09:13:30 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:13:31 $ docker top d6d047d6f1605c6e95cd2623e0d54038b834141fa16b56ce0694e765ccc9bf39 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:32 + go version 09:13:32 go version go1.17.6 linux/arm64 [Pipeline] } 09:13:32 $ docker stop --time=1 d6d047d6f1605c6e95cd2623e0d54038b834141fa16b56ce0694e765ccc9bf39 09:13:34 $ docker rm -f d6d047d6f1605c6e95cd2623e0d54038b834141fa16b56ce0694e765ccc9bf39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:13:35 + docker inspect -f . ci-base-image-arm64 09:13:35 . [Pipeline] withDockerContainer 09:13:35 prd-ubuntu20.04-docker-arm64-4c-16g-64349 does not seem to be running inside a container 09:13: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 ******** -e ******** -e ******** ci-base-image-arm64 cat 09:13:36 $ docker top 720bf20418dbe077fe0b87cdc383550e6ed6ee968e13605e6e5138d503bcd17e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:13:37 + make test 09:13:37 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:13:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:15:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:15:16 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 09:15:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:15:16 CGO_ENABLED=1 go vet ./... 09:15:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:15:35 ./bin/test-attribution-txt.sh [Pipeline] echo 09:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:15:35 $ docker stop --time=1 720bf20418dbe077fe0b87cdc383550e6ed6ee968e13605e6e5138d503bcd17e 09:15:37 $ docker rm -f 720bf20418dbe077fe0b87cdc383550e6ed6ee968e13605e6e5138d503bcd17e [Pipeline] // withDockerContainer [Pipeline] sh 09:15:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:38 Warning: overwriting stash ‘coverage-report’ 09:15:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:40 + ls -al . 09:15:40 total 160 09:15:40 drwxrwxr-x 8 jenkins jenkins 4096 May 23 09:15 . 09:15:40 drwxrwxr-x 4 jenkins jenkins 4096 May 23 09:11 .. 09:15:40 drwxrwxr-x 8 jenkins jenkins 4096 May 23 09:11 .git 09:15:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:11 .github 09:15:40 -rw-rw-r-- 1 jenkins jenkins 349 May 23 09:11 .gitignore 09:15:40 -rw-rw-r-- 1 jenkins jenkins 42 May 23 09:11 .golangci.yml 09:15:40 -rw-rw-r-- 1 jenkins jenkins 77 May 23 09:11 .hadolint.yml 09:15:40 -rw-rw-r-- 1 jenkins jenkins 8706 May 23 09:11 Attribution.txt 09:15:40 -rw-rw-r-- 1 jenkins jenkins 181 May 23 09:11 CHANGELOG.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 1891 May 23 09:11 Dockerfile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 678 May 23 09:11 GOVERNANCE.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 659 May 23 09:11 Jenkinsfile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 09:11 LICENSE 09:15:40 -rw-rw-r-- 1 jenkins jenkins 2030 May 23 09:11 Makefile 09:15:40 -rw-rw-r-- 1 jenkins jenkins 622 May 23 09:11 OWNERS.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 8912 May 23 09:11 README.md 09:15:40 -rw-rw-r-- 1 jenkins jenkins 5 May 23 09:07 VERSION 09:15:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:11 bin 09:15:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 09:11 cmd 09:15:40 -rw-r--r-- 1 jenkins jenkins 10 May 23 09:13 coverage.out 09:15:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 09:11 docker-compose 09:15:40 -rw-rw-r-- 1 jenkins jenkins 140 May 23 09:11 docker-entrypoint.sh 09:15:40 -rw-rw-r-- 1 jenkins jenkins 3307 May 23 09:11 go.mod 09:15:40 -rw-rw-r-- 1 jenkins jenkins 35656 May 23 09:11 go.sum 09:15:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 09:11 internal 09:15:40 -rw-rw-r-- 1 jenkins jenkins 231 May 23 09:11 version.go [Pipeline] isUnix [Pipeline] sh 09:15:40 + 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=f0869547065ff951d29868c456c216123e6da9de --label arch=arm64 --label version=0.0.0 . 09:15:41 Sending build context to Docker daemon 412.2kB 09:15:41 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 09:15:41 Step 2/29 : FROM ${BASE} AS builder 09:15:41 ---> 3eeec86e03f3 09:15:41 Step 3/29 : ARG MAKE="make build" 09:15:41 ---> Running in 0b63af63cba1 09:15:41 Removing intermediate container 0b63af63cba1 09:15:41 ---> 11263907db74 09:15:41 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:15:41 ---> Running in ca39b5d96a06 09:15:42 Removing intermediate container ca39b5d96a06 09:15:42 ---> 0de20d66a620 09:15:42 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:15:42 ---> Running in 7999de1f637a 09:15:42 Removing intermediate container 7999de1f637a 09:15:42 ---> 02816fd589c9 09:15:42 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:42 ---> Running in 03048f41c779 09:15:44 Removing intermediate container 03048f41c779 09:15:44 ---> ca0db2eaf0cb 09:15:44 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:44 ---> Running in c3dd20257766 09:15:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:15:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:15:47 OK: 227 MiB in 66 packages 09:15:48 Removing intermediate container c3dd20257766 09:15:48 ---> 49129bfe0bbc 09:15:48 Step 8/29 : WORKDIR /device-usb-camera 09:15:48 ---> Running in e449dee41b80 09:15:48 Removing intermediate container e449dee41b80 09:15:48 ---> 7d930237ecba 09:15:48 Step 9/29 : COPY go.mod vendor* ./ 09:15:48 ---> 245cfce1b789 09:15:48 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:49 ---> Running in c92622a5dab8 09:15:51 Removing intermediate container c92622a5dab8 09:15:51 ---> ea48043656ec 09:15:51 Step 11/29 : COPY . . 09:15:51 ---> 80513489c4f6 09:15:51 Step 12/29 : RUN ${MAKE} 09:15:51 ---> Running in c33e5a3c3f9c 09:15:53 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 09:18:15 Removing intermediate container c33e5a3c3f9c 09:18:15 ---> 4c8ff9521e95 09:18:15 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:18:15 v0.18.4: Pulling from aler9/rtsp-simple-server 09:18:15 eab2503cf8f4: Pulling fs layer 09:18:15 97cd0a44c592: Pulling fs layer 09:18:15 97cd0a44c592: Verifying Checksum 09:18:15 97cd0a44c592: Download complete 09:18:15 eab2503cf8f4: Verifying Checksum 09:18:15 eab2503cf8f4: Download complete 09:18:15 eab2503cf8f4: Pull complete 09:18:15 97cd0a44c592: Pull complete 09:18:15 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:18:15 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:18:15 ---> 7f763cca56b3 09:18:15 Step 14/29 : FROM alpine:3.15 09:18:15 3.15: Pulling from library/alpine 09:18:15 9981e73032c8: Pulling fs layer 09:18:15 9981e73032c8: Verifying Checksum 09:18:15 9981e73032c8: Download complete 09:18:15 9981e73032c8: Pull complete 09:18:15 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:18:15 Status: Downloaded newer image for alpine:3.15 09:18:15 ---> 3fb3c9af89a9 09:18:15 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:18:15 ---> Running in d6fae4681520 09:18:15 Removing intermediate container d6fae4681520 09:18:15 ---> 442d9d137b76 09:18:15 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:18:15 ---> Running in acafb8e3aa33 09:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:18:15 (1/73) Installing dumb-init (1.2.5-r1) 09:18:15 (2/73) Installing sdl2 (2.0.16-r4) 09:18:15 (3/73) Installing libxau (1.0.9-r0) 09:18:15 (4/73) Installing libmd (1.0.3-r0) 09:18:15 (5/73) Installing libbsd (0.11.3-r1) 09:18:15 (6/73) Installing libxdmcp (1.1.3-r0) 09:18:15 (7/73) Installing libxcb (1.14-r2) 09:18:15 (8/73) Installing libx11 (1.7.2-r0) 09:18:15 (9/73) Installing aom-libs (3.2.0-r0) 09:18:15 (10/73) Installing alsa-lib (1.2.5.1-r1) 09:18:15 (11/73) Installing expat (2.4.7-r0) 09:18:15 (12/73) Installing brotli-libs (1.0.9-r5) 09:18:15 (13/73) Installing libbz2 (1.0.8-r1) 09:18:15 (14/73) Installing libpng (1.6.37-r1) 09:18:15 (15/73) Installing freetype (2.11.1-r2) 09:18:15 (16/73) Installing libuuid (2.37.4-r0) 09:18:15 (17/73) Installing fontconfig (2.13.1-r4) 09:18:15 (18/73) Installing fribidi (1.0.11-r0) 09:18:15 (19/73) Installing libffi (3.4.2-r1) 09:18:15 (20/73) Installing libintl (0.21-r0) 09:18:15 (21/73) Installing libblkid (2.37.4-r0) 09:18:15 (22/73) Installing libmount (2.37.4-r0) 09:18:15 (23/73) Installing pcre (8.45-r1) 09:18:15 (24/73) Installing glib (2.70.1-r0) 09:18:15 (25/73) Installing graphite2 (1.3.14-r0) 09:18:15 (26/73) Installing harfbuzz (3.0.0-r2) 09:18:15 (27/73) Installing libass (0.15.2-r0) 09:18:15 (28/73) Installing libdav1d (0.9.2-r0) 09:18:15 (29/73) Installing gmp (6.2.1-r1) 09:18:15 (30/73) Installing nettle (3.7.3-r0) 09:18:15 (31/73) Installing p11-kit (0.24.0-r1) 09:18:15 (32/73) Installing libtasn1 (4.18.0-r0) 09:18:15 (33/73) Installing libunistring (0.9.10-r1) 09:18:15 (34/73) Installing gnutls (3.7.1-r0) 09:18:15 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 09:18:15 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 09:18:15 (37/73) Installing lame (3.100-r0) 09:18:15 (38/73) Installing opus (1.3.1-r1) 09:18:15 (39/73) Installing libgomp (10.3.1_git20211027-r0) 09:18:15 (40/73) Installing soxr (0.1.3-r2) 09:18:15 (41/73) Installing libgcc (10.3.1_git20211027-r0) 09:18:15 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 09:18:15 (43/73) Installing libsrt (1.4.2-r1) 09:18:15 (44/73) Installing libssh (0.9.6-r1) 09:18:15 (45/73) Installing libogg (1.3.5-r0) 09:18:15 (46/73) Installing libtheora (1.1.1-r16) 09:18:15 (47/73) Installing libjpeg-turbo (2.1.2-r0) 09:18:15 (48/73) Installing v4l-utils-libs (1.22.1-r1) 09:18:15 (49/73) Installing libxext (1.3.4-r0) 09:18:15 (50/73) Installing libxfixes (6.0.0-r0) 09:18:15 (51/73) Installing libdrm (2.4.109-r0) 09:18:15 (52/73) Installing wayland-libs-client (1.19.0-r1) 09:18:15 (53/73) Installing libva (2.13.0-r0) 09:18:15 (54/73) Installing libvdpau (1.4-r0) 09:18:15 (55/73) Installing vidstab (1.1.0-r1) 09:18:15 (56/73) Installing libvorbis (1.3.7-r0) 09:18:15 (57/73) Installing libvpx (1.10.0-r0) 09:18:15 (58/73) Installing vulkan-loader (1.2.196-r0) 09:18:15 (59/73) Installing libwebp (1.2.2-r0) 09:18:15 (60/73) Installing x264-libs (20210613-r0) 09:18:15 (61/73) Installing x265-libs (3.5-r0) 09:18:15 (62/73) Installing xvidcore (1.3.7-r1) 09:18:15 (63/73) Installing ffmpeg-libs (4.4.1-r2) 09:18:15 (64/73) Installing ffmpeg (4.4.1-r2) 09:18:15 (65/73) Installing udev-init-scripts (35-r0) 09:18:15 Executing udev-init-scripts-35-r0.post-install 09:18:15 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 09:18:15 (67/73) Installing xz-libs (5.2.5-r1) 09:18:15 (68/73) Installing zstd-libs (1.5.0-r0) 09:18:15 (69/73) Installing kmod-libs (29-r2) 09:18:15 (70/73) Installing eudev (3.2.11_pre1-r0) 09:18:15 (71/73) Installing libsodium (1.0.18-r0) 09:18:15 (72/73) Installing libzmq (4.3.4-r0) 09:18:15 (73/73) Installing zeromq (4.3.4-r0) 09:18:15 Executing busybox-1.34.1-r5.trigger 09:18:15 Executing eudev-3.2.11_pre1-r0.trigger 09:18:15 OK: 67 MiB in 87 packages 09:18:15 Removing intermediate container acafb8e3aa33 09:18:15 ---> 1ad064db31df 09:18:15 Step 17/29 : WORKDIR / 09:18:15 ---> Running in daf282263cf7 09:18:15 Removing intermediate container daf282263cf7 09:18:15 ---> 59ce6e038c6a 09:18:15 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 09:18:17 ---> f93dd1112bdb 09:18:17 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 09:18:17 ---> 1400874ad1a4 09:18:17 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:18:18 ---> bcfcbc310e19 09:18:18 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:18:19 ---> a1029198f37b 09:18:19 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 09:18:19 ---> a3fcee8a7dee 09:18:19 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 09:18:21 ---> 9022666b55e5 09:18:21 Step 24/29 : EXPOSE 59983 09:18:21 ---> Running in b41e45de8cac 09:18:21 Removing intermediate container b41e45de8cac 09:18:21 ---> 71f6f4e88130 09:18:21 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:18:21 ---> Running in fc28cab3999b 09:18:21 Removing intermediate container fc28cab3999b 09:18:21 ---> 41280331cda8 09:18:21 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:18:21 ---> Running in fd9f905eafce 09:18:22 Removing intermediate container fd9f905eafce 09:18:22 ---> 653fa02eb065 09:18:22 Step 27/29 : LABEL arch=arm64 09:18:22 ---> Running in c81953b538d5 09:18:22 Removing intermediate container c81953b538d5 09:18:22 ---> 3b317c8d3432 09:18:22 Step 28/29 : LABEL git_sha=f0869547065ff951d29868c456c216123e6da9de 09:18:22 ---> Running in 8c6b6b503277 09:18:22 Removing intermediate container 8c6b6b503277 09:18:22 ---> 7292b0dd4c80 09:18:22 Step 29/29 : LABEL version=0.0.0 09:18:22 ---> Running in ad23bb605c54 09:18:23 Removing intermediate container ad23bb605c54 09:18:23 ---> 5f45e7bfe8ef 09:18:23 [Warning] One or more build-args [ARCH] were not consumed 09:18:23 Successfully built 5f45e7bfe8ef 09:18:23 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 09:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:18:23 09:18:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:18:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:18:24 arm64: Pulling from edgex-lftools-log-publisher 09:18:24 8998bd30e6a1: Pulling fs layer 09:18:24 04944245beec: Pulling fs layer 09:18:24 699f458cf7ca: Pulling fs layer 09:18:24 765212b225bb: Pulling fs layer 09:18:24 f23df028b6ca: Pulling fs layer 09:18:24 d65c8cfc05b1: Pulling fs layer 09:18:24 2437ff75d9bd: Pulling fs layer 09:18:24 765212b225bb: Waiting 09:18:24 f23df028b6ca: Waiting 09:18:24 2437ff75d9bd: Waiting 09:18:24 d65c8cfc05b1: Waiting 09:18:24 04944245beec: Verifying Checksum 09:18:24 04944245beec: Download complete 09:18:24 765212b225bb: Verifying Checksum 09:18:24 765212b225bb: Download complete 09:18:24 f23df028b6ca: Verifying Checksum 09:18:24 f23df028b6ca: Download complete 09:18:24 d65c8cfc05b1: Verifying Checksum 09:18:24 d65c8cfc05b1: Download complete 09:18:24 699f458cf7ca: Verifying Checksum 09:18:24 699f458cf7ca: Download complete 09:18:25 8998bd30e6a1: Verifying Checksum 09:18:25 8998bd30e6a1: Download complete 09:18:27 2437ff75d9bd: Verifying Checksum 09:18:27 2437ff75d9bd: Download complete 09:18:29 8998bd30e6a1: Pull complete 09:18:30 04944245beec: Pull complete 09:18:31 699f458cf7ca: Pull complete 09:18:32 765212b225bb: Pull complete 09:18:33 f23df028b6ca: Pull complete 09:18:33 d65c8cfc05b1: Pull complete 09:18:48 2437ff75d9bd: Pull complete 09:18:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:18:48 prd-ubuntu20.04-docker-arm64-4c-16g-64349 does not seem to be running inside a container 09:18:48 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:18:51 $ docker top e904b7d2036ce0d13b1824297fdd18e224c78e0ed82b41c2424a0e09ddda10a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:18:52 ---> job-cost.sh 09:18:52 lf-activate-venv: SKIPPING 09:18:52 INFO: No Stack... 09:18:53 INFO: Retrieving Pricing Info for: v3-standard-4 09:18:54 INFO: Archiving Costs [Pipeline] sh 09:18:54 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 09:18:54 + cut -d, -f6 [Pipeline] lock 09:18:54 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] 09:18:54 Resource [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] did not exist. Created. 09:18:54 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:18:55 /w/workspace/device-usb-camera/1@tmp/durable-5fa70167/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:18:56 + echo total: 0.10999999940395355 [Pipeline] stash 09:18:56 Warning: overwriting stash ‘stack-cost’ 09:18:56 Stashed 1 file(s) [Pipeline] } 09:18:56 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-33-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:18:56 $ docker stop --time=1 e904b7d2036ce0d13b1824297fdd18e224c78e0ed82b41c2424a0e09ddda10a4 09:18:58 $ docker rm -f e904b7d2036ce0d13b1824297fdd18e224c78e0ed82b41c2424a0e09ddda10a4 [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 09:18:59 provisioning config files... 09:18:59 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/config1802901447187684484tmp [Pipeline] { [Pipeline] sh 09:18:59 + set +x 09:18:59 + curl -s https://codecov.io/bash 09:18:59 + bash -s -- 09:18:59 09:18:59 _____ _ 09:18:59 / ____| | | 09:18:59 | | ___ __| | ___ ___ _____ __ 09:18:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:18:59 | |___| (_) | (_| | __/ (_| (_) \ V / 09:18:59 \_____\___/ \__,_|\___|\___\___/ \_/ 09:18:59 Bash-1.0.6 09:18:59 09:18:59 09:18:59 ==> git version 2.25.1 found 09:18:59 ==> 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 09:18:59 Release-Date: 2020-01-08 09:18:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:18:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:18:59 ==> Jenkins CI detected. 09:18:59 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-33 09:18:59 project root: . 09:18:59 --> token set from env 09:18:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:18:59 ==> Running gcov in . (disable via -X gcov) 09:18:59 ==> Python coveragepy not found 09:18:59 ==> Searching for coverage reports in: 09:18:59 + . 09:18:59 -> Found 1 reports 09:18:59 ==> Detecting git/mercurial file structure 09:18:59 ==> Reading reports 09:18:59 + ./coverage.out bytes=10 09:18:59 ==> Appending adjustments 09:18:59 https://docs.codecov.io/docs/fixing-reports 09:18:59 + Found adjustments 09:18:59 ==> Gzipping contents 09:18:59 4.0K /tmp/codecov.kAHxU6.gz 09:18:59 ==> Uploading reports 09:18:59 url: https://codecov.io 09:18:59 query: branch=PR-33&commit=f0869547065ff951d29868c456c216123e6da9de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-33%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=33&job=&cmd_args= 09:18:59 -> Pinging Codecov 09:18:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-33&commit=f0869547065ff951d29868c456c216123e6da9de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-33%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=33&job=&cmd_args= 09:19:00 -> Uploading to 09:19:00 https://storage.googleapis.com/codecov/v4/raw/2022-05-23/73D8F5FF140700D3E01443B452E23636/f0869547065ff951d29868c456c216123e6da9de/db193702-71aa-4308-96ca-11f8d80580e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220523T091859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25d53c87a4bca8923e62abf4a178792dc870c04ecd516b0d20105fc9db73ae59 09:19:00 % Total % Received % Xferd Average Speed Time Time Time Current 09:19:00 Dload Upload Total Spent Left Speed 09:19:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 3678 --:--:-- --:--:-- --:--:-- 3665 100 1019 0 0 100 1019 0 3678 --:--:-- --:--:-- --:--:-- 3665 09:19:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f0869547065ff951d29868c456c216123e6da9de [Pipeline] } 09:19:00 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 09:19:02 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-33/archives ] 09:19:02 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-33/archives 09:19:02 total 16 09:19:02 drwxr-xr-x 3 root root 4096 May 23 09:09 . 09:19:02 drwxrwxr-x 10 jenkins jenkins 4096 May 23 09:09 .. 09:19:02 drwxr-xr-x 2 root root 4096 May 23 09:09 cost 09:19:02 -rw-r--r-- 1 root root 87 May 23 09:09 cost.csv 09:19:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-33/archives 09:19:02 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-33/archives 09:19:02 total 16 09:19:02 drwxr-xr-x 3 jenkins jenkins 4096 May 23 09:09 . 09:19:02 drwxrwxr-x 10 jenkins jenkins 4096 May 23 09:09 .. 09:19:02 drwxr-xr-x 2 jenkins jenkins 4096 May 23 09:09 cost 09:19:02 -rw-r--r-- 1 jenkins jenkins 87 May 23 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:19:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:19:03 ---> package-listing.sh 09:19:03 ++ facter osfamily 09:19:03 ++ tr '[:upper:]' '[:lower:]' 09:19:03 + OS_FAMILY=debian 09:19:03 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-33 09:19:03 + START_PACKAGES=/tmp/packages_start.txt 09:19:03 + END_PACKAGES=/tmp/packages_end.txt 09:19:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:19:03 + PACKAGES=/tmp/packages_start.txt 09:19:03 + '[' /w/workspace/xfoundry_device-usb-camera_PR-33 ']' 09:19:03 + PACKAGES=/tmp/packages_end.txt 09:19:03 + case "${OS_FAMILY}" in 09:19:03 + dpkg -l 09:19:03 + grep '^ii' 09:19:03 + '[' -f /tmp/packages_start.txt ']' 09:19:03 + '[' -f /tmp/packages_end.txt ']' 09:19:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:19:03 + '[' /w/workspace/xfoundry_device-usb-camera_PR-33 ']' 09:19:03 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-33/archives/ 09:19:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-33/archives/ [Pipeline] echo 09:19:03 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-33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:19:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:19:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:19:04 . [Pipeline] withDockerContainer 09:19:04 prd-ubuntu20.04-docker-8c-8g-64348 does not seem to be running inside a container 09:19:04 $ 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-33/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-33 -v /w/workspace/xfoundry_device-usb-camera_PR-33:/w/workspace/xfoundry_device-usb-camera_PR-33:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-33@tmp:/w/workspace/xfoundry_device-usb-camera_PR-33@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 09:19:04 $ docker top 342b5620c7a5f462371a1c2c73918e4588db13b8351519a4d73b80a7d7baf169 -eo pid,comm [Pipeline] { [Pipeline] sh 09:19:05 + touch /tmp/pre-build-complete [Pipeline] sh 09:19:05 + mkdir -p /var/log/sysstat [Pipeline] sh 09:19:06 + ls /var/log/sa-host 09:19:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:19:06 provisioning config files... 09:19:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-33@tmp/config8030006532020578032tmp [Pipeline] { [Pipeline] echo 09:19:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:19:06 ---> create-netrc.sh [Pipeline] } 09:19:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:19:07 ---> python-tools-install.sh [Pipeline] echo 09:19:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:19:07 ---> sudo-logs.sh 09:19:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:19:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:19:07 ---> job-cost.sh 09:19:07 lf-activate-venv: SKIPPING 09:19:07 DEBUG: total: 0.2199999988079071 09:19:07 INFO: Retrieving Stack Cost... 09:19:08 INFO: Retrieving Pricing Info for: v3-standard-8 09:19:08 INFO: Archiving Costs [Pipeline] echo 09:19:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:19:09 ---> logs-deploy.sh 09:19:09 lf-activate-venv: SKIPPING 09:19:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-33/1 09:19:09 INFO: archiving workspace using pattern(s): 09:19:10 Archives upload complete. 09:19:10 INFO: archiving logs to Nexus