Pull request #72 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at e0ef95115b204dfbd36822ed04c66be8fcb14502 rather than 4038a210b6fdaad2e3eae6174c5502e3092eed2e Obtained Jenkinsfile from e0ef95115b204dfbd36822ed04c66be8fcb14502 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-ssh7591422100904020552.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2351563095672869963.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-72/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-72/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15361190817321125728.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-72/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11237232085078247881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh15439823305322472195.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-72/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-72/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18182506805602657397.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 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-21379 in /w/workspace/xfoundry_device-usb-camera_PR-72 [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-72 # 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/72/head:refs/remotes/origin/PR-72 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e0ef95115b204dfbd36822ed04c66be8fcb14502 into PR head commit 4038a210b6fdaad2e3eae6174c5502e3092eed2e Merge succeeded, producing ce7ed652c3a2329258d6a758ee38ff214e5d6d69 Checking out Revision ce7ed652c3a2329258d6a758ee38ff214e5d6d69 (PR-72) > git config core.sparsecheckout # timeout=10 > git checkout -f 4038a210b6fdaad2e3eae6174c5502e3092eed2e # 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 e0ef95115b204dfbd36822ed04c66be8fcb14502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce7ed652c3a2329258d6a758ee38ff214e5d6d69 # timeout=10 Commit message: "Merge commit 'e0ef95115b204dfbd36822ed04c66be8fcb14502' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:38:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:38:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:38:37 ========================================================= 16:38:37 EdgeX Global Pipelines Version Info 16:38:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:38:38 ------------------- 16:38:38 stable info: 16:38:38 ------------------- 16:38:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:38:38 Message: update stable to v1.0.238 16:38:39 ------------------- 16:38:39 experimental info: 16:38:39 ------------------- 16:38:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:38:39 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:38:39 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:38:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-72 [Pipeline] echo 16:38:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-72 [Pipeline] echo 16:38:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-72 [Pipeline] echo 16:38:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce7ed652c3a2329258d6a758ee38ff214e5d6d69 [Pipeline] echo 16:38:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce7ed65 [Pipeline] echo 16:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:41 provisioning config files... 16:38:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-72@tmp/config3681282514847355627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:41 ---> docker-login.sh 16:38:41 nexus3.edgexfoundry.org:10001 16:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 nexus3.edgexfoundry.org:10002 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 nexus3.edgexfoundry.org:10003 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 nexus3.edgexfoundry.org:10004 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 docker.io 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 ---> docker-login.sh ends [Pipeline] } 16:38:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:38:43 + git rev-list -1 --merges ce7ed652c3a2329258d6a758ee38ff214e5d6d69~1..ce7ed652c3a2329258d6a758ee38ff214e5d6d69 [Pipeline] echo 16:38:43 -----------> git rev-list -1 --merges ce7ed652c3a2329258d6a758ee38ff214e5d6d69~1..ce7ed652c3a2329258d6a758ee38ff214e5d6d69 ce7ed652c3a2329258d6a758ee38ff214e5d6d69 16:38:43 ce7ed652c3a2329258d6a758ee38ff214e5d6d69 [false] [Pipeline] sh 16:38:44 + git log --format=format:%s -1 ce7ed652c3a2329258d6a758ee38ff214e5d6d69 [Pipeline] echo 16:38:44 ========================================================= 16:38:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:38:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:44 + git log --format=format:%s -1 ce7ed652c3a2329258d6a758ee38ff214e5d6d69 [Pipeline] echo 16:38:44 [semverPrep] GIT_COMMIT: ce7ed652c3a2329258d6a758ee38ff214e5d6d69, Commit Message: Merge commit 'e0ef95115b204dfbd36822ed04c66be8fcb14502' into HEAD [Pipeline] echo 16:38:44 [semverPrep] This is not a build commit. [Pipeline] sh 16:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:38:44 + grep -v github /etc/ssh/ssh_known_hosts 16:38:44 + [ -e /tmp/ssh_known_hosts ] 16:38:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:38:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:38:44 + sudo tee -a /etc/ssh/ssh_known_hosts 16:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:38:45 16:38:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:38:45 0.1.4: Pulling from edgex-devops/py-git-semver 16:38:45 b85a868b505f: Pulling fs layer 16:38:45 e2be974225ed: Pulling fs layer 16:38:45 339a4e72a1f5: Pulling fs layer 16:38:45 988bab9f4d93: Pulling fs layer 16:38:45 1469e6f7b9e6: Pulling fs layer 16:38:45 eaf3925da568: Pulling fs layer 16:38:45 bab4dde63d76: Pulling fs layer 16:38:45 bde34c3a00c8: Pulling fs layer 16:38:45 b352a97aabf1: Pulling fs layer 16:38:45 4872d77fe225: Pulling fs layer 16:38:45 5851b861e8e6: Pulling fs layer 16:38:45 b352a97aabf1: Waiting 16:38:45 eaf3925da568: Waiting 16:38:45 bab4dde63d76: Waiting 16:38:45 4872d77fe225: Waiting 16:38:45 988bab9f4d93: Waiting 16:38:45 1469e6f7b9e6: Waiting 16:38:45 e2be974225ed: Verifying Checksum 16:38:45 e2be974225ed: Download complete 16:38:45 988bab9f4d93: Verifying Checksum 16:38:45 988bab9f4d93: Download complete 16:38:46 1469e6f7b9e6: Verifying Checksum 16:38:46 1469e6f7b9e6: Download complete 16:38:46 eaf3925da568: Verifying Checksum 16:38:46 eaf3925da568: Download complete 16:38:46 339a4e72a1f5: Verifying Checksum 16:38:46 339a4e72a1f5: Download complete 16:38:46 bde34c3a00c8: Verifying Checksum 16:38:46 bde34c3a00c8: Download complete 16:38:46 b352a97aabf1: Download complete 16:38:46 4872d77fe225: Verifying Checksum 16:38:46 4872d77fe225: Download complete 16:38:46 5851b861e8e6: Verifying Checksum 16:38:46 5851b861e8e6: Download complete 16:38:46 b85a868b505f: Verifying Checksum 16:38:46 b85a868b505f: Download complete 16:38:46 bab4dde63d76: Verifying Checksum 16:38:46 bab4dde63d76: Download complete 16:38:47 b85a868b505f: Pull complete 16:38:47 e2be974225ed: Pull complete 16:38:47 339a4e72a1f5: Pull complete 16:38:48 988bab9f4d93: Pull complete 16:38:48 1469e6f7b9e6: Pull complete 16:38:48 eaf3925da568: Pull complete 16:38:50 bab4dde63d76: Pull complete 16:38:50 bde34c3a00c8: Pull complete 16:38:50 b352a97aabf1: Pull complete 16:38:50 4872d77fe225: Pull complete 16:38:50 5851b861e8e6: Pull complete 16:38:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:38:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:38:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:50 prd-ubuntu20.04-docker-8c-8g-21379 does not seem to be running inside a container 16:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-72 -v /w/workspace/xfoundry_device-usb-camera_PR-72:/w/workspace/xfoundry_device-usb-camera_PR-72:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-72@tmp:/w/workspace/xfoundry_device-usb-camera_PR-72@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:38:52 $ docker top 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 -eo pid,comm 16:38:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:38:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:38:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:52 [ssh-agent] Looking for ssh-agent implementation... 16:38:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:52 $ docker exec 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 ssh-agent 16:38:52 SSH_AUTH_SOCK=/tmp/ssh-GD9c9FPwLdEf/agent.34 16:38:52 SSH_AGENT_PID=40 16:38:52 Running ssh-add (command line suppressed) 16:38:52 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-72@tmp/private_key_1699232018889571223.key (/w/workspace/xfoundry_device-usb-camera_PR-72@tmp/private_key_1699232018889571223.key) 16:38:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:53 + git tag --points-at HEAD [Pipeline] } 16:38:53 $ docker exec --env ******** --env ******** 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 ssh-agent -k 16:38:53 unset SSH_AUTH_SOCK; 16:38:53 unset SSH_AGENT_PID; 16:38:53 echo Agent pid 40 killed; 16:38:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:38:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:38:53 [ssh-agent] Looking for ssh-agent implementation... 16:38:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:38:53 $ docker exec 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 ssh-agent 16:38:53 SSH_AUTH_SOCK=/tmp/ssh-D2EyoXHQDZ0I/agent.72 16:38:53 SSH_AGENT_PID=78 16:38:53 Running ssh-add (command line suppressed) 16:38:53 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-72@tmp/private_key_2468998380917151929.key (/w/workspace/xfoundry_device-usb-camera_PR-72@tmp/private_key_2468998380917151929.key) 16:38:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:38:54 + git semver init 16:38:54 2022-07-28 16:38:54,237 [run_init] DEBUG init version:0.0.0 force:False 16:38:54 2022-07-28 16:38:54,238 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-72/.semver 16:38:54 2022-07-28 16:38:54,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-72/.semver 16:38:54 2022-07-28 16:38:54,238 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-72/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-72, universal_newlines=False, shell=None, istream=None) 16:38:54 2022-07-28 16:38:54,807 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-72/.git/info/exclude 16:38:54 2022-07-28 16:38:54,807 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-72/.semver/PR-72 with force:False 16:38:54 2022-07-28 16:38:54,808 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-72/.semver/PR-72 16:38:54 2022-07-28 16:38:54,812 [execute] INFO git cat-file --batch-check 16:38:54 2022-07-28 16:38:54,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-72/.semver, universal_newlines=False, shell=None, istream=) 16:38:54 2022-07-28 16:38:54,817 [execute] INFO git cat-file --batch 16:38:54 2022-07-28 16:38:54,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-72/.semver, universal_newlines=False, shell=None, istream=) 16:38:54 2022-07-28 16:38:54,822 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-72/.semver/PR-72 16:38:54 0.0.0 [Pipeline] } 16:38:54 $ docker exec --env ******** --env ******** 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 ssh-agent -k 16:38:54 unset SSH_AUTH_SOCK; 16:38:54 unset SSH_AGENT_PID; 16:38:54 echo Agent pid 78 killed; 16:38:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:38:55 + git semver [Pipeline] } 16:38:55 $ docker stop --time=1 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 16:38:57 $ docker rm -f 00676c1d49480e6a0b0b762b6c269d7f0c80a975d089f0f8feebd61992472333 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:38:57 Stashed 1 file(s) [Pipeline] echo 16:38:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:58 provisioning config files... 16:38:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-72@tmp/config3663977883649326115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:58 ---> docker-login.sh 16:38:58 nexus3.edgexfoundry.org:10001 16:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:58 Configure a credential helper to remove this warning. See 16:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:58 16:38:58 Login Succeeded 16:38:58 nexus3.edgexfoundry.org:10002 16:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:59 Configure a credential helper to remove this warning. See 16:38:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:59 16:38:59 Login Succeeded 16:38:59 nexus3.edgexfoundry.org:10003 16:38:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:59 Configure a credential helper to remove this warning. See 16:38:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:59 16:38:59 Login Succeeded 16:38:59 nexus3.edgexfoundry.org:10004 16:38:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:59 Configure a credential helper to remove this warning. See 16:38:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:59 16:38:59 Login Succeeded 16:38:59 docker.io 16:38:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:59 Configure a credential helper to remove this warning. See 16:38:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:59 16:38:59 Login Succeeded 16:38:59 ---> docker-login.sh ends [Pipeline] } 16:38:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:38:59 ========================================================= 16:38:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:38:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:39:00 Sending build context to Docker daemon 828.4kB 16:39:00 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 16:39:00 Step 2/13 : FROM ${BASE} AS builder 16:39:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:39:00 2408cc74d12b: Pulling fs layer 16:39:00 ea60b727a1ce: Pulling fs layer 16:39:00 30c4a7721957: Pulling fs layer 16:39:00 370296b7ddb6: Pulling fs layer 16:39:00 7c6cee850709: Pulling fs layer 16:39:00 39a5fcdaea64: Pulling fs layer 16:39:00 d94ebbe4e438: Pulling fs layer 16:39:00 bcfd1f05c69d: Pulling fs layer 16:39:00 59ccb84bbe0f: Pulling fs layer 16:39:00 370296b7ddb6: Waiting 16:39:00 d94ebbe4e438: Waiting 16:39:00 7c6cee850709: Waiting 16:39:00 bcfd1f05c69d: Waiting 16:39:00 39a5fcdaea64: Waiting 16:39:00 59ccb84bbe0f: Waiting 16:39:00 30c4a7721957: Download complete 16:39:00 ea60b727a1ce: Download complete 16:39:00 7c6cee850709: Verifying Checksum 16:39:00 7c6cee850709: Download complete 16:39:00 39a5fcdaea64: Verifying Checksum 16:39:00 39a5fcdaea64: Download complete 16:39:00 2408cc74d12b: Verifying Checksum 16:39:00 2408cc74d12b: Download complete 16:39:00 d94ebbe4e438: Download complete 16:39:00 2408cc74d12b: Pull complete 16:39:00 ea60b727a1ce: Pull complete 16:39:00 59ccb84bbe0f: Verifying Checksum 16:39:00 59ccb84bbe0f: Download complete 16:39:00 30c4a7721957: Pull complete 16:39:01 bcfd1f05c69d: Verifying Checksum 16:39:01 370296b7ddb6: Verifying Checksum 16:39:01 370296b7ddb6: Download complete 16:39:05 370296b7ddb6: Pull complete 16:39:05 7c6cee850709: Pull complete 16:39:05 39a5fcdaea64: Pull complete 16:39:05 d94ebbe4e438: Pull complete 16:39:07 bcfd1f05c69d: Pull complete 16:39:07 59ccb84bbe0f: Pull complete 16:39:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:39:08 ---> a4fb48ad2a94 16:39:08 Step 3/13 : ARG MAKE="make build" 16:39:09 ---> Running in eef7d231a989 16:39:09 Removing intermediate container eef7d231a989 16:39:09 ---> a461d241e0d6 16:39:09 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:39:09 ---> Running in 53564e2448e8 16:39:09 Removing intermediate container 53564e2448e8 16:39:09 ---> 1777c18c9bef 16:39:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:39:09 ---> Running in 02240a74ebab 16:39:09 Removing intermediate container 02240a74ebab 16:39:09 ---> 1f5a121f03ad 16:39:09 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:39:09 ---> Running in 4abed5fe9c6c 16:39:10 Removing intermediate container 4abed5fe9c6c 16:39:10 ---> 5ab274875320 16:39:10 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:39:10 ---> Running in e7d1d892798e 16:39:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:39:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:39:12 (1/80) Installing mesa (21.3.8-r1) 16:39:12 (2/80) Installing libxau (1.0.9-r0) 16:39:12 (3/80) Installing libxdmcp (1.1.3-r0) 16:39:12 (4/80) Installing libxcb (1.15-r0) 16:39:12 (5/80) Installing libx11 (1.8-r0) 16:39:12 (6/80) Installing libxext (1.3.4-r0) 16:39:12 (7/80) Installing libxfixes (6.0.0-r0) 16:39:12 (8/80) Installing libxxf86vm (1.1.4-r2) 16:39:12 (9/80) Installing libpciaccess (0.16-r0) 16:39:13 (10/80) Installing libdrm (2.4.110-r0) 16:39:13 (11/80) Installing mesa-glapi (21.3.8-r1) 16:39:13 Still waiting to schedule task 16:39:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:39:13 (12/80) Installing libxshmfence (1.3-r1) 16:39:13 (13/80) Installing mesa-gl (21.3.8-r1) 16:39:13 (14/80) Installing icu-data-full (71.1-r2) 16:39:14 (15/80) Installing libice (1.0.10-r0) 16:39:14 (16/80) Installing libuuid (2.38-r1) 16:39:14 (17/80) Installing libsm (1.2.3-r0) 16:39:14 (18/80) Installing libxt (1.2.1-r0) 16:39:14 (19/80) Installing libxmu (1.1.3-r0) 16:39:14 (20/80) Installing xset (1.2.4-r0) 16:39:14 (21/80) Installing xprop (1.2.5-r0) 16:39:14 (22/80) Installing xdg-utils (1.1.3-r3) 16:39:15 (23/80) Installing dbus-libs (1.14.0-r1) 16:39:15 (24/80) Installing libffi (3.4.2-r1) 16:39:15 (25/80) Installing libintl (0.21-r2) 16:39:15 (26/80) Installing libblkid (2.38-r1) 16:39:15 (27/80) Installing libmount (2.38-r1) 16:39:15 (28/80) Installing pcre (8.45-r2) 16:39:15 (29/80) Installing glib (2.72.1-r0) 16:39:15 (30/80) Installing icu-libs (71.1-r2) 16:39:17 (31/80) Installing libpcre2-16 (10.40-r0) 16:39:17 (32/80) Installing zstd-libs (1.5.2-r1) 16:39:17 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 16:39:18 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:39:18 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:39:18 (36/80) Installing mesa-gbm (21.3.8-r1) 16:39:18 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:39:19 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 16:39:19 (39/80) Installing libxcomposite (0.4.5-r0) 16:39:19 (40/80) Installing libbz2 (1.0.8-r1) 16:39:19 (41/80) Installing libpng (1.6.37-r1) 16:39:20 (42/80) Installing freetype (2.12.1-r0) 16:39:20 (43/80) Installing fontconfig (2.14.0-r0) 16:39:20 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:39:20 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:39:20 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:39:20 (47/80) Installing xz-libs (5.2.5-r1) 16:39:20 (48/80) Installing libxml2 (2.9.14-r0) 16:39:20 (49/80) Installing libxkbcommon (1.4.1-r0) 16:39:20 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:39:20 (51/80) Installing mesa-egl (21.3.8-r1) 16:39:21 (52/80) Installing avahi-libs (0.8-r6) 16:39:21 (53/80) Installing nettle (3.7.3-r0) 16:39:21 (54/80) Installing p11-kit (0.24.1-r0) 16:39:21 (55/80) Installing libtasn1 (4.18.0-r0) 16:39:21 (56/80) Installing libunistring (1.0-r0) 16:39:21 (57/80) Installing gnutls (3.7.6-r0) 16:39:21 (58/80) Installing cups-libs (2.4.2-r0) 16:39:21 (59/80) Installing graphite2 (1.3.14-r1) 16:39:21 (60/80) Installing harfbuzz (4.3.0-r0) 16:39:21 (61/80) Installing libevdev (1.12.1-r0) 16:39:22 (62/80) Installing mtdev (1.1.6-r0) 16:39:22 (63/80) Installing eudev-libs (3.2.11-r0) 16:39:22 (64/80) Installing libinput-libs (1.20.1-r0) 16:39:22 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:39:22 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:39:22 (67/80) Installing xcb-util (0.4.0-r3) 16:39:22 (68/80) Installing xcb-util-image (0.4.0-r1) 16:39:22 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:39:22 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:39:22 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:39:23 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 16:39:23 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:39:23 (74/80) Installing v4l-utils (1.22.1-r1) 16:39:23 (75/80) Installing udev-init-scripts (35-r0) 16:39:24 Executing udev-init-scripts-35-r0.post-install 16:39:24 (76/80) Installing kmod-libs (29-r2) 16:39:24 (77/80) Installing eudev (3.2.11-r0) 16:39:24 (78/80) Installing eudev-dev (3.2.11-r0) 16:39:24 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:39:24 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:39:24 Executing busybox-1.35.0-r13.trigger 16:39:24 Executing eudev-3.2.11-r0.trigger 16:39:24 OK: 330 MiB in 131 packages 16:39:26 Removing intermediate container e7d1d892798e 16:39:26 ---> a23ac74d0bd7 16:39:26 Step 8/13 : WORKDIR /device-usb-camera 16:39:26 ---> Running in 51b58d779d7b 16:39:26 Removing intermediate container 51b58d779d7b 16:39:26 ---> 4ec9c93f3471 16:39:26 Step 9/13 : COPY go.mod vendor* ./ 16:39:26 ---> 65d649d5e7f0 16:39:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:39:26 ---> Running in 9816492c2572 16:39:44 Removing intermediate container 9816492c2572 16:39:44 ---> a0c4aad96c1b 16:39:44 Step 11/13 : COPY . . 16:39:44 ---> a7261c97eb00 16:39:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:39:44 ---> Running in 193c07d8c541 16:39:44  % Total % Received % Xferd Average Speed Time Time Time Current 16:39:44 Dload Upload Total Spent Left Speed 16:39:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9030 0 --:--:-- --:--:-- --:--:-- 9076 16:39:44 Removing intermediate container 193c07d8c541 16:39:44 ---> 19a33a304c70 16:39:44 Step 13/13 : RUN ${MAKE} 16:39:44 ---> Running in a1ffc211a2b1 16:39:44 noop 16:39:44 Removing intermediate container a1ffc211a2b1 16:39:44 ---> 44d9d2d039d2 16:39:44 Successfully built 44d9d2d039d2 16:39:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:45 + docker inspect -f . ci-base-image-x86_64 16:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:45 prd-ubuntu20.04-docker-8c-8g-21379 does not seem to be running inside a container 16:39:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-72 -v /w/workspace/xfoundry_device-usb-camera_PR-72:/w/workspace/xfoundry_device-usb-camera_PR-72:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-72@tmp:/w/workspace/xfoundry_device-usb-camera_PR-72@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 ******** ci-base-image-x86_64 cat 16:39:46 $ docker top bafdd743a5de38f3f66f7552bfff3509bbd1c3afa87243b9be8269dc0d186f3e -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:46 + go version 16:39:46 go version go1.18.3 linux/amd64 [Pipeline] } 16:39:46 $ docker stop --time=1 bafdd743a5de38f3f66f7552bfff3509bbd1c3afa87243b9be8269dc0d186f3e 16:39:47 $ docker rm -f bafdd743a5de38f3f66f7552bfff3509bbd1c3afa87243b9be8269dc0d186f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:48 + docker inspect -f . ci-base-image-x86_64 16:39:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:48 prd-ubuntu20.04-docker-8c-8g-21379 does not seem to be running inside a container 16:39:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-72 -v /w/workspace/xfoundry_device-usb-camera_PR-72:/w/workspace/xfoundry_device-usb-camera_PR-72:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-72@tmp:/w/workspace/xfoundry_device-usb-camera_PR-72@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 ******** ci-base-image-x86_64 cat 16:39:49 $ docker top 3d8c6352a9d77e1e9b918875c035b7b4311727391ec57bfc68147f6647e738fa -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:49 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-72 [Pipeline] fileExists [Pipeline] sh 16:39:50 + make test 16:39:50 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:39:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:40:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:40:00 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 16:40:05 CGO_ENABLED=1 go vet ./... 16:40:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:40:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:40:08 ./bin/test-attribution-txt.sh [Pipeline] echo 16:40:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:40:09 $ docker stop --time=1 3d8c6352a9d77e1e9b918875c035b7b4311727391ec57bfc68147f6647e738fa 16:40:10 $ docker rm -f 3d8c6352a9d77e1e9b918875c035b7b4311727391ec57bfc68147f6647e738fa [Pipeline] // withDockerContainer [Pipeline] sh 16:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:40:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:40:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:40:12 + ls -al . 16:40:12 total 196 16:40:12 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 16:40 . 16:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:38 .. 16:40:12 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 16:40 .git 16:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 16:38 .github 16:40:12 -rw-rw-r-- 1 jenkins jenkins 414 Jul 28 16:38 .gitignore 16:40:12 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 16:38 .golangci.yml 16:40:12 -rw-rw-r-- 1 jenkins jenkins 77 Jul 28 16:38 .hadolint.yml 16:40:12 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 16:38 .semver 16:40:12 -rw-rw-r-- 1 jenkins jenkins 9065 Jul 28 16:38 Attribution.txt 16:40:12 -rw-rw-r-- 1 jenkins jenkins 1206 Jul 28 16:38 CHANGELOG.md 16:40:12 -rw-rw-r-- 1 jenkins jenkins 2410 Jul 28 16:38 Dockerfile 16:40:12 -rw-rw-r-- 1 jenkins jenkins 678 Jul 28 16:38 GOVERNANCE.md 16:40:12 -rw-rw-r-- 1 jenkins jenkins 659 Jul 28 16:38 Jenkinsfile 16:40:12 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 28 16:38 LICENSE 16:40:12 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 28 16:38 Makefile 16:40:12 -rw-rw-r-- 1 jenkins jenkins 622 Jul 28 16:38 OWNERS.md 16:40:12 -rw-rw-r-- 1 jenkins jenkins 12159 Jul 28 16:38 README.md 16:40:12 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 16:38 VERSION 16:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:38 bin 16:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 16:38 cmd 16:40:12 -rw-r--r-- 1 jenkins jenkins 29387 Jul 28 16:39 coverage.out 16:40:12 -rwxrwxr-x 1 jenkins jenkins 140 Jul 28 16:38 docker-entrypoint.sh 16:40:12 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 16:38 docs 16:40:12 -rw-rw-r-- 1 jenkins jenkins 3382 Jul 28 16:38 go.mod 16:40:12 -rw-rw-r-- 1 jenkins jenkins 35824 Jul 28 16:38 go.sum 16:40:12 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 16:38 internal 16:40:12 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 16:38 snap 16:40:12 -rw-rw-r-- 1 jenkins jenkins 231 Jul 28 16:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:12 + 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=ce7ed652c3a2329258d6a758ee38ff214e5d6d69 --label arch=amd64 --label version=0.0.0 . 16:40:12 Sending build context to Docker daemon 858.6kB 16:40:12 Step 1/35 : ARG BASE=golang:1.17-alpine3.15 16:40:12 Step 2/35 : FROM ${BASE} AS builder 16:40:12 ---> 44d9d2d039d2 16:40:12 Step 3/35 : ARG MAKE="make build" 16:40:12 ---> Running in d46888f75b38 16:40:13 Removing intermediate container d46888f75b38 16:40:13 ---> 8ea1711940e4 16:40:13 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:40:13 ---> Running in 489d707b7962 16:40:13 Removing intermediate container 489d707b7962 16:40:13 ---> 89cc15fbca6c 16:40:13 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:40:13 ---> Running in 7b4716091c37 16:40:13 Removing intermediate container 7b4716091c37 16:40:13 ---> fe3795e9f5fd 16:40:13 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:13 ---> Running in 21fbe55f8d48 16:40:14 Removing intermediate container 21fbe55f8d48 16:40:14 ---> d40463104f88 16:40:14 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:14 ---> Running in 914cb522d223 16:40:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:40:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:40:15 OK: 330 MiB in 131 packages 16:40:15 Removing intermediate container 914cb522d223 16:40:15 ---> e473e091bba4 16:40:15 Step 8/35 : WORKDIR /device-usb-camera 16:40:16 ---> Running in 4563a451e230 16:40:16 Removing intermediate container 4563a451e230 16:40:16 ---> ee5450a4dcae 16:40:16 Step 9/35 : COPY go.mod vendor* ./ 16:40:16 ---> 85083955b074 16:40:16 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:16 ---> Running in 1044ae640747 16:40:16 Removing intermediate container 1044ae640747 16:40:16 ---> c9fc30c11678 16:40:16 Step 11/35 : COPY . . 16:40:17 ---> e2536a882916 16:40:17 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:40:17 ---> Running in d242c6f48ae1 16:40:17  % Total % Received % Xferd Average Speed Time Time Time Current 16:40:17  Dload Upload Total Spent Left Speed 16:40:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47995 0 --:--:-- --:--:-- --:--:-- 48272 16:40:17 Removing intermediate container d242c6f48ae1 16:40:17 ---> b10aa88d410e 16:40:17 Step 13/35 : RUN ${MAKE} 16:40:17 ---> Running in 8723fe7b0c06 16:40:18 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:40:36 Removing intermediate container 8723fe7b0c06 16:40:36 ---> e9d478064ed1 16:40:36 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:40:37 v0.18.4: Pulling from aler9/rtsp-simple-server 16:40:37 af6660deedbd: Pulling fs layer 16:40:37 97cd0a44c592: Pulling fs layer 16:40:37 97cd0a44c592: Verifying Checksum 16:40:37 97cd0a44c592: Download complete 16:40:39 af6660deedbd: Verifying Checksum 16:40:39 af6660deedbd: Download complete 16:40:39 af6660deedbd: Pull complete 16:40:39 97cd0a44c592: Pull complete 16:40:39 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:40:39 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:40:39 ---> fea57e182299 16:40:39 Step 15/35 : FROM alpine:3.15 16:40:39 3.15: Pulling from library/alpine 16:40:39 ab6db1bc80d0: Pulling fs layer 16:40:40 ab6db1bc80d0: Verifying Checksum 16:40:40 ab6db1bc80d0: Download complete 16:40:40 ab6db1bc80d0: Pull complete 16:40:40 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 16:40:40 Status: Downloaded newer image for alpine:3.15 16:40:40 ---> 2720e26172a0 16:40:40 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:40:40 ---> Running in f62e40c931d6 16:40:40 Removing intermediate container f62e40c931d6 16:40:40 ---> fcda8d64cef6 16:40:40 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:40:40 ---> Running in 84abca53e0b4 16:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:40:40 (1/74) Installing dumb-init (1.2.5-r1) 16:40:40 (2/74) Installing sdl2 (2.0.16-r4) 16:40:40 (3/74) Installing libxau (1.0.9-r0) 16:40:41 (4/74) Installing libmd (1.0.3-r0) 16:40:41 (5/74) Installing libbsd (0.11.3-r1) 16:40:41 (6/74) Installing libxdmcp (1.1.3-r0) 16:40:41 (7/74) Installing libxcb (1.14-r2) 16:40:41 (8/74) Installing libx11 (1.7.2-r0) 16:40:41 (9/74) Installing aom-libs (3.2.0-r0) 16:40:41 (10/74) Installing alsa-lib (1.2.5.1-r1) 16:40:41 (11/74) Installing expat (2.4.7-r0) 16:40:41 (12/74) Installing brotli-libs (1.0.9-r5) 16:40:41 (13/74) Installing libbz2 (1.0.8-r1) 16:40:41 (14/74) Installing libpng (1.6.37-r1) 16:40:41 (15/74) Installing freetype (2.11.1-r2) 16:40:41 (16/74) Installing libuuid (2.37.4-r0) 16:40:41 (17/74) Installing fontconfig (2.13.1-r4) 16:40:41 (18/74) Installing fribidi (1.0.11-r0) 16:40:41 (19/74) Installing libffi (3.4.2-r1) 16:40:41 (20/74) Installing libintl (0.21-r0) 16:40:41 (21/74) Installing libblkid (2.37.4-r0) 16:40:41 (22/74) Installing libmount (2.37.4-r0) 16:40:41 (23/74) Installing pcre (8.45-r1) 16:40:41 (24/74) Installing glib (2.70.1-r0) 16:40:41 (25/74) Installing graphite2 (1.3.14-r0) 16:40:41 (26/74) Installing harfbuzz (3.0.0-r2) 16:40:41 (27/74) Installing libass (0.15.2-r0) 16:40:41 (28/74) Installing libdav1d (0.9.2-r0) 16:40:41 (29/74) Installing gmp (6.2.1-r1) 16:40:41 (30/74) Installing nettle (3.7.3-r0) 16:40:41 (31/74) Installing p11-kit (0.24.0-r1) 16:40:41 (32/74) Installing libtasn1 (4.18.0-r0) 16:40:41 (33/74) Installing libunistring (0.9.10-r1) 16:40:41 (34/74) Installing gnutls (3.7.1-r0) 16:40:41 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 16:40:41 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 16:40:41 (37/74) Installing lame (3.100-r0) 16:40:41 (38/74) Installing opus (1.3.1-r1) 16:40:41 (39/74) Installing libgomp (10.3.1_git20211027-r0) 16:40:41 (40/74) Installing soxr (0.1.3-r2) 16:40:41 (41/74) Installing libgcc (10.3.1_git20211027-r0) 16:40:41 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 16:40:41 (43/74) Installing libsrt (1.4.2-r1) 16:40:41 (44/74) Installing libssh (0.9.6-r1) 16:40:41 (45/74) Installing libogg (1.3.5-r0) 16:40:41 (46/74) Installing libtheora (1.1.1-r16) 16:40:41 (47/74) Installing libjpeg-turbo (2.1.2-r0) 16:40:41 (48/74) Installing v4l-utils-libs (1.22.1-r1) 16:40:41 (49/74) Installing libxext (1.3.4-r0) 16:40:41 (50/74) Installing libxfixes (6.0.0-r0) 16:40:41 (51/74) Installing libpciaccess (0.16-r0) 16:40:41 (52/74) Installing libdrm (2.4.109-r0) 16:40:41 (53/74) Installing wayland-libs-client (1.19.0-r1) 16:40:41 (54/74) Installing libva (2.13.0-r0) 16:40:41 (55/74) Installing libvdpau (1.4-r0) 16:40:41 (56/74) Installing vidstab (1.1.0-r1) 16:40:41 (57/74) Installing libvorbis (1.3.7-r0) 16:40:41 (58/74) Installing libvpx (1.10.0-r0) 16:40:41 (59/74) Installing vulkan-loader (1.2.196-r0) 16:40:41 (60/74) Installing libwebp (1.2.2-r0) 16:40:41 (61/74) Installing x264-libs (20210613-r0) 16:40:41 (62/74) Installing x265-libs (3.5-r0) 16:40:41 (63/74) Installing xvidcore (1.3.7-r1) 16:40:41 (64/74) Installing ffmpeg-libs (4.4.1-r2) 16:40:42 (65/74) Installing ffmpeg (4.4.1-r2) 16:40:42 (66/74) Installing udev-init-scripts (35-r0) 16:40:42 Executing udev-init-scripts-35-r0.post-install 16:40:42 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 16:40:42 (68/74) Installing xz-libs (5.2.5-r1) 16:40:42 (69/74) Installing zstd-libs (1.5.0-r0) 16:40:42 (70/74) Installing kmod-libs (29-r2) 16:40:42 (71/74) Installing eudev (3.2.11_pre1-r0) 16:40:42 (72/74) Installing libsodium (1.0.18-r0) 16:40:42 (73/74) Installing libzmq (4.3.4-r0) 16:40:42 (74/74) Installing zeromq (4.3.4-r0) 16:40:42 Executing busybox-1.34.1-r7.trigger 16:40:42 Executing eudev-3.2.11_pre1-r0.trigger 16:40:42 OK: 78 MiB in 88 packages 16:40:43 Removing intermediate container 84abca53e0b4 16:40:43 ---> 50defd817f3a 16:40:43 Step 18/35 : WORKDIR / 16:40:43 ---> Running in a69ab559abec 16:40:43 Removing intermediate container a69ab559abec 16:40:43 ---> c86f258293e1 16:40:43 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:40:44 ---> 65d5689a5382 16:40:44 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:40:44 ---> 7b018aee6223 16:40:44 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:40:44 ---> 253cb5692394 16:40:44 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:40:44 ---> 2b4f511b0248 16:40:44 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:40:45 ---> 14ba72c2e554 16:40:45 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:40:45 ---> 75eb2a84cec2 16:40:45 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:40:45 ---> 392e26bc00bd 16:40:45 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:40:45 ---> Running in 7af6ab5166f7 16:40:46 Removing intermediate container 7af6ab5166f7 16:40:46 ---> 65bee6acb1cd 16:40:46 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:40:46 ---> Running in 26f8ee0cc6a8 16:40:46 Removing intermediate container 26f8ee0cc6a8 16:40:46 ---> b0d4f9f84435 16:40:46 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:40:46 ---> Running in 6404db3c8623 16:40:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21380 in /w/workspace/xfoundry_device-usb-camera_PR-72 [Pipeline] { 16:40:47 Removing intermediate container 6404db3c8623 16:40:47 ---> de3bd7d73f9e 16:40:47 Step 29/35 : EXPOSE 59983 16:40:47 ---> Running in bc01fef32ae0 16:40:47 Removing intermediate container bc01fef32ae0 16:40:47 ---> 2c115ed7f384 16:40:47 Step 30/35 : EXPOSE 8554 [Pipeline] ws 16:40:47 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 16:40:47 ---> Running in a124dde1bac6 16:40:47 Removing intermediate container a124dde1bac6 16:40:47 ---> 8efaacc104c5 16:40:47 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:40:47 ---> Running in ddb2c70b748a 16:40:47 Removing intermediate container ddb2c70b748a 16:40:47 ---> e97b94fcd573 16:40:47 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:40:47 ---> Running in 068db1c4925c [Pipeline] { [Pipeline] sh 16:40:48 Removing intermediate container 068db1c4925c 16:40:48 ---> 798f554d4b85 16:40:48 Step 33/35 : LABEL arch=amd64 16:40:48 ---> Running in 9b676f4d8a10 16:40:48 Removing intermediate container 9b676f4d8a10 16:40:48 ---> bfaeba2afd40 16:40:48 Step 34/35 : LABEL git_sha=ce7ed652c3a2329258d6a758ee38ff214e5d6d69 16:40:48 ---> Running in 3ded96e395ab 16:40:48 Removing intermediate container 3ded96e395ab 16:40:48 ---> 93b5c04c031c 16:40:48 Step 35/35 : LABEL version=0.0.0 16:40:48 ---> Running in b4eebd9868b9 16:40:48 Removing intermediate container b4eebd9868b9 16:40:48 ---> f54d99afa983 16:40:48 [Warning] One or more build-args [ARCH] were not consumed 16:40:48 Successfully built f54d99afa983 16:40:48 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) 16:40:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:40:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:40:50 Dload Upload Total Spent Left Speed 16:40:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 52476 0 --:--:-- --:--:-- --:--:-- 52476 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:40:50 16:40:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 16:40:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:40:51 latest: Pulling from edgex-lftools-log-publisher 16:40:51 5eb5b503b376: Pulling fs layer 16:40:51 5c69ac0246d0: Pulling fs layer 16:40:51 ec43610c2a17: Pulling fs layer 16:40:51 3a2ae6a8a46f: Pulling fs layer 16:40:51 33b1e0a273af: Pulling fs layer 16:40:51 5d3b04190fa2: Pulling fs layer 16:40:51 2f39f015ded8: Pulling fs layer 16:40:51 33b1e0a273af: Waiting 16:40:51 5d3b04190fa2: Waiting 16:40:51 2f39f015ded8: Waiting 16:40:51 3a2ae6a8a46f: Waiting 16:40:51 5c69ac0246d0: Download complete 16:40:51 3a2ae6a8a46f: Verifying Checksum 16:40:51 3a2ae6a8a46f: Download complete 16:40:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:40:51 ec43610c2a17: Verifying Checksum 16:40:51 ec43610c2a17: Download complete 16:40:51 33b1e0a273af: Verifying Checksum 16:40:51 33b1e0a273af: Download complete 16:40:51 5d3b04190fa2: Verifying Checksum 16:40:51 5d3b04190fa2: Download complete 16:40:51 5eb5b503b376: Verifying Checksum 16:40:51 5eb5b503b376: Download complete 16:40:51 + sudo tee /etc/docker/daemon.new 16:40:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:40:51 { 16:40:51 "registry-mirrors": [ 16:40:51 "https://nexus3.edgexfoundry.org:10001" 16:40:51 ], 16:40:51 "bip": "10.250.0.254/24", 16:40:51 "hosts": [ 16:40:51 "tcp://0.0.0.0:5555", 16:40:51 "unix:///var/run/docker.sock" 16:40:51 ], 16:40:51 "mtu": 1458, 16:40:51 "selinux-enabled": true, 16:40:51 "seccomp-profile": "/etc/docker/seccomp.json" 16:40:51 } [Pipeline] sh 16:40:52 2f39f015ded8: Download complete 16:40:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:40:52 + sudo service docker restart 16:40:53 5eb5b503b376: Pull complete 16:40:53 5c69ac0246d0: Pull complete 16:40:53 ec43610c2a17: Pull complete 16:40:53 3a2ae6a8a46f: Pull complete 16:40:53 33b1e0a273af: Pull complete 16:40:53 5d3b04190fa2: Pull complete 16:40:58 2f39f015ded8: Pull complete 16:40:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:40:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:58 prd-ubuntu20.04-docker-8c-8g-21379 does not seem to be running inside a container 16:40:58 $ 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-72 -v /w/workspace/xfoundry_device-usb-camera_PR-72:/w/workspace/xfoundry_device-usb-camera_PR-72:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-72@tmp:/w/workspace/xfoundry_device-usb-camera_PR-72@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 16:41:00 $ docker top 3882ff38d8c5fc8dc61c40973fd4f91d0b1640924d0ee72ea490e4dfea036429 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:00 ---> job-cost.sh 16:41:00 lf-activate-venv: SKIPPING 16:41:00 INFO: No Stack... 16:41:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:41:01 INFO: Archiving Costs [Pipeline] sh 16:41:02 + cat /w/workspace/xfoundry_device-usb-camera_PR-72/archives/cost.csv 16:41:02 + cut -d, -f6 [Pipeline] lock 16:41:02 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] 16:41:02 Resource [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] did not exist. Created. 16:41:02 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:02 + echo total: 0.2199999988079071 [Pipeline] stash 16:41:02 Stashed 1 file(s) [Pipeline] } 16:41:02 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:02 $ docker stop --time=1 3882ff38d8c5fc8dc61c40973fd4f91d0b1640924d0ee72ea490e4dfea036429 16:41:03 $ docker rm -f 3882ff38d8c5fc8dc61c40973fd4f91d0b1640924d0ee72ea490e4dfea036429 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:11 provisioning config files... 16:41:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6516903280918208860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:11 ---> docker-login.sh 16:41:11 nexus3.edgexfoundry.org:10001 16:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:12 Configure a credential helper to remove this warning. See 16:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:12 16:41:12 Login Succeeded 16:41:12 nexus3.edgexfoundry.org:10002 16:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:12 Configure a credential helper to remove this warning. See 16:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:12 16:41:12 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10003 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10004 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:14 Configure a credential helper to remove this warning. See 16:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:14 16:41:14 Login Succeeded 16:41:14 docker.io 16:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:14 Configure a credential helper to remove this warning. See 16:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:14 16:41:14 Login Succeeded 16:41:14 ---> docker-login.sh ends [Pipeline] } 16:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:15 ========================================================= 16:41:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:41:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 16:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:41:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:41:16 b3c136eddcbf: Pulling fs layer 16:41:16 c0a3192eca97: Pulling fs layer 16:41:16 a050256f5b6f: Pulling fs layer 16:41:16 656be50a0ddc: Pulling fs layer 16:41:16 2bbca73fdf42: Pulling fs layer 16:41:16 46d945488cbd: Pulling fs layer 16:41:16 8a5474983e97: Pulling fs layer 16:41:16 329c88fbcd65: Pulling fs layer 16:41:16 2bbca73fdf42: Waiting 16:41:16 46d945488cbd: Waiting 16:41:16 8a5474983e97: Waiting 16:41:16 329c88fbcd65: Waiting 16:41:16 656be50a0ddc: Waiting 16:41:16 a050256f5b6f: Download complete 16:41:16 c0a3192eca97: Verifying Checksum 16:41:16 c0a3192eca97: Download complete 16:41:16 2bbca73fdf42: Verifying Checksum 16:41:16 2bbca73fdf42: Download complete 16:41:16 46d945488cbd: Verifying Checksum 16:41:16 46d945488cbd: Download complete 16:41:16 b3c136eddcbf: Verifying Checksum 16:41:16 b3c136eddcbf: Download complete 16:41:17 b3c136eddcbf: Pull complete 16:41:17 329c88fbcd65: Verifying Checksum 16:41:17 329c88fbcd65: Download complete 16:41:17 c0a3192eca97: Pull complete 16:41:17 a050256f5b6f: Pull complete 16:41:18 8a5474983e97: Verifying Checksum 16:41:18 8a5474983e97: Download complete 16:41:18 656be50a0ddc: Verifying Checksum 16:41:18 656be50a0ddc: Download complete 16:41:33 656be50a0ddc: Pull complete 16:41:33 2bbca73fdf42: Pull complete 16:41:33 46d945488cbd: Pull complete 16:41:38 8a5474983e97: Pull complete 16:41:39 329c88fbcd65: Pull complete 16:41:39 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:41:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:41:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 16:41:40 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:40 + docker inspect -f . ci-base-image-arm64 16:41:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:40 prd-ubuntu20.04-docker-arm64-4c-16g-21380 does not seem to be running inside a container 16:41:40 $ 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 ******** ci-base-image-arm64 cat 16:41:43 $ docker top 04b3326181b494dfb975abb8fc13782089029e278d961f23c7567d58475c8f11 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:44 + go version 16:41:44 go version go1.18.3 linux/arm64 [Pipeline] } 16:41:44 $ docker stop --time=1 04b3326181b494dfb975abb8fc13782089029e278d961f23c7567d58475c8f11 16:41:46 $ docker rm -f 04b3326181b494dfb975abb8fc13782089029e278d961f23c7567d58475c8f11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:47 + docker inspect -f . ci-base-image-arm64 16:41:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:47 prd-ubuntu20.04-docker-arm64-4c-16g-21380 does not seem to be running inside a container 16:41:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-arm64 cat 16:41:49 $ docker top 2fdba54ed4e5ced06e867deaeb4b1bff1b83e57292234c8f6e13afb98a2d29ce -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:50 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 16:41:51 + make test 16:41:51 make: *** No rule to make target 'test'. Stop. [Pipeline] } 16:41:51 $ docker stop --time=1 2fdba54ed4e5ced06e867deaeb4b1bff1b83e57292234c8f6e13afb98a2d29ce 16:41:52 $ docker rm -f 2fdba54ed4e5ced06e867deaeb4b1bff1b83e57292234c8f6e13afb98a2d29ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:54 16:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:54 arm64: Pulling from edgex-lftools-log-publisher 16:41:54 8998bd30e6a1: Pulling fs layer 16:41:54 04944245beec: Pulling fs layer 16:41:54 699f458cf7ca: Pulling fs layer 16:41:54 765212b225bb: Pulling fs layer 16:41:54 f23df028b6ca: Pulling fs layer 16:41:54 d65c8cfc05b1: Pulling fs layer 16:41:54 2437ff75d9bd: Pulling fs layer 16:41:54 f23df028b6ca: Waiting 16:41:54 d65c8cfc05b1: Waiting 16:41:54 2437ff75d9bd: Waiting 16:41:54 765212b225bb: Waiting 16:41:54 04944245beec: Verifying Checksum 16:41:54 04944245beec: Download complete 16:41:54 765212b225bb: Verifying Checksum 16:41:54 765212b225bb: Download complete 16:41:54 f23df028b6ca: Verifying Checksum 16:41:54 f23df028b6ca: Download complete 16:41:54 d65c8cfc05b1: Verifying Checksum 16:41:54 d65c8cfc05b1: Download complete 16:41:55 699f458cf7ca: Verifying Checksum 16:41:55 699f458cf7ca: Download complete 16:41:55 8998bd30e6a1: Verifying Checksum 16:41:55 8998bd30e6a1: Download complete 16:41:57 2437ff75d9bd: Verifying Checksum 16:41:57 2437ff75d9bd: Download complete 16:42:00 8998bd30e6a1: Pull complete 16:42:00 04944245beec: Pull complete 16:42:02 699f458cf7ca: Pull complete 16:42:02 765212b225bb: Pull complete 16:42:03 f23df028b6ca: Pull complete 16:42:03 d65c8cfc05b1: Pull complete 16:42:18 2437ff75d9bd: Pull complete 16:42:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:42:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:42:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:19 prd-ubuntu20.04-docker-arm64-4c-16g-21380 does not seem to be running inside a container 16:42:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:42:21 $ docker top db5db0631eacd723fe258ac66f5bbffc0e1e18ef7c2d46380188b890b352b7f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:42:22 ---> job-cost.sh 16:42:22 lf-activate-venv: SKIPPING 16:42:22 INFO: No Stack... 16:42:23 INFO: Retrieving Pricing Info for: v3-standard-4 16:42:23 INFO: Archiving Costs [Pipeline] sh 16:42:24 + cut -d,+ -f6 16:42:24 cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock 16:42:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] 16:42:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] did not exist. Created. 16:42:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:42:25 /w/workspace/device-usb-camera/1@tmp/durable-ded94511/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:42:25 + echo total: 0.10999999940395355 [Pipeline] stash 16:42:26 Warning: overwriting stash ‘stack-cost’ 16:42:26 Stashed 1 file(s) [Pipeline] } 16:42:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-72-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:42:26 $ docker stop --time=1 db5db0631eacd723fe258ac66f5bbffc0e1e18ef7c2d46380188b890b352b7f0 16:42:28 $ docker rm -f db5db0631eacd723fe258ac66f5bbffc0e1e18ef7c2d46380188b890b352b7f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:42:28 Failed in branch arm64 [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 16:42:30 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-72/archives ] 16:42:30 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-72/archives 16:42:30 total 16 16:42:30 drwxr-xr-x 3 root root 4096 Jul 28 16:41 . 16:42:30 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 16:41 .. 16:42:30 drwxr-xr-x 2 root root 4096 Jul 28 16:41 cost 16:42:30 -rw-r--r-- 1 root root 88 Jul 28 16:41 cost.csv 16:42:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-72/archives 16:42:30 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-72/archives 16:42:30 total 16 16:42:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 16:41 . 16:42:30 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 16:41 .. 16:42:30 drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 16:41 cost 16:42:30 -rw-r--r-- 1 jenkins jenkins 88 Jul 28 16:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:42:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:42:31 ---> package-listing.sh 16:42:31 ++ facter osfamily 16:42:31 ++ tr '[:upper:]' '[:lower:]' 16:42:32 + OS_FAMILY=debian 16:42:32 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-72 16:42:32 + START_PACKAGES=/tmp/packages_start.txt 16:42:32 + END_PACKAGES=/tmp/packages_end.txt 16:42:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:32 + PACKAGES=/tmp/packages_start.txt 16:42:32 + '[' /w/workspace/xfoundry_device-usb-camera_PR-72 ']' 16:42:32 + PACKAGES=/tmp/packages_end.txt 16:42:32 + case "${OS_FAMILY}" in 16:42:32 + dpkg -l 16:42:32 + grep '^ii' 16:42:32 + '[' -f /tmp/packages_start.txt ']' 16:42:32 + '[' -f /tmp/packages_end.txt ']' 16:42:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:32 + '[' /w/workspace/xfoundry_device-usb-camera_PR-72 ']' 16:42:32 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-72/archives/ 16:42:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-72/archives/ [Pipeline] echo 16:42:32 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-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:42:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:33 prd-ubuntu20.04-docker-8c-8g-21379 does not seem to be running inside a container 16:42:33 $ 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-72/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-72 -v /w/workspace/xfoundry_device-usb-camera_PR-72:/w/workspace/xfoundry_device-usb-camera_PR-72:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-72@tmp:/w/workspace/xfoundry_device-usb-camera_PR-72@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-lftools-log-publisher:latest cat 16:42:33 $ docker top a1bc7c6af6b99112cf316829d58f6ab991afc5f79a776dcc231febdc96791700 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:34 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:34 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:34 + ls /var/log/sa-host 16:42:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:34 provisioning config files... 16:42:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-72@tmp/config7803234459211741972tmp [Pipeline] { [Pipeline] echo 16:42:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:35 ---> create-netrc.sh [Pipeline] } 16:42:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:35 ---> python-tools-install.sh [Pipeline] echo 16:42:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:36 ---> sudo-logs.sh 16:42:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:36 ---> job-cost.sh 16:42:36 lf-activate-venv: SKIPPING 16:42:36 DEBUG: total: 0.2199999988079071 16:42:36 INFO: Retrieving Stack Cost... 16:42:36 INFO: Retrieving Pricing Info for: v3-standard-8 16:42:37 INFO: Archiving Costs [Pipeline] echo 16:42:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:42:37 ---> logs-deploy.sh 16:42:37 lf-activate-venv: SKIPPING 16:42:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-72/1 16:42:37 INFO: archiving workspace using pattern(s): 16:42:38 Archives upload complete. 16:42:38 INFO: archiving logs to Nexus