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 1eaa599c90d6d5cca25362b8dc195a68261f6b30+73afea3ace466341e80d38fe07fac6720914120d (9aa008b154067a64513d37b5b8411e35e8bd6bfb) 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-ssh3814140779962764915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3575194987578864601.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh6069320471350399296.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15148647331727895928.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-ssh3823986569815097423.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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16362 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 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 1eaa599c90d6d5cca25362b8dc195a68261f6b30 Merge succeeded, producing f80fd41112f1d5377373d71e68e32fb2e3362fb6 Checking out Revision f80fd41112f1d5377373d71e68e32fb2e3362fb6 (PR-30) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 1eaa599c90d6d5cca25362b8dc195a68261f6b30 # 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 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f80fd41112f1d5377373d71e68e32fb2e3362fb6 # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk cb7b1c7487586312c5af94597c1d2f43d1996501 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:15:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:15:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:15:08 ========================================================= 16:15:08 EdgeX Global Pipelines Version Info 16:15:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:15:09 ------------------- 16:15:09 stable info: 16:15:09 ------------------- 16:15:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:15:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:15:09 Message: update stable to v1.0.234 16:15:09 ------------------- 16:15:09 experimental info: 16:15:09 ------------------- 16:15:09 Commited By: **** collab-it+edgex@linuxfoundation.org 16:15:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:15:09 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:15:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f80fd41 [Pipeline] echo 16:15:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:10 provisioning config files... 16:15:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2552323813567041692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:10 ---> docker-login.sh 16:15:10 nexus3.edgexfoundry.org:10001 16:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:11 Configure a credential helper to remove this warning. See 16:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:11 16:15:11 Login Succeeded 16:15:11 nexus3.edgexfoundry.org:10002 16:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:11 Configure a credential helper to remove this warning. See 16:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:11 16:15:11 Login Succeeded 16:15:11 nexus3.edgexfoundry.org:10003 16:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:11 Configure a credential helper to remove this warning. See 16:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:11 16:15:11 Login Succeeded 16:15:11 nexus3.edgexfoundry.org:10004 16:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:11 Configure a credential helper to remove this warning. See 16:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:11 16:15:11 Login Succeeded 16:15:11 docker.io 16:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:12 Configure a credential helper to remove this warning. See 16:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:12 16:15:12 Login Succeeded 16:15:12 ---> docker-login.sh ends [Pipeline] } 16:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:15:12 + git rev-list -1 --merges f80fd41112f1d5377373d71e68e32fb2e3362fb6~1..f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo 16:15:12 -----------> git rev-list -1 --merges f80fd41112f1d5377373d71e68e32fb2e3362fb6~1..f80fd41112f1d5377373d71e68e32fb2e3362fb6 f80fd41112f1d5377373d71e68e32fb2e3362fb6 16:15:12 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [false] [Pipeline] sh 16:15:12 + git log --format=format:%s -1 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo 16:15:12 ========================================================= 16:15:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:15:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:13 + git log --format=format:%s -1 f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] echo 16:15:13 [semverPrep] GIT_COMMIT: f80fd41112f1d5377373d71e68e32fb2e3362fb6, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo 16:15:13 [semverPrep] This is not a build commit. [Pipeline] sh 16:15:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:15:13 + grep -v github /etc/ssh/ssh_known_hosts 16:15:13 + [ -e /tmp/ssh_known_hosts ] 16:15:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:15:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:15:13 + sudo tee -a /etc/ssh/ssh_known_hosts 16:15:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:13 16:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:14 0.1.4: Pulling from edgex-devops/py-git-semver 16:15:14 42c077c10790: Pulling fs layer 16:15:14 f63e77b7563a: Pulling fs layer 16:15:14 bd5fdadae976: Pulling fs layer 16:15:14 205491f53016: Pulling fs layer 16:15:14 df18705c85c3: Pulling fs layer 16:15:14 bdb3f477010e: Pulling fs layer 16:15:14 c8a8fc8e1c8f: Pulling fs layer 16:15:14 2c6e9b1d212d: Pulling fs layer 16:15:14 bdb8f0575790: Pulling fs layer 16:15:14 386e3cb2ff24: Pulling fs layer 16:15:14 2343380bae48: Pulling fs layer 16:15:14 205491f53016: Waiting 16:15:14 df18705c85c3: Waiting 16:15:14 bdb3f477010e: Waiting 16:15:14 c8a8fc8e1c8f: Waiting 16:15:14 2c6e9b1d212d: Waiting 16:15:14 2343380bae48: Waiting 16:15:14 386e3cb2ff24: Waiting 16:15:14 bdb8f0575790: Waiting 16:15:14 f63e77b7563a: Verifying Checksum 16:15:14 f63e77b7563a: Download complete 16:15:14 205491f53016: Verifying Checksum 16:15:14 205491f53016: Download complete 16:15:14 df18705c85c3: Verifying Checksum 16:15:14 df18705c85c3: Download complete 16:15:14 bd5fdadae976: Verifying Checksum 16:15:14 bd5fdadae976: Download complete 16:15:14 bdb3f477010e: Verifying Checksum 16:15:14 bdb3f477010e: Download complete 16:15:14 2c6e9b1d212d: Download complete 16:15:14 bdb8f0575790: Verifying Checksum 16:15:14 bdb8f0575790: Download complete 16:15:14 386e3cb2ff24: Verifying Checksum 16:15:14 386e3cb2ff24: Download complete 16:15:14 2343380bae48: Verifying Checksum 16:15:14 2343380bae48: Download complete 16:15:14 42c077c10790: Verifying Checksum 16:15:14 42c077c10790: Download complete 16:15:15 c8a8fc8e1c8f: Verifying Checksum 16:15:15 c8a8fc8e1c8f: Download complete 16:15:15 42c077c10790: Pull complete 16:15:15 f63e77b7563a: Pull complete 16:15:16 bd5fdadae976: Pull complete 16:15:16 205491f53016: Pull complete 16:15:17 df18705c85c3: Pull complete 16:15:17 bdb3f477010e: Pull complete 16:15:18 c8a8fc8e1c8f: Pull complete 16:15:18 2c6e9b1d212d: Pull complete 16:15:18 bdb8f0575790: Pull complete 16:15:18 386e3cb2ff24: Pull complete 16:15:19 2343380bae48: Pull complete 16:15:19 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:15:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:19 prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container 16:15:19 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:15:22 $ docker top 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 -eo pid,comm 16:15:22 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). 16:15:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:15:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:22 [ssh-agent] Looking for ssh-agent implementation... 16:15:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:22 $ docker exec 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent 16:15:22 SSH_AUTH_SOCK=/tmp/ssh-HAa5UzWbPxln/agent.33 16:15:22 SSH_AGENT_PID=39 16:15:22 Running ssh-add (command line suppressed) 16:15:22 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3344402577846775228.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3344402577846775228.key) 16:15:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:23 + git tag --points-at HEAD [Pipeline] } 16:15:23 $ docker exec --env ******** --env ******** 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent -k 16:15:23 unset SSH_AUTH_SOCK; 16:15:23 unset SSH_AGENT_PID; 16:15:23 echo Agent pid 39 killed; 16:15:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:15:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:23 [ssh-agent] Looking for ssh-agent implementation... 16:15:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:23 $ docker exec 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent 16:15:23 SSH_AUTH_SOCK=/tmp/ssh-PNjg9ReDazIO/agent.73 16:15:23 SSH_AGENT_PID=80 16:15:23 Running ssh-add (command line suppressed) 16:15:23 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6299878863728663194.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6299878863728663194.key) 16:15:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:23 + git semver init 16:15:24 2022-06-29 16:15:24,202 [run_init] DEBUG init version:0.0.0 force:False 16:15:24 2022-06-29 16:15:24,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 16:15:24 2022-06-29 16:15:24,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 16:15:24 2022-06-29 16:15:24,203 [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) 16:15:24 2022-06-29 16:15:24,776 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 16:15:24 2022-06-29 16:15:24,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 16:15:24 2022-06-29 16:15:24,777 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 16:15:24 2022-06-29 16:15:24,780 [execute] INFO git cat-file --batch-check 16:15:24 2022-06-29 16:15:24,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:15:24 2022-06-29 16:15:24,787 [execute] INFO git cat-file --batch 16:15:24 2022-06-29 16:15:24,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:15:24 2022-06-29 16:15:24,792 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 16:15:24 0.0.0 [Pipeline] } 16:15:24 $ docker exec --env ******** --env ******** 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 ssh-agent -k 16:15:24 unset SSH_AUTH_SOCK; 16:15:24 unset SSH_AGENT_PID; 16:15:24 echo Agent pid 80 killed; 16:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:15:25 + git semver [Pipeline] } 16:15:25 $ docker stop --time=1 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 16:15:26 $ docker rm -f 297be2ef6f40f20d7d51508c9c3141fae15c5fd12486de28055d85a64f5c73e5 [Pipeline] // withDockerContainer [Pipeline] sh 16:15:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:15:27 Stashed 1 file(s) [Pipeline] echo 16:15:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:27 provisioning config files... 16:15:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1414421154190315062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:27 ---> docker-login.sh 16:15:27 nexus3.edgexfoundry.org:10001 16:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:27 Configure a credential helper to remove this warning. See 16:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:27 16:15:27 Login Succeeded 16:15:27 nexus3.edgexfoundry.org:10002 16:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16363 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 16:15:28 Running in /w/workspace/device-usb-camera/21 [Pipeline] { [Pipeline] checkout 16:15:28 Selected Git installation does not exist. Using Default 16:15:28 The recommended git tool is: NONE 16:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:28 Configure a credential helper to remove this warning. See 16:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:28 16:15:28 Login Succeeded 16:15:28 nexus3.edgexfoundry.org:10003 16:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:28 Configure a credential helper to remove this warning. See 16:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:28 16:15:28 Login Succeeded 16:15:28 nexus3.edgexfoundry.org:10004 16:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:28 Configure a credential helper to remove this warning. See 16:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:28 16:15:28 Login Succeeded 16:15:28 docker.io 16:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:28 Configure a credential helper to remove this warning. See 16:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:28 16:15:28 Login Succeeded 16:15:28 ---> docker-login.sh ends [Pipeline] } 16:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:28 ========================================================= 16:15:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:15:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:15:29 Sending build context to Docker daemon 743.9kB 16:15:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:15:29 Step 2/12 : FROM ${BASE} AS builder 16:15:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:15:29 59bf1c3509f3: Pulling fs layer 16:15:29 666ba61612fd: Pulling fs layer 16:15:29 8ed8ca486205: Pulling fs layer 16:15:29 cc1cd167ecdc: Pulling fs layer 16:15:29 c516ae0d96e1: Pulling fs layer 16:15:29 684cea983483: Pulling fs layer 16:15:29 dd3240ac7de5: Pulling fs layer 16:15:29 c516ae0d96e1: Waiting 16:15:29 684cea983483: Waiting 16:15:29 cc1cd167ecdc: Waiting 16:15:29 b1e948a4e11c: Pulling fs layer 16:15:29 a8fd76ee1af6: Pulling fs layer 16:15:29 646ad004c059: Pulling fs layer 16:15:29 b1e948a4e11c: Waiting 16:15:29 a8fd76ee1af6: Waiting 16:15:29 646ad004c059: Waiting 16:15:29 8ed8ca486205: Verifying Checksum 16:15:29 8ed8ca486205: Download complete 16:15:29 666ba61612fd: Download complete 16:15:29 c516ae0d96e1: Download complete 16:15:29 684cea983483: Verifying Checksum 16:15:29 684cea983483: Download complete 16:15:29 dd3240ac7de5: Verifying Checksum 16:15:29 dd3240ac7de5: Download complete 16:15:29 59bf1c3509f3: Download complete 16:15:29 b1e948a4e11c: Verifying Checksum 16:15:29 b1e948a4e11c: Download complete 16:15:29 59bf1c3509f3: Pull complete 16:15:29 666ba61612fd: Pull complete 16:15:29 8ed8ca486205: Pull complete 16:15:29 646ad004c059: Verifying Checksum 16:15:29 646ad004c059: Download complete 16:15:29 cc1cd167ecdc: Verifying Checksum 16:15:29 cc1cd167ecdc: Download complete 16:15:29 a8fd76ee1af6: Verifying Checksum 16:15:29 a8fd76ee1af6: Download complete 16:15:33 using credential edgex-jenkins-ssh 16:15:33 Cloning the remote Git repository 16:15:33 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:15:33 > git init /w/workspace/device-usb-camera/21 # timeout=10 16:15:34 cc1cd167ecdc: Pull complete 16:15:34 c516ae0d96e1: Pull complete 16:15:34 684cea983483: Pull complete 16:15:34 dd3240ac7de5: Pull complete 16:15:34 b1e948a4e11c: Pull complete 16:15:33 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:15:33 > git --version # timeout=10 16:15:33 > git --version # 'git version 2.25.1' 16:15:33 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:15:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:15:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:15:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:15:34 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:15:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:34 > 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 16:15:34 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 1eaa599c90d6d5cca25362b8dc195a68261f6b30 16:15:34 Merge succeeded, producing 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe 16:15:34 Checking out Revision 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe (PR-30) 16:15:34 > git config core.sparsecheckout # timeout=10 16:15:34 > git checkout -f 1eaa599c90d6d5cca25362b8dc195a68261f6b30 # timeout=10 16:15:34 > git remote # timeout=10 16:15:34 > git config --get remote.origin.url # timeout=10 16:15:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:15:34 > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 16:15:34 > git rev-parse HEAD^{commit} # timeout=10 16:15:34 > git config core.sparsecheckout # timeout=10 16:15:34 > git checkout -f 3f5b0aa191ad86dc0754d833877fd9d78e6c11fe # timeout=10 16:15:35 a8fd76ee1af6: Pull complete 16:15:36 646ad004c059: Pull complete 16:15:36 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:15:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:15:36 ---> 8f69c11f6b0c 16:15:36 Step 3/12 : ARG MAKE="make build" 16:15:39 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" 16:15:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:39 > git rev-list --no-walk cb7b1c7487586312c5af94597c1d2f43d1996501 # timeout=10 16:15:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:15:40 % Total % Received % Xferd Average Speed Time Time Time Current 16:15:40 Dload Upload Total Spent Left Speed 16:15:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 181k 0 --:--:-- --:--:-- --:--:-- 184k 16:15:40 ---> Running in cf890030a819 16:15:40 Removing intermediate container cf890030a819 16:15:40 ---> 080cb61b4b34 16:15:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:15:40 ---> Running in c80e15ccd470 16:15:40 Removing intermediate container c80e15ccd470 16:15:40 ---> 62440d280130 16:15:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:15:40 ---> Running in 59790182bd75 16:15:40 Removing intermediate container 59790182bd75 16:15:40 ---> 87dd178d21e9 16:15:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:15:40 ---> Running in d5fd8354d589 [Pipeline] sh 16:15:40 Removing intermediate container d5fd8354d589 16:15:40 ---> f65229095d3b 16:15:40 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:15:40 ---> Running in 8618a4454a21 16:15:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:15:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:15:41 + sudo tee /etc/docker/daemon.new 16:15:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:15:41 { 16:15:41 "registry-mirrors": [ 16:15:41 "https://nexus3.edgexfoundry.org:10001" 16:15:41 ], 16:15:41 "bip": "10.250.0.254/24", 16:15:41 "hosts": [ 16:15:41 "tcp://0.0.0.0:5555", 16:15:41 "unix:///var/run/docker.sock" 16:15:41 ], 16:15:41 "mtu": 1458, 16:15:41 "selinux-enabled": true, 16:15:41 "seccomp-profile": "/etc/docker/seccomp.json" 16:15:41 } [Pipeline] sh 16:15:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:15:41 + sudo service docker restart 16:15:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:15:42 (1/81) Installing mesa (21.2.6-r0) 16:15:42 (2/81) Installing libxau (1.0.9-r0) 16:15:42 (3/81) Installing libmd (1.0.3-r0) 16:15:42 (4/81) Installing libbsd (0.11.3-r1) 16:15:42 (5/81) Installing libxdmcp (1.1.3-r0) 16:15:42 (6/81) Installing libxcb (1.14-r2) 16:15:43 (7/81) Installing libx11 (1.7.2-r0) 16:15:43 (8/81) Installing libxext (1.3.4-r0) 16:15:43 (9/81) Installing libxfixes (6.0.0-r0) 16:15:43 (10/81) Installing libxxf86vm (1.1.4-r2) 16:15:43 (11/81) Installing libpciaccess (0.16-r0) 16:15:43 (12/81) Installing libdrm (2.4.109-r0) 16:15:43 (13/81) Installing mesa-glapi (21.2.6-r0) 16:15:43 (14/81) Installing libxshmfence (1.3-r1) 16:15:43 (15/81) Installing mesa-gl (21.2.6-r0) 16:15:43 (16/81) Installing libice (1.0.10-r0) 16:15:44 (17/81) Installing libuuid (2.37.4-r0) 16:15:44 (18/81) Installing libsm (1.2.3-r0) 16:15:44 (19/81) Installing libxt (1.2.1-r0) 16:15:44 (20/81) Installing libxmu (1.1.3-r0) 16:15:44 (21/81) Installing xset (1.2.4-r0) 16:15:44 (22/81) Installing xprop (1.2.5-r0) 16:15:44 (23/81) Installing xdg-utils (1.1.3-r0) 16:15:44 (24/81) Installing dbus-libs (1.12.20-r4) 16:15:44 (25/81) Installing libffi (3.4.2-r1) 16:15:44 (26/81) Installing libintl (0.21-r0) 16:15:45 (27/81) Installing libblkid (2.37.4-r0) 16:15:45 (28/81) Installing libmount (2.37.4-r0) 16:15:45 (29/81) Installing pcre (8.45-r1) 16:15:45 (30/81) Installing glib (2.70.1-r0) 16:15:45 (31/81) Installing icu-libs (69.1-r1) 16:15:46 (32/81) Installing libpcre2-16 (10.40-r0) 16:15:46 (33/81) Installing zstd-libs (1.5.0-r0) 16:15:46 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 16:15:46 (35/81) Installing hicolor-icon-theme (0.17-r1) 16:15:47 (36/81) Installing wayland-libs-server (1.19.0-r1) 16:15:47 (37/81) Installing mesa-gbm (21.2.6-r0) 16:15:47 (38/81) Installing wayland-libs-client (1.19.0-r1) 16:15:47 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 16:15:47 (40/81) Installing libxcomposite (0.4.5-r0) 16:15:47 (41/81) Installing libbz2 (1.0.8-r1) 16:15:47 (42/81) Installing libpng (1.6.37-r1) 16:15:47 (43/81) Installing freetype (2.11.1-r2) 16:15:48 (44/81) Installing fontconfig (2.13.1-r4) 16:15:48 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 16:15:48 (46/81) Installing wayland-libs-egl (1.19.0-r1) 16:15:48 (47/81) Installing xkeyboard-config (2.34-r0) 16:15:48 (48/81) Installing xz-libs (5.2.5-r1) 16:15:48 (49/81) Installing libxml2 (2.9.14-r0) 16:15:48 (50/81) Installing libxkbcommon (1.3.1-r0) 16:15:48 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 16:15:48 (52/81) Installing mesa-egl (21.2.6-r0) 16:15:49 (53/81) Installing avahi-libs (0.8-r5) 16:15:49 (54/81) Installing nettle (3.7.3-r0) 16:15:49 (55/81) Installing p11-kit (0.24.0-r1) 16:15:49 (56/81) Installing libtasn1 (4.18.0-r0) 16:15:49 (57/81) Installing libunistring (0.9.10-r1) 16:15:49 (58/81) Installing gnutls (3.7.1-r0) 16:15:49 (59/81) Installing cups-libs (2.3.3-r6) 16:15:49 (60/81) Installing graphite2 (1.3.14-r0) 16:15:49 (61/81) Installing harfbuzz (3.0.0-r2) 16:15:49 (62/81) Installing libevdev (1.12.0-r0) 16:15:50 (63/81) Installing mtdev (1.1.6-r0) 16:15:50 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 16:15:50 (65/81) Installing libinput-libs (1.19.4-r0) 16:15:50 (66/81) Installing libjpeg-turbo (2.1.2-r0) 16:15:50 (67/81) Installing xcb-util-wm (0.4.1-r1) 16:15:50 (68/81) Installing xcb-util (0.4.0-r3) 16:15:50 (69/81) Installing xcb-util-image (0.4.0-r1) 16:15:51 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 16:15:51 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 16:15:51 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 16:15:51 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 16:15:51 (74/81) Installing v4l-utils-libs (1.22.1-r1) 16:15:51 (75/81) Installing v4l-utils (1.22.1-r1) 16:15:51 (76/81) Installing udev-init-scripts (35-r0) 16:15:52 Executing udev-init-scripts-35-r0.post-install 16:15:52 (77/81) Installing kmod-libs (29-r2) 16:15:52 (78/81) Installing eudev (3.2.11_pre1-r0) 16:15:52 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 16:15:52 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:15:52 (81/81) Installing v4l-utils-dev (1.22.1-r1) 16:15:52 Executing busybox-1.34.1-r3.trigger 16:15:52 Executing eudev-3.2.11_pre1-r0.trigger 16:15:52 OK: 335 MiB in 133 packages 16:15:55 Removing intermediate container 8618a4454a21 16:15:55 ---> 37ed44fc2233 16:15:55 Step 8/12 : WORKDIR /device-usb-camera 16:15:55 ---> Running in 4d3fe2ee2e32 16:15:55 Removing intermediate container 4d3fe2ee2e32 16:15:55 ---> 6ab769ca761f 16:15:55 Step 9/12 : COPY go.mod vendor* ./ 16:15:55 ---> 4af436bbe440 16:15:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:55 ---> Running in dbaa74ab3b4e [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:00 provisioning config files... 16:16:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/21@tmp/config6719475979862485772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:00 ---> docker-login.sh 16:16:00 nexus3.edgexfoundry.org:10001 16:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:01 Configure a credential helper to remove this warning. See 16:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:01 16:16:01 Login Succeeded 16:16:01 nexus3.edgexfoundry.org:10002 16:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 nexus3.edgexfoundry.org:10003 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 nexus3.edgexfoundry.org:10004 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:03 Configure a credential helper to remove this warning. See 16:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:03 16:16:03 Login Succeeded 16:16:03 docker.io 16:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:03 Configure a credential helper to remove this warning. See 16:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:03 16:16:03 Login Succeeded 16:16:03 ---> docker-login.sh ends [Pipeline] } 16:16:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:04 ========================================================= 16:16:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:16:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:04 + 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 . 16:16:04 Sending build context to Docker daemon 525.3kB 16:16:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:16:04 Step 2/12 : FROM ${BASE} AS builder 16:16:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:16:05 9b3977197b4f: Pulling fs layer 16:16:05 1a89e8eeedd5: Pulling fs layer 16:16:05 94645a83ff95: Pulling fs layer 16:16:05 e6fb740bc735: Pulling fs layer 16:16:05 3a77bd46dcc9: Pulling fs layer 16:16:05 355e64cbe906: Pulling fs layer 16:16:05 63ab81a10011: Pulling fs layer 16:16:05 555d1d1c4555: Pulling fs layer 16:16:05 7d9057610161: Pulling fs layer 16:16:05 355e64cbe906: Waiting 16:16:05 63ab81a10011: Waiting 16:16:05 555d1d1c4555: Waiting 16:16:05 7d9057610161: Waiting 16:16:05 e6fb740bc735: Waiting 16:16:05 3a77bd46dcc9: Waiting 16:16:05 94645a83ff95: Download complete 16:16:05 1a89e8eeedd5: Verifying Checksum 16:16:05 1a89e8eeedd5: Download complete 16:16:05 3a77bd46dcc9: Download complete 16:16:05 355e64cbe906: Verifying Checksum 16:16:05 355e64cbe906: Download complete 16:16:05 63ab81a10011: Verifying Checksum 16:16:05 63ab81a10011: Download complete 16:16:05 9b3977197b4f: Verifying Checksum 16:16:05 9b3977197b4f: Download complete 16:16:06 9b3977197b4f: Pull complete 16:16:06 7d9057610161: Verifying Checksum 16:16:06 7d9057610161: Download complete 16:16:06 1a89e8eeedd5: Pull complete 16:16:07 94645a83ff95: Pull complete 16:16:07 555d1d1c4555: Verifying Checksum 16:16:07 555d1d1c4555: Download complete 16:16:08 e6fb740bc735: Verifying Checksum 16:16:08 e6fb740bc735: Download complete 16:16:10 Removing intermediate container dbaa74ab3b4e 16:16:10 ---> 048b6378deda 16:16:10 Step 11/12 : COPY . . 16:16:10 ---> 8b5722ed16ca 16:16:10 Step 12/12 : RUN ${MAKE} 16:16:10 ---> Running in d128f630ced0 16:16:11 noop 16:16:11 Removing intermediate container d128f630ced0 16:16:11 ---> 351adec78b2d 16:16:11 Successfully built 351adec78b2d 16:16:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:12 + docker inspect -f . ci-base-image-x86_64 16:16:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:12 prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container 16:16:12 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:12 $ docker top f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:12 + go version 16:16:12 go version go1.17.7 linux/amd64 [Pipeline] } 16:16:13 $ docker stop --time=1 f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 16:16:14 $ docker rm -f f1fdaa6b75ccd37d810802756abe0e0a46791a47f4a9ddbe9e6f7fe9b67204e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:14 + docker inspect -f . ci-base-image-x86_64 16:16:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:14 prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container 16:16:14 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:15 $ docker top 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:16:15 + make test 16:16:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:16:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:16:20 e6fb740bc735: Pull complete 16:16:20 3a77bd46dcc9: Pull complete 16:16:21 355e64cbe906: Pull complete 16:16:21 63ab81a10011: Pull complete 16:16:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:16:25 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 16:16:28 555d1d1c4555: Pull complete 16:16:30 7d9057610161: Pull complete 16:16:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:16:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:16:30 ---> 819e984ddca1 16:16:30 Step 3/12 : ARG MAKE="make build" 16:16:32 ---> Running in d4b5ce388494 16:16:32 Removing intermediate container d4b5ce388494 16:16:32 ---> a0902f36ac05 16:16:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:16:32 ---> Running in 8182e9302218 16:16:32 CGO_ENABLED=1 go vet ./... 16:16:33 Removing intermediate container 8182e9302218 16:16:33 ---> 81313dc039d5 16:16:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:16:33 ---> Running in 44f80f004819 16:16:34 Removing intermediate container 44f80f004819 16:16:34 ---> efb5360aff6d 16:16:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:34 ---> Running in 852f58a1a614 16:16:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:16:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:16:35 ./bin/test-attribution-txt.sh [Pipeline] echo 16:16:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:16:35 $ docker stop --time=1 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 16:16:36 Removing intermediate container 852f58a1a614 16:16:36 ---> 8ec3eafd23c1 16:16:36 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:36 ---> Running in 324e1d19a839 16:16:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:16:37 $ docker rm -f 51480b5fd13a55b4af7dc1503797227287c04dcabfea105fc8ff9222bec29d23 [Pipeline] // withDockerContainer [Pipeline] sh 16:16:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:16:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:16:38 (1/14) Installing libintl (0.21-r0) 16:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:16:39 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 16:16:39 (3/14) Installing libjpeg-turbo (2.1.2-r0) 16:16:39 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:16:39 (5/14) Installing v4l-utils (1.22.1-r1) 16:16:39 + ls -al . 16:16:39 total 168 16:16:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:16 . 16:16:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 .. 16:16:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:15 .git 16:16:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 .github 16:16:39 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:15 .gitignore 16:16:39 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:15 .golangci.yml 16:16:39 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:15 .hadolint.yml 16:16:39 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:15 .semver 16:16:39 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:15 Attribution.txt 16:16:39 -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:15 CHANGELOG.md 16:16:39 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:15 Dockerfile 16:16:39 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:15 GOVERNANCE.md 16:16:39 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:15 Jenkinsfile 16:16:39 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:15 LICENSE 16:16:39 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:15 Makefile 16:16:39 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:15 OWNERS.md 16:16:39 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:15 README.md 16:16:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:15 VERSION 16:16:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 bin 16:16:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 cmd 16:16:39 -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:16 coverage.out 16:16:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 docker-compose 16:16:39 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:15 docker-entrypoint.sh 16:16:39 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:15 go.mod 16:16:39 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:15 go.sum 16:16:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 internal 16:16:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 snap 16:16:39 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:39 (6/14) Installing udev-init-scripts (35-r0) 16:16:39 Executing udev-init-scripts-35-r0.post-install 16:16:39 (7/14) Installing libblkid (2.37.4-r0) 16:16:39 + 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=f80fd41112f1d5377373d71e68e32fb2e3362fb6 --label arch=amd64 --label version=0.0.0 . 16:16:39 Sending build context to Docker daemon 745kB 16:16:39 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 16:16:39 Step 2/29 : FROM ${BASE} AS builder 16:16:39 ---> 351adec78b2d 16:16:39 Step 3/29 : ARG MAKE="make build" 16:16:39 (8/14) Installing xz-libs (5.2.5-r1) 16:16:39 (9/14) Installing zstd-libs (1.5.0-r0) 16:16:39 ---> Running in 2fac229e49de 16:16:39 Removing intermediate container 2fac229e49de 16:16:39 ---> 4d04c82c20d6 16:16:39 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:16:39 ---> Running in 596b620bc626 16:16:39 (10/14) Installing kmod-libs (29-r2) 16:16:39 (11/14) Installing eudev (3.2.11_pre1-r0) 16:16:39 Removing intermediate container 596b620bc626 16:16:39 ---> deaeba7dcbcc 16:16:39 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:16:39 ---> Running in 33cc6a3b12b9 16:16:40 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 16:16:40 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:16:40 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:16:40 Removing intermediate container 33cc6a3b12b9 16:16:40 ---> ae3ae2ef8181 16:16:40 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:16:40 ---> Running in 2a81d3aec362 16:16:40 Executing busybox-1.34.1-r3.trigger 16:16:40 Executing eudev-3.2.11_pre1-r0.trigger 16:16:40 OK: 228 MiB in 66 packages 16:16:40 Removing intermediate container 2a81d3aec362 16:16:40 ---> 59d89434bcfe 16:16:40 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:40 ---> Running in 9631ffdafa25 16:16:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:16:41 Removing intermediate container 324e1d19a839 16:16:41 ---> 8853985e012e 16:16:41 Step 8/12 : WORKDIR /device-usb-camera 16:16:41 ---> Running in 28e6370f4de9 16:16:42 Removing intermediate container 28e6370f4de9 16:16:42 ---> 7ade2aa4b247 16:16:42 Step 9/12 : COPY go.mod vendor* ./ 16:16:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:16:42 ---> c4f176eaceac 16:16:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:42 OK: 335 MiB in 133 packages 16:16:42 ---> Running in 8fcb99ae0ac7 16:16:42 Removing intermediate container 9631ffdafa25 16:16:42 ---> 7fad75b5cf9f 16:16:42 Step 8/29 : WORKDIR /device-usb-camera 16:16:42 ---> Running in db8aa8144da1 16:16:42 Removing intermediate container db8aa8144da1 16:16:42 ---> 8f48075860fc 16:16:42 Step 9/29 : COPY go.mod vendor* ./ 16:16:43 ---> 6238fa668739 16:16:43 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:43 ---> Running in a341b14694ab 16:16:44 Removing intermediate container a341b14694ab 16:16:44 ---> e98cc6599461 16:16:44 Step 11/29 : COPY . . 16:16:44 ---> c29f9ad94fbe 16:16:44 Step 12/29 : RUN ${MAKE} 16:16:44 ---> Running in 0edb400a7c6d 16:16:44 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 16:17:06 Removing intermediate container 0edb400a7c6d 16:17:06 ---> 370e3390ac12 16:17:06 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:17:06 v0.18.4: Pulling from aler9/rtsp-simple-server 16:17:06 af6660deedbd: Pulling fs layer 16:17:06 97cd0a44c592: Pulling fs layer 16:17:06 97cd0a44c592: Verifying Checksum 16:17:06 97cd0a44c592: Download complete 16:17:06 af6660deedbd: Verifying Checksum 16:17:06 af6660deedbd: Download complete 16:17:06 af6660deedbd: Pull complete 16:17:06 97cd0a44c592: Pull complete 16:17:06 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:17:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:17:06 ---> fea57e182299 16:17:06 Step 14/29 : FROM alpine:3.15 16:17:06 3.15: Pulling from library/alpine 16:17:06 df9b9388f04a: Pulling fs layer 16:17:06 df9b9388f04a: Download complete 16:17:06 df9b9388f04a: Pull complete 16:17:06 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:17:06 Status: Downloaded newer image for alpine:3.15 16:17:06 ---> 0ac33e5f5afa 16:17:06 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:17:06 ---> Running in 579d4074ac42 16:17:07 Removing intermediate container 579d4074ac42 16:17:07 ---> 178e6ac224d6 16:17:07 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:17:07 ---> Running in 5a411893c3c0 16:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:17:07 (1/74) Installing dumb-init (1.2.5-r1) 16:17:07 (2/74) Installing sdl2 (2.0.16-r4) 16:17:07 (3/74) Installing libxau (1.0.9-r0) 16:17:07 (4/74) Installing libmd (1.0.3-r0) 16:17:07 (5/74) Installing libbsd (0.11.3-r1) 16:17:07 (6/74) Installing libxdmcp (1.1.3-r0) 16:17:07 (7/74) Installing libxcb (1.14-r2) 16:17:07 (8/74) Installing libx11 (1.7.2-r0) 16:17:07 (9/74) Installing aom-libs (3.2.0-r0) 16:17:07 (10/74) Installing alsa-lib (1.2.5.1-r1) 16:17:07 (11/74) Installing expat (2.4.7-r0) 16:17:07 (12/74) Installing brotli-libs (1.0.9-r5) 16:17:07 (13/74) Installing libbz2 (1.0.8-r1) 16:17:07 (14/74) Installing libpng (1.6.37-r1) 16:17:07 (15/74) Installing freetype (2.11.1-r2) 16:17:07 (16/74) Installing libuuid (2.37.4-r0) 16:17:07 (17/74) Installing fontconfig (2.13.1-r4) 16:17:07 (18/74) Installing fribidi (1.0.11-r0) 16:17:07 (19/74) Installing libffi (3.4.2-r1) 16:17:07 (20/74) Installing libintl (0.21-r0) 16:17:07 (21/74) Installing libblkid (2.37.4-r0) 16:17:07 (22/74) Installing libmount (2.37.4-r0) 16:17:07 (23/74) Installing pcre (8.45-r1) 16:17:07 (24/74) Installing glib (2.70.1-r0) 16:17:07 (25/74) Installing graphite2 (1.3.14-r0) 16:17:07 (26/74) Installing harfbuzz (3.0.0-r2) 16:17:07 (27/74) Installing libass (0.15.2-r0) 16:17:07 (28/74) Installing libdav1d (0.9.2-r0) 16:17:07 (29/74) Installing gmp (6.2.1-r1) 16:17:07 (30/74) Installing nettle (3.7.3-r0) 16:17:07 (31/74) Installing p11-kit (0.24.0-r1) 16:17:07 (32/74) Installing libtasn1 (4.18.0-r0) 16:17:07 (33/74) Installing libunistring (0.9.10-r1) 16:17:07 (34/74) Installing gnutls (3.7.1-r0) 16:17:07 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 16:17:07 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 16:17:07 (37/74) Installing lame (3.100-r0) 16:17:07 (38/74) Installing opus (1.3.1-r1) 16:17:07 (39/74) Installing libgomp (10.3.1_git20211027-r0) 16:17:07 (40/74) Installing soxr (0.1.3-r2) 16:17:07 (41/74) Installing libgcc (10.3.1_git20211027-r0) 16:17:07 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 16:17:07 (43/74) Installing libsrt (1.4.2-r1) 16:17:07 (44/74) Installing libssh (0.9.6-r1) 16:17:08 (45/74) Installing libogg (1.3.5-r0) 16:17:08 (46/74) Installing libtheora (1.1.1-r16) 16:17:08 (47/74) Installing libjpeg-turbo (2.1.2-r0) 16:17:08 (48/74) Installing v4l-utils-libs (1.22.1-r1) 16:17:08 (49/74) Installing libxext (1.3.4-r0) 16:17:08 (50/74) Installing libxfixes (6.0.0-r0) 16:17:08 (51/74) Installing libpciaccess (0.16-r0) 16:17:08 (52/74) Installing libdrm (2.4.109-r0) 16:17:08 (53/74) Installing wayland-libs-client (1.19.0-r1) 16:17:08 (54/74) Installing libva (2.13.0-r0) 16:17:08 (55/74) Installing libvdpau (1.4-r0) 16:17:08 (56/74) Installing vidstab (1.1.0-r1) 16:17:08 (57/74) Installing libvorbis (1.3.7-r0) 16:17:08 (58/74) Installing libvpx (1.10.0-r0) 16:17:08 (59/74) Installing vulkan-loader (1.2.196-r0) 16:17:08 (60/74) Installing libwebp (1.2.2-r0) 16:17:08 (61/74) Installing x264-libs (20210613-r0) 16:17:08 (62/74) Installing x265-libs (3.5-r0) 16:17:08 (63/74) Installing xvidcore (1.3.7-r1) 16:17:08 (64/74) Installing ffmpeg-libs (4.4.1-r2) 16:17:08 (65/74) Installing ffmpeg (4.4.1-r2) 16:17:08 (66/74) Installing udev-init-scripts (35-r0) 16:17:08 Executing udev-init-scripts-35-r0.post-install 16:17:08 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 16:17:08 (68/74) Installing xz-libs (5.2.5-r1) 16:17:08 (69/74) Installing zstd-libs (1.5.0-r0) 16:17:08 (70/74) Installing kmod-libs (29-r2) 16:17:08 (71/74) Installing eudev (3.2.11_pre1-r0) 16:17:08 (72/74) Installing libsodium (1.0.18-r0) 16:17:08 (73/74) Installing libzmq (4.3.4-r0) 16:17:08 (74/74) Installing zeromq (4.3.4-r0) 16:17:08 Executing busybox-1.34.1-r5.trigger 16:17:08 Executing eudev-3.2.11_pre1-r0.trigger 16:17:08 OK: 78 MiB in 88 packages 16:17:10 Removing intermediate container 5a411893c3c0 16:17:10 ---> 4ff02cc17605 16:17:10 Step 17/29 : WORKDIR / 16:17:10 ---> Running in 97a30d3a96b2 16:17:10 Removing intermediate container 97a30d3a96b2 16:17:10 ---> c94ff885afc2 16:17:10 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 16:17:11 ---> c971dee2551a 16:17:11 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 16:17:11 ---> 03d2c2a1d12b 16:17:11 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:17:11 ---> cfef0a89251d 16:17:11 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:17:11 ---> f8da4991e8e9 16:17:11 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 16:17:11 ---> 93db787f9a88 16:17:11 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 16:17:12 ---> 8bff39719723 16:17:12 Step 24/29 : EXPOSE 59983 16:17:12 ---> Running in ed8aa4fda54e 16:17:12 Removing intermediate container ed8aa4fda54e 16:17:12 ---> 8f4635d80a9c 16:17:12 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:17:12 ---> Running in c51d609e0f19 16:17:12 Removing intermediate container c51d609e0f19 16:17:12 ---> e1431b75f8c8 16:17:12 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:17:12 ---> Running in 50ecd20192a7 16:17:12 Removing intermediate container 50ecd20192a7 16:17:12 ---> 015e8137c32f 16:17:12 Step 27/29 : LABEL arch=amd64 16:17:12 ---> Running in 0bb370114960 16:17:12 Removing intermediate container 0bb370114960 16:17:12 ---> 6587beb10a23 16:17:12 Step 28/29 : LABEL git_sha=f80fd41112f1d5377373d71e68e32fb2e3362fb6 16:17:12 ---> Running in 97a21aff41d1 16:17:12 Removing intermediate container 97a21aff41d1 16:17:12 ---> 812c71e07fd9 16:17:12 Step 29/29 : LABEL version=0.0.0 16:17:12 ---> Running in 09efe908af24 16:17:13 Removing intermediate container 09efe908af24 16:17:13 ---> 99d4509be811 16:17:13 [Warning] One or more build-args [ARCH] were not consumed 16:17:13 Successfully built 99d4509be811 16:17:13 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 16:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:13 16:17:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:13 latest: Pulling from edgex-lftools-log-publisher 16:17:13 5eb5b503b376: Pulling fs layer 16:17:13 5c69ac0246d0: Pulling fs layer 16:17:13 ec43610c2a17: Pulling fs layer 16:17:13 3a2ae6a8a46f: Pulling fs layer 16:17:13 33b1e0a273af: Pulling fs layer 16:17:13 5d3b04190fa2: Pulling fs layer 16:17:13 2f39f015ded8: Pulling fs layer 16:17:13 5d3b04190fa2: Waiting 16:17:13 3a2ae6a8a46f: Waiting 16:17:13 33b1e0a273af: Waiting 16:17:13 5c69ac0246d0: Verifying Checksum 16:17:13 5c69ac0246d0: Download complete 16:17:13 3a2ae6a8a46f: Download complete 16:17:13 33b1e0a273af: Verifying Checksum 16:17:13 33b1e0a273af: Download complete 16:17:13 ec43610c2a17: Verifying Checksum 16:17:13 ec43610c2a17: Download complete 16:17:13 5d3b04190fa2: Verifying Checksum 16:17:13 5d3b04190fa2: Download complete 16:17:14 5eb5b503b376: Verifying Checksum 16:17:14 5eb5b503b376: Download complete 16:17:14 2f39f015ded8: Download complete 16:17:15 5eb5b503b376: Pull complete 16:17:15 5c69ac0246d0: Pull complete 16:17:15 ec43610c2a17: Pull complete 16:17:15 3a2ae6a8a46f: Pull complete 16:17:16 33b1e0a273af: Pull complete 16:17:16 5d3b04190fa2: Pull complete 16:17:20 2f39f015ded8: Pull complete 16:17:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:20 prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container 16:17:20 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:17:22 $ docker top 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:23 ---> job-cost.sh 16:17:23 lf-activate-venv: SKIPPING 16:17:23 INFO: No Stack... 16:17:23 INFO: Retrieving Pricing Info for: v3-standard-8 16:17:23 INFO: Archiving Costs [Pipeline] sh 16:17:24 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 16:17:24 + cut -d, -f6 [Pipeline] lock 16:17:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] 16:17:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] did not exist. Created. 16:17:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:17:24 + echo total: 0.2199999988079071 [Pipeline] stash 16:17:24 Stashed 1 file(s) [Pipeline] } 16:17:24 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] // lock [Pipeline] } 16:17:24 $ docker stop --time=1 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 16:17:25 $ docker rm -f 4fd3313511c57169f4be687206c0abbb529577e40a21321e7310e63fa5a514b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:17:29 Removing intermediate container 8fcb99ae0ac7 16:17:29 ---> f9d1142440a6 16:17:29 Step 11/12 : COPY . . 16:17:29 ---> 36852c3407bd 16:17:29 Step 12/12 : RUN ${MAKE} 16:17:29 ---> Running in 3af82bc72903 16:17:30 noop 16:17:30 Removing intermediate container 3af82bc72903 16:17:30 ---> 6cd5ba85cd05 16:17:31 Successfully built 6cd5ba85cd05 16:17:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:31 + docker inspect -f . ci-base-image-arm64 16:17:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:31 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 16:17:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@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 16:17:33 $ docker top 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:34 + go version 16:17:34 go version go1.17.7 linux/arm64 [Pipeline] } 16:17:34 $ docker stop --time=1 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b 16:17:35 $ docker rm -f 304f3cdf77c15b6218ea69fe4e915b9459e0885149dadb88a3203d6ab591009b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:36 + docker inspect -f . ci-base-image-arm64 16:17:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:36 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 16:17:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@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 16:17:37 $ docker top 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:17:38 + make test 16:17:38 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:17:40 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:19:02 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:19:02 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 16:19:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:19:03 CGO_ENABLED=1 go vet ./... 16:19:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:19:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:19:35 ./bin/test-attribution-txt.sh [Pipeline] echo 16:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:19:35 $ docker stop --time=1 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b 16:19:37 $ docker rm -f 671e7a6264cd364ce358401a5837ead43c5e4e9f0d1a7692db3cb893f00aaf0b [Pipeline] // withDockerContainer [Pipeline] sh 16:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:19:38 Warning: overwriting stash ‘coverage-report’ 16:19:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:19:39 + ls -al . 16:19:39 total 164 16:19:39 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:19 . 16:19:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 .. 16:19:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:15 .git 16:19:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 .github 16:19:39 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:15 .gitignore 16:19:39 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:15 .golangci.yml 16:19:39 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:15 .hadolint.yml 16:19:39 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:15 Attribution.txt 16:19:39 -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:15 CHANGELOG.md 16:19:39 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:15 Dockerfile 16:19:39 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:15 GOVERNANCE.md 16:19:39 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:15 Jenkinsfile 16:19:39 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:15 LICENSE 16:19:39 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:15 Makefile 16:19:39 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:15 OWNERS.md 16:19:39 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:15 README.md 16:19:39 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:15 VERSION 16:19:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 bin 16:19:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 cmd 16:19:39 -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:17 coverage.out 16:19:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:15 docker-compose 16:19:39 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:15 docker-entrypoint.sh 16:19:39 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:15 go.mod 16:19:39 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:15 go.sum 16:19:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:15 internal 16:19:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:15 snap 16:19:39 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:40 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3f5b0aa191ad86dc0754d833877fd9d78e6c11fe --label arch=arm64 --label version=0.0.0 . 16:19:40 Sending build context to Docker daemon 526.3kB 16:19:40 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 16:19:40 Step 2/29 : FROM ${BASE} AS builder 16:19:40 ---> 6cd5ba85cd05 16:19:40 Step 3/29 : ARG MAKE="make build" 16:19:40 ---> Running in cf0d0a4da519 16:19:41 Removing intermediate container cf0d0a4da519 16:19:41 ---> 1c98ba78c24b 16:19:41 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:19:41 ---> Running in 84c9b1febe82 16:19:41 Removing intermediate container 84c9b1febe82 16:19:41 ---> b6a236830f6b 16:19:41 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:19:41 ---> Running in aae33db8ec31 16:19:41 Removing intermediate container aae33db8ec31 16:19:41 ---> 90bceaf5516a 16:19:41 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:19:41 ---> Running in 5c2f6d098c8a 16:19:43 Removing intermediate container 5c2f6d098c8a 16:19:43 ---> 26ff5ba5c80f 16:19:43 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:19:43 ---> Running in 2798a3ebeed6 16:19:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:19:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:19:46 OK: 228 MiB in 66 packages 16:19:47 Removing intermediate container 2798a3ebeed6 16:19:47 ---> 4c9c81474c75 16:19:47 Step 8/29 : WORKDIR /device-usb-camera 16:19:47 ---> Running in 29db4f5364df 16:19:47 Removing intermediate container 29db4f5364df 16:19:47 ---> c1532ef67da0 16:19:47 Step 9/29 : COPY go.mod vendor* ./ 16:19:48 ---> 6bac3ebf6bc2 16:19:48 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:48 ---> Running in 2c68d6317cf9 16:19:50 Removing intermediate container 2c68d6317cf9 16:19:50 ---> d73b86126653 16:19:50 Step 11/29 : COPY . . 16:19:51 ---> 1d2657e86c0a 16:19:51 Step 12/29 : RUN ${MAKE} 16:19:51 ---> Running in 859acc64d028 16:19:52 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 16:21:59 Removing intermediate container 859acc64d028 16:21:59 ---> 0a7b14f48018 16:21:59 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:21:59 v0.18.4: Pulling from aler9/rtsp-simple-server 16:21:59 eab2503cf8f4: Pulling fs layer 16:21:59 97cd0a44c592: Pulling fs layer 16:21:59 97cd0a44c592: Download complete 16:21:59 eab2503cf8f4: Verifying Checksum 16:21:59 eab2503cf8f4: Download complete 16:21:59 eab2503cf8f4: Pull complete 16:21:59 97cd0a44c592: Pull complete 16:21:59 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:21:59 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:21:59 ---> 7f763cca56b3 16:21:59 Step 14/29 : FROM alpine:3.15 16:22:00 3.15: Pulling from library/alpine 16:22:00 9981e73032c8: Pulling fs layer 16:22:00 9981e73032c8: Verifying Checksum 16:22:00 9981e73032c8: Download complete 16:22:01 9981e73032c8: Pull complete 16:22:01 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:22:01 Status: Downloaded newer image for alpine:3.15 16:22:01 ---> 3fb3c9af89a9 16:22:01 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:22:01 ---> Running in a34701dc5b12 16:22:01 Removing intermediate container a34701dc5b12 16:22:01 ---> 22117a355572 16:22:01 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:22:01 ---> Running in ed5364784d59 16:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:22:03 (1/73) Installing dumb-init (1.2.5-r1) 16:22:03 (2/73) Installing sdl2 (2.0.16-r4) 16:22:03 (3/73) Installing libxau (1.0.9-r0) 16:22:04 (4/73) Installing libmd (1.0.3-r0) 16:22:04 (5/73) Installing libbsd (0.11.3-r1) 16:22:04 (6/73) Installing libxdmcp (1.1.3-r0) 16:22:04 (7/73) Installing libxcb (1.14-r2) 16:22:04 (8/73) Installing libx11 (1.7.2-r0) 16:22:04 (9/73) Installing aom-libs (3.2.0-r0) 16:22:04 (10/73) Installing alsa-lib (1.2.5.1-r1) 16:22:04 (11/73) Installing expat (2.4.7-r0) 16:22:04 (12/73) Installing brotli-libs (1.0.9-r5) 16:22:04 (13/73) Installing libbz2 (1.0.8-r1) 16:22:04 (14/73) Installing libpng (1.6.37-r1) 16:22:04 (15/73) Installing freetype (2.11.1-r2) 16:22:04 (16/73) Installing libuuid (2.37.4-r0) 16:22:04 (17/73) Installing fontconfig (2.13.1-r4) 16:22:04 (18/73) Installing fribidi (1.0.11-r0) 16:22:04 (19/73) Installing libffi (3.4.2-r1) 16:22:04 (20/73) Installing libintl (0.21-r0) 16:22:04 (21/73) Installing libblkid (2.37.4-r0) 16:22:04 (22/73) Installing libmount (2.37.4-r0) 16:22:04 (23/73) Installing pcre (8.45-r1) 16:22:04 (24/73) Installing glib (2.70.1-r0) 16:22:04 (25/73) Installing graphite2 (1.3.14-r0) 16:22:04 (26/73) Installing harfbuzz (3.0.0-r2) 16:22:04 (27/73) Installing libass (0.15.2-r0) 16:22:04 (28/73) Installing libdav1d (0.9.2-r0) 16:22:04 (29/73) Installing gmp (6.2.1-r1) 16:22:04 (30/73) Installing nettle (3.7.3-r0) 16:22:04 (31/73) Installing p11-kit (0.24.0-r1) 16:22:04 (32/73) Installing libtasn1 (4.18.0-r0) 16:22:04 (33/73) Installing libunistring (0.9.10-r1) 16:22:04 (34/73) Installing gnutls (3.7.1-r0) 16:22:04 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 16:22:04 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 16:22:04 (37/73) Installing lame (3.100-r0) 16:22:05 (38/73) Installing opus (1.3.1-r1) 16:22:05 (39/73) Installing libgomp (10.3.1_git20211027-r0) 16:22:05 (40/73) Installing soxr (0.1.3-r2) 16:22:05 (41/73) Installing libgcc (10.3.1_git20211027-r0) 16:22:05 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 16:22:05 (43/73) Installing libsrt (1.4.2-r1) 16:22:05 (44/73) Installing libssh (0.9.6-r1) 16:22:05 (45/73) Installing libogg (1.3.5-r0) 16:22:05 (46/73) Installing libtheora (1.1.1-r16) 16:22:05 (47/73) Installing libjpeg-turbo (2.1.2-r0) 16:22:05 (48/73) Installing v4l-utils-libs (1.22.1-r1) 16:22:05 (49/73) Installing libxext (1.3.4-r0) 16:22:05 (50/73) Installing libxfixes (6.0.0-r0) 16:22:05 (51/73) Installing libdrm (2.4.109-r0) 16:22:05 (52/73) Installing wayland-libs-client (1.19.0-r1) 16:22:05 (53/73) Installing libva (2.13.0-r0) 16:22:05 (54/73) Installing libvdpau (1.4-r0) 16:22:05 (55/73) Installing vidstab (1.1.0-r1) 16:22:05 (56/73) Installing libvorbis (1.3.7-r0) 16:22:05 (57/73) Installing libvpx (1.10.0-r0) 16:22:05 (58/73) Installing vulkan-loader (1.2.196-r0) 16:22:05 (59/73) Installing libwebp (1.2.2-r0) 16:22:05 (60/73) Installing x264-libs (20210613-r0) 16:22:05 (61/73) Installing x265-libs (3.5-r0) 16:22:05 (62/73) Installing xvidcore (1.3.7-r1) 16:22:05 (63/73) Installing ffmpeg-libs (4.4.1-r2) 16:22:06 (64/73) Installing ffmpeg (4.4.1-r2) 16:22:06 (65/73) Installing udev-init-scripts (35-r0) 16:22:06 Executing udev-init-scripts-35-r0.post-install 16:22:06 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 16:22:06 (67/73) Installing xz-libs (5.2.5-r1) 16:22:06 (68/73) Installing zstd-libs (1.5.0-r0) 16:22:06 (69/73) Installing kmod-libs (29-r2) 16:22:06 (70/73) Installing eudev (3.2.11_pre1-r0) 16:22:06 (71/73) Installing libsodium (1.0.18-r0) 16:22:06 (72/73) Installing libzmq (4.3.4-r0) 16:22:06 (73/73) Installing zeromq (4.3.4-r0) 16:22:06 Executing busybox-1.34.1-r5.trigger 16:22:06 Executing eudev-3.2.11_pre1-r0.trigger 16:22:06 OK: 67 MiB in 87 packages 16:22:08 Removing intermediate container ed5364784d59 16:22:08 ---> 2c413d04bccf 16:22:08 Step 17/29 : WORKDIR / 16:22:09 ---> Running in ba9a899a80a9 16:22:09 Removing intermediate container ba9a899a80a9 16:22:09 ---> a327a53cf9e4 16:22:09 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 16:22:10 ---> 9e837ba58c96 16:22:10 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 16:22:11 ---> fbf27da3f8d4 16:22:11 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:22:12 ---> 08839c751917 16:22:12 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:22:12 ---> 3e07561a3a81 16:22:12 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 16:22:13 ---> ac383cf360e6 16:22:13 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 16:22:14 ---> e219537ef69c 16:22:14 Step 24/29 : EXPOSE 59983 16:22:14 ---> Running in c9d6ccec3f8f 16:22:14 Removing intermediate container c9d6ccec3f8f 16:22:14 ---> 5f8ee81ec9cf 16:22:14 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:22:14 ---> Running in c32dc67c5c28 16:22:15 Removing intermediate container c32dc67c5c28 16:22:15 ---> d1845bb69bae 16:22:15 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:22:15 ---> Running in cc0020694b79 16:22:15 Removing intermediate container cc0020694b79 16:22:15 ---> e2f3314c9a57 16:22:15 Step 27/29 : LABEL arch=arm64 16:22:15 ---> Running in e0098dd1ae51 16:22:15 Removing intermediate container e0098dd1ae51 16:22:15 ---> 75f6b9e93ac9 16:22:15 Step 28/29 : LABEL git_sha=3f5b0aa191ad86dc0754d833877fd9d78e6c11fe 16:22:15 ---> Running in 266961de9cdf 16:22:16 Removing intermediate container 266961de9cdf 16:22:16 ---> 4d3720973028 16:22:16 Step 29/29 : LABEL version=0.0.0 16:22:16 ---> Running in 2c9191188aff 16:22:16 Removing intermediate container 2c9191188aff 16:22:16 ---> 9a844be3efb2 16:22:16 [Warning] One or more build-args [ARCH] were not consumed 16:22:16 Successfully built 9a844be3efb2 16:22:16 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 16:22:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:17 16:22:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:17 arm64: Pulling from edgex-lftools-log-publisher 16:22:17 8998bd30e6a1: Pulling fs layer 16:22:17 04944245beec: Pulling fs layer 16:22:17 699f458cf7ca: Pulling fs layer 16:22:17 765212b225bb: Pulling fs layer 16:22:17 f23df028b6ca: Pulling fs layer 16:22:17 d65c8cfc05b1: Pulling fs layer 16:22:17 2437ff75d9bd: Pulling fs layer 16:22:17 f23df028b6ca: Waiting 16:22:17 d65c8cfc05b1: Waiting 16:22:17 2437ff75d9bd: Waiting 16:22:17 765212b225bb: Waiting 16:22:17 04944245beec: Verifying Checksum 16:22:17 04944245beec: Download complete 16:22:17 765212b225bb: Verifying Checksum 16:22:17 765212b225bb: Download complete 16:22:17 f23df028b6ca: Verifying Checksum 16:22:17 f23df028b6ca: Download complete 16:22:17 d65c8cfc05b1: Verifying Checksum 16:22:17 d65c8cfc05b1: Download complete 16:22:18 699f458cf7ca: Verifying Checksum 16:22:18 699f458cf7ca: Download complete 16:22:18 8998bd30e6a1: Verifying Checksum 16:22:18 8998bd30e6a1: Download complete 16:22:20 2437ff75d9bd: Verifying Checksum 16:22:20 2437ff75d9bd: Download complete 16:22:22 8998bd30e6a1: Pull complete 16:22:23 04944245beec: Pull complete 16:22:24 699f458cf7ca: Pull complete 16:22:24 765212b225bb: Pull complete 16:22:25 f23df028b6ca: Pull complete 16:22:26 d65c8cfc05b1: Pull complete 16:22:41 2437ff75d9bd: Pull complete 16:22:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:41 prd-ubuntu20.04-docker-arm64-4c-16g-16363 does not seem to be running inside a container 16:22:41 $ 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/21 -v /w/workspace/device-usb-camera/21:/w/workspace/device-usb-camera/21:rw,z -v /w/workspace/device-usb-camera/21@tmp:/w/workspace/device-usb-camera/21@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 16:22:44 $ docker top 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:45 ---> job-cost.sh 16:22:45 lf-activate-venv: SKIPPING 16:22:45 INFO: No Stack... 16:22:45 INFO: Retrieving Pricing Info for: v3-standard-4 16:22:46 INFO: Archiving Costs [Pipeline] sh 16:22:47 + cut -d, -f6 16:22:47 + cat /w/workspace/device-usb-camera/21/archives/cost.csv [Pipeline] lock 16:22:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] 16:22:47 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] did not exist. Created. 16:22:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:47 /w/workspace/device-usb-camera/21@tmp/durable-41c15256/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:22:48 + echo total: 0.10999999940395355 [Pipeline] stash 16:22:48 Warning: overwriting stash ‘stack-cost’ 16:22:48 Stashed 1 file(s) [Pipeline] } 16:22:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-21-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:48 $ docker stop --time=1 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e 16:22:50 $ docker rm -f 3fe6520fec8a588e0566d92261b92a4f32bcef6b0b2a1081ab66b7b93748790e [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 16:22:50 provisioning config files... 16:22:50 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1586726557538124788tmp [Pipeline] { [Pipeline] sh 16:22:50 + set +x 16:22:50 + curl -s https://codecov.io/bash 16:22:50 + bash -s -- 16:22:50 16:22:50 _____ _ 16:22:50 / ____| | | 16:22:50 | | ___ __| | ___ ___ _____ __ 16:22:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:22:50 | |___| (_) | (_| | __/ (_| (_) \ V / 16:22:50 \_____\___/ \__,_|\___|\___\___/ \_/ 16:22:50 Bash-1.0.6 16:22:50 16:22:50 16:22:50 ==> git version 2.25.1 found 16:22:50 ==> 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 16:22:50 Release-Date: 2020-01-08 16:22:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:22:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:22:50 ==> Jenkins CI detected. 16:22:50 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 16:22:50 project root: . 16:22:50 --> token set from env 16:22:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:22:50 ==> Running gcov in . (disable via -X gcov) 16:22:50 ==> Python coveragepy not found 16:22:50 ==> Searching for coverage reports in: 16:22:50 + . 16:22:50 -> Found 1 reports 16:22:50 ==> Detecting git/mercurial file structure 16:22:50 ==> Reading reports 16:22:50 + ./coverage.out bytes=10 16:22:50 ==> Appending adjustments 16:22:50 https://docs.codecov.io/docs/fixing-reports 16:22:50 + Found adjustments 16:22:50 ==> Gzipping contents 16:22:51 4.0K /tmp/codecov.NfqGL0.gz 16:22:51 ==> Uploading reports 16:22:51 url: https://codecov.io 16:22:51 query: branch=PR-30&commit=f80fd41112f1d5377373d71e68e32fb2e3362fb6&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 16:22:51 -> Pinging Codecov 16:22:51 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=f80fd41112f1d5377373d71e68e32fb2e3362fb6&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 16:22:51 -> Uploading to 16:22:51 https://storage.googleapis.com/codecov/v4/raw/2022-06-29/73D8F5FF140700D3E01443B452E23636/f80fd41112f1d5377373d71e68e32fb2e3362fb6/b3b3e7dd-b255-45cb-89bd-cc36caef229c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T162251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7693a1f691498482ace48667ffbaf012371dea0cb3dcf4a3543cd332399f5236 16:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 16:22:51 Dload Upload Total Spent Left Speed 16:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1215 0 0 100 1215 0 5282 --:--:-- --:--:-- --:--:-- 5282 16:22:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f80fd41112f1d5377373d71e68e32fb2e3362fb6 [Pipeline] } 16:22:51 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 16:22:52 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 16:22:52 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:22:52 total 16 16:22:52 drwxr-xr-x 3 root root 4096 Jun 29 16:17 . 16:22:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:17 .. 16:22:52 drwxr-xr-x 2 root root 4096 Jun 29 16:17 cost 16:22:52 -rw-r--r-- 1 root root 88 Jun 29 16:17 cost.csv 16:22:52 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:22:52 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:22:52 total 16 16:22:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:17 . 16:22:52 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:17 .. 16:22:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:17 cost 16:22:52 -rw-r--r-- 1 jenkins jenkins 88 Jun 29 16:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:22:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:22:53 ---> package-listing.sh 16:22:53 ++ tr '[:upper:]' '[:lower:]' 16:22:53 ++ facter osfamily 16:22:53 + OS_FAMILY=debian 16:22:53 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 16:22:53 + START_PACKAGES=/tmp/packages_start.txt 16:22:53 + END_PACKAGES=/tmp/packages_end.txt 16:22:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:22:53 + PACKAGES=/tmp/packages_start.txt 16:22:53 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 16:22:53 + PACKAGES=/tmp/packages_end.txt 16:22:53 + case "${OS_FAMILY}" in 16:22:53 + dpkg -l 16:22:53 + grep '^ii' 16:22:53 + '[' -f /tmp/packages_start.txt ']' 16:22:53 + '[' -f /tmp/packages_end.txt ']' 16:22:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:22:53 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 16:22:53 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 16:22:53 + 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 16:22:53 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 16:22:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:54 prd-ubuntu20.04-docker-8c-8g-16362 does not seem to be running inside a container 16:22:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:54 $ docker top ddcef4261ea83758da489464dc5683afc2b89102c5a435ac4152eb2eeed4d357 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:55 + touch /tmp/pre-build-complete [Pipeline] sh 16:22:55 + mkdir -p /var/log/sysstat [Pipeline] sh 16:22:55 + ls /var/log/sa-host 16:22:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:55 provisioning config files... 16:22:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config16537630043712077tmp [Pipeline] { [Pipeline] echo 16:22:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:56 ---> create-netrc.sh [Pipeline] } 16:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:56 ---> python-tools-install.sh [Pipeline] echo 16:22:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:56 ---> sudo-logs.sh 16:22:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:22:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:57 ---> job-cost.sh 16:22:57 lf-activate-venv: SKIPPING 16:22:57 DEBUG: total: 0.2199999988079071 16:22:57 INFO: Retrieving Stack Cost... 16:22:57 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:57 INFO: Archiving Costs [Pipeline] echo 16:22:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:58 ---> logs-deploy.sh 16:22:58 lf-activate-venv: SKIPPING 16:22:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/21 16:22:58 INFO: archiving workspace using pattern(s): 16:22:59 Archives upload complete. 16:22:59 INFO: archiving logs to Nexus