Pull request #54 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from f17eea458e7c0a5b75fc74600d39b6c0b2d99944+7a78c2b7239740d78d841f7c6c5822fe465b85ee (4acf59bec7d846413702b408173931ceead18bd1) 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-ssh17233769901794456101.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-ssh17415601109567216171.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1595802983551111120.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 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-ssh10288633579558338308.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3947097221048221527.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-20566’ is offline Running on prd-ubuntu20.04-docker-8c-8g-20568 in /w/workspace/xfoundry_device-usb-camera_PR-54 [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-54 # 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7a78c2b7239740d78d841f7c6c5822fe465b85ee into PR head commit f17eea458e7c0a5b75fc74600d39b6c0b2d99944 Merge succeeded, producing f17eea458e7c0a5b75fc74600d39b6c0b2d99944 Checking out Revision f17eea458e7c0a5b75fc74600d39b6c0b2d99944 (PR-54) > git config core.sparsecheckout # timeout=10 > git checkout -f f17eea458e7c0a5b75fc74600d39b6c0b2d99944 # 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 7a78c2b7239740d78d841f7c6c5822fe465b85ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f17eea458e7c0a5b75fc74600d39b6c0b2d99944 # timeout=10 Commit message: "build: fix go mod version" > git rev-list --no-walk 7f920b7678dd92bc48225cf2416986620b85c3ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:19 ========================================================= 09:20:19 EdgeX Global Pipelines Version Info 09:20:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:20 ------------------- 09:20:20 stable info: 09:20:20 ------------------- 09:20:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 09:20:20 Message: update stable to v1.0.238 09:20:20 ------------------- 09:20:20 experimental info: 09:20:20 ------------------- 09:20:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 09:20:20 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f17eea4 [Pipeline] echo 09:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:21 provisioning config files... 09:20:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config1367734095270749306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:21 ---> docker-login.sh 09:20:21 nexus3.edgexfoundry.org:10001 09:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:22 Configure a credential helper to remove this warning. See 09:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:22 09:20:22 Login Succeeded 09:20:22 nexus3.edgexfoundry.org:10002 09:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:22 Configure a credential helper to remove this warning. See 09:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:22 09:20:22 Login Succeeded 09:20:22 nexus3.edgexfoundry.org:10003 09:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:22 Configure a credential helper to remove this warning. See 09:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:22 09:20:22 Login Succeeded 09:20:22 nexus3.edgexfoundry.org:10004 09:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:22 Configure a credential helper to remove this warning. See 09:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:22 09:20:22 Login Succeeded 09:20:22 docker.io 09:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:23 Configure a credential helper to remove this warning. See 09:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:23 09:20:23 Login Succeeded 09:20:23 ---> docker-login.sh ends [Pipeline] } 09:20:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:20:23 + git rev-list -1 --merges f17eea458e7c0a5b75fc74600d39b6c0b2d99944~1..f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [Pipeline] echo 09:20:23 -----------> git rev-list -1 --merges f17eea458e7c0a5b75fc74600d39b6c0b2d99944~1..f17eea458e7c0a5b75fc74600d39b6c0b2d99944 f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [false] [Pipeline] sh 09:20:24 + git log --format=format:%s -1 f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [Pipeline] echo 09:20:24 ========================================================= 09:20:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:20:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:24 + git log --format=format:%s -1 f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [Pipeline] echo 09:20:24 [semverPrep] GIT_COMMIT: f17eea458e7c0a5b75fc74600d39b6c0b2d99944, Commit Message: build: fix go mod version [Pipeline] echo 09:20:24 [semverPrep] This is not a build commit. [Pipeline] sh 09:20:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:24 + grep -v github /etc/ssh/ssh_known_hosts 09:20:24 + [ -e /tmp/ssh_known_hosts ] 09:20:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:20:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:20:24 + sudo tee -a /etc/ssh/ssh_known_hosts 09:20:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:20:25 09:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:20:25 0.1.4: Pulling from edgex-devops/py-git-semver 09:20:25 b85a868b505f: Pulling fs layer 09:20:25 e2be974225ed: Pulling fs layer 09:20:25 339a4e72a1f5: Pulling fs layer 09:20:25 988bab9f4d93: Pulling fs layer 09:20:25 1469e6f7b9e6: Pulling fs layer 09:20:25 eaf3925da568: Pulling fs layer 09:20:25 bab4dde63d76: Pulling fs layer 09:20:25 bde34c3a00c8: Pulling fs layer 09:20:25 b352a97aabf1: Pulling fs layer 09:20:25 4872d77fe225: Pulling fs layer 09:20:25 5851b861e8e6: Pulling fs layer 09:20:25 988bab9f4d93: Waiting 09:20:25 b352a97aabf1: Waiting 09:20:25 1469e6f7b9e6: Waiting 09:20:25 eaf3925da568: Waiting 09:20:25 bab4dde63d76: Waiting 09:20:25 5851b861e8e6: Waiting 09:20:25 4872d77fe225: Waiting 09:20:25 bde34c3a00c8: Waiting 09:20:25 e2be974225ed: Verifying Checksum 09:20:25 e2be974225ed: Download complete 09:20:25 988bab9f4d93: Verifying Checksum 09:20:25 988bab9f4d93: Download complete 09:20:25 1469e6f7b9e6: Verifying Checksum 09:20:25 1469e6f7b9e6: Download complete 09:20:25 339a4e72a1f5: Verifying Checksum 09:20:25 339a4e72a1f5: Download complete 09:20:25 bde34c3a00c8: Verifying Checksum 09:20:25 bde34c3a00c8: Download complete 09:20:25 b352a97aabf1: Verifying Checksum 09:20:25 b352a97aabf1: Download complete 09:20:25 4872d77fe225: Download complete 09:20:26 b85a868b505f: Download complete 09:20:26 5851b861e8e6: Verifying Checksum 09:20:26 5851b861e8e6: Download complete 09:20:26 bab4dde63d76: Verifying Checksum 09:20:26 bab4dde63d76: Download complete 09:20:27 b85a868b505f: Pull complete 09:20:27 e2be974225ed: Pull complete 09:20:28 339a4e72a1f5: Pull complete 09:20:28 988bab9f4d93: Pull complete 09:20:28 1469e6f7b9e6: Pull complete 09:20:28 eaf3925da568: Pull complete 09:20:30 bab4dde63d76: Pull complete 09:20:30 bde34c3a00c8: Pull complete 09:20:30 b352a97aabf1: Pull complete 09:20:30 4872d77fe225: Pull complete 09:20:30 5851b861e8e6: Pull complete 09:20:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:20:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:20:31 prd-ubuntu20.04-docker-8c-8g-20568 does not seem to be running inside a container 09:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:20:32 $ docker top 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b -eo pid,comm 09:20:32 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). 09:20:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:32 [ssh-agent] Looking for ssh-agent implementation... 09:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:33 $ docker exec 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b ssh-agent 09:20:33 SSH_AUTH_SOCK=/tmp/ssh-o1kxbdHofaeI/agent.32 09:20:33 SSH_AGENT_PID=38 09:20:33 Running ssh-add (command line suppressed) 09:20:33 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_3126342596674570669.key (/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_3126342596674570669.key) 09:20:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:33 + git tag --points-at HEAD [Pipeline] } 09:20:33 $ docker exec --env ******** --env ******** 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b ssh-agent -k 09:20:33 unset SSH_AUTH_SOCK; 09:20:33 unset SSH_AGENT_PID; 09:20:33 echo Agent pid 38 killed; 09:20:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:33 [ssh-agent] Looking for ssh-agent implementation... 09:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:33 $ docker exec 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b ssh-agent 09:20:34 SSH_AUTH_SOCK=/tmp/ssh-4zNDPh50Eu1s/agent.71 09:20:34 SSH_AGENT_PID=78 09:20:34 Running ssh-add (command line suppressed) 09:20:34 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_7510260476683878397.key (/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/private_key_7510260476683878397.key) 09:20:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:34 + git semver init 09:20:34 2022-07-20 09:20:34,704 [run_init] DEBUG init version:0.0.0 force:False 09:20:34 2022-07-20 09:20:34,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver 09:20:34 2022-07-20 09:20:34,705 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-54/.semver 09:20:34 2022-07-20 09:20:34,705 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-54/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54, universal_newlines=False, shell=None, istream=None) 09:20:35 2022-07-20 09:20:35,309 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-54/.git/info/exclude 09:20:35 2022-07-20 09:20:35,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 with force:False 09:20:35 2022-07-20 09:20:35,310 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 09:20:35 2022-07-20 09:20:35,314 [execute] INFO git cat-file --batch-check 09:20:35 2022-07-20 09:20:35,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54/.semver, universal_newlines=False, shell=None, istream=) 09:20:35 2022-07-20 09:20:35,322 [execute] INFO git cat-file --batch 09:20:35 2022-07-20 09:20:35,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-54/.semver, universal_newlines=False, shell=None, istream=) 09:20:35 2022-07-20 09:20:35,329 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-54/.semver/PR-54 09:20:35 0.0.0 [Pipeline] } 09:20:35 $ docker exec --env ******** --env ******** 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b ssh-agent -k 09:20:35 unset SSH_AUTH_SOCK; 09:20:35 unset SSH_AGENT_PID; 09:20:35 echo Agent pid 78 killed; 09:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:36 + git semver [Pipeline] } 09:20:36 $ docker stop --time=1 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b 09:20:37 $ docker rm -f 82363624b0716e37a13c8a3520d08d08d51441cb9f0bbd94ce8c895c0d40573b [Pipeline] // withDockerContainer [Pipeline] sh 09:20:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:20:38 Stashed 1 file(s) [Pipeline] echo 09:20:38 [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 09:20:38 provisioning config files... 09:20:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config3690755115654300615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:38 ---> docker-login.sh 09:20:38 nexus3.edgexfoundry.org:10001 09:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:38 Configure a credential helper to remove this warning. See 09:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:38 09:20:38 Login Succeeded 09:20:38 nexus3.edgexfoundry.org:10002 09:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:39 Configure a credential helper to remove this warning. See 09:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:39 09:20:39 Login Succeeded 09:20:39 nexus3.edgexfoundry.org:10003 09:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:39 Configure a credential helper to remove this warning. See 09:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:39 09:20:39 Login Succeeded 09:20:39 nexus3.edgexfoundry.org:10004 09:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:39 Configure a credential helper to remove this warning. See 09:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:39 09:20:39 Login Succeeded 09:20:39 docker.io 09:20:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:39 Configure a credential helper to remove this warning. See 09:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:39 09:20:39 Login Succeeded 09:20:39 ---> docker-login.sh ends [Pipeline] } 09:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:20:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:20:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:20:39 ========================================================= 09:20:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:20:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:20:39 + 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 . 09:20:39 Sending build context to Docker daemon 745.5kB 09:20:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:20:39 Step 2/12 : FROM ${BASE} AS builder 09:20:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:20:39 2408cc74d12b: Pulling fs layer 09:20:39 ea60b727a1ce: Pulling fs layer 09:20:39 30c4a7721957: Pulling fs layer 09:20:39 370296b7ddb6: Pulling fs layer 09:20:39 7c6cee850709: Pulling fs layer 09:20:39 39a5fcdaea64: Pulling fs layer 09:20:39 d94ebbe4e438: Pulling fs layer 09:20:39 bcfd1f05c69d: Pulling fs layer 09:20:39 59ccb84bbe0f: Pulling fs layer 09:20:39 d94ebbe4e438: Waiting 09:20:39 370296b7ddb6: Waiting 09:20:39 7c6cee850709: Waiting 09:20:39 39a5fcdaea64: Waiting 09:20:39 59ccb84bbe0f: Waiting 09:20:39 bcfd1f05c69d: Waiting 09:20:39 30c4a7721957: Verifying Checksum 09:20:39 30c4a7721957: Download complete 09:20:39 ea60b727a1ce: Verifying Checksum 09:20:39 ea60b727a1ce: Download complete 09:20:39 7c6cee850709: Download complete 09:20:40 39a5fcdaea64: Download complete 09:20:40 2408cc74d12b: Verifying Checksum 09:20:40 2408cc74d12b: Download complete 09:20:40 d94ebbe4e438: Verifying Checksum 09:20:40 d94ebbe4e438: Download complete 09:20:40 2408cc74d12b: Pull complete 09:20:40 ea60b727a1ce: Pull complete 09:20:40 30c4a7721957: Pull complete 09:20:40 59ccb84bbe0f: Verifying Checksum 09:20:40 59ccb84bbe0f: Download complete 09:20:40 bcfd1f05c69d: Verifying Checksum 09:20:40 bcfd1f05c69d: Download complete 09:20:40 370296b7ddb6: Verifying Checksum 09:20:40 370296b7ddb6: Download complete 09:20:46 370296b7ddb6: Pull complete 09:20:46 7c6cee850709: Pull complete 09:20:46 39a5fcdaea64: Pull complete 09:20:46 d94ebbe4e438: Pull complete 09:20:47 bcfd1f05c69d: Pull complete 09:20:48 59ccb84bbe0f: Pull complete 09:20:48 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:20:48 ---> a4fb48ad2a94 09:20:48 Step 3/12 : ARG MAKE="make build" 09:20:50 ---> Running in ff03a40dccdd 09:20:50 Removing intermediate container ff03a40dccdd 09:20:50 ---> d9dd13791483 09:20:50 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:20:50 ---> Running in c7032417e678 09:20:50 Removing intermediate container c7032417e678 09:20:50 ---> 6e7518c76019 09:20:50 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:20:50 ---> Running in 8707d451d23d 09:20:51 Removing intermediate container 8707d451d23d 09:20:51 ---> d0faf71b2754 09:20:51 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:20:51 ---> Running in fcac883f4ee8 09:20:51 Removing intermediate container fcac883f4ee8 09:20:51 ---> c95a5dedf489 09:20:51 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:20:51 ---> Running in 073904cb8453 09:20:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:20:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:20:53 (1/80) Installing mesa (21.3.8-r1) 09:20:53 (2/80) Installing libxau (1.0.9-r0) 09:20:53 (3/80) Installing libxdmcp (1.1.3-r0) 09:20:53 Still waiting to schedule task 09:20:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20567’ is offline 09:20:53 (4/80) Installing libxcb (1.15-r0) 09:20:53 (5/80) Installing libx11 (1.8-r0) 09:20:53 (6/80) Installing libxext (1.3.4-r0) 09:20:53 (7/80) Installing libxfixes (6.0.0-r0) 09:20:53 (8/80) Installing libxxf86vm (1.1.4-r2) 09:20:53 (9/80) Installing libpciaccess (0.16-r0) 09:20:54 (10/80) Installing libdrm (2.4.110-r0) 09:20:54 (11/80) Installing mesa-glapi (21.3.8-r1) 09:20:54 (12/80) Installing libxshmfence (1.3-r1) 09:20:54 (13/80) Installing mesa-gl (21.3.8-r1) 09:20:54 (14/80) Installing icu-data-full (71.1-r2) 09:20:55 (15/80) Installing libice (1.0.10-r0) 09:20:55 (16/80) Installing libuuid (2.38-r1) 09:20:55 (17/80) Installing libsm (1.2.3-r0) 09:20:55 (18/80) Installing libxt (1.2.1-r0) 09:20:55 (19/80) Installing libxmu (1.1.3-r0) 09:20:55 (20/80) Installing xset (1.2.4-r0) 09:20:55 (21/80) Installing xprop (1.2.5-r0) 09:20:55 (22/80) Installing xdg-utils (1.1.3-r3) 09:20:56 (23/80) Installing dbus-libs (1.14.0-r1) 09:20:56 (24/80) Installing libffi (3.4.2-r1) 09:20:56 (25/80) Installing libintl (0.21-r2) 09:20:56 (26/80) Installing libblkid (2.38-r1) 09:20:56 (27/80) Installing libmount (2.38-r1) 09:20:56 (28/80) Installing pcre (8.45-r2) 09:20:56 (29/80) Installing glib (2.72.1-r0) 09:20:56 (30/80) Installing icu-libs (71.1-r2) 09:20:56 (31/80) Installing libpcre2-16 (10.40-r0) 09:20:56 (32/80) Installing zstd-libs (1.5.2-r1) 09:20:56 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 09:20:57 (34/80) Installing hicolor-icon-theme (0.17-r1) 09:20:57 (35/80) Installing wayland-libs-server (1.20.0-r0) 09:20:57 (36/80) Installing mesa-gbm (21.3.8-r1) 09:20:57 (37/80) Installing wayland-libs-client (1.20.0-r0) 09:20:57 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 09:20:58 (39/80) Installing libxcomposite (0.4.5-r0) 09:20:58 (40/80) Installing libbz2 (1.0.8-r1) 09:20:58 (41/80) Installing libpng (1.6.37-r1) 09:20:58 (42/80) Installing freetype (2.12.1-r0) 09:20:58 (43/80) Installing fontconfig (2.14.0-r0) 09:20:58 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 09:20:58 (45/80) Installing wayland-libs-egl (1.20.0-r0) 09:20:58 (46/80) Installing xkeyboard-config (2.35.1-r0) 09:20:58 (47/80) Installing xz-libs (5.2.5-r1) 09:20:59 (48/80) Installing libxml2 (2.9.14-r0) 09:20:59 (49/80) Installing libxkbcommon (1.4.1-r0) 09:20:59 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 09:20:59 (51/80) Installing mesa-egl (21.3.8-r1) 09:20:59 (52/80) Installing avahi-libs (0.8-r6) 09:20:59 (53/80) Installing nettle (3.7.3-r0) 09:20:59 (54/80) Installing p11-kit (0.24.1-r0) 09:20:59 (55/80) Installing libtasn1 (4.18.0-r0) 09:20:59 (56/80) Installing libunistring (1.0-r0) 09:20:59 (57/80) Installing gnutls (3.7.6-r0) 09:21:00 (58/80) Installing cups-libs (2.4.2-r0) 09:21:00 (59/80) Installing graphite2 (1.3.14-r1) 09:21:00 (60/80) Installing harfbuzz (4.3.0-r0) 09:21:00 (61/80) Installing libevdev (1.12.1-r0) 09:21:00 (62/80) Installing mtdev (1.1.6-r0) 09:21:00 (63/80) Installing eudev-libs (3.2.11-r0) 09:21:00 (64/80) Installing libinput-libs (1.20.1-r0) 09:21:00 (65/80) Installing libjpeg-turbo (2.1.3-r1) 09:21:00 (66/80) Installing xcb-util-wm (0.4.1-r1) 09:21:00 (67/80) Installing xcb-util (0.4.0-r3) 09:21:00 (68/80) Installing xcb-util-image (0.4.0-r1) 09:21:01 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 09:21:01 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 09:21:01 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 09:21:01 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 09:21:01 (73/80) Installing v4l-utils-libs (1.22.1-r1) 09:21:01 (74/80) Installing v4l-utils (1.22.1-r1) 09:21:01 (75/80) Installing udev-init-scripts (35-r0) 09:21:02 Executing udev-init-scripts-35-r0.post-install 09:21:02 (76/80) Installing kmod-libs (29-r2) 09:21:02 (77/80) Installing eudev (3.2.11-r0) 09:21:02 (78/80) Installing eudev-dev (3.2.11-r0) 09:21:02 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:21:02 (80/80) Installing v4l-utils-dev (1.22.1-r1) 09:21:02 Executing busybox-1.35.0-r13.trigger 09:21:02 Executing eudev-3.2.11-r0.trigger 09:21:02 OK: 330 MiB in 131 packages 09:21:04 Removing intermediate container 073904cb8453 09:21:04 ---> abac1c76f4e5 09:21:04 Step 8/12 : WORKDIR /device-usb-camera 09:21:04 ---> Running in dbc59137fe15 09:21:04 Removing intermediate container dbc59137fe15 09:21:04 ---> 91ee168a040b 09:21:04 Step 9/12 : COPY go.mod vendor* ./ 09:21:05 ---> 4901cdae634a 09:21:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:05 ---> Running in 359a1de86a31 09:21:20 Removing intermediate container 359a1de86a31 09:21:20 ---> 4aae3bf72abe 09:21:20 Step 11/12 : COPY . . 09:21:20 ---> 1e7b7b080a97 09:21:20 Step 12/12 : RUN ${MAKE} 09:21:20 ---> Running in 8b5e63083ac8 09:21:20 noop 09:21:20 Removing intermediate container 8b5e63083ac8 09:21:20 ---> 251f7593ee1d 09:21:20 Successfully built 251f7593ee1d 09:21:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:20 + docker inspect -f . ci-base-image-x86_64 09:21:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:20 prd-ubuntu20.04-docker-8c-8g-20568 does not seem to be running inside a container 09:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:21 $ docker top 13afb6fd8980719a3c4e0d33e2259f5c5438e7610ba84cd60f95866348f477c3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:21 + go version 09:21:21 go version go1.18.3 linux/amd64 [Pipeline] } 09:21:21 $ docker stop --time=1 13afb6fd8980719a3c4e0d33e2259f5c5438e7610ba84cd60f95866348f477c3 09:21:23 $ docker rm -f 13afb6fd8980719a3c4e0d33e2259f5c5438e7610ba84cd60f95866348f477c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:23 + docker inspect -f . ci-base-image-x86_64 09:21:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:21:23 prd-ubuntu20.04-docker-8c-8g-20568 does not seem to be running inside a container 09:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:24 $ docker top 7702c92d152f3f3168db6b625ee6ee61f465e050abd6cf031e39dbd782031ba6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:24 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-54 [Pipeline] fileExists [Pipeline] sh 09:21:24 + make test 09:21:24 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:21:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:21:35 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:21:35 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 09:21:43 CGO_ENABLED=1 go vet ./... 09:21:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:21:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:21:45 ./bin/test-attribution-txt.sh [Pipeline] echo 09:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:21:45 $ docker stop --time=1 7702c92d152f3f3168db6b625ee6ee61f465e050abd6cf031e39dbd782031ba6 09:21:47 $ docker rm -f 7702c92d152f3f3168db6b625ee6ee61f465e050abd6cf031e39dbd782031ba6 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:21:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:21:49 + ls -al . 09:21:49 total 164 09:21:49 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 09:21 . 09:21:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 09:20 .. 09:21:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 09:21 .git 09:21:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:20 .github 09:21:49 -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 09:20 .gitignore 09:21:49 -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 09:20 .golangci.yml 09:21:49 -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 09:20 .hadolint.yml 09:21:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 09:20 .semver 09:21:49 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 20 09:20 Attribution.txt 09:21:49 -rw-rw-r-- 1 jenkins jenkins 181 Jul 20 09:20 CHANGELOG.md 09:21:49 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 20 09:20 Dockerfile 09:21:49 -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 09:20 GOVERNANCE.md 09:21:49 -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 09:20 Jenkinsfile 09:21:49 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 09:20 LICENSE 09:21:49 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 20 09:20 Makefile 09:21:49 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 09:20 OWNERS.md 09:21:49 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 20 09:20 README.md 09:21:49 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 09:20 VERSION 09:21:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 09:20 bin 09:21:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:20 cmd 09:21:49 -rw-r--r-- 1 jenkins jenkins 10 Jul 20 09:21 coverage.out 09:21:49 -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 09:20 docker-entrypoint.sh 09:21:49 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 20 09:20 go.mod 09:21:49 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 20 09:20 go.sum 09:21:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:20 internal 09:21:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 09:20 snap 09:21:49 -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 09:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:49 + 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=f17eea458e7c0a5b75fc74600d39b6c0b2d99944 --label arch=amd64 --label version=0.0.0 . 09:21:49 Sending build context to Docker daemon 746.5kB 09:21:49 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 09:21:49 Step 2/30 : FROM ${BASE} AS builder 09:21:49 ---> 251f7593ee1d 09:21:49 Step 3/30 : ARG MAKE="make build" 09:21:49 ---> Running in 6ea802b513ba 09:21:49 Removing intermediate container 6ea802b513ba 09:21:49 ---> 0df7d91fad1b 09:21:49 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:21:49 ---> Running in 89f748adf4be 09:21:49 Removing intermediate container 89f748adf4be 09:21:49 ---> 30fca733521e 09:21:49 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:21:49 ---> Running in 9908006ee36d 09:21:49 Removing intermediate container 9908006ee36d 09:21:49 ---> e2a07f9122cd 09:21:49 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:49 ---> Running in ad4717cf272f 09:21:50 Removing intermediate container ad4717cf272f 09:21:50 ---> 7a8bc29c9b1b 09:21:50 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:50 ---> Running in dbdf04c6a563 09:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:21:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:21:51 OK: 330 MiB in 131 packages 09:21:52 Removing intermediate container dbdf04c6a563 09:21:52 ---> 53c291efbfcb 09:21:52 Step 8/30 : WORKDIR /device-usb-camera 09:21:52 ---> Running in ca8a43cdf45a 09:21:52 Removing intermediate container ca8a43cdf45a 09:21:52 ---> ffe1028851dc 09:21:52 Step 9/30 : COPY go.mod vendor* ./ 09:21:52 ---> 3844600a2dad 09:21:52 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:52 ---> Running in 1b5d9122af5a 09:21:53 Removing intermediate container 1b5d9122af5a 09:21:53 ---> e436f8dc062a 09:21:53 Step 11/30 : COPY . . 09:21:53 ---> 79c38e76f2cb 09:21:53 Step 12/30 : RUN ${MAKE} 09:21:53 ---> Running in 7d3343c2aa9f 09:21:53 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 09:22:15 Removing intermediate container 7d3343c2aa9f 09:22:15 ---> 8fb9c2668459 09:22:15 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:22:15 v0.18.4: Pulling from aler9/rtsp-simple-server 09:22:15 af6660deedbd: Pulling fs layer 09:22:15 97cd0a44c592: Pulling fs layer 09:22:15 97cd0a44c592: Verifying Checksum 09:22:15 97cd0a44c592: Download complete 09:22:15 af6660deedbd: Verifying Checksum 09:22:15 af6660deedbd: Download complete 09:22:15 af6660deedbd: Pull complete 09:22:15 97cd0a44c592: Pull complete 09:22:15 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:22:15 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:22:15 ---> fea57e182299 09:22:15 Step 14/30 : FROM alpine:3.15 09:22:15 3.15: Pulling from library/alpine 09:22:15 ab6db1bc80d0: Pulling fs layer 09:22:15 ab6db1bc80d0: Verifying Checksum 09:22:15 ab6db1bc80d0: Download complete 09:22:15 ab6db1bc80d0: Pull complete 09:22:15 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 09:22:15 Status: Downloaded newer image for alpine:3.15 09:22:15 ---> 2720e26172a0 09:22:15 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:22:16 ---> Running in 385ed79dafd6 09:22:16 Removing intermediate container 385ed79dafd6 09:22:16 ---> 40a1a2491f19 09:22:16 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:22:16 ---> Running in c385dc145b23 09:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:16 (1/74) Installing dumb-init (1.2.5-r1) 09:22:16 (2/74) Installing sdl2 (2.0.16-r4) 09:22:16 (3/74) Installing libxau (1.0.9-r0) 09:22:16 (4/74) Installing libmd (1.0.3-r0) 09:22:16 (5/74) Installing libbsd (0.11.3-r1) 09:22:16 (6/74) Installing libxdmcp (1.1.3-r0) 09:22:16 (7/74) Installing libxcb (1.14-r2) 09:22:16 (8/74) Installing libx11 (1.7.2-r0) 09:22:16 (9/74) Installing aom-libs (3.2.0-r0) 09:22:16 (10/74) Installing alsa-lib (1.2.5.1-r1) 09:22:16 (11/74) Installing expat (2.4.7-r0) 09:22:16 (12/74) Installing brotli-libs (1.0.9-r5) 09:22:16 (13/74) Installing libbz2 (1.0.8-r1) 09:22:16 (14/74) Installing libpng (1.6.37-r1) 09:22:16 (15/74) Installing freetype (2.11.1-r2) 09:22:16 (16/74) Installing libuuid (2.37.4-r0) 09:22:16 (17/74) Installing fontconfig (2.13.1-r4) 09:22:16 (18/74) Installing fribidi (1.0.11-r0) 09:22:16 (19/74) Installing libffi (3.4.2-r1) 09:22:16 (20/74) Installing libintl (0.21-r0) 09:22:16 (21/74) Installing libblkid (2.37.4-r0) 09:22:16 (22/74) Installing libmount (2.37.4-r0) 09:22:16 (23/74) Installing pcre (8.45-r1) 09:22:16 (24/74) Installing glib (2.70.1-r0) 09:22:16 (25/74) Installing graphite2 (1.3.14-r0) 09:22:16 (26/74) Installing harfbuzz (3.0.0-r2) 09:22:16 (27/74) Installing libass (0.15.2-r0) 09:22:16 (28/74) Installing libdav1d (0.9.2-r0) 09:22:16 (29/74) Installing gmp (6.2.1-r1) 09:22:16 (30/74) Installing nettle (3.7.3-r0) 09:22:16 (31/74) Installing p11-kit (0.24.0-r1) 09:22:17 (32/74) Installing libtasn1 (4.18.0-r0) 09:22:17 (33/74) Installing libunistring (0.9.10-r1) 09:22:17 (34/74) Installing gnutls (3.7.1-r0) 09:22:17 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 09:22:17 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 09:22:17 (37/74) Installing lame (3.100-r0) 09:22:17 (38/74) Installing opus (1.3.1-r1) 09:22:17 (39/74) Installing libgomp (10.3.1_git20211027-r0) 09:22:17 (40/74) Installing soxr (0.1.3-r2) 09:22:17 (41/74) Installing libgcc (10.3.1_git20211027-r0) 09:22:17 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:17 (43/74) Installing libsrt (1.4.2-r1) 09:22:17 (44/74) Installing libssh (0.9.6-r1) 09:22:17 (45/74) Installing libogg (1.3.5-r0) 09:22:17 (46/74) Installing libtheora (1.1.1-r16) 09:22:17 (47/74) Installing libjpeg-turbo (2.1.2-r0) 09:22:17 (48/74) Installing v4l-utils-libs (1.22.1-r1) 09:22:17 (49/74) Installing libxext (1.3.4-r0) 09:22:17 (50/74) Installing libxfixes (6.0.0-r0) 09:22:17 (51/74) Installing libpciaccess (0.16-r0) 09:22:17 (52/74) Installing libdrm (2.4.109-r0) 09:22:17 (53/74) Installing wayland-libs-client (1.19.0-r1) 09:22:17 (54/74) Installing libva (2.13.0-r0) 09:22:17 (55/74) Installing libvdpau (1.4-r0) 09:22:17 (56/74) Installing vidstab (1.1.0-r1) 09:22:17 (57/74) Installing libvorbis (1.3.7-r0) 09:22:17 (58/74) Installing libvpx (1.10.0-r0) 09:22:17 (59/74) Installing vulkan-loader (1.2.196-r0) 09:22:17 (60/74) Installing libwebp (1.2.2-r0) 09:22:17 (61/74) Installing x264-libs (20210613-r0) 09:22:17 (62/74) Installing x265-libs (3.5-r0) 09:22:17 (63/74) Installing xvidcore (1.3.7-r1) 09:22:17 (64/74) Installing ffmpeg-libs (4.4.1-r2) 09:22:17 (65/74) Installing ffmpeg (4.4.1-r2) 09:22:17 (66/74) Installing udev-init-scripts (35-r0) 09:22:17 Executing udev-init-scripts-35-r0.post-install 09:22:17 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 09:22:17 (68/74) Installing xz-libs (5.2.5-r1) 09:22:17 (69/74) Installing zstd-libs (1.5.0-r0) 09:22:17 (70/74) Installing kmod-libs (29-r2) 09:22:17 (71/74) Installing eudev (3.2.11_pre1-r0) 09:22:17 (72/74) Installing libsodium (1.0.18-r0) 09:22:17 (73/74) Installing libzmq (4.3.4-r0) 09:22:17 (74/74) Installing zeromq (4.3.4-r0) 09:22:17 Executing busybox-1.34.1-r7.trigger 09:22:17 Executing eudev-3.2.11_pre1-r0.trigger 09:22:17 OK: 78 MiB in 88 packages 09:22:19 Removing intermediate container c385dc145b23 09:22:19 ---> abca600131c5 09:22:19 Step 17/30 : WORKDIR / 09:22:19 ---> Running in f351815a4873 09:22:19 Removing intermediate container f351815a4873 09:22:19 ---> e5837bd5a850 09:22:19 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 09:22:19 ---> 66d37a7227c7 09:22:19 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 09:22:19 ---> 765a1ee8209e 09:22:19 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:22:20 ---> d0cb32e5d9fe 09:22:20 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:22:20 ---> bacd1ebc9705 09:22:20 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 09:22:20 ---> fb0e0e36bacd 09:22:20 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 09:22:20 ---> 11ebadfdbaae 09:22:20 Step 24/30 : EXPOSE 59983 09:22:20 ---> Running in 766177b1e2be 09:22:20 Removing intermediate container 766177b1e2be 09:22:20 ---> 194178b8fc28 09:22:20 Step 25/30 : EXPOSE 8554 09:22:20 ---> Running in 5dbd96a45385 09:22:20 Removing intermediate container 5dbd96a45385 09:22:20 ---> bb04d6f9b65a 09:22:20 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:22:21 ---> Running in 0cbdaf27e61e 09:22:21 Removing intermediate container 0cbdaf27e61e 09:22:21 ---> 8d6c51f37d13 09:22:21 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:22:21 ---> Running in aa038c3457d1 09:22:21 Removing intermediate container aa038c3457d1 09:22:21 ---> 9ac59bf695dc 09:22:21 Step 28/30 : LABEL arch=amd64 09:22:21 ---> Running in b60d0d199e80 09:22:21 Removing intermediate container b60d0d199e80 09:22:21 ---> 8e858380b99a 09:22:21 Step 29/30 : LABEL git_sha=f17eea458e7c0a5b75fc74600d39b6c0b2d99944 09:22:21 ---> Running in d7364e154361 09:22:21 Removing intermediate container d7364e154361 09:22:21 ---> 5a5648003fed 09:22:21 Step 30/30 : LABEL version=0.0.0 09:22:21 ---> Running in f7586a74181b 09:22:21 Removing intermediate container f7586a74181b 09:22:21 ---> a61fcf5c45fb 09:22:21 [Warning] One or more build-args [ARCH] were not consumed 09:22:21 Successfully built a61fcf5c45fb 09:22:21 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 09:22:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:22 09:22:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:22 latest: Pulling from edgex-lftools-log-publisher 09:22:22 5eb5b503b376: Pulling fs layer 09:22:22 5c69ac0246d0: Pulling fs layer 09:22:22 ec43610c2a17: Pulling fs layer 09:22:22 3a2ae6a8a46f: Pulling fs layer 09:22:22 33b1e0a273af: Pulling fs layer 09:22:22 5d3b04190fa2: Pulling fs layer 09:22:22 2f39f015ded8: Pulling fs layer 09:22:22 33b1e0a273af: Waiting 09:22:22 3a2ae6a8a46f: Waiting 09:22:22 5d3b04190fa2: Waiting 09:22:22 5c69ac0246d0: Verifying Checksum 09:22:22 5c69ac0246d0: Download complete 09:22:22 3a2ae6a8a46f: Verifying Checksum 09:22:22 3a2ae6a8a46f: Download complete 09:22:22 33b1e0a273af: Download complete 09:22:22 5d3b04190fa2: Verifying Checksum 09:22:22 5d3b04190fa2: Download complete 09:22:22 ec43610c2a17: Verifying Checksum 09:22:22 ec43610c2a17: Download complete 09:22:22 5eb5b503b376: Verifying Checksum 09:22:22 5eb5b503b376: Download complete 09:22:23 2f39f015ded8: Verifying Checksum 09:22:23 2f39f015ded8: Download complete 09:22:23 5eb5b503b376: Pull complete 09:22:24 5c69ac0246d0: Pull complete 09:22:24 ec43610c2a17: Pull complete 09:22:24 3a2ae6a8a46f: Pull complete 09:22:25 33b1e0a273af: Pull complete 09:22:25 5d3b04190fa2: Pull complete 09:22:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20569 in /w/workspace/xfoundry_device-usb-camera_PR-54 [Pipeline] { [Pipeline] ws 09:22:28 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 09:22:28 Selected Git installation does not exist. Using Default 09:22:28 The recommended git tool is: NONE 09:22:30 2f39f015ded8: Pull complete 09:22:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:22:30 prd-ubuntu20.04-docker-8c-8g-20568 does not seem to be running inside a container 09:22:30 $ 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-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:22:32 $ docker top 768bd32cbd4c1cd1f692acc08300f0eae8bfed9fedac6b8008c6aedec013bf37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:32 ---> job-cost.sh 09:22:32 lf-activate-venv: SKIPPING 09:22:32 INFO: No Stack... 09:22:33 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:33 INFO: Archiving Costs [Pipeline] sh 09:22:33 + cut -d, -f6 09:22:33 + cat /w/workspace/xfoundry_device-usb-camera_PR-54/archives/cost.csv [Pipeline] lock 09:22:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] 09:22:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] did not exist. Created. 09:22:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:34 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:34 Stashed 1 file(s) [Pipeline] } 09:22:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:34 $ docker stop --time=1 768bd32cbd4c1cd1f692acc08300f0eae8bfed9fedac6b8008c6aedec013bf37 09:22:35 using credential edgex-jenkins-ssh 09:22:35 Cloning the remote Git repository 09:22:35 $ docker rm -f 768bd32cbd4c1cd1f692acc08300f0eae8bfed9fedac6b8008c6aedec013bf37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:22:35 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:22:35 > git init /w/workspace/device-usb-camera/4 # timeout=10 09:22:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:22:35 > git --version # timeout=10 09:22:35 > git --version # 'git version 2.25.1' 09:22:35 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:22:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:22:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:22:36 Merging remotes/origin/main commit 7a78c2b7239740d78d841f7c6c5822fe465b85ee into PR head commit f17eea458e7c0a5b75fc74600d39b6c0b2d99944 09:22:37 Merge succeeded, producing f17eea458e7c0a5b75fc74600d39b6c0b2d99944 09:22:37 Checking out Revision f17eea458e7c0a5b75fc74600d39b6c0b2d99944 (PR-54) 09:22:36 > git config core.sparsecheckout # timeout=10 09:22:36 > git checkout -f f17eea458e7c0a5b75fc74600d39b6c0b2d99944 # timeout=10 09:22:37 > git remote # timeout=10 09:22:37 > git config --get remote.origin.url # timeout=10 09:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:37 > git merge 7a78c2b7239740d78d841f7c6c5822fe465b85ee # timeout=10 09:22:37 > git rev-parse HEAD^{commit} # timeout=10 09:22:37 > git config core.sparsecheckout # timeout=10 09:22:37 > git checkout -f f17eea458e7c0a5b75fc74600d39b6c0b2d99944 # timeout=10 09:22:41 Commit message: "build: fix go mod version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:22:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:42 Dload Upload Total Spent Left Speed 09:22:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 09:22:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:22:43 + sudo tee /etc/docker/daemon.new 09:22:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:22:43 { 09:22:43 "registry-mirrors": [ 09:22:43 "https://nexus3.edgexfoundry.org:10001" 09:22:43 ], 09:22:43 "bip": "10.250.0.254/24", 09:22:43 "hosts": [ 09:22:43 "tcp://0.0.0.0:5555", 09:22:43 "unix:///var/run/docker.sock" 09:22:43 ], 09:22:43 "mtu": 1458, 09:22:43 "selinux-enabled": true, 09:22:43 "seccomp-profile": "/etc/docker/seccomp.json" 09:22:43 } [Pipeline] sh 09:22:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:22:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:02 provisioning config files... 09:23:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config6162903961067863411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:02 ---> docker-login.sh 09:23:02 nexus3.edgexfoundry.org:10001 09:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:03 Configure a credential helper to remove this warning. See 09:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:03 09:23:03 Login Succeeded 09:23:03 nexus3.edgexfoundry.org:10002 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 nexus3.edgexfoundry.org:10003 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:04 Configure a credential helper to remove this warning. See 09:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:04 09:23:04 Login Succeeded 09:23:04 nexus3.edgexfoundry.org:10004 09:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:05 Configure a credential helper to remove this warning. See 09:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:05 09:23:05 Login Succeeded 09:23:05 docker.io 09:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:05 Configure a credential helper to remove this warning. See 09:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:05 09:23:05 Login Succeeded 09:23:05 ---> docker-login.sh ends [Pipeline] } 09:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:06 ========================================================= 09:23:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:23:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:23:06 Sending build context to Docker daemon 502.3kB 09:23:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:23:06 Step 2/12 : FROM ${BASE} AS builder 09:23:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:23:07 b3c136eddcbf: Pulling fs layer 09:23:07 c0a3192eca97: Pulling fs layer 09:23:07 a050256f5b6f: Pulling fs layer 09:23:07 656be50a0ddc: Pulling fs layer 09:23:07 2bbca73fdf42: Pulling fs layer 09:23:07 46d945488cbd: Pulling fs layer 09:23:07 656be50a0ddc: Waiting 09:23:07 2bbca73fdf42: Waiting 09:23:07 8a5474983e97: Pulling fs layer 09:23:07 329c88fbcd65: Pulling fs layer 09:23:07 8a5474983e97: Waiting 09:23:07 329c88fbcd65: Waiting 09:23:07 a050256f5b6f: Verifying Checksum 09:23:07 a050256f5b6f: Download complete 09:23:07 c0a3192eca97: Download complete 09:23:07 2bbca73fdf42: Verifying Checksum 09:23:07 46d945488cbd: Verifying Checksum 09:23:07 46d945488cbd: Download complete 09:23:07 b3c136eddcbf: Verifying Checksum 09:23:07 b3c136eddcbf: Download complete 09:23:08 b3c136eddcbf: Pull complete 09:23:08 329c88fbcd65: Verifying Checksum 09:23:08 329c88fbcd65: Download complete 09:23:08 c0a3192eca97: Pull complete 09:23:09 a050256f5b6f: Pull complete 09:23:09 8a5474983e97: Verifying Checksum 09:23:09 8a5474983e97: Download complete 09:23:10 656be50a0ddc: Verifying Checksum 09:23:10 656be50a0ddc: Download complete 09:23:22 656be50a0ddc: Pull complete 09:23:23 2bbca73fdf42: Pull complete 09:23:23 46d945488cbd: Pull complete 09:23:30 8a5474983e97: Pull complete 09:23:32 329c88fbcd65: Pull complete 09:23:32 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:23:32 ---> ff4287adb874 09:23:32 Step 3/12 : ARG MAKE="make build" 09:23:32 ---> Running in 863ebc7e16fa 09:23:32 Removing intermediate container 863ebc7e16fa 09:23:32 ---> bb8386744130 09:23:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:23:33 ---> Running in 6942399ffd36 09:23:33 Removing intermediate container 6942399ffd36 09:23:33 ---> fb560de686da 09:23:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:23:33 ---> Running in e0fc7282cc7c 09:23:33 Removing intermediate container e0fc7282cc7c 09:23:33 ---> ead80695b9c8 09:23:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:33 ---> Running in a6e7a29eb37f 09:23:35 Removing intermediate container a6e7a29eb37f 09:23:35 ---> af7e91b7fd32 09:23:35 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:35 ---> Running in cae4416e7252 09:23:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:23:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:23:39 (1/14) Installing libintl (0.21-r2) 09:23:39 (2/14) Installing eudev-libs (3.2.11-r0) 09:23:39 (3/14) Installing libjpeg-turbo (2.1.3-r1) 09:23:39 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:23:39 (5/14) Installing v4l-utils (1.22.1-r1) 09:23:40 (6/14) Installing udev-init-scripts (35-r0) 09:23:40 Executing udev-init-scripts-35-r0.post-install 09:23:40 (7/14) Installing libblkid (2.38-r1) 09:23:40 (8/14) Installing xz-libs (5.2.5-r1) 09:23:40 (9/14) Installing zstd-libs (1.5.2-r1) 09:23:40 (10/14) Installing kmod-libs (29-r2) 09:23:40 (11/14) Installing eudev (3.2.11-r0) 09:23:40 (12/14) Installing eudev-dev (3.2.11-r0) 09:23:40 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:23:41 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:23:41 Executing busybox-1.35.0-r13.trigger 09:23:41 Executing eudev-3.2.11-r0.trigger 09:23:41 OK: 228 MiB in 65 packages 09:23:42 Removing intermediate container cae4416e7252 09:23:42 ---> c58106796c54 09:23:42 Step 8/12 : WORKDIR /device-usb-camera 09:23:42 ---> Running in 389f96f435a3 09:23:42 Removing intermediate container 389f96f435a3 09:23:42 ---> 4e50ed3bd44d 09:23:42 Step 9/12 : COPY go.mod vendor* ./ 09:23:43 ---> 3a55c7e3e933 09:23:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:43 ---> Running in ab4ef45bb71f 09:24:30 Removing intermediate container ab4ef45bb71f 09:24:30 ---> fe980c3a18bd 09:24:30 Step 11/12 : COPY . . 09:24:30 ---> ff25765ac64c 09:24:30 Step 12/12 : RUN ${MAKE} 09:24:30 ---> Running in 524c35e84366 09:24:30 noop 09:24:30 Removing intermediate container 524c35e84366 09:24:30 ---> 60d16ef5aa7d 09:24:30 Successfully built 60d16ef5aa7d 09:24:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:30 + docker inspect -f . ci-base-image-arm64 09:24:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:30 prd-ubuntu20.04-docker-arm64-4c-16g-20569 does not seem to be running inside a container 09:24:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:24:32 $ docker top b5e8bfc9664922e9471482837b66aca99b98d225077d9c2ba01ef8cba7bfed98 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:33 + go version 09:24:33 go version go1.18.3 linux/arm64 [Pipeline] } 09:24:33 $ docker stop --time=1 b5e8bfc9664922e9471482837b66aca99b98d225077d9c2ba01ef8cba7bfed98 09:24:34 $ docker rm -f b5e8bfc9664922e9471482837b66aca99b98d225077d9c2ba01ef8cba7bfed98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:35 + docker inspect -f . ci-base-image-arm64 09:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:35 prd-ubuntu20.04-docker-arm64-4c-16g-20569 does not seem to be running inside a container 09:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:24:37 $ docker top af0bfc9d5627a433e567caeb5eeebc6c4e536a208c1d60915feabf5dcd3a8c50 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:38 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 09:24:38 + make test 09:24:38 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:24:40 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:26:02 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:26:02 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 09:26:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:26:02 CGO_ENABLED=1 go vet ./... 09:26:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:26:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:26:20 ./bin/test-attribution-txt.sh [Pipeline] echo 09:26:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:26:20 $ docker stop --time=1 af0bfc9d5627a433e567caeb5eeebc6c4e536a208c1d60915feabf5dcd3a8c50 09:26:22 $ docker rm -f af0bfc9d5627a433e567caeb5eeebc6c4e536a208c1d60915feabf5dcd3a8c50 [Pipeline] // withDockerContainer [Pipeline] sh 09:26:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:23 Warning: overwriting stash ‘coverage-report’ 09:26:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:26:24 + ls -al . 09:26:24 total 160 09:26:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 09:26 . 09:26:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 09:22 .. 09:26:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 09:22 .git 09:26:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:22 .github 09:26:24 -rw-rw-r-- 1 jenkins jenkins 414 Jul 20 09:22 .gitignore 09:26:24 -rw-rw-r-- 1 jenkins jenkins 42 Jul 20 09:22 .golangci.yml 09:26:24 -rw-rw-r-- 1 jenkins jenkins 77 Jul 20 09:22 .hadolint.yml 09:26:24 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 20 09:22 Attribution.txt 09:26:24 -rw-rw-r-- 1 jenkins jenkins 181 Jul 20 09:22 CHANGELOG.md 09:26:24 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 20 09:22 Dockerfile 09:26:24 -rw-rw-r-- 1 jenkins jenkins 678 Jul 20 09:22 GOVERNANCE.md 09:26:24 -rw-rw-r-- 1 jenkins jenkins 659 Jul 20 09:22 Jenkinsfile 09:26:24 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 20 09:22 LICENSE 09:26:24 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 20 09:22 Makefile 09:26:24 -rw-rw-r-- 1 jenkins jenkins 622 Jul 20 09:22 OWNERS.md 09:26:24 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 20 09:22 README.md 09:26:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 09:20 VERSION 09:26:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 09:22 bin 09:26:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:22 cmd 09:26:24 -rw-r--r-- 1 jenkins jenkins 10 Jul 20 09:24 coverage.out 09:26:24 -rw-rw-r-- 1 jenkins jenkins 140 Jul 20 09:22 docker-entrypoint.sh 09:26:24 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 20 09:22 go.mod 09:26:24 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 20 09:22 go.sum 09:26:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 09:22 internal 09:26:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 09:22 snap 09:26:24 -rw-rw-r-- 1 jenkins jenkins 231 Jul 20 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:24 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f17eea458e7c0a5b75fc74600d39b6c0b2d99944 --label arch=arm64 --label version=0.0.0 . 09:26:25 Sending build context to Docker daemon 503.3kB 09:26:25 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 09:26:25 Step 2/30 : FROM ${BASE} AS builder 09:26:25 ---> 60d16ef5aa7d 09:26:25 Step 3/30 : ARG MAKE="make build" 09:26:25 ---> Running in 5f300e749a2b 09:26:25 Removing intermediate container 5f300e749a2b 09:26:25 ---> 0d52e1d36897 09:26:25 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:26:25 ---> Running in 08a97ef1fd66 09:26:26 Removing intermediate container 08a97ef1fd66 09:26:26 ---> 3341f9b18f91 09:26:26 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:26:26 ---> Running in 826bab065b5b 09:26:26 Removing intermediate container 826bab065b5b 09:26:26 ---> 7b51c19c79e3 09:26:26 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:26:26 ---> Running in 48d72aad2b24 09:26:28 Removing intermediate container 48d72aad2b24 09:26:28 ---> 591581dcec4e 09:26:28 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:28 ---> Running in 55026af3d805 09:26:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:26:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:26:31 OK: 228 MiB in 65 packages 09:26:32 Removing intermediate container 55026af3d805 09:26:32 ---> b0b308fcf2b7 09:26:32 Step 8/30 : WORKDIR /device-usb-camera 09:26:32 ---> Running in 0865d0feb54b 09:26:32 Removing intermediate container 0865d0feb54b 09:26:32 ---> 24b1e88b84bb 09:26:32 Step 9/30 : COPY go.mod vendor* ./ 09:26:33 ---> 32857b3fcbc3 09:26:33 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:33 ---> Running in 9756a7fa6dd3 09:26:35 Removing intermediate container 9756a7fa6dd3 09:26:35 ---> a990c23867db 09:26:35 Step 11/30 : COPY . . 09:26:35 ---> 57c071953212 09:26:35 Step 12/30 : RUN ${MAKE} 09:26:35 ---> Running in 6af020c973d0 09:26:36 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 09:28:43 Removing intermediate container 6af020c973d0 09:28:43 ---> 40dedbb67125 09:28:43 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:28:43 v0.18.4: Pulling from aler9/rtsp-simple-server 09:28:43 eab2503cf8f4: Pulling fs layer 09:28:43 97cd0a44c592: Pulling fs layer 09:28:43 97cd0a44c592: Verifying Checksum 09:28:43 97cd0a44c592: Download complete 09:28:43 eab2503cf8f4: Verifying Checksum 09:28:43 eab2503cf8f4: Download complete 09:28:44 eab2503cf8f4: Pull complete 09:28:44 97cd0a44c592: Pull complete 09:28:44 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:28:44 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:28:44 ---> 7f763cca56b3 09:28:44 Step 14/30 : FROM alpine:3.15 09:28:45 3.15: Pulling from library/alpine 09:28:45 e0295fd11fe2: Pulling fs layer 09:28:45 e0295fd11fe2: Verifying Checksum 09:28:45 e0295fd11fe2: Download complete 09:28:46 e0295fd11fe2: Pull complete 09:28:46 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 09:28:46 Status: Downloaded newer image for alpine:3.15 09:28:46 ---> 60f2846fe774 09:28:46 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:28:46 ---> Running in 8c625b329a9c 09:28:46 Removing intermediate container 8c625b329a9c 09:28:46 ---> a380a2b3fc12 09:28:46 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:28:46 ---> Running in 85047c399396 09:28:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:28:49 (1/73) Installing dumb-init (1.2.5-r1) 09:28:49 (2/73) Installing sdl2 (2.0.16-r4) 09:28:49 (3/73) Installing libxau (1.0.9-r0) 09:28:49 (4/73) Installing libmd (1.0.3-r0) 09:28:49 (5/73) Installing libbsd (0.11.3-r1) 09:28:49 (6/73) Installing libxdmcp (1.1.3-r0) 09:28:49 (7/73) Installing libxcb (1.14-r2) 09:28:49 (8/73) Installing libx11 (1.7.2-r0) 09:28:49 (9/73) Installing aom-libs (3.2.0-r0) 09:28:49 (10/73) Installing alsa-lib (1.2.5.1-r1) 09:28:49 (11/73) Installing expat (2.4.7-r0) 09:28:49 (12/73) Installing brotli-libs (1.0.9-r5) 09:28:49 (13/73) Installing libbz2 (1.0.8-r1) 09:28:49 (14/73) Installing libpng (1.6.37-r1) 09:28:49 (15/73) Installing freetype (2.11.1-r2) 09:28:49 (16/73) Installing libuuid (2.37.4-r0) 09:28:49 (17/73) Installing fontconfig (2.13.1-r4) 09:28:49 (18/73) Installing fribidi (1.0.11-r0) 09:28:49 (19/73) Installing libffi (3.4.2-r1) 09:28:49 (20/73) Installing libintl (0.21-r0) 09:28:49 (21/73) Installing libblkid (2.37.4-r0) 09:28:49 (22/73) Installing libmount (2.37.4-r0) 09:28:49 (23/73) Installing pcre (8.45-r1) 09:28:49 (24/73) Installing glib (2.70.1-r0) 09:28:49 (25/73) Installing graphite2 (1.3.14-r0) 09:28:49 (26/73) Installing harfbuzz (3.0.0-r2) 09:28:49 (27/73) Installing libass (0.15.2-r0) 09:28:49 (28/73) Installing libdav1d (0.9.2-r0) 09:28:49 (29/73) Installing gmp (6.2.1-r1) 09:28:49 (30/73) Installing nettle (3.7.3-r0) 09:28:49 (31/73) Installing p11-kit (0.24.0-r1) 09:28:49 (32/73) Installing libtasn1 (4.18.0-r0) 09:28:49 (33/73) Installing libunistring (0.9.10-r1) 09:28:49 (34/73) Installing gnutls (3.7.1-r0) 09:28:49 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 09:28:49 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 09:28:49 (37/73) Installing lame (3.100-r0) 09:28:49 (38/73) Installing opus (1.3.1-r1) 09:28:49 (39/73) Installing libgomp (10.3.1_git20211027-r0) 09:28:49 (40/73) Installing soxr (0.1.3-r2) 09:28:49 (41/73) Installing libgcc (10.3.1_git20211027-r0) 09:28:49 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 09:28:49 (43/73) Installing libsrt (1.4.2-r1) 09:28:49 (44/73) Installing libssh (0.9.6-r1) 09:28:49 (45/73) Installing libogg (1.3.5-r0) 09:28:49 (46/73) Installing libtheora (1.1.1-r16) 09:28:49 (47/73) Installing libjpeg-turbo (2.1.2-r0) 09:28:49 (48/73) Installing v4l-utils-libs (1.22.1-r1) 09:28:50 (49/73) Installing libxext (1.3.4-r0) 09:28:50 (50/73) Installing libxfixes (6.0.0-r0) 09:28:50 (51/73) Installing libdrm (2.4.109-r0) 09:28:50 (52/73) Installing wayland-libs-client (1.19.0-r1) 09:28:50 (53/73) Installing libva (2.13.0-r0) 09:28:50 (54/73) Installing libvdpau (1.4-r0) 09:28:50 (55/73) Installing vidstab (1.1.0-r1) 09:28:50 (56/73) Installing libvorbis (1.3.7-r0) 09:28:50 (57/73) Installing libvpx (1.10.0-r0) 09:28:50 (58/73) Installing vulkan-loader (1.2.196-r0) 09:28:50 (59/73) Installing libwebp (1.2.2-r0) 09:28:50 (60/73) Installing x264-libs (20210613-r0) 09:28:50 (61/73) Installing x265-libs (3.5-r0) 09:28:50 (62/73) Installing xvidcore (1.3.7-r1) 09:28:50 (63/73) Installing ffmpeg-libs (4.4.1-r2) 09:28:50 (64/73) Installing ffmpeg (4.4.1-r2) 09:28:50 (65/73) Installing udev-init-scripts (35-r0) 09:28:50 Executing udev-init-scripts-35-r0.post-install 09:28:50 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 09:28:50 (67/73) Installing xz-libs (5.2.5-r1) 09:28:50 (68/73) Installing zstd-libs (1.5.0-r0) 09:28:50 (69/73) Installing kmod-libs (29-r2) 09:28:50 (70/73) Installing eudev (3.2.11_pre1-r0) 09:28:50 (71/73) Installing libsodium (1.0.18-r0) 09:28:50 (72/73) Installing libzmq (4.3.4-r0) 09:28:50 (73/73) Installing zeromq (4.3.4-r0) 09:28:50 Executing busybox-1.34.1-r7.trigger 09:28:50 Executing eudev-3.2.11_pre1-r0.trigger 09:28:50 OK: 67 MiB in 87 packages 09:28:53 Removing intermediate container 85047c399396 09:28:53 ---> 79e6b3eb4880 09:28:53 Step 17/30 : WORKDIR / 09:28:53 ---> Running in a772fe482075 09:28:53 Removing intermediate container a772fe482075 09:28:53 ---> 9df92efed6d8 09:28:53 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 09:28:55 ---> f381dd5756d3 09:28:55 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 09:28:55 ---> 145ae0bf6bdc 09:28:55 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:28:56 ---> a11670191153 09:28:56 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:28:57 ---> dd8ee62829af 09:28:57 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 09:28:57 ---> dd12fab8282e 09:28:57 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 09:28:58 ---> 6f78b03dcd10 09:28:58 Step 24/30 : EXPOSE 59983 09:28:58 ---> Running in fde8105962ed 09:28:59 Removing intermediate container fde8105962ed 09:28:59 ---> ecf06c8d5e52 09:28:59 Step 25/30 : EXPOSE 8554 09:28:59 ---> Running in b7ddf4fd4ce2 09:28:59 Removing intermediate container b7ddf4fd4ce2 09:28:59 ---> 987b2c2d360c 09:28:59 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:28:59 ---> Running in f9ba3e46aba1 09:28:59 Removing intermediate container f9ba3e46aba1 09:28:59 ---> 3257418301b5 09:28:59 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:28:59 ---> Running in 695469576bfa 09:29:00 Removing intermediate container 695469576bfa 09:29:00 ---> 8a5fc0761e08 09:29:00 Step 28/30 : LABEL arch=arm64 09:29:00 ---> Running in b4cdf695dc08 09:29:00 Removing intermediate container b4cdf695dc08 09:29:00 ---> 988f808f76da 09:29:00 Step 29/30 : LABEL git_sha=f17eea458e7c0a5b75fc74600d39b6c0b2d99944 09:29:00 ---> Running in 912e01cb5417 09:29:00 Removing intermediate container 912e01cb5417 09:29:00 ---> d7ffdcaf4578 09:29:00 Step 30/30 : LABEL version=0.0.0 09:29:01 ---> Running in 42c895a44d71 09:29:01 Removing intermediate container 42c895a44d71 09:29:01 ---> 20d4d1f3cbe2 09:29:01 [Warning] One or more build-args [ARCH] were not consumed 09:29:01 Successfully built 20d4d1f3cbe2 09:29:01 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:01 09:29:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:02 arm64: Pulling from edgex-lftools-log-publisher 09:29:02 8998bd30e6a1: Pulling fs layer 09:29:02 04944245beec: Pulling fs layer 09:29:02 699f458cf7ca: Pulling fs layer 09:29:02 765212b225bb: Pulling fs layer 09:29:02 f23df028b6ca: Pulling fs layer 09:29:02 d65c8cfc05b1: Pulling fs layer 09:29:02 2437ff75d9bd: Pulling fs layer 09:29:02 765212b225bb: Waiting 09:29:02 d65c8cfc05b1: Waiting 09:29:02 2437ff75d9bd: Waiting 09:29:02 f23df028b6ca: Waiting 09:29:02 04944245beec: Verifying Checksum 09:29:02 04944245beec: Download complete 09:29:02 765212b225bb: Verifying Checksum 09:29:02 765212b225bb: Download complete 09:29:02 f23df028b6ca: Verifying Checksum 09:29:02 f23df028b6ca: Download complete 09:29:02 d65c8cfc05b1: Verifying Checksum 09:29:02 d65c8cfc05b1: Download complete 09:29:02 699f458cf7ca: Verifying Checksum 09:29:02 699f458cf7ca: Download complete 09:29:02 8998bd30e6a1: Verifying Checksum 09:29:02 8998bd30e6a1: Download complete 09:29:04 2437ff75d9bd: Verifying Checksum 09:29:04 2437ff75d9bd: Download complete 09:29:07 8998bd30e6a1: Pull complete 09:29:07 04944245beec: Pull complete 09:29:08 699f458cf7ca: Pull complete 09:29:09 765212b225bb: Pull complete 09:29:10 f23df028b6ca: Pull complete 09:29:10 d65c8cfc05b1: Pull complete 09:29:25 2437ff75d9bd: Pull complete 09:29:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:25 prd-ubuntu20.04-docker-arm64-4c-16g-20569 does not seem to be running inside a container 09:29:25 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:29:28 $ docker top e52723b16f56064f300c52e28a822867421433c1731a8e98fa227a88b6649d59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:29 ---> job-cost.sh 09:29:29 lf-activate-venv: SKIPPING 09:29:29 INFO: No Stack... 09:29:29 INFO: Retrieving Pricing Info for: v3-standard-4 09:29:30 INFO: Archiving Costs [Pipeline] sh 09:29:31 + cat /w/workspace/device-usb-camera/4/archives/cost.csv 09:29:31 + cut -d, -f6 [Pipeline] lock 09:29:31 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] 09:29:31 Resource [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] did not exist. Created. 09:29:31 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:29:31 /w/workspace/device-usb-camera/4@tmp/durable-808138ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:29:32 + echo total: 0.10999999940395355 [Pipeline] stash 09:29:32 Warning: overwriting stash ‘stack-cost’ 09:29:32 Stashed 1 file(s) [Pipeline] } 09:29:32 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-54-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:29:32 $ docker stop --time=1 e52723b16f56064f300c52e28a822867421433c1731a8e98fa227a88b6649d59 09:29:34 $ docker rm -f e52723b16f56064f300c52e28a822867421433c1731a8e98fa227a88b6649d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:29:34 provisioning config files... 09:29:34 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config2183234320138333622tmp [Pipeline] { [Pipeline] sh 09:29:35 + set +x 09:29:35 + curl -s https://codecov.io/bash 09:29:35 + bash -s -- 09:29:35 09:29:35 _____ _ 09:29:35 / ____| | | 09:29:35 | | ___ __| | ___ ___ _____ __ 09:29:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:29:35 | |___| (_) | (_| | __/ (_| (_) \ V / 09:29:35 \_____\___/ \__,_|\___|\___\___/ \_/ 09:29:35 Bash-1.0.6 09:29:35 09:29:35 09:29:35 ==> git version 2.25.1 found 09:29:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:29:35 Release-Date: 2020-01-08 09:29:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:29:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:29:35 ==> Jenkins CI detected. 09:29:35 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-54 09:29:35 project root: . 09:29:35 --> token set from env 09:29:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:29:35 ==> Running gcov in . (disable via -X gcov) 09:29:35 ==> Python coveragepy not found 09:29:35 ==> Searching for coverage reports in: 09:29:35 + . 09:29:35 -> Found 1 reports 09:29:35 ==> Detecting git/mercurial file structure 09:29:35 ==> Reading reports 09:29:35 + ./coverage.out bytes=10 09:29:35 ==> Appending adjustments 09:29:35 https://docs.codecov.io/docs/fixing-reports 09:29:35 + Found adjustments 09:29:35 ==> Gzipping contents 09:29:35 4.0K /tmp/codecov.EWCipG.gz 09:29:35 ==> Uploading reports 09:29:35 url: https://codecov.io 09:29:35 query: branch=PR-54&commit=f17eea458e7c0a5b75fc74600d39b6c0b2d99944&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-54%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=54&job=&cmd_args= 09:29:35 -> Pinging Codecov 09:29:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-54&commit=f17eea458e7c0a5b75fc74600d39b6c0b2d99944&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-54%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=54&job=&cmd_args= 09:29:35 -> Uploading to 09:29:35 https://storage.googleapis.com/codecov/v4/raw/2022-07-20/73D8F5FF140700D3E01443B452E23636/f17eea458e7c0a5b75fc74600d39b6c0b2d99944/4ab364f3-734a-48b0-bac6-a3499a8754f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220720T092935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e60d72afbdc0ef74c74da4828cf08cdea3e8ee4b198c0557a0f00ecdd0d721a 09:29:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:29:35 Dload Upload Total Spent Left Speed 09:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1187 0 0 100 1187 0 4654 --:--:-- --:--:-- --:--:-- 4654 09:29:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f17eea458e7c0a5b75fc74600d39b6c0b2d99944 [Pipeline] } 09:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:29:36 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-54/archives ] 09:29:36 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-54/archives 09:29:36 total 16 09:29:36 drwxr-xr-x 3 root root 4096 Jul 20 09:22 . 09:29:36 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 09:22 .. 09:29:36 drwxr-xr-x 2 root root 4096 Jul 20 09:22 cost 09:29:36 -rw-r--r-- 1 root root 87 Jul 20 09:22 cost.csv 09:29:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-54/archives 09:29:36 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-54/archives 09:29:36 total 16 09:29:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 09:22 . 09:29:36 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 09:22 .. 09:29:36 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 09:22 cost 09:29:36 -rw-r--r-- 1 jenkins jenkins 87 Jul 20 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:29:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:29:37 ---> package-listing.sh 09:29:37 ++ facter osfamily 09:29:37 ++ tr '[:upper:]' '[:lower:]' 09:29:38 + OS_FAMILY=debian 09:29:38 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-54 09:29:38 + START_PACKAGES=/tmp/packages_start.txt 09:29:38 + END_PACKAGES=/tmp/packages_end.txt 09:29:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:29:38 + PACKAGES=/tmp/packages_start.txt 09:29:38 + '[' /w/workspace/xfoundry_device-usb-camera_PR-54 ']' 09:29:38 + PACKAGES=/tmp/packages_end.txt 09:29:38 + case "${OS_FAMILY}" in 09:29:38 + dpkg -l 09:29:38 + grep '^ii' 09:29:38 + '[' -f /tmp/packages_start.txt ']' 09:29:38 + '[' -f /tmp/packages_end.txt ']' 09:29:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:29:38 + '[' /w/workspace/xfoundry_device-usb-camera_PR-54 ']' 09:29:38 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-54/archives/ 09:29:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-54/archives/ [Pipeline] echo 09:29:38 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:29:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:38 prd-ubuntu20.04-docker-8c-8g-20568 does not seem to be running inside a container 09:29:39 $ 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-54/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-54 -v /w/workspace/xfoundry_device-usb-camera_PR-54:/w/workspace/xfoundry_device-usb-camera_PR-54:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-54@tmp:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:29:39 $ docker top 204c26accf20ebf246885cf9964eb0165b5e127e2a55cec9fa8a1f1a2392445d -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:39 + touch /tmp/pre-build-complete [Pipeline] sh 09:29:39 + mkdir -p /var/log/sysstat [Pipeline] sh 09:29:40 + ls /var/log/sa-host 09:29:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:40 provisioning config files... 09:29:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-54@tmp/config3389779492441211084tmp [Pipeline] { [Pipeline] echo 09:29:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:29:40 ---> create-netrc.sh [Pipeline] } 09:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:29:40 ---> python-tools-install.sh [Pipeline] echo 09:29:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:29:41 ---> sudo-logs.sh 09:29:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:29:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:29:41 ---> job-cost.sh 09:29:41 lf-activate-venv: SKIPPING 09:29:41 DEBUG: total: 0.2199999988079071 09:29:41 INFO: Retrieving Stack Cost... 09:29:41 INFO: Retrieving Pricing Info for: v3-standard-8 09:29:42 INFO: Archiving Costs [Pipeline] echo 09:29:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:29:42 ---> logs-deploy.sh 09:29:42 lf-activate-venv: SKIPPING 09:29:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-54/4 09:29:42 INFO: archiving workspace using pattern(s): 09:29:43 Archives upload complete. 09:29:43 INFO: archiving logs to Nexus 09:29:44 ---> uname -a: 09:29:44 Linux prd-ubuntu20-04-docker-8c-8g-20568 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 09:29:44 09:29:44 09:29:44 ---> lscpu: 09:29:44 Architecture: x86_64 09:29:44 CPU op-mode(s): 32-bit, 64-bit 09:29:44 Byte Order: Little Endian 09:29:44 Address sizes: 40 bits physical, 48 bits virtual 09:29:44 CPU(s): 8 09:29:44 On-line CPU(s) list: 0-7 09:29:44 Thread(s) per core: 1 09:29:44 Core(s) per socket: 1 09:29:44 Socket(s): 8 09:29:44 NUMA node(s): 1 09:29:44 Vendor ID: AuthenticAMD 09:29:44 CPU family: 23 09:29:44 Model: 49 09:29:44 Model name: AMD EPYC-Rome Processor 09:29:44 Stepping: 0 09:29:44 CPU MHz: 2799.994 09:29:44 BogoMIPS: 5599.98 09:29:44 Virtualization: AMD-V 09:29:44 Hypervisor vendor: KVM 09:29:44 Virtualization type: full 09:29:44 L1d cache: 256 KiB 09:29:44 L1i cache: 256 KiB 09:29:44 L2 cache: 4 MiB 09:29:44 L3 cache: 128 MiB 09:29:44 NUMA node0 CPU(s): 0-7 09:29:44 Vulnerability Itlb multihit: Not affected 09:29:44 Vulnerability L1tf: Not affected 09:29:44 Vulnerability Mds: Not affected 09:29:44 Vulnerability Meltdown: Not affected 09:29:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:29:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:29:44 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:29:44 Vulnerability Srbds: Not affected 09:29:44 Vulnerability Tsx async abort: Not affected 09:29:44 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:29:44 09:29:44 09:29:44 ---> nproc: 09:29:44 8 09:29:44 09:29:44