Pull request #46 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from cae8e621083234c929d5bafb71b56f7beaab82af+0d2f133a70ca139fe5a25e6e35809f1e9812dab5 (e069ff5fb4a7ec31ce488cbc01c3fe6ecc3d5ac4) 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-ssh17863852745819466131.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-ssh12046855920790005273.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10978292041321520613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1854886428354856989.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh4908927461381405507.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-46/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-46/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9198586595199897223.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15518 in /w/workspace/xfoundry_device-usb-camera_PR-46 [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-46 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit cae8e621083234c929d5bafb71b56f7beaab82af Merge succeeded, producing 63f35f4a9f91952d983980ac8768266996e2b8d1 Checking out Revision 63f35f4a9f91952d983980ac8768266996e2b8d1 (PR-46) > git config core.sparsecheckout # timeout=10 > git checkout -f cae8e621083234c929d5bafb71b56f7beaab82af # 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 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63f35f4a9f91952d983980ac8768266996e2b8d1 # timeout=10 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:57:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:57:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:57:03 ========================================================= 06:57:03 EdgeX Global Pipelines Version Info 06:57:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:57:04 ------------------- 06:57:04 stable info: 06:57:04 ------------------- 06:57:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:57:04 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:57:04 Message: update stable to v1.0.234 06:57:05 ------------------- 06:57:05 experimental info: 06:57:05 ------------------- 06:57:05 Commited By: **** collab-it+edgex@linuxfoundation.org 06:57:05 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:57:05 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:57:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63f35f4a9f91952d983980ac8768266996e2b8d1 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63f35f4 [Pipeline] echo 06:57:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:57:06 provisioning config files... 06:57:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/config2195984409026464021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:07 ---> docker-login.sh 06:57:07 nexus3.edgexfoundry.org:10001 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 nexus3.edgexfoundry.org:10002 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 nexus3.edgexfoundry.org:10003 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 nexus3.edgexfoundry.org:10004 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:07 Configure a credential helper to remove this warning. See 06:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:07 06:57:07 Login Succeeded 06:57:07 docker.io 06:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:08 Configure a credential helper to remove this warning. See 06:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:08 06:57:08 Login Succeeded 06:57:08 ---> docker-login.sh ends [Pipeline] } 06:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:57:09 + git rev-list -1 --merges 63f35f4a9f91952d983980ac8768266996e2b8d1~1..63f35f4a9f91952d983980ac8768266996e2b8d1 [Pipeline] echo 06:57:09 -----------> git rev-list -1 --merges 63f35f4a9f91952d983980ac8768266996e2b8d1~1..63f35f4a9f91952d983980ac8768266996e2b8d1 63f35f4a9f91952d983980ac8768266996e2b8d1 06:57:09 63f35f4a9f91952d983980ac8768266996e2b8d1 [false] [Pipeline] sh 06:57:09 + git log --format=format:%s -1 63f35f4a9f91952d983980ac8768266996e2b8d1 [Pipeline] echo 06:57:09 ========================================================= 06:57:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:57:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:10 + git log --format=format:%s -1 63f35f4a9f91952d983980ac8768266996e2b8d1 [Pipeline] echo 06:57:10 [semverPrep] GIT_COMMIT: 63f35f4a9f91952d983980ac8768266996e2b8d1, Commit Message: Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD [Pipeline] echo 06:57:10 [semverPrep] This is not a build commit. [Pipeline] sh 06:57:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:57:10 + grep -v github /etc/ssh/ssh_known_hosts 06:57:10 + [ -e /tmp/ssh_known_hosts ] 06:57:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:57:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:57:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:57:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:10 06:57:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:11 0.1.4: Pulling from edgex-devops/py-git-semver 06:57:11 42c077c10790: Pulling fs layer 06:57:11 f63e77b7563a: Pulling fs layer 06:57:11 bd5fdadae976: Pulling fs layer 06:57:11 205491f53016: Pulling fs layer 06:57:11 df18705c85c3: Pulling fs layer 06:57:11 bdb3f477010e: Pulling fs layer 06:57:11 c8a8fc8e1c8f: Pulling fs layer 06:57:11 2c6e9b1d212d: Pulling fs layer 06:57:11 bdb8f0575790: Pulling fs layer 06:57:11 386e3cb2ff24: Pulling fs layer 06:57:11 2343380bae48: Pulling fs layer 06:57:11 205491f53016: Waiting 06:57:11 df18705c85c3: Waiting 06:57:11 bdb3f477010e: Waiting 06:57:11 bdb8f0575790: Waiting 06:57:11 386e3cb2ff24: Waiting 06:57:11 f63e77b7563a: Verifying Checksum 06:57:11 f63e77b7563a: Download complete 06:57:11 205491f53016: Verifying Checksum 06:57:11 205491f53016: Download complete 06:57:11 df18705c85c3: Verifying Checksum 06:57:11 df18705c85c3: Download complete 06:57:11 bd5fdadae976: Verifying Checksum 06:57:11 bd5fdadae976: Download complete 06:57:11 bdb3f477010e: Download complete 06:57:11 2c6e9b1d212d: Download complete 06:57:11 bdb8f0575790: Download complete 06:57:11 386e3cb2ff24: Verifying Checksum 06:57:11 386e3cb2ff24: Download complete 06:57:11 2343380bae48: Verifying Checksum 06:57:11 2343380bae48: Download complete 06:57:11 42c077c10790: Download complete 06:57:11 c8a8fc8e1c8f: Download complete 06:57:12 42c077c10790: Pull complete 06:57:13 f63e77b7563a: Pull complete 06:57:13 bd5fdadae976: Pull complete 06:57:13 205491f53016: Pull complete 06:57:13 df18705c85c3: Pull complete 06:57:14 bdb3f477010e: Pull complete 06:57:16 c8a8fc8e1c8f: Pull complete 06:57:16 2c6e9b1d212d: Pull complete 06:57:16 bdb8f0575790: Pull complete 06:57:16 386e3cb2ff24: Pull complete 06:57:16 2343380bae48: Pull complete 06:57:16 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:57:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:16 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 06:57:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-46 -v /w/workspace/xfoundry_device-usb-camera_PR-46:/w/workspace/xfoundry_device-usb-camera_PR-46:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-46@tmp:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:57:18 $ docker top 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 -eo pid,comm 06:57:18 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). 06:57:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:57:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:18 [ssh-agent] Looking for ssh-agent implementation... 06:57:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:18 $ docker exec 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 ssh-agent 06:57:18 SSH_AUTH_SOCK=/tmp/ssh-nxqyEUk59OWP/agent.33 06:57:18 SSH_AGENT_PID=39 06:57:18 Running ssh-add (command line suppressed) 06:57:19 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-46@tmp/private_key_7946604864375415956.key (/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/private_key_7946604864375415956.key) 06:57:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:19 + git tag --points-at HEAD [Pipeline] } 06:57:19 $ docker exec --env ******** --env ******** 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 ssh-agent -k 06:57:19 unset SSH_AUTH_SOCK; 06:57:19 unset SSH_AGENT_PID; 06:57:19 echo Agent pid 39 killed; 06:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:57:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:57:19 [ssh-agent] Looking for ssh-agent implementation... 06:57:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:57:19 $ docker exec 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 ssh-agent 06:57:19 SSH_AUTH_SOCK=/tmp/ssh-EEWAjTLQa8qa/agent.73 06:57:19 SSH_AGENT_PID=79 06:57:19 Running ssh-add (command line suppressed) 06:57:20 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-46@tmp/private_key_4026576110242275127.key (/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/private_key_4026576110242275127.key) 06:57:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:57:20 + git semver init 06:57:20 2022-06-24 06:57:20,608 [run_init] DEBUG init version:0.0.0 force:False 06:57:20 2022-06-24 06:57:20,609 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-46/.semver 06:57:20 2022-06-24 06:57:20,609 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-46/.semver 06:57:20 2022-06-24 06:57:20,610 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-46/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-46, universal_newlines=False, shell=None, istream=None) 06:57:21 2022-06-24 06:57:21,212 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-46/.git/info/exclude 06:57:21 2022-06-24 06:57:21,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-46/.semver/PR-46 with force:False 06:57:21 2022-06-24 06:57:21,213 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-46/.semver/PR-46 06:57:21 2022-06-24 06:57:21,217 [execute] INFO git cat-file --batch-check 06:57:21 2022-06-24 06:57:21,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-46/.semver, universal_newlines=False, shell=None, istream=) 06:57:21 2022-06-24 06:57:21,225 [execute] INFO git cat-file --batch 06:57:21 2022-06-24 06:57:21,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-46/.semver, universal_newlines=False, shell=None, istream=) 06:57:21 2022-06-24 06:57:21,230 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-46/.semver/PR-46 06:57:21 0.0.0 [Pipeline] } 06:57:21 $ docker exec --env ******** --env ******** 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 ssh-agent -k 06:57:21 unset SSH_AUTH_SOCK; 06:57:21 unset SSH_AGENT_PID; 06:57:21 echo Agent pid 79 killed; 06:57:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:57:22 + git semver [Pipeline] } 06:57:22 $ docker stop --time=1 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 06:57:23 $ docker rm -f 97fe768d0d68d30eeb0527b05c34c882ec774dfbb51f20946bbc421ade3f4a11 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:57:24 Stashed 1 file(s) [Pipeline] echo 06:57:24 [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 06:57:25 provisioning config files... 06:57:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/config8056076133001925699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:57:25 ---> docker-login.sh 06:57:25 nexus3.edgexfoundry.org:10001 06:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:25 Configure a credential helper to remove this warning. See 06:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:25 06:57:25 Login Succeeded 06:57:25 nexus3.edgexfoundry.org:10002 06:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:25 Configure a credential helper to remove this warning. See 06:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:25 06:57:25 Login Succeeded 06:57:25 nexus3.edgexfoundry.org:10003 06:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:25 Configure a credential helper to remove this warning. See 06:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:25 06:57:25 Login Succeeded 06:57:25 nexus3.edgexfoundry.org:10004 06:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:25 Configure a credential helper to remove this warning. See 06:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:25 06:57:25 Login Succeeded 06:57:25 docker.io 06:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:57:26 Configure a credential helper to remove this warning. See 06:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:57:26 06:57:26 Login Succeeded 06:57:26 ---> docker-login.sh ends [Pipeline] } 06:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:57:26 ========================================================= 06:57:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:57:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:26 + 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 . 06:57:26 Sending build context to Docker daemon 681.5kB 06:57:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:57:26 Step 2/12 : FROM ${BASE} AS builder 06:57:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:57:26 59bf1c3509f3: Pulling fs layer 06:57:26 666ba61612fd: Pulling fs layer 06:57:26 8ed8ca486205: Pulling fs layer 06:57:26 cc1cd167ecdc: Pulling fs layer 06:57:26 c516ae0d96e1: Pulling fs layer 06:57:26 684cea983483: Pulling fs layer 06:57:26 dd3240ac7de5: Pulling fs layer 06:57:26 b1e948a4e11c: Pulling fs layer 06:57:26 a8fd76ee1af6: Pulling fs layer 06:57:26 646ad004c059: Pulling fs layer 06:57:26 684cea983483: Waiting 06:57:26 dd3240ac7de5: Waiting 06:57:26 b1e948a4e11c: Waiting 06:57:26 a8fd76ee1af6: Waiting 06:57:26 646ad004c059: Waiting 06:57:26 cc1cd167ecdc: Waiting 06:57:26 c516ae0d96e1: Waiting 06:57:26 8ed8ca486205: Verifying Checksum 06:57:26 8ed8ca486205: Download complete 06:57:26 666ba61612fd: Verifying Checksum 06:57:26 666ba61612fd: Download complete 06:57:26 c516ae0d96e1: Verifying Checksum 06:57:26 c516ae0d96e1: Download complete 06:57:26 684cea983483: Verifying Checksum 06:57:26 684cea983483: Download complete 06:57:26 dd3240ac7de5: Verifying Checksum 06:57:26 dd3240ac7de5: Download complete 06:57:26 59bf1c3509f3: Verifying Checksum 06:57:26 59bf1c3509f3: Download complete 06:57:27 b1e948a4e11c: Verifying Checksum 06:57:27 b1e948a4e11c: Download complete 06:57:27 59bf1c3509f3: Pull complete 06:57:27 666ba61612fd: Pull complete 06:57:27 8ed8ca486205: Pull complete 06:57:27 646ad004c059: Verifying Checksum 06:57:27 646ad004c059: Download complete 06:57:27 a8fd76ee1af6: Verifying Checksum 06:57:27 a8fd76ee1af6: Download complete 06:57:27 cc1cd167ecdc: Verifying Checksum 06:57:27 cc1cd167ecdc: Download complete 06:57:32 cc1cd167ecdc: Pull complete 06:57:32 c516ae0d96e1: Pull complete 06:57:32 684cea983483: Pull complete 06:57:32 dd3240ac7de5: Pull complete 06:57:32 b1e948a4e11c: Pull complete 06:57:34 a8fd76ee1af6: Pull complete 06:57:35 646ad004c059: Pull complete 06:57:35 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:57:35 ---> 8f69c11f6b0c 06:57:35 Step 3/12 : ARG MAKE="make build" 06:57:37 ---> Running in f92298134d38 06:57:37 Removing intermediate container f92298134d38 06:57:37 ---> f56e71c3693b 06:57:37 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:57:37 ---> Running in 0388ffe104b0 06:57:37 Removing intermediate container 0388ffe104b0 06:57:37 ---> 37844301a9e6 06:57:37 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:57:37 ---> Running in e7bf8c4c2e67 06:57:37 Removing intermediate container e7bf8c4c2e67 06:57:37 ---> 827c1aede462 06:57:37 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:57:37 ---> Running in 030f61d524c0 06:57:38 Removing intermediate container 030f61d524c0 06:57:38 ---> e994d542dde6 06:57:38 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:57:38 ---> Running in f7547e445221 06:57:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:57:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:57:39 (1/81) Installing mesa (21.2.6-r0) 06:57:39 (2/81) Installing libxau (1.0.9-r0) 06:57:39 (3/81) Installing libmd (1.0.3-r0) 06:57:39 (4/81) Installing libbsd (0.11.3-r1) 06:57:39 (5/81) Installing libxdmcp (1.1.3-r0) 06:57:39 (6/81) Installing libxcb (1.14-r2) 06:57:39 Still waiting to schedule task 06:57:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:57:40 (7/81) Installing libx11 (1.7.2-r0) 06:57:40 (8/81) Installing libxext (1.3.4-r0) 06:57:40 (9/81) Installing libxfixes (6.0.0-r0) 06:57:40 (10/81) Installing libxxf86vm (1.1.4-r2) 06:57:40 (11/81) Installing libpciaccess (0.16-r0) 06:57:40 (12/81) Installing libdrm (2.4.109-r0) 06:57:40 (13/81) Installing mesa-glapi (21.2.6-r0) 06:57:40 (14/81) Installing libxshmfence (1.3-r1) 06:57:40 (15/81) Installing mesa-gl (21.2.6-r0) 06:57:40 (16/81) Installing libice (1.0.10-r0) 06:57:40 (17/81) Installing libuuid (2.37.4-r0) 06:57:41 (18/81) Installing libsm (1.2.3-r0) 06:57:41 (19/81) Installing libxt (1.2.1-r0) 06:57:41 (20/81) Installing libxmu (1.1.3-r0) 06:57:41 (21/81) Installing xset (1.2.4-r0) 06:57:41 (22/81) Installing xprop (1.2.5-r0) 06:57:41 (23/81) Installing xdg-utils (1.1.3-r0) 06:57:41 (24/81) Installing dbus-libs (1.12.20-r4) 06:57:41 (25/81) Installing libffi (3.4.2-r1) 06:57:41 (26/81) Installing libintl (0.21-r0) 06:57:41 (27/81) Installing libblkid (2.37.4-r0) 06:57:41 (28/81) Installing libmount (2.37.4-r0) 06:57:41 (29/81) Installing pcre (8.45-r1) 06:57:42 (30/81) Installing glib (2.70.1-r0) 06:57:42 (31/81) Installing icu-libs (69.1-r1) 06:57:43 (32/81) Installing libpcre2-16 (10.40-r0) 06:57:43 (33/81) Installing zstd-libs (1.5.0-r0) 06:57:43 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 06:57:44 (35/81) Installing hicolor-icon-theme (0.17-r1) 06:57:44 (36/81) Installing wayland-libs-server (1.19.0-r1) 06:57:44 (37/81) Installing mesa-gbm (21.2.6-r0) 06:57:44 (38/81) Installing wayland-libs-client (1.19.0-r1) 06:57:44 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 06:57:44 (40/81) Installing libxcomposite (0.4.5-r0) 06:57:44 (41/81) Installing libbz2 (1.0.8-r1) 06:57:45 (42/81) Installing libpng (1.6.37-r1) 06:57:45 (43/81) Installing freetype (2.11.1-r2) 06:57:45 (44/81) Installing fontconfig (2.13.1-r4) 06:57:45 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 06:57:45 (46/81) Installing wayland-libs-egl (1.19.0-r1) 06:57:45 (47/81) Installing xkeyboard-config (2.34-r0) 06:57:45 (48/81) Installing xz-libs (5.2.5-r1) 06:57:45 (49/81) Installing libxml2 (2.9.14-r0) 06:57:45 (50/81) Installing libxkbcommon (1.3.1-r0) 06:57:45 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 06:57:46 (52/81) Installing mesa-egl (21.2.6-r0) 06:57:46 (53/81) Installing avahi-libs (0.8-r5) 06:57:46 (54/81) Installing nettle (3.7.3-r0) 06:57:46 (55/81) Installing p11-kit (0.24.0-r1) 06:57:46 (56/81) Installing libtasn1 (4.18.0-r0) 06:57:46 (57/81) Installing libunistring (0.9.10-r1) 06:57:46 (58/81) Installing gnutls (3.7.1-r0) 06:57:46 (59/81) Installing cups-libs (2.3.3-r6) 06:57:46 (60/81) Installing graphite2 (1.3.14-r0) 06:57:46 (61/81) Installing harfbuzz (3.0.0-r2) 06:57:46 (62/81) Installing libevdev (1.12.0-r0) 06:57:47 (63/81) Installing mtdev (1.1.6-r0) 06:57:47 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 06:57:47 (65/81) Installing libinput-libs (1.19.4-r0) 06:57:47 (66/81) Installing libjpeg-turbo (2.1.2-r0) 06:57:47 (67/81) Installing xcb-util-wm (0.4.1-r1) 06:57:47 (68/81) Installing xcb-util (0.4.0-r3) 06:57:47 (69/81) Installing xcb-util-image (0.4.0-r1) 06:57:47 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 06:57:47 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 06:57:47 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 06:57:47 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 06:57:48 (74/81) Installing v4l-utils-libs (1.22.1-r1) 06:57:48 (75/81) Installing v4l-utils (1.22.1-r1) 06:57:48 (76/81) Installing udev-init-scripts (35-r0) 06:57:48 Executing udev-init-scripts-35-r0.post-install 06:57:48 (77/81) Installing kmod-libs (29-r2) 06:57:48 (78/81) Installing eudev (3.2.11_pre1-r0) 06:57:49 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 06:57:49 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:57:49 (81/81) Installing v4l-utils-dev (1.22.1-r1) 06:57:49 Executing busybox-1.34.1-r3.trigger 06:57:49 Executing eudev-3.2.11_pre1-r0.trigger 06:57:49 OK: 335 MiB in 133 packages 06:57:51 Removing intermediate container f7547e445221 06:57:51 ---> e15dfa3e7206 06:57:51 Step 8/12 : WORKDIR /device-usb-camera 06:57:51 ---> Running in 4c83b136e168 06:57:51 Removing intermediate container 4c83b136e168 06:57:51 ---> 2bf91c38e3b1 06:57:51 Step 9/12 : COPY go.mod vendor* ./ 06:57:51 ---> d9979d60abb3 06:57:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:51 ---> Running in 81c6b223f4d7 06:58:06 Removing intermediate container 81c6b223f4d7 06:58:06 ---> c399fccd9c2f 06:58:06 Step 11/12 : COPY . . 06:58:06 ---> 4d235f8cd0ab 06:58:06 Step 12/12 : RUN ${MAKE} 06:58:06 ---> Running in 52d53e589fb7 06:58:07 noop 06:58:07 Removing intermediate container 52d53e589fb7 06:58:07 ---> 8e47f6fd9ec5 06:58:07 Successfully built 8e47f6fd9ec5 06:58:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:07 + docker inspect -f . ci-base-image-x86_64 06:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:08 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 06:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-46 -v /w/workspace/xfoundry_device-usb-camera_PR-46:/w/workspace/xfoundry_device-usb-camera_PR-46:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-46@tmp:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:58:08 $ docker top a9df90286b12b6efa532996ecf7e6a21aba0f9118150ada6b20595ae51021adc -eo pid,comm [Pipeline] { [Pipeline] sh 06:58:08 + go version 06:58:08 go version go1.17.7 linux/amd64 [Pipeline] } 06:58:08 $ docker stop --time=1 a9df90286b12b6efa532996ecf7e6a21aba0f9118150ada6b20595ae51021adc 06:58:10 $ docker rm -f a9df90286b12b6efa532996ecf7e6a21aba0f9118150ada6b20595ae51021adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:10 + docker inspect -f . ci-base-image-x86_64 06:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:11 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 06:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-46 -v /w/workspace/xfoundry_device-usb-camera_PR-46:/w/workspace/xfoundry_device-usb-camera_PR-46:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-46@tmp:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:58:11 $ docker top 3fc34d7dae640a800436160d29756743df5e707cdb2feb34ce804832d8cc20b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:58:12 + make test 06:58:12 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:58:12 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:58:22 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:58:22 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 06:58:28 CGO_ENABLED=1 go vet ./... 06:58:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:58:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:58:33 ./bin/test-attribution-txt.sh [Pipeline] echo 06:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:58:33 $ docker stop --time=1 3fc34d7dae640a800436160d29756743df5e707cdb2feb34ce804832d8cc20b9 06:58:35 $ docker rm -f 3fc34d7dae640a800436160d29756743df5e707cdb2feb34ce804832d8cc20b9 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:36 + ls -al . 06:58:36 total 164 06:58:36 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 06:58 . 06:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:56 .. 06:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 06:57 .git 06:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:56 .github 06:58:36 -rw-rw-r-- 1 jenkins jenkins 349 Jun 24 06:56 .gitignore 06:58:36 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 06:56 .golangci.yml 06:58:36 -rw-rw-r-- 1 jenkins jenkins 77 Jun 24 06:56 .hadolint.yml 06:58:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 06:57 .semver 06:58:36 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 24 06:56 Attribution.txt 06:58:36 -rw-rw-r-- 1 jenkins jenkins 181 Jun 24 06:56 CHANGELOG.md 06:58:36 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 24 06:56 Dockerfile 06:58:36 -rw-rw-r-- 1 jenkins jenkins 678 Jun 24 06:56 GOVERNANCE.md 06:58:36 -rw-rw-r-- 1 jenkins jenkins 659 Jun 24 06:56 Jenkinsfile 06:58:36 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 06:56 LICENSE 06:58:36 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 24 06:56 Makefile 06:58:36 -rw-rw-r-- 1 jenkins jenkins 622 Jun 24 06:56 OWNERS.md 06:58:36 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 24 06:56 README.md 06:58:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 06:57 VERSION 06:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:56 bin 06:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:56 cmd 06:58:36 -rw-r--r-- 1 jenkins jenkins 10 Jun 24 06:58 coverage.out 06:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:56 docker-compose 06:58:36 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 06:56 docker-entrypoint.sh 06:58:36 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 24 06:56 go.mod 06:58:36 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 24 06:56 go.sum 06:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:56 internal 06:58:36 -rw-rw-r-- 1 jenkins jenkins 231 Jun 24 06:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:37 + 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=63f35f4a9f91952d983980ac8768266996e2b8d1 --label arch=amd64 --label version=0.0.0 . 06:58:37 Sending build context to Docker daemon 682.5kB 06:58:37 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 06:58:37 Step 2/29 : FROM ${BASE} AS builder 06:58:37 ---> 8e47f6fd9ec5 06:58:37 Step 3/29 : ARG MAKE="make build" 06:58:37 ---> Running in 31cc9d88a6a8 06:58:37 Removing intermediate container 31cc9d88a6a8 06:58:37 ---> cbd3055443d1 06:58:37 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:58:37 ---> Running in 939b19a68dda 06:58:37 Removing intermediate container 939b19a68dda 06:58:37 ---> 487dcf459555 06:58:37 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:58:37 ---> Running in 49719ebd55eb 06:58:37 Removing intermediate container 49719ebd55eb 06:58:37 ---> 69db614a8516 06:58:37 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:58:37 ---> Running in 459bda60cb0f 06:58:38 Removing intermediate container 459bda60cb0f 06:58:38 ---> 2f7d0c910f42 06:58:38 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:58:38 ---> Running in 1988c9d35ec1 06:58:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:58:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:58:39 OK: 335 MiB in 133 packages 06:58:40 Removing intermediate container 1988c9d35ec1 06:58:40 ---> 1ead32589742 06:58:40 Step 8/29 : WORKDIR /device-usb-camera 06:58:40 ---> Running in 785e4e28bc83 06:58:40 Removing intermediate container 785e4e28bc83 06:58:40 ---> 007c8b1ad90b 06:58:40 Step 9/29 : COPY go.mod vendor* ./ 06:58:40 ---> 10b9724f7407 06:58:40 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:40 ---> Running in c785d282fa48 06:58:41 Removing intermediate container c785d282fa48 06:58:41 ---> 07ce7dbe9528 06:58:41 Step 11/29 : COPY . . 06:58:41 ---> 678309cdf233 06:58:41 Step 12/29 : RUN ${MAKE} 06:58:41 ---> Running in f2940ee798eb 06:58:41 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 06:59:03 Removing intermediate container f2940ee798eb 06:59:03 ---> 1168b2433614 06:59:03 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 06:59:03 v0.18.4: Pulling from aler9/rtsp-simple-server 06:59:03 af6660deedbd: Pulling fs layer 06:59:03 97cd0a44c592: Pulling fs layer 06:59:03 97cd0a44c592: Verifying Checksum 06:59:03 af6660deedbd: Verifying Checksum 06:59:03 af6660deedbd: Download complete 06:59:03 af6660deedbd: Pull complete 06:59:03 97cd0a44c592: Pull complete 06:59:03 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 06:59:03 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 06:59:03 ---> fea57e182299 06:59:03 Step 14/29 : FROM alpine:3.15 06:59:03 3.15: Pulling from library/alpine 06:59:03 df9b9388f04a: Pulling fs layer 06:59:03 df9b9388f04a: Verifying Checksum 06:59:03 df9b9388f04a: Download complete 06:59:04 df9b9388f04a: Pull complete 06:59:04 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:59:04 Status: Downloaded newer image for alpine:3.15 06:59:04 ---> 0ac33e5f5afa 06:59:04 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:59:04 ---> Running in 9dedcc64a141 06:59:04 Removing intermediate container 9dedcc64a141 06:59:04 ---> 59b5eda9f463 06:59:04 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 06:59:04 ---> Running in c41377fe1516 06:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:59:04 (1/74) Installing dumb-init (1.2.5-r1) 06:59:04 (2/74) Installing sdl2 (2.0.16-r4) 06:59:04 (3/74) Installing libxau (1.0.9-r0) 06:59:04 (4/74) Installing libmd (1.0.3-r0) 06:59:04 (5/74) Installing libbsd (0.11.3-r1) 06:59:04 (6/74) Installing libxdmcp (1.1.3-r0) 06:59:04 (7/74) Installing libxcb (1.14-r2) 06:59:04 (8/74) Installing libx11 (1.7.2-r0) 06:59:05 (9/74) Installing aom-libs (3.2.0-r0) 06:59:05 (10/74) Installing alsa-lib (1.2.5.1-r1) 06:59:05 (11/74) Installing expat (2.4.7-r0) 06:59:05 (12/74) Installing brotli-libs (1.0.9-r5) 06:59:05 (13/74) Installing libbz2 (1.0.8-r1) 06:59:05 (14/74) Installing libpng (1.6.37-r1) 06:59:05 (15/74) Installing freetype (2.11.1-r2) 06:59:05 (16/74) Installing libuuid (2.37.4-r0) 06:59:05 (17/74) Installing fontconfig (2.13.1-r4) 06:59:05 (18/74) Installing fribidi (1.0.11-r0) 06:59:05 (19/74) Installing libffi (3.4.2-r1) 06:59:05 (20/74) Installing libintl (0.21-r0) 06:59:05 (21/74) Installing libblkid (2.37.4-r0) 06:59:05 (22/74) Installing libmount (2.37.4-r0) 06:59:05 (23/74) Installing pcre (8.45-r1) 06:59:05 (24/74) Installing glib (2.70.1-r0) 06:59:05 (25/74) Installing graphite2 (1.3.14-r0) 06:59:05 (26/74) Installing harfbuzz (3.0.0-r2) 06:59:05 (27/74) Installing libass (0.15.2-r0) 06:59:05 (28/74) Installing libdav1d (0.9.2-r0) 06:59:05 (29/74) Installing gmp (6.2.1-r1) 06:59:05 (30/74) Installing nettle (3.7.3-r0) 06:59:05 (31/74) Installing p11-kit (0.24.0-r1) 06:59:05 (32/74) Installing libtasn1 (4.18.0-r0) 06:59:05 (33/74) Installing libunistring (0.9.10-r1) 06:59:05 (34/74) Installing gnutls (3.7.1-r0) 06:59:05 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 06:59:05 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 06:59:05 (37/74) Installing lame (3.100-r0) 06:59:05 (38/74) Installing opus (1.3.1-r1) 06:59:05 (39/74) Installing libgomp (10.3.1_git20211027-r0) 06:59:05 (40/74) Installing soxr (0.1.3-r2) 06:59:05 (41/74) Installing libgcc (10.3.1_git20211027-r0) 06:59:05 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 06:59:05 (43/74) Installing libsrt (1.4.2-r1) 06:59:05 (44/74) Installing libssh (0.9.6-r1) 06:59:05 (45/74) Installing libogg (1.3.5-r0) 06:59:05 (46/74) Installing libtheora (1.1.1-r16) 06:59:05 (47/74) Installing libjpeg-turbo (2.1.2-r0) 06:59:05 (48/74) Installing v4l-utils-libs (1.22.1-r1) 06:59:05 (49/74) Installing libxext (1.3.4-r0) 06:59:05 (50/74) Installing libxfixes (6.0.0-r0) 06:59:05 (51/74) Installing libpciaccess (0.16-r0) 06:59:05 (52/74) Installing libdrm (2.4.109-r0) 06:59:05 (53/74) Installing wayland-libs-client (1.19.0-r1) 06:59:05 (54/74) Installing libva (2.13.0-r0) 06:59:05 (55/74) Installing libvdpau (1.4-r0) 06:59:05 (56/74) Installing vidstab (1.1.0-r1) 06:59:05 (57/74) Installing libvorbis (1.3.7-r0) 06:59:05 (58/74) Installing libvpx (1.10.0-r0) 06:59:05 (59/74) Installing vulkan-loader (1.2.196-r0) 06:59:05 (60/74) Installing libwebp (1.2.2-r0) 06:59:05 (61/74) Installing x264-libs (20210613-r0) 06:59:05 (62/74) Installing x265-libs (3.5-r0) 06:59:05 (63/74) Installing xvidcore (1.3.7-r1) 06:59:05 (64/74) Installing ffmpeg-libs (4.4.1-r2) 06:59:05 (65/74) Installing ffmpeg (4.4.1-r2) 06:59:05 (66/74) Installing udev-init-scripts (35-r0) 06:59:05 Executing udev-init-scripts-35-r0.post-install 06:59:05 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 06:59:05 (68/74) Installing xz-libs (5.2.5-r1) 06:59:05 (69/74) Installing zstd-libs (1.5.0-r0) 06:59:05 (70/74) Installing kmod-libs (29-r2) 06:59:05 (71/74) Installing eudev (3.2.11_pre1-r0) 06:59:05 (72/74) Installing libsodium (1.0.18-r0) 06:59:05 (73/74) Installing libzmq (4.3.4-r0) 06:59:05 (74/74) Installing zeromq (4.3.4-r0) 06:59:05 Executing busybox-1.34.1-r5.trigger 06:59:05 Executing eudev-3.2.11_pre1-r0.trigger 06:59:05 OK: 78 MiB in 88 packages 06:59:07 Removing intermediate container c41377fe1516 06:59:07 ---> eb29c62c4199 06:59:07 Step 17/29 : WORKDIR / 06:59:07 ---> Running in 4aa7ed3d2038 06:59:07 Removing intermediate container 4aa7ed3d2038 06:59:07 ---> fe80b43aaf6a 06:59:07 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 06:59:08 ---> 57d06711349e 06:59:08 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 06:59:08 ---> d99dd13e0899 06:59:08 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:59:08 ---> db9cba7837cd 06:59:08 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:59:08 ---> a98641498c85 06:59:08 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 06:59:08 ---> 020389cd1a10 06:59:08 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 06:59:09 ---> a6c24b37d519 06:59:09 Step 24/29 : EXPOSE 59983 06:59:09 ---> Running in 2ee5abbfeb7d 06:59:09 Removing intermediate container 2ee5abbfeb7d 06:59:09 ---> 32fee9667e84 06:59:09 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:59:09 ---> Running in bbd9d29380b3 06:59:09 Removing intermediate container bbd9d29380b3 06:59:09 ---> ae9612db4700 06:59:09 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 06:59:09 ---> Running in dd9de6d0fe89 06:59:09 Removing intermediate container dd9de6d0fe89 06:59:09 ---> e73207d7c67b 06:59:09 Step 27/29 : LABEL arch=amd64 06:59:09 ---> Running in 86597d19d9f8 06:59:09 Removing intermediate container 86597d19d9f8 06:59:09 ---> 3f46cb15c02e 06:59:09 Step 28/29 : LABEL git_sha=63f35f4a9f91952d983980ac8768266996e2b8d1 06:59:09 ---> Running in e6144bb01a59 06:59:10 Removing intermediate container e6144bb01a59 06:59:10 ---> ff7060621cd6 06:59:10 Step 29/29 : LABEL version=0.0.0 06:59:10 ---> Running in d8730828eeaf 06:59:10 Removing intermediate container d8730828eeaf 06:59:10 ---> 3b5662a64041 06:59:10 [Warning] One or more build-args [ARCH] were not consumed 06:59:10 Successfully built 3b5662a64041 06:59:10 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 06:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:10 06:59:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:11 latest: Pulling from edgex-lftools-log-publisher 06:59:11 5eb5b503b376: Pulling fs layer 06:59:11 5c69ac0246d0: Pulling fs layer 06:59:11 ec43610c2a17: Pulling fs layer 06:59:11 3a2ae6a8a46f: Pulling fs layer 06:59:11 33b1e0a273af: Pulling fs layer 06:59:11 5d3b04190fa2: Pulling fs layer 06:59:11 2f39f015ded8: Pulling fs layer 06:59:11 3a2ae6a8a46f: Waiting 06:59:11 33b1e0a273af: Waiting 06:59:11 5d3b04190fa2: Waiting 06:59:11 2f39f015ded8: Waiting 06:59:11 5c69ac0246d0: Verifying Checksum 06:59:11 3a2ae6a8a46f: Verifying Checksum 06:59:11 3a2ae6a8a46f: Download complete 06:59:11 33b1e0a273af: Verifying Checksum 06:59:11 33b1e0a273af: Download complete 06:59:11 ec43610c2a17: Verifying Checksum 06:59:11 ec43610c2a17: Download complete 06:59:11 5d3b04190fa2: Verifying Checksum 06:59:11 5d3b04190fa2: Download complete 06:59:11 5eb5b503b376: Verifying Checksum 06:59:11 5eb5b503b376: Download complete 06:59:12 2f39f015ded8: Verifying Checksum 06:59:12 2f39f015ded8: Download complete 06:59:12 5eb5b503b376: Pull complete 06:59:12 5c69ac0246d0: Pull complete 06:59:13 ec43610c2a17: Pull complete 06:59:13 3a2ae6a8a46f: Pull complete 06:59:13 33b1e0a273af: Pull complete 06:59:13 5d3b04190fa2: Pull complete 06:59:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15519 in /w/workspace/xfoundry_device-usb-camera_PR-46 [Pipeline] { [Pipeline] ws 06:59:17 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 06:59:17 Selected Git installation does not exist. Using Default 06:59:17 The recommended git tool is: NONE 06:59:18 2f39f015ded8: Pull complete 06:59:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:18 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 06:59:18 $ 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-46 -v /w/workspace/xfoundry_device-usb-camera_PR-46:/w/workspace/xfoundry_device-usb-camera_PR-46:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-46@tmp:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:59:20 $ docker top bb97dd4a755880ded26be80b7dd356f8be83d4c185b031a8567a7f8b654710c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:20 ---> job-cost.sh 06:59:20 lf-activate-venv: SKIPPING 06:59:20 INFO: No Stack... 06:59:20 INFO: Retrieving Pricing Info for: v3-standard-8 06:59:21 INFO: Archiving Costs [Pipeline] sh 06:59:21 + cat /w/workspace/xfoundry_device-usb-camera_PR-46/archives/cost.csv 06:59:21 + cut -d, -f6 [Pipeline] lock 06:59:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] 06:59:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] did not exist. Created. 06:59:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:59:22 + echo total: 0.2199999988079071 [Pipeline] stash 06:59:22 Stashed 1 file(s) [Pipeline] } 06:59:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:59:22 $ docker stop --time=1 bb97dd4a755880ded26be80b7dd356f8be83d4c185b031a8567a7f8b654710c7 06:59:23 $ docker rm -f bb97dd4a755880ded26be80b7dd356f8be83d4c185b031a8567a7f8b654710c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:59:24 using credential edgex-jenkins-ssh 06:59:24 Cloning the remote Git repository 06:59:24 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:59:24 > git init /w/workspace/device-usb-camera/1 # timeout=10 06:59:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:59:24 > git --version # timeout=10 06:59:24 > git --version # 'git version 2.25.1' 06:59:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:59:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:59:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:59:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:59:25 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit cae8e621083234c929d5bafb71b56f7beaab82af 06:59:26 Merge succeeded, producing 2845a4b3a6bab1efaaf29bae794414060e8f748e 06:59:26 Checking out Revision 2845a4b3a6bab1efaaf29bae794414060e8f748e (PR-46) 06:59:25 > git config core.sparsecheckout # timeout=10 06:59:26 > git checkout -f cae8e621083234c929d5bafb71b56f7beaab82af # timeout=10 06:59:26 > git remote # timeout=10 06:59:26 > git config --get remote.origin.url # timeout=10 06:59:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:26 > git merge 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 06:59:26 > git rev-parse HEAD^{commit} # timeout=10 06:59:26 > git config core.sparsecheckout # timeout=10 06:59:26 > git checkout -f 2845a4b3a6bab1efaaf29bae794414060e8f748e # timeout=10 06:59:30 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" 06:59:30 First time build. Skipping changelog. 06:59:30 > git --version # timeout=10 06:59:30 > git --version # 'git version 2.25.1' 06:59:30 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:59:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:31 Dload Upload Total Spent Left Speed 06:59:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 63817 0 --:--:-- --:--:-- --:--:-- 63487 100 12253 100 12253 0 0 63159 0 --:--:-- --:--:-- --:--:-- 63159 [Pipeline] sh 06:59:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:59:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:59:32 + sudo tee /etc/docker/daemon.new 06:59:32 { 06:59:32 "registry-mirrors": [ 06:59:32 "https://nexus3.edgexfoundry.org:10001" 06:59:32 ], 06:59:32 "bip": "10.250.0.254/24", 06:59:32 "hosts": [ 06:59:32 "tcp://0.0.0.0:5555", 06:59:32 "unix:///var/run/docker.sock" 06:59:32 ], 06:59:32 "mtu": 1458, 06:59:32 "selinux-enabled": true, 06:59:32 "seccomp-profile": "/etc/docker/seccomp.json" 06:59:32 } [Pipeline] sh 06:59:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:59:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:52 provisioning config files... 06:59:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2618199689355673992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:52 ---> docker-login.sh 06:59:52 nexus3.edgexfoundry.org:10001 06:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:53 Configure a credential helper to remove this warning. See 06:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:53 06:59:53 Login Succeeded 06:59:53 nexus3.edgexfoundry.org:10002 06:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:53 Configure a credential helper to remove this warning. See 06:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:53 06:59:53 Login Succeeded 06:59:53 nexus3.edgexfoundry.org:10003 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:54 Configure a credential helper to remove this warning. See 06:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:54 06:59:54 Login Succeeded 06:59:54 nexus3.edgexfoundry.org:10004 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:54 Configure a credential helper to remove this warning. See 06:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:54 06:59:54 Login Succeeded 06:59:54 docker.io 06:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:55 Configure a credential helper to remove this warning. See 06:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:55 06:59:55 Login Succeeded 06:59:55 ---> docker-login.sh ends [Pipeline] } 06:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:56 ========================================================= 06:59:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:59:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:56 + 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 . 06:59:56 Sending build context to Docker daemon 471kB 06:59:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:59:56 Step 2/12 : FROM ${BASE} AS builder 06:59:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:59:57 9b3977197b4f: Pulling fs layer 06:59:57 1a89e8eeedd5: Pulling fs layer 06:59:57 94645a83ff95: Pulling fs layer 06:59:57 e6fb740bc735: Pulling fs layer 06:59:57 3a77bd46dcc9: Pulling fs layer 06:59:57 355e64cbe906: Pulling fs layer 06:59:57 63ab81a10011: Pulling fs layer 06:59:57 555d1d1c4555: Pulling fs layer 06:59:57 7d9057610161: Pulling fs layer 06:59:57 e6fb740bc735: Waiting 06:59:57 3a77bd46dcc9: Waiting 06:59:57 355e64cbe906: Waiting 06:59:57 63ab81a10011: Waiting 06:59:57 555d1d1c4555: Waiting 06:59:57 7d9057610161: Waiting 06:59:57 94645a83ff95: Verifying Checksum 06:59:57 94645a83ff95: Download complete 06:59:57 1a89e8eeedd5: Verifying Checksum 06:59:57 1a89e8eeedd5: Download complete 06:59:57 3a77bd46dcc9: Verifying Checksum 06:59:57 3a77bd46dcc9: Download complete 06:59:57 355e64cbe906: Verifying Checksum 06:59:57 355e64cbe906: Download complete 06:59:57 9b3977197b4f: Verifying Checksum 06:59:57 9b3977197b4f: Download complete 06:59:57 63ab81a10011: Verifying Checksum 06:59:57 63ab81a10011: Download complete 06:59:58 9b3977197b4f: Pull complete 06:59:58 7d9057610161: Verifying Checksum 06:59:58 7d9057610161: Download complete 06:59:58 1a89e8eeedd5: Pull complete 06:59:59 94645a83ff95: Pull complete 06:59:59 555d1d1c4555: Verifying Checksum 06:59:59 555d1d1c4555: Download complete 06:59:59 e6fb740bc735: Download complete 07:00:12 e6fb740bc735: Pull complete 07:00:12 3a77bd46dcc9: Pull complete 07:00:12 355e64cbe906: Pull complete 07:00:12 63ab81a10011: Pull complete 07:00:19 555d1d1c4555: Pull complete 07:00:20 7d9057610161: Pull complete 07:00:20 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 07:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:00:20 ---> 819e984ddca1 07:00:20 Step 3/12 : ARG MAKE="make build" 07:00:22 ---> Running in 1d5623ae2345 07:00:22 Removing intermediate container 1d5623ae2345 07:00:22 ---> 352c098d0140 07:00:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:00:22 ---> Running in 2bd62d37dc06 07:00:22 Removing intermediate container 2bd62d37dc06 07:00:22 ---> 501f375bd366 07:00:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:00:23 ---> Running in 6d9a2772b988 07:00:23 Removing intermediate container 6d9a2772b988 07:00:23 ---> 37d9afce06b1 07:00:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:23 ---> Running in 9e0437164431 07:00:25 Removing intermediate container 9e0437164431 07:00:25 ---> a88b6f3b4f2f 07:00:25 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:00:25 ---> Running in 397da76f0918 07:00:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:00:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:00:28 (1/14) Installing libintl (0.21-r0) 07:00:28 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 07:00:28 (3/14) Installing libjpeg-turbo (2.1.2-r0) 07:00:28 (4/14) Installing v4l-utils-libs (1.22.1-r1) 07:00:29 (5/14) Installing v4l-utils (1.22.1-r1) 07:00:29 (6/14) Installing udev-init-scripts (35-r0) 07:00:29 Executing udev-init-scripts-35-r0.post-install 07:00:29 (7/14) Installing libblkid (2.37.4-r0) 07:00:29 (8/14) Installing xz-libs (5.2.5-r1) 07:00:29 (9/14) Installing zstd-libs (1.5.0-r0) 07:00:29 (10/14) Installing kmod-libs (29-r2) 07:00:29 (11/14) Installing eudev (3.2.11_pre1-r0) 07:00:29 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 07:00:29 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 07:00:30 (14/14) Installing v4l-utils-dev (1.22.1-r1) 07:00:30 Executing busybox-1.34.1-r3.trigger 07:00:30 Executing eudev-3.2.11_pre1-r0.trigger 07:00:30 OK: 228 MiB in 66 packages 07:00:31 Removing intermediate container 397da76f0918 07:00:31 ---> a599195e2ecb 07:00:31 Step 8/12 : WORKDIR /device-usb-camera 07:00:31 ---> Running in 4733ed046e30 07:00:31 Removing intermediate container 4733ed046e30 07:00:31 ---> 5d27b6edfd35 07:00:31 Step 9/12 : COPY go.mod vendor* ./ 07:00:32 ---> 25ea4a1c5c69 07:00:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:32 ---> Running in 4b84bfdac685 07:01:19 Removing intermediate container 4b84bfdac685 07:01:19 ---> aa2c9518e85f 07:01:19 Step 11/12 : COPY . . 07:01:19 ---> a43bb45f4506 07:01:19 Step 12/12 : RUN ${MAKE} 07:01:19 ---> Running in 96fee0d585b5 07:01:19 noop 07:01:19 Removing intermediate container 96fee0d585b5 07:01:19 ---> f7943da89767 07:01:19 Successfully built f7943da89767 07:01:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:19 + docker inspect -f . ci-base-image-arm64 07:01:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:20 prd-ubuntu20.04-docker-arm64-4c-16g-15519 does not seem to be running inside a container 07:01:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:21 $ docker top fd4889fee9e9150788e97cd49c3d95f2ec5cd022705dd39b5fa44ea07a9b3545 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:22 + go version 07:01:22 go version go1.17.7 linux/arm64 [Pipeline] } 07:01:22 $ docker stop --time=1 fd4889fee9e9150788e97cd49c3d95f2ec5cd022705dd39b5fa44ea07a9b3545 07:01:24 $ docker rm -f fd4889fee9e9150788e97cd49c3d95f2ec5cd022705dd39b5fa44ea07a9b3545 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:25 + docker inspect -f . ci-base-image-arm64 07:01:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:25 prd-ubuntu20.04-docker-arm64-4c-16g-15519 does not seem to be running inside a container 07:01:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:26 $ docker top 22687b08af2808be56f9d6212044deb9c24aaaa1e6a60d6f8a2b1c5245f4874b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:01:27 + make test 07:01:27 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 07:01:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 07:02:51 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 07:02:51 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 07:02:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:02:51 CGO_ENABLED=1 go vet ./... 07:03:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:03:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:03:13 ./bin/test-attribution-txt.sh [Pipeline] echo 07:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:03:16 $ docker stop --time=1 22687b08af2808be56f9d6212044deb9c24aaaa1e6a60d6f8a2b1c5245f4874b 07:03:17 $ docker rm -f 22687b08af2808be56f9d6212044deb9c24aaaa1e6a60d6f8a2b1c5245f4874b [Pipeline] // withDockerContainer [Pipeline] sh 07:03:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:03:18 Warning: overwriting stash ‘coverage-report’ 07:03:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:03:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:20 + ls -al . 07:03:20 total 160 07:03:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:03 . 07:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:59 .. 07:03:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 06:59 .git 07:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:59 .github 07:03:20 -rw-rw-r-- 1 jenkins jenkins 349 Jun 24 06:59 .gitignore 07:03:20 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 06:59 .golangci.yml 07:03:20 -rw-rw-r-- 1 jenkins jenkins 77 Jun 24 06:59 .hadolint.yml 07:03:20 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 24 06:59 Attribution.txt 07:03:20 -rw-rw-r-- 1 jenkins jenkins 181 Jun 24 06:59 CHANGELOG.md 07:03:20 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 24 06:59 Dockerfile 07:03:20 -rw-rw-r-- 1 jenkins jenkins 678 Jun 24 06:59 GOVERNANCE.md 07:03:20 -rw-rw-r-- 1 jenkins jenkins 659 Jun 24 06:59 Jenkinsfile 07:03:20 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 06:59 LICENSE 07:03:20 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 24 06:59 Makefile 07:03:20 -rw-rw-r-- 1 jenkins jenkins 622 Jun 24 06:59 OWNERS.md 07:03:20 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 24 06:59 README.md 07:03:20 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 06:57 VERSION 07:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:59 bin 07:03:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:59 cmd 07:03:20 -rw-r--r-- 1 jenkins jenkins 10 Jun 24 07:01 coverage.out 07:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:59 docker-compose 07:03:20 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 06:59 docker-entrypoint.sh 07:03:20 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 24 06:59 go.mod 07:03:20 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 24 06:59 go.sum 07:03:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:59 internal 07:03:20 -rw-rw-r-- 1 jenkins jenkins 231 Jun 24 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:20 + 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=2845a4b3a6bab1efaaf29bae794414060e8f748e --label arch=arm64 --label version=0.0.0 . 07:03:20 Sending build context to Docker daemon 472.1kB 07:03:20 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 07:03:20 Step 2/29 : FROM ${BASE} AS builder 07:03:20 ---> f7943da89767 07:03:20 Step 3/29 : ARG MAKE="make build" 07:03:21 ---> Running in 5abe5e1f2b18 07:03:21 Removing intermediate container 5abe5e1f2b18 07:03:21 ---> 768c912108cf 07:03:21 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:03:21 ---> Running in fff3a288f97f 07:03:21 Removing intermediate container fff3a288f97f 07:03:21 ---> b4ec65990ce8 07:03:21 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:03:21 ---> Running in c79fc0383753 07:03:22 Removing intermediate container c79fc0383753 07:03:22 ---> d92a9156be92 07:03:22 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:03:22 ---> Running in a8fdb3f176e5 07:03:23 Removing intermediate container a8fdb3f176e5 07:03:23 ---> ae85e53d0d4f 07:03:23 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:03:24 ---> Running in 784dd5f708f7 07:03:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:03:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:03:26 OK: 228 MiB in 66 packages 07:03:27 Removing intermediate container 784dd5f708f7 07:03:27 ---> 8626feae8c12 07:03:27 Step 8/29 : WORKDIR /device-usb-camera 07:03:27 ---> Running in 160301faad60 07:03:27 Removing intermediate container 160301faad60 07:03:27 ---> fa57b5ce1c24 07:03:27 Step 9/29 : COPY go.mod vendor* ./ 07:03:28 ---> 47cd5bc5af11 07:03:28 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:28 ---> Running in cfe9dafa2cc8 07:03:30 Removing intermediate container cfe9dafa2cc8 07:03:30 ---> 7d60ad3c3afa 07:03:30 Step 11/29 : COPY . . 07:03:30 ---> c6100c2c8b5d 07:03:30 Step 12/29 : RUN ${MAKE} 07:03:30 ---> Running in c7b4c0bbcac5 07:03:31 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 07:05:38 Removing intermediate container c7b4c0bbcac5 07:05:38 ---> 2a06d9ed1e07 07:05:38 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 07:05:38 v0.18.4: Pulling from aler9/rtsp-simple-server 07:05:38 eab2503cf8f4: Pulling fs layer 07:05:38 97cd0a44c592: Pulling fs layer 07:05:38 97cd0a44c592: Download complete 07:05:38 eab2503cf8f4: Verifying Checksum 07:05:38 eab2503cf8f4: Download complete 07:05:38 eab2503cf8f4: Pull complete 07:05:38 97cd0a44c592: Pull complete 07:05:38 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 07:05:38 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 07:05:38 ---> 7f763cca56b3 07:05:38 Step 14/29 : FROM alpine:3.15 07:05:38 3.15: Pulling from library/alpine 07:05:38 9981e73032c8: Pulling fs layer 07:05:38 9981e73032c8: Verifying Checksum 07:05:38 9981e73032c8: Download complete 07:05:38 9981e73032c8: Pull complete 07:05:38 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 07:05:38 Status: Downloaded newer image for alpine:3.15 07:05:38 ---> 3fb3c9af89a9 07:05:38 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:05:38 ---> Running in e2208a121c18 07:05:38 Removing intermediate container e2208a121c18 07:05:38 ---> f888eb6a68db 07:05:38 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 07:05:38 ---> Running in 60943eefb3c6 07:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:05:38 (1/73) Installing dumb-init (1.2.5-r1) 07:05:38 (2/73) Installing sdl2 (2.0.16-r4) 07:05:38 (3/73) Installing libxau (1.0.9-r0) 07:05:38 (4/73) Installing libmd (1.0.3-r0) 07:05:38 (5/73) Installing libbsd (0.11.3-r1) 07:05:38 (6/73) Installing libxdmcp (1.1.3-r0) 07:05:38 (7/73) Installing libxcb (1.14-r2) 07:05:38 (8/73) Installing libx11 (1.7.2-r0) 07:05:38 (9/73) Installing aom-libs (3.2.0-r0) 07:05:38 (10/73) Installing alsa-lib (1.2.5.1-r1) 07:05:38 (11/73) Installing expat (2.4.7-r0) 07:05:38 (12/73) Installing brotli-libs (1.0.9-r5) 07:05:38 (13/73) Installing libbz2 (1.0.8-r1) 07:05:38 (14/73) Installing libpng (1.6.37-r1) 07:05:38 (15/73) Installing freetype (2.11.1-r2) 07:05:38 (16/73) Installing libuuid (2.37.4-r0) 07:05:38 (17/73) Installing fontconfig (2.13.1-r4) 07:05:38 (18/73) Installing fribidi (1.0.11-r0) 07:05:38 (19/73) Installing libffi (3.4.2-r1) 07:05:38 (20/73) Installing libintl (0.21-r0) 07:05:38 (21/73) Installing libblkid (2.37.4-r0) 07:05:38 (22/73) Installing libmount (2.37.4-r0) 07:05:38 (23/73) Installing pcre (8.45-r1) 07:05:38 (24/73) Installing glib (2.70.1-r0) 07:05:38 (25/73) Installing graphite2 (1.3.14-r0) 07:05:38 (26/73) Installing harfbuzz (3.0.0-r2) 07:05:38 (27/73) Installing libass (0.15.2-r0) 07:05:38 (28/73) Installing libdav1d (0.9.2-r0) 07:05:38 (29/73) Installing gmp (6.2.1-r1) 07:05:38 (30/73) Installing nettle (3.7.3-r0) 07:05:38 (31/73) Installing p11-kit (0.24.0-r1) 07:05:38 (32/73) Installing libtasn1 (4.18.0-r0) 07:05:38 (33/73) Installing libunistring (0.9.10-r1) 07:05:38 (34/73) Installing gnutls (3.7.1-r0) 07:05:38 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 07:05:38 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 07:05:38 (37/73) Installing lame (3.100-r0) 07:05:38 (38/73) Installing opus (1.3.1-r1) 07:05:38 (39/73) Installing libgomp (10.3.1_git20211027-r0) 07:05:38 (40/73) Installing soxr (0.1.3-r2) 07:05:38 (41/73) Installing libgcc (10.3.1_git20211027-r0) 07:05:38 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 07:05:38 (43/73) Installing libsrt (1.4.2-r1) 07:05:38 (44/73) Installing libssh (0.9.6-r1) 07:05:38 (45/73) Installing libogg (1.3.5-r0) 07:05:38 (46/73) Installing libtheora (1.1.1-r16) 07:05:38 (47/73) Installing libjpeg-turbo (2.1.2-r0) 07:05:38 (48/73) Installing v4l-utils-libs (1.22.1-r1) 07:05:38 (49/73) Installing libxext (1.3.4-r0) 07:05:38 (50/73) Installing libxfixes (6.0.0-r0) 07:05:38 (51/73) Installing libdrm (2.4.109-r0) 07:05:38 (52/73) Installing wayland-libs-client (1.19.0-r1) 07:05:38 (53/73) Installing libva (2.13.0-r0) 07:05:38 (54/73) Installing libvdpau (1.4-r0) 07:05:38 (55/73) Installing vidstab (1.1.0-r1) 07:05:38 (56/73) Installing libvorbis (1.3.7-r0) 07:05:38 (57/73) Installing libvpx (1.10.0-r0) 07:05:38 (58/73) Installing vulkan-loader (1.2.196-r0) 07:05:38 (59/73) Installing libwebp (1.2.2-r0) 07:05:38 (60/73) Installing x264-libs (20210613-r0) 07:05:38 (61/73) Installing x265-libs (3.5-r0) 07:05:38 (62/73) Installing xvidcore (1.3.7-r1) 07:05:38 (63/73) Installing ffmpeg-libs (4.4.1-r2) 07:05:38 (64/73) Installing ffmpeg (4.4.1-r2) 07:05:38 (65/73) Installing udev-init-scripts (35-r0) 07:05:38 Executing udev-init-scripts-35-r0.post-install 07:05:38 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 07:05:38 (67/73) Installing xz-libs (5.2.5-r1) 07:05:38 (68/73) Installing zstd-libs (1.5.0-r0) 07:05:38 (69/73) Installing kmod-libs (29-r2) 07:05:38 (70/73) Installing eudev (3.2.11_pre1-r0) 07:05:38 (71/73) Installing libsodium (1.0.18-r0) 07:05:38 (72/73) Installing libzmq (4.3.4-r0) 07:05:38 (73/73) Installing zeromq (4.3.4-r0) 07:05:38 Executing busybox-1.34.1-r5.trigger 07:05:38 Executing eudev-3.2.11_pre1-r0.trigger 07:05:38 OK: 67 MiB in 87 packages 07:05:40 Removing intermediate container 60943eefb3c6 07:05:40 ---> 072261f2fcc2 07:05:40 Step 17/29 : WORKDIR / 07:05:40 ---> Running in a525348df72a 07:05:41 Removing intermediate container a525348df72a 07:05:41 ---> a1591e0ccd8d 07:05:41 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 07:05:42 ---> da6c2256cec2 07:05:42 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 07:05:43 ---> 8ef6393d5ff0 07:05:43 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 07:05:43 ---> dc4a9222d2e2 07:05:43 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 07:05:44 ---> dfcdbf179106 07:05:44 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 07:05:44 ---> 89e2555062fe 07:05:44 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 07:05:46 ---> 8b106bf51b92 07:05:46 Step 24/29 : EXPOSE 59983 07:05:46 ---> Running in 68a72cb2ab5e 07:05:46 Removing intermediate container 68a72cb2ab5e 07:05:46 ---> cf381843d597 07:05:46 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 07:05:46 ---> Running in 7fe30c1e0dfd 07:05:46 Removing intermediate container 7fe30c1e0dfd 07:05:46 ---> e0ce3c30a62a 07:05:46 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 07:05:46 ---> Running in 2232546a4a6b 07:05:46 Removing intermediate container 2232546a4a6b 07:05:46 ---> 386848c1377d 07:05:46 Step 27/29 : LABEL arch=arm64 07:05:46 ---> Running in c1e0aaf9c2e4 07:05:47 Removing intermediate container c1e0aaf9c2e4 07:05:47 ---> c630a4eebb0a 07:05:47 Step 28/29 : LABEL git_sha=2845a4b3a6bab1efaaf29bae794414060e8f748e 07:05:47 ---> Running in fc17fdac21d9 07:05:47 Removing intermediate container fc17fdac21d9 07:05:47 ---> 7b4dbfdfa4ee 07:05:47 Step 29/29 : LABEL version=0.0.0 07:05:47 ---> Running in 2a96411729ea 07:05:48 Removing intermediate container 2a96411729ea 07:05:48 ---> d54e8941e020 07:05:48 [Warning] One or more build-args [ARCH] were not consumed 07:05:48 Successfully built d54e8941e020 07:05:48 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 07:05:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:05:48 07:05:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:05:49 arm64: Pulling from edgex-lftools-log-publisher 07:05:49 8998bd30e6a1: Pulling fs layer 07:05:49 04944245beec: Pulling fs layer 07:05:49 699f458cf7ca: Pulling fs layer 07:05:49 765212b225bb: Pulling fs layer 07:05:49 f23df028b6ca: Pulling fs layer 07:05:49 d65c8cfc05b1: Pulling fs layer 07:05:49 2437ff75d9bd: Pulling fs layer 07:05:49 f23df028b6ca: Waiting 07:05:49 d65c8cfc05b1: Waiting 07:05:49 2437ff75d9bd: Waiting 07:05:49 765212b225bb: Waiting 07:05:49 04944245beec: Verifying Checksum 07:05:49 04944245beec: Download complete 07:05:49 765212b225bb: Verifying Checksum 07:05:49 765212b225bb: Download complete 07:05:49 f23df028b6ca: Verifying Checksum 07:05:49 f23df028b6ca: Download complete 07:05:49 d65c8cfc05b1: Verifying Checksum 07:05:49 d65c8cfc05b1: Download complete 07:05:49 699f458cf7ca: Verifying Checksum 07:05:49 699f458cf7ca: Download complete 07:05:50 8998bd30e6a1: Verifying Checksum 07:05:50 8998bd30e6a1: Download complete 07:05:52 2437ff75d9bd: Verifying Checksum 07:05:52 2437ff75d9bd: Download complete 07:05:54 8998bd30e6a1: Pull complete 07:05:55 04944245beec: Pull complete 07:05:56 699f458cf7ca: Pull complete 07:05:56 765212b225bb: Pull complete 07:05:57 f23df028b6ca: Pull complete 07:05:57 d65c8cfc05b1: Pull complete 07:06:12 2437ff75d9bd: Pull complete 07:06:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:06:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:13 prd-ubuntu20.04-docker-arm64-4c-16g-15519 does not seem to be running inside a container 07:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:06:15 $ docker top b6ac4eb20a611a1649985c26fae646cdc7a82319c021ba84004660305ce67259 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:16 ---> job-cost.sh 07:06:16 lf-activate-venv: SKIPPING 07:06:16 INFO: No Stack... 07:06:17 INFO: Retrieving Pricing Info for: v3-standard-4 07:06:18 INFO: Archiving Costs [Pipeline] sh 07:06:18 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 07:06:18 + cut -d, -f6 [Pipeline] lock 07:06:18 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] 07:06:18 Resource [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] did not exist. Created. 07:06:18 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:19 /w/workspace/device-usb-camera/1@tmp/durable-c49c919e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:06:20 + echo total: 0.10999999940395355 [Pipeline] stash 07:06:20 Warning: overwriting stash ‘stack-cost’ 07:06:20 Stashed 1 file(s) [Pipeline] } 07:06:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:06:20 $ docker stop --time=1 b6ac4eb20a611a1649985c26fae646cdc7a82319c021ba84004660305ce67259 07:06:22 $ docker rm -f b6ac4eb20a611a1649985c26fae646cdc7a82319c021ba84004660305ce67259 [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 07:06:23 provisioning config files... 07:06:23 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/config9169190892128410044tmp [Pipeline] { [Pipeline] sh 07:06:23 + set +x 07:06:23 + + curl -s https://codecov.io/bash 07:06:23 bash -s -- 07:06:23 07:06:23 _____ _ 07:06:23 / ____| | | 07:06:23 | | ___ __| | ___ ___ _____ __ 07:06:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:06:23 | |___| (_) | (_| | __/ (_| (_) \ V / 07:06:23 \_____\___/ \__,_|\___|\___\___/ \_/ 07:06:23 Bash-1.0.6 07:06:23 07:06:23 07:06:23 ==> git version 2.25.1 found 07:06:23 ==> 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 07:06:23 Release-Date: 2020-01-08 07:06:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:06:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:06:23 ==> Jenkins CI detected. 07:06:23 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-46 07:06:23 project root: . 07:06:23 --> token set from env 07:06:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:06:23 ==> Running gcov in . (disable via -X gcov) 07:06:23 ==> Python coveragepy not found 07:06:23 ==> Searching for coverage reports in: 07:06:23 + . 07:06:23 -> Found 1 reports 07:06:23 ==> Detecting git/mercurial file structure 07:06:23 ==> Reading reports 07:06:23 + ./coverage.out bytes=10 07:06:23 ==> Appending adjustments 07:06:23 https://docs.codecov.io/docs/fixing-reports 07:06:23 + Found adjustments 07:06:23 ==> Gzipping contents 07:06:23 4.0K /tmp/codecov.flCe5B.gz 07:06:23 ==> Uploading reports 07:06:23 url: https://codecov.io 07:06:23 query: branch=PR-46&commit=63f35f4a9f91952d983980ac8768266996e2b8d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=46&job=&cmd_args= 07:06:23 -> Pinging Codecov 07:06:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-46&commit=63f35f4a9f91952d983980ac8768266996e2b8d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=46&job=&cmd_args= 07:06:23 -> Uploading to 07:06:23 https://storage.googleapis.com/codecov/v4/raw/2022-06-24/73D8F5FF140700D3E01443B452E23636/63f35f4a9f91952d983980ac8768266996e2b8d1/64eac71c-b1a6-4a57-8fe3-6e40da4ee449.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220624T070623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=abfd7838c7f3983a8db8de7b196e0e6cd5160cd7bda8a576ebf0b068d2a61aa5 07:06:23 % Total % Received % Xferd Average Speed Time Time Time Current 07:06:23 Dload Upload Total Spent Left Speed 07:06:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1013 0 0 100 1013 0 4385 --:--:-- --:--:-- --:--:-- 4385 07:06:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/63f35f4a9f91952d983980ac8768266996e2b8d1 [Pipeline] } 07:06:24 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 07:06:25 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-46/archives ] 07:06:25 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-46/archives 07:06:25 total 16 07:06:25 drwxr-xr-x 3 root root 4096 Jun 24 06:59 . 07:06:25 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 06:59 .. 07:06:25 drwxr-xr-x 2 root root 4096 Jun 24 06:59 cost 07:06:25 -rw-r--r-- 1 root root 87 Jun 24 06:59 cost.csv 07:06:25 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-46/archives 07:06:25 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-46/archives 07:06:25 total 16 07:06:25 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 06:59 . 07:06:25 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 06:59 .. 07:06:25 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 06:59 cost 07:06:25 -rw-r--r-- 1 jenkins jenkins 87 Jun 24 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:06:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:06:27 ---> package-listing.sh 07:06:27 ++ tr '[:upper:]' '[:lower:]' 07:06:27 ++ facter osfamily 07:06:27 + OS_FAMILY=debian 07:06:27 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-46 07:06:27 + START_PACKAGES=/tmp/packages_start.txt 07:06:27 + END_PACKAGES=/tmp/packages_end.txt 07:06:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:06:27 + PACKAGES=/tmp/packages_start.txt 07:06:27 + '[' /w/workspace/xfoundry_device-usb-camera_PR-46 ']' 07:06:27 + PACKAGES=/tmp/packages_end.txt 07:06:27 + case "${OS_FAMILY}" in 07:06:27 + dpkg -l 07:06:27 + grep '^ii' 07:06:27 + '[' -f /tmp/packages_start.txt ']' 07:06:27 + '[' -f /tmp/packages_end.txt ']' 07:06:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:06:27 + '[' /w/workspace/xfoundry_device-usb-camera_PR-46 ']' 07:06:27 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-46/archives/ 07:06:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-46/archives/ [Pipeline] echo 07:06:27 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-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:06:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:28 prd-ubuntu20.04-docker-8c-8g-15518 does not seem to be running inside a container 07:06:28 $ 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-46/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-46 -v /w/workspace/xfoundry_device-usb-camera_PR-46:/w/workspace/xfoundry_device-usb-camera_PR-46:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-46@tmp:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:06:28 $ docker top 78ce148d1c32c56571872618815b6c3e2bb7f91be68dec3cacfd69c672aa0657 -eo pid,comm [Pipeline] { [Pipeline] sh 07:06:29 + touch /tmp/pre-build-complete [Pipeline] sh 07:06:29 + mkdir -p /var/log/sysstat [Pipeline] sh 07:06:29 + ls /var/log/sa-host 07:06:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:30 provisioning config files... 07:06:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-46@tmp/config7901683097939622330tmp [Pipeline] { [Pipeline] echo 07:06:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:06:30 ---> create-netrc.sh [Pipeline] } 07:06:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:06:30 ---> python-tools-install.sh [Pipeline] echo 07:06:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:06:31 ---> sudo-logs.sh 07:06:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:06:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:06:31 ---> job-cost.sh 07:06:31 lf-activate-venv: SKIPPING 07:06:31 DEBUG: total: 0.2199999988079071 07:06:31 INFO: Retrieving Stack Cost... 07:06:32 INFO: Retrieving Pricing Info for: v3-standard-8 07:06:32 INFO: Archiving Costs [Pipeline] echo 07:06:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:06:33 ---> logs-deploy.sh 07:06:33 lf-activate-venv: SKIPPING 07:06:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-46/1 07:06:33 INFO: archiving workspace using pattern(s): 07:06:34 Archives upload complete. 07:06:34 INFO: archiving logs to Nexus