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 1f03470b1734dc3652a250f94a689b6ea8731206+f39f8737115c4aee3eed177658c873badef7abfd (7715612246e682c02381a1bc80c92960bcead311) 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-ssh12414487255928972508.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-ssh24276564437567172.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10641266396661147225.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 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-ssh17101320898347385278.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11242574161497071269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-263 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 f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 1f03470b1734dc3652a250f94a689b6ea8731206 Merge succeeded, producing 1f03470b1734dc3652a250f94a689b6ea8731206 Checking out Revision 1f03470b1734dc3652a250f94a689b6ea8731206 (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # 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 f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 Commit message: "docs: package rtsp-simple-server's licence" > git rev-list --no-walk e9b21ae2d7126915138f0c91ed5cea9bfb935446 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:47:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:47:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:47:48 ========================================================= 15:47:48 EdgeX Global Pipelines Version Info 15:47:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:47:49 ------------------- 15:47:49 stable info: 15:47:49 ------------------- 15:47:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:49 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:47:49 Message: update stable to v1.0.230 15:47:50 ------------------- 15:47:50 experimental info: 15:47:50 ------------------- 15:47:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:50 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:47:50 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f03470 [Pipeline] echo 15:47:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:50 provisioning config files... 15:47:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4055717655723316082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:51 ---> docker-login.sh 15:47:51 nexus3.edgexfoundry.org:10001 15:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:51 Configure a credential helper to remove this warning. See 15:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:51 15:47:51 Login Succeeded 15:47:51 nexus3.edgexfoundry.org:10002 15:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:51 Configure a credential helper to remove this warning. See 15:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:51 15:47:51 Login Succeeded 15:47:51 nexus3.edgexfoundry.org:10003 15:47:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:51 Configure a credential helper to remove this warning. See 15:47:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:51 15:47:51 Login Succeeded 15:47:51 nexus3.edgexfoundry.org:10004 15:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:52 Configure a credential helper to remove this warning. See 15:47:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:52 15:47:52 Login Succeeded 15:47:52 docker.io 15:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:52 Configure a credential helper to remove this warning. See 15:47:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:52 15:47:52 Login Succeeded 15:47:52 ---> docker-login.sh ends [Pipeline] } 15:47:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:47:52 + git rev-list -1 --merges 1f03470b1734dc3652a250f94a689b6ea8731206~1..1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo 15:47:53 -----------> git rev-list -1 --merges 1f03470b1734dc3652a250f94a689b6ea8731206~1..1f03470b1734dc3652a250f94a689b6ea8731206 1f03470b1734dc3652a250f94a689b6ea8731206 [false] [Pipeline] sh 15:47:53 + git log --format=format:%s -1 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo 15:47:53 ========================================================= 15:47:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:47:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:53 + git log --format=format:%s -1 1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] echo 15:47:53 [semverPrep] GIT_COMMIT: 1f03470b1734dc3652a250f94a689b6ea8731206, Commit Message: docs: package rtsp-simple-server's licence [Pipeline] echo 15:47:53 [semverPrep] This is not a build commit. [Pipeline] sh 15:47:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:47:54 + grep -v github /etc/ssh/ssh_known_hosts 15:47:54 + [ -e /tmp/ssh_known_hosts ] 15:47:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:47:54 + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 15:47:54 15:47:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:47:54 15:47:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:47:54 latest: Pulling from edgex-devops/py-git-semver 15:47:54 1fe172e4850f: Pulling fs layer 15:47:54 caf521ccaac6: Pulling fs layer 15:47:54 3ead6fa29328: Pulling fs layer 15:47:54 5c2a1cbceb83: Pulling fs layer 15:47:54 a8d5f1318db7: Pulling fs layer 15:47:54 c427282e49a2: Pulling fs layer 15:47:54 1827001aaf11: Pulling fs layer 15:47:54 0714d37db230: Pulling fs layer 15:47:54 ac28cf19c067: Pulling fs layer 15:47:54 ca983d60f3e2: Pulling fs layer 15:47:54 9f894cec8388: Pulling fs layer 15:47:54 5c2a1cbceb83: Waiting 15:47:54 a8d5f1318db7: Waiting 15:47:54 c427282e49a2: Waiting 15:47:54 1827001aaf11: Waiting 15:47:54 0714d37db230: Waiting 15:47:54 9f894cec8388: Waiting 15:47:54 ac28cf19c067: Waiting 15:47:54 ca983d60f3e2: Waiting 15:47:54 caf521ccaac6: Verifying Checksum 15:47:54 caf521ccaac6: Download complete 15:47:54 5c2a1cbceb83: Verifying Checksum 15:47:54 5c2a1cbceb83: Download complete 15:47:55 a8d5f1318db7: Verifying Checksum 15:47:55 a8d5f1318db7: Download complete 15:47:55 3ead6fa29328: Verifying Checksum 15:47:55 3ead6fa29328: Download complete 15:47:55 c427282e49a2: Download complete 15:47:55 0714d37db230: Download complete 15:47:55 ac28cf19c067: Download complete 15:47:55 ca983d60f3e2: Verifying Checksum 15:47:55 ca983d60f3e2: Download complete 15:47:55 9f894cec8388: Verifying Checksum 15:47:55 9f894cec8388: Download complete 15:47:55 1fe172e4850f: Download complete 15:47:55 1827001aaf11: Verifying Checksum 15:47:55 1827001aaf11: Download complete 15:47:56 1fe172e4850f: Pull complete 15:47:56 caf521ccaac6: Pull complete 15:47:57 3ead6fa29328: Pull complete 15:47:57 5c2a1cbceb83: Pull complete 15:47:57 a8d5f1318db7: Pull complete 15:47:57 c427282e49a2: Pull complete 15:47:59 1827001aaf11: Pull complete 15:47:59 0714d37db230: Pull complete 15:47:59 ac28cf19c067: Pull complete 15:47:59 ca983d60f3e2: Pull complete 15:47:59 9f894cec8388: Pull complete 15:47:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:47:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:59 prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container 15:47:59 $ 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 15:48:01 $ docker top f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 -eo pid,comm 15:48:01 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). 15:48:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:01 [ssh-agent] Looking for ssh-agent implementation... 15:48:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:01 $ docker exec f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent 15:48:01 SSH_AUTH_SOCK=/tmp/ssh-lQWxQWtQji8M/agent.34 15:48:01 SSH_AGENT_PID=41 15:48:01 Running ssh-add (command line suppressed) 15:48:01 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991408698948230981.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_991408698948230981.key) 15:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:02 + git tag --points-at HEAD [Pipeline] } 15:48:02 $ docker exec --env ******** --env ******** f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent -k 15:48:02 unset SSH_AUTH_SOCK; 15:48:02 unset SSH_AGENT_PID; 15:48:02 echo Agent pid 41 killed; 15:48:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:02 [ssh-agent] Looking for ssh-agent implementation... 15:48:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:02 $ docker exec f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent 15:48:02 SSH_AUTH_SOCK=/tmp/ssh-CSbEWHk6rRLS/agent.74 15:48:02 SSH_AGENT_PID=80 15:48:02 Running ssh-add (command line suppressed) 15:48:02 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6205753206221455307.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6205753206221455307.key) 15:48:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:02 + git semver init 15:48:03 2022-05-27 15:48:03,176 [run_init] DEBUG init version:0.0.0 force:False 15:48:03 2022-05-27 15:48:03,176 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 15:48:03 2022-05-27 15:48:03,177 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 15:48:03 2022-05-27 15:48:03,177 [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) 15:48:03 2022-05-27 15:48:03,741 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 15:48:03 2022-05-27 15:48:03,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 15:48:03 2022-05-27 15:48:03,741 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 15:48:03 2022-05-27 15:48:03,745 [execute] INFO git cat-file --batch-check 15:48:03 2022-05-27 15:48:03,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 15:48:03 2022-05-27 15:48:03,752 [execute] INFO git cat-file --batch 15:48:03 2022-05-27 15:48:03,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 15:48:03 2022-05-27 15:48:03,758 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 15:48:03 0.0.0 [Pipeline] } 15:48:03 $ docker exec --env ******** --env ******** f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 ssh-agent -k 15:48:03 unset SSH_AUTH_SOCK; 15:48:03 unset SSH_AGENT_PID; 15:48:03 echo Agent pid 80 killed; 15:48:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:04 + git semver [Pipeline] } 15:48:04 $ docker stop --time=1 f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 15:48:05 $ docker rm -f f08c416225c6bf0c473793915977720ef7094681882d111b41bcbc48914f6967 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:48:06 Stashed 1 file(s) [Pipeline] echo 15:48:06 [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 15:48:06 provisioning config files... 15:48:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2245880524035893339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:06 ---> docker-login.sh 15:48:06 nexus3.edgexfoundry.org:10001 15:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:06 Configure a credential helper to remove this warning. See 15:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:06 15:48:06 Login Succeeded 15:48:06 nexus3.edgexfoundry.org:10002 15:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:07 Configure a credential helper to remove this warning. See 15:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:07 15:48:07 Login Succeeded 15:48:07 nexus3.edgexfoundry.org:10003 15:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:07 Configure a credential helper to remove this warning. See 15:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:07 15:48:07 Login Succeeded 15:48:07 nexus3.edgexfoundry.org:10004 15:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:07 Configure a credential helper to remove this warning. See 15:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:07 15:48:07 Login Succeeded 15:48:07 docker.io 15:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:07 Configure a credential helper to remove this warning. See 15:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:07 15:48:07 Login Succeeded 15:48:07 ---> docker-login.sh ends [Pipeline] } 15:48:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:48:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:07 ========================================================= 15:48:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:48:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:08 + 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 . 15:48:08 Sending build context to Docker daemon 682kB 15:48:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:48:08 Step 2/12 : FROM ${BASE} AS builder 15:48:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:48:08 59bf1c3509f3: Pulling fs layer 15:48:08 666ba61612fd: Pulling fs layer 15:48:08 8ed8ca486205: Pulling fs layer 15:48:08 4fe6c5a15a65: Pulling fs layer 15:48:08 22a0e8bec74d: Pulling fs layer 15:48:08 ca2b28591e48: Pulling fs layer 15:48:08 a51346096db8: Pulling fs layer 15:48:08 daebc70d1ce1: Pulling fs layer 15:48:08 0e18a0eac166: Pulling fs layer 15:48:08 4fe6c5a15a65: Waiting 15:48:08 22a0e8bec74d: Waiting 15:48:08 a51346096db8: Waiting 15:48:08 ca2b28591e48: Waiting 15:48:08 daebc70d1ce1: Waiting 15:48:08 0e18a0eac166: Waiting 15:48:08 8ed8ca486205: Verifying Checksum 15:48:08 8ed8ca486205: Download complete 15:48:08 666ba61612fd: Verifying Checksum 15:48:08 666ba61612fd: Download complete 15:48:08 22a0e8bec74d: Verifying Checksum 15:48:08 22a0e8bec74d: Download complete 15:48:08 ca2b28591e48: Download complete 15:48:08 59bf1c3509f3: Verifying Checksum 15:48:08 a51346096db8: Verifying Checksum 15:48:08 a51346096db8: Download complete 15:48:08 daebc70d1ce1: Verifying Checksum 15:48:08 daebc70d1ce1: Download complete 15:48:08 59bf1c3509f3: Pull complete 15:48:08 666ba61612fd: Pull complete 15:48:08 8ed8ca486205: Pull complete 15:48:08 0e18a0eac166: Verifying Checksum 15:48:09 4fe6c5a15a65: Verifying Checksum 15:48:09 4fe6c5a15a65: Download complete 15:48:13 4fe6c5a15a65: Pull complete 15:48:13 22a0e8bec74d: Pull complete 15:48:13 ca2b28591e48: Pull complete 15:48:13 a51346096db8: Pull complete 15:48:13 daebc70d1ce1: Pull complete 15:48:15 0e18a0eac166: Pull complete 15:48:15 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:48:15 ---> f018257e8ee9 15:48:15 Step 3/12 : ARG MAKE="make build" 15:48:16 ---> Running in 210ecba00ec7 15:48:16 Removing intermediate container 210ecba00ec7 15:48:16 ---> 9f711030dd36 15:48:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:48:16 ---> Running in 38f446b5dc73 15:48:16 Removing intermediate container 38f446b5dc73 15:48:16 ---> e3c509b78e5a 15:48:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:48:16 ---> Running in 2a6484db6fc2 15:48:17 Removing intermediate container 2a6484db6fc2 15:48:17 ---> 4d938e09f7a5 15:48:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:17 ---> Running in 207269fbe5c0 15:48:17 Removing intermediate container 207269fbe5c0 15:48:17 ---> 00f7dd4a4f68 15:48:17 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:17 ---> Running in 123cc7822cbf 15:48:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:48:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:48:18 (1/81) Installing mesa (21.2.6-r0) 15:48:19 (2/81) Installing libxau (1.0.9-r0) 15:48:19 (3/81) Installing libmd (1.0.3-r0) 15:48:19 (4/81) Installing libbsd (0.11.3-r1) 15:48:19 (5/81) Installing libxdmcp (1.1.3-r0) 15:48:19 (6/81) Installing libxcb (1.14-r2) 15:48:19 (7/81) Installing libx11 (1.7.2-r0) 15:48:19 (8/81) Installing libxext (1.3.4-r0) 15:48:19 (9/81) Installing libxfixes (6.0.0-r0) 15:48:19 (10/81) Installing libxxf86vm (1.1.4-r2) 15:48:19 (11/81) Installing libpciaccess (0.16-r0) 15:48:19 (12/81) Installing libdrm (2.4.109-r0) 15:48:20 (13/81) Installing mesa-glapi (21.2.6-r0) 15:48:20 (14/81) Installing libxshmfence (1.3-r1) 15:48:20 (15/81) Installing mesa-gl (21.2.6-r0) 15:48:20 (16/81) Installing libice (1.0.10-r0) 15:48:20 (17/81) Installing libuuid (2.37.4-r0) 15:48:20 (18/81) Installing libsm (1.2.3-r0) 15:48:20 (19/81) Installing libxt (1.2.1-r0) 15:48:20 (20/81) Installing libxmu (1.1.3-r0) 15:48:21 (21/81) Installing xset (1.2.4-r0) 15:48:21 (22/81) Installing xprop (1.2.5-r0) 15:48:21 (23/81) Installing xdg-utils (1.1.3-r0) 15:48:21 (24/81) Installing dbus-libs (1.12.20-r4) 15:48:21 (25/81) Installing libffi (3.4.2-r1) 15:48:21 (26/81) Installing libintl (0.21-r0) 15:48:21 Still waiting to schedule task 15:48:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:48:21 (27/81) Installing libblkid (2.37.4-r0) 15:48:21 (28/81) Installing libmount (2.37.4-r0) 15:48:21 (29/81) Installing pcre (8.45-r1) 15:48:21 (30/81) Installing glib (2.70.1-r0) 15:48:21 (31/81) Installing icu-libs (69.1-r1) 15:48:22 (32/81) Installing libpcre2-16 (10.39-r0) 15:48:22 (33/81) Installing zstd-libs (1.5.0-r0) 15:48:22 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 15:48:23 (35/81) Installing hicolor-icon-theme (0.17-r1) 15:48:23 (36/81) Installing wayland-libs-server (1.19.0-r1) 15:48:23 (37/81) Installing mesa-gbm (21.2.6-r0) 15:48:23 (38/81) Installing wayland-libs-client (1.19.0-r1) 15:48:23 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 15:48:23 (40/81) Installing libxcomposite (0.4.5-r0) 15:48:23 (41/81) Installing libbz2 (1.0.8-r1) 15:48:23 (42/81) Installing libpng (1.6.37-r1) 15:48:24 (43/81) Installing freetype (2.11.1-r2) 15:48:24 (44/81) Installing fontconfig (2.13.1-r4) 15:48:24 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 15:48:24 (46/81) Installing wayland-libs-egl (1.19.0-r1) 15:48:24 (47/81) Installing xkeyboard-config (2.34-r0) 15:48:24 (48/81) Installing xz-libs (5.2.5-r1) 15:48:24 (49/81) Installing libxml2 (2.9.14-r0) 15:48:24 (50/81) Installing libxkbcommon (1.3.1-r0) 15:48:24 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 15:48:24 (52/81) Installing mesa-egl (21.2.6-r0) 15:48:24 (53/81) Installing avahi-libs (0.8-r5) 15:48:25 (54/81) Installing nettle (3.7.3-r0) 15:48:25 (55/81) Installing p11-kit (0.24.0-r1) 15:48:25 (56/81) Installing libtasn1 (4.18.0-r0) 15:48:25 (57/81) Installing libunistring (0.9.10-r1) 15:48:25 (58/81) Installing gnutls (3.7.1-r0) 15:48:25 (59/81) Installing cups-libs (2.3.3-r6) 15:48:25 (60/81) Installing graphite2 (1.3.14-r0) 15:48:25 (61/81) Installing harfbuzz (3.0.0-r2) 15:48:25 (62/81) Installing libevdev (1.12.0-r0) 15:48:25 (63/81) Installing mtdev (1.1.6-r0) 15:48:25 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 15:48:26 (65/81) Installing libinput-libs (1.19.4-r0) 15:48:26 (66/81) Installing libjpeg-turbo (2.1.2-r0) 15:48:26 (67/81) Installing xcb-util-wm (0.4.1-r1) 15:48:26 (68/81) Installing xcb-util (0.4.0-r3) 15:48:26 (69/81) Installing xcb-util-image (0.4.0-r1) 15:48:26 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 15:48:26 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 15:48:26 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 15:48:26 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 15:48:27 (74/81) Installing v4l-utils-libs (1.22.1-r1) 15:48:27 (75/81) Installing v4l-utils (1.22.1-r1) 15:48:27 (76/81) Installing udev-init-scripts (35-r0) 15:48:27 Executing udev-init-scripts-35-r0.post-install 15:48:27 (77/81) Installing kmod-libs (29-r2) 15:48:27 (78/81) Installing eudev (3.2.11_pre1-r0) 15:48:27 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 15:48:27 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:48:27 (81/81) Installing v4l-utils-dev (1.22.1-r1) 15:48:27 Executing busybox-1.34.1-r3.trigger 15:48:27 Executing eudev-3.2.11_pre1-r0.trigger 15:48:27 OK: 335 MiB in 133 packages 15:48:30 Removing intermediate container 123cc7822cbf 15:48:30 ---> 47f87b5c3b9e 15:48:30 Step 8/12 : WORKDIR /device-usb-camera 15:48:30 ---> Running in 1096f45d705e 15:48:30 Removing intermediate container 1096f45d705e 15:48:30 ---> 02605214d0ef 15:48:30 Step 9/12 : COPY go.mod vendor* ./ 15:48:30 ---> 05fa2c07e7bd 15:48:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:30 ---> Running in a8deaa974464 15:48:45 Removing intermediate container a8deaa974464 15:48:45 ---> 86ff46707945 15:48:45 Step 11/12 : COPY . . 15:48:45 ---> 90ef20c12d5e 15:48:45 Step 12/12 : RUN ${MAKE} 15:48:45 ---> Running in c9d1806d248e 15:48:46 noop 15:48:46 Removing intermediate container c9d1806d248e 15:48:46 ---> 5e7fa7053410 15:48:46 Successfully built 5e7fa7053410 15:48:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:46 + docker inspect -f . ci-base-image-x86_64 15:48:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:47 prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container 15:48:47 $ 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 15:48:47 $ docker top 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b -eo pid,comm [Pipeline] { [Pipeline] sh 15:48:47 + go version 15:48:47 go version go1.17.6 linux/amd64 [Pipeline] } 15:48:47 $ docker stop --time=1 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b 15:48:49 $ docker rm -f 29f5a1a4612382834a54276348266bcea6bab7f4acd0fac6ed0e0294c8eea03b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:49 + docker inspect -f . ci-base-image-x86_64 15:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:49 prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container 15:48:49 $ 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 15:48:50 $ docker top 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:48:50 + make test 15:48:50 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 15:48:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:49:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:49:00 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 15:49:05 CGO_ENABLED=1 go vet ./... 15:49:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:10 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:10 $ docker stop --time=1 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 15:49:12 $ docker rm -f 9ed00fa819b0b31dc9fab573a3ff7b21ede7b05603da186c29d0c9fbe2d002d4 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:49:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:49:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:49:13 + ls -al . 15:49:13 total 168 15:49:13 drwxrwxr-x 10 jenkins jenkins 4096 May 27 15:49 . 15:49:13 drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:47 .. 15:49:13 drwxrwxr-x 8 jenkins jenkins 4096 May 27 15:48 .git 15:49:13 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 .github 15:49:13 -rw-rw-r-- 1 jenkins jenkins 414 May 27 15:47 .gitignore 15:49:13 -rw-rw-r-- 1 jenkins jenkins 42 May 27 15:47 .golangci.yml 15:49:13 -rw-rw-r-- 1 jenkins jenkins 77 May 27 15:47 .hadolint.yml 15:49:13 drwxr-xr-x 3 jenkins jenkins 4096 May 27 15:48 .semver 15:49:13 -rw-rw-r-- 1 jenkins jenkins 8706 May 27 15:47 Attribution.txt 15:49:13 -rw-rw-r-- 1 jenkins jenkins 181 May 27 15:47 CHANGELOG.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 1891 May 27 15:47 Dockerfile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 678 May 27 15:47 GOVERNANCE.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 659 May 27 15:47 Jenkinsfile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 15:47 LICENSE 15:49:13 -rw-rw-r-- 1 jenkins jenkins 2345 May 27 15:47 Makefile 15:49:13 -rw-rw-r-- 1 jenkins jenkins 622 May 27 15:47 OWNERS.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 8912 May 27 15:47 README.md 15:49:13 -rw-rw-r-- 1 jenkins jenkins 5 May 27 15:48 VERSION 15:49:13 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 bin 15:49:13 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 cmd 15:49:13 -rw-r--r-- 1 jenkins jenkins 10 May 27 15:48 coverage.out 15:49:13 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:47 docker-compose 15:49:13 -rw-rw-r-- 1 jenkins jenkins 140 May 27 15:47 docker-entrypoint.sh 15:49:13 -rw-rw-r-- 1 jenkins jenkins 3307 May 27 15:47 go.mod 15:49:13 -rw-rw-r-- 1 jenkins jenkins 35656 May 27 15:47 go.sum 15:49:13 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 internal 15:49:13 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:47 snap 15:49:13 -rw-rw-r-- 1 jenkins jenkins 231 May 27 15:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:13 + 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=1f03470b1734dc3652a250f94a689b6ea8731206 --label arch=amd64 --label version=0.0.0 . 15:49:13 Sending build context to Docker daemon 683kB 15:49:13 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 15:49:13 Step 2/29 : FROM ${BASE} AS builder 15:49:13 ---> 5e7fa7053410 15:49:13 Step 3/29 : ARG MAKE="make build" 15:49:13 ---> Running in eca7060b7ef0 15:49:13 Removing intermediate container eca7060b7ef0 15:49:13 ---> 272d41774520 15:49:13 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:49:13 ---> Running in f2b73d813b35 15:49:13 Removing intermediate container f2b73d813b35 15:49:13 ---> 1668fc09d0d5 15:49:13 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:49:13 ---> Running in c4e52f9e2911 15:49:14 Removing intermediate container c4e52f9e2911 15:49:14 ---> 3ce3180ee3d5 15:49:14 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:14 ---> Running in f7a5c1d167b1 15:49:14 Removing intermediate container f7a5c1d167b1 15:49:14 ---> 5c157644857d 15:49:14 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:15 ---> Running in 33da290d97b2 15:49:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:49:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:49:16 OK: 335 MiB in 133 packages 15:49:16 Removing intermediate container 33da290d97b2 15:49:16 ---> d234eeb364d5 15:49:16 Step 8/29 : WORKDIR /device-usb-camera 15:49:16 ---> Running in e0869cb4d9fd 15:49:16 Removing intermediate container e0869cb4d9fd 15:49:16 ---> 922546b4638a 15:49:16 Step 9/29 : COPY go.mod vendor* ./ 15:49:16 ---> 31ca52d60add 15:49:16 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:17 ---> Running in b6c9350ba452 15:49:17 Removing intermediate container b6c9350ba452 15:49:17 ---> d5fda353967e 15:49:17 Step 11/29 : COPY . . 15:49:18 ---> 3eccac16897a 15:49:18 Step 12/29 : RUN ${MAKE} 15:49:18 ---> Running in 6d1584cca225 15:49:18 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 15:49:40 Removing intermediate container 6d1584cca225 15:49:40 ---> 7cea2835af26 15:49:40 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:49:40 v0.18.4: Pulling from aler9/rtsp-simple-server 15:49:40 af6660deedbd: Pulling fs layer 15:49:40 97cd0a44c592: Pulling fs layer 15:49:40 97cd0a44c592: Verifying Checksum 15:49:40 97cd0a44c592: Download complete 15:49:40 af6660deedbd: Download complete 15:49:40 af6660deedbd: Pull complete 15:49:40 97cd0a44c592: Pull complete 15:49:40 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:49:40 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:49:40 ---> fea57e182299 15:49:40 Step 14/29 : FROM alpine:3.15 15:49:40 3.15: Pulling from library/alpine 15:49:40 df9b9388f04a: Pulling fs layer 15:49:40 df9b9388f04a: Verifying Checksum 15:49:40 df9b9388f04a: Download complete 15:49:40 df9b9388f04a: Pull complete 15:49:40 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:49:40 Status: Downloaded newer image for alpine:3.15 15:49:40 ---> 0ac33e5f5afa 15:49:40 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:49:40 ---> Running in 104ddf20e3d5 15:49:40 Removing intermediate container 104ddf20e3d5 15:49:40 ---> a95dbb117f54 15:49:40 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 15:49:40 ---> Running in bb0e4584c966 15:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:49:40 (1/74) Installing dumb-init (1.2.5-r1) 15:49:40 (2/74) Installing sdl2 (2.0.16-r4) 15:49:40 (3/74) Installing libxau (1.0.9-r0) 15:49:40 (4/74) Installing libmd (1.0.3-r0) 15:49:40 (5/74) Installing libbsd (0.11.3-r1) 15:49:40 (6/74) Installing libxdmcp (1.1.3-r0) 15:49:40 (7/74) Installing libxcb (1.14-r2) 15:49:40 (8/74) Installing libx11 (1.7.2-r0) 15:49:40 (9/74) Installing aom-libs (3.2.0-r0) 15:49:40 (10/74) Installing alsa-lib (1.2.5.1-r1) 15:49:40 (11/74) Installing expat (2.4.7-r0) 15:49:40 (12/74) Installing brotli-libs (1.0.9-r5) 15:49:40 (13/74) Installing libbz2 (1.0.8-r1) 15:49:40 (14/74) Installing libpng (1.6.37-r1) 15:49:40 (15/74) Installing freetype (2.11.1-r2) 15:49:40 (16/74) Installing libuuid (2.37.4-r0) 15:49:40 (17/74) Installing fontconfig (2.13.1-r4) 15:49:40 (18/74) Installing fribidi (1.0.11-r0) 15:49:40 (19/74) Installing libffi (3.4.2-r1) 15:49:40 (20/74) Installing libintl (0.21-r0) 15:49:40 (21/74) Installing libblkid (2.37.4-r0) 15:49:40 (22/74) Installing libmount (2.37.4-r0) 15:49:40 (23/74) Installing pcre (8.45-r1) 15:49:40 (24/74) Installing glib (2.70.1-r0) 15:49:41 (25/74) Installing graphite2 (1.3.14-r0) 15:49:41 (26/74) Installing harfbuzz (3.0.0-r2) 15:49:41 (27/74) Installing libass (0.15.2-r0) 15:49:41 (28/74) Installing libdav1d (0.9.2-r0) 15:49:41 (29/74) Installing gmp (6.2.1-r1) 15:49:41 (30/74) Installing nettle (3.7.3-r0) 15:49:41 (31/74) Installing p11-kit (0.24.0-r1) 15:49:41 (32/74) Installing libtasn1 (4.18.0-r0) 15:49:41 (33/74) Installing libunistring (0.9.10-r1) 15:49:41 (34/74) Installing gnutls (3.7.1-r0) 15:49:41 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 15:49:41 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 15:49:41 (37/74) Installing lame (3.100-r0) 15:49:41 (38/74) Installing opus (1.3.1-r1) 15:49:41 (39/74) Installing libgomp (10.3.1_git20211027-r0) 15:49:41 (40/74) Installing soxr (0.1.3-r2) 15:49:41 (41/74) Installing libgcc (10.3.1_git20211027-r0) 15:49:41 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 15:49:41 (43/74) Installing libsrt (1.4.2-r1) 15:49:41 (44/74) Installing libssh (0.9.6-r1) 15:49:41 (45/74) Installing libogg (1.3.5-r0) 15:49:41 (46/74) Installing libtheora (1.1.1-r16) 15:49:41 (47/74) Installing libjpeg-turbo (2.1.2-r0) 15:49:41 (48/74) Installing v4l-utils-libs (1.22.1-r1) 15:49:41 (49/74) Installing libxext (1.3.4-r0) 15:49:41 (50/74) Installing libxfixes (6.0.0-r0) 15:49:41 (51/74) Installing libpciaccess (0.16-r0) 15:49:41 (52/74) Installing libdrm (2.4.109-r0) 15:49:41 (53/74) Installing wayland-libs-client (1.19.0-r1) 15:49:41 (54/74) Installing libva (2.13.0-r0) 15:49:41 (55/74) Installing libvdpau (1.4-r0) 15:49:41 (56/74) Installing vidstab (1.1.0-r1) 15:49:41 (57/74) Installing libvorbis (1.3.7-r0) 15:49:41 (58/74) Installing libvpx (1.10.0-r0) 15:49:41 (59/74) Installing vulkan-loader (1.2.196-r0) 15:49:41 (60/74) Installing libwebp (1.2.2-r0) 15:49:41 (61/74) Installing x264-libs (20210613-r0) 15:49:41 (62/74) Installing x265-libs (3.5-r0) 15:49:41 (63/74) Installing xvidcore (1.3.7-r1) 15:49:41 (64/74) Installing ffmpeg-libs (4.4.1-r2) 15:49:41 (65/74) Installing ffmpeg (4.4.1-r2) 15:49:41 (66/74) Installing udev-init-scripts (35-r0) 15:49:41 Executing udev-init-scripts-35-r0.post-install 15:49:41 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 15:49:41 (68/74) Installing xz-libs (5.2.5-r1) 15:49:41 (69/74) Installing zstd-libs (1.5.0-r0) 15:49:41 (70/74) Installing kmod-libs (29-r2) 15:49:41 (71/74) Installing eudev (3.2.11_pre1-r0) 15:49:41 (72/74) Installing libsodium (1.0.18-r0) 15:49:41 (73/74) Installing libzmq (4.3.4-r0) 15:49:41 (74/74) Installing zeromq (4.3.4-r0) 15:49:41 Executing busybox-1.34.1-r5.trigger 15:49:41 Executing eudev-3.2.11_pre1-r0.trigger 15:49:41 OK: 78 MiB in 88 packages 15:49:43 Removing intermediate container bb0e4584c966 15:49:43 ---> bb4711b520da 15:49:43 Step 17/29 : WORKDIR / 15:49:43 ---> Running in 4e0f3e113e39 15:49:43 Removing intermediate container 4e0f3e113e39 15:49:43 ---> 75df42bae826 15:49:43 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 15:49:44 ---> 28fff5e6e297 15:49:44 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 15:49:44 ---> f5eed2878cdb 15:49:44 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:49:44 ---> fc0c472f6c6b 15:49:44 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:49:44 ---> 814f4263a236 15:49:44 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 15:49:44 ---> 7aa9159f680c 15:49:44 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 15:49:45 ---> b6b51cce541a 15:49:45 Step 24/29 : EXPOSE 59983 15:49:45 ---> Running in 392a18edd5ec 15:49:45 Removing intermediate container 392a18edd5ec 15:49:45 ---> 34cb93034889 15:49:45 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:49:45 ---> Running in 3c6a742b45c7 15:49:45 Removing intermediate container 3c6a742b45c7 15:49:45 ---> bad7f9e9a227 15:49:45 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 15:49:45 ---> Running in 438f12597448 15:49:45 Removing intermediate container 438f12597448 15:49:45 ---> 40f1fc1d8545 15:49:45 Step 27/29 : LABEL arch=amd64 15:49:45 ---> Running in 0b3151fb52d9 15:49:45 Removing intermediate container 0b3151fb52d9 15:49:45 ---> 92457ac59f30 15:49:45 Step 28/29 : LABEL git_sha=1f03470b1734dc3652a250f94a689b6ea8731206 15:49:45 ---> Running in 2cd9eafad3c9 15:49:45 Removing intermediate container 2cd9eafad3c9 15:49:45 ---> 8fd848103b67 15:49:45 Step 29/29 : LABEL version=0.0.0 15:49:45 ---> Running in b7e393eebfc6 15:49:45 Removing intermediate container b7e393eebfc6 15:49:45 ---> 4eb33510087e 15:49:45 [Warning] One or more build-args [ARCH] were not consumed 15:49:45 Successfully built 4eb33510087e 15:49:45 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:49:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:46 15:49:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:46 latest: Pulling from edgex-lftools-log-publisher 15:49:46 5eb5b503b376: Pulling fs layer 15:49:46 5c69ac0246d0: Pulling fs layer 15:49:46 ec43610c2a17: Pulling fs layer 15:49:46 3a2ae6a8a46f: Pulling fs layer 15:49:46 33b1e0a273af: Pulling fs layer 15:49:46 5d3b04190fa2: Pulling fs layer 15:49:46 2f39f015ded8: Pulling fs layer 15:49:46 33b1e0a273af: Waiting 15:49:46 5d3b04190fa2: Waiting 15:49:46 2f39f015ded8: Waiting 15:49:46 5c69ac0246d0: Verifying Checksum 15:49:46 5c69ac0246d0: Download complete 15:49:46 3a2ae6a8a46f: Verifying Checksum 15:49:46 33b1e0a273af: Verifying Checksum 15:49:46 33b1e0a273af: Download complete 15:49:46 ec43610c2a17: Verifying Checksum 15:49:46 ec43610c2a17: Download complete 15:49:46 5d3b04190fa2: Verifying Checksum 15:49:46 5d3b04190fa2: Download complete 15:49:46 5eb5b503b376: Verifying Checksum 15:49:46 5eb5b503b376: Download complete 15:49:47 2f39f015ded8: Download complete 15:49:48 5eb5b503b376: Pull complete 15:49:48 5c69ac0246d0: Pull complete 15:49:48 ec43610c2a17: Pull complete 15:49:48 3a2ae6a8a46f: Pull complete 15:49:48 33b1e0a273af: Pull complete 15:49:49 5d3b04190fa2: Pull complete 15:49:53 2f39f015ded8: Pull complete 15:49:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:49:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:53 prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container 15:49:53 $ 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 15:49:55 $ docker top 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:56 ---> job-cost.sh 15:49:56 lf-activate-venv: SKIPPING 15:49:56 INFO: No Stack... 15:49:56 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:57 INFO: Archiving Costs [Pipeline] sh 15:49:57 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 15:49:57 + cut -d, -f6 [Pipeline] lock 15:49:57 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] 15:49:57 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] did not exist. Created. 15:49:57 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:49:57 + echo total: 0.2199999988079071 [Pipeline] stash 15:49:57 Stashed 1 file(s) [Pipeline] } 15:49:57 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] // lock [Pipeline] } 15:49:57 $ docker stop --time=1 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b 15:49:59 $ docker rm -f 56a913656c9401155e98936211c98c3fb71d5e4e7737676466346d4bc1dec79b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:49:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-264 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 15:49:59 Running in /w/workspace/device-usb-camera/11 [Pipeline] { [Pipeline] checkout 15:49:59 Selected Git installation does not exist. Using Default 15:49:59 The recommended git tool is: NONE 15:50:05 using credential edgex-jenkins-ssh 15:50:05 Cloning the remote Git repository 15:50:05 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:50:05 > git init /w/workspace/device-usb-camera/11 # timeout=10 15:50:05 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:50:05 > git --version # timeout=10 15:50:05 > git --version # 'git version 2.25.1' 15:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:07 Merging remotes/origin/main commit f39f8737115c4aee3eed177658c873badef7abfd into PR head commit 1f03470b1734dc3652a250f94a689b6ea8731206 15:50:06 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:50:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:50:06 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:50:06 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:50:06 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:06 > 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 15:50:07 > git config core.sparsecheckout # timeout=10 15:50:07 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 15:50:07 > git remote # timeout=10 15:50:07 > git config --get remote.origin.url # timeout=10 15:50:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:07 > git merge f39f8737115c4aee3eed177658c873badef7abfd # timeout=10 15:50:07 Merge succeeded, producing 1f03470b1734dc3652a250f94a689b6ea8731206 15:50:07 Checking out Revision 1f03470b1734dc3652a250f94a689b6ea8731206 (PR-30) 15:50:07 > git rev-parse HEAD^{commit} # timeout=10 15:50:07 > git config core.sparsecheckout # timeout=10 15:50:07 > git checkout -f 1f03470b1734dc3652a250f94a689b6ea8731206 # timeout=10 15:50:11 Commit message: "docs: package rtsp-simple-server's licence" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:50:12 % Total % Received % Xferd Average Speed Time Time Time Current 15:50:12 Dload Upload Total Spent Left Speed 15:50:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51483 0 --:--:-- --:--:-- --:--:-- 51700 [Pipeline] sh 15:50:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:50:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:50:13 + sudo tee /etc/docker/daemon.new 15:50:13 { 15:50:13 "registry-mirrors": [ 15:50:13 "https://nexus3.edgexfoundry.org:10001" 15:50:13 ], 15:50:13 "bip": "10.250.0.254/24", 15:50:13 "hosts": [ 15:50:13 "tcp://0.0.0.0:5555", 15:50:13 "unix:///var/run/docker.sock" 15:50:13 ], 15:50:13 "mtu": 1458, 15:50:13 "selinux-enabled": true, 15:50:13 "seccomp-profile": "/etc/docker/seccomp.json" 15:50:13 } [Pipeline] sh 15:50:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:50:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:32 provisioning config files... 15:50:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/11@tmp/config6307832739506842559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:33 ---> docker-login.sh 15:50:33 nexus3.edgexfoundry.org:10001 15:50:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:33 Configure a credential helper to remove this warning. See 15:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:33 15:50:33 Login Succeeded 15:50:33 nexus3.edgexfoundry.org:10002 15:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:34 Configure a credential helper to remove this warning. See 15:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:34 15:50:34 Login Succeeded 15:50:34 nexus3.edgexfoundry.org:10003 15:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:34 Configure a credential helper to remove this warning. See 15:50:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:34 15:50:34 Login Succeeded 15:50:34 nexus3.edgexfoundry.org:10004 15:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:35 Configure a credential helper to remove this warning. See 15:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:35 15:50:35 Login Succeeded 15:50:35 docker.io 15:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:50:36 Configure a credential helper to remove this warning. See 15:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:50:36 15:50:36 Login Succeeded 15:50:36 ---> docker-login.sh ends [Pipeline] } 15:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:50:36 ========================================================= 15:50:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:50:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:36 + 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 . 15:50:37 Sending build context to Docker daemon 485.9kB 15:50:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:50:37 Step 2/12 : FROM ${BASE} AS builder 15:50:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:50:37 9b3977197b4f: Pulling fs layer 15:50:37 1a89e8eeedd5: Pulling fs layer 15:50:37 94645a83ff95: Pulling fs layer 15:50:37 3f3a8bcf1eab: Pulling fs layer 15:50:37 0c92f367c5e7: Pulling fs layer 15:50:37 3096ccb668a1: Pulling fs layer 15:50:37 e8cf19c19ddd: Pulling fs layer 15:50:37 a4caa8a26152: Pulling fs layer 15:50:37 0c92f367c5e7: Waiting 15:50:37 3096ccb668a1: Waiting 15:50:37 e8cf19c19ddd: Waiting 15:50:37 a4caa8a26152: Waiting 15:50:37 3f3a8bcf1eab: Waiting 15:50:37 94645a83ff95: Verifying Checksum 15:50:37 94645a83ff95: Download complete 15:50:37 1a89e8eeedd5: Download complete 15:50:37 0c92f367c5e7: Verifying Checksum 15:50:37 0c92f367c5e7: Download complete 15:50:37 3096ccb668a1: Verifying Checksum 15:50:37 3096ccb668a1: Download complete 15:50:37 9b3977197b4f: Verifying Checksum 15:50:37 9b3977197b4f: Download complete 15:50:37 e8cf19c19ddd: Verifying Checksum 15:50:37 e8cf19c19ddd: Download complete 15:50:38 9b3977197b4f: Pull complete 15:50:38 1a89e8eeedd5: Pull complete 15:50:39 94645a83ff95: Pull complete 15:50:39 a4caa8a26152: Download complete 15:50:40 3f3a8bcf1eab: Verifying Checksum 15:50:40 3f3a8bcf1eab: Download complete 15:50:52 3f3a8bcf1eab: Pull complete 15:50:52 0c92f367c5e7: Pull complete 15:50:52 3096ccb668a1: Pull complete 15:50:52 e8cf19c19ddd: Pull complete 15:50:59 a4caa8a26152: Pull complete 15:50:59 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:50:59 ---> 725f1c02e7f9 15:50:59 Step 3/12 : ARG MAKE="make build" 15:50:59 ---> Running in 740855119a2e 15:51:00 Removing intermediate container 740855119a2e 15:51:00 ---> 8bb17dd5a272 15:51:00 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:51:00 ---> Running in ceee480fe224 15:51:00 Removing intermediate container ceee480fe224 15:51:00 ---> 01c28a719b4b 15:51:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:51:00 ---> Running in 8deb6bf30813 15:51:00 Removing intermediate container 8deb6bf30813 15:51:00 ---> 256e32a2ccd1 15:51:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:00 ---> Running in 9393354f9f60 15:51:02 Removing intermediate container 9393354f9f60 15:51:02 ---> 6fa4e4293991 15:51:02 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:02 ---> Running in 48bdcf90946b 15:51:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:51:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:51:05 (1/14) Installing libintl (0.21-r0) 15:51:05 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 15:51:05 (3/14) Installing libjpeg-turbo (2.1.2-r0) 15:51:05 (4/14) Installing v4l-utils-libs (1.22.1-r1) 15:51:06 (5/14) Installing v4l-utils (1.22.1-r1) 15:51:06 (6/14) Installing udev-init-scripts (35-r0) 15:51:06 Executing udev-init-scripts-35-r0.post-install 15:51:06 (7/14) Installing libblkid (2.37.4-r0) 15:51:06 (8/14) Installing xz-libs (5.2.5-r1) 15:51:06 (9/14) Installing zstd-libs (1.5.0-r0) 15:51:06 (10/14) Installing kmod-libs (29-r2) 15:51:06 (11/14) Installing eudev (3.2.11_pre1-r0) 15:51:06 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 15:51:06 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:51:06 (14/14) Installing v4l-utils-dev (1.22.1-r1) 15:51:07 Executing busybox-1.34.1-r3.trigger 15:51:07 Executing eudev-3.2.11_pre1-r0.trigger 15:51:07 OK: 227 MiB in 66 packages 15:51:08 Removing intermediate container 48bdcf90946b 15:51:08 ---> bbd5336ec707 15:51:08 Step 8/12 : WORKDIR /device-usb-camera 15:51:08 ---> Running in a9086e05751f 15:51:08 Removing intermediate container a9086e05751f 15:51:08 ---> cc8ef1a482cf 15:51:08 Step 9/12 : COPY go.mod vendor* ./ 15:51:09 ---> a418e39de2bf 15:51:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:09 ---> Running in 7e96ed8c2144 15:51:56 Removing intermediate container 7e96ed8c2144 15:51:56 ---> c96d093d73a4 15:51:56 Step 11/12 : COPY . . 15:51:56 ---> e620757e5ae7 15:51:56 Step 12/12 : RUN ${MAKE} 15:51:56 ---> Running in 047f741c8ad3 15:51:56 noop 15:51:56 Removing intermediate container 047f741c8ad3 15:51:56 ---> 1eefbe72db67 15:51:56 Successfully built 1eefbe72db67 15:51:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:56 + docker inspect -f . ci-base-image-arm64 15:51:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:56 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 15:51:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:51:58 $ docker top e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:59 + go version 15:51:59 go version go1.17.6 linux/arm64 [Pipeline] } 15:51:59 $ docker stop --time=1 e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c 15:52:00 $ docker rm -f e9db964c89e7d18acbe5e03f434d061889f175bd69ab7317ec7fa323cf86671c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:01 + docker inspect -f . ci-base-image-arm64 15:52:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:01 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 15:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:03 $ docker top c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:52:03 + make test 15:52:03 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 15:52:05 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:53:27 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:53:27 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 15:53:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:53:27 CGO_ENABLED=1 go vet ./... 15:53:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:53:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:53:54 ./bin/test-attribution-txt.sh [Pipeline] echo 15:53:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:53:54 $ docker stop --time=1 c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c 15:53:55 $ docker rm -f c8eb74e767fa86fe512c764a323b2244142eb0cbc5381b05939455f7e73ad36c [Pipeline] // withDockerContainer [Pipeline] sh 15:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:56 Warning: overwriting stash ‘coverage-report’ 15:53:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:53:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:57 + ls -al . 15:53:57 total 164 15:53:57 drwxrwxr-x 9 jenkins jenkins 4096 May 27 15:53 . 15:53:57 drwxrwxr-x 4 jenkins jenkins 4096 May 27 15:50 .. 15:53:57 drwxrwxr-x 8 jenkins jenkins 4096 May 27 15:50 .git 15:53:57 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 .github 15:53:57 -rw-rw-r-- 1 jenkins jenkins 414 May 27 15:50 .gitignore 15:53:57 -rw-rw-r-- 1 jenkins jenkins 42 May 27 15:50 .golangci.yml 15:53:57 -rw-rw-r-- 1 jenkins jenkins 77 May 27 15:50 .hadolint.yml 15:53:57 -rw-rw-r-- 1 jenkins jenkins 8706 May 27 15:50 Attribution.txt 15:53:57 -rw-rw-r-- 1 jenkins jenkins 181 May 27 15:50 CHANGELOG.md 15:53:57 -rw-rw-r-- 1 jenkins jenkins 1891 May 27 15:50 Dockerfile 15:53:57 -rw-rw-r-- 1 jenkins jenkins 678 May 27 15:50 GOVERNANCE.md 15:53:57 -rw-rw-r-- 1 jenkins jenkins 659 May 27 15:50 Jenkinsfile 15:53:57 -rw-rw-r-- 1 jenkins jenkins 11348 May 27 15:50 LICENSE 15:53:57 -rw-rw-r-- 1 jenkins jenkins 2345 May 27 15:50 Makefile 15:53:57 -rw-rw-r-- 1 jenkins jenkins 622 May 27 15:50 OWNERS.md 15:53:57 -rw-rw-r-- 1 jenkins jenkins 8912 May 27 15:50 README.md 15:53:57 -rw-rw-r-- 1 jenkins jenkins 5 May 27 15:48 VERSION 15:53:57 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 bin 15:53:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 cmd 15:53:57 -rw-r--r-- 1 jenkins jenkins 10 May 27 15:52 coverage.out 15:53:57 drwxrwxr-x 2 jenkins jenkins 4096 May 27 15:50 docker-compose 15:53:57 -rw-rw-r-- 1 jenkins jenkins 140 May 27 15:50 docker-entrypoint.sh 15:53:57 -rw-rw-r-- 1 jenkins jenkins 3307 May 27 15:50 go.mod 15:53:57 -rw-rw-r-- 1 jenkins jenkins 35656 May 27 15:50 go.sum 15:53:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 internal 15:53:57 drwxrwxr-x 3 jenkins jenkins 4096 May 27 15:50 snap 15:53:57 -rw-rw-r-- 1 jenkins jenkins 231 May 27 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:58 + 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=1f03470b1734dc3652a250f94a689b6ea8731206 --label arch=arm64 --label version=0.0.0 . 15:53:58 Sending build context to Docker daemon 486.9kB 15:53:58 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 15:53:58 Step 2/29 : FROM ${BASE} AS builder 15:53:58 ---> 1eefbe72db67 15:53:58 Step 3/29 : ARG MAKE="make build" 15:53:58 ---> Running in 37eca56cec10 15:53:59 Removing intermediate container 37eca56cec10 15:53:59 ---> 17173e357847 15:53:59 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:53:59 ---> Running in fe8ed1d75987 15:53:59 Removing intermediate container fe8ed1d75987 15:53:59 ---> ab4ae2efc71f 15:53:59 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:53:59 ---> Running in c2e9bc3e502c 15:53:59 Removing intermediate container c2e9bc3e502c 15:53:59 ---> 1079d12ee262 15:53:59 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:53:59 ---> Running in 43101a670fe7 15:54:01 Removing intermediate container 43101a670fe7 15:54:01 ---> 105b6308f1c7 15:54:01 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:01 ---> Running in 3365f9af8056 15:54:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:54:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:54:04 OK: 227 MiB in 66 packages 15:54:05 Removing intermediate container 3365f9af8056 15:54:05 ---> 389dcd3dae25 15:54:05 Step 8/29 : WORKDIR /device-usb-camera 15:54:05 ---> Running in ea0a74e78377 15:54:05 Removing intermediate container ea0a74e78377 15:54:05 ---> 2a4427495ed5 15:54:05 Step 9/29 : COPY go.mod vendor* ./ 15:54:06 ---> 7e79f486f70d 15:54:06 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:06 ---> Running in 27d821c34b2b 15:54:07 Removing intermediate container 27d821c34b2b 15:54:07 ---> 72b8cef53788 15:54:07 Step 11/29 : COPY . . 15:54:08 ---> c70a0824d6a1 15:54:08 Step 12/29 : RUN ${MAKE} 15:54:08 ---> Running in ebf8c4448283 15:54:09 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 15:56:16 Removing intermediate container ebf8c4448283 15:56:16 ---> 1a4f2b1f3a0f 15:56:16 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:56:16 v0.18.4: Pulling from aler9/rtsp-simple-server 15:56:16 eab2503cf8f4: Pulling fs layer 15:56:16 97cd0a44c592: Pulling fs layer 15:56:16 97cd0a44c592: Verifying Checksum 15:56:16 97cd0a44c592: Download complete 15:56:16 eab2503cf8f4: Verifying Checksum 15:56:16 eab2503cf8f4: Download complete 15:56:16 eab2503cf8f4: Pull complete 15:56:16 97cd0a44c592: Pull complete 15:56:16 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:56:16 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:56:16 ---> 7f763cca56b3 15:56:16 Step 14/29 : FROM alpine:3.15 15:56:16 3.15: Pulling from library/alpine 15:56:16 9981e73032c8: Pulling fs layer 15:56:16 9981e73032c8: Verifying Checksum 15:56:16 9981e73032c8: Download complete 15:56:16 9981e73032c8: Pull complete 15:56:16 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:56:16 Status: Downloaded newer image for alpine:3.15 15:56:16 ---> 3fb3c9af89a9 15:56:16 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:56:16 ---> Running in ca713fea126d 15:56:16 Removing intermediate container ca713fea126d 15:56:16 ---> d22a70e128f7 15:56:16 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 15:56:16 ---> Running in cab7878a3f96 15:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:56:16 (1/73) Installing dumb-init (1.2.5-r1) 15:56:16 (2/73) Installing sdl2 (2.0.16-r4) 15:56:16 (3/73) Installing libxau (1.0.9-r0) 15:56:16 (4/73) Installing libmd (1.0.3-r0) 15:56:16 (5/73) Installing libbsd (0.11.3-r1) 15:56:16 (6/73) Installing libxdmcp (1.1.3-r0) 15:56:16 (7/73) Installing libxcb (1.14-r2) 15:56:16 (8/73) Installing libx11 (1.7.2-r0) 15:56:16 (9/73) Installing aom-libs (3.2.0-r0) 15:56:16 (10/73) Installing alsa-lib (1.2.5.1-r1) 15:56:16 (11/73) Installing expat (2.4.7-r0) 15:56:16 (12/73) Installing brotli-libs (1.0.9-r5) 15:56:16 (13/73) Installing libbz2 (1.0.8-r1) 15:56:16 (14/73) Installing libpng (1.6.37-r1) 15:56:16 (15/73) Installing freetype (2.11.1-r2) 15:56:16 (16/73) Installing libuuid (2.37.4-r0) 15:56:16 (17/73) Installing fontconfig (2.13.1-r4) 15:56:16 (18/73) Installing fribidi (1.0.11-r0) 15:56:16 (19/73) Installing libffi (3.4.2-r1) 15:56:16 (20/73) Installing libintl (0.21-r0) 15:56:16 (21/73) Installing libblkid (2.37.4-r0) 15:56:16 (22/73) Installing libmount (2.37.4-r0) 15:56:16 (23/73) Installing pcre (8.45-r1) 15:56:16 (24/73) Installing glib (2.70.1-r0) 15:56:16 (25/73) Installing graphite2 (1.3.14-r0) 15:56:16 (26/73) Installing harfbuzz (3.0.0-r2) 15:56:16 (27/73) Installing libass (0.15.2-r0) 15:56:16 (28/73) Installing libdav1d (0.9.2-r0) 15:56:16 (29/73) Installing gmp (6.2.1-r1) 15:56:16 (30/73) Installing nettle (3.7.3-r0) 15:56:16 (31/73) Installing p11-kit (0.24.0-r1) 15:56:16 (32/73) Installing libtasn1 (4.18.0-r0) 15:56:16 (33/73) Installing libunistring (0.9.10-r1) 15:56:16 (34/73) Installing gnutls (3.7.1-r0) 15:56:16 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 15:56:16 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 15:56:16 (37/73) Installing lame (3.100-r0) 15:56:16 (38/73) Installing opus (1.3.1-r1) 15:56:16 (39/73) Installing libgomp (10.3.1_git20211027-r0) 15:56:16 (40/73) Installing soxr (0.1.3-r2) 15:56:16 (41/73) Installing libgcc (10.3.1_git20211027-r0) 15:56:16 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 15:56:16 (43/73) Installing libsrt (1.4.2-r1) 15:56:16 (44/73) Installing libssh (0.9.6-r1) 15:56:16 (45/73) Installing libogg (1.3.5-r0) 15:56:16 (46/73) Installing libtheora (1.1.1-r16) 15:56:16 (47/73) Installing libjpeg-turbo (2.1.2-r0) 15:56:16 (48/73) Installing v4l-utils-libs (1.22.1-r1) 15:56:16 (49/73) Installing libxext (1.3.4-r0) 15:56:16 (50/73) Installing libxfixes (6.0.0-r0) 15:56:16 (51/73) Installing libdrm (2.4.109-r0) 15:56:16 (52/73) Installing wayland-libs-client (1.19.0-r1) 15:56:16 (53/73) Installing libva (2.13.0-r0) 15:56:16 (54/73) Installing libvdpau (1.4-r0) 15:56:16 (55/73) Installing vidstab (1.1.0-r1) 15:56:16 (56/73) Installing libvorbis (1.3.7-r0) 15:56:16 (57/73) Installing libvpx (1.10.0-r0) 15:56:16 (58/73) Installing vulkan-loader (1.2.196-r0) 15:56:16 (59/73) Installing libwebp (1.2.2-r0) 15:56:16 (60/73) Installing x264-libs (20210613-r0) 15:56:16 (61/73) Installing x265-libs (3.5-r0) 15:56:16 (62/73) Installing xvidcore (1.3.7-r1) 15:56:16 (63/73) Installing ffmpeg-libs (4.4.1-r2) 15:56:16 (64/73) Installing ffmpeg (4.4.1-r2) 15:56:16 (65/73) Installing udev-init-scripts (35-r0) 15:56:16 Executing udev-init-scripts-35-r0.post-install 15:56:16 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 15:56:16 (67/73) Installing xz-libs (5.2.5-r1) 15:56:16 (68/73) Installing zstd-libs (1.5.0-r0) 15:56:16 (69/73) Installing kmod-libs (29-r2) 15:56:16 (70/73) Installing eudev (3.2.11_pre1-r0) 15:56:16 (71/73) Installing libsodium (1.0.18-r0) 15:56:16 (72/73) Installing libzmq (4.3.4-r0) 15:56:16 (73/73) Installing zeromq (4.3.4-r0) 15:56:16 Executing busybox-1.34.1-r5.trigger 15:56:16 Executing eudev-3.2.11_pre1-r0.trigger 15:56:16 OK: 67 MiB in 87 packages 15:56:16 Removing intermediate container cab7878a3f96 15:56:16 ---> 568d2e297fe1 15:56:16 Step 17/29 : WORKDIR / 15:56:16 ---> Running in 3393547d3307 15:56:17 Removing intermediate container 3393547d3307 15:56:17 ---> 6b321f104b00 15:56:17 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 15:56:18 ---> a3bdd4e0f581 15:56:18 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 15:56:19 ---> d8a9688fcc3a 15:56:19 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:56:19 ---> ad5bca9f0360 15:56:19 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:56:20 ---> d6e00e1a0d27 15:56:20 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 15:56:20 ---> 2c62997b2aaa 15:56:20 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 15:56:22 ---> d5e6e2dc05d1 15:56:22 Step 24/29 : EXPOSE 59983 15:56:22 ---> Running in bd03026760ca 15:56:22 Removing intermediate container bd03026760ca 15:56:22 ---> d83ecef0961b 15:56:22 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:56:22 ---> Running in 69631b18b387 15:56:22 Removing intermediate container 69631b18b387 15:56:22 ---> 20237aa3a35e 15:56:22 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 15:56:22 ---> Running in cf346c8b0ab5 15:56:23 Removing intermediate container cf346c8b0ab5 15:56:23 ---> 9ad7317e054b 15:56:23 Step 27/29 : LABEL arch=arm64 15:56:23 ---> Running in fc3b0555cd71 15:56:23 Removing intermediate container fc3b0555cd71 15:56:23 ---> 7eec8fb817de 15:56:23 Step 28/29 : LABEL git_sha=1f03470b1734dc3652a250f94a689b6ea8731206 15:56:23 ---> Running in c73f80c3c324 15:56:23 Removing intermediate container c73f80c3c324 15:56:23 ---> fb1b020ada60 15:56:24 Step 29/29 : LABEL version=0.0.0 15:56:24 ---> Running in c9a81d79d800 15:56:24 Removing intermediate container c9a81d79d800 15:56:24 ---> 093a197bf008 15:56:24 [Warning] One or more build-args [ARCH] were not consumed 15:56:24 Successfully built 093a197bf008 15:56:24 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 15:56:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:24 15:56:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:25 arm64: Pulling from edgex-lftools-log-publisher 15:56:25 8998bd30e6a1: Pulling fs layer 15:56:25 04944245beec: Pulling fs layer 15:56:25 699f458cf7ca: Pulling fs layer 15:56:25 765212b225bb: Pulling fs layer 15:56:25 f23df028b6ca: Pulling fs layer 15:56:25 d65c8cfc05b1: Pulling fs layer 15:56:25 2437ff75d9bd: Pulling fs layer 15:56:25 d65c8cfc05b1: Waiting 15:56:25 f23df028b6ca: Waiting 15:56:25 765212b225bb: Waiting 15:56:25 04944245beec: Verifying Checksum 15:56:25 04944245beec: Download complete 15:56:25 765212b225bb: Verifying Checksum 15:56:25 765212b225bb: Download complete 15:56:25 f23df028b6ca: Verifying Checksum 15:56:25 f23df028b6ca: Download complete 15:56:25 d65c8cfc05b1: Verifying Checksum 15:56:25 d65c8cfc05b1: Download complete 15:56:25 699f458cf7ca: Verifying Checksum 15:56:25 699f458cf7ca: Download complete 15:56:26 8998bd30e6a1: Verifying Checksum 15:56:26 8998bd30e6a1: Download complete 15:56:28 2437ff75d9bd: Verifying Checksum 15:56:28 2437ff75d9bd: Download complete 15:56:30 8998bd30e6a1: Pull complete 15:56:31 04944245beec: Pull complete 15:56:32 699f458cf7ca: Pull complete 15:56:32 765212b225bb: Pull complete 15:56:33 f23df028b6ca: Pull complete 15:56:33 d65c8cfc05b1: Pull complete 15:56:48 2437ff75d9bd: Pull complete 15:56:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:49 prd-ubuntu20.04-docker-arm64-4c-16g-264 does not seem to be running inside a container 15:56:49 $ 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/11 -v /w/workspace/device-usb-camera/11:/w/workspace/device-usb-camera/11:rw,z -v /w/workspace/device-usb-camera/11@tmp:/w/workspace/device-usb-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:56:51 $ docker top 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:52 ---> job-cost.sh 15:56:52 lf-activate-venv: SKIPPING 15:56:52 INFO: No Stack... 15:56:53 INFO: Retrieving Pricing Info for: v3-standard-4 15:56:54 INFO: Archiving Costs [Pipeline] sh 15:56:55 + + cut -d,cat -f6 /w/workspace/device-usb-camera/11/archives/cost.csv 15:56:55 [Pipeline] lock 15:56:55 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] 15:56:55 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] did not exist. Created. 15:56:55 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:55 /w/workspace/device-usb-camera/11@tmp/durable-39041921/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:56 + echo total: 0.10999999940395355 [Pipeline] stash 15:56:56 Warning: overwriting stash ‘stack-cost’ 15:56:56 Stashed 1 file(s) [Pipeline] } 15:56:56 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-11-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:56 $ docker stop --time=1 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a 15:56:58 $ docker rm -f 38afb981265c8e743408ac3b8b241fa4f3b04b2e53db0e802de757ea3a644a7a [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 15:56:58 provisioning config files... 15:56:58 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6691440901039136496tmp [Pipeline] { [Pipeline] sh 15:56:58 + set +x 15:56:58 + + curl -s https://codecov.io/bashbash 15:56:58 -s -- 15:56:58 15:56:58 _____ _ 15:56:58 / ____| | | 15:56:58 | | ___ __| | ___ ___ _____ __ 15:56:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:58 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:58 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:58 Bash-1.0.6 15:56:58 15:56:58 15:56:58 ==> git version 2.25.1 found 15:56:58 ==> 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 15:56:58 Release-Date: 2020-01-08 15:56:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:56:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:56:58 ==> Jenkins CI detected. 15:56:58 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 15:56:58 project root: . 15:56:58 --> token set from env 15:56:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:58 ==> Running gcov in . (disable via -X gcov) 15:56:58 ==> Python coveragepy not found 15:56:58 ==> Searching for coverage reports in: 15:56:58 + . 15:56:58 -> Found 1 reports 15:56:58 ==> Detecting git/mercurial file structure 15:56:58 ==> Reading reports 15:56:58 + ./coverage.out bytes=10 15:56:58 ==> Appending adjustments 15:56:58 https://docs.codecov.io/docs/fixing-reports 15:56:59 + Found adjustments 15:56:59 ==> Gzipping contents 15:56:59 4.0K /tmp/codecov.Wjm0S7.gz 15:56:59 ==> Uploading reports 15:56:59 url: https://codecov.io 15:56:59 query: branch=PR-30&commit=1f03470b1734dc3652a250f94a689b6ea8731206&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 15:56:59 -> Pinging Codecov 15:56:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=1f03470b1734dc3652a250f94a689b6ea8731206&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 15:56:59 -> Uploading to 15:56:59 https://storage.googleapis.com/codecov/v4/raw/2022-05-27/73D8F5FF140700D3E01443B452E23636/1f03470b1734dc3652a250f94a689b6ea8731206/930608cd-c0fd-4ff7-9254-f53d147ba3c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T155659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5161abb48b622903013cbaa10be0cc9188d3b6a4479084f710e507720ac7b15d 15:56:59 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:59 Dload Upload Total Spent Left Speed 15:56:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1201 0 0 100 1201 0 5067 --:--:-- --:--:-- --:--:-- 5067 15:56:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/1f03470b1734dc3652a250f94a689b6ea8731206 [Pipeline] } 15:56:59 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 15:57:00 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 15:57:00 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 15:57:00 total 16 15:57:00 drwxr-xr-x 3 root root 4096 May 27 15:49 . 15:57:00 drwxrwxr-x 11 jenkins jenkins 4096 May 27 15:49 .. 15:57:00 drwxr-xr-x 2 root root 4096 May 27 15:49 cost 15:57:00 -rw-r--r-- 1 root root 88 May 27 15:49 cost.csv 15:57:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 15:57:00 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 15:57:00 total 16 15:57:00 drwxr-xr-x 3 jenkins jenkins 4096 May 27 15:49 . 15:57:00 drwxrwxr-x 11 jenkins jenkins 4096 May 27 15:49 .. 15:57:00 drwxr-xr-x 2 jenkins jenkins 4096 May 27 15:49 cost 15:57:00 -rw-r--r-- 1 jenkins jenkins 88 May 27 15:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:57:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:57:01 ---> package-listing.sh 15:57:01 ++ facter osfamily 15:57:01 ++ tr '[:upper:]' '[:lower:]' 15:57:01 + OS_FAMILY=debian 15:57:01 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 15:57:01 + START_PACKAGES=/tmp/packages_start.txt 15:57:01 + END_PACKAGES=/tmp/packages_end.txt 15:57:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:57:01 + PACKAGES=/tmp/packages_start.txt 15:57:01 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 15:57:01 + PACKAGES=/tmp/packages_end.txt 15:57:01 + case "${OS_FAMILY}" in 15:57:01 + dpkg -l 15:57:01 + grep '^ii' 15:57:01 + '[' -f /tmp/packages_start.txt ']' 15:57:01 + '[' -f /tmp/packages_end.txt ']' 15:57:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:57:01 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 15:57:01 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 15:57:01 + 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 15:57:01 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 15:57:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:02 prd-ubuntu20.04-docker-8c-8g-263 does not seem to be running inside a container 15:57:02 $ 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 15:57:02 $ docker top 4b98f60c8a003eb10bcfefbb92f54723c1cd1ec6138e76db2061ffb96d460986 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:03 + touch /tmp/pre-build-complete [Pipeline] sh 15:57:03 + mkdir -p /var/log/sysstat [Pipeline] sh 15:57:03 + ls /var/log/sa-host 15:57:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:03 provisioning config files... 15:57:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8282006188794538785tmp [Pipeline] { [Pipeline] echo 15:57:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:57:04 ---> create-netrc.sh [Pipeline] } 15:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:57:04 ---> python-tools-install.sh [Pipeline] echo 15:57:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:57:04 ---> sudo-logs.sh 15:57:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:57:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:57:05 ---> job-cost.sh 15:57:05 lf-activate-venv: SKIPPING 15:57:05 DEBUG: total: 0.2199999988079071 15:57:05 INFO: Retrieving Stack Cost... 15:57:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:06 INFO: Archiving Costs [Pipeline] echo 15:57:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:57:06 ---> logs-deploy.sh 15:57:06 lf-activate-venv: SKIPPING 15:57:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/11 15:57:06 INFO: archiving workspace using pattern(s): 15:57:07 Archives upload complete. 15:57:07 INFO: archiving logs to Nexus