Pull request #47 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 01cb7ad94b2a455f8aece0c0f5125dc92b0a3a0a+73afea3ace466341e80d38fe07fac6720914120d (5f2bd0b1d09ad4c682ea00f8fea85f8952ee2ff3) 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-ssh11813361031310046855.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-ssh1275687168121610595.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-47/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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12379333855455636975.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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11768180809103502406.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-ssh312440177270614657.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-47/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-47/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12315462520229243389.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-16325 in /w/workspace/xfoundry_device-usb-camera_PR-47 [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-47 # 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/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 01cb7ad94b2a455f8aece0c0f5125dc92b0a3a0a Merge succeeded, producing f7b04c11cbf99fc9b421729c2b0cd363d75549bc Checking out Revision f7b04c11cbf99fc9b421729c2b0cd363d75549bc (PR-47) > git config core.sparsecheckout # timeout=10 > git checkout -f 01cb7ad94b2a455f8aece0c0f5125dc92b0a3a0a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7b04c11cbf99fc9b421729c2b0cd363d75549bc # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' 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 07:53:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:53:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:53:40 ========================================================= 07:53:40 EdgeX Global Pipelines Version Info 07:53:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:53:41 ------------------- 07:53:41 stable info: 07:53:41 ------------------- 07:53:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:53:41 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 07:53:41 Message: update stable to v1.0.234 07:53:42 ------------------- 07:53:42 experimental info: 07:53:42 ------------------- 07:53:42 Commited By: **** collab-it+edgex@linuxfoundation.org 07:53:42 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 07:53:42 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:53:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-47 [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-47 [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-47 [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7b04c11cbf99fc9b421729c2b0cd363d75549bc [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7b04c1 [Pipeline] echo 07:53:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:43 provisioning config files... 07:53:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-47@tmp/config4492813867829020148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:44 ---> docker-login.sh 07:53:44 nexus3.edgexfoundry.org:10001 07:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:44 Configure a credential helper to remove this warning. See 07:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:44 07:53:44 Login Succeeded 07:53:44 nexus3.edgexfoundry.org:10002 07:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:44 Configure a credential helper to remove this warning. See 07:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:44 07:53:44 Login Succeeded 07:53:44 nexus3.edgexfoundry.org:10003 07:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:45 Configure a credential helper to remove this warning. See 07:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:45 07:53:45 Login Succeeded 07:53:45 nexus3.edgexfoundry.org:10004 07:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:45 Configure a credential helper to remove this warning. See 07:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:45 07:53:45 Login Succeeded 07:53:45 docker.io 07:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:45 Configure a credential helper to remove this warning. See 07:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:45 07:53:45 Login Succeeded 07:53:45 ---> docker-login.sh ends [Pipeline] } 07:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:53:46 + git rev-list -1 --merges f7b04c11cbf99fc9b421729c2b0cd363d75549bc~1..f7b04c11cbf99fc9b421729c2b0cd363d75549bc [Pipeline] echo 07:53:46 -----------> git rev-list -1 --merges f7b04c11cbf99fc9b421729c2b0cd363d75549bc~1..f7b04c11cbf99fc9b421729c2b0cd363d75549bc f7b04c11cbf99fc9b421729c2b0cd363d75549bc 07:53:46 f7b04c11cbf99fc9b421729c2b0cd363d75549bc [false] [Pipeline] sh 07:53:46 + git log --format=format:%s -1 f7b04c11cbf99fc9b421729c2b0cd363d75549bc [Pipeline] echo 07:53:46 ========================================================= 07:53:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:53:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:53:47 + git log --format=format:%s -1 f7b04c11cbf99fc9b421729c2b0cd363d75549bc [Pipeline] echo 07:53:47 [semverPrep] GIT_COMMIT: f7b04c11cbf99fc9b421729c2b0cd363d75549bc, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo 07:53:47 [semverPrep] This is not a build commit. [Pipeline] sh 07:53:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:53:47 + grep -v github /etc/ssh/ssh_known_hosts 07:53:47 + [ -e /tmp/ssh_known_hosts ] 07:53:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:53:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:53:47 + sudo tee -a /etc/ssh/ssh_known_hosts 07:53:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:47 07:53:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:48 0.1.4: Pulling from edgex-devops/py-git-semver 07:53:48 42c077c10790: Pulling fs layer 07:53:48 f63e77b7563a: Pulling fs layer 07:53:48 bd5fdadae976: Pulling fs layer 07:53:48 205491f53016: Pulling fs layer 07:53:48 df18705c85c3: Pulling fs layer 07:53:48 205491f53016: Waiting 07:53:48 bdb3f477010e: Pulling fs layer 07:53:48 df18705c85c3: Waiting 07:53:48 bdb3f477010e: Waiting 07:53:48 c8a8fc8e1c8f: Pulling fs layer 07:53:48 2c6e9b1d212d: Pulling fs layer 07:53:48 bdb8f0575790: Pulling fs layer 07:53:48 c8a8fc8e1c8f: Waiting 07:53:48 2c6e9b1d212d: Waiting 07:53:48 386e3cb2ff24: Pulling fs layer 07:53:48 2343380bae48: Pulling fs layer 07:53:48 386e3cb2ff24: Waiting 07:53:48 2343380bae48: Waiting 07:53:48 bdb8f0575790: Waiting 07:53:48 f63e77b7563a: Download complete 07:53:48 205491f53016: Download complete 07:53:48 bd5fdadae976: Verifying Checksum 07:53:48 bd5fdadae976: Download complete 07:53:48 df18705c85c3: Verifying Checksum 07:53:48 df18705c85c3: Download complete 07:53:48 bdb3f477010e: Verifying Checksum 07:53:48 bdb3f477010e: Download complete 07:53:48 2c6e9b1d212d: Verifying Checksum 07:53:48 2c6e9b1d212d: Download complete 07:53:48 bdb8f0575790: Verifying Checksum 07:53:48 bdb8f0575790: Download complete 07:53:48 386e3cb2ff24: Verifying Checksum 07:53:48 386e3cb2ff24: Download complete 07:53:48 2343380bae48: Download complete 07:53:48 42c077c10790: Verifying Checksum 07:53:48 42c077c10790: Download complete 07:53:48 c8a8fc8e1c8f: Download complete 07:53:49 42c077c10790: Pull complete 07:53:50 f63e77b7563a: Pull complete 07:53:50 bd5fdadae976: Pull complete 07:53:50 205491f53016: Pull complete 07:53:50 df18705c85c3: Pull complete 07:53:50 bdb3f477010e: Pull complete 07:53:52 c8a8fc8e1c8f: Pull complete 07:53:52 2c6e9b1d212d: Pull complete 07:53:53 bdb8f0575790: Pull complete 07:53:53 386e3cb2ff24: Pull complete 07:53:53 2343380bae48: Pull complete 07:53:53 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 07:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:53:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:53 prd-ubuntu20.04-docker-8c-8g-16325 does not seem to be running inside a container 07:53:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-47 -v /w/workspace/xfoundry_device-usb-camera_PR-47:/w/workspace/xfoundry_device-usb-camera_PR-47:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-47@tmp:/w/workspace/xfoundry_device-usb-camera_PR-47@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:53:54 $ docker top 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 -eo pid,comm 07:53:54 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). 07:53:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:53:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:54 [ssh-agent] Looking for ssh-agent implementation... 07:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:55 $ docker exec 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 ssh-agent 07:53:55 SSH_AUTH_SOCK=/tmp/ssh-5VvYPCacCYQY/agent.34 07:53:55 SSH_AGENT_PID=41 07:53:55 Running ssh-add (command line suppressed) 07:53:55 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-47@tmp/private_key_8269229929869839835.key (/w/workspace/xfoundry_device-usb-camera_PR-47@tmp/private_key_8269229929869839835.key) 07:53:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:55 + git tag --points-at HEAD [Pipeline] } 07:53:55 $ docker exec --env ******** --env ******** 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 ssh-agent -k 07:53:55 unset SSH_AUTH_SOCK; 07:53:55 unset SSH_AGENT_PID; 07:53:55 echo Agent pid 41 killed; 07:53:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:53:55 [ssh-agent] Looking for ssh-agent implementation... 07:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:53:55 $ docker exec 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 ssh-agent 07:53:56 SSH_AUTH_SOCK=/tmp/ssh-BD7fwvFgxOJk/agent.75 07:53:56 SSH_AGENT_PID=82 07:53:56 Running ssh-add (command line suppressed) 07:53:56 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-47@tmp/private_key_5641313365148280908.key (/w/workspace/xfoundry_device-usb-camera_PR-47@tmp/private_key_5641313365148280908.key) 07:53:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:53:56 + git semver init 07:53:56 2022-06-29 07:53:56,731 [run_init] DEBUG init version:0.0.0 force:False 07:53:56 2022-06-29 07:53:56,732 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-47/.semver 07:53:56 2022-06-29 07:53:56,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-47/.semver 07:53:56 2022-06-29 07:53:56,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-47/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-47, universal_newlines=False, shell=None, istream=None) 07:53:57 2022-06-29 07:53:57,291 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-47/.git/info/exclude 07:53:57 2022-06-29 07:53:57,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-47/.semver/PR-47 with force:False 07:53:57 2022-06-29 07:53:57,291 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-47/.semver/PR-47 07:53:57 2022-06-29 07:53:57,294 [execute] INFO git cat-file --batch-check 07:53:57 2022-06-29 07:53:57,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-47/.semver, universal_newlines=False, shell=None, istream=) 07:53:57 2022-06-29 07:53:57,300 [execute] INFO git cat-file --batch 07:53:57 2022-06-29 07:53:57,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-47/.semver, universal_newlines=False, shell=None, istream=) 07:53:57 2022-06-29 07:53:57,304 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-47/.semver/PR-47 07:53:57 0.0.0 [Pipeline] } 07:53:57 $ docker exec --env ******** --env ******** 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 ssh-agent -k 07:53:57 unset SSH_AUTH_SOCK; 07:53:57 unset SSH_AGENT_PID; 07:53:57 echo Agent pid 82 killed; 07:53:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:57 + git semver [Pipeline] } 07:53:58 $ docker stop --time=1 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 07:53:59 $ docker rm -f 7e2aff1a2c15241ed7bacfaf728d37781778296816e95fdd43bb5c74f52fffa2 [Pipeline] // withDockerContainer [Pipeline] sh 07:53:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:54:00 Stashed 1 file(s) [Pipeline] echo 07:54:00 [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 07:54:00 provisioning config files... 07:54:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-47@tmp/config2998663351944032287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:01 ---> docker-login.sh 07:54:01 nexus3.edgexfoundry.org:10001 07:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:01 Configure a credential helper to remove this warning. See 07:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:01 07:54:01 Login Succeeded 07:54:01 nexus3.edgexfoundry.org:10002 07:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:01 Configure a credential helper to remove this warning. See 07:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:01 07:54:01 Login Succeeded 07:54:01 nexus3.edgexfoundry.org:10003 07:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:01 Configure a credential helper to remove this warning. See 07:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:01 07:54:01 Login Succeeded 07:54:01 nexus3.edgexfoundry.org:10004 07:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:01 Configure a credential helper to remove this warning. See 07:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:01 07:54:01 Login Succeeded 07:54:01 docker.io 07:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:02 Configure a credential helper to remove this warning. See 07:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:02 07:54:02 Login Succeeded 07:54:02 ---> docker-login.sh ends [Pipeline] } 07:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:54:02 ========================================================= 07:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:54:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:02 + 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 . 07:54:02 Sending build context to Docker daemon 627.2kB 07:54:02 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:54:02 Step 2/12 : FROM ${BASE} AS builder 07:54:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:54:02 59bf1c3509f3: Pulling fs layer 07:54:02 666ba61612fd: Pulling fs layer 07:54:02 8ed8ca486205: Pulling fs layer 07:54:02 cc1cd167ecdc: Pulling fs layer 07:54:02 c516ae0d96e1: Pulling fs layer 07:54:02 684cea983483: Pulling fs layer 07:54:02 dd3240ac7de5: Pulling fs layer 07:54:02 b1e948a4e11c: Pulling fs layer 07:54:02 a8fd76ee1af6: Pulling fs layer 07:54:02 646ad004c059: Pulling fs layer 07:54:02 dd3240ac7de5: Waiting 07:54:02 cc1cd167ecdc: Waiting 07:54:02 646ad004c059: Waiting 07:54:02 a8fd76ee1af6: Waiting 07:54:02 c516ae0d96e1: Waiting 07:54:02 b1e948a4e11c: Waiting 07:54:02 684cea983483: Waiting 07:54:02 8ed8ca486205: Verifying Checksum 07:54:02 8ed8ca486205: Download complete 07:54:02 666ba61612fd: Verifying Checksum 07:54:02 666ba61612fd: Download complete 07:54:02 c516ae0d96e1: Download complete 07:54:02 684cea983483: Verifying Checksum 07:54:02 684cea983483: Download complete 07:54:02 59bf1c3509f3: Verifying Checksum 07:54:02 59bf1c3509f3: Download complete 07:54:02 dd3240ac7de5: Download complete 07:54:03 b1e948a4e11c: Verifying Checksum 07:54:03 b1e948a4e11c: Download complete 07:54:03 59bf1c3509f3: Pull complete 07:54:03 666ba61612fd: Pull complete 07:54:03 8ed8ca486205: Pull complete 07:54:03 646ad004c059: Verifying Checksum 07:54:03 646ad004c059: Download complete 07:54:03 a8fd76ee1af6: Verifying Checksum 07:54:03 a8fd76ee1af6: Download complete 07:54:03 cc1cd167ecdc: Verifying Checksum 07:54:03 cc1cd167ecdc: Download complete 07:54:06 cc1cd167ecdc: Pull complete 07:54:06 c516ae0d96e1: Pull complete 07:54:07 684cea983483: Pull complete 07:54:07 dd3240ac7de5: Pull complete 07:54:07 b1e948a4e11c: Pull complete 07:54:09 a8fd76ee1af6: Pull complete 07:54:09 646ad004c059: Pull complete 07:54:09 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 07:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:54:09 ---> 8f69c11f6b0c 07:54:09 Step 3/12 : ARG MAKE="make build" 07:54:11 ---> Running in 71b9a24bc40c 07:54:11 Removing intermediate container 71b9a24bc40c 07:54:11 ---> df2a609cad62 07:54:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:54:11 ---> Running in e9b87e8e31a3 07:54:11 Removing intermediate container e9b87e8e31a3 07:54:11 ---> 44e59a94fe0d 07:54:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:54:11 ---> Running in 5a62e1bd0c25 07:54:11 Removing intermediate container 5a62e1bd0c25 07:54:11 ---> e52aaedd89c7 07:54:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:54:11 ---> Running in 22e7b67e8fd7 07:54:12 Removing intermediate container 22e7b67e8fd7 07:54:12 ---> 0bbe9958f67f 07:54:12 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:54:12 ---> Running in a5ddb8e94bd3 07:54:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:54:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:54:13 (1/81) Installing mesa (21.2.6-r0) 07:54:14 (2/81) Installing libxau (1.0.9-r0) 07:54:14 (3/81) Installing libmd (1.0.3-r0) 07:54:14 (4/81) Installing libbsd (0.11.3-r1) 07:54:14 (5/81) Installing libxdmcp (1.1.3-r0) 07:54:14 (6/81) Installing libxcb (1.14-r2) 07:54:14 (7/81) Installing libx11 (1.7.2-r0) 07:54:14 (8/81) Installing libxext (1.3.4-r0) 07:54:14 (9/81) Installing libxfixes (6.0.0-r0) 07:54:14 (10/81) Installing libxxf86vm (1.1.4-r2) 07:54:14 (11/81) Installing libpciaccess (0.16-r0) 07:54:14 (12/81) Installing libdrm (2.4.109-r0) 07:54:15 (13/81) Installing mesa-glapi (21.2.6-r0) 07:54:15 (14/81) Installing libxshmfence (1.3-r1) 07:54:15 (15/81) Installing mesa-gl (21.2.6-r0) 07:54:15 (16/81) Installing libice (1.0.10-r0) 07:54:15 (17/81) Installing libuuid (2.37.4-r0) 07:54:15 (18/81) Installing libsm (1.2.3-r0) 07:54:15 Still waiting to schedule task 07:54:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:54:15 (19/81) Installing libxt (1.2.1-r0) 07:54:15 (20/81) Installing libxmu (1.1.3-r0) 07:54:15 (21/81) Installing xset (1.2.4-r0) 07:54:16 (22/81) Installing xprop (1.2.5-r0) 07:54:16 (23/81) Installing xdg-utils (1.1.3-r0) 07:54:16 (24/81) Installing dbus-libs (1.12.20-r4) 07:54:16 (25/81) Installing libffi (3.4.2-r1) 07:54:16 (26/81) Installing libintl (0.21-r0) 07:54:16 (27/81) Installing libblkid (2.37.4-r0) 07:54:16 (28/81) Installing libmount (2.37.4-r0) 07:54:16 (29/81) Installing pcre (8.45-r1) 07:54:16 (30/81) Installing glib (2.70.1-r0) 07:54:16 (31/81) Installing icu-libs (69.1-r1) 07:54:17 (32/81) Installing libpcre2-16 (10.40-r0) 07:54:17 (33/81) Installing zstd-libs (1.5.0-r0) 07:54:17 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 07:54:18 (35/81) Installing hicolor-icon-theme (0.17-r1) 07:54:18 (36/81) Installing wayland-libs-server (1.19.0-r1) 07:54:18 (37/81) Installing mesa-gbm (21.2.6-r0) 07:54:18 (38/81) Installing wayland-libs-client (1.19.0-r1) 07:54:18 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 07:54:19 (40/81) Installing libxcomposite (0.4.5-r0) 07:54:19 (41/81) Installing libbz2 (1.0.8-r1) 07:54:19 (42/81) Installing libpng (1.6.37-r1) 07:54:20 (43/81) Installing freetype (2.11.1-r2) 07:54:20 (44/81) Installing fontconfig (2.13.1-r4) 07:54:20 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 07:54:20 (46/81) Installing wayland-libs-egl (1.19.0-r1) 07:54:20 (47/81) Installing xkeyboard-config (2.34-r0) 07:54:20 (48/81) Installing xz-libs (5.2.5-r1) 07:54:20 (49/81) Installing libxml2 (2.9.14-r0) 07:54:20 (50/81) Installing libxkbcommon (1.3.1-r0) 07:54:20 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 07:54:20 (52/81) Installing mesa-egl (21.2.6-r0) 07:54:20 (53/81) Installing avahi-libs (0.8-r5) 07:54:21 (54/81) Installing nettle (3.7.3-r0) 07:54:21 (55/81) Installing p11-kit (0.24.0-r1) 07:54:21 (56/81) Installing libtasn1 (4.18.0-r0) 07:54:21 (57/81) Installing libunistring (0.9.10-r1) 07:54:21 (58/81) Installing gnutls (3.7.1-r0) 07:54:21 (59/81) Installing cups-libs (2.3.3-r6) 07:54:21 (60/81) Installing graphite2 (1.3.14-r0) 07:54:21 (61/81) Installing harfbuzz (3.0.0-r2) 07:54:22 (62/81) Installing libevdev (1.12.0-r0) 07:54:22 (63/81) Installing mtdev (1.1.6-r0) 07:54:22 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 07:54:22 (65/81) Installing libinput-libs (1.19.4-r0) 07:54:22 (66/81) Installing libjpeg-turbo (2.1.2-r0) 07:54:22 (67/81) Installing xcb-util-wm (0.4.1-r1) 07:54:22 (68/81) Installing xcb-util (0.4.0-r3) 07:54:22 (69/81) Installing xcb-util-image (0.4.0-r1) 07:54:22 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 07:54:22 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 07:54:22 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 07:54:23 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 07:54:23 (74/81) Installing v4l-utils-libs (1.22.1-r1) 07:54:23 (75/81) Installing v4l-utils (1.22.1-r1) 07:54:23 (76/81) Installing udev-init-scripts (35-r0) 07:54:23 Executing udev-init-scripts-35-r0.post-install 07:54:23 (77/81) Installing kmod-libs (29-r2) 07:54:23 (78/81) Installing eudev (3.2.11_pre1-r0) 07:54:23 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 07:54:24 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 07:54:24 (81/81) Installing v4l-utils-dev (1.22.1-r1) 07:54:24 Executing busybox-1.34.1-r3.trigger 07:54:24 Executing eudev-3.2.11_pre1-r0.trigger 07:54:24 OK: 335 MiB in 133 packages 07:54:26 Removing intermediate container a5ddb8e94bd3 07:54:26 ---> 86cad98e4241 07:54:26 Step 8/12 : WORKDIR /device-usb-camera 07:54:26 ---> Running in a80d21349ef4 07:54:26 Removing intermediate container a80d21349ef4 07:54:26 ---> 462c971cd102 07:54:26 Step 9/12 : COPY go.mod vendor* ./ 07:54:26 ---> 79eacd0ce459 07:54:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:26 ---> Running in e4587cf31756 07:54:41 Removing intermediate container e4587cf31756 07:54:41 ---> 9109862624a7 07:54:41 Step 11/12 : COPY . . 07:54:41 ---> 4b517f48a2a6 07:54:41 Step 12/12 : RUN ${MAKE} 07:54:41 ---> Running in bbc45e80bbcc 07:54:41 noop 07:54:41 Removing intermediate container bbc45e80bbcc 07:54:41 ---> b63270d93b17 07:54:41 Successfully built b63270d93b17 07:54:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:42 + docker inspect -f . ci-base-image-x86_64 07:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:42 prd-ubuntu20.04-docker-8c-8g-16325 does not seem to be running inside a container 07:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-47 -v /w/workspace/xfoundry_device-usb-camera_PR-47:/w/workspace/xfoundry_device-usb-camera_PR-47:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-47@tmp:/w/workspace/xfoundry_device-usb-camera_PR-47@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-x86_64 cat 07:54:42 $ docker top 6c7b2c11d7be2389e0c5e642ce7c19938d2899bd3a7f5e4637dd44f30552b919 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:43 + go version 07:54:43 go version go1.17.7 linux/amd64 [Pipeline] } 07:54:43 $ docker stop --time=1 6c7b2c11d7be2389e0c5e642ce7c19938d2899bd3a7f5e4637dd44f30552b919 07:54:44 $ docker rm -f 6c7b2c11d7be2389e0c5e642ce7c19938d2899bd3a7f5e4637dd44f30552b919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:45 + docker inspect -f . ci-base-image-x86_64 07:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:45 prd-ubuntu20.04-docker-8c-8g-16325 does not seem to be running inside a container 07:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-47 -v /w/workspace/xfoundry_device-usb-camera_PR-47:/w/workspace/xfoundry_device-usb-camera_PR-47:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-47@tmp:/w/workspace/xfoundry_device-usb-camera_PR-47@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-x86_64 cat 07:54:45 $ docker top a79b08f7d3f587e88837eef1967b89305c1ec8692845d880fe7861c51f4ca52b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:54:46 + make test 07:54:46 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 07:54:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 07:54:56 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 07:54:56 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 07:55:01 CGO_ENABLED=1 go vet ./... 07:55:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:55:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:55:05 ./bin/test-attribution-txt.sh [Pipeline] echo 07:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:55:05 $ docker stop --time=1 a79b08f7d3f587e88837eef1967b89305c1ec8692845d880fe7861c51f4ca52b 07:55:07 $ docker rm -f a79b08f7d3f587e88837eef1967b89305c1ec8692845d880fe7861c51f4ca52b [Pipeline] // withDockerContainer [Pipeline] sh 07:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:55:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:09 + ls -al . 07:55:09 total 160 07:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 07:55 . 07:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 07:53 .. 07:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 07:53 .git 07:55:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:53 .github 07:55:09 -rw-rw-r-- 1 jenkins jenkins 349 Jun 29 07:53 .gitignore 07:55:09 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 07:53 .golangci.yml 07:55:09 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 07:53 .hadolint.yml 07:55:09 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 07:53 .semver 07:55:09 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 07:53 Attribution.txt 07:55:09 -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 07:53 CHANGELOG.md 07:55:09 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 07:53 Dockerfile 07:55:09 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 07:53 GOVERNANCE.md 07:55:09 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 07:53 Jenkinsfile 07:55:09 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 07:53 LICENSE 07:55:09 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 07:53 Makefile 07:55:09 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 07:53 OWNERS.md 07:55:09 -rw-rw-r-- 1 jenkins jenkins 11110 Jun 29 07:53 README.md 07:55:09 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 07:54 VERSION 07:55:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 07:53 bin 07:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:53 cmd 07:55:09 -rw-r--r-- 1 jenkins jenkins 10 Jun 29 07:54 coverage.out 07:55:09 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 07:53 docker-entrypoint.sh 07:55:09 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 07:53 go.mod 07:55:09 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 07:53 go.sum 07:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 07:53 internal 07:55:09 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 07:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:09 + 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=f7b04c11cbf99fc9b421729c2b0cd363d75549bc --label arch=amd64 --label version=0.0.0 . 07:55:09 Sending build context to Docker daemon 628.2kB 07:55:09 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 07:55:09 Step 2/29 : FROM ${BASE} AS builder 07:55:09 ---> b63270d93b17 07:55:09 Step 3/29 : ARG MAKE="make build" 07:55:09 ---> Running in d252a87c1aeb 07:55:09 Removing intermediate container d252a87c1aeb 07:55:09 ---> 7f9ef3a942ce 07:55:09 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 07:55:09 ---> Running in 138408f97a35 07:55:09 Removing intermediate container 138408f97a35 07:55:09 ---> 89f06d3bac58 07:55:09 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:55:09 ---> Running in c95aadfb769a 07:55:09 Removing intermediate container c95aadfb769a 07:55:09 ---> 6418b56d3b11 07:55:09 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:09 ---> Running in 3daff4757ab5 07:55:10 Removing intermediate container 3daff4757ab5 07:55:10 ---> 0bd6c5ceb3a0 07:55:10 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:10 ---> Running in a9ec1a1ec08a 07:55:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:55:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:55:11 OK: 335 MiB in 133 packages 07:55:12 Removing intermediate container a9ec1a1ec08a 07:55:12 ---> 1d4f14fc3529 07:55:12 Step 8/29 : WORKDIR /device-usb-camera 07:55:12 ---> Running in 004cae185385 07:55:12 Removing intermediate container 004cae185385 07:55:12 ---> 4e558eb4c37d 07:55:12 Step 9/29 : COPY go.mod vendor* ./ 07:55:12 ---> 39a56a401ef5 07:55:12 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:12 ---> Running in 4ec35584b84c 07:55:13 Removing intermediate container 4ec35584b84c 07:55:13 ---> 0925234be310 07:55:13 Step 11/29 : COPY . . 07:55:13 ---> 6b48e4d31991 07:55:13 Step 12/29 : RUN ${MAKE} 07:55:13 ---> Running in a96dbf4b77f1 07:55:13 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:55:35 Removing intermediate container a96dbf4b77f1 07:55:35 ---> 1b5308f6b962 07:55:35 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 07:55:35 v0.18.4: Pulling from aler9/rtsp-simple-server 07:55:35 af6660deedbd: Pulling fs layer 07:55:35 97cd0a44c592: Pulling fs layer 07:55:35 97cd0a44c592: Verifying Checksum 07:55:35 97cd0a44c592: Download complete 07:55:35 af6660deedbd: Verifying Checksum 07:55:35 af6660deedbd: Download complete 07:55:35 af6660deedbd: Pull complete 07:55:35 97cd0a44c592: Pull complete 07:55:35 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 07:55:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 07:55:35 ---> fea57e182299 07:55:35 Step 14/29 : FROM alpine:3.15 07:55:35 3.15: Pulling from library/alpine 07:55:35 df9b9388f04a: Pulling fs layer 07:55:35 df9b9388f04a: Verifying Checksum 07:55:35 df9b9388f04a: Download complete 07:55:35 df9b9388f04a: Pull complete 07:55:35 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 07:55:35 Status: Downloaded newer image for alpine:3.15 07:55:35 ---> 0ac33e5f5afa 07:55:35 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:55:35 ---> Running in d8c0883d0595 07:55:35 Removing intermediate container d8c0883d0595 07:55:35 ---> 964d11b48d8e 07:55:35 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 07:55:35 ---> Running in 0fb361fbf10d 07:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:55:35 (1/74) Installing dumb-init (1.2.5-r1) 07:55:35 (2/74) Installing sdl2 (2.0.16-r4) 07:55:35 (3/74) Installing libxau (1.0.9-r0) 07:55:35 (4/74) Installing libmd (1.0.3-r0) 07:55:35 (5/74) Installing libbsd (0.11.3-r1) 07:55:35 (6/74) Installing libxdmcp (1.1.3-r0) 07:55:35 (7/74) Installing libxcb (1.14-r2) 07:55:35 (8/74) Installing libx11 (1.7.2-r0) 07:55:35 (9/74) Installing aom-libs (3.2.0-r0) 07:55:35 (10/74) Installing alsa-lib (1.2.5.1-r1) 07:55:35 (11/74) Installing expat (2.4.7-r0) 07:55:35 (12/74) Installing brotli-libs (1.0.9-r5) 07:55:35 (13/74) Installing libbz2 (1.0.8-r1) 07:55:35 (14/74) Installing libpng (1.6.37-r1) 07:55:35 (15/74) Installing freetype (2.11.1-r2) 07:55:35 (16/74) Installing libuuid (2.37.4-r0) 07:55:35 (17/74) Installing fontconfig (2.13.1-r4) 07:55:35 (18/74) Installing fribidi (1.0.11-r0) 07:55:35 (19/74) Installing libffi (3.4.2-r1) 07:55:35 (20/74) Installing libintl (0.21-r0) 07:55:35 (21/74) Installing libblkid (2.37.4-r0) 07:55:35 (22/74) Installing libmount (2.37.4-r0) 07:55:35 (23/74) Installing pcre (8.45-r1) 07:55:35 (24/74) Installing glib (2.70.1-r0) 07:55:35 (25/74) Installing graphite2 (1.3.14-r0) 07:55:35 (26/74) Installing harfbuzz (3.0.0-r2) 07:55:35 (27/74) Installing libass (0.15.2-r0) 07:55:35 (28/74) Installing libdav1d (0.9.2-r0) 07:55:35 (29/74) Installing gmp (6.2.1-r1) 07:55:35 (30/74) Installing nettle (3.7.3-r0) 07:55:35 (31/74) Installing p11-kit (0.24.0-r1) 07:55:35 (32/74) Installing libtasn1 (4.18.0-r0) 07:55:35 (33/74) Installing libunistring (0.9.10-r1) 07:55:35 (34/74) Installing gnutls (3.7.1-r0) 07:55:35 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 07:55:35 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 07:55:35 (37/74) Installing lame (3.100-r0) 07:55:35 (38/74) Installing opus (1.3.1-r1) 07:55:35 (39/74) Installing libgomp (10.3.1_git20211027-r0) 07:55:35 (40/74) Installing soxr (0.1.3-r2) 07:55:35 (41/74) Installing libgcc (10.3.1_git20211027-r0) 07:55:35 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 07:55:35 (43/74) Installing libsrt (1.4.2-r1) 07:55:35 (44/74) Installing libssh (0.9.6-r1) 07:55:35 (45/74) Installing libogg (1.3.5-r0) 07:55:35 (46/74) Installing libtheora (1.1.1-r16) 07:55:35 (47/74) Installing libjpeg-turbo (2.1.2-r0) 07:55:35 (48/74) Installing v4l-utils-libs (1.22.1-r1) 07:55:35 (49/74) Installing libxext (1.3.4-r0) 07:55:35 (50/74) Installing libxfixes (6.0.0-r0) 07:55:35 (51/74) Installing libpciaccess (0.16-r0) 07:55:35 (52/74) Installing libdrm (2.4.109-r0) 07:55:35 (53/74) Installing wayland-libs-client (1.19.0-r1) 07:55:35 (54/74) Installing libva (2.13.0-r0) 07:55:35 (55/74) Installing libvdpau (1.4-r0) 07:55:35 (56/74) Installing vidstab (1.1.0-r1) 07:55:35 (57/74) Installing libvorbis (1.3.7-r0) 07:55:35 (58/74) Installing libvpx (1.10.0-r0) 07:55:35 (59/74) Installing vulkan-loader (1.2.196-r0) 07:55:35 (60/74) Installing libwebp (1.2.2-r0) 07:55:35 (61/74) Installing x264-libs (20210613-r0) 07:55:35 (62/74) Installing x265-libs (3.5-r0) 07:55:35 (63/74) Installing xvidcore (1.3.7-r1) 07:55:35 (64/74) Installing ffmpeg-libs (4.4.1-r2) 07:55:35 (65/74) Installing ffmpeg (4.4.1-r2) 07:55:35 (66/74) Installing udev-init-scripts (35-r0) 07:55:35 Executing udev-init-scripts-35-r0.post-install 07:55:35 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 07:55:35 (68/74) Installing xz-libs (5.2.5-r1) 07:55:35 (69/74) Installing zstd-libs (1.5.0-r0) 07:55:35 (70/74) Installing kmod-libs (29-r2) 07:55:35 (71/74) Installing eudev (3.2.11_pre1-r0) 07:55:35 (72/74) Installing libsodium (1.0.18-r0) 07:55:35 (73/74) Installing libzmq (4.3.4-r0) 07:55:35 (74/74) Installing zeromq (4.3.4-r0) 07:55:35 Executing busybox-1.34.1-r5.trigger 07:55:35 Executing eudev-3.2.11_pre1-r0.trigger 07:55:35 OK: 78 MiB in 88 packages 07:55:37 Removing intermediate container 0fb361fbf10d 07:55:37 ---> 33115609a905 07:55:37 Step 17/29 : WORKDIR / 07:55:37 ---> Running in 2fc70ac0c986 07:55:37 Removing intermediate container 2fc70ac0c986 07:55:37 ---> 71d616683936 07:55:37 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 07:55:37 ---> 7a408a0d92e1 07:55:37 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 07:55:38 ---> acf168ceb518 07:55:38 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 07:55:38 ---> cd8161ff7c02 07:55:38 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 07:55:38 ---> 574fcfaa032f 07:55:38 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 07:55:38 ---> 52d92796c2eb 07:55:38 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 07:55:38 ---> 64489ea7c030 07:55:38 Step 24/29 : EXPOSE 59983 07:55:38 ---> Running in ed816bb7f3b4 07:55:39 Removing intermediate container ed816bb7f3b4 07:55:39 ---> 2679ea88efcf 07:55:39 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 07:55:39 ---> Running in 706b11230c01 07:55:39 Removing intermediate container 706b11230c01 07:55:39 ---> 0c59f1751dcf 07:55:39 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 07:55:39 ---> Running in b7f3120da907 07:55:39 Removing intermediate container b7f3120da907 07:55:39 ---> 1a242f45edc9 07:55:39 Step 27/29 : LABEL arch=amd64 07:55:39 ---> Running in bf0173f53892 07:55:39 Removing intermediate container bf0173f53892 07:55:39 ---> 44d7c0cec8a9 07:55:39 Step 28/29 : LABEL git_sha=f7b04c11cbf99fc9b421729c2b0cd363d75549bc 07:55:39 ---> Running in 73b1cb08c432 07:55:39 Removing intermediate container 73b1cb08c432 07:55:39 ---> 0db8209f1fd5 07:55:39 Step 29/29 : LABEL version=0.0.0 07:55:39 ---> Running in 80de72d50d03 07:55:39 Removing intermediate container 80de72d50d03 07:55:39 ---> cf9c23ef4a5a 07:55:39 [Warning] One or more build-args [ARCH] were not consumed 07:55:39 Successfully built cf9c23ef4a5a 07:55:39 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 07:55:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:40 07:55:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:40 latest: Pulling from edgex-lftools-log-publisher 07:55:40 5eb5b503b376: Pulling fs layer 07:55:40 5c69ac0246d0: Pulling fs layer 07:55:40 ec43610c2a17: Pulling fs layer 07:55:40 3a2ae6a8a46f: Pulling fs layer 07:55:40 33b1e0a273af: Pulling fs layer 07:55:40 5d3b04190fa2: Pulling fs layer 07:55:40 2f39f015ded8: Pulling fs layer 07:55:40 33b1e0a273af: Waiting 07:55:40 5d3b04190fa2: Waiting 07:55:40 2f39f015ded8: Waiting 07:55:40 3a2ae6a8a46f: Waiting 07:55:40 5c69ac0246d0: Verifying Checksum 07:55:40 5c69ac0246d0: Download complete 07:55:40 3a2ae6a8a46f: Verifying Checksum 07:55:40 3a2ae6a8a46f: Download complete 07:55:40 33b1e0a273af: Verifying Checksum 07:55:40 33b1e0a273af: Download complete 07:55:41 ec43610c2a17: Verifying Checksum 07:55:41 ec43610c2a17: Download complete 07:55:41 5d3b04190fa2: Verifying Checksum 07:55:41 5d3b04190fa2: Download complete 07:55:41 5eb5b503b376: Verifying Checksum 07:55:41 5eb5b503b376: Download complete 07:55:41 2f39f015ded8: Verifying Checksum 07:55:41 2f39f015ded8: Download complete 07:55:42 5eb5b503b376: Pull complete 07:55:42 5c69ac0246d0: Pull complete 07:55:42 ec43610c2a17: Pull complete 07:55:42 3a2ae6a8a46f: Pull complete 07:55:43 33b1e0a273af: Pull complete 07:55:43 5d3b04190fa2: Pull complete 07:55:47 2f39f015ded8: Pull complete 07:55:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:55:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:47 prd-ubuntu20.04-docker-8c-8g-16325 does not seem to be running inside a container 07:55:47 $ 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-47 -v /w/workspace/xfoundry_device-usb-camera_PR-47:/w/workspace/xfoundry_device-usb-camera_PR-47:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-47@tmp:/w/workspace/xfoundry_device-usb-camera_PR-47@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:latest cat 07:55:49 $ docker top 752e24cdb2bec1d79167ac174324dbafe16628f7d4a5eec59429491d6e1192b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:49 ---> job-cost.sh 07:55:49 lf-activate-venv: SKIPPING 07:55:49 INFO: No Stack... 07:55:50 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:50 INFO: Archiving Costs [Pipeline] sh 07:55:50 + cat /w/workspace/xfoundry_device-usb-camera_PR-47/archives/cost.csv 07:55:50 + cut -d, -f6 [Pipeline] lock 07:55:50 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-47-1-stack-cost] 07:55:50 Resource [jenkins-edgexfoundry-device-usb-camera-PR-47-1-stack-cost] did not exist. Created. 07:55:50 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:51 + echo total: 0.2199999988079071 [Pipeline] stash 07:55:51 Stashed 1 file(s) [Pipeline] } 07:55:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-47-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:51 $ docker stop --time=1 752e24cdb2bec1d79167ac174324dbafe16628f7d4a5eec59429491d6e1192b7 07:55:52 $ docker rm -f 752e24cdb2bec1d79167ac174324dbafe16628f7d4a5eec59429491d6e1192b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:55:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16326 in /w/workspace/xfoundry_device-usb-camera_PR-47 [Pipeline] { [Pipeline] ws 07:55:56 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 07:55:56 Selected Git installation does not exist. Using Default 07:55:56 The recommended git tool is: NONE 07:56:03 using credential edgex-jenkins-ssh 07:56:03 Cloning the remote Git repository 07:56:03 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 07:56:03 > git init /w/workspace/device-usb-camera/1 # timeout=10 07:56:03 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 07:56:03 > git --version # timeout=10 07:56:03 > git --version # 'git version 2.25.1' 07:56:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:04 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 01cb7ad94b2a455f8aece0c0f5125dc92b0a3a0a [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:56:05 Failed in branch arm64 07:56:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 07:56:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 07:56:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 07:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:56:05 > git config core.sparsecheckout # timeout=10 07:56:05 > git checkout -f 01cb7ad94b2a455f8aece0c0f5125dc92b0a3a0a # timeout=10 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:56:07 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-47/archives ] 07:56:07 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-47/archives 07:56:07 total 16 07:56:07 drwxr-xr-x 3 root root 4096 Jun 29 07:55 . 07:56:07 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 07:55 .. 07:56:07 drwxr-xr-x 2 root root 4096 Jun 29 07:55 cost 07:56:07 -rw-r--r-- 1 root root 87 Jun 29 07:55 cost.csv 07:56:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-47/archives 07:56:07 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-47/archives 07:56:07 total 16 07:56:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 07:55 . 07:56:07 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 07:55 .. 07:56:07 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 07:55 cost 07:56:07 -rw-r--r-- 1 jenkins jenkins 87 Jun 29 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:56:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:08 ---> package-listing.sh 07:56:08 ++ facter osfamily 07:56:08 ++ tr '[:upper:]' '[:lower:]' 07:56:08 + OS_FAMILY=debian 07:56:08 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-47 07:56:08 + START_PACKAGES=/tmp/packages_start.txt 07:56:08 + END_PACKAGES=/tmp/packages_end.txt 07:56:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:08 + PACKAGES=/tmp/packages_start.txt 07:56:08 + '[' /w/workspace/xfoundry_device-usb-camera_PR-47 ']' 07:56:08 + PACKAGES=/tmp/packages_end.txt 07:56:08 + case "${OS_FAMILY}" in 07:56:08 + dpkg -l 07:56:08 + grep '^ii' 07:56:08 + '[' -f /tmp/packages_start.txt ']' 07:56:08 + '[' -f /tmp/packages_end.txt ']' 07:56:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:56:08 + '[' /w/workspace/xfoundry_device-usb-camera_PR-47 ']' 07:56:08 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-47/archives/ 07:56:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-47/archives/ [Pipeline] echo 07:56:08 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-47/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:56:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:09 prd-ubuntu20.04-docker-8c-8g-16325 does not seem to be running inside a container 07:56:09 $ 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-47/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-47 -v /w/workspace/xfoundry_device-usb-camera_PR-47:/w/workspace/xfoundry_device-usb-camera_PR-47:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-47@tmp:/w/workspace/xfoundry_device-usb-camera_PR-47@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 07:56:10 $ docker top 54ac561dc2c7b9a1cd24c212f9818c5b97eea4a6e43f4d2a13ba7f703cdab92c -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:10 + touch /tmp/pre-build-complete [Pipeline] sh 07:56:10 + mkdir -p /var/log/sysstat [Pipeline] sh 07:56:11 + ls /var/log/sa-host 07:56:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:11 provisioning config files... 07:56:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-47@tmp/config2932547294819885628tmp [Pipeline] { [Pipeline] echo 07:56:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:56:11 ---> create-netrc.sh [Pipeline] } 07:56:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:56:12 ---> python-tools-install.sh [Pipeline] echo 07:56:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:56:12 ---> sudo-logs.sh 07:56:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:56:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:56:12 ---> job-cost.sh 07:56:12 lf-activate-venv: SKIPPING 07:56:12 DEBUG: total: 0.2199999988079071 07:56:12 INFO: Retrieving Stack Cost... 07:56:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:56:13 INFO: Archiving Costs [Pipeline] echo 07:56:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:56:14 ---> logs-deploy.sh 07:56:14 lf-activate-venv: SKIPPING 07:56:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-47/1 07:56:14 INFO: archiving workspace using pattern(s): 07:56:14 Archives upload complete. 07:56:14 INFO: archiving logs to Nexus