Pull request #30 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4eccf07e03728cf6a18b800588ce5f506dea6fca+0d2f133a70ca139fe5a25e6e35809f1e9812dab5 (82aa3e9afa8d942db516e81f87c63115071537f4) 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-ssh15106833179664126148.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15744780552153610412.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17112265936266936865.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13721885599405934967.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17241682450964659996.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16223’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16225 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-30 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit 4eccf07e03728cf6a18b800588ce5f506dea6fca Merge succeeded, producing 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 Checking out Revision 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 (PR-30) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eccf07e03728cf6a18b800588ce5f506dea6fca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 # timeout=10 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:27:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:27:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:27:36 ========================================================= 13:27:36 EdgeX Global Pipelines Version Info 13:27:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1615f75c2d467b216d93f74a687480bae31825e7 # timeout=10 13:27:37 ------------------- 13:27:37 stable info: 13:27:37 ------------------- 13:27:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:27:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:27:37 Message: update stable to v1.0.234 13:27:37 ------------------- 13:27:37 experimental info: 13:27:37 ------------------- 13:27:37 Commited By: **** collab-it+edgex@linuxfoundation.org 13:27:37 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:27:37 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c9fc1f [Pipeline] echo 13:27:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:27:38 provisioning config files... 13:27:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3764964677782894641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:38 ---> docker-login.sh 13:27:38 nexus3.edgexfoundry.org:10001 13:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:39 Configure a credential helper to remove this warning. See 13:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:39 13:27:39 Login Succeeded 13:27:39 nexus3.edgexfoundry.org:10002 13:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:39 Configure a credential helper to remove this warning. See 13:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:39 13:27:39 Login Succeeded 13:27:39 nexus3.edgexfoundry.org:10003 13:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:39 Configure a credential helper to remove this warning. See 13:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:39 13:27:39 Login Succeeded 13:27:39 nexus3.edgexfoundry.org:10004 13:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:39 Configure a credential helper to remove this warning. See 13:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:39 13:27:39 Login Succeeded 13:27:39 docker.io 13:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:39 Configure a credential helper to remove this warning. See 13:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:39 13:27:39 Login Succeeded 13:27:39 ---> docker-login.sh ends [Pipeline] } 13:27:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:27:40 + git rev-list -1 --merges 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20~1..5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [Pipeline] echo 13:27:40 -----------> git rev-list -1 --merges 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20~1..5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 13:27:40 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [false] [Pipeline] sh 13:27:40 + git log --format=format:%s -1 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [Pipeline] echo 13:27:40 ========================================================= 13:27:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:27:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:40 + git log --format=format:%s -1 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [Pipeline] echo 13:27:40 [semverPrep] GIT_COMMIT: 5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20, Commit Message: Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD [Pipeline] echo 13:27:40 [semverPrep] This is not a build commit. [Pipeline] sh 13:27:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:27:41 + grep -v github /etc/ssh/ssh_known_hosts 13:27:41 + [ -e /tmp/ssh_known_hosts ] 13:27:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:27:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:27:41 + sudo tee -a /etc/ssh/ssh_known_hosts 13:27:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:41 13:27:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:42 0.1.4: Pulling from edgex-devops/py-git-semver 13:27:42 42c077c10790: Pulling fs layer 13:27:42 f63e77b7563a: Pulling fs layer 13:27:42 bd5fdadae976: Pulling fs layer 13:27:42 205491f53016: Pulling fs layer 13:27:42 df18705c85c3: Pulling fs layer 13:27:42 bdb3f477010e: Pulling fs layer 13:27:42 c8a8fc8e1c8f: Pulling fs layer 13:27:42 2c6e9b1d212d: Pulling fs layer 13:27:42 bdb8f0575790: Pulling fs layer 13:27:42 386e3cb2ff24: Pulling fs layer 13:27:42 2343380bae48: Pulling fs layer 13:27:42 c8a8fc8e1c8f: Waiting 13:27:42 205491f53016: Waiting 13:27:42 2c6e9b1d212d: Waiting 13:27:42 bdb8f0575790: Waiting 13:27:42 bdb3f477010e: Waiting 13:27:42 386e3cb2ff24: Waiting 13:27:42 df18705c85c3: Waiting 13:27:42 2343380bae48: Waiting 13:27:42 f63e77b7563a: Verifying Checksum 13:27:42 f63e77b7563a: Download complete 13:27:42 205491f53016: Download complete 13:27:42 df18705c85c3: Verifying Checksum 13:27:42 df18705c85c3: Download complete 13:27:42 bd5fdadae976: Verifying Checksum 13:27:42 bd5fdadae976: Download complete 13:27:42 bdb3f477010e: Verifying Checksum 13:27:42 bdb3f477010e: Download complete 13:27:42 2c6e9b1d212d: Download complete 13:27:42 bdb8f0575790: Download complete 13:27:42 386e3cb2ff24: Verifying Checksum 13:27:42 386e3cb2ff24: Download complete 13:27:42 2343380bae48: Verifying Checksum 13:27:42 2343380bae48: Download complete 13:27:42 42c077c10790: Verifying Checksum 13:27:42 42c077c10790: Download complete 13:27:42 c8a8fc8e1c8f: Download complete 13:27:43 42c077c10790: Pull complete 13:27:43 f63e77b7563a: Pull complete 13:27:44 bd5fdadae976: Pull complete 13:27:44 205491f53016: Pull complete 13:27:44 df18705c85c3: Pull complete 13:27:44 bdb3f477010e: Pull complete 13:27:46 c8a8fc8e1c8f: Pull complete 13:27:46 2c6e9b1d212d: Pull complete 13:27:46 bdb8f0575790: Pull complete 13:27:47 386e3cb2ff24: Pull complete 13:27:47 2343380bae48: Pull complete 13:27:47 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:47 prd-ubuntu20.04-docker-8c-8g-16225 does not seem to be running inside a container 13:27:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:27:48 $ docker top b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d -eo pid,comm 13:27:48 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). 13:27:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:27:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:48 [ssh-agent] Looking for ssh-agent implementation... 13:27:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:48 $ docker exec b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d ssh-agent 13:27:48 SSH_AUTH_SOCK=/tmp/ssh-UuxaJ1RYzaMG/agent.32 13:27:48 SSH_AGENT_PID=38 13:27:48 Running ssh-add (command line suppressed) 13:27:49 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3506547397360362735.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3506547397360362735.key) 13:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:49 + git tag --points-at HEAD [Pipeline] } 13:27:49 $ docker exec --env ******** --env ******** b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d ssh-agent -k 13:27:49 unset SSH_AUTH_SOCK; 13:27:49 unset SSH_AGENT_PID; 13:27:49 echo Agent pid 38 killed; 13:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:27:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:49 [ssh-agent] Looking for ssh-agent implementation... 13:27:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:49 $ docker exec b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d ssh-agent 13:27:49 SSH_AUTH_SOCK=/tmp/ssh-61tDnCXJfUUG/agent.72 13:27:49 SSH_AGENT_PID=79 13:27:49 Running ssh-add (command line suppressed) 13:27:49 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6874879969937376956.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_6874879969937376956.key) 13:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:50 + git semver init 13:27:50 2022-06-28 13:27:50,384 [run_init] DEBUG init version:0.0.0 force:False 13:27:50 2022-06-28 13:27:50,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:27:50 2022-06-28 13:27:50,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 13:27:50 2022-06-28 13:27:50,386 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 13:27:51 2022-06-28 13:27:50,941 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 13:27:51 2022-06-28 13:27:50,941 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 13:27:51 2022-06-28 13:27:50,941 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:27:51 2022-06-28 13:27:50,945 [execute] INFO git cat-file --batch-check 13:27:51 2022-06-28 13:27:50,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:27:51 2022-06-28 13:27:50,953 [execute] INFO git cat-file --batch 13:27:51 2022-06-28 13:27:50,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 13:27:51 2022-06-28 13:27:50,960 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 13:27:51 0.0.0 [Pipeline] } 13:27:51 $ docker exec --env ******** --env ******** b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d ssh-agent -k 13:27:51 unset SSH_AUTH_SOCK; 13:27:51 unset SSH_AGENT_PID; 13:27:51 echo Agent pid 79 killed; 13:27:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:27:51 + git semver [Pipeline] } 13:27:51 $ docker stop --time=1 b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d 13:27:53 $ docker rm -f b5998194c3b4de0d4d2b7f3d1e3fb832e040173adb24b30a32875c214b77a23d [Pipeline] // withDockerContainer [Pipeline] sh 13:27:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:27:53 Stashed 1 file(s) [Pipeline] echo 13:27:53 [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 13:27:53 provisioning config files... 13:27:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8007033978432704725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:54 ---> docker-login.sh 13:27:54 nexus3.edgexfoundry.org:10001 13:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:54 Configure a credential helper to remove this warning. See 13:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:54 13:27:54 Login Succeeded 13:27:54 nexus3.edgexfoundry.org:10002 13:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:54 Configure a credential helper to remove this warning. See 13:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:54 13:27:54 Login Succeeded 13:27:54 nexus3.edgexfoundry.org:10003 13:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:54 Configure a credential helper to remove this warning. See 13:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:54 13:27:54 Login Succeeded 13:27:54 nexus3.edgexfoundry.org:10004 13:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:54 Configure a credential helper to remove this warning. See 13:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:54 13:27:54 Login Succeeded 13:27:54 docker.io 13:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:55 Configure a credential helper to remove this warning. See 13:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:55 13:27:55 Login Succeeded 13:27:55 ---> docker-login.sh ends [Pipeline] } 13:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:27:55 ========================================================= 13:27:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:27:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:27:55 Sending build context to Docker daemon 718.3kB 13:27:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:27:55 Step 2/12 : FROM ${BASE} AS builder 13:27:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:27:55 59bf1c3509f3: Pulling fs layer 13:27:55 666ba61612fd: Pulling fs layer 13:27:55 8ed8ca486205: Pulling fs layer 13:27:55 cc1cd167ecdc: Pulling fs layer 13:27:55 c516ae0d96e1: Pulling fs layer 13:27:55 684cea983483: Pulling fs layer 13:27:55 dd3240ac7de5: Pulling fs layer 13:27:55 b1e948a4e11c: Pulling fs layer 13:27:55 a8fd76ee1af6: Pulling fs layer 13:27:55 646ad004c059: Pulling fs layer 13:27:55 b1e948a4e11c: Waiting 13:27:55 646ad004c059: Waiting 13:27:55 a8fd76ee1af6: Waiting 13:27:55 dd3240ac7de5: Waiting 13:27:55 cc1cd167ecdc: Waiting 13:27:55 c516ae0d96e1: Waiting 13:27:55 684cea983483: Waiting 13:27:55 8ed8ca486205: Verifying Checksum 13:27:55 8ed8ca486205: Download complete 13:27:55 666ba61612fd: Verifying Checksum 13:27:55 666ba61612fd: Download complete 13:27:55 c516ae0d96e1: Verifying Checksum 13:27:55 c516ae0d96e1: Download complete 13:27:55 684cea983483: Download complete 13:27:55 59bf1c3509f3: Verifying Checksum 13:27:55 59bf1c3509f3: Download complete 13:27:55 dd3240ac7de5: Verifying Checksum 13:27:55 dd3240ac7de5: Download complete 13:27:55 b1e948a4e11c: Verifying Checksum 13:27:55 b1e948a4e11c: Download complete 13:27:55 59bf1c3509f3: Pull complete 13:27:55 666ba61612fd: Pull complete 13:27:55 8ed8ca486205: Pull complete 13:27:55 646ad004c059: Verifying Checksum 13:27:55 646ad004c059: Download complete 13:27:56 a8fd76ee1af6: Verifying Checksum 13:27:56 a8fd76ee1af6: Download complete 13:27:56 cc1cd167ecdc: Verifying Checksum 13:27:56 cc1cd167ecdc: Download complete 13:28:00 cc1cd167ecdc: Pull complete 13:28:00 c516ae0d96e1: Pull complete 13:28:00 684cea983483: Pull complete 13:28:00 dd3240ac7de5: Pull complete 13:28:00 b1e948a4e11c: Pull complete 13:28:02 a8fd76ee1af6: Pull complete 13:28:03 646ad004c059: Pull complete 13:28:03 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:28:03 ---> 8f69c11f6b0c 13:28:03 Step 3/12 : ARG MAKE="make build" 13:28:05 ---> Running in 3370770e9ab8 13:28:05 Removing intermediate container 3370770e9ab8 13:28:05 ---> 733b567fd519 13:28:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:28:05 ---> Running in 3fd9e6513afe 13:28:05 Removing intermediate container 3fd9e6513afe 13:28:05 ---> 588c626db0b5 13:28:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:28:05 ---> Running in d43201adc3dd 13:28:05 Removing intermediate container d43201adc3dd 13:28:05 ---> d4b9b4803443 13:28:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:28:05 ---> Running in 4caa43141318 13:28:05 Removing intermediate container 4caa43141318 13:28:05 ---> d1395f3b4a91 13:28:05 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:05 ---> Running in 83bf9b70a2b0 13:28:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:28:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:28:07 (1/81) Installing mesa (21.2.6-r0) 13:28:07 (2/81) Installing libxau (1.0.9-r0) 13:28:07 (3/81) Installing libmd (1.0.3-r0) 13:28:07 (4/81) Installing libbsd (0.11.3-r1) 13:28:07 (5/81) Installing libxdmcp (1.1.3-r0) 13:28:07 (6/81) Installing libxcb (1.14-r2) 13:28:07 (7/81) Installing libx11 (1.7.2-r0) 13:28:07 (8/81) Installing libxext (1.3.4-r0) 13:28:08 (9/81) Installing libxfixes (6.0.0-r0) 13:28:08 (10/81) Installing libxxf86vm (1.1.4-r2) 13:28:08 (11/81) Installing libpciaccess (0.16-r0) 13:28:08 (12/81) Installing libdrm (2.4.109-r0) 13:28:08 (13/81) Installing mesa-glapi (21.2.6-r0) 13:28:08 (14/81) Installing libxshmfence (1.3-r1) 13:28:08 (15/81) Installing mesa-gl (21.2.6-r0) 13:28:08 (16/81) Installing libice (1.0.10-r0) 13:28:08 (17/81) Installing libuuid (2.37.4-r0) 13:28:08 Still waiting to schedule task 13:28:08 ‘prd-centos7-blackbox-4c-2g-15591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:28:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16224’ is offline 13:28:08 (18/81) Installing libsm (1.2.3-r0) 13:28:08 (19/81) Installing libxt (1.2.1-r0) 13:28:08 (20/81) Installing libxmu (1.1.3-r0) 13:28:09 (21/81) Installing xset (1.2.4-r0) 13:28:09 (22/81) Installing xprop (1.2.5-r0) 13:28:09 (23/81) Installing xdg-utils (1.1.3-r0) 13:28:09 (24/81) Installing dbus-libs (1.12.20-r4) 13:28:09 (25/81) Installing libffi (3.4.2-r1) 13:28:09 (26/81) Installing libintl (0.21-r0) 13:28:09 (27/81) Installing libblkid (2.37.4-r0) 13:28:09 (28/81) Installing libmount (2.37.4-r0) 13:28:09 (29/81) Installing pcre (8.45-r1) 13:28:09 (30/81) Installing glib (2.70.1-r0) 13:28:09 (31/81) Installing icu-libs (69.1-r1) 13:28:10 (32/81) Installing libpcre2-16 (10.40-r0) 13:28:10 (33/81) Installing zstd-libs (1.5.0-r0) 13:28:11 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 13:28:11 (35/81) Installing hicolor-icon-theme (0.17-r1) 13:28:11 (36/81) Installing wayland-libs-server (1.19.0-r1) 13:28:11 (37/81) Installing mesa-gbm (21.2.6-r0) 13:28:11 (38/81) Installing wayland-libs-client (1.19.0-r1) 13:28:11 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 13:28:12 (40/81) Installing libxcomposite (0.4.5-r0) 13:28:12 (41/81) Installing libbz2 (1.0.8-r1) 13:28:12 (42/81) Installing libpng (1.6.37-r1) 13:28:12 (43/81) Installing freetype (2.11.1-r2) 13:28:12 (44/81) Installing fontconfig (2.13.1-r4) 13:28:12 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 13:28:13 (46/81) Installing wayland-libs-egl (1.19.0-r1) 13:28:13 (47/81) Installing xkeyboard-config (2.34-r0) 13:28:13 (48/81) Installing xz-libs (5.2.5-r1) 13:28:13 (49/81) Installing libxml2 (2.9.14-r0) 13:28:13 (50/81) Installing libxkbcommon (1.3.1-r0) 13:28:13 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 13:28:13 (52/81) Installing mesa-egl (21.2.6-r0) 13:28:13 (53/81) Installing avahi-libs (0.8-r5) 13:28:13 (54/81) Installing nettle (3.7.3-r0) 13:28:13 (55/81) Installing p11-kit (0.24.0-r1) 13:28:13 (56/81) Installing libtasn1 (4.18.0-r0) 13:28:14 (57/81) Installing libunistring (0.9.10-r1) 13:28:14 (58/81) Installing gnutls (3.7.1-r0) 13:28:14 (59/81) Installing cups-libs (2.3.3-r6) 13:28:14 (60/81) Installing graphite2 (1.3.14-r0) 13:28:14 (61/81) Installing harfbuzz (3.0.0-r2) 13:28:14 (62/81) Installing libevdev (1.12.0-r0) 13:28:14 (63/81) Installing mtdev (1.1.6-r0) 13:28:14 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 13:28:14 (65/81) Installing libinput-libs (1.19.4-r0) 13:28:14 (66/81) Installing libjpeg-turbo (2.1.2-r0) 13:28:14 (67/81) Installing xcb-util-wm (0.4.1-r1) 13:28:15 (68/81) Installing xcb-util (0.4.0-r3) 13:28:15 (69/81) Installing xcb-util-image (0.4.0-r1) 13:28:15 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 13:28:15 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 13:28:15 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 13:28:15 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 13:28:16 (74/81) Installing v4l-utils-libs (1.22.1-r1) 13:28:16 (75/81) Installing v4l-utils (1.22.1-r1) 13:28:16 (76/81) Installing udev-init-scripts (35-r0) 13:28:16 Executing udev-init-scripts-35-r0.post-install 13:28:16 (77/81) Installing kmod-libs (29-r2) 13:28:16 (78/81) Installing eudev (3.2.11_pre1-r0) 13:28:16 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 13:28:16 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:28:16 (81/81) Installing v4l-utils-dev (1.22.1-r1) 13:28:16 Executing busybox-1.34.1-r3.trigger 13:28:16 Executing eudev-3.2.11_pre1-r0.trigger 13:28:16 OK: 335 MiB in 133 packages 13:28:18 Removing intermediate container 83bf9b70a2b0 13:28:18 ---> 70188d8376b1 13:28:18 Step 8/12 : WORKDIR /device-usb-camera 13:28:18 ---> Running in 67feff6c7b89 13:28:18 Removing intermediate container 67feff6c7b89 13:28:18 ---> ba1dcb0f7b05 13:28:18 Step 9/12 : COPY go.mod vendor* ./ 13:28:19 ---> 3322e5c21bc6 13:28:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:19 ---> Running in a4f2edfd8aa4 13:28:33 Removing intermediate container a4f2edfd8aa4 13:28:33 ---> 26463b09dabd 13:28:33 Step 11/12 : COPY . . 13:28:33 ---> 96da3f06f64c 13:28:33 Step 12/12 : RUN ${MAKE} 13:28:33 ---> Running in 26aaf1a6c519 13:28:33 noop 13:28:33 Removing intermediate container 26aaf1a6c519 13:28:33 ---> cc42ae92a1fc 13:28:33 Successfully built cc42ae92a1fc 13:28:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:34 + docker inspect -f . ci-base-image-x86_64 13:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:34 prd-ubuntu20.04-docker-8c-8g-16225 does not seem to be running inside a container 13:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:28:34 $ docker top 7377d0fdf644f24b57a78f0cc87d6a982b18aa87d5d1ebfd653c81cde16d63fc -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:35 + go version 13:28:35 go version go1.17.7 linux/amd64 [Pipeline] } 13:28:35 $ docker stop --time=1 7377d0fdf644f24b57a78f0cc87d6a982b18aa87d5d1ebfd653c81cde16d63fc 13:28:36 $ docker rm -f 7377d0fdf644f24b57a78f0cc87d6a982b18aa87d5d1ebfd653c81cde16d63fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:36 + docker inspect -f . ci-base-image-x86_64 13:28:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:37 prd-ubuntu20.04-docker-8c-8g-16225 does not seem to be running inside a container 13:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:28:37 $ docker top 08ade16f8890d2860c1ba7c33d4e0665e065e99d4e6346d304cee3c3fec880a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:28:37 + make test 13:28:37 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:28:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:28:48 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:28:48 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:28:53 CGO_ENABLED=1 go vet ./... 13:28:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:28:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:28:57 ./bin/test-attribution-txt.sh [Pipeline] echo 13:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:28:57 $ docker stop --time=1 08ade16f8890d2860c1ba7c33d4e0665e065e99d4e6346d304cee3c3fec880a9 13:28:59 $ docker rm -f 08ade16f8890d2860c1ba7c33d4e0665e065e99d4e6346d304cee3c3fec880a9 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:00 + ls -al . 13:29:00 total 168 13:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 13:28 . 13:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 13:27 .. 13:29:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:27 .git 13:29:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:27 .github 13:29:00 -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 13:27 .gitignore 13:29:00 -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 13:27 .golangci.yml 13:29:00 -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 13:27 .hadolint.yml 13:29:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 13:27 .semver 13:29:00 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 28 13:27 Attribution.txt 13:29:00 -rw-rw-r-- 1 jenkins jenkins 181 Jun 28 13:27 CHANGELOG.md 13:29:00 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 28 13:27 Dockerfile 13:29:00 -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 13:27 GOVERNANCE.md 13:29:00 -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 13:27 Jenkinsfile 13:29:00 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 13:27 LICENSE 13:29:00 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 28 13:27 Makefile 13:29:00 -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 13:27 OWNERS.md 13:29:00 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 28 13:27 README.md 13:29:00 -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 13:27 VERSION 13:29:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:27 bin 13:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 13:27 cmd 13:29:00 -rw-r--r-- 1 jenkins jenkins 10 Jun 28 13:28 coverage.out 13:29:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:27 docker-compose 13:29:00 -rw-rw-r-- 1 jenkins jenkins 140 Jun 28 13:27 docker-entrypoint.sh 13:29:00 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 28 13:27 go.mod 13:29:00 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 28 13:27 go.sum 13:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 13:27 internal 13:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 13:27 snap 13:29:00 -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 13:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:01 + 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=5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 --label arch=amd64 --label version=0.0.0 . 13:29:01 Sending build context to Docker daemon 719.4kB 13:29:01 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:29:01 Step 2/29 : FROM ${BASE} AS builder 13:29:01 ---> cc42ae92a1fc 13:29:01 Step 3/29 : ARG MAKE="make build" 13:29:01 ---> Running in e5ee54320bcf 13:29:01 Removing intermediate container e5ee54320bcf 13:29:01 ---> a12d79060e29 13:29:01 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:29:01 ---> Running in 1f5cd5252585 13:29:01 Removing intermediate container 1f5cd5252585 13:29:01 ---> b9179426fb54 13:29:01 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:29:01 ---> Running in 4369645dd5b9 13:29:01 Removing intermediate container 4369645dd5b9 13:29:01 ---> d848efab8166 13:29:01 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:29:01 ---> Running in 91a71b474510 13:29:02 Removing intermediate container 91a71b474510 13:29:02 ---> 410a1f97c7b6 13:29:02 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:29:02 ---> Running in 8de57d737a76 13:29:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:29:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:29:03 OK: 335 MiB in 133 packages 13:29:03 Removing intermediate container 8de57d737a76 13:29:03 ---> 9c3c8a230b16 13:29:03 Step 8/29 : WORKDIR /device-usb-camera 13:29:03 ---> Running in 63780f77cf19 13:29:04 Removing intermediate container 63780f77cf19 13:29:04 ---> d0824a6bd9cd 13:29:04 Step 9/29 : COPY go.mod vendor* ./ 13:29:04 ---> a2c68f4dc502 13:29:04 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:29:04 ---> Running in 996da2ba0aa5 13:29:05 Removing intermediate container 996da2ba0aa5 13:29:05 ---> 5769bda21fd7 13:29:05 Step 11/29 : COPY . . 13:29:05 ---> b83a688febb0 13:29:05 Step 12/29 : RUN ${MAKE} 13:29:05 ---> Running in 4361784355ee 13:29:05 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 13:29:27 Removing intermediate container 4361784355ee 13:29:27 ---> 7fc7668c9beb 13:29:27 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:29:27 v0.18.4: Pulling from aler9/rtsp-simple-server 13:29:27 af6660deedbd: Pulling fs layer 13:29:27 97cd0a44c592: Pulling fs layer 13:29:27 97cd0a44c592: Download complete 13:29:27 af6660deedbd: Verifying Checksum 13:29:27 af6660deedbd: Download complete 13:29:27 af6660deedbd: Pull complete 13:29:27 97cd0a44c592: Pull complete 13:29:27 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:29:27 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:29:27 ---> fea57e182299 13:29:27 Step 14/29 : FROM alpine:3.15 13:29:27 3.15: Pulling from library/alpine 13:29:27 df9b9388f04a: Pulling fs layer 13:29:27 df9b9388f04a: Download complete 13:29:27 df9b9388f04a: Pull complete 13:29:27 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:29:27 Status: Downloaded newer image for alpine:3.15 13:29:27 ---> 0ac33e5f5afa 13:29:27 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:29:27 ---> Running in 8e0970379f61 13:29:27 Removing intermediate container 8e0970379f61 13:29:27 ---> 9260dfeaddf1 13:29:27 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:29:27 ---> Running in 84d5762c2478 13:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:29:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:29:27 (1/74) Installing dumb-init (1.2.5-r1) 13:29:27 (2/74) Installing sdl2 (2.0.16-r4) 13:29:27 (3/74) Installing libxau (1.0.9-r0) 13:29:27 (4/74) Installing libmd (1.0.3-r0) 13:29:27 (5/74) Installing libbsd (0.11.3-r1) 13:29:27 (6/74) Installing libxdmcp (1.1.3-r0) 13:29:27 (7/74) Installing libxcb (1.14-r2) 13:29:27 (8/74) Installing libx11 (1.7.2-r0) 13:29:27 (9/74) Installing aom-libs (3.2.0-r0) 13:29:27 (10/74) Installing alsa-lib (1.2.5.1-r1) 13:29:27 (11/74) Installing expat (2.4.7-r0) 13:29:27 (12/74) Installing brotli-libs (1.0.9-r5) 13:29:27 (13/74) Installing libbz2 (1.0.8-r1) 13:29:27 (14/74) Installing libpng (1.6.37-r1) 13:29:27 (15/74) Installing freetype (2.11.1-r2) 13:29:27 (16/74) Installing libuuid (2.37.4-r0) 13:29:27 (17/74) Installing fontconfig (2.13.1-r4) 13:29:27 (18/74) Installing fribidi (1.0.11-r0) 13:29:27 (19/74) Installing libffi (3.4.2-r1) 13:29:27 (20/74) Installing libintl (0.21-r0) 13:29:27 (21/74) Installing libblkid (2.37.4-r0) 13:29:27 (22/74) Installing libmount (2.37.4-r0) 13:29:27 (23/74) Installing pcre (8.45-r1) 13:29:27 (24/74) Installing glib (2.70.1-r0) 13:29:27 (25/74) Installing graphite2 (1.3.14-r0) 13:29:27 (26/74) Installing harfbuzz (3.0.0-r2) 13:29:28 (27/74) Installing libass (0.15.2-r0) 13:29:28 (28/74) Installing libdav1d (0.9.2-r0) 13:29:28 (29/74) Installing gmp (6.2.1-r1) 13:29:28 (30/74) Installing nettle (3.7.3-r0) 13:29:28 (31/74) Installing p11-kit (0.24.0-r1) 13:29:28 (32/74) Installing libtasn1 (4.18.0-r0) 13:29:28 (33/74) Installing libunistring (0.9.10-r1) 13:29:28 (34/74) Installing gnutls (3.7.1-r0) 13:29:28 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:29:28 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 13:29:28 (37/74) Installing lame (3.100-r0) 13:29:28 (38/74) Installing opus (1.3.1-r1) 13:29:28 (39/74) Installing libgomp (10.3.1_git20211027-r0) 13:29:28 (40/74) Installing soxr (0.1.3-r2) 13:29:28 (41/74) Installing libgcc (10.3.1_git20211027-r0) 13:29:28 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 13:29:28 (43/74) Installing libsrt (1.4.2-r1) 13:29:28 (44/74) Installing libssh (0.9.6-r1) 13:29:28 (45/74) Installing libogg (1.3.5-r0) 13:29:28 (46/74) Installing libtheora (1.1.1-r16) 13:29:28 (47/74) Installing libjpeg-turbo (2.1.2-r0) 13:29:28 (48/74) Installing v4l-utils-libs (1.22.1-r1) 13:29:28 (49/74) Installing libxext (1.3.4-r0) 13:29:28 (50/74) Installing libxfixes (6.0.0-r0) 13:29:28 (51/74) Installing libpciaccess (0.16-r0) 13:29:28 (52/74) Installing libdrm (2.4.109-r0) 13:29:28 (53/74) Installing wayland-libs-client (1.19.0-r1) 13:29:28 (54/74) Installing libva (2.13.0-r0) 13:29:28 (55/74) Installing libvdpau (1.4-r0) 13:29:28 (56/74) Installing vidstab (1.1.0-r1) 13:29:28 (57/74) Installing libvorbis (1.3.7-r0) 13:29:28 (58/74) Installing libvpx (1.10.0-r0) 13:29:28 (59/74) Installing vulkan-loader (1.2.196-r0) 13:29:28 (60/74) Installing libwebp (1.2.2-r0) 13:29:28 (61/74) Installing x264-libs (20210613-r0) 13:29:28 (62/74) Installing x265-libs (3.5-r0) 13:29:28 (63/74) Installing xvidcore (1.3.7-r1) 13:29:28 (64/74) Installing ffmpeg-libs (4.4.1-r2) 13:29:28 (65/74) Installing ffmpeg (4.4.1-r2) 13:29:28 (66/74) Installing udev-init-scripts (35-r0) 13:29:28 Executing udev-init-scripts-35-r0.post-install 13:29:28 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 13:29:28 (68/74) Installing xz-libs (5.2.5-r1) 13:29:28 (69/74) Installing zstd-libs (1.5.0-r0) 13:29:28 (70/74) Installing kmod-libs (29-r2) 13:29:28 (71/74) Installing eudev (3.2.11_pre1-r0) 13:29:28 (72/74) Installing libsodium (1.0.18-r0) 13:29:28 (73/74) Installing libzmq (4.3.4-r0) 13:29:28 (74/74) Installing zeromq (4.3.4-r0) 13:29:28 Executing busybox-1.34.1-r5.trigger 13:29:28 Executing eudev-3.2.11_pre1-r0.trigger 13:29:28 OK: 78 MiB in 88 packages 13:29:30 Removing intermediate container 84d5762c2478 13:29:30 ---> df4f72fedbbc 13:29:30 Step 17/29 : WORKDIR / 13:29:30 ---> Running in 9998bd9d2f37 13:29:30 Removing intermediate container 9998bd9d2f37 13:29:30 ---> d3125cbe1484 13:29:30 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:29:30 ---> 82f5339ac30f 13:29:30 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:29:31 ---> b7a46660723b 13:29:31 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:29:31 ---> f0ccc1f3b168 13:29:31 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:29:31 ---> 217f1c8662ff 13:29:31 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:29:31 ---> 2fb7ed54669a 13:29:31 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:29:31 ---> 52e2e6afde1d 13:29:31 Step 24/29 : EXPOSE 59983 13:29:31 ---> Running in d9ffff5c9d7c 13:29:31 Removing intermediate container d9ffff5c9d7c 13:29:31 ---> 1ae204110955 13:29:31 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:29:31 ---> Running in 1af2842cfa43 13:29:32 Removing intermediate container 1af2842cfa43 13:29:32 ---> 242c81164958 13:29:32 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:29:32 ---> Running in c7fab6b4d7f2 13:29:32 Removing intermediate container c7fab6b4d7f2 13:29:32 ---> 7687b01fb158 13:29:32 Step 27/29 : LABEL arch=amd64 13:29:32 ---> Running in d8987afeb535 13:29:32 Removing intermediate container d8987afeb535 13:29:32 ---> 45db22a77213 13:29:32 Step 28/29 : LABEL git_sha=5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 13:29:32 ---> Running in 10066675dd70 13:29:32 Removing intermediate container 10066675dd70 13:29:32 ---> 57c4588e5e0e 13:29:32 Step 29/29 : LABEL version=0.0.0 13:29:32 ---> Running in 629f2ad45339 13:29:32 Removing intermediate container 629f2ad45339 13:29:32 ---> 929ace661521 13:29:32 [Warning] One or more build-args [ARCH] were not consumed 13:29:32 Successfully built 929ace661521 13:29:32 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 13:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:33 13:29:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:33 latest: Pulling from edgex-lftools-log-publisher 13:29:33 5eb5b503b376: Pulling fs layer 13:29:33 5c69ac0246d0: Pulling fs layer 13:29:33 ec43610c2a17: Pulling fs layer 13:29:33 3a2ae6a8a46f: Pulling fs layer 13:29:33 33b1e0a273af: Pulling fs layer 13:29:33 5d3b04190fa2: Pulling fs layer 13:29:33 2f39f015ded8: Pulling fs layer 13:29:33 33b1e0a273af: Waiting 13:29:33 5d3b04190fa2: Waiting 13:29:33 2f39f015ded8: Waiting 13:29:33 3a2ae6a8a46f: Waiting 13:29:33 5c69ac0246d0: Verifying Checksum 13:29:33 5c69ac0246d0: Download complete 13:29:33 3a2ae6a8a46f: Verifying Checksum 13:29:33 3a2ae6a8a46f: Download complete 13:29:33 33b1e0a273af: Verifying Checksum 13:29:33 33b1e0a273af: Download complete 13:29:33 ec43610c2a17: Verifying Checksum 13:29:33 ec43610c2a17: Download complete 13:29:33 5d3b04190fa2: Verifying Checksum 13:29:33 5eb5b503b376: Verifying Checksum 13:29:33 5eb5b503b376: Download complete 13:29:34 2f39f015ded8: Download complete 13:29:34 5eb5b503b376: Pull complete 13:29:35 5c69ac0246d0: Pull complete 13:29:35 ec43610c2a17: Pull complete 13:29:35 3a2ae6a8a46f: Pull complete 13:29:35 33b1e0a273af: Pull complete 13:29:35 5d3b04190fa2: Pull complete 13:29:40 2f39f015ded8: Pull complete 13:29:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:29:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:40 prd-ubuntu20.04-docker-8c-8g-16225 does not seem to be running inside a container 13:29:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:29:41 $ docker top b4c7106d3d42adfb8e6cea5efb3d33e950ad912c616a2a3dbb2368a686ee401f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:42 ---> job-cost.sh 13:29:42 lf-activate-venv: SKIPPING 13:29:42 INFO: No Stack... 13:29:42 INFO: Retrieving Pricing Info for: v3-standard-8 13:29:43 INFO: Archiving Costs [Pipeline] sh 13:29:43 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 13:29:43 + cut -d, -f6 [Pipeline] lock 13:29:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] 13:29:43 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] did not exist. Created. 13:29:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:29:43 + echo total: 0.2199999988079071 [Pipeline] stash 13:29:43 Stashed 1 file(s) [Pipeline] } 13:29:43 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] [Pipeline] // lock [Pipeline] } 13:29:43 $ docker stop --time=1 b4c7106d3d42adfb8e6cea5efb3d33e950ad912c616a2a3dbb2368a686ee401f 13:29:44 $ docker rm -f b4c7106d3d42adfb8e6cea5efb3d33e950ad912c616a2a3dbb2368a686ee401f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:30:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16226 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 13:30:40 Running in /w/workspace/device-usb-camera/19 [Pipeline] { [Pipeline] checkout 13:30:40 Selected Git installation does not exist. Using Default 13:30:40 The recommended git tool is: NONE 13:30:48 using credential edgex-jenkins-ssh 13:30:48 Cloning the remote Git repository 13:30:48 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 13:30:48 > git init /w/workspace/device-usb-camera/19 # timeout=10 13:30:48 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:30:48 > git --version # timeout=10 13:30:48 > git --version # 'git version 2.25.1' 13:30:48 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:49 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:30:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:49 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 13:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 13:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:30:50 Merging remotes/origin/main commit 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 into PR head commit 4eccf07e03728cf6a18b800588ce5f506dea6fca 13:30:50 Merge succeeded, producing 92f579127ccfb9edbbbd722c917fd310f864f887 13:30:50 Checking out Revision 92f579127ccfb9edbbbd722c917fd310f864f887 (PR-30) 13:30:50 > git config core.sparsecheckout # timeout=10 13:30:50 > git checkout -f 4eccf07e03728cf6a18b800588ce5f506dea6fca # timeout=10 13:30:50 > git remote # timeout=10 13:30:50 > git config --get remote.origin.url # timeout=10 13:30:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:50 > git merge 0d2f133a70ca139fe5a25e6e35809f1e9812dab5 # timeout=10 13:30:50 > git rev-parse HEAD^{commit} # timeout=10 13:30:50 > git config core.sparsecheckout # timeout=10 13:30:50 > git checkout -f 92f579127ccfb9edbbbd722c917fd310f864f887 # timeout=10 13:30:55 Commit message: "Merge commit '0d2f133a70ca139fe5a25e6e35809f1e9812dab5' into HEAD" 13:30:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:55 > git rev-list --no-walk 1615f75c2d467b216d93f74a687480bae31825e7 # timeout=10 13:30:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:30:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:30:56 Dload Upload Total Spent Left Speed 13:30:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 13:30:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:30:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:30:57 + sudo tee /etc/docker/daemon.new 13:30:57 { 13:30:57 "registry-mirrors": [ 13:30:57 "https://nexus3.edgexfoundry.org:10001" 13:30:57 ], 13:30:57 "bip": "10.250.0.254/24", 13:30:57 "hosts": [ 13:30:57 "tcp://0.0.0.0:5555", 13:30:57 "unix:///var/run/docker.sock" 13:30:57 ], 13:30:57 "mtu": 1458, 13:30:57 "selinux-enabled": true, 13:30:57 "seccomp-profile": "/etc/docker/seccomp.json" 13:30:57 } [Pipeline] sh 13:30:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:30:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:31:16 provisioning config files... 13:31:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/19@tmp/config3708964916354149617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:17 ---> docker-login.sh 13:31:17 nexus3.edgexfoundry.org:10001 13:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:18 Configure a credential helper to remove this warning. See 13:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:18 13:31:18 Login Succeeded 13:31:18 nexus3.edgexfoundry.org:10002 13:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:18 Configure a credential helper to remove this warning. See 13:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:18 13:31:18 Login Succeeded 13:31:18 nexus3.edgexfoundry.org:10003 13:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:19 Configure a credential helper to remove this warning. See 13:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:19 13:31:19 Login Succeeded 13:31:19 nexus3.edgexfoundry.org:10004 13:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:19 Configure a credential helper to remove this warning. See 13:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:19 13:31:19 Login Succeeded 13:31:19 docker.io 13:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:20 Configure a credential helper to remove this warning. See 13:31:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:20 13:31:20 Login Succeeded 13:31:20 ---> docker-login.sh ends [Pipeline] } 13:31:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:21 ========================================================= 13:31:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:31:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:31:21 Sending build context to Docker daemon 509.4kB 13:31:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:31:21 Step 2/12 : FROM ${BASE} AS builder 13:31:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:31:21 9b3977197b4f: Pulling fs layer 13:31:21 1a89e8eeedd5: Pulling fs layer 13:31:21 94645a83ff95: Pulling fs layer 13:31:21 e6fb740bc735: Pulling fs layer 13:31:21 3a77bd46dcc9: Pulling fs layer 13:31:21 355e64cbe906: Pulling fs layer 13:31:21 63ab81a10011: Pulling fs layer 13:31:21 555d1d1c4555: Pulling fs layer 13:31:21 7d9057610161: Pulling fs layer 13:31:21 355e64cbe906: Waiting 13:31:21 63ab81a10011: Waiting 13:31:21 555d1d1c4555: Waiting 13:31:21 e6fb740bc735: Waiting 13:31:21 3a77bd46dcc9: Waiting 13:31:21 7d9057610161: Waiting 13:31:21 94645a83ff95: Verifying Checksum 13:31:21 94645a83ff95: Download complete 13:31:21 1a89e8eeedd5: Verifying Checksum 13:31:21 1a89e8eeedd5: Download complete 13:31:21 3a77bd46dcc9: Download complete 13:31:21 355e64cbe906: Verifying Checksum 13:31:21 355e64cbe906: Download complete 13:31:21 9b3977197b4f: Verifying Checksum 13:31:21 9b3977197b4f: Download complete 13:31:21 63ab81a10011: Verifying Checksum 13:31:21 63ab81a10011: Download complete 13:31:22 9b3977197b4f: Pull complete 13:31:23 7d9057610161: Verifying Checksum 13:31:23 7d9057610161: Download complete 13:31:23 1a89e8eeedd5: Pull complete 13:31:24 94645a83ff95: Pull complete 13:31:24 555d1d1c4555: Verifying Checksum 13:31:24 555d1d1c4555: Download complete 13:31:25 e6fb740bc735: Verifying Checksum 13:31:25 e6fb740bc735: Download complete 13:31:37 e6fb740bc735: Pull complete 13:31:37 3a77bd46dcc9: Pull complete 13:31:37 355e64cbe906: Pull complete 13:31:37 63ab81a10011: Pull complete 13:31:44 555d1d1c4555: Pull complete 13:31:45 7d9057610161: Pull complete 13:31:45 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:31:45 ---> 819e984ddca1 13:31:45 Step 3/12 : ARG MAKE="make build" 13:31:47 ---> Running in 2dc3fbcdfc69 13:31:47 Removing intermediate container 2dc3fbcdfc69 13:31:47 ---> 2bd01c50f0fd 13:31:47 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:31:47 ---> Running in 70b96f661d34 13:31:48 Removing intermediate container 70b96f661d34 13:31:48 ---> bae655802911 13:31:48 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:31:48 ---> Running in 613961c4332e 13:31:48 Removing intermediate container 613961c4332e 13:31:48 ---> 3db643bd5599 13:31:48 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:31:48 ---> Running in d9f47abcc19e 13:31:50 Removing intermediate container d9f47abcc19e 13:31:50 ---> 1febf6badbb4 13:31:50 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:31:50 ---> Running in a1770e0c99d7 13:31:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:31:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:31:53 (1/14) Installing libintl (0.21-r0) 13:31:53 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 13:31:53 (3/14) Installing libjpeg-turbo (2.1.2-r0) 13:31:53 (4/14) Installing v4l-utils-libs (1.22.1-r1) 13:31:53 (5/14) Installing v4l-utils (1.22.1-r1) 13:31:53 (6/14) Installing udev-init-scripts (35-r0) 13:31:53 Executing udev-init-scripts-35-r0.post-install 13:31:53 (7/14) Installing libblkid (2.37.4-r0) 13:31:54 (8/14) Installing xz-libs (5.2.5-r1) 13:31:54 (9/14) Installing zstd-libs (1.5.0-r0) 13:31:54 (10/14) Installing kmod-libs (29-r2) 13:31:54 (11/14) Installing eudev (3.2.11_pre1-r0) 13:31:54 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 13:31:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 13:31:54 (14/14) Installing v4l-utils-dev (1.22.1-r1) 13:31:54 Executing busybox-1.34.1-r3.trigger 13:31:54 Executing eudev-3.2.11_pre1-r0.trigger 13:31:54 OK: 228 MiB in 66 packages 13:31:56 Removing intermediate container a1770e0c99d7 13:31:56 ---> 610400165d00 13:31:56 Step 8/12 : WORKDIR /device-usb-camera 13:31:56 ---> Running in 088a1089d88c 13:31:56 Removing intermediate container 088a1089d88c 13:31:56 ---> f0ffe8fde1b5 13:31:56 Step 9/12 : COPY go.mod vendor* ./ 13:31:56 ---> 282258b19542 13:31:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:57 ---> Running in 0dc11f733aaf 13:32:44 Removing intermediate container 0dc11f733aaf 13:32:44 ---> 89defd6c9c64 13:32:44 Step 11/12 : COPY . . 13:32:44 ---> 83fb200e3d33 13:32:44 Step 12/12 : RUN ${MAKE} 13:32:44 ---> Running in f4c0447d1e03 13:32:44 noop 13:32:44 Removing intermediate container f4c0447d1e03 13:32:44 ---> 5969f4d39ace 13:32:44 Successfully built 5969f4d39ace 13:32:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:44 + docker inspect -f . ci-base-image-arm64 13:32:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:44 prd-ubuntu20.04-docker-arm64-4c-16g-16226 does not seem to be running inside a container 13:32:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 13:32:46 $ docker top 47ff5f29525f32989a19e63c8e4bc39933d9e54182487c70e85b74f912c94eb6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:47 + go version 13:32:47 go version go1.17.7 linux/arm64 [Pipeline] } 13:32:47 $ docker stop --time=1 47ff5f29525f32989a19e63c8e4bc39933d9e54182487c70e85b74f912c94eb6 13:32:48 $ docker rm -f 47ff5f29525f32989a19e63c8e4bc39933d9e54182487c70e85b74f912c94eb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:49 + docker inspect -f . ci-base-image-arm64 13:32:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:49 prd-ubuntu20.04-docker-arm64-4c-16g-16226 does not seem to be running inside a container 13:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 13:32:50 $ docker top 5dc5b9bc54aa7d91d3b5786fef2d55782d0b50c5eccda32753e4258864ae216a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:32:51 + make test 13:32:51 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 13:32:53 ? github.com/edgexfoundry/device-usb-camera [no test files] 13:34:15 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 13:34:15 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 13:34:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:34:15 CGO_ENABLED=1 go vet ./... 13:34:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:34:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:34:42 ./bin/test-attribution-txt.sh [Pipeline] echo 13:34:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:34:46 $ docker stop --time=1 5dc5b9bc54aa7d91d3b5786fef2d55782d0b50c5eccda32753e4258864ae216a 13:34:47 $ docker rm -f 5dc5b9bc54aa7d91d3b5786fef2d55782d0b50c5eccda32753e4258864ae216a [Pipeline] // withDockerContainer [Pipeline] sh 13:34:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:34:48 Warning: overwriting stash ‘coverage-report’ 13:34:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:34:50 + ls -al . 13:34:50 total 164 13:34:50 drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 13:34 . 13:34:50 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 13:30 .. 13:34:50 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:30 .git 13:34:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:30 .github 13:34:50 -rw-rw-r-- 1 jenkins jenkins 414 Jun 28 13:30 .gitignore 13:34:50 -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 13:30 .golangci.yml 13:34:50 -rw-rw-r-- 1 jenkins jenkins 77 Jun 28 13:30 .hadolint.yml 13:34:50 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 28 13:30 Attribution.txt 13:34:50 -rw-rw-r-- 1 jenkins jenkins 181 Jun 28 13:30 CHANGELOG.md 13:34:50 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 28 13:30 Dockerfile 13:34:50 -rw-rw-r-- 1 jenkins jenkins 678 Jun 28 13:30 GOVERNANCE.md 13:34:50 -rw-rw-r-- 1 jenkins jenkins 659 Jun 28 13:30 Jenkinsfile 13:34:50 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 13:30 LICENSE 13:34:50 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 28 13:30 Makefile 13:34:50 -rw-rw-r-- 1 jenkins jenkins 622 Jun 28 13:30 OWNERS.md 13:34:50 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 28 13:30 README.md 13:34:50 -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 13:27 VERSION 13:34:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:30 bin 13:34:50 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 13:30 cmd 13:34:50 -rw-r--r-- 1 jenkins jenkins 10 Jun 28 13:32 coverage.out 13:34:50 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 13:30 docker-compose 13:34:50 -rw-rw-r-- 1 jenkins jenkins 140 Jun 28 13:30 docker-entrypoint.sh 13:34:50 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 28 13:30 go.mod 13:34:50 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 28 13:30 go.sum 13:34:50 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 13:30 internal 13:34:50 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 13:30 snap 13:34:50 -rw-rw-r-- 1 jenkins jenkins 231 Jun 28 13:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:50 + 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=92f579127ccfb9edbbbd722c917fd310f864f887 --label arch=arm64 --label version=0.0.0 . 13:34:51 Sending build context to Docker daemon 510.5kB 13:34:51 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 13:34:51 Step 2/29 : FROM ${BASE} AS builder 13:34:51 ---> 5969f4d39ace 13:34:51 Step 3/29 : ARG MAKE="make build" 13:34:51 ---> Running in 26f35c4be571 13:34:51 Removing intermediate container 26f35c4be571 13:34:51 ---> 22933d480efa 13:34:51 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:34:51 ---> Running in 50eb896bd994 13:34:51 Removing intermediate container 50eb896bd994 13:34:51 ---> bb48c1836ce0 13:34:51 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 13:34:52 ---> Running in 0638df2f4386 13:34:52 Removing intermediate container 0638df2f4386 13:34:52 ---> 98df42742e10 13:34:52 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:34:52 ---> Running in 7105e3ea6d29 13:34:54 Removing intermediate container 7105e3ea6d29 13:34:54 ---> 98c2ff1a99a7 13:34:54 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:34:54 ---> Running in 69241edeb921 13:34:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:34:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:34:56 OK: 228 MiB in 66 packages 13:34:57 Removing intermediate container 69241edeb921 13:34:57 ---> 966de81d9a62 13:34:57 Step 8/29 : WORKDIR /device-usb-camera 13:34:57 ---> Running in 4b44e14fbd09 13:34:58 Removing intermediate container 4b44e14fbd09 13:34:58 ---> 6d9e27e6c4c3 13:34:58 Step 9/29 : COPY go.mod vendor* ./ 13:34:58 ---> 105823821d50 13:34:58 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:58 ---> Running in 42aeb057727a 13:35:00 Removing intermediate container 42aeb057727a 13:35:00 ---> cb3001188f13 13:35:00 Step 11/29 : COPY . . 13:35:01 ---> 57147d4b1bbc 13:35:01 Step 12/29 : RUN ${MAKE} 13:35:01 ---> Running in a2fd5916db32 13:35:02 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 13:37:09 Removing intermediate container a2fd5916db32 13:37:09 ---> ddd869d3cd2c 13:37:09 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 13:37:09 v0.18.4: Pulling from aler9/rtsp-simple-server 13:37:09 eab2503cf8f4: Pulling fs layer 13:37:09 97cd0a44c592: Pulling fs layer 13:37:09 97cd0a44c592: Download complete 13:37:09 eab2503cf8f4: Verifying Checksum 13:37:09 eab2503cf8f4: Download complete 13:37:09 eab2503cf8f4: Pull complete 13:37:09 97cd0a44c592: Pull complete 13:37:09 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 13:37:09 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 13:37:09 ---> 7f763cca56b3 13:37:09 Step 14/29 : FROM alpine:3.15 13:37:09 3.15: Pulling from library/alpine 13:37:09 9981e73032c8: Pulling fs layer 13:37:09 9981e73032c8: Verifying Checksum 13:37:09 9981e73032c8: Download complete 13:37:09 9981e73032c8: Pull complete 13:37:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 13:37:09 Status: Downloaded newer image for alpine:3.15 13:37:09 ---> 3fb3c9af89a9 13:37:09 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:37:09 ---> Running in 1d4f74c8bd51 13:37:09 Removing intermediate container 1d4f74c8bd51 13:37:09 ---> 34e35790e312 13:37:09 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 13:37:09 ---> Running in e9f810437001 13:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:37:09 (1/73) Installing dumb-init (1.2.5-r1) 13:37:09 (2/73) Installing sdl2 (2.0.16-r4) 13:37:09 (3/73) Installing libxau (1.0.9-r0) 13:37:09 (4/73) Installing libmd (1.0.3-r0) 13:37:09 (5/73) Installing libbsd (0.11.3-r1) 13:37:09 (6/73) Installing libxdmcp (1.1.3-r0) 13:37:09 (7/73) Installing libxcb (1.14-r2) 13:37:09 (8/73) Installing libx11 (1.7.2-r0) 13:37:10 (9/73) Installing aom-libs (3.2.0-r0) 13:37:10 (10/73) Installing alsa-lib (1.2.5.1-r1) 13:37:10 (11/73) Installing expat (2.4.7-r0) 13:37:10 (12/73) Installing brotli-libs (1.0.9-r5) 13:37:10 (13/73) Installing libbz2 (1.0.8-r1) 13:37:10 (14/73) Installing libpng (1.6.37-r1) 13:37:10 (15/73) Installing freetype (2.11.1-r2) 13:37:10 (16/73) Installing libuuid (2.37.4-r0) 13:37:10 (17/73) Installing fontconfig (2.13.1-r4) 13:37:10 (18/73) Installing fribidi (1.0.11-r0) 13:37:10 (19/73) Installing libffi (3.4.2-r1) 13:37:10 (20/73) Installing libintl (0.21-r0) 13:37:10 (21/73) Installing libblkid (2.37.4-r0) 13:37:10 (22/73) Installing libmount (2.37.4-r0) 13:37:10 (23/73) Installing pcre (8.45-r1) 13:37:10 (24/73) Installing glib (2.70.1-r0) 13:37:10 (25/73) Installing graphite2 (1.3.14-r0) 13:37:10 (26/73) Installing harfbuzz (3.0.0-r2) 13:37:10 (27/73) Installing libass (0.15.2-r0) 13:37:10 (28/73) Installing libdav1d (0.9.2-r0) 13:37:10 (29/73) Installing gmp (6.2.1-r1) 13:37:10 (30/73) Installing nettle (3.7.3-r0) 13:37:10 (31/73) Installing p11-kit (0.24.0-r1) 13:37:10 (32/73) Installing libtasn1 (4.18.0-r0) 13:37:10 (33/73) Installing libunistring (0.9.10-r1) 13:37:10 (34/73) Installing gnutls (3.7.1-r0) 13:37:11 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 13:37:11 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 13:37:11 (37/73) Installing lame (3.100-r0) 13:37:11 (38/73) Installing opus (1.3.1-r1) 13:37:11 (39/73) Installing libgomp (10.3.1_git20211027-r0) 13:37:11 (40/73) Installing soxr (0.1.3-r2) 13:37:11 (41/73) Installing libgcc (10.3.1_git20211027-r0) 13:37:11 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 13:37:11 (43/73) Installing libsrt (1.4.2-r1) 13:37:11 (44/73) Installing libssh (0.9.6-r1) 13:37:11 (45/73) Installing libogg (1.3.5-r0) 13:37:11 (46/73) Installing libtheora (1.1.1-r16) 13:37:11 (47/73) Installing libjpeg-turbo (2.1.2-r0) 13:37:11 (48/73) Installing v4l-utils-libs (1.22.1-r1) 13:37:11 (49/73) Installing libxext (1.3.4-r0) 13:37:11 (50/73) Installing libxfixes (6.0.0-r0) 13:37:11 (51/73) Installing libdrm (2.4.109-r0) 13:37:11 (52/73) Installing wayland-libs-client (1.19.0-r1) 13:37:11 (53/73) Installing libva (2.13.0-r0) 13:37:11 (54/73) Installing libvdpau (1.4-r0) 13:37:11 (55/73) Installing vidstab (1.1.0-r1) 13:37:11 (56/73) Installing libvorbis (1.3.7-r0) 13:37:11 (57/73) Installing libvpx (1.10.0-r0) 13:37:11 (58/73) Installing vulkan-loader (1.2.196-r0) 13:37:11 (59/73) Installing libwebp (1.2.2-r0) 13:37:11 (60/73) Installing x264-libs (20210613-r0) 13:37:11 (61/73) Installing x265-libs (3.5-r0) 13:37:11 (62/73) Installing xvidcore (1.3.7-r1) 13:37:11 (63/73) Installing ffmpeg-libs (4.4.1-r2) 13:37:12 (64/73) Installing ffmpeg (4.4.1-r2) 13:37:12 (65/73) Installing udev-init-scripts (35-r0) 13:37:12 Executing udev-init-scripts-35-r0.post-install 13:37:12 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 13:37:12 (67/73) Installing xz-libs (5.2.5-r1) 13:37:12 (68/73) Installing zstd-libs (1.5.0-r0) 13:37:12 (69/73) Installing kmod-libs (29-r2) 13:37:12 (70/73) Installing eudev (3.2.11_pre1-r0) 13:37:12 (71/73) Installing libsodium (1.0.18-r0) 13:37:12 (72/73) Installing libzmq (4.3.4-r0) 13:37:12 (73/73) Installing zeromq (4.3.4-r0) 13:37:12 Executing busybox-1.34.1-r5.trigger 13:37:12 Executing eudev-3.2.11_pre1-r0.trigger 13:37:12 OK: 67 MiB in 87 packages 13:37:15 Removing intermediate container e9f810437001 13:37:15 ---> e0dd15de7317 13:37:15 Step 17/29 : WORKDIR / 13:37:15 ---> Running in b3f7cc318d97 13:37:15 Removing intermediate container b3f7cc318d97 13:37:15 ---> e5232c0f2646 13:37:15 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 13:37:16 ---> f14e05b1707c 13:37:16 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 13:37:17 ---> 9a7b7720a146 13:37:17 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:37:18 ---> 441ff431962f 13:37:18 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:37:18 ---> d2210ea62440 13:37:18 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 13:37:19 ---> 3f5bfb5671d6 13:37:19 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 13:37:20 ---> dc8bb863d9ea 13:37:20 Step 24/29 : EXPOSE 59983 13:37:20 ---> Running in 064513172ae9 13:37:20 Removing intermediate container 064513172ae9 13:37:20 ---> 5f91528b21ea 13:37:20 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:37:20 ---> Running in ed6c22b86e98 13:37:21 Removing intermediate container ed6c22b86e98 13:37:21 ---> f5a6c2fb9fc1 13:37:21 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 13:37:21 ---> Running in ee3376d36342 13:37:21 Removing intermediate container ee3376d36342 13:37:21 ---> 3a55dcec5715 13:37:21 Step 27/29 : LABEL arch=arm64 13:37:21 ---> Running in 6b1a206f4a57 13:37:21 Removing intermediate container 6b1a206f4a57 13:37:21 ---> adf54039d91c 13:37:21 Step 28/29 : LABEL git_sha=92f579127ccfb9edbbbd722c917fd310f864f887 13:37:21 ---> Running in f3f80774d79d 13:37:21 Removing intermediate container f3f80774d79d 13:37:21 ---> f357cba225bc 13:37:21 Step 29/29 : LABEL version=0.0.0 13:37:21 ---> Running in 603677f95148 13:37:22 Removing intermediate container 603677f95148 13:37:22 ---> 76b1cbbda9a8 13:37:22 [Warning] One or more build-args [ARCH] were not consumed 13:37:22 Successfully built 76b1cbbda9a8 13:37:22 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 13:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:22 13:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:23 arm64: Pulling from edgex-lftools-log-publisher 13:37:23 8998bd30e6a1: Pulling fs layer 13:37:23 04944245beec: Pulling fs layer 13:37:23 699f458cf7ca: Pulling fs layer 13:37:23 765212b225bb: Pulling fs layer 13:37:23 f23df028b6ca: Pulling fs layer 13:37:23 d65c8cfc05b1: Pulling fs layer 13:37:23 2437ff75d9bd: Pulling fs layer 13:37:23 f23df028b6ca: Waiting 13:37:23 765212b225bb: Waiting 13:37:23 d65c8cfc05b1: Waiting 13:37:23 2437ff75d9bd: Waiting 13:37:23 04944245beec: Verifying Checksum 13:37:23 04944245beec: Download complete 13:37:23 765212b225bb: Verifying Checksum 13:37:23 765212b225bb: Download complete 13:37:23 f23df028b6ca: Verifying Checksum 13:37:23 f23df028b6ca: Download complete 13:37:23 d65c8cfc05b1: Verifying Checksum 13:37:23 d65c8cfc05b1: Download complete 13:37:23 699f458cf7ca: Verifying Checksum 13:37:23 699f458cf7ca: Download complete 13:37:24 8998bd30e6a1: Verifying Checksum 13:37:24 8998bd30e6a1: Download complete 13:37:25 2437ff75d9bd: Verifying Checksum 13:37:25 2437ff75d9bd: Download complete 13:37:27 8998bd30e6a1: Pull complete 13:37:28 04944245beec: Pull complete 13:37:30 699f458cf7ca: Pull complete 13:37:30 765212b225bb: Pull complete 13:37:31 f23df028b6ca: Pull complete 13:37:31 d65c8cfc05b1: Pull complete 13:37:46 2437ff75d9bd: Pull complete 13:37:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:46 prd-ubuntu20.04-docker-arm64-4c-16g-16226 does not seem to be running inside a container 13:37:46 $ 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/19 -v /w/workspace/device-usb-camera/19:/w/workspace/device-usb-camera/19:rw,z -v /w/workspace/device-usb-camera/19@tmp:/w/workspace/device-usb-camera/19@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 13:37:49 $ docker top b44aed8bd5a16118a77a54878f65c2071ccbfb94db738f59e6c4179a05308b47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:50 ---> job-cost.sh 13:37:50 lf-activate-venv: SKIPPING 13:37:50 INFO: No Stack... 13:37:50 INFO: Retrieving Pricing Info for: v3-standard-4 13:37:51 INFO: Archiving Costs [Pipeline] sh 13:37:52 + cut -d, -f6 13:37:52 + cat /w/workspace/device-usb-camera/19/archives/cost.csv [Pipeline] lock 13:37:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] 13:37:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] did not exist. Created. 13:37:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:37:52 /w/workspace/device-usb-camera/19@tmp/durable-74e6ce01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:37:53 + echo total: 0.10999999940395355 [Pipeline] stash 13:37:53 Warning: overwriting stash ‘stack-cost’ 13:37:53 Stashed 1 file(s) [Pipeline] } 13:37:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-19-stack-cost] [Pipeline] // lock [Pipeline] } 13:37:53 $ docker stop --time=1 b44aed8bd5a16118a77a54878f65c2071ccbfb94db738f59e6c4179a05308b47 13:37:55 $ docker rm -f b44aed8bd5a16118a77a54878f65c2071ccbfb94db738f59e6c4179a05308b47 [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 13:37:55 provisioning config files... 13:37:55 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8369190071925737967tmp [Pipeline] { [Pipeline] sh 13:37:56 + set +x 13:37:56 + curl -s https://codecov.io/bash 13:37:56 + bash -s -- 13:37:56 13:37:56 _____ _ 13:37:56 / ____| | | 13:37:56 | | ___ __| | ___ ___ _____ __ 13:37:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:37:56 | |___| (_) | (_| | __/ (_| (_) \ V / 13:37:56 \_____\___/ \__,_|\___|\___\___/ \_/ 13:37:56 Bash-1.0.6 13:37:56 13:37:56 13:37:56 ==> git version 2.25.1 found 13:37:56 ==> 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 13:37:56 Release-Date: 2020-01-08 13:37:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:37:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:37:56 ==> Jenkins CI detected. 13:37:56 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 13:37:56 project root: . 13:37:56 --> token set from env 13:37:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:37:56 ==> Running gcov in . (disable via -X gcov) 13:37:56 ==> Python coveragepy not found 13:37:56 ==> Searching for coverage reports in: 13:37:56 + . 13:37:56 -> Found 1 reports 13:37:56 ==> Detecting git/mercurial file structure 13:37:56 ==> Reading reports 13:37:56 + ./coverage.out bytes=10 13:37:56 ==> Appending adjustments 13:37:56 https://docs.codecov.io/docs/fixing-reports 13:37:56 + Found adjustments 13:37:56 ==> Gzipping contents 13:37:56 4.0K /tmp/codecov.laqClM.gz 13:37:56 ==> Uploading reports 13:37:56 url: https://codecov.io 13:37:56 query: branch=PR-30&commit=5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:37:56 -> Pinging Codecov 13:37:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 13:37:56 -> Uploading to 13:37:56 https://storage.googleapis.com/codecov/v4/raw/2022-06-28/73D8F5FF140700D3E01443B452E23636/5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20/7607b938-e620-44cf-b9a4-d8ca50944890.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T133756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c2b91979dec249b47a2bd46d5db206a37b3026569d8908ae00a2bd36c5c1145 13:37:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:37:56 Dload Upload Total Spent Left Speed 13:37:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1212 0 0 100 1212 0 5459 --:--:-- --:--:-- --:--:-- 5459 100 1212 0 0 100 1212 0 5386 --:--:-- --:--:-- --:--:-- 5362 13:37:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/5c9fc1fcb3820a39da21c3b990a44cf7f3e00e20 [Pipeline] } 13:37:56 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 13:37:57 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 13:37:57 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:37:57 total 16 13:37:57 drwxr-xr-x 3 root root 4096 Jun 28 13:29 . 13:37:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 13:29 .. 13:37:57 drwxr-xr-x 2 root root 4096 Jun 28 13:29 cost 13:37:57 -rw-r--r-- 1 root root 88 Jun 28 13:29 cost.csv 13:37:57 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:37:57 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 13:37:57 total 16 13:37:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 13:29 . 13:37:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 28 13:29 .. 13:37:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 13:29 cost 13:37:57 -rw-r--r-- 1 jenkins jenkins 88 Jun 28 13:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:37:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:37:58 ---> package-listing.sh 13:37:58 ++ facter osfamily 13:37:58 ++ tr '[:upper:]' '[:lower:]' 13:37:58 + OS_FAMILY=debian 13:37:58 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 13:37:58 + START_PACKAGES=/tmp/packages_start.txt 13:37:58 + END_PACKAGES=/tmp/packages_end.txt 13:37:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:37:58 + PACKAGES=/tmp/packages_start.txt 13:37:58 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:37:58 + PACKAGES=/tmp/packages_end.txt 13:37:58 + case "${OS_FAMILY}" in 13:37:58 + grep '^ii' 13:37:58 + dpkg -l 13:37:58 + '[' -f /tmp/packages_start.txt ']' 13:37:58 + '[' -f /tmp/packages_end.txt ']' 13:37:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:37:58 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 13:37:58 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 13:37:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 13:37:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:37:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:37:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:59 prd-ubuntu20.04-docker-8c-8g-16225 does not seem to be running inside a container 13:37:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:38:00 $ docker top 188c359007867631949ff34d0f8beebe6d4e03bc7c7fd6e622d01f0747fffafd -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:01 + touch /tmp/pre-build-complete [Pipeline] sh 13:38:01 + mkdir -p /var/log/sysstat [Pipeline] sh 13:38:01 + ls /var/log/sa-host 13:38:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:38:01 provisioning config files... 13:38:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4453220355105795690tmp [Pipeline] { [Pipeline] echo 13:38:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:38:01 ---> create-netrc.sh [Pipeline] } 13:38:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:38:02 ---> python-tools-install.sh [Pipeline] echo 13:38:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:38:02 ---> sudo-logs.sh 13:38:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:38:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:38:02 ---> job-cost.sh 13:38:02 lf-activate-venv: SKIPPING 13:38:02 DEBUG: total: 0.2199999988079071 13:38:02 INFO: Retrieving Stack Cost... 13:38:03 INFO: Retrieving Pricing Info for: v3-standard-8 13:38:04 INFO: Archiving Costs [Pipeline] echo 13:38:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:38:04 ---> logs-deploy.sh 13:38:04 lf-activate-venv: SKIPPING 13:38:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/19 13:38:04 INFO: archiving workspace using pattern(s): 13:38:05 Archives upload complete. 13:38:05 INFO: archiving logs to Nexus