Pull request #30 updated 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 c4eb13c8a517b1498d90ac2ec8f7c45f66fbb00a+aaa7e572fda13da2933300a631edf8df830ba1ce (25f79e232b814280d4527d8e0f4bd84dc0631e52) 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-ssh10591456206908394101.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-ssh16538711996422168189.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10062594971212640190.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1361006959947141965.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3472818831489042411.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64479 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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-30 # 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit c4eb13c8a517b1498d90ac2ec8f7c45f66fbb00a Merge succeeded, producing 1aefe85bbd41b7af240a476cc4babfabf5836c32 Checking out Revision 1aefe85bbd41b7af240a476cc4babfabf5836c32 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f c4eb13c8a517b1498d90ac2ec8f7c45f66fbb00a # 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 1aefe85bbd41b7af240a476cc4babfabf5836c32 # timeout=10 Commit message: "Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:55:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:55:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:55:37 ========================================================= 12:55:37 EdgeX Global Pipelines Version Info 12:55:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eea44c83b7b634690f5a4c1be6a141bff580d795 # timeout=10 12:55:38 ------------------- 12:55:38 stable info: 12:55:38 ------------------- 12:55:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:55:38 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 12:55:38 Message: update stable to v1.0.230 12:55:39 ------------------- 12:55:39 experimental info: 12:55:39 ------------------- 12:55:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:55:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 12:55:39 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aefe85bbd41b7af240a476cc4babfabf5836c32 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aefe85 [Pipeline] echo 12:55:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:39 provisioning config files... 12:55:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config5916941423712641471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:40 ---> docker-login.sh 12:55:40 nexus3.edgexfoundry.org:10001 12:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:40 Configure a credential helper to remove this warning. See 12:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:40 12:55:40 Login Succeeded 12:55:40 nexus3.edgexfoundry.org:10002 12:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:40 Configure a credential helper to remove this warning. See 12:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:40 12:55:40 Login Succeeded 12:55:40 nexus3.edgexfoundry.org:10003 12:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:40 Configure a credential helper to remove this warning. See 12:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:40 12:55:40 Login Succeeded 12:55:40 nexus3.edgexfoundry.org:10004 12:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:40 Configure a credential helper to remove this warning. See 12:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:40 12:55:40 Login Succeeded 12:55:40 docker.io 12:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:41 Configure a credential helper to remove this warning. See 12:55:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:41 12:55:41 Login Succeeded 12:55:41 ---> docker-login.sh ends [Pipeline] } 12:55:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:55:41 + git rev-list -1 --merges 1aefe85bbd41b7af240a476cc4babfabf5836c32~1..1aefe85bbd41b7af240a476cc4babfabf5836c32 [Pipeline] echo 12:55:41 -----------> git rev-list -1 --merges 1aefe85bbd41b7af240a476cc4babfabf5836c32~1..1aefe85bbd41b7af240a476cc4babfabf5836c32 1aefe85bbd41b7af240a476cc4babfabf5836c32 12:55:41 1aefe85bbd41b7af240a476cc4babfabf5836c32 [false] [Pipeline] sh 12:55:42 + git log --format=format:%s -1 1aefe85bbd41b7af240a476cc4babfabf5836c32 [Pipeline] echo 12:55:42 ========================================================= 12:55:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:55:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:42 + git log --format=format:%s -1 1aefe85bbd41b7af240a476cc4babfabf5836c32 [Pipeline] echo 12:55:42 [semverPrep] GIT_COMMIT: 1aefe85bbd41b7af240a476cc4babfabf5836c32, Commit Message: Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD [Pipeline] echo 12:55:42 [semverPrep] This is not a build commit. [Pipeline] sh 12:55:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:43 + grep -v github /etc/ssh/ssh_known_hosts 12:55:43 + [ -e /tmp/ssh_known_hosts ] 12:55:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:55:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:55:43 + sudo tee -a /etc/ssh/ssh_known_hosts 12:55:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:55:43 12:55:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:55:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:55:43 latest: Pulling from edgex-devops/py-git-semver 12:55:43 1fe172e4850f: Pulling fs layer 12:55:43 caf521ccaac6: Pulling fs layer 12:55:43 3ead6fa29328: Pulling fs layer 12:55:43 5c2a1cbceb83: Pulling fs layer 12:55:43 a8d5f1318db7: Pulling fs layer 12:55:43 c427282e49a2: Pulling fs layer 12:55:43 1827001aaf11: Pulling fs layer 12:55:43 0714d37db230: Pulling fs layer 12:55:43 ac28cf19c067: Pulling fs layer 12:55:43 ca983d60f3e2: Pulling fs layer 12:55:43 9f894cec8388: Pulling fs layer 12:55:43 5c2a1cbceb83: Waiting 12:55:43 a8d5f1318db7: Waiting 12:55:43 ac28cf19c067: Waiting 12:55:43 0714d37db230: Waiting 12:55:43 c427282e49a2: Waiting 12:55:43 1827001aaf11: Waiting 12:55:43 9f894cec8388: Waiting 12:55:43 caf521ccaac6: Verifying Checksum 12:55:43 caf521ccaac6: Download complete 12:55:43 5c2a1cbceb83: Verifying Checksum 12:55:43 5c2a1cbceb83: Download complete 12:55:43 a8d5f1318db7: Verifying Checksum 12:55:43 a8d5f1318db7: Download complete 12:55:44 c427282e49a2: Download complete 12:55:44 3ead6fa29328: Verifying Checksum 12:55:44 3ead6fa29328: Download complete 12:55:44 0714d37db230: Verifying Checksum 12:55:44 0714d37db230: Download complete 12:55:44 ac28cf19c067: Download complete 12:55:44 ca983d60f3e2: Verifying Checksum 12:55:44 ca983d60f3e2: Download complete 12:55:44 9f894cec8388: Verifying Checksum 12:55:44 9f894cec8388: Download complete 12:55:44 1fe172e4850f: Verifying Checksum 12:55:44 1fe172e4850f: Download complete 12:55:44 1827001aaf11: Verifying Checksum 12:55:44 1827001aaf11: Download complete 12:55:45 1fe172e4850f: Pull complete 12:55:45 caf521ccaac6: Pull complete 12:55:46 3ead6fa29328: Pull complete 12:55:46 5c2a1cbceb83: Pull complete 12:55:46 a8d5f1318db7: Pull complete 12:55:46 c427282e49a2: Pull complete 12:55:48 1827001aaf11: Pull complete 12:55:48 0714d37db230: Pull complete 12:55:48 ac28cf19c067: Pull complete 12:55:48 ca983d60f3e2: Pull complete 12:55:48 9f894cec8388: Pull complete 12:55:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:55:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:55:49 prd-ubuntu20.04-docker-8c-8g-64479 does not seem to be running inside a container 12:55:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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-devops/py-git-semver:latest cat 12:55:50 $ docker top ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 -eo pid,comm 12:55:50 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). 12:55:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:55:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:50 [ssh-agent] Looking for ssh-agent implementation... 12:55:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:51 $ docker exec ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 ssh-agent 12:55:51 SSH_AUTH_SOCK=/tmp/ssh-SjmJnDyqUTxU/agent.32 12:55:51 SSH_AGENT_PID=38 12:55:51 Running ssh-add (command line suppressed) 12:55:51 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6311223400499128152.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6311223400499128152.key) 12:55:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:51 + git tag --points-at HEAD [Pipeline] } 12:55:51 $ docker exec --env ******** --env ******** ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 ssh-agent -k 12:55:51 unset SSH_AUTH_SOCK; 12:55:51 unset SSH_AGENT_PID; 12:55:51 echo Agent pid 38 killed; 12:55:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:55:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:51 [ssh-agent] Looking for ssh-agent implementation... 12:55:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:51 $ docker exec ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 ssh-agent 12:55:52 SSH_AUTH_SOCK=/tmp/ssh-hdQyPVDaQB17/agent.71 12:55:52 SSH_AGENT_PID=77 12:55:52 Running ssh-add (command line suppressed) 12:55:52 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_693578433440367346.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_693578433440367346.key) 12:55:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:52 + git semver init 12:55:52 2022-05-24 12:55:52,750 [run_init] DEBUG init version:0.0.0 force:False 12:55:52 2022-05-24 12:55:52,751 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 12:55:52 2022-05-24 12:55:52,751 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 12:55:52 2022-05-24 12:55:52,752 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 12:55:53 2022-05-24 12:55:53,317 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 12:55:53 2022-05-24 12:55:53,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 12:55:53 2022-05-24 12:55:53,317 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 12:55:53 2022-05-24 12:55:53,321 [execute] INFO git cat-file --batch-check 12:55:53 2022-05-24 12:55:53,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 12:55:53 2022-05-24 12:55:53,328 [execute] INFO git cat-file --batch 12:55:53 2022-05-24 12:55:53,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 12:55:53 2022-05-24 12:55:53,333 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 12:55:53 0.0.0 [Pipeline] } 12:55:53 $ docker exec --env ******** --env ******** ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 ssh-agent -k 12:55:53 unset SSH_AUTH_SOCK; 12:55:53 unset SSH_AGENT_PID; 12:55:53 echo Agent pid 77 killed; 12:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:55:53 + git semver [Pipeline] } 12:55:54 $ docker stop --time=1 ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 12:55:55 $ docker rm -f ed3a26e185a68ed72dfeab0a5ac5869c7ddeed35a368b17eb9c121002d01f974 [Pipeline] // withDockerContainer [Pipeline] sh 12:55:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:55:56 Stashed 1 file(s) [Pipeline] echo 12:55:56 [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 12:55:56 provisioning config files... 12:55:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config9199004043613358975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:56 ---> docker-login.sh 12:55:56 nexus3.edgexfoundry.org:10001 12:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 nexus3.edgexfoundry.org:10002 12:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 nexus3.edgexfoundry.org:10003 12:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 nexus3.edgexfoundry.org:10004 12:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:57 Configure a credential helper to remove this warning. See 12:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:57 12:55:57 Login Succeeded 12:55:57 docker.io 12:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:57 Configure a credential helper to remove this warning. See 12:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:57 12:55:57 Login Succeeded 12:55:57 ---> docker-login.sh ends [Pipeline] } 12:55:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:57 ========================================================= 12:55:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:55:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:55:57 + 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 . 12:55:57 Sending build context to Docker daemon 902.1kB 12:55:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:55:57 Step 2/12 : FROM ${BASE} AS builder 12:55:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:55:57 59bf1c3509f3: Pulling fs layer 12:55:57 666ba61612fd: Pulling fs layer 12:55:57 8ed8ca486205: Pulling fs layer 12:55:57 4fe6c5a15a65: Pulling fs layer 12:55:57 22a0e8bec74d: Pulling fs layer 12:55:57 ca2b28591e48: Pulling fs layer 12:55:57 a51346096db8: Pulling fs layer 12:55:57 ca2b28591e48: Waiting 12:55:57 4fe6c5a15a65: Waiting 12:55:57 a51346096db8: Waiting 12:55:57 22a0e8bec74d: Waiting 12:55:57 daebc70d1ce1: Pulling fs layer 12:55:57 0e18a0eac166: Pulling fs layer 12:55:57 daebc70d1ce1: Waiting 12:55:57 0e18a0eac166: Waiting 12:55:57 8ed8ca486205: Download complete 12:55:57 666ba61612fd: Verifying Checksum 12:55:57 666ba61612fd: Download complete 12:55:57 22a0e8bec74d: Download complete 12:55:57 ca2b28591e48: Download complete 12:55:57 59bf1c3509f3: Verifying Checksum 12:55:57 59bf1c3509f3: Download complete 12:55:57 a51346096db8: Verifying Checksum 12:55:57 a51346096db8: Download complete 12:55:57 daebc70d1ce1: Verifying Checksum 12:55:57 daebc70d1ce1: Download complete 12:55:57 59bf1c3509f3: Pull complete 12:55:58 666ba61612fd: Pull complete 12:55:58 8ed8ca486205: Pull complete 12:55:58 4fe6c5a15a65: Verifying Checksum 12:55:58 4fe6c5a15a65: Download complete 12:55:58 0e18a0eac166: Verifying Checksum 12:55:58 0e18a0eac166: Download complete 12:56:02 4fe6c5a15a65: Pull complete 12:56:02 22a0e8bec74d: Pull complete 12:56:02 ca2b28591e48: Pull complete 12:56:02 a51346096db8: Pull complete 12:56:02 daebc70d1ce1: Pull complete 12:56:05 0e18a0eac166: Pull complete 12:56:05 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:56:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:56:05 ---> f018257e8ee9 12:56:05 Step 3/12 : ARG MAKE="make build" 12:56:06 ---> Running in 29b25996d017 12:56:06 Removing intermediate container 29b25996d017 12:56:06 ---> 3d428ead30a8 12:56:06 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:56:06 ---> Running in 18382f81c40f 12:56:07 Removing intermediate container 18382f81c40f 12:56:07 ---> c76696ade8ff 12:56:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:56:07 ---> Running in 3bb16ae17b15 12:56:07 Removing intermediate container 3bb16ae17b15 12:56:07 ---> 0645af2165c9 12:56:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:56:07 ---> Running in 71eb603af329 12:56:07 Removing intermediate container 71eb603af329 12:56:07 ---> a1d2de05e487 12:56:07 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:08 ---> Running in acdce49199cc 12:56:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:56:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:56:09 (1/81) Installing mesa (21.2.6-r0) 12:56:09 (2/81) Installing libxau (1.0.9-r0) 12:56:09 (3/81) Installing libmd (1.0.3-r0) 12:56:09 (4/81) Installing libbsd (0.11.3-r1) 12:56:09 (5/81) Installing libxdmcp (1.1.3-r0) 12:56:10 (6/81) Installing libxcb (1.14-r2) 12:56:10 (7/81) Installing libx11 (1.7.2-r0) 12:56:10 (8/81) Installing libxext (1.3.4-r0) 12:56:10 (9/81) Installing libxfixes (6.0.0-r0) 12:56:10 (10/81) Installing libxxf86vm (1.1.4-r2) 12:56:10 (11/81) Installing libpciaccess (0.16-r0) 12:56:10 (12/81) Installing libdrm (2.4.109-r0) 12:56:10 (13/81) Installing mesa-glapi (21.2.6-r0) 12:56:10 (14/81) Installing libxshmfence (1.3-r1) 12:56:10 (15/81) Installing mesa-gl (21.2.6-r0) 12:56:10 (16/81) Installing libice (1.0.10-r0) 12:56:10 (17/81) Installing libuuid (2.37.4-r0) 12:56:11 (18/81) Installing libsm (1.2.3-r0) 12:56:11 (19/81) Installing libxt (1.2.1-r0) 12:56:11 (20/81) Installing libxmu (1.1.3-r0) 12:56:11 Still waiting to schedule task 12:56:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:56:11 (21/81) Installing xset (1.2.4-r0) 12:56:11 (22/81) Installing xprop (1.2.5-r0) 12:56:11 (23/81) Installing xdg-utils (1.1.3-r0) 12:56:11 (24/81) Installing dbus-libs (1.12.20-r4) 12:56:11 (25/81) Installing libffi (3.4.2-r1) 12:56:11 (26/81) Installing libintl (0.21-r0) 12:56:11 (27/81) Installing libblkid (2.37.4-r0) 12:56:11 (28/81) Installing libmount (2.37.4-r0) 12:56:11 (29/81) Installing pcre (8.45-r1) 12:56:12 (30/81) Installing glib (2.70.1-r0) 12:56:12 (31/81) Installing icu-libs (69.1-r1) 12:56:13 (32/81) Installing libpcre2-16 (10.39-r0) 12:56:13 (33/81) Installing zstd-libs (1.5.0-r0) 12:56:13 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 12:56:13 (35/81) Installing hicolor-icon-theme (0.17-r1) 12:56:13 (36/81) Installing wayland-libs-server (1.19.0-r1) 12:56:13 (37/81) Installing mesa-gbm (21.2.6-r0) 12:56:13 (38/81) Installing wayland-libs-client (1.19.0-r1) 12:56:13 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 12:56:14 (40/81) Installing libxcomposite (0.4.5-r0) 12:56:14 (41/81) Installing libbz2 (1.0.8-r1) 12:56:14 (42/81) Installing libpng (1.6.37-r1) 12:56:14 (43/81) Installing freetype (2.11.1-r2) 12:56:14 (44/81) Installing fontconfig (2.13.1-r4) 12:56:14 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 12:56:14 (46/81) Installing wayland-libs-egl (1.19.0-r1) 12:56:14 (47/81) Installing xkeyboard-config (2.34-r0) 12:56:14 (48/81) Installing xz-libs (5.2.5-r1) 12:56:14 (49/81) Installing libxml2 (2.9.14-r0) 12:56:15 (50/81) Installing libxkbcommon (1.3.1-r0) 12:56:15 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 12:56:15 (52/81) Installing mesa-egl (21.2.6-r0) 12:56:15 (53/81) Installing avahi-libs (0.8-r5) 12:56:15 (54/81) Installing nettle (3.7.3-r0) 12:56:15 (55/81) Installing p11-kit (0.24.0-r1) 12:56:15 (56/81) Installing libtasn1 (4.18.0-r0) 12:56:15 (57/81) Installing libunistring (0.9.10-r1) 12:56:15 (58/81) Installing gnutls (3.7.1-r0) 12:56:15 (59/81) Installing cups-libs (2.3.3-r5) 12:56:15 (60/81) Installing graphite2 (1.3.14-r0) 12:56:16 (61/81) Installing harfbuzz (3.0.0-r2) 12:56:16 (62/81) Installing libevdev (1.12.0-r0) 12:56:16 (63/81) Installing mtdev (1.1.6-r0) 12:56:16 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 12:56:16 (65/81) Installing libinput-libs (1.19.4-r0) 12:56:16 (66/81) Installing libjpeg-turbo (2.1.2-r0) 12:56:16 (67/81) Installing xcb-util-wm (0.4.1-r1) 12:56:16 (68/81) Installing xcb-util (0.4.0-r3) 12:56:16 (69/81) Installing xcb-util-image (0.4.0-r1) 12:56:16 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 12:56:16 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 12:56:16 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 12:56:17 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 12:56:17 (74/81) Installing v4l-utils-libs (1.22.1-r1) 12:56:17 (75/81) Installing v4l-utils (1.22.1-r1) 12:56:17 (76/81) Installing udev-init-scripts (35-r0) 12:56:17 Executing udev-init-scripts-35-r0.post-install 12:56:17 (77/81) Installing kmod-libs (29-r2) 12:56:18 (78/81) Installing eudev (3.2.11_pre1-r0) 12:56:18 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 12:56:18 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 12:56:18 (81/81) Installing v4l-utils-dev (1.22.1-r1) 12:56:18 Executing busybox-1.34.1-r3.trigger 12:56:18 Executing eudev-3.2.11_pre1-r0.trigger 12:56:18 OK: 335 MiB in 133 packages 12:56:20 Removing intermediate container acdce49199cc 12:56:20 ---> 62d6d0fd2e66 12:56:20 Step 8/12 : WORKDIR /device-usb-camera 12:56:20 ---> Running in a20dc4a2cd66 12:56:20 Removing intermediate container a20dc4a2cd66 12:56:20 ---> 8d009af5c1c7 12:56:20 Step 9/12 : COPY go.mod vendor* ./ 12:56:20 ---> dd57eee94f02 12:56:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:20 ---> Running in fa6582c16f35 12:56:35 Removing intermediate container fa6582c16f35 12:56:35 ---> fdc93f90d14b 12:56:35 Step 11/12 : COPY . . 12:56:35 ---> a65bcdb255ca 12:56:35 Step 12/12 : RUN ${MAKE} 12:56:35 ---> Running in f85ecd8adeb9 12:56:35 noop 12:56:36 Removing intermediate container f85ecd8adeb9 12:56:36 ---> 42be84495c70 12:56:36 Successfully built 42be84495c70 12:56:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:56:36 + docker inspect -f . ci-base-image-x86_64 12:56:36 . [Pipeline] withDockerContainer 12:56:36 prd-ubuntu20.04-docker-8c-8g-64479 does not seem to be running inside a container 12:56:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:56:36 $ docker top 588c06ef5303ccdcb1b552c4fcb9fff702992adad5061dee2991f2b0712c067e -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:37 + go version 12:56:37 go version go1.17.6 linux/amd64 [Pipeline] } 12:56:37 $ docker stop --time=1 588c06ef5303ccdcb1b552c4fcb9fff702992adad5061dee2991f2b0712c067e 12:56:38 $ docker rm -f 588c06ef5303ccdcb1b552c4fcb9fff702992adad5061dee2991f2b0712c067e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:38 + docker inspect -f . ci-base-image-x86_64 12:56:38 . [Pipeline] withDockerContainer 12:56:39 prd-ubuntu20.04-docker-8c-8g-64479 does not seem to be running inside a container 12:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:56:39 $ docker top 8a787c2b1b6091ab613fa533b778ce6aa39afd060cf154d9372562850d8b1381 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:56:39 + make test 12:56:39 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 12:56:40 ? github.com/edgexfoundry/device-usb-camera [no test files] 12:56:50 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 12:56:50 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 12:56:58 CGO_ENABLED=1 go vet ./... 12:57:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:57:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:57:01 ./bin/test-attribution-txt.sh [Pipeline] echo 12:57:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:57:02 $ docker stop --time=1 8a787c2b1b6091ab613fa533b778ce6aa39afd060cf154d9372562850d8b1381 12:57:03 $ docker rm -f 8a787c2b1b6091ab613fa533b778ce6aa39afd060cf154d9372562850d8b1381 [Pipeline] // withDockerContainer [Pipeline] sh 12:57:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:57:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:57:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:57:05 + ls -al . 12:57:05 total 168 12:57:05 drwxrwxr-x 10 jenkins jenkins 4096 May 24 12:57 . 12:57:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:55 .. 12:57:05 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:55 .git 12:57:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:55 .github 12:57:05 -rw-rw-r-- 1 jenkins jenkins 414 May 24 12:55 .gitignore 12:57:05 -rw-rw-r-- 1 jenkins jenkins 42 May 24 12:55 .golangci.yml 12:57:05 -rw-rw-r-- 1 jenkins jenkins 77 May 24 12:55 .hadolint.yml 12:57:05 drwxr-xr-x 3 jenkins jenkins 4096 May 24 12:55 .semver 12:57:05 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 12:55 Attribution.txt 12:57:05 -rw-rw-r-- 1 jenkins jenkins 181 May 24 12:55 CHANGELOG.md 12:57:05 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 12:55 Dockerfile 12:57:05 -rw-rw-r-- 1 jenkins jenkins 678 May 24 12:55 GOVERNANCE.md 12:57:05 -rw-rw-r-- 1 jenkins jenkins 659 May 24 12:55 Jenkinsfile 12:57:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 12:55 LICENSE 12:57:05 -rw-rw-r-- 1 jenkins jenkins 2030 May 24 12:55 Makefile 12:57:05 -rw-rw-r-- 1 jenkins jenkins 622 May 24 12:55 OWNERS.md 12:57:05 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 12:55 README.md 12:57:05 -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:55 VERSION 12:57:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:55 bin 12:57:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:55 cmd 12:57:05 -rw-r--r-- 1 jenkins jenkins 10 May 24 12:56 coverage.out 12:57:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:55 docker-compose 12:57:05 -rw-rw-r-- 1 jenkins jenkins 140 May 24 12:55 docker-entrypoint.sh 12:57:05 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 12:55 go.mod 12:57:05 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 12:55 go.sum 12:57:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:55 internal 12:57:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:55 snap 12:57:05 -rw-rw-r-- 1 jenkins jenkins 231 May 24 12:55 version.go [Pipeline] isUnix [Pipeline] sh 12:57:05 + 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=1aefe85bbd41b7af240a476cc4babfabf5836c32 --label arch=amd64 --label version=0.0.0 . 12:57:05 Sending build context to Docker daemon 903.2kB 12:57:05 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 12:57:05 Step 2/29 : FROM ${BASE} AS builder 12:57:05 ---> 42be84495c70 12:57:05 Step 3/29 : ARG MAKE="make build" 12:57:05 ---> Running in 376bf8e1a2aa 12:57:05 Removing intermediate container 376bf8e1a2aa 12:57:05 ---> 0e738da02be5 12:57:05 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:57:05 ---> Running in 21bf84caaf37 12:57:05 Removing intermediate container 21bf84caaf37 12:57:05 ---> 3c199bb90c4b 12:57:05 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:57:05 ---> Running in e9a96c1c8f78 12:57:06 Removing intermediate container e9a96c1c8f78 12:57:06 ---> 93fe66bdadc1 12:57:06 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:57:06 ---> Running in 6a6339fa5fa8 12:57:06 Removing intermediate container 6a6339fa5fa8 12:57:06 ---> 5171d3cf68a4 12:57:06 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:57:06 ---> Running in 802afa3363c0 12:57:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:57:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:57:08 OK: 335 MiB in 133 packages 12:57:08 Removing intermediate container 802afa3363c0 12:57:08 ---> 9e5b669980a3 12:57:08 Step 8/29 : WORKDIR /device-usb-camera 12:57:08 ---> Running in 5b4788d8893d 12:57:08 Removing intermediate container 5b4788d8893d 12:57:08 ---> 77013b75b5b7 12:57:08 Step 9/29 : COPY go.mod vendor* ./ 12:57:09 ---> 0ac2398d8bf4 12:57:09 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:09 ---> Running in 6045461f78ad 12:57:09 Removing intermediate container 6045461f78ad 12:57:09 ---> 3ba0afdc4454 12:57:09 Step 11/29 : COPY . . 12:57:09 ---> dcc54d9870c8 12:57:09 Step 12/29 : RUN ${MAKE} 12:57:10 ---> Running in 188724ff06c3 12:57:10 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 12:57:32 Removing intermediate container 188724ff06c3 12:57:32 ---> ad0d45efdaee 12:57:32 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 12:57:32 v0.18.4: Pulling from aler9/rtsp-simple-server 12:57:33 af6660deedbd: Pulling fs layer 12:57:33 97cd0a44c592: Pulling fs layer 12:57:34 97cd0a44c592: Verifying Checksum 12:57:34 97cd0a44c592: Download complete 12:57:34 af6660deedbd: Verifying Checksum 12:57:34 af6660deedbd: Download complete 12:57:34 af6660deedbd: Pull complete 12:57:34 97cd0a44c592: Pull complete 12:57:34 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 12:57:34 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 12:57:34 ---> fea57e182299 12:57:34 Step 14/29 : FROM alpine:3.15 12:57:35 3.15: Pulling from library/alpine 12:57:35 df9b9388f04a: Pulling fs layer 12:57:35 df9b9388f04a: Verifying Checksum 12:57:35 df9b9388f04a: Download complete 12:57:35 df9b9388f04a: Pull complete 12:57:35 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 12:57:35 Status: Downloaded newer image for alpine:3.15 12:57:35 ---> 0ac33e5f5afa 12:57:35 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 12:57:35 ---> Running in 72b2b5a891c9 12:57:35 Removing intermediate container 72b2b5a891c9 12:57:35 ---> 99148b8f25c8 12:57:35 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 12:57:36 ---> Running in 28905f23b901 12:57:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:57:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:57:36 (1/74) Installing dumb-init (1.2.5-r1) 12:57:36 (2/74) Installing sdl2 (2.0.16-r4) 12:57:36 (3/74) Installing libxau (1.0.9-r0) 12:57:36 (4/74) Installing libmd (1.0.3-r0) 12:57:36 (5/74) Installing libbsd (0.11.3-r1) 12:57:36 (6/74) Installing libxdmcp (1.1.3-r0) 12:57:36 (7/74) Installing libxcb (1.14-r2) 12:57:36 (8/74) Installing libx11 (1.7.2-r0) 12:57:36 (9/74) Installing aom-libs (3.2.0-r0) 12:57:36 (10/74) Installing alsa-lib (1.2.5.1-r1) 12:57:36 (11/74) Installing expat (2.4.7-r0) 12:57:36 (12/74) Installing brotli-libs (1.0.9-r5) 12:57:36 (13/74) Installing libbz2 (1.0.8-r1) 12:57:36 (14/74) Installing libpng (1.6.37-r1) 12:57:36 (15/74) Installing freetype (2.11.1-r2) 12:57:36 (16/74) Installing libuuid (2.37.4-r0) 12:57:36 (17/74) Installing fontconfig (2.13.1-r4) 12:57:36 (18/74) Installing fribidi (1.0.11-r0) 12:57:36 (19/74) Installing libffi (3.4.2-r1) 12:57:36 (20/74) Installing libintl (0.21-r0) 12:57:36 (21/74) Installing libblkid (2.37.4-r0) 12:57:36 (22/74) Installing libmount (2.37.4-r0) 12:57:36 (23/74) Installing pcre (8.45-r1) 12:57:36 (24/74) Installing glib (2.70.1-r0) 12:57:36 (25/74) Installing graphite2 (1.3.14-r0) 12:57:36 (26/74) Installing harfbuzz (3.0.0-r2) 12:57:36 (27/74) Installing libass (0.15.2-r0) 12:57:36 (28/74) Installing libdav1d (0.9.2-r0) 12:57:36 (29/74) Installing gmp (6.2.1-r1) 12:57:36 (30/74) Installing nettle (3.7.3-r0) 12:57:36 (31/74) Installing p11-kit (0.24.0-r1) 12:57:36 (32/74) Installing libtasn1 (4.18.0-r0) 12:57:36 (33/74) Installing libunistring (0.9.10-r1) 12:57:36 (34/74) Installing gnutls (3.7.1-r0) 12:57:37 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 12:57:37 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 12:57:37 (37/74) Installing lame (3.100-r0) 12:57:37 (38/74) Installing opus (1.3.1-r1) 12:57:37 (39/74) Installing libgomp (10.3.1_git20211027-r0) 12:57:37 (40/74) Installing soxr (0.1.3-r2) 12:57:37 (41/74) Installing libgcc (10.3.1_git20211027-r0) 12:57:37 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 12:57:37 (43/74) Installing libsrt (1.4.2-r1) 12:57:37 (44/74) Installing libssh (0.9.6-r1) 12:57:37 (45/74) Installing libogg (1.3.5-r0) 12:57:37 (46/74) Installing libtheora (1.1.1-r16) 12:57:37 (47/74) Installing libjpeg-turbo (2.1.2-r0) 12:57:37 (48/74) Installing v4l-utils-libs (1.22.1-r1) 12:57:37 (49/74) Installing libxext (1.3.4-r0) 12:57:37 (50/74) Installing libxfixes (6.0.0-r0) 12:57:37 (51/74) Installing libpciaccess (0.16-r0) 12:57:37 (52/74) Installing libdrm (2.4.109-r0) 12:57:37 (53/74) Installing wayland-libs-client (1.19.0-r1) 12:57:37 (54/74) Installing libva (2.13.0-r0) 12:57:37 (55/74) Installing libvdpau (1.4-r0) 12:57:37 (56/74) Installing vidstab (1.1.0-r1) 12:57:37 (57/74) Installing libvorbis (1.3.7-r0) 12:57:37 (58/74) Installing libvpx (1.10.0-r0) 12:57:37 (59/74) Installing vulkan-loader (1.2.196-r0) 12:57:37 (60/74) Installing libwebp (1.2.2-r0) 12:57:37 (61/74) Installing x264-libs (20210613-r0) 12:57:37 (62/74) Installing x265-libs (3.5-r0) 12:57:37 (63/74) Installing xvidcore (1.3.7-r1) 12:57:37 (64/74) Installing ffmpeg-libs (4.4.1-r2) 12:57:37 (65/74) Installing ffmpeg (4.4.1-r2) 12:57:37 (66/74) Installing udev-init-scripts (35-r0) 12:57:37 Executing udev-init-scripts-35-r0.post-install 12:57:37 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 12:57:37 (68/74) Installing xz-libs (5.2.5-r1) 12:57:37 (69/74) Installing zstd-libs (1.5.0-r0) 12:57:37 (70/74) Installing kmod-libs (29-r2) 12:57:37 (71/74) Installing eudev (3.2.11_pre1-r0) 12:57:37 (72/74) Installing libsodium (1.0.18-r0) 12:57:37 (73/74) Installing libzmq (4.3.4-r0) 12:57:37 (74/74) Installing zeromq (4.3.4-r0) 12:57:37 Executing busybox-1.34.1-r5.trigger 12:57:37 Executing eudev-3.2.11_pre1-r0.trigger 12:57:37 OK: 78 MiB in 88 packages 12:57:39 Removing intermediate container 28905f23b901 12:57:39 ---> 1c029afb2121 12:57:39 Step 17/29 : WORKDIR / 12:57:39 ---> Running in ad240c431b86 12:57:39 Removing intermediate container ad240c431b86 12:57:39 ---> 0d71d44726fe 12:57:39 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 12:57:39 ---> e17041b1dd6c 12:57:39 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 12:57:39 ---> 01ab2c177b78 12:57:39 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 12:57:40 ---> 8df9bff363b6 12:57:40 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 12:57:40 ---> 242393c76ddd 12:57:40 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 12:57:40 ---> 718234391ee1 12:57:40 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 12:57:40 ---> e11c2a28eb33 12:57:40 Step 24/29 : EXPOSE 59983 12:57:40 ---> Running in 964effabcb48 12:57:40 Removing intermediate container 964effabcb48 12:57:40 ---> 43915e4c6cee 12:57:40 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 12:57:41 ---> Running in fd6aa9da358a 12:57:41 Removing intermediate container fd6aa9da358a 12:57:41 ---> 33827cecb6cf 12:57:41 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 12:57:41 ---> Running in 937391c45764 12:57:41 Removing intermediate container 937391c45764 12:57:41 ---> 0f6699314e48 12:57:41 Step 27/29 : LABEL arch=amd64 12:57:41 ---> Running in fb9d2bb9b862 12:57:41 Removing intermediate container fb9d2bb9b862 12:57:41 ---> cb0602b47745 12:57:41 Step 28/29 : LABEL git_sha=1aefe85bbd41b7af240a476cc4babfabf5836c32 12:57:41 ---> Running in 1ddec3a0c86d 12:57:41 Removing intermediate container 1ddec3a0c86d 12:57:41 ---> 10f50a7a15ba 12:57:41 Step 29/29 : LABEL version=0.0.0 12:57:41 ---> Running in ba97a7e21246 12:57:41 Removing intermediate container ba97a7e21246 12:57:41 ---> 8ffe69990d1d 12:57:41 [Warning] One or more build-args [ARCH] were not consumed 12:57:41 Successfully built 8ffe69990d1d 12:57:41 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 12:57:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:42 12:57:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:57:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:42 latest: Pulling from edgex-lftools-log-publisher 12:57:42 5eb5b503b376: Pulling fs layer 12:57:42 5c69ac0246d0: Pulling fs layer 12:57:42 ec43610c2a17: Pulling fs layer 12:57:42 3a2ae6a8a46f: Pulling fs layer 12:57:42 33b1e0a273af: Pulling fs layer 12:57:42 5d3b04190fa2: Pulling fs layer 12:57:42 2f39f015ded8: Pulling fs layer 12:57:42 3a2ae6a8a46f: Waiting 12:57:42 2f39f015ded8: Waiting 12:57:42 33b1e0a273af: Waiting 12:57:42 5d3b04190fa2: Waiting 12:57:42 5c69ac0246d0: Verifying Checksum 12:57:42 5c69ac0246d0: Download complete 12:57:42 3a2ae6a8a46f: Verifying Checksum 12:57:42 3a2ae6a8a46f: Download complete 12:57:42 33b1e0a273af: Verifying Checksum 12:57:42 33b1e0a273af: Download complete 12:57:42 5d3b04190fa2: Download complete 12:57:42 ec43610c2a17: Verifying Checksum 12:57:42 ec43610c2a17: Download complete 12:57:42 5eb5b503b376: Verifying Checksum 12:57:42 5eb5b503b376: Download complete 12:57:43 2f39f015ded8: Download complete 12:57:44 5eb5b503b376: Pull complete 12:57:44 5c69ac0246d0: Pull complete 12:57:44 ec43610c2a17: Pull complete 12:57:44 3a2ae6a8a46f: Pull complete 12:57:45 33b1e0a273af: Pull complete 12:57:45 5d3b04190fa2: Pull complete 12:57:50 2f39f015ded8: Pull complete 12:57:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:57:50 prd-ubuntu20.04-docker-8c-8g-64479 does not seem to be running inside a container 12:57:50 $ 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-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:57:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64480 in /w/workspace/xfoundry_device-usb-camera_PR-30 12:57:52 $ docker top f8558773425f5f9dcf42981b760dc89f80344001ef33c8af6d3583f61eb849a3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 12:57:52 Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout 12:57:52 Selected Git installation does not exist. Using Default 12:57:52 The recommended git tool is: NONE 12:57:52 ---> job-cost.sh 12:57:52 lf-activate-venv: SKIPPING 12:57:52 INFO: No Stack... 12:57:53 INFO: Retrieving Pricing Info for: v3-standard-8 12:57:53 INFO: Archiving Costs [Pipeline] sh 12:57:54 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 12:57:54 + cut -d, -f6 [Pipeline] lock 12:57:54 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] 12:57:54 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] did not exist. Created. 12:57:54 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:57:54 + echo total: 0.2199999988079071 [Pipeline] stash 12:57:54 Stashed 1 file(s) [Pipeline] } 12:57:54 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] [Pipeline] // lock [Pipeline] } 12:57:54 $ docker stop --time=1 f8558773425f5f9dcf42981b760dc89f80344001ef33c8af6d3583f61eb849a3 12:57:55 $ docker rm -f f8558773425f5f9dcf42981b760dc89f80344001ef33c8af6d3583f61eb849a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:57:57 using credential edgex-jenkins-ssh 12:57:57 Cloning the remote Git repository 12:57:57 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 12:57:57 > git init /w/workspace/device-usb-camera/7 # timeout=10 12:57:57 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 12:57:57 > git --version # timeout=10 12:57:57 > git --version # 'git version 2.25.1' 12:57:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 12:57:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:57:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 12:57:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 12:57:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:57:59 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit c4eb13c8a517b1498d90ac2ec8f7c45f66fbb00a 12:57:59 Merge succeeded, producing 62e997440414807b99501bc10b6a68f42e6b4436 12:57:59 Checking out Revision 62e997440414807b99501bc10b6a68f42e6b4436 (PR-30) 12:57:59 > git config core.sparsecheckout # timeout=10 12:57:59 > git checkout -f c4eb13c8a517b1498d90ac2ec8f7c45f66fbb00a # timeout=10 12:57:59 > git remote # timeout=10 12:57:59 > git config --get remote.origin.url # timeout=10 12:57:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:59 > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 12:57:59 > git rev-parse HEAD^{commit} # timeout=10 12:57:59 > git config core.sparsecheckout # timeout=10 12:57:59 > git checkout -f 62e997440414807b99501bc10b6a68f42e6b4436 # timeout=10 12:58:03 Commit message: "Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD" 12:58:03 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:58:04 % Total % Received % Xferd Average Speed Time Time Time Current 12:58:04 Dload Upload Total Spent Left Speed 12:58:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 53043 0 --:--:-- --:--:-- --:--:-- 53043 12:58:03 > git rev-list --no-walk eea44c83b7b634690f5a4c1be6a141bff580d795 # timeout=10 [Pipeline] sh 12:58:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:58:05 + sudo tee /etc/docker/daemon.new 12:58:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:58:05 { 12:58:05 "registry-mirrors": [ 12:58:05 "https://nexus3.edgexfoundry.org:10001" 12:58:05 ], 12:58:05 "bip": "10.250.0.254/24", 12:58:05 "hosts": [ 12:58:05 "tcp://0.0.0.0:5555", 12:58:05 "unix:///var/run/docker.sock" 12:58:05 ], 12:58:05 "mtu": 1458, 12:58:05 "selinux-enabled": true, 12:58:05 "seccomp-profile": "/etc/docker/seccomp.json" 12:58:05 } [Pipeline] sh 12:58:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:58:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:24 provisioning config files... 12:58:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config8584497401067150733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:24 ---> docker-login.sh 12:58:24 nexus3.edgexfoundry.org:10001 12:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:25 Configure a credential helper to remove this warning. See 12:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:25 12:58:25 Login Succeeded 12:58:25 nexus3.edgexfoundry.org:10002 12:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:26 Configure a credential helper to remove this warning. See 12:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:26 12:58:26 Login Succeeded 12:58:26 nexus3.edgexfoundry.org:10003 12:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:26 Configure a credential helper to remove this warning. See 12:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:26 12:58:26 Login Succeeded 12:58:26 nexus3.edgexfoundry.org:10004 12:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:27 Configure a credential helper to remove this warning. See 12:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:27 12:58:27 Login Succeeded 12:58:27 docker.io 12:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:27 Configure a credential helper to remove this warning. See 12:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:27 12:58:27 Login Succeeded 12:58:27 ---> docker-login.sh ends [Pipeline] } 12:58:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:28 ========================================================= 12:58:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:58:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:58:28 + 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 . 12:58:28 Sending build context to Docker daemon 713.7kB 12:58:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:58:29 Step 2/12 : FROM ${BASE} AS builder 12:58:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:58:29 9b3977197b4f: Pulling fs layer 12:58:29 1a89e8eeedd5: Pulling fs layer 12:58:29 94645a83ff95: Pulling fs layer 12:58:29 3f3a8bcf1eab: Pulling fs layer 12:58:29 0c92f367c5e7: Pulling fs layer 12:58:29 3096ccb668a1: Pulling fs layer 12:58:29 e8cf19c19ddd: Pulling fs layer 12:58:29 a4caa8a26152: Pulling fs layer 12:58:29 3f3a8bcf1eab: Waiting 12:58:29 0c92f367c5e7: Waiting 12:58:29 3096ccb668a1: Waiting 12:58:29 e8cf19c19ddd: Waiting 12:58:29 a4caa8a26152: Waiting 12:58:29 94645a83ff95: Verifying Checksum 12:58:29 94645a83ff95: Download complete 12:58:29 1a89e8eeedd5: Verifying Checksum 12:58:29 1a89e8eeedd5: Download complete 12:58:29 0c92f367c5e7: Verifying Checksum 12:58:29 0c92f367c5e7: Download complete 12:58:29 9b3977197b4f: Verifying Checksum 12:58:29 9b3977197b4f: Download complete 12:58:29 3096ccb668a1: Verifying Checksum 12:58:29 3096ccb668a1: Download complete 12:58:29 e8cf19c19ddd: Verifying Checksum 12:58:29 e8cf19c19ddd: Download complete 12:58:30 9b3977197b4f: Pull complete 12:58:30 1a89e8eeedd5: Pull complete 12:58:30 94645a83ff95: Pull complete 12:58:31 a4caa8a26152: Verifying Checksum 12:58:31 a4caa8a26152: Download complete 12:58:31 3f3a8bcf1eab: Verifying Checksum 12:58:31 3f3a8bcf1eab: Download complete 12:58:44 3f3a8bcf1eab: Pull complete 12:58:44 0c92f367c5e7: Pull complete 12:58:44 3096ccb668a1: Pull complete 12:58:44 e8cf19c19ddd: Pull complete 12:58:51 a4caa8a26152: Pull complete 12:58:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:58:51 ---> 725f1c02e7f9 12:58:51 Step 3/12 : ARG MAKE="make build" 12:58:51 ---> Running in 74a0008d1932 12:58:51 Removing intermediate container 74a0008d1932 12:58:51 ---> 429259efb852 12:58:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 12:58:51 ---> Running in 50ed86358e9d 12:58:52 Removing intermediate container 50ed86358e9d 12:58:52 ---> 317a1ecefa14 12:58:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:58:52 ---> Running in 20754c7e282b 12:58:52 Removing intermediate container 20754c7e282b 12:58:52 ---> 85fa9e87be37 12:58:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:52 ---> Running in 2ba32182119b 12:58:54 Removing intermediate container 2ba32182119b 12:58:54 ---> 07fe97262bf0 12:58:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:54 ---> Running in 47f3301da692 12:58:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:58:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:58:56 (1/14) Installing libintl (0.21-r0) 12:58:57 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 12:58:57 (3/14) Installing libjpeg-turbo (2.1.2-r0) 12:58:57 (4/14) Installing v4l-utils-libs (1.22.1-r1) 12:58:57 (5/14) Installing v4l-utils (1.22.1-r1) 12:58:57 (6/14) Installing udev-init-scripts (35-r0) 12:58:57 Executing udev-init-scripts-35-r0.post-install 12:58:57 (7/14) Installing libblkid (2.37.4-r0) 12:58:57 (8/14) Installing xz-libs (5.2.5-r1) 12:58:57 (9/14) Installing zstd-libs (1.5.0-r0) 12:58:57 (10/14) Installing kmod-libs (29-r2) 12:58:57 (11/14) Installing eudev (3.2.11_pre1-r0) 12:58:57 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 12:58:58 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 12:58:58 (14/14) Installing v4l-utils-dev (1.22.1-r1) 12:58:58 Executing busybox-1.34.1-r3.trigger 12:58:58 Executing eudev-3.2.11_pre1-r0.trigger 12:58:58 OK: 227 MiB in 66 packages 12:58:59 Removing intermediate container 47f3301da692 12:58:59 ---> e2779d37c4c6 12:58:59 Step 8/12 : WORKDIR /device-usb-camera 12:58:59 ---> Running in 178dd2938728 12:58:59 Removing intermediate container 178dd2938728 12:58:59 ---> e8e75ced83d2 12:58:59 Step 9/12 : COPY go.mod vendor* ./ 12:59:00 ---> 30119dd226bf 12:59:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:00 ---> Running in aab38ff3a8ae 12:59:47 Removing intermediate container aab38ff3a8ae 12:59:47 ---> ce3b68f4b21c 12:59:47 Step 11/12 : COPY . . 12:59:47 ---> f8e2df9b6b80 12:59:47 Step 12/12 : RUN ${MAKE} 12:59:47 ---> Running in 4e5844cc3891 12:59:47 noop 12:59:47 Removing intermediate container 4e5844cc3891 12:59:47 ---> 090eac83744a 12:59:47 Successfully built 090eac83744a 12:59:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:59:47 + docker inspect -f . ci-base-image-arm64 12:59:47 . [Pipeline] withDockerContainer 12:59:47 prd-ubuntu20.04-docker-arm64-4c-16g-64480 does not seem to be running inside a container 12:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:49 $ docker top 725759d15db362f7efcd7fe913433a187102f5ea7b32590ece0d7ba0ce8209aa -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:50 + go version 12:59:50 go version go1.17.6 linux/arm64 [Pipeline] } 12:59:50 $ docker stop --time=1 725759d15db362f7efcd7fe913433a187102f5ea7b32590ece0d7ba0ce8209aa 12:59:51 $ docker rm -f 725759d15db362f7efcd7fe913433a187102f5ea7b32590ece0d7ba0ce8209aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:59:52 + docker inspect -f . ci-base-image-arm64 12:59:52 . [Pipeline] withDockerContainer 12:59:52 prd-ubuntu20.04-docker-arm64-4c-16g-64480 does not seem to be running inside a container 12:59:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:54 $ docker top 6f2ee3a44ba6b8d31106e4e26235b155f74330f451fdfdb0c474dccc0d7c7fad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:59:54 + make test 12:59:54 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 12:59:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:01:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:01:18 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:01:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:01:18 CGO_ENABLED=1 go vet ./... 13:01:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:01:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:01:40 ./bin/test-attribution-txt.sh [Pipeline] echo 13:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:01:41 $ docker stop --time=1 6f2ee3a44ba6b8d31106e4e26235b155f74330f451fdfdb0c474dccc0d7c7fad 13:01:43 $ docker rm -f 6f2ee3a44ba6b8d31106e4e26235b155f74330f451fdfdb0c474dccc0d7c7fad [Pipeline] // withDockerContainer [Pipeline] sh 13:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:01:44 Warning: overwriting stash ‘coverage-report’ 13:01:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:45 + ls -al . 13:01:45 total 164 13:01:45 drwxrwxr-x 9 jenkins jenkins 4096 May 24 13:01 . 13:01:45 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:57 .. 13:01:45 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:58 .git 13:01:45 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:57 .github 13:01:45 -rw-rw-r-- 1 jenkins jenkins 414 May 24 12:57 .gitignore 13:01:45 -rw-rw-r-- 1 jenkins jenkins 42 May 24 12:57 .golangci.yml 13:01:45 -rw-rw-r-- 1 jenkins jenkins 77 May 24 12:57 .hadolint.yml 13:01:45 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 12:57 Attribution.txt 13:01:45 -rw-rw-r-- 1 jenkins jenkins 181 May 24 12:57 CHANGELOG.md 13:01:45 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 12:57 Dockerfile 13:01:45 -rw-rw-r-- 1 jenkins jenkins 678 May 24 12:57 GOVERNANCE.md 13:01:45 -rw-rw-r-- 1 jenkins jenkins 659 May 24 12:57 Jenkinsfile 13:01:45 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 12:57 LICENSE 13:01:45 -rw-rw-r-- 1 jenkins jenkins 2030 May 24 12:57 Makefile 13:01:45 -rw-rw-r-- 1 jenkins jenkins 622 May 24 12:57 OWNERS.md 13:01:45 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 12:57 README.md 13:01:45 -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:55 VERSION 13:01:45 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:57 bin 13:01:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:57 cmd 13:01:45 -rw-r--r-- 1 jenkins jenkins 10 May 24 12:59 coverage.out 13:01:45 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:57 docker-compose 13:01:45 -rw-rw-r-- 1 jenkins jenkins 140 May 24 12:57 docker-entrypoint.sh 13:01:45 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 12:57 go.mod 13:01:45 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 12:57 go.sum 13:01:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:57 internal 13:01:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:57 snap 13:01:45 -rw-rw-r-- 1 jenkins jenkins 231 May 24 12:57 version.go [Pipeline] isUnix [Pipeline] sh 13:01:45 + 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=62e997440414807b99501bc10b6a68f42e6b4436 --label arch=arm64 --label version=0.0.0 . 13:01:46 Sending build context to Docker daemon 714.8kB 13:01:46 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:01:46 Step 2/29 : FROM ${BASE} AS builder 13:01:46 ---> 090eac83744a 13:01:46 Step 3/29 : ARG MAKE="make build" 13:01:46 ---> Running in e55559fe4e0e 13:01:46 Removing intermediate container e55559fe4e0e 13:01:46 ---> 988b3664586f 13:01:46 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:01:46 ---> Running in 56b0acc9d447 13:01:46 Removing intermediate container 56b0acc9d447 13:01:46 ---> ae2dfdb85642 13:01:46 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:01:46 ---> Running in 7a0cdf89ec72 13:01:47 Removing intermediate container 7a0cdf89ec72 13:01:47 ---> 9cf5e3243faf 13:01:47 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:47 ---> Running in 79ad5d7148fa 13:01:48 Removing intermediate container 79ad5d7148fa 13:01:48 ---> 74709ed5aac3 13:01:48 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:48 ---> Running in 3f1cd1bd13aa 13:01:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:01:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:01:52 OK: 227 MiB in 66 packages 13:01:52 Removing intermediate container 3f1cd1bd13aa 13:01:52 ---> 7759fa8685b2 13:01:52 Step 8/29 : WORKDIR /device-usb-camera 13:01:52 ---> Running in ca475fb6d428 13:01:53 Removing intermediate container ca475fb6d428 13:01:53 ---> 0572adf8d85c 13:01:53 Step 9/29 : COPY go.mod vendor* ./ 13:01:53 ---> a3d378d519d4 13:01:53 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:53 ---> Running in 2a0efedb97d0 13:01:55 Removing intermediate container 2a0efedb97d0 13:01:55 ---> 752834a31f9c 13:01:55 Step 11/29 : COPY . . 13:01:56 ---> 9666aaa5a27f 13:01:56 Step 12/29 : RUN ${MAKE} 13:01:56 ---> Running in c679eb340a6e 13:01:57 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 13:04:04 Removing intermediate container c679eb340a6e 13:04:04 ---> fc8ec036e767 13:04:04 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:04:04 v0.18.4: Pulling from aler9/rtsp-simple-server 13:04:04 eab2503cf8f4: Pulling fs layer 13:04:04 97cd0a44c592: Pulling fs layer 13:04:04 97cd0a44c592: Download complete 13:04:04 eab2503cf8f4: Verifying Checksum 13:04:04 eab2503cf8f4: Download complete 13:04:04 eab2503cf8f4: Pull complete 13:04:04 97cd0a44c592: Pull complete 13:04:04 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:04:04 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:04:04 ---> 7f763cca56b3 13:04:04 Step 14/29 : FROM alpine:3.15 13:04:04 3.15: Pulling from library/alpine 13:04:04 9981e73032c8: Pulling fs layer 13:04:04 9981e73032c8: Verifying Checksum 13:04:04 9981e73032c8: Download complete 13:04:04 9981e73032c8: Pull complete 13:04:04 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:04:04 Status: Downloaded newer image for alpine:3.15 13:04:04 ---> 3fb3c9af89a9 13:04:04 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:04:04 ---> Running in 94fe88331513 13:04:04 Removing intermediate container 94fe88331513 13:04:04 ---> 26dc780239ec 13:04:04 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:04:04 ---> Running in 4e54c82bf570 13:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:04:04 (1/73) Installing dumb-init (1.2.5-r1) 13:04:04 (2/73) Installing sdl2 (2.0.16-r4) 13:04:04 (3/73) Installing libxau (1.0.9-r0) 13:04:04 (4/73) Installing libmd (1.0.3-r0) 13:04:04 (5/73) Installing libbsd (0.11.3-r1) 13:04:04 (6/73) Installing libxdmcp (1.1.3-r0) 13:04:04 (7/73) Installing libxcb (1.14-r2) 13:04:04 (8/73) Installing libx11 (1.7.2-r0) 13:04:04 (9/73) Installing aom-libs (3.2.0-r0) 13:04:04 (10/73) Installing alsa-lib (1.2.5.1-r1) 13:04:04 (11/73) Installing expat (2.4.7-r0) 13:04:04 (12/73) Installing brotli-libs (1.0.9-r5) 13:04:04 (13/73) Installing libbz2 (1.0.8-r1) 13:04:04 (14/73) Installing libpng (1.6.37-r1) 13:04:04 (15/73) Installing freetype (2.11.1-r2) 13:04:04 (16/73) Installing libuuid (2.37.4-r0) 13:04:04 (17/73) Installing fontconfig (2.13.1-r4) 13:04:04 (18/73) Installing fribidi (1.0.11-r0) 13:04:04 (19/73) Installing libffi (3.4.2-r1) 13:04:04 (20/73) Installing libintl (0.21-r0) 13:04:04 (21/73) Installing libblkid (2.37.4-r0) 13:04:04 (22/73) Installing libmount (2.37.4-r0) 13:04:04 (23/73) Installing pcre (8.45-r1) 13:04:04 (24/73) Installing glib (2.70.1-r0) 13:04:04 (25/73) Installing graphite2 (1.3.14-r0) 13:04:04 (26/73) Installing harfbuzz (3.0.0-r2) 13:04:04 (27/73) Installing libass (0.15.2-r0) 13:04:04 (28/73) Installing libdav1d (0.9.2-r0) 13:04:04 (29/73) Installing gmp (6.2.1-r1) 13:04:04 (30/73) Installing nettle (3.7.3-r0) 13:04:04 (31/73) Installing p11-kit (0.24.0-r1) 13:04:04 (32/73) Installing libtasn1 (4.18.0-r0) 13:04:04 (33/73) Installing libunistring (0.9.10-r1) 13:04:04 (34/73) Installing gnutls (3.7.1-r0) 13:04:04 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:04:04 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 13:04:04 (37/73) Installing lame (3.100-r0) 13:04:04 (38/73) Installing opus (1.3.1-r1) 13:04:04 (39/73) Installing libgomp (10.3.1_git20211027-r0) 13:04:04 (40/73) Installing soxr (0.1.3-r2) 13:04:04 (41/73) Installing libgcc (10.3.1_git20211027-r0) 13:04:04 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 13:04:04 (43/73) Installing libsrt (1.4.2-r1) 13:04:04 (44/73) Installing libssh (0.9.6-r1) 13:04:04 (45/73) Installing libogg (1.3.5-r0) 13:04:04 (46/73) Installing libtheora (1.1.1-r16) 13:04:04 (47/73) Installing libjpeg-turbo (2.1.2-r0) 13:04:04 (48/73) Installing v4l-utils-libs (1.22.1-r1) 13:04:04 (49/73) Installing libxext (1.3.4-r0) 13:04:04 (50/73) Installing libxfixes (6.0.0-r0) 13:04:04 (51/73) Installing libdrm (2.4.109-r0) 13:04:04 (52/73) Installing wayland-libs-client (1.19.0-r1) 13:04:04 (53/73) Installing libva (2.13.0-r0) 13:04:04 (54/73) Installing libvdpau (1.4-r0) 13:04:04 (55/73) Installing vidstab (1.1.0-r1) 13:04:04 (56/73) Installing libvorbis (1.3.7-r0) 13:04:04 (57/73) Installing libvpx (1.10.0-r0) 13:04:04 (58/73) Installing vulkan-loader (1.2.196-r0) 13:04:04 (59/73) Installing libwebp (1.2.2-r0) 13:04:04 (60/73) Installing x264-libs (20210613-r0) 13:04:04 (61/73) Installing x265-libs (3.5-r0) 13:04:04 (62/73) Installing xvidcore (1.3.7-r1) 13:04:04 (63/73) Installing ffmpeg-libs (4.4.1-r2) 13:04:04 (64/73) Installing ffmpeg (4.4.1-r2) 13:04:04 (65/73) Installing udev-init-scripts (35-r0) 13:04:04 Executing udev-init-scripts-35-r0.post-install 13:04:04 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 13:04:04 (67/73) Installing xz-libs (5.2.5-r1) 13:04:04 (68/73) Installing zstd-libs (1.5.0-r0) 13:04:04 (69/73) Installing kmod-libs (29-r2) 13:04:04 (70/73) Installing eudev (3.2.11_pre1-r0) 13:04:04 (71/73) Installing libsodium (1.0.18-r0) 13:04:04 (72/73) Installing libzmq (4.3.4-r0) 13:04:04 (73/73) Installing zeromq (4.3.4-r0) 13:04:04 Executing busybox-1.34.1-r5.trigger 13:04:04 Executing eudev-3.2.11_pre1-r0.trigger 13:04:04 OK: 67 MiB in 87 packages 13:04:05 Removing intermediate container 4e54c82bf570 13:04:05 ---> e10ed68721e3 13:04:05 Step 17/29 : WORKDIR / 13:04:05 ---> Running in 9de9237f8921 13:04:05 Removing intermediate container 9de9237f8921 13:04:05 ---> fb1c0fa8256b 13:04:05 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:04:07 ---> 92f9ec6c54e9 13:04:07 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:04:07 ---> 0d6e5bf1c68e 13:04:07 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:04:07 ---> bbb55768aecb 13:04:07 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:04:08 ---> 0ba7008806ed 13:04:08 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:04:09 ---> ee9fcfefa0e6 13:04:09 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:04:10 ---> 88d6ffcd942c 13:04:10 Step 24/29 : EXPOSE 59983 13:04:10 ---> Running in c3267afb6bfa 13:04:10 Removing intermediate container c3267afb6bfa 13:04:10 ---> 7b9cdf00acaa 13:04:10 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:04:10 ---> Running in f39b2f7fe1b9 13:04:11 Removing intermediate container f39b2f7fe1b9 13:04:11 ---> 1f30548ccf4f 13:04:11 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:04:11 ---> Running in dbdd32adf359 13:04:11 Removing intermediate container dbdd32adf359 13:04:11 ---> 90eae7dadbd9 13:04:11 Step 27/29 : LABEL arch=arm64 13:04:11 ---> Running in cd58a8fc90b3 13:04:11 Removing intermediate container cd58a8fc90b3 13:04:11 ---> 136918a582f7 13:04:11 Step 28/29 : LABEL git_sha=62e997440414807b99501bc10b6a68f42e6b4436 13:04:12 ---> Running in 384f7864f152 13:04:12 Removing intermediate container 384f7864f152 13:04:12 ---> 9f7f9f9bc219 13:04:12 Step 29/29 : LABEL version=0.0.0 13:04:12 ---> Running in 573177d2e117 13:04:12 Removing intermediate container 573177d2e117 13:04:12 ---> 4ada277a15e0 13:04:12 [Warning] One or more build-args [ARCH] were not consumed 13:04:12 Successfully built 4ada277a15e0 13:04:12 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 13:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:04:13 13:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:04:13 arm64: Pulling from edgex-lftools-log-publisher 13:04:13 8998bd30e6a1: Pulling fs layer 13:04:13 04944245beec: Pulling fs layer 13:04:13 699f458cf7ca: Pulling fs layer 13:04:13 765212b225bb: Pulling fs layer 13:04:13 f23df028b6ca: Pulling fs layer 13:04:13 d65c8cfc05b1: Pulling fs layer 13:04:13 2437ff75d9bd: Pulling fs layer 13:04:13 f23df028b6ca: Waiting 13:04:13 765212b225bb: Waiting 13:04:13 2437ff75d9bd: Waiting 13:04:13 04944245beec: Verifying Checksum 13:04:13 04944245beec: Download complete 13:04:13 765212b225bb: Verifying Checksum 13:04:13 765212b225bb: Download complete 13:04:13 f23df028b6ca: Verifying Checksum 13:04:13 f23df028b6ca: Download complete 13:04:13 d65c8cfc05b1: Verifying Checksum 13:04:13 d65c8cfc05b1: Download complete 13:04:13 699f458cf7ca: Verifying Checksum 13:04:13 699f458cf7ca: Download complete 13:04:14 8998bd30e6a1: Download complete 13:04:16 2437ff75d9bd: Verifying Checksum 13:04:16 2437ff75d9bd: Download complete 13:04:18 8998bd30e6a1: Pull complete 13:04:18 04944245beec: Pull complete 13:04:20 699f458cf7ca: Pull complete 13:04:20 765212b225bb: Pull complete 13:04:21 f23df028b6ca: Pull complete 13:04:21 d65c8cfc05b1: Pull complete 13:04:36 2437ff75d9bd: Pull complete 13:04:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:04:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:04:36 prd-ubuntu20.04-docker-arm64-4c-16g-64480 does not seem to be running inside a container 13:04:36 $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:04:39 $ docker top b5bd80c2d38a19a057c7c2483c673e31f1a559d1729899f7a9368b6cca79c401 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:04:40 ---> job-cost.sh 13:04:40 lf-activate-venv: SKIPPING 13:04:40 INFO: No Stack... 13:04:40 INFO: Retrieving Pricing Info for: v3-standard-4 13:04:41 INFO: Archiving Costs [Pipeline] sh 13:04:42 + cut -d, -f6 13:04:42 + cat /w/workspace/device-usb-camera/7/archives/cost.csv [Pipeline] lock 13:04:42 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] 13:04:42 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] did not exist. Created. 13:04:42 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:04:42 /w/workspace/device-usb-camera/7@tmp/durable-a9dc69c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:04:43 + echo total: 0.10999999940395355 [Pipeline] stash 13:04:43 Warning: overwriting stash ‘stack-cost’ 13:04:43 Stashed 1 file(s) [Pipeline] } 13:04:43 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-7-stack-cost] [Pipeline] // lock [Pipeline] } 13:04:43 $ docker stop --time=1 b5bd80c2d38a19a057c7c2483c673e31f1a559d1729899f7a9368b6cca79c401 13:04:45 $ docker rm -f b5bd80c2d38a19a057c7c2483c673e31f1a559d1729899f7a9368b6cca79c401 [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 13:04:45 provisioning config files... 13:04:45 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1923089456585961585tmp [Pipeline] { [Pipeline] sh 13:04:46 + set +x 13:04:46 + curl -s https://codecov.io/bash 13:04:46 + bash -s -- 13:04:46 13:04:46 _____ _ 13:04:46 / ____| | | 13:04:46 | | ___ __| | ___ ___ _____ __ 13:04:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:04:46 | |___| (_) | (_| | __/ (_| (_) \ V / 13:04:46 \_____\___/ \__,_|\___|\___\___/ \_/ 13:04:46 Bash-1.0.6 13:04:46 13:04:46 13:04:46 ==> git version 2.25.1 found 13:04:46 ==> 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 13:04:46 Release-Date: 2020-01-08 13:04:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:04:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:04:46 ==> Jenkins CI detected. 13:04:46 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 13:04:46 project root: . 13:04:46 --> token set from env 13:04:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:04:46 ==> Running gcov in . (disable via -X gcov) 13:04:46 ==> Python coveragepy not found 13:04:46 ==> Searching for coverage reports in: 13:04:46 + . 13:04:46 -> Found 1 reports 13:04:46 ==> Detecting git/mercurial file structure 13:04:46 ==> Reading reports 13:04:46 + ./coverage.out bytes=10 13:04:46 ==> Appending adjustments 13:04:46 https://docs.codecov.io/docs/fixing-reports 13:04:46 + Found adjustments 13:04:46 ==> Gzipping contents 13:04:46 4.0K /tmp/codecov.tOLeGN.gz 13:04:46 ==> Uploading reports 13:04:46 url: https://codecov.io 13:04:46 query: branch=PR-30&commit=1aefe85bbd41b7af240a476cc4babfabf5836c32&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:04:46 -> Pinging Codecov 13:04:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=1aefe85bbd41b7af240a476cc4babfabf5836c32&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:04:46 -> Uploading to 13:04:46 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/1aefe85bbd41b7af240a476cc4babfabf5836c32/e435766b-acdf-4c26-8e6b-280bf2da7c52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T130446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed2fbcb547e67f0c3effb25871f8aba847f203c923ea0c0990441806521f8be9 13:04:46 % Total % Received % Xferd Average Speed Time Time Time Current 13:04:46 Dload Upload Total Spent Left Speed 13:04:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1841 0 0 100 1841 0 6768 --:--:-- --:--:-- --:--:-- 6793 13:04:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/1aefe85bbd41b7af240a476cc4babfabf5836c32 [Pipeline] } 13:04:46 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 13:04:47 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 13:04:47 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:04:47 total 16 13:04:47 drwxr-xr-x 3 root root 4096 May 24 12:57 . 13:04:47 drwxrwxr-x 11 jenkins jenkins 4096 May 24 12:57 .. 13:04:47 drwxr-xr-x 2 root root 4096 May 24 12:57 cost 13:04:47 -rw-r--r-- 1 root root 87 May 24 12:57 cost.csv 13:04:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:04:47 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:04:47 total 16 13:04:47 drwxr-xr-x 3 jenkins jenkins 4096 May 24 12:57 . 13:04:47 drwxrwxr-x 11 jenkins jenkins 4096 May 24 12:57 .. 13:04:47 drwxr-xr-x 2 jenkins jenkins 4096 May 24 12:57 cost 13:04:47 -rw-r--r-- 1 jenkins jenkins 87 May 24 12:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:04:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:04:48 ---> package-listing.sh 13:04:48 ++ facter osfamily 13:04:48 ++ tr '[:upper:]' '[:lower:]' 13:04:49 + OS_FAMILY=debian 13:04:49 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 13:04:49 + START_PACKAGES=/tmp/packages_start.txt 13:04:49 + END_PACKAGES=/tmp/packages_end.txt 13:04:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:04:49 + PACKAGES=/tmp/packages_start.txt 13:04:49 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:04:49 + PACKAGES=/tmp/packages_end.txt 13:04:49 + case "${OS_FAMILY}" in 13:04:49 + dpkg -l 13:04:49 + grep '^ii' 13:04:49 + '[' -f /tmp/packages_start.txt ']' 13:04:49 + '[' -f /tmp/packages_end.txt ']' 13:04:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:04:49 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:04:49 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 13:04:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 13:04:49 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-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:04:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:04:49 . [Pipeline] withDockerContainer 13:04:50 prd-ubuntu20.04-docker-8c-8g-64479 does not seem to be running inside a container 13:04:50 $ 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-30/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-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:04:50 $ docker top a9c9540d316ca1d06e2a4625100208a4ba02b7cc210ba328e8551a0f1769283a -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:50 + touch /tmp/pre-build-complete [Pipeline] sh 13:04:50 + mkdir -p /var/log/sysstat [Pipeline] sh 13:04:51 + ls /var/log/sa-host 13:04:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:04:51 provisioning config files... 13:04:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1558875646310027001tmp [Pipeline] { [Pipeline] echo 13:04:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:04:51 ---> create-netrc.sh [Pipeline] } 13:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:04:52 ---> python-tools-install.sh [Pipeline] echo 13:04:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:04:52 ---> sudo-logs.sh 13:04:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:04:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:04:52 ---> job-cost.sh 13:04:52 lf-activate-venv: SKIPPING 13:04:52 DEBUG: total: 0.2199999988079071 13:04:52 INFO: Retrieving Stack Cost... 13:04:52 INFO: Retrieving Pricing Info for: v3-standard-8 13:04:53 INFO: Archiving Costs [Pipeline] echo 13:04:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:04:53 ---> logs-deploy.sh 13:04:53 lf-activate-venv: SKIPPING 13:04:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/7 13:04:53 INFO: archiving workspace using pattern(s): 13:04:54 Archives upload complete. 13:04:54 INFO: archiving logs to Nexus