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 a19e9f551be91b9bab22a2dbda16c473ae7f3a4f+aaa7e572fda13da2933300a631edf8df830ba1ce (1d008a583a6290c5ade88873776cd9cfd4469f8a) 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-ssh2706885508740810555.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-ssh14104588508735711082.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-ssh11800703712822626990.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-ssh16977194346596975038.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-ssh6995208815103499205.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-64483 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 a19e9f551be91b9bab22a2dbda16c473ae7f3a4f Merge succeeded, producing 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 Checking out Revision 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f a19e9f551be91b9bab22a2dbda16c473ae7f3a4f # 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 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 # 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 14:25:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:25:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:25:20 ========================================================= 14:25:20 EdgeX Global Pipelines Version Info 14:25:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 62e997440414807b99501bc10b6a68f42e6b4436 # timeout=10 14:25:21 ------------------- 14:25:21 stable info: 14:25:21 ------------------- 14:25:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:25:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:25:21 Message: update stable to v1.0.230 14:25:22 ------------------- 14:25:22 experimental info: 14:25:22 ------------------- 14:25:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:25:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:25:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7adc8ff [Pipeline] echo 14:25:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:22 provisioning config files... 14:25:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6323306154323957183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:23 ---> docker-login.sh 14:25:23 nexus3.edgexfoundry.org:10001 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:23 nexus3.edgexfoundry.org:10002 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:23 nexus3.edgexfoundry.org:10003 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:23 nexus3.edgexfoundry.org:10004 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:23 Configure a credential helper to remove this warning. See 14:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:23 14:25:23 Login Succeeded 14:25:23 docker.io 14:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:24 Configure a credential helper to remove this warning. See 14:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:24 14:25:24 Login Succeeded 14:25:24 ---> docker-login.sh ends [Pipeline] } 14:25:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:25:24 + git rev-list -1 --merges 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8~1..7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo 14:25:24 -----------> git rev-list -1 --merges 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8~1..7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 14:25:24 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [false] [Pipeline] sh 14:25:25 + git log --format=format:%s -1 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo 14:25:25 ========================================================= 14:25:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:25:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:25 + git log --format=format:%s -1 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] echo 14:25:25 [semverPrep] GIT_COMMIT: 7adc8ffbb9bd74602b0443fbdab1727ab51af9b8, Commit Message: Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD [Pipeline] echo 14:25:25 [semverPrep] This is not a build commit. [Pipeline] sh 14:25:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:25:26 + grep -v github /etc/ssh/ssh_known_hosts 14:25:26 + [ -e /tmp/ssh_known_hosts ] 14:25:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:25:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:25:26 + sudo tee -a /etc/ssh/ssh_known_hosts 14:25:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:25:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:25:26 14:25:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:25:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:25:26 latest: Pulling from edgex-devops/py-git-semver 14:25:26 1fe172e4850f: Pulling fs layer 14:25:26 caf521ccaac6: Pulling fs layer 14:25:26 3ead6fa29328: Pulling fs layer 14:25:26 5c2a1cbceb83: Pulling fs layer 14:25:26 a8d5f1318db7: Pulling fs layer 14:25:26 c427282e49a2: Pulling fs layer 14:25:26 1827001aaf11: Pulling fs layer 14:25:26 0714d37db230: Pulling fs layer 14:25:26 ac28cf19c067: Pulling fs layer 14:25:26 ca983d60f3e2: Pulling fs layer 14:25:26 9f894cec8388: Pulling fs layer 14:25:26 5c2a1cbceb83: Waiting 14:25:26 a8d5f1318db7: Waiting 14:25:26 c427282e49a2: Waiting 14:25:26 1827001aaf11: Waiting 14:25:26 0714d37db230: Waiting 14:25:26 ac28cf19c067: Waiting 14:25:26 ca983d60f3e2: Waiting 14:25:26 9f894cec8388: Waiting 14:25:26 caf521ccaac6: Verifying Checksum 14:25:26 caf521ccaac6: Download complete 14:25:26 5c2a1cbceb83: Download complete 14:25:27 a8d5f1318db7: Verifying Checksum 14:25:27 a8d5f1318db7: Download complete 14:25:27 c427282e49a2: Verifying Checksum 14:25:27 c427282e49a2: Download complete 14:25:27 3ead6fa29328: Verifying Checksum 14:25:27 3ead6fa29328: Download complete 14:25:27 0714d37db230: Download complete 14:25:27 ac28cf19c067: Verifying Checksum 14:25:27 ac28cf19c067: Download complete 14:25:27 ca983d60f3e2: Verifying Checksum 14:25:27 ca983d60f3e2: Download complete 14:25:27 9f894cec8388: Download complete 14:25:27 1fe172e4850f: Verifying Checksum 14:25:27 1fe172e4850f: Download complete 14:25:27 1827001aaf11: Verifying Checksum 14:25:27 1827001aaf11: Download complete 14:25:28 1fe172e4850f: Pull complete 14:25:28 caf521ccaac6: Pull complete 14:25:28 3ead6fa29328: Pull complete 14:25:28 5c2a1cbceb83: Pull complete 14:25:29 a8d5f1318db7: Pull complete 14:25:29 c427282e49a2: Pull complete 14:25:31 1827001aaf11: Pull complete 14:25:31 0714d37db230: Pull complete 14:25:31 ac28cf19c067: Pull complete 14:25:31 ca983d60f3e2: Pull complete 14:25:31 9f894cec8388: Pull complete 14:25:31 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:25:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:25:31 prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container 14:25:31 $ 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 14:25:33 $ docker top ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da -eo pid,comm 14:25:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:25:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:25:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:33 [ssh-agent] Looking for ssh-agent implementation... 14:25:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:33 $ docker exec ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent 14:25:33 SSH_AUTH_SOCK=/tmp/ssh-yFQt5BfxvICv/agent.34 14:25:33 SSH_AGENT_PID=40 14:25:33 Running ssh-add (command line suppressed) 14:25:33 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2781563692162169765.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_2781563692162169765.key) 14:25:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:34 + git tag --points-at HEAD [Pipeline] } 14:25:34 $ docker exec --env ******** --env ******** ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent -k 14:25:34 unset SSH_AUTH_SOCK; 14:25:34 unset SSH_AGENT_PID; 14:25:34 echo Agent pid 40 killed; 14:25:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:25:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:34 [ssh-agent] Looking for ssh-agent implementation... 14:25:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:34 $ docker exec ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent 14:25:34 SSH_AUTH_SOCK=/tmp/ssh-GvwiQd8gAS6c/agent.74 14:25:34 SSH_AGENT_PID=80 14:25:34 Running ssh-add (command line suppressed) 14:25:34 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5922487376253677842.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_5922487376253677842.key) 14:25:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:35 + git semver init 14:25:35 2022-05-24 14:25:35,340 [run_init] DEBUG init version:0.0.0 force:False 14:25:35 2022-05-24 14:25:35,341 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 14:25:35 2022-05-24 14:25:35,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 14:25:35 2022-05-24 14:25:35,342 [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) 14:25:35 2022-05-24 14:25:35,918 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 14:25:35 2022-05-24 14:25:35,918 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 14:25:35 2022-05-24 14:25:35,918 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 14:25:35 2022-05-24 14:25:35,922 [execute] INFO git cat-file --batch-check 14:25:35 2022-05-24 14:25:35,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 14:25:35 2022-05-24 14:25:35,928 [execute] INFO git cat-file --batch 14:25:35 2022-05-24 14:25:35,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 14:25:35 2022-05-24 14:25:35,933 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 14:25:35 0.0.0 [Pipeline] } 14:25:35 $ docker exec --env ******** --env ******** ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da ssh-agent -k 14:25:36 unset SSH_AUTH_SOCK; 14:25:36 unset SSH_AGENT_PID; 14:25:36 echo Agent pid 80 killed; 14:25:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:25:36 + git semver [Pipeline] } 14:25:36 $ docker stop --time=1 ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da 14:25:38 $ docker rm -f ff9d3f5a646b4aec18d14fe72a2cdc1f6601b0fb5b83b2f0749a90e2104cd0da [Pipeline] // withDockerContainer [Pipeline] sh 14:25:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:25:38 Stashed 1 file(s) [Pipeline] echo 14:25:38 [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 14:25:38 provisioning config files... 14:25:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config388377035343787360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:39 ---> docker-login.sh 14:25:39 nexus3.edgexfoundry.org:10001 14:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:39 Configure a credential helper to remove this warning. See 14:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:39 14:25:39 Login Succeeded 14:25:39 nexus3.edgexfoundry.org:10002 14:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:39 Configure a credential helper to remove this warning. See 14:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:39 14:25:39 Login Succeeded 14:25:39 nexus3.edgexfoundry.org:10003 14:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:39 Configure a credential helper to remove this warning. See 14:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:39 14:25:39 Login Succeeded 14:25:39 nexus3.edgexfoundry.org:10004 14:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:39 Configure a credential helper to remove this warning. See 14:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:39 14:25:39 Login Succeeded 14:25:39 docker.io 14:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:39 Configure a credential helper to remove this warning. See 14:25:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:39 14:25:39 Login Succeeded 14:25:39 ---> docker-login.sh ends [Pipeline] } 14:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:25:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:25:39 ========================================================= 14:25:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:25:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:25:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:25:40 Sending build context to Docker daemon 762.4kB 14:25:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:25:40 Step 2/12 : FROM ${BASE} AS builder 14:25:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:25:40 59bf1c3509f3: Pulling fs layer 14:25:40 666ba61612fd: Pulling fs layer 14:25:40 8ed8ca486205: Pulling fs layer 14:25:40 4fe6c5a15a65: Pulling fs layer 14:25:40 22a0e8bec74d: Pulling fs layer 14:25:40 ca2b28591e48: Pulling fs layer 14:25:40 a51346096db8: Pulling fs layer 14:25:40 daebc70d1ce1: Pulling fs layer 14:25:40 0e18a0eac166: Pulling fs layer 14:25:40 22a0e8bec74d: Waiting 14:25:40 ca2b28591e48: Waiting 14:25:40 a51346096db8: Waiting 14:25:40 daebc70d1ce1: Waiting 14:25:40 0e18a0eac166: Waiting 14:25:40 4fe6c5a15a65: Waiting 14:25:40 8ed8ca486205: Download complete 14:25:40 666ba61612fd: Download complete 14:25:40 22a0e8bec74d: Verifying Checksum 14:25:40 22a0e8bec74d: Download complete 14:25:40 ca2b28591e48: Verifying Checksum 14:25:40 ca2b28591e48: Download complete 14:25:40 59bf1c3509f3: Verifying Checksum 14:25:40 59bf1c3509f3: Download complete 14:25:40 a51346096db8: Verifying Checksum 14:25:40 a51346096db8: Download complete 14:25:40 daebc70d1ce1: Verifying Checksum 14:25:40 daebc70d1ce1: Download complete 14:25:40 59bf1c3509f3: Pull complete 14:25:40 666ba61612fd: Pull complete 14:25:40 8ed8ca486205: Pull complete 14:25:41 0e18a0eac166: Verifying Checksum 14:25:41 0e18a0eac166: Download complete 14:25:41 4fe6c5a15a65: Verifying Checksum 14:25:41 4fe6c5a15a65: Download complete 14:25:45 4fe6c5a15a65: Pull complete 14:25:45 22a0e8bec74d: Pull complete 14:25:45 ca2b28591e48: Pull complete 14:25:45 a51346096db8: Pull complete 14:25:45 daebc70d1ce1: Pull complete 14:25:47 0e18a0eac166: Pull complete 14:25:47 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:25:47 ---> f018257e8ee9 14:25:47 Step 3/12 : ARG MAKE="make build" 14:25:49 ---> Running in fcca661dc035 14:25:49 Removing intermediate container fcca661dc035 14:25:49 ---> a7b590d9ccc7 14:25:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:25:49 ---> Running in 9c47c4eee338 14:25:49 Removing intermediate container 9c47c4eee338 14:25:49 ---> 1d5415ba79db 14:25:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:25:49 ---> Running in 5b0edb12a0bd 14:25:49 Removing intermediate container 5b0edb12a0bd 14:25:49 ---> fc7799824353 14:25:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:49 ---> Running in 75ccc98143a8 14:25:49 Removing intermediate container 75ccc98143a8 14:25:49 ---> 4a87e343f343 14:25:49 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:25:49 ---> Running in aac29869b86f 14:25:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:25:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:25:51 (1/81) Installing mesa (21.2.6-r0) 14:25:51 (2/81) Installing libxau (1.0.9-r0) 14:25:51 (3/81) Installing libmd (1.0.3-r0) 14:25:51 (4/81) Installing libbsd (0.11.3-r1) 14:25:51 (5/81) Installing libxdmcp (1.1.3-r0) 14:25:51 (6/81) Installing libxcb (1.14-r2) 14:25:51 (7/81) Installing libx11 (1.7.2-r0) 14:25:51 (8/81) Installing libxext (1.3.4-r0) 14:25:51 (9/81) Installing libxfixes (6.0.0-r0) 14:25:52 (10/81) Installing libxxf86vm (1.1.4-r2) 14:25:52 (11/81) Installing libpciaccess (0.16-r0) 14:25:52 (12/81) Installing libdrm (2.4.109-r0) 14:25:52 (13/81) Installing mesa-glapi (21.2.6-r0) 14:25:52 (14/81) Installing libxshmfence (1.3-r1) 14:25:52 (15/81) Installing mesa-gl (21.2.6-r0) 14:25:52 (16/81) Installing libice (1.0.10-r0) 14:25:52 (17/81) Installing libuuid (2.37.4-r0) 14:25:52 (18/81) Installing libsm (1.2.3-r0) 14:25:52 (19/81) Installing libxt (1.2.1-r0) 14:25:52 (20/81) Installing libxmu (1.1.3-r0) 14:25:53 (21/81) Installing xset (1.2.4-r0) 14:25:53 (22/81) Installing xprop (1.2.5-r0) 14:25:53 (23/81) Installing xdg-utils (1.1.3-r0) 14:25:53 (24/81) Installing dbus-libs (1.12.20-r4) 14:25:53 (25/81) Installing libffi (3.4.2-r1) 14:25:53 (26/81) Installing libintl (0.21-r0) 14:25:53 (27/81) Installing libblkid (2.37.4-r0) 14:25:53 (28/81) Installing libmount (2.37.4-r0) 14:25:53 (29/81) Installing pcre (8.45-r1) 14:25:53 Still waiting to schedule task 14:25:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:25:54 (30/81) Installing glib (2.70.1-r0) 14:25:54 (31/81) Installing icu-libs (69.1-r1) 14:25:54 (32/81) Installing libpcre2-16 (10.39-r0) 14:25:54 (33/81) Installing zstd-libs (1.5.0-r0) 14:25:54 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 14:25:55 (35/81) Installing hicolor-icon-theme (0.17-r1) 14:25:55 (36/81) Installing wayland-libs-server (1.19.0-r1) 14:25:55 (37/81) Installing mesa-gbm (21.2.6-r0) 14:25:55 (38/81) Installing wayland-libs-client (1.19.0-r1) 14:25:55 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 14:25:55 (40/81) Installing libxcomposite (0.4.5-r0) 14:25:55 (41/81) Installing libbz2 (1.0.8-r1) 14:25:55 (42/81) Installing libpng (1.6.37-r1) 14:25:55 (43/81) Installing freetype (2.11.1-r2) 14:25:56 (44/81) Installing fontconfig (2.13.1-r4) 14:25:56 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 14:25:56 (46/81) Installing wayland-libs-egl (1.19.0-r1) 14:25:56 (47/81) Installing xkeyboard-config (2.34-r0) 14:25:56 (48/81) Installing xz-libs (5.2.5-r1) 14:25:56 (49/81) Installing libxml2 (2.9.14-r0) 14:25:56 (50/81) Installing libxkbcommon (1.3.1-r0) 14:25:56 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 14:25:56 (52/81) Installing mesa-egl (21.2.6-r0) 14:25:56 (53/81) Installing avahi-libs (0.8-r5) 14:25:56 (54/81) Installing nettle (3.7.3-r0) 14:25:57 (55/81) Installing p11-kit (0.24.0-r1) 14:25:57 (56/81) Installing libtasn1 (4.18.0-r0) 14:25:57 (57/81) Installing libunistring (0.9.10-r1) 14:25:57 (58/81) Installing gnutls (3.7.1-r0) 14:25:57 (59/81) Installing cups-libs (2.3.3-r5) 14:25:57 (60/81) Installing graphite2 (1.3.14-r0) 14:25:57 (61/81) Installing harfbuzz (3.0.0-r2) 14:25:57 (62/81) Installing libevdev (1.12.0-r0) 14:25:58 (63/81) Installing mtdev (1.1.6-r0) 14:25:58 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 14:25:58 (65/81) Installing libinput-libs (1.19.4-r0) 14:25:58 (66/81) Installing libjpeg-turbo (2.1.2-r0) 14:25:58 (67/81) Installing xcb-util-wm (0.4.1-r1) 14:25:58 (68/81) Installing xcb-util (0.4.0-r3) 14:25:58 (69/81) Installing xcb-util-image (0.4.0-r1) 14:25:58 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 14:25:58 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 14:25:58 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 14:25:58 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 14:25:59 (74/81) Installing v4l-utils-libs (1.22.1-r1) 14:25:59 (75/81) Installing v4l-utils (1.22.1-r1) 14:25:59 (76/81) Installing udev-init-scripts (35-r0) 14:25:59 Executing udev-init-scripts-35-r0.post-install 14:25:59 (77/81) Installing kmod-libs (29-r2) 14:25:59 (78/81) Installing eudev (3.2.11_pre1-r0) 14:25:59 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 14:25:59 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 14:25:59 (81/81) Installing v4l-utils-dev (1.22.1-r1) 14:26:00 Executing busybox-1.34.1-r3.trigger 14:26:00 Executing eudev-3.2.11_pre1-r0.trigger 14:26:00 OK: 335 MiB in 133 packages 14:26:02 Removing intermediate container aac29869b86f 14:26:02 ---> 14e44d0301db 14:26:02 Step 8/12 : WORKDIR /device-usb-camera 14:26:02 ---> Running in c7fd87f2b2cb 14:26:02 Removing intermediate container c7fd87f2b2cb 14:26:02 ---> 27e72dfa2594 14:26:02 Step 9/12 : COPY go.mod vendor* ./ 14:26:02 ---> 6c07334dbb9a 14:26:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:26:02 ---> Running in fa803727259a 14:26:20 Removing intermediate container fa803727259a 14:26:20 ---> e3be9666f3e3 14:26:20 Step 11/12 : COPY . . 14:26:20 ---> 2517f1eba00c 14:26:20 Step 12/12 : RUN ${MAKE} 14:26:20 ---> Running in 28afebc36a2c 14:26:20 noop 14:26:20 Removing intermediate container 28afebc36a2c 14:26:20 ---> ffe10abccba3 14:26:20 Successfully built ffe10abccba3 14:26:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:26:20 + docker inspect -f . ci-base-image-x86_64 14:26:20 . [Pipeline] withDockerContainer 14:26:20 prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container 14:26:20 $ 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 14:26:21 $ docker top d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:21 + go version 14:26:21 go version go1.17.6 linux/amd64 [Pipeline] } 14:26:21 $ docker stop --time=1 d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 14:26:22 $ docker rm -f d7bc8afe9c9feb9b3fcbc86d9bb381838e2a2386c68cb580c32a87e7b7a21130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:26:23 + docker inspect -f . ci-base-image-x86_64 14:26:23 . [Pipeline] withDockerContainer 14:26:23 prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container 14:26:23 $ 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 14:26:23 $ docker top 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:26:24 + make test 14:26:24 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 14:26:24 ? github.com/edgexfoundry/device-usb-camera [no test files] 14:26:34 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 14:26:34 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 14:26:39 CGO_ENABLED=1 go vet ./... 14:26:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:26:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:26:43 ./bin/test-attribution-txt.sh [Pipeline] echo 14:26:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:26:44 $ docker stop --time=1 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb 14:26:45 $ docker rm -f 6e0f069a4b879f896f97f73a98a664724e47d1502923ba2c671d17510ad66ccb [Pipeline] // withDockerContainer [Pipeline] sh 14:26:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:26:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:26:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:26:47 + ls -al . 14:26:47 total 168 14:26:47 drwxrwxr-x 10 jenkins jenkins 4096 May 24 14:26 . 14:26:47 drwxrwxr-x 4 jenkins jenkins 4096 May 24 14:25 .. 14:26:47 drwxrwxr-x 8 jenkins jenkins 4096 May 24 14:25 .git 14:26:47 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 .github 14:26:47 -rw-rw-r-- 1 jenkins jenkins 414 May 24 14:25 .gitignore 14:26:47 -rw-rw-r-- 1 jenkins jenkins 42 May 24 14:25 .golangci.yml 14:26:47 -rw-rw-r-- 1 jenkins jenkins 77 May 24 14:25 .hadolint.yml 14:26:47 drwxr-xr-x 3 jenkins jenkins 4096 May 24 14:25 .semver 14:26:47 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 14:25 Attribution.txt 14:26:47 -rw-rw-r-- 1 jenkins jenkins 181 May 24 14:25 CHANGELOG.md 14:26:47 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 14:25 Dockerfile 14:26:47 -rw-rw-r-- 1 jenkins jenkins 678 May 24 14:25 GOVERNANCE.md 14:26:47 -rw-rw-r-- 1 jenkins jenkins 659 May 24 14:25 Jenkinsfile 14:26:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 14:25 LICENSE 14:26:47 -rw-rw-r-- 1 jenkins jenkins 2030 May 24 14:25 Makefile 14:26:47 -rw-rw-r-- 1 jenkins jenkins 622 May 24 14:25 OWNERS.md 14:26:47 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 14:25 README.md 14:26:47 -rw-rw-r-- 1 jenkins jenkins 5 May 24 14:25 VERSION 14:26:47 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 bin 14:26:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 cmd 14:26:47 -rw-r--r-- 1 jenkins jenkins 10 May 24 14:26 coverage.out 14:26:47 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:25 docker-compose 14:26:47 -rw-rw-r-- 1 jenkins jenkins 140 May 24 14:25 docker-entrypoint.sh 14:26:47 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 14:25 go.mod 14:26:47 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 14:25 go.sum 14:26:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 internal 14:26:47 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:25 snap 14:26:47 -rw-rw-r-- 1 jenkins jenkins 231 May 24 14:25 version.go [Pipeline] isUnix [Pipeline] sh 14:26:47 + 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=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 --label arch=amd64 --label version=0.0.0 . 14:26:47 Sending build context to Docker daemon 763.4kB 14:26:47 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 14:26:47 Step 2/29 : FROM ${BASE} AS builder 14:26:47 ---> ffe10abccba3 14:26:47 Step 3/29 : ARG MAKE="make build" 14:26:47 ---> Running in 42d2d1578c5b 14:26:47 Removing intermediate container 42d2d1578c5b 14:26:47 ---> 5f616f95c0e1 14:26:47 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:26:47 ---> Running in 8062a53e2e7b 14:26:47 Removing intermediate container 8062a53e2e7b 14:26:47 ---> 9cf953c81f1b 14:26:47 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:26:47 ---> Running in fdd588b663da 14:26:47 Removing intermediate container fdd588b663da 14:26:47 ---> 01c5dcd6e102 14:26:47 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:26:47 ---> Running in 93cf1db26d2e 14:26:48 Removing intermediate container 93cf1db26d2e 14:26:48 ---> 474d5e64ce17 14:26:48 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:26:48 ---> Running in c8eb5232da8a 14:26:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:26:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:26:49 OK: 335 MiB in 133 packages 14:26:50 Removing intermediate container c8eb5232da8a 14:26:50 ---> c6f274f254c9 14:26:50 Step 8/29 : WORKDIR /device-usb-camera 14:26:50 ---> Running in 004bc5272875 14:26:50 Removing intermediate container 004bc5272875 14:26:50 ---> e525dfc9ba08 14:26:50 Step 9/29 : COPY go.mod vendor* ./ 14:26:50 ---> 006521d34a08 14:26:50 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:26:50 ---> Running in d3e84b139a44 14:26:51 Removing intermediate container d3e84b139a44 14:26:51 ---> 5579a721dbe4 14:26:51 Step 11/29 : COPY . . 14:26:51 ---> 5ed294cff936 14:26:51 Step 12/29 : RUN ${MAKE} 14:26:51 ---> Running in 70544e7f0751 14:26:51 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 14:27:09 Removing intermediate container 70544e7f0751 14:27:09 ---> 069f9af2c3e6 14:27:09 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 14:27:10 v0.18.4: Pulling from aler9/rtsp-simple-server 14:27:10 af6660deedbd: Pulling fs layer 14:27:10 97cd0a44c592: Pulling fs layer 14:27:10 97cd0a44c592: Verifying Checksum 14:27:10 97cd0a44c592: Download complete 14:27:10 af6660deedbd: Verifying Checksum 14:27:10 af6660deedbd: Download complete 14:27:10 af6660deedbd: Pull complete 14:27:10 97cd0a44c592: Pull complete 14:27:10 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 14:27:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 14:27:10 ---> fea57e182299 14:27:10 Step 14/29 : FROM alpine:3.15 14:27:11 3.15: Pulling from library/alpine 14:27:11 df9b9388f04a: Pulling fs layer 14:27:11 df9b9388f04a: Verifying Checksum 14:27:11 df9b9388f04a: Download complete 14:27:11 df9b9388f04a: Pull complete 14:27:11 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:27:11 Status: Downloaded newer image for alpine:3.15 14:27:11 ---> 0ac33e5f5afa 14:27:11 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:27:11 ---> Running in 1e02210c02df 14:27:11 Removing intermediate container 1e02210c02df 14:27:11 ---> 0a338161e6e8 14:27:11 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 14:27:11 ---> Running in 484087c9bd43 14:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:27:12 (1/74) Installing dumb-init (1.2.5-r1) 14:27:12 (2/74) Installing sdl2 (2.0.16-r4) 14:27:12 (3/74) Installing libxau (1.0.9-r0) 14:27:12 (4/74) Installing libmd (1.0.3-r0) 14:27:12 (5/74) Installing libbsd (0.11.3-r1) 14:27:12 (6/74) Installing libxdmcp (1.1.3-r0) 14:27:12 (7/74) Installing libxcb (1.14-r2) 14:27:12 (8/74) Installing libx11 (1.7.2-r0) 14:27:12 (9/74) Installing aom-libs (3.2.0-r0) 14:27:12 (10/74) Installing alsa-lib (1.2.5.1-r1) 14:27:12 (11/74) Installing expat (2.4.7-r0) 14:27:12 (12/74) Installing brotli-libs (1.0.9-r5) 14:27:12 (13/74) Installing libbz2 (1.0.8-r1) 14:27:12 (14/74) Installing libpng (1.6.37-r1) 14:27:12 (15/74) Installing freetype (2.11.1-r2) 14:27:12 (16/74) Installing libuuid (2.37.4-r0) 14:27:12 (17/74) Installing fontconfig (2.13.1-r4) 14:27:12 (18/74) Installing fribidi (1.0.11-r0) 14:27:12 (19/74) Installing libffi (3.4.2-r1) 14:27:12 (20/74) Installing libintl (0.21-r0) 14:27:12 (21/74) Installing libblkid (2.37.4-r0) 14:27:12 (22/74) Installing libmount (2.37.4-r0) 14:27:12 (23/74) Installing pcre (8.45-r1) 14:27:12 (24/74) Installing glib (2.70.1-r0) 14:27:12 (25/74) Installing graphite2 (1.3.14-r0) 14:27:12 (26/74) Installing harfbuzz (3.0.0-r2) 14:27:12 (27/74) Installing libass (0.15.2-r0) 14:27:12 (28/74) Installing libdav1d (0.9.2-r0) 14:27:12 (29/74) Installing gmp (6.2.1-r1) 14:27:12 (30/74) Installing nettle (3.7.3-r0) 14:27:12 (31/74) Installing p11-kit (0.24.0-r1) 14:27:12 (32/74) Installing libtasn1 (4.18.0-r0) 14:27:12 (33/74) Installing libunistring (0.9.10-r1) 14:27:12 (34/74) Installing gnutls (3.7.1-r0) 14:27:12 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 14:27:12 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 14:27:12 (37/74) Installing lame (3.100-r0) 14:27:12 (38/74) Installing opus (1.3.1-r1) 14:27:12 (39/74) Installing libgomp (10.3.1_git20211027-r0) 14:27:12 (40/74) Installing soxr (0.1.3-r2) 14:27:12 (41/74) Installing libgcc (10.3.1_git20211027-r0) 14:27:12 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 14:27:12 (43/74) Installing libsrt (1.4.2-r1) 14:27:12 (44/74) Installing libssh (0.9.6-r1) 14:27:12 (45/74) Installing libogg (1.3.5-r0) 14:27:12 (46/74) Installing libtheora (1.1.1-r16) 14:27:12 (47/74) Installing libjpeg-turbo (2.1.2-r0) 14:27:12 (48/74) Installing v4l-utils-libs (1.22.1-r1) 14:27:12 (49/74) Installing libxext (1.3.4-r0) 14:27:12 (50/74) Installing libxfixes (6.0.0-r0) 14:27:12 (51/74) Installing libpciaccess (0.16-r0) 14:27:12 (52/74) Installing libdrm (2.4.109-r0) 14:27:12 (53/74) Installing wayland-libs-client (1.19.0-r1) 14:27:12 (54/74) Installing libva (2.13.0-r0) 14:27:12 (55/74) Installing libvdpau (1.4-r0) 14:27:12 (56/74) Installing vidstab (1.1.0-r1) 14:27:12 (57/74) Installing libvorbis (1.3.7-r0) 14:27:12 (58/74) Installing libvpx (1.10.0-r0) 14:27:13 (59/74) Installing vulkan-loader (1.2.196-r0) 14:27:13 (60/74) Installing libwebp (1.2.2-r0) 14:27:13 (61/74) Installing x264-libs (20210613-r0) 14:27:13 (62/74) Installing x265-libs (3.5-r0) 14:27:13 (63/74) Installing xvidcore (1.3.7-r1) 14:27:13 (64/74) Installing ffmpeg-libs (4.4.1-r2) 14:27:13 (65/74) Installing ffmpeg (4.4.1-r2) 14:27:13 (66/74) Installing udev-init-scripts (35-r0) 14:27:13 Executing udev-init-scripts-35-r0.post-install 14:27:13 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 14:27:13 (68/74) Installing xz-libs (5.2.5-r1) 14:27:13 (69/74) Installing zstd-libs (1.5.0-r0) 14:27:13 (70/74) Installing kmod-libs (29-r2) 14:27:13 (71/74) Installing eudev (3.2.11_pre1-r0) 14:27:13 (72/74) Installing libsodium (1.0.18-r0) 14:27:13 (73/74) Installing libzmq (4.3.4-r0) 14:27:13 (74/74) Installing zeromq (4.3.4-r0) 14:27:13 Executing busybox-1.34.1-r5.trigger 14:27:13 Executing eudev-3.2.11_pre1-r0.trigger 14:27:13 OK: 78 MiB in 88 packages 14:27:14 Removing intermediate container 484087c9bd43 14:27:14 ---> 1275b305d64b 14:27:14 Step 17/29 : WORKDIR / 14:27:14 ---> Running in 139b7f895095 14:27:14 Removing intermediate container 139b7f895095 14:27:14 ---> 5ccabba166c0 14:27:14 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 14:27:15 ---> 7eb805cb4970 14:27:15 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 14:27:15 ---> 15bfed4b678e 14:27:15 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 14:27:15 ---> 14591f32e295 14:27:15 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 14:27:15 ---> a8e07c454f7a 14:27:15 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 14:27:16 ---> 0de1b0973e2d 14:27:16 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 14:27:16 ---> a4cf96b27b22 14:27:16 Step 24/29 : EXPOSE 59983 14:27:16 ---> Running in 0c430178ebeb 14:27:17 Removing intermediate container 0c430178ebeb 14:27:17 ---> 1ce95eb03a06 14:27:17 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 14:27:17 ---> Running in 0766220e24b3 14:27:17 Removing intermediate container 0766220e24b3 14:27:17 ---> 5370a9bd644f 14:27:17 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 14:27:17 ---> Running in c34dad295fe4 14:27:17 Removing intermediate container c34dad295fe4 14:27:17 ---> 837bf738d5c8 14:27:17 Step 27/29 : LABEL arch=amd64 14:27:17 ---> Running in fefc6c0f946a 14:27:17 Removing intermediate container fefc6c0f946a 14:27:17 ---> ab1041ab3905 14:27:17 Step 28/29 : LABEL git_sha=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 14:27:17 ---> Running in 04225e848cb5 14:27:17 Removing intermediate container 04225e848cb5 14:27:17 ---> 541cf05839b9 14:27:17 Step 29/29 : LABEL version=0.0.0 14:27:17 ---> Running in 803ad0fc70ea 14:27:17 Removing intermediate container 803ad0fc70ea 14:27:17 ---> 054c6d1b90f7 14:27:17 [Warning] One or more build-args [ARCH] were not consumed 14:27:17 Successfully built 054c6d1b90f7 14:27:17 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 14:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:18 14:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:18 latest: Pulling from edgex-lftools-log-publisher 14:27:18 5eb5b503b376: Pulling fs layer 14:27:18 5c69ac0246d0: Pulling fs layer 14:27:18 ec43610c2a17: Pulling fs layer 14:27:18 3a2ae6a8a46f: Pulling fs layer 14:27:18 33b1e0a273af: Pulling fs layer 14:27:18 5d3b04190fa2: Pulling fs layer 14:27:18 2f39f015ded8: Pulling fs layer 14:27:18 3a2ae6a8a46f: Waiting 14:27:18 33b1e0a273af: Waiting 14:27:18 5c69ac0246d0: Download complete 14:27:18 3a2ae6a8a46f: Download complete 14:27:18 33b1e0a273af: Verifying Checksum 14:27:18 33b1e0a273af: Download complete 14:27:18 ec43610c2a17: Verifying Checksum 14:27:18 ec43610c2a17: Download complete 14:27:18 5d3b04190fa2: Verifying Checksum 14:27:18 5d3b04190fa2: Download complete 14:27:18 5eb5b503b376: Verifying Checksum 14:27:18 5eb5b503b376: Download complete 14:27:19 2f39f015ded8: Download complete 14:27:19 5eb5b503b376: Pull complete 14:27:20 5c69ac0246d0: Pull complete 14:27:20 ec43610c2a17: Pull complete 14:27:20 3a2ae6a8a46f: Pull complete 14:27:20 33b1e0a273af: Pull complete 14:27:21 5d3b04190fa2: Pull complete 14:27:25 2f39f015ded8: Pull complete 14:27:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:27:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:27:25 prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container 14:27:25 $ 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 14:27:27 $ docker top 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:28 ---> job-cost.sh 14:27:28 lf-activate-venv: SKIPPING 14:27:28 INFO: No Stack... 14:27:28 INFO: Retrieving Pricing Info for: v3-standard-8 14:27:28 INFO: Archiving Costs [Pipeline] sh 14:27:29 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 14:27:29 + cut -d, -f6 [Pipeline] lock 14:27:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] 14:27:29 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] did not exist. Created. 14:27:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:27:29 + echo total: 0.2199999988079071 [Pipeline] stash 14:27:29 Stashed 1 file(s) [Pipeline] } 14:27:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] // lock [Pipeline] } 14:27:29 $ docker stop --time=1 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b 14:27:30 $ docker rm -f 973b45a9284dc9aff4f5f77338aea0a747db16f0164f8c665ce5e9f3d25bed3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:27:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64484 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 14:27:31 Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout 14:27:31 Selected Git installation does not exist. Using Default 14:27:31 The recommended git tool is: NONE 14:27:36 using credential edgex-jenkins-ssh 14:27:36 Cloning the remote Git repository 14:27:36 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 14:27:36 > git init /w/workspace/device-usb-camera/8 # timeout=10 14:27:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 14:27:36 > git --version # timeout=10 14:27:36 > git --version # 'git version 2.25.1' 14:27:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 14:27:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 14:27:37 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 14:27:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:37 > 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 14:27:37 Merging remotes/origin/main commit aaa7e572fda13da2933300a631edf8df830ba1ce into PR head commit a19e9f551be91b9bab22a2dbda16c473ae7f3a4f 14:27:38 Merge succeeded, producing 746f88d770b2e869281661893865573549362065 14:27:38 Checking out Revision 746f88d770b2e869281661893865573549362065 (PR-30) 14:27:37 > git config core.sparsecheckout # timeout=10 14:27:37 > git checkout -f a19e9f551be91b9bab22a2dbda16c473ae7f3a4f # timeout=10 14:27:37 > git remote # timeout=10 14:27:37 > git config --get remote.origin.url # timeout=10 14:27:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:37 > git merge aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 14:27:38 > git rev-parse HEAD^{commit} # timeout=10 14:27:38 > git config core.sparsecheckout # timeout=10 14:27:38 > git checkout -f 746f88d770b2e869281661893865573549362065 # timeout=10 14:27:42 Commit message: "Merge commit 'aaa7e572fda13da2933300a631edf8df830ba1ce' into HEAD" 14:27:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:27:42 > git rev-list --no-walk 62e997440414807b99501bc10b6a68f42e6b4436 # timeout=10 14:27:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:27:43 % Total % Received % Xferd Average Speed Time Time Time Current 14:27:43 Dload Upload Total Spent Left Speed 14:27:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 41676 0 --:--:-- --:--:-- --:--:-- 41535 [Pipeline] sh 14:27:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:27:44 + sudo tee /etc/docker/daemon.new 14:27:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:27:44 { 14:27:44 "registry-mirrors": [ 14:27:44 "https://nexus3.edgexfoundry.org:10001" 14:27:44 ], 14:27:44 "bip": "10.250.0.254/24", 14:27:44 "hosts": [ 14:27:44 "tcp://0.0.0.0:5555", 14:27:44 "unix:///var/run/docker.sock" 14:27:44 ], 14:27:44 "mtu": 1458, 14:27:44 "selinux-enabled": true, 14:27:44 "seccomp-profile": "/etc/docker/seccomp.json" 14:27:44 } [Pipeline] sh 14:27:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:27:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:28:03 provisioning config files... 14:28:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config8931832185980527598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:03 ---> docker-login.sh 14:28:03 nexus3.edgexfoundry.org:10001 14:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:04 Configure a credential helper to remove this warning. See 14:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:04 14:28:04 Login Succeeded 14:28:04 nexus3.edgexfoundry.org:10002 14:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:05 Configure a credential helper to remove this warning. See 14:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:05 14:28:05 Login Succeeded 14:28:05 nexus3.edgexfoundry.org:10003 14:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:05 Configure a credential helper to remove this warning. See 14:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:05 14:28:05 Login Succeeded 14:28:05 nexus3.edgexfoundry.org:10004 14:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:06 Configure a credential helper to remove this warning. See 14:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:06 14:28:06 Login Succeeded 14:28:06 docker.io 14:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:07 Configure a credential helper to remove this warning. See 14:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:07 14:28:07 Login Succeeded 14:28:07 ---> docker-login.sh ends [Pipeline] } 14:28:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:28:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:28:07 ========================================================= 14:28:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:28:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:28:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:28:08 Sending build context to Docker daemon 574.5kB 14:28:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:28:08 Step 2/12 : FROM ${BASE} AS builder 14:28:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:28:08 9b3977197b4f: Pulling fs layer 14:28:08 1a89e8eeedd5: Pulling fs layer 14:28:08 94645a83ff95: Pulling fs layer 14:28:08 3f3a8bcf1eab: Pulling fs layer 14:28:08 0c92f367c5e7: Pulling fs layer 14:28:08 3096ccb668a1: Pulling fs layer 14:28:08 e8cf19c19ddd: Pulling fs layer 14:28:08 a4caa8a26152: Pulling fs layer 14:28:08 3f3a8bcf1eab: Waiting 14:28:08 0c92f367c5e7: Waiting 14:28:08 3096ccb668a1: Waiting 14:28:08 e8cf19c19ddd: Waiting 14:28:08 a4caa8a26152: Waiting 14:28:08 94645a83ff95: Download complete 14:28:08 1a89e8eeedd5: Verifying Checksum 14:28:08 1a89e8eeedd5: Download complete 14:28:08 0c92f367c5e7: Verifying Checksum 14:28:08 0c92f367c5e7: Download complete 14:28:08 3096ccb668a1: Verifying Checksum 14:28:08 3096ccb668a1: Download complete 14:28:08 9b3977197b4f: Verifying Checksum 14:28:08 e8cf19c19ddd: Verifying Checksum 14:28:08 e8cf19c19ddd: Download complete 14:28:09 9b3977197b4f: Pull complete 14:28:09 1a89e8eeedd5: Pull complete 14:28:10 94645a83ff95: Pull complete 14:28:10 a4caa8a26152: Verifying Checksum 14:28:10 a4caa8a26152: Download complete 14:28:11 3f3a8bcf1eab: Verifying Checksum 14:28:11 3f3a8bcf1eab: Download complete 14:28:23 3f3a8bcf1eab: Pull complete 14:28:23 0c92f367c5e7: Pull complete 14:28:23 3096ccb668a1: Pull complete 14:28:23 e8cf19c19ddd: Pull complete 14:28:30 a4caa8a26152: Pull complete 14:28:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:28:30 ---> 725f1c02e7f9 14:28:30 Step 3/12 : ARG MAKE="make build" 14:28:31 ---> Running in 39fd74fde736 14:28:31 Removing intermediate container 39fd74fde736 14:28:31 ---> 1bfab019d241 14:28:31 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:28:31 ---> Running in c86d7a1fdf69 14:28:32 Removing intermediate container c86d7a1fdf69 14:28:32 ---> 1a6248a7df53 14:28:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:28:32 ---> Running in 145f25b6f515 14:28:32 Removing intermediate container 145f25b6f515 14:28:32 ---> 9b1754c30940 14:28:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:32 ---> Running in 97abfaab5fb8 14:28:34 Removing intermediate container 97abfaab5fb8 14:28:34 ---> c614b66cc746 14:28:34 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:28:34 ---> Running in db138a3bc831 14:28:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:28:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:28:37 (1/14) Installing libintl (0.21-r0) 14:28:37 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 14:28:37 (3/14) Installing libjpeg-turbo (2.1.2-r0) 14:28:37 (4/14) Installing v4l-utils-libs (1.22.1-r1) 14:28:37 (5/14) Installing v4l-utils (1.22.1-r1) 14:28:37 (6/14) Installing udev-init-scripts (35-r0) 14:28:37 Executing udev-init-scripts-35-r0.post-install 14:28:37 (7/14) Installing libblkid (2.37.4-r0) 14:28:37 (8/14) Installing xz-libs (5.2.5-r1) 14:28:37 (9/14) Installing zstd-libs (1.5.0-r0) 14:28:38 (10/14) Installing kmod-libs (29-r2) 14:28:38 (11/14) Installing eudev (3.2.11_pre1-r0) 14:28:38 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 14:28:38 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 14:28:38 (14/14) Installing v4l-utils-dev (1.22.1-r1) 14:28:38 Executing busybox-1.34.1-r3.trigger 14:28:38 Executing eudev-3.2.11_pre1-r0.trigger 14:28:38 OK: 227 MiB in 66 packages 14:28:39 Removing intermediate container db138a3bc831 14:28:39 ---> 37c5cdafb22e 14:28:39 Step 8/12 : WORKDIR /device-usb-camera 14:28:39 ---> Running in 8c8f20f3c44a 14:28:40 Removing intermediate container 8c8f20f3c44a 14:28:40 ---> 0f4e0392aae5 14:28:40 Step 9/12 : COPY go.mod vendor* ./ 14:28:40 ---> 3ef6bf0622bf 14:28:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:28:40 ---> Running in 7118b633d79b 14:29:27 Removing intermediate container 7118b633d79b 14:29:27 ---> 3ee9e2ae6fc7 14:29:27 Step 11/12 : COPY . . 14:29:27 ---> 20c5124be591 14:29:27 Step 12/12 : RUN ${MAKE} 14:29:27 ---> Running in ed061dfe0b4f 14:29:27 noop 14:29:27 Removing intermediate container ed061dfe0b4f 14:29:27 ---> 2bbc8d6e7a7f 14:29:27 Successfully built 2bbc8d6e7a7f 14:29:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:29:28 + docker inspect -f . ci-base-image-arm64 14:29:28 . [Pipeline] withDockerContainer 14:29:28 prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container 14:29:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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-arm64 cat 14:29:29 $ docker top 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:29:30 + go version 14:29:30 go version go1.17.6 linux/arm64 [Pipeline] } 14:29:30 $ docker stop --time=1 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 14:29:32 $ docker rm -f 0d3e1cc1963e8feab0f5e6631774ec375de0ecce2fc4f93bd75a102b6f8c20d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:29:32 + docker inspect -f . ci-base-image-arm64 14:29:32 . [Pipeline] withDockerContainer 14:29:32 prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container 14:29:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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-arm64 cat 14:29:34 $ docker top c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:29:35 + make test 14:29:35 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 14:29:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 14:30:58 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 14:30:58 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 14:30:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:30:58 CGO_ENABLED=1 go vet ./... 14:31:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:31:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:31:20 ./bin/test-attribution-txt.sh [Pipeline] echo 14:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:31:21 $ docker stop --time=1 c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 14:31:23 $ docker rm -f c1d05857c99098f5fc5dcc6dc84e55d08f1f64cf65691e21ff602a7bb2f00bd6 [Pipeline] // withDockerContainer [Pipeline] sh 14:31:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:31:24 Warning: overwriting stash ‘coverage-report’ 14:31:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:31:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:31:25 + ls -al . 14:31:25 total 164 14:31:25 drwxrwxr-x 9 jenkins jenkins 4096 May 24 14:31 . 14:31:25 drwxrwxr-x 4 jenkins jenkins 4096 May 24 14:27 .. 14:31:25 drwxrwxr-x 8 jenkins jenkins 4096 May 24 14:27 .git 14:31:25 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 .github 14:31:25 -rw-rw-r-- 1 jenkins jenkins 414 May 24 14:27 .gitignore 14:31:25 -rw-rw-r-- 1 jenkins jenkins 42 May 24 14:27 .golangci.yml 14:31:25 -rw-rw-r-- 1 jenkins jenkins 77 May 24 14:27 .hadolint.yml 14:31:25 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 14:27 Attribution.txt 14:31:25 -rw-rw-r-- 1 jenkins jenkins 181 May 24 14:27 CHANGELOG.md 14:31:25 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 14:27 Dockerfile 14:31:25 -rw-rw-r-- 1 jenkins jenkins 678 May 24 14:27 GOVERNANCE.md 14:31:25 -rw-rw-r-- 1 jenkins jenkins 659 May 24 14:27 Jenkinsfile 14:31:25 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 14:27 LICENSE 14:31:25 -rw-rw-r-- 1 jenkins jenkins 2030 May 24 14:27 Makefile 14:31:25 -rw-rw-r-- 1 jenkins jenkins 622 May 24 14:27 OWNERS.md 14:31:25 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 14:27 README.md 14:31:25 -rw-rw-r-- 1 jenkins jenkins 5 May 24 14:25 VERSION 14:31:25 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 bin 14:31:25 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 cmd 14:31:25 -rw-r--r-- 1 jenkins jenkins 10 May 24 14:29 coverage.out 14:31:25 drwxrwxr-x 2 jenkins jenkins 4096 May 24 14:27 docker-compose 14:31:25 -rw-rw-r-- 1 jenkins jenkins 140 May 24 14:27 docker-entrypoint.sh 14:31:25 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 14:27 go.mod 14:31:25 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 14:27 go.sum 14:31:25 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 internal 14:31:25 drwxrwxr-x 3 jenkins jenkins 4096 May 24 14:27 snap 14:31:25 -rw-rw-r-- 1 jenkins jenkins 231 May 24 14:27 version.go [Pipeline] isUnix [Pipeline] sh 14:31:26 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=746f88d770b2e869281661893865573549362065 --label arch=arm64 --label version=0.0.0 . 14:31:26 Sending build context to Docker daemon 575.5kB 14:31:26 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 14:31:26 Step 2/29 : FROM ${BASE} AS builder 14:31:26 ---> 2bbc8d6e7a7f 14:31:26 Step 3/29 : ARG MAKE="make build" 14:31:26 ---> Running in c9114bfaa2cd 14:31:26 Removing intermediate container c9114bfaa2cd 14:31:26 ---> 2bfd9c8604d5 14:31:26 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:31:26 ---> Running in c2788a9ebe02 14:31:27 Removing intermediate container c2788a9ebe02 14:31:27 ---> eed237f37aa9 14:31:27 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 14:31:27 ---> Running in a53d45c1cf8a 14:31:27 Removing intermediate container a53d45c1cf8a 14:31:27 ---> 2b2d5874e04a 14:31:27 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:31:27 ---> Running in 429acc1e8a38 14:31:29 Removing intermediate container 429acc1e8a38 14:31:29 ---> d0a437e965c4 14:31:29 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:31:29 ---> Running in 01bf95241d82 14:31:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:31:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:31:32 OK: 227 MiB in 66 packages 14:31:32 Removing intermediate container 01bf95241d82 14:31:32 ---> 1b3ca6b43240 14:31:32 Step 8/29 : WORKDIR /device-usb-camera 14:31:32 ---> Running in 29f1dfb2c6b3 14:31:33 Removing intermediate container 29f1dfb2c6b3 14:31:33 ---> 916ecb90b0cb 14:31:33 Step 9/29 : COPY go.mod vendor* ./ 14:31:33 ---> 5565183b315d 14:31:33 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:31:33 ---> Running in 5493f0c4d3d6 14:31:35 Removing intermediate container 5493f0c4d3d6 14:31:35 ---> a5bc6e28c4c0 14:31:35 Step 11/29 : COPY . . 14:31:36 ---> 7173e02a2151 14:31:36 Step 12/29 : RUN ${MAKE} 14:31:36 ---> Running in c3cfec48f565 14:31:37 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 14:33:44 Removing intermediate container c3cfec48f565 14:33:44 ---> bb192eef800f 14:33:44 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 14:33:44 v0.18.4: Pulling from aler9/rtsp-simple-server 14:33:44 eab2503cf8f4: Pulling fs layer 14:33:44 97cd0a44c592: Pulling fs layer 14:33:44 97cd0a44c592: Download complete 14:33:44 eab2503cf8f4: Verifying Checksum 14:33:44 eab2503cf8f4: Download complete 14:33:44 eab2503cf8f4: Pull complete 14:33:44 97cd0a44c592: Pull complete 14:33:44 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 14:33:44 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 14:33:44 ---> 7f763cca56b3 14:33:44 Step 14/29 : FROM alpine:3.15 14:33:44 3.15: Pulling from library/alpine 14:33:44 9981e73032c8: Pulling fs layer 14:33:44 9981e73032c8: Verifying Checksum 14:33:44 9981e73032c8: Download complete 14:33:44 9981e73032c8: Pull complete 14:33:44 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:33:44 Status: Downloaded newer image for alpine:3.15 14:33:44 ---> 3fb3c9af89a9 14:33:44 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:33:44 ---> Running in 1662a15077f5 14:33:44 Removing intermediate container 1662a15077f5 14:33:44 ---> 6b591e204979 14:33:44 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 14:33:44 ---> Running in dbc120c899b2 14:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:33:44 (1/73) Installing dumb-init (1.2.5-r1) 14:33:44 (2/73) Installing sdl2 (2.0.16-r4) 14:33:44 (3/73) Installing libxau (1.0.9-r0) 14:33:44 (4/73) Installing libmd (1.0.3-r0) 14:33:44 (5/73) Installing libbsd (0.11.3-r1) 14:33:44 (6/73) Installing libxdmcp (1.1.3-r0) 14:33:44 (7/73) Installing libxcb (1.14-r2) 14:33:44 (8/73) Installing libx11 (1.7.2-r0) 14:33:44 (9/73) Installing aom-libs (3.2.0-r0) 14:33:44 (10/73) Installing alsa-lib (1.2.5.1-r1) 14:33:44 (11/73) Installing expat (2.4.7-r0) 14:33:44 (12/73) Installing brotli-libs (1.0.9-r5) 14:33:44 (13/73) Installing libbz2 (1.0.8-r1) 14:33:44 (14/73) Installing libpng (1.6.37-r1) 14:33:44 (15/73) Installing freetype (2.11.1-r2) 14:33:44 (16/73) Installing libuuid (2.37.4-r0) 14:33:44 (17/73) Installing fontconfig (2.13.1-r4) 14:33:44 (18/73) Installing fribidi (1.0.11-r0) 14:33:44 (19/73) Installing libffi (3.4.2-r1) 14:33:44 (20/73) Installing libintl (0.21-r0) 14:33:44 (21/73) Installing libblkid (2.37.4-r0) 14:33:44 (22/73) Installing libmount (2.37.4-r0) 14:33:44 (23/73) Installing pcre (8.45-r1) 14:33:44 (24/73) Installing glib (2.70.1-r0) 14:33:44 (25/73) Installing graphite2 (1.3.14-r0) 14:33:44 (26/73) Installing harfbuzz (3.0.0-r2) 14:33:44 (27/73) Installing libass (0.15.2-r0) 14:33:44 (28/73) Installing libdav1d (0.9.2-r0) 14:33:44 (29/73) Installing gmp (6.2.1-r1) 14:33:44 (30/73) Installing nettle (3.7.3-r0) 14:33:44 (31/73) Installing p11-kit (0.24.0-r1) 14:33:44 (32/73) Installing libtasn1 (4.18.0-r0) 14:33:44 (33/73) Installing libunistring (0.9.10-r1) 14:33:44 (34/73) Installing gnutls (3.7.1-r0) 14:33:44 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 14:33:44 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 14:33:44 (37/73) Installing lame (3.100-r0) 14:33:44 (38/73) Installing opus (1.3.1-r1) 14:33:44 (39/73) Installing libgomp (10.3.1_git20211027-r0) 14:33:44 (40/73) Installing soxr (0.1.3-r2) 14:33:44 (41/73) Installing libgcc (10.3.1_git20211027-r0) 14:33:44 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 14:33:44 (43/73) Installing libsrt (1.4.2-r1) 14:33:44 (44/73) Installing libssh (0.9.6-r1) 14:33:44 (45/73) Installing libogg (1.3.5-r0) 14:33:44 (46/73) Installing libtheora (1.1.1-r16) 14:33:44 (47/73) Installing libjpeg-turbo (2.1.2-r0) 14:33:44 (48/73) Installing v4l-utils-libs (1.22.1-r1) 14:33:44 (49/73) Installing libxext (1.3.4-r0) 14:33:44 (50/73) Installing libxfixes (6.0.0-r0) 14:33:44 (51/73) Installing libdrm (2.4.109-r0) 14:33:44 (52/73) Installing wayland-libs-client (1.19.0-r1) 14:33:44 (53/73) Installing libva (2.13.0-r0) 14:33:44 (54/73) Installing libvdpau (1.4-r0) 14:33:44 (55/73) Installing vidstab (1.1.0-r1) 14:33:44 (56/73) Installing libvorbis (1.3.7-r0) 14:33:44 (57/73) Installing libvpx (1.10.0-r0) 14:33:44 (58/73) Installing vulkan-loader (1.2.196-r0) 14:33:44 (59/73) Installing libwebp (1.2.2-r0) 14:33:44 (60/73) Installing x264-libs (20210613-r0) 14:33:44 (61/73) Installing x265-libs (3.5-r0) 14:33:44 (62/73) Installing xvidcore (1.3.7-r1) 14:33:44 (63/73) Installing ffmpeg-libs (4.4.1-r2) 14:33:44 (64/73) Installing ffmpeg (4.4.1-r2) 14:33:44 (65/73) Installing udev-init-scripts (35-r0) 14:33:44 Executing udev-init-scripts-35-r0.post-install 14:33:44 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 14:33:44 (67/73) Installing xz-libs (5.2.5-r1) 14:33:44 (68/73) Installing zstd-libs (1.5.0-r0) 14:33:44 (69/73) Installing kmod-libs (29-r2) 14:33:44 (70/73) Installing eudev (3.2.11_pre1-r0) 14:33:44 (71/73) Installing libsodium (1.0.18-r0) 14:33:44 (72/73) Installing libzmq (4.3.4-r0) 14:33:44 (73/73) Installing zeromq (4.3.4-r0) 14:33:44 Executing busybox-1.34.1-r5.trigger 14:33:44 Executing eudev-3.2.11_pre1-r0.trigger 14:33:44 OK: 67 MiB in 87 packages 14:33:44 Removing intermediate container dbc120c899b2 14:33:44 ---> c864393fb553 14:33:44 Step 17/29 : WORKDIR / 14:33:44 ---> Running in d9fd4105aec9 14:33:44 Removing intermediate container d9fd4105aec9 14:33:44 ---> d5d0fbd7f4eb 14:33:44 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 14:33:46 ---> 15a0dbcc60c7 14:33:46 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 14:33:46 ---> 0c727f739638 14:33:46 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 14:33:47 ---> adc43e360cca 14:33:47 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 14:33:47 ---> 90ae0d403482 14:33:47 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 14:33:48 ---> b46cbab471f1 14:33:48 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 14:33:49 ---> f049931cf926 14:33:49 Step 24/29 : EXPOSE 59983 14:33:49 ---> Running in 212a6be168c7 14:33:49 Removing intermediate container 212a6be168c7 14:33:49 ---> abded8007844 14:33:49 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 14:33:50 ---> Running in 1afd2d6c33bc 14:33:50 Removing intermediate container 1afd2d6c33bc 14:33:50 ---> acbb2ac6a867 14:33:50 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 14:33:50 ---> Running in 4a3ec71cc38c 14:33:50 Removing intermediate container 4a3ec71cc38c 14:33:50 ---> e2c3a0ec39e5 14:33:50 Step 27/29 : LABEL arch=arm64 14:33:50 ---> Running in 2d2f68c2eca0 14:33:51 Removing intermediate container 2d2f68c2eca0 14:33:51 ---> 35983c1108ca 14:33:51 Step 28/29 : LABEL git_sha=746f88d770b2e869281661893865573549362065 14:33:51 ---> Running in c62a02578b74 14:33:51 Removing intermediate container c62a02578b74 14:33:51 ---> 9d496e4be38e 14:33:51 Step 29/29 : LABEL version=0.0.0 14:33:51 ---> Running in 547c68ac4890 14:33:51 Removing intermediate container 547c68ac4890 14:33:51 ---> 4c2d9bcaf4bc 14:33:51 [Warning] One or more build-args [ARCH] were not consumed 14:33:51 Successfully built 4c2d9bcaf4bc 14:33:51 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 14:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:33:52 14:33:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:33:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:33:52 arm64: Pulling from edgex-lftools-log-publisher 14:33:52 8998bd30e6a1: Pulling fs layer 14:33:52 04944245beec: Pulling fs layer 14:33:52 699f458cf7ca: Pulling fs layer 14:33:52 765212b225bb: Pulling fs layer 14:33:52 f23df028b6ca: Pulling fs layer 14:33:52 d65c8cfc05b1: Pulling fs layer 14:33:52 2437ff75d9bd: Pulling fs layer 14:33:52 f23df028b6ca: Waiting 14:33:52 d65c8cfc05b1: Waiting 14:33:52 2437ff75d9bd: Waiting 14:33:52 765212b225bb: Waiting 14:33:52 04944245beec: Verifying Checksum 14:33:52 04944245beec: Download complete 14:33:52 765212b225bb: Download complete 14:33:52 f23df028b6ca: Verifying Checksum 14:33:52 f23df028b6ca: Download complete 14:33:52 d65c8cfc05b1: Verifying Checksum 14:33:52 d65c8cfc05b1: Download complete 14:33:53 699f458cf7ca: Verifying Checksum 14:33:53 699f458cf7ca: Download complete 14:33:53 8998bd30e6a1: Verifying Checksum 14:33:53 8998bd30e6a1: Download complete 14:33:55 2437ff75d9bd: Verifying Checksum 14:33:55 2437ff75d9bd: Download complete 14:33:58 8998bd30e6a1: Pull complete 14:33:58 04944245beec: Pull complete 14:33:59 699f458cf7ca: Pull complete 14:33:59 765212b225bb: Pull complete 14:34:00 f23df028b6ca: Pull complete 14:34:00 d65c8cfc05b1: Pull complete 14:34:15 2437ff75d9bd: Pull complete 14:34:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:34:16 prd-ubuntu20.04-docker-arm64-4c-16g-64484 does not seem to be running inside a container 14:34:16 $ 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/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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:arm64 cat 14:34:18 $ docker top a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:19 ---> job-cost.sh 14:34:19 lf-activate-venv: SKIPPING 14:34:19 INFO: No Stack... 14:34:19 INFO: Retrieving Pricing Info for: v3-standard-4 14:34:20 INFO: Archiving Costs [Pipeline] sh 14:34:21 + cat /w/workspace/device-usb-camera/8/archives/cost.csv 14:34:21 + cut -d, -f6 [Pipeline] lock 14:34:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] 14:34:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] did not exist. Created. 14:34:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:34:22 /w/workspace/device-usb-camera/8@tmp/durable-e7913faa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:34:22 + echo total: 0.10999999940395355 [Pipeline] stash 14:34:23 Warning: overwriting stash ‘stack-cost’ 14:34:23 Stashed 1 file(s) [Pipeline] } 14:34:23 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-8-stack-cost] [Pipeline] // lock [Pipeline] } 14:34:23 $ docker stop --time=1 a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 14:34:24 $ docker rm -f a2d4d427916fc00258fc5e1ef760ac660f9021e328e1c7665e00a3f534c65009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:34:25 provisioning config files... 14:34:25 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3397307378710943013tmp [Pipeline] { [Pipeline] sh 14:34:25 + set +x 14:34:25 + + curl -sbash https://codecov.io/bash -s 14:34:25 -- 14:34:25 14:34:25 _____ _ 14:34:25 / ____| | | 14:34:25 | | ___ __| | ___ ___ _____ __ 14:34:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:34:25 | |___| (_) | (_| | __/ (_| (_) \ V / 14:34:25 \_____\___/ \__,_|\___|\___\___/ \_/ 14:34:25 Bash-1.0.6 14:34:25 14:34:25 14:34:25 ==> git version 2.25.1 found 14:34:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 14:34:25 Release-Date: 2020-01-08 14:34:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:34:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:34:25 ==> Jenkins CI detected. 14:34:25 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 14:34:25 project root: . 14:34:25 --> token set from env 14:34:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:34:25 ==> Running gcov in . (disable via -X gcov) 14:34:25 ==> Python coveragepy not found 14:34:25 ==> Searching for coverage reports in: 14:34:25 + . 14:34:25 -> Found 1 reports 14:34:25 ==> Detecting git/mercurial file structure 14:34:25 ==> Reading reports 14:34:25 + ./coverage.out bytes=10 14:34:25 ==> Appending adjustments 14:34:25 https://docs.codecov.io/docs/fixing-reports 14:34:25 + Found adjustments 14:34:25 ==> Gzipping contents 14:34:25 4.0K /tmp/codecov.7k7n4I.gz 14:34:25 ==> Uploading reports 14:34:25 url: https://codecov.io 14:34:25 query: branch=PR-30&commit=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 14:34:25 -> Pinging Codecov 14:34:25 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=7adc8ffbb9bd74602b0443fbdab1727ab51af9b8&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 14:34:25 -> Uploading to 14:34:25 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/7adc8ffbb9bd74602b0443fbdab1727ab51af9b8/aa5fd391-e4b8-4bb1-ac8c-2dc565d68d9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T143425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59b44467f5ca8d1d762366ec88454620d71bd06b8cb604a292c520a5f20a75bf 14:34:25 % Total % Received % Xferd Average Speed Time Time Time Current 14:34:25 Dload Upload Total Spent Left Speed 14:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1841 0 0 100 1841 0 7702 --:--:-- --:--:-- --:--:-- 7702 14:34:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/7adc8ffbb9bd74602b0443fbdab1727ab51af9b8 [Pipeline] } 14:34:26 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 14:34:26 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 14:34:26 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 14:34:26 total 16 14:34:26 drwxr-xr-x 3 root root 4096 May 24 14:27 . 14:34:26 drwxrwxr-x 11 jenkins jenkins 4096 May 24 14:27 .. 14:34:26 drwxr-xr-x 2 root root 4096 May 24 14:27 cost 14:34:26 -rw-r--r-- 1 root root 87 May 24 14:27 cost.csv 14:34:26 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 14:34:26 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 14:34:26 total 16 14:34:26 drwxr-xr-x 3 jenkins jenkins 4096 May 24 14:27 . 14:34:26 drwxrwxr-x 11 jenkins jenkins 4096 May 24 14:27 .. 14:34:26 drwxr-xr-x 2 jenkins jenkins 4096 May 24 14:27 cost 14:34:26 -rw-r--r-- 1 jenkins jenkins 87 May 24 14:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:34:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:34:28 ---> package-listing.sh 14:34:28 ++ facter osfamily 14:34:28 ++ tr '[:upper:]' '[:lower:]' 14:34:28 + OS_FAMILY=debian 14:34:28 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 14:34:28 + START_PACKAGES=/tmp/packages_start.txt 14:34:28 + END_PACKAGES=/tmp/packages_end.txt 14:34:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:34:28 + PACKAGES=/tmp/packages_start.txt 14:34:28 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 14:34:28 + PACKAGES=/tmp/packages_end.txt 14:34:28 + case "${OS_FAMILY}" in 14:34:28 + dpkg -l 14:34:28 + grep '^ii' 14:34:28 + '[' -f /tmp/packages_start.txt ']' 14:34:28 + '[' -f /tmp/packages_end.txt ']' 14:34:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:34:28 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 14:34:28 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 14:34:28 + 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 14:34:28 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 14:34:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:34:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:34:29 . [Pipeline] withDockerContainer 14:34:29 prd-ubuntu20.04-docker-8c-8g-64483 does not seem to be running inside a container 14:34:29 $ 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 14:34:29 $ docker top e94d5f783c172922e68d972fb94ef687789024bf14ffe2974ccb0216c36fb9e7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:29 + touch /tmp/pre-build-complete [Pipeline] sh 14:34:30 + mkdir -p /var/log/sysstat [Pipeline] sh 14:34:30 + ls /var/log/sa-host 14:34:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:30 provisioning config files... 14:34:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4296098646579038510tmp [Pipeline] { [Pipeline] echo 14:34:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:34:31 ---> create-netrc.sh [Pipeline] } 14:34:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:34:31 ---> python-tools-install.sh [Pipeline] echo 14:34:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:34:31 ---> sudo-logs.sh 14:34:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:34:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:34:32 ---> job-cost.sh 14:34:32 lf-activate-venv: SKIPPING 14:34:32 DEBUG: total: 0.2199999988079071 14:34:32 INFO: Retrieving Stack Cost... 14:34:32 INFO: Retrieving Pricing Info for: v3-standard-8 14:34:32 INFO: Archiving Costs [Pipeline] echo 14:34:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:34:33 ---> logs-deploy.sh 14:34:33 lf-activate-venv: SKIPPING 14:34:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/8 14:34:33 INFO: archiving workspace using pattern(s): 14:34:34 Archives upload complete. 14:34:34 INFO: archiving logs to Nexus