Pull request #143 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 MonicaisHer for edgexfoundry/device-usb-camera Obtained Jenkinsfile from b03713d59d051ff9711d79fa3803d480c7e59e57+ad81b6791089a5483c30c2e43f91131867ddea47 (9dd23cffa5878cb0cdb7459758d753837fad41f5) 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-ssh12111151189609353758.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12258313045294758722.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-143/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-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh971622094345897613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11101865290146273663.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-143/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-143/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5421449064329853210.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5524 in /w/workspace/foundry_device-usb-camera_PR-143 [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/foundry_device-usb-camera_PR-143 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit b03713d59d051ff9711d79fa3803d480c7e59e57 Merge succeeded, producing b03713d59d051ff9711d79fa3803d480c7e59e57 Checking out Revision b03713d59d051ff9711d79fa3803d480c7e59e57 (PR-143) > git config core.sparsecheckout # timeout=10 > git checkout -f b03713d59d051ff9711d79fa3803d480c7e59e57 # 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 ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03713d59d051ff9711d79fa3803d480c7e59e57 # timeout=10 Commit message: "docs(snap): Update camera interface, remove demo example" > git rev-list --no-walk 029b89dd4fe789938816c1c70018bbbc099be4b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:05:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:05:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:05:15 ========================================================= 10:05:15 EdgeX Global Pipelines Version Info 10:05:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:05:16 ------------------- 10:05:16 stable info: 10:05:16 ------------------- 10:05:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:05:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:05:16 Message: update stable to v1.0.244 10:05:16 ------------------- 10:05:16 experimental info: 10:05:16 ------------------- 10:05:16 Commited By: **** collab-it+edgex@linuxfoundation.org 10:05:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:05:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b03713d59d051ff9711d79fa3803d480c7e59e57 [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b03713d [Pipeline] echo 10:05:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:17 provisioning config files... 10:05:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-143@tmp/config17062687990837575263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:17 ---> docker-login.sh 10:05:17 nexus3.edgexfoundry.org:10001 10:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:17 Configure a credential helper to remove this warning. See 10:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:17 10:05:17 Login Succeeded 10:05:17 nexus3.edgexfoundry.org:10002 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 nexus3.edgexfoundry.org:10003 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 nexus3.edgexfoundry.org:10004 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 docker.io 10:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:18 Configure a credential helper to remove this warning. See 10:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:18 10:05:18 Login Succeeded 10:05:18 ---> docker-login.sh ends [Pipeline] } 10:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:05:18 + git rev-list -1 --merges b03713d59d051ff9711d79fa3803d480c7e59e57~1..b03713d59d051ff9711d79fa3803d480c7e59e57 [Pipeline] echo 10:05:19 -----------> git rev-list -1 --merges b03713d59d051ff9711d79fa3803d480c7e59e57~1..b03713d59d051ff9711d79fa3803d480c7e59e57 b03713d59d051ff9711d79fa3803d480c7e59e57 [false] [Pipeline] sh 10:05:19 + git log --format=format:%s -1 b03713d59d051ff9711d79fa3803d480c7e59e57 [Pipeline] echo 10:05:19 ========================================================= 10:05:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:05:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:19 + git log --format=format:%s -1 b03713d59d051ff9711d79fa3803d480c7e59e57 [Pipeline] echo 10:05:19 [semverPrep] GIT_COMMIT: b03713d59d051ff9711d79fa3803d480c7e59e57, Commit Message: docs(snap): Update camera interface, remove demo example [Pipeline] echo 10:05:19 [semverPrep] This is not a build commit. [Pipeline] sh 10:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:05:20 + grep -v github /etc/ssh/ssh_known_hosts 10:05:20 + [ -e /tmp/ssh_known_hosts ] 10:05:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:05:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:05:20 + sudo tee -a /etc/ssh/ssh_known_hosts 10:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:20 10:05:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:20 0.1.4: Pulling from edgex-devops/py-git-semver 10:05:20 b85a868b505f: Pulling fs layer 10:05:20 e2be974225ed: Pulling fs layer 10:05:20 339a4e72a1f5: Pulling fs layer 10:05:20 988bab9f4d93: Pulling fs layer 10:05:20 1469e6f7b9e6: Pulling fs layer 10:05:20 eaf3925da568: Pulling fs layer 10:05:20 bab4dde63d76: Pulling fs layer 10:05:20 bde34c3a00c8: Pulling fs layer 10:05:20 b352a97aabf1: Pulling fs layer 10:05:20 4872d77fe225: Pulling fs layer 10:05:20 5851b861e8e6: Pulling fs layer 10:05:20 988bab9f4d93: Waiting 10:05:20 1469e6f7b9e6: Waiting 10:05:20 eaf3925da568: Waiting 10:05:20 bab4dde63d76: Waiting 10:05:20 bde34c3a00c8: Waiting 10:05:20 b352a97aabf1: Waiting 10:05:20 4872d77fe225: Waiting 10:05:20 5851b861e8e6: Waiting 10:05:20 e2be974225ed: Verifying Checksum 10:05:20 e2be974225ed: Download complete 10:05:20 988bab9f4d93: Verifying Checksum 10:05:20 988bab9f4d93: Download complete 10:05:21 339a4e72a1f5: Verifying Checksum 10:05:21 339a4e72a1f5: Download complete 10:05:21 1469e6f7b9e6: Verifying Checksum 10:05:21 1469e6f7b9e6: Download complete 10:05:21 bde34c3a00c8: Download complete 10:05:21 b352a97aabf1: Download complete 10:05:21 4872d77fe225: Download complete 10:05:21 5851b861e8e6: Download complete 10:05:21 b85a868b505f: Verifying Checksum 10:05:21 b85a868b505f: Download complete 10:05:21 bab4dde63d76: Verifying Checksum 10:05:21 bab4dde63d76: Download complete 10:05:22 b85a868b505f: Pull complete 10:05:22 e2be974225ed: Pull complete 10:05:23 339a4e72a1f5: Pull complete 10:05:23 988bab9f4d93: Pull complete 10:05:23 1469e6f7b9e6: Pull complete 10:05:23 eaf3925da568: Pull complete 10:05:25 bab4dde63d76: Pull complete 10:05:25 bde34c3a00c8: Pull complete 10:05:25 b352a97aabf1: Pull complete 10:05:25 4872d77fe225: Pull complete 10:05:25 5851b861e8e6: Pull complete 10:05:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:25 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 10:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-143 -v /w/workspace/foundry_device-usb-camera_PR-143:/w/workspace/foundry_device-usb-camera_PR-143:rw,z -v /w/workspace/foundry_device-usb-camera_PR-143@tmp:/w/workspace/foundry_device-usb-camera_PR-143@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 10:05:26 $ docker top e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 -eo pid,comm 10:05:26 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). 10:05:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:26 [ssh-agent] Looking for ssh-agent implementation... 10:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:27 $ docker exec e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 ssh-agent 10:05:27 SSH_AUTH_SOCK=/tmp/ssh-8UVnZnlLUA8B/agent.33 10:05:27 SSH_AGENT_PID=39 10:05:27 Running ssh-add (command line suppressed) 10:05:27 Identity added: /w/workspace/foundry_device-usb-camera_PR-143@tmp/private_key_15547552533928430080.key (/w/workspace/foundry_device-usb-camera_PR-143@tmp/private_key_15547552533928430080.key) 10:05:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:27 + git tag --points-at HEAD [Pipeline] } 10:05:27 $ docker exec --env ******** --env ******** e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 ssh-agent -k 10:05:27 unset SSH_AUTH_SOCK; 10:05:27 unset SSH_AGENT_PID; 10:05:27 echo Agent pid 39 killed; 10:05:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:05:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:27 [ssh-agent] Looking for ssh-agent implementation... 10:05:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:27 $ docker exec e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 ssh-agent 10:05:28 SSH_AUTH_SOCK=/tmp/ssh-xJVvJneKjMsq/agent.71 10:05:28 SSH_AGENT_PID=77 10:05:28 Running ssh-add (command line suppressed) 10:05:28 Identity added: /w/workspace/foundry_device-usb-camera_PR-143@tmp/private_key_2161643868454427960.key (/w/workspace/foundry_device-usb-camera_PR-143@tmp/private_key_2161643868454427960.key) 10:05:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:28 + git semver init 10:05:28 2023-02-13 10:05:28,655 [run_init] DEBUG init version:0.0.0 force:False 10:05:28 2023-02-13 10:05:28,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-143/.semver 10:05:28 2023-02-13 10:05:28,656 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-143/.semver 10:05:28 2023-02-13 10:05:28,657 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-143/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-143, universal_newlines=False, shell=None, istream=None) 10:05:29 2023-02-13 10:05:29,494 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-143/.git/info/exclude 10:05:29 2023-02-13 10:05:29,494 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-143/.semver/PR-143 with force:False 10:05:29 2023-02-13 10:05:29,494 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-143/.semver/PR-143 10:05:29 2023-02-13 10:05:29,499 [execute] INFO git cat-file --batch-check 10:05:29 2023-02-13 10:05:29,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-143/.semver, universal_newlines=False, shell=None, istream=) 10:05:29 2023-02-13 10:05:29,507 [execute] INFO git cat-file --batch 10:05:29 2023-02-13 10:05:29,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-143/.semver, universal_newlines=False, shell=None, istream=) 10:05:29 2023-02-13 10:05:29,513 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-143/.semver/PR-143 10:05:29 0.0.0 [Pipeline] } 10:05:29 $ docker exec --env ******** --env ******** e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 ssh-agent -k 10:05:29 unset SSH_AUTH_SOCK; 10:05:29 unset SSH_AGENT_PID; 10:05:29 echo Agent pid 77 killed; 10:05:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:30 + git semver [Pipeline] } 10:05:30 $ docker stop --time=1 e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 10:05:31 $ docker rm -f --volumes e3455bce5403c613e9a95cdc8c5782d091b85cf06e1cab7a28ff3ab954420ac2 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:05:32 Stashed 1 file(s) [Pipeline] echo 10:05:32 [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 10:05:32 provisioning config files... 10:05:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-143@tmp/config343466015294197592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:32 ---> docker-login.sh 10:05:32 nexus3.edgexfoundry.org:10001 10:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:32 Configure a credential helper to remove this warning. See 10:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:32 10:05:32 Login Succeeded 10:05:32 nexus3.edgexfoundry.org:10002 10:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:32 Configure a credential helper to remove this warning. See 10:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:32 10:05:32 Login Succeeded 10:05:32 nexus3.edgexfoundry.org:10003 10:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:32 Configure a credential helper to remove this warning. See 10:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:32 10:05:32 Login Succeeded 10:05:32 nexus3.edgexfoundry.org:10004 10:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:32 Configure a credential helper to remove this warning. See 10:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:32 10:05:32 Login Succeeded 10:05:32 docker.io 10:05:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:33 Configure a credential helper to remove this warning. See 10:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:33 10:05:33 Login Succeeded 10:05:33 ---> docker-login.sh ends [Pipeline] } 10:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:05:33 ========================================================= 10:05:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:05:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:05:33 Sending build context to Docker daemon 1.765MB 10:05:33 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:05:33 Step 2/13 : FROM ${BASE} AS builder 10:05:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:33 213ec9aee27d: Pulling fs layer 10:05:33 4583459ba037: Pulling fs layer 10:05:33 93c1e223e6f2: Pulling fs layer 10:05:33 53926ce57604: Pulling fs layer 10:05:33 21b2b0c7a3f4: Pulling fs layer 10:05:33 22ff95d597cd: Pulling fs layer 10:05:33 12d6caf4c0d1: Pulling fs layer 10:05:33 96b7cbca73a9: Pulling fs layer 10:05:33 a7acece74701: Pulling fs layer 10:05:33 53926ce57604: Waiting 10:05:33 12d6caf4c0d1: Waiting 10:05:33 96b7cbca73a9: Waiting 10:05:33 21b2b0c7a3f4: Waiting 10:05:33 a7acece74701: Waiting 10:05:33 22ff95d597cd: Waiting 10:05:33 93c1e223e6f2: Verifying Checksum 10:05:33 93c1e223e6f2: Download complete 10:05:33 4583459ba037: Verifying Checksum 10:05:33 4583459ba037: Download complete 10:05:33 21b2b0c7a3f4: Download complete 10:05:34 22ff95d597cd: Verifying Checksum 10:05:34 22ff95d597cd: Download complete 10:05:34 213ec9aee27d: Verifying Checksum 10:05:34 12d6caf4c0d1: Verifying Checksum 10:05:34 213ec9aee27d: Pull complete 10:05:34 4583459ba037: Pull complete 10:05:34 93c1e223e6f2: Pull complete 10:05:35 53926ce57604: Verifying Checksum 10:05:35 53926ce57604: Download complete 10:05:35 a7acece74701: Verifying Checksum 10:05:35 a7acece74701: Download complete 10:05:35 96b7cbca73a9: Verifying Checksum 10:05:35 96b7cbca73a9: Download complete 10:05:39 53926ce57604: Pull complete 10:05:39 21b2b0c7a3f4: Pull complete 10:05:39 22ff95d597cd: Pull complete 10:05:39 12d6caf4c0d1: Pull complete 10:05:41 96b7cbca73a9: Pull complete 10:05:42 a7acece74701: Pull complete 10:05:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 10:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:05:42 ---> db6d94c90886 10:05:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:05:44 ---> Running in 308ba1757fa1 10:05:44 Removing intermediate container 308ba1757fa1 10:05:44 ---> 30015fba3114 10:05:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:44 ---> Running in 666c051b27ac 10:05:44 Removing intermediate container 666c051b27ac 10:05:44 ---> af2b36be9a54 10:05:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:05:44 ---> Running in ac73344119a8 10:05:44 Removing intermediate container ac73344119a8 10:05:44 ---> a18c8cd27a98 10:05:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:05:44 ---> Running in 35ff05e0f010 10:05:44 Removing intermediate container 35ff05e0f010 10:05:44 ---> 6705fa35552d 10:05:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:44 ---> Running in 9d5b7804bbff 10:05:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:05:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:05:45 (1/80) Installing mesa (21.3.9-r0) 10:05:45 (2/80) Installing libxau (1.0.9-r0) 10:05:45 (3/80) Installing libxdmcp (1.1.3-r0) 10:05:45 (4/80) Installing libxcb (1.15-r0) 10:05:45 (5/80) Installing libx11 (1.8-r0) 10:05:45 (6/80) Installing libxext (1.3.4-r0) 10:05:45 (7/80) Installing libxfixes (6.0.0-r0) 10:05:45 (8/80) Installing libxxf86vm (1.1.4-r2) 10:05:45 (9/80) Installing libpciaccess (0.16-r0) 10:05:45 (10/80) Installing libdrm (2.4.110-r0) 10:05:45 (11/80) Installing mesa-glapi (21.3.9-r0) 10:05:45 (12/80) Installing libxshmfence (1.3-r1) 10:05:45 (13/80) Installing mesa-gl (21.3.9-r0) 10:05:45 (14/80) Installing icu-data-full (71.1-r2) 10:05:45 (15/80) Installing libice (1.0.10-r0) 10:05:45 (16/80) Installing libuuid (2.38-r1) 10:05:45 (17/80) Installing libsm (1.2.3-r0) 10:05:45 (18/80) Installing libxt (1.2.1-r0) 10:05:45 (19/80) Installing libxmu (1.1.3-r0) 10:05:45 (20/80) Installing xset (1.2.4-r0) 10:05:45 (21/80) Installing xprop (1.2.5-r0) 10:05:45 (22/80) Installing xdg-utils (1.1.3-r3) 10:05:45 (23/80) Installing dbus-libs (1.14.4-r0) 10:05:45 (24/80) Installing libffi (3.4.2-r1) 10:05:45 (25/80) Installing libintl (0.21-r2) 10:05:45 (26/80) Installing libblkid (2.38-r1) 10:05:45 (27/80) Installing libmount (2.38-r1) 10:05:45 (28/80) Installing pcre (8.45-r2) 10:05:45 (29/80) Installing glib (2.72.1-r0) 10:05:45 (30/80) Installing icu-libs (71.1-r2) 10:05:45 (31/80) Installing libpcre2-16 (10.40-r0) 10:05:45 (32/80) Installing zstd-libs (1.5.2-r1) 10:05:45 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 10:05:45 (34/80) Installing hicolor-icon-theme (0.17-r1) 10:05:45 (35/80) Installing wayland-libs-server (1.20.0-r0) 10:05:45 (36/80) Installing mesa-gbm (21.3.9-r0) 10:05:45 (37/80) Installing wayland-libs-client (1.20.0-r0) 10:05:45 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 10:05:46 (39/80) Installing libxcomposite (0.4.5-r0) 10:05:46 (40/80) Installing libbz2 (1.0.8-r1) 10:05:46 (41/80) Installing libpng (1.6.37-r1) 10:05:46 (42/80) Installing freetype (2.12.1-r0) 10:05:46 (43/80) Installing fontconfig (2.14.0-r0) 10:05:46 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 10:05:46 (45/80) Installing wayland-libs-egl (1.20.0-r0) 10:05:46 (46/80) Installing xkeyboard-config (2.35.1-r0) 10:05:46 (47/80) Installing xz-libs (5.2.5-r1) 10:05:46 (48/80) Installing libxml2 (2.9.14-r2) 10:05:46 (49/80) Installing libxkbcommon (1.4.1-r0) 10:05:46 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 10:05:46 (51/80) Installing mesa-egl (21.3.9-r0) 10:05:46 (52/80) Installing avahi-libs (0.8-r6) 10:05:46 (53/80) Installing nettle (3.7.3-r0) 10:05:46 (54/80) Installing p11-kit (0.24.1-r0) 10:05:46 (55/80) Installing libtasn1 (4.18.0-r1) 10:05:46 (56/80) Installing libunistring (1.0-r0) 10:05:46 (57/80) Installing gnutls (3.7.7-r1) 10:05:46 (58/80) Installing cups-libs (2.4.2-r0) 10:05:46 (59/80) Installing graphite2 (1.3.14-r1) 10:05:46 (60/80) Installing harfbuzz (4.3.0-r0) 10:05:46 (61/80) Installing libevdev (1.12.1-r0) 10:05:46 (62/80) Installing mtdev (1.1.6-r0) 10:05:46 (63/80) Installing eudev-libs (3.2.11-r0) 10:05:46 (64/80) Installing libinput-libs (1.20.1-r0) 10:05:46 (65/80) Installing libjpeg-turbo (2.1.3-r1) 10:05:46 (66/80) Installing xcb-util-wm (0.4.1-r1) 10:05:46 (67/80) Installing xcb-util (0.4.0-r3) 10:05:46 (68/80) Installing xcb-util-image (0.4.0-r1) 10:05:46 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 10:05:46 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 10:05:46 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 10:05:46 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 10:05:46 (73/80) Installing v4l-utils-libs (1.22.1-r1) 10:05:46 (74/80) Installing v4l-utils (1.22.1-r1) 10:05:46 (75/80) Installing udev-init-scripts (35-r0) 10:05:46 Executing udev-init-scripts-35-r0.post-install 10:05:46 (76/80) Installing kmod-libs (29-r2) 10:05:46 (77/80) Installing eudev (3.2.11-r0) 10:05:46 (78/80) Installing eudev-dev (3.2.11-r0) 10:05:46 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 10:05:46 (80/80) Installing v4l-utils-dev (1.22.1-r1) 10:05:46 Executing busybox-1.35.0-r17.trigger 10:05:46 Executing eudev-3.2.11-r0.trigger 10:05:46 OK: 331 MiB in 131 packages 10:05:47 Still waiting to schedule task 10:05:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:05:48 Removing intermediate container 9d5b7804bbff 10:05:48 ---> 63fdef06f634 10:05:48 Step 8/13 : WORKDIR /device-usb-camera 10:05:48 ---> Running in 39213126f777 10:05:48 Removing intermediate container 39213126f777 10:05:48 ---> a73f59b64785 10:05:48 Step 9/13 : COPY go.mod vendor* ./ 10:05:48 ---> c590648f4a43 10:05:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:48 ---> Running in a70089bafef0 10:06:06 Removing intermediate container a70089bafef0 10:06:06 ---> 2fd07f565835 10:06:06 Step 11/13 : COPY . . 10:06:06 ---> 58a79f3b1d75 10:06:06 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:06:06 ---> Running in 9313742c7cae 10:06:06  % Total % Received % Xferd Average Speed Time Time Time Current 10:06:06  Dload Upload Total Spent  Left Speed 10:06:06   0  0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7923 0 --:--:-- --:--:-- --:--:-- 7984 10:06:06 Removing intermediate container 9313742c7cae 10:06:06 ---> be1696c60723 10:06:06 Step 13/13 : RUN ${MAKE} 10:06:06 ---> Running in 715027a1f0dd 10:06:06 noop 10:06:06 Removing intermediate container 715027a1f0dd 10:06:06 ---> 41d0050d8759 10:06:06 Successfully built 41d0050d8759 10:06:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:07 + docker inspect -f . ci-base-image-x86_64 10:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:07 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 10:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-143 -v /w/workspace/foundry_device-usb-camera_PR-143:/w/workspace/foundry_device-usb-camera_PR-143:rw,z -v /w/workspace/foundry_device-usb-camera_PR-143@tmp:/w/workspace/foundry_device-usb-camera_PR-143@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 10:06:07 $ docker top 74cd54c1a94a9e47e1681831ce85441af2ec352027ef1ae98f9307f18efdf159 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:07 + go version 10:06:07 go version go1.18.7 linux/amd64 [Pipeline] } 10:06:07 $ docker stop --time=1 74cd54c1a94a9e47e1681831ce85441af2ec352027ef1ae98f9307f18efdf159 10:06:09 $ docker rm -f --volumes 74cd54c1a94a9e47e1681831ce85441af2ec352027ef1ae98f9307f18efdf159 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:09 + docker inspect -f . ci-base-image-x86_64 10:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:09 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 10:06:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-143 -v /w/workspace/foundry_device-usb-camera_PR-143:/w/workspace/foundry_device-usb-camera_PR-143:rw,z -v /w/workspace/foundry_device-usb-camera_PR-143@tmp:/w/workspace/foundry_device-usb-camera_PR-143@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 10:06:10 $ docker top 9d5ed4fae06070d76f0aba23e5061e4f8cb2fd1c40444b870e088971a839c7cc -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:10 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-143 [Pipeline] fileExists [Pipeline] sh 10:06:10 + make test 10:06:10 go test ./... -coverprofile=coverage.out ./... 10:06:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:06:19 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:06:20 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements 10:06:26 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:06:26 go vet ./... 10:06:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:06:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:06:29 ./bin/test-attribution-txt.sh [Pipeline] echo 10:06:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:06:29 $ docker stop --time=1 9d5ed4fae06070d76f0aba23e5061e4f8cb2fd1c40444b870e088971a839c7cc 10:06:31 $ docker rm -f --volumes 9d5ed4fae06070d76f0aba23e5061e4f8cb2fd1c40444b870e088971a839c7cc [Pipeline] // withDockerContainer [Pipeline] sh 10:06:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:06:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:06:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:06:32 + ls -al . 10:06:32 total 208 10:06:32 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 10:06 . 10:06:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:05 .. 10:06:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 10:06 .git 10:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 10:05 .github 10:06:32 -rw-rw-r-- 1 jenkins jenkins 414 Feb 13 10:05 .gitignore 10:06:32 -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 10:05 .golangci.yml 10:06:32 -rw-rw-r-- 1 jenkins jenkins 77 Feb 13 10:05 .hadolint.yml 10:06:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 10:05 .semver 10:06:32 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 13 10:05 Attribution.txt 10:06:32 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 13 10:05 CHANGELOG.md 10:06:32 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 13 10:05 Dockerfile 10:06:32 -rw-rw-r-- 1 jenkins jenkins 678 Feb 13 10:05 GOVERNANCE.md 10:06:32 -rw-rw-r-- 1 jenkins jenkins 659 Feb 13 10:05 Jenkinsfile 10:06:32 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 13 10:05 LICENSE 10:06:32 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 13 10:05 Makefile 10:06:32 -rw-rw-r-- 1 jenkins jenkins 622 Feb 13 10:05 OWNERS.md 10:06:32 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 13 10:05 README.md 10:06:32 -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 10:05 VERSION 10:06:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 10:05 bin 10:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 10:05 cmd 10:06:32 -rw-r--r-- 1 jenkins jenkins 30666 Feb 13 10:06 coverage.out 10:06:32 -rwxrwxr-x 1 jenkins jenkins 140 Feb 13 10:05 docker-entrypoint.sh 10:06:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:05 docs 10:06:32 -rw-rw-r-- 1 jenkins jenkins 3574 Feb 13 10:05 go.mod 10:06:32 -rw-rw-r-- 1 jenkins jenkins 45170 Feb 13 10:05 go.sum 10:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 10:05 internal 10:06:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 10:05 snap 10:06:32 -rw-rw-r-- 1 jenkins jenkins 231 Feb 13 10:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:33 + 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=b03713d59d051ff9711d79fa3803d480c7e59e57 --label arch=amd64 --label version=0.0.0 . 10:06:33 Sending build context to Docker daemon 1.796MB 10:06:33 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 10:06:33 Step 2/35 : FROM ${BASE} AS builder 10:06:33 ---> 41d0050d8759 10:06:33 Step 3/35 : ARG ADD_BUILD_TAGS="" 10:06:33 ---> Running in 2a9cce6d5672 10:06:33 Removing intermediate container 2a9cce6d5672 10:06:33 ---> 9a1995244cca 10:06:33 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:06:33 ---> Running in b78aa0d8e7a7 10:06:33 Removing intermediate container b78aa0d8e7a7 10:06:33 ---> b89bea1bd693 10:06:33 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 10:06:33 ---> Running in 45cff6d5bcae 10:06:33 Removing intermediate container 45cff6d5bcae 10:06:33 ---> 6dfd2a1dc1c1 10:06:33 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:06:33 ---> Running in e6ab4b287bca 10:06:33 Removing intermediate container e6ab4b287bca 10:06:33 ---> 0476c392370f 10:06:33 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:06:33 ---> Running in 87f020219eae 10:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:06:34 OK: 331 MiB in 131 packages 10:06:34 Removing intermediate container 87f020219eae 10:06:34 ---> 4b5865efbb75 10:06:34 Step 8/35 : WORKDIR /device-usb-camera 10:06:34 ---> Running in 5fbb37b44ea7 10:06:34 Removing intermediate container 5fbb37b44ea7 10:06:34 ---> 2748155d7ab7 10:06:34 Step 9/35 : COPY go.mod vendor* ./ 10:06:35 ---> 6f27bbe58e32 10:06:35 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:06:35 ---> Running in c39b54aa1fc6 10:06:35 Removing intermediate container c39b54aa1fc6 10:06:35 ---> 8fa704cc720a 10:06:35 Step 11/35 : COPY . . 10:06:35 ---> 95b17b421599 10:06:35 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 10:06:35 ---> Running in 463231bf1b02 10:06:36  % Total % Received % Xferd Average Speed Time Time Time Current 10:06:36 Dload Upload Total Spent Left  Speed 10:06:36  0 0 0  0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45353 0 --:--:-- --:--:-- --:--:-- 46173 10:06:36 Removing intermediate container 463231bf1b02 10:06:36 ---> 9451b94244f5 10:06:36 Step 13/35 : RUN ${MAKE} 10:06:36 ---> Running in ec4f48940122 10:06:37 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 10:06:58 Removing intermediate container ec4f48940122 10:06:58 ---> 130a6998b082 10:06:58 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 10:06:58 v0.18.4: Pulling from aler9/rtsp-simple-server 10:06:58 af6660deedbd: Pulling fs layer 10:06:58 97cd0a44c592: Pulling fs layer 10:06:58 97cd0a44c592: Verifying Checksum 10:06:58 97cd0a44c592: Download complete 10:06:58 af6660deedbd: Verifying Checksum 10:06:58 af6660deedbd: Download complete 10:06:58 af6660deedbd: Pull complete 10:06:58 97cd0a44c592: Pull complete 10:06:58 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 10:06:58 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 10:06:58 ---> fea57e182299 10:06:58 Step 15/35 : FROM alpine:3.16 10:06:58 3.16: Pulling from library/alpine 10:06:58 ef5531b6e74e: Pulling fs layer 10:06:58 ef5531b6e74e: Download complete 10:06:58 ef5531b6e74e: Pull complete 10:06:58 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 10:06:58 Status: Downloaded newer image for alpine:3.16 10:06:58 ---> dfd21b5a31f5 10:06:58 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:06:58 ---> Running in fa623c952af7 10:06:58 Removing intermediate container fa623c952af7 10:06:58 ---> d5f647bec6af 10:06:58 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 10:06:58 ---> Running in f4511cc4cd3e 10:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:06:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:06:58 (1/80) Installing dumb-init (1.2.5-r1) 10:06:58 (2/80) Installing sdl2 (2.0.22-r0) 10:06:58 (3/80) Installing libxau (1.0.9-r0) 10:06:58 (4/80) Installing libxdmcp (1.1.3-r0) 10:06:58 (5/80) Installing libxcb (1.15-r0) 10:06:58 (6/80) Installing libx11 (1.8-r0) 10:06:59 (7/80) Installing aom-libs (3.3.0-r0) 10:06:59 (8/80) Installing alsa-lib (1.2.7.2-r0) 10:06:59 (9/80) Installing expat (2.5.0-r0) 10:06:59 (10/80) Installing brotli-libs (1.0.9-r6) 10:06:59 (11/80) Installing libbz2 (1.0.8-r1) 10:06:59 (12/80) Installing libpng (1.6.37-r1) 10:06:59 (13/80) Installing freetype (2.12.1-r0) 10:06:59 (14/80) Installing fontconfig (2.14.0-r0) 10:06:59 (15/80) Installing fribidi (1.0.12-r0) 10:06:59 (16/80) Installing libffi (3.4.2-r1) 10:06:59 (17/80) Installing libintl (0.21-r2) 10:06:59 (18/80) Installing libblkid (2.38-r1) 10:06:59 (19/80) Installing libmount (2.38-r1) 10:06:59 (20/80) Installing pcre (8.45-r2) 10:06:59 (21/80) Installing glib (2.72.1-r0) 10:06:59 (22/80) Installing graphite2 (1.3.14-r1) 10:06:59 (23/80) Installing harfbuzz (4.3.0-r0) 10:06:59 (24/80) Installing libass (0.16.0-r0) 10:06:59 (25/80) Installing libdav1d (1.0.0-r0) 10:06:59 (26/80) Installing libpciaccess (0.16-r0) 10:06:59 (27/80) Installing libdrm (2.4.110-r0) 10:06:59 (28/80) Installing gmp (6.2.1-r2) 10:06:59 (29/80) Installing nettle (3.7.3-r0) 10:06:59 (30/80) Installing p11-kit (0.24.1-r0) 10:06:59 (31/80) Installing libtasn1 (4.18.0-r1) 10:06:59 (32/80) Installing libunistring (1.0-r0) 10:06:59 (33/80) Installing gnutls (3.7.7-r1) 10:06:59 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 10:06:59 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 10:06:59 (36/80) Installing lame (3.100-r0) 10:06:59 (37/80) Installing opus (1.3.1-r1) 10:06:59 (38/80) Installing libasyncns (0.8-r1) 10:06:59 (39/80) Installing dbus-libs (1.14.4-r0) 10:06:59 (40/80) Installing libltdl (2.4.7-r0) 10:06:59 (41/80) Installing orc (0.4.32-r0) 10:06:59 (42/80) Installing libgcc (11.2.1_git20220219-r2) 10:06:59 (43/80) Installing libogg (1.3.5-r1) 10:06:59 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 10:06:59 (45/80) Installing flac (1.3.4-r0) 10:06:59 (46/80) Installing libvorbis (1.3.7-r0) 10:06:59 (47/80) Installing libsndfile (1.1.0-r0) 10:06:59 (48/80) Installing libgomp (11.2.1_git20220219-r2) 10:06:59 (49/80) Installing soxr (0.1.3-r2) 10:06:59 (50/80) Installing speexdsp (1.2.0-r0) 10:06:59 (51/80) Installing tdb-libs (1.4.6-r0) 10:06:59 (52/80) Installing libpulse (15.0-r2) 10:06:59 (53/80) Installing cjson (1.7.15-r3) 10:06:59 (54/80) Installing mbedtls (2.28.2-r0) 10:06:59 (55/80) Installing librist (0.2.6-r1) 10:06:59 (56/80) Installing libsrt (1.4.4-r0) 10:06:59 (57/80) Installing libssh (0.9.6-r1) 10:06:59 (58/80) Installing libtheora (1.1.1-r16) 10:06:59 (59/80) Installing libjpeg-turbo (2.1.3-r1) 10:06:59 (60/80) Installing v4l-utils-libs (1.22.1-r1) 10:06:59 (61/80) Installing libxext (1.3.4-r0) 10:06:59 (62/80) Installing libxfixes (6.0.0-r0) 10:06:59 (63/80) Installing wayland-libs-client (1.20.0-r0) 10:06:59 (64/80) Installing libva (2.14.0-r0) 10:06:59 (65/80) Installing libvdpau (1.5-r0) 10:06:59 (66/80) Installing vidstab (1.1.0-r1) 10:06:59 (67/80) Installing libvpx (1.11.0-r1) 10:06:59 (68/80) Installing libwebp (1.2.3-r0) 10:06:59 (69/80) Installing x264-libs (0.163_git20210613-r0) 10:06:59 (70/80) Installing numactl (2.0.14-r0) 10:06:59 (71/80) Installing x265-libs (3.5-r3) 10:06:59 (72/80) Installing xvidcore (1.3.7-r1) 10:06:59 (73/80) Installing ffmpeg-libs (5.0.1-r1) 10:06:59 (74/80) Installing ffmpeg (5.0.1-r1) 10:06:59 (75/80) Installing udev-init-scripts (35-r0) 10:06:59 Executing udev-init-scripts-35-r0.post-install 10:06:59 (76/80) Installing eudev-libs (3.2.11-r0) 10:06:59 (77/80) Installing xz-libs (5.2.5-r1) 10:06:59 (78/80) Installing zstd-libs (1.5.2-r1) 10:06:59 (79/80) Installing kmod-libs (29-r2) 10:06:59 (80/80) Installing eudev (3.2.11-r0) 10:06:59 Executing busybox-1.35.0-r17.trigger 10:06:59 Executing eudev-3.2.11-r0.trigger 10:06:59 OK: 100 MiB in 94 packages 10:07:01 Removing intermediate container f4511cc4cd3e 10:07:01 ---> 0bf33399ad24 10:07:01 Step 18/35 : WORKDIR / 10:07:01 ---> Running in f43721e6c1a6 10:07:01 Removing intermediate container f43721e6c1a6 10:07:01 ---> 01c7f67cb420 10:07:01 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 10:07:02 ---> 64df53480e3f 10:07:02 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 10:07:02 ---> 4e4dcbb82dc4 10:07:02 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 10:07:02 ---> b30b58e00280 10:07:02 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:07:02 ---> bb7064da5c62 10:07:02 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:07:02 ---> f10956507579 10:07:02 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 10:07:02 ---> 2925c735d9cd 10:07:02 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 10:07:03 ---> 3d9459f92f95 10:07:03 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 10:07:03 ---> Running in cd2ebae0c460 10:07:03 Removing intermediate container cd2ebae0c460 10:07:03 ---> 5145be6ab410 10:07:03 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 10:07:03 ---> Running in 80ebe5668aab 10:07:04 Removing intermediate container 80ebe5668aab 10:07:04 ---> cf3f7bb27ee5 10:07:04 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 10:07:04 ---> Running in 12cfb6163668 10:07:04 Removing intermediate container 12cfb6163668 10:07:04 ---> a10d04c5a5e4 10:07:04 Step 29/35 : EXPOSE 59983 10:07:04 ---> Running in b3d6cc5a5424 10:07:05 Removing intermediate container b3d6cc5a5424 10:07:05 ---> fcaff6d9d943 10:07:05 Step 30/35 : EXPOSE 8554 10:07:05 ---> Running in 689b5ce5edb7 10:07:05 Removing intermediate container 689b5ce5edb7 10:07:05 ---> 2cdfd48b2689 10:07:05 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:07:05 ---> Running in 454662bed6e4 10:07:05 Removing intermediate container 454662bed6e4 10:07:05 ---> 043a24514cbc 10:07:05 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 10:07:05 ---> Running in b8b5ba9acd84 10:07:05 Removing intermediate container b8b5ba9acd84 10:07:05 ---> 593a0a97dc2e 10:07:05 Step 33/35 : LABEL arch=amd64 10:07:05 ---> Running in fb8daa8c963d 10:07:05 Removing intermediate container fb8daa8c963d 10:07:05 ---> e88d0512ad4a 10:07:05 Step 34/35 : LABEL git_sha=b03713d59d051ff9711d79fa3803d480c7e59e57 10:07:05 ---> Running in 7e3563ea481e 10:07:05 Removing intermediate container 7e3563ea481e 10:07:05 ---> 29ba42720944 10:07:05 Step 35/35 : LABEL version=0.0.0 10:07:05 ---> Running in 8b7a24e6d025 10:07:05 Removing intermediate container 8b7a24e6d025 10:07:05 ---> d8bd3fd9bcd1 10:07:05 [Warning] One or more build-args [ARCH] were not consumed 10:07:05 Successfully built d8bd3fd9bcd1 10:07:05 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 10:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:06 10:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:06 latest: Pulling from edgex-lftools-log-publisher 10:07:06 5eb5b503b376: Pulling fs layer 10:07:06 5c69ac0246d0: Pulling fs layer 10:07:06 ec43610c2a17: Pulling fs layer 10:07:06 3a2ae6a8a46f: Pulling fs layer 10:07:06 33b1e0a273af: Pulling fs layer 10:07:06 5d3b04190fa2: Pulling fs layer 10:07:06 2f39f015ded8: Pulling fs layer 10:07:06 33b1e0a273af: Waiting 10:07:06 5d3b04190fa2: Waiting 10:07:06 2f39f015ded8: Waiting 10:07:06 5c69ac0246d0: Verifying Checksum 10:07:06 5c69ac0246d0: Download complete 10:07:06 3a2ae6a8a46f: Verifying Checksum 10:07:06 3a2ae6a8a46f: Download complete 10:07:06 33b1e0a273af: Verifying Checksum 10:07:06 33b1e0a273af: Download complete 10:07:06 5d3b04190fa2: Verifying Checksum 10:07:06 5d3b04190fa2: Download complete 10:07:06 ec43610c2a17: Verifying Checksum 10:07:06 ec43610c2a17: Download complete 10:07:06 5eb5b503b376: Verifying Checksum 10:07:06 5eb5b503b376: Download complete 10:07:07 2f39f015ded8: Download complete 10:07:08 5eb5b503b376: Pull complete 10:07:08 5c69ac0246d0: Pull complete 10:07:08 ec43610c2a17: Pull complete 10:07:08 3a2ae6a8a46f: Pull complete 10:07:09 33b1e0a273af: Pull complete 10:07:09 5d3b04190fa2: Pull complete 10:07:13 2f39f015ded8: Pull complete 10:07:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:13 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 10:07:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-143 -v /w/workspace/foundry_device-usb-camera_PR-143:/w/workspace/foundry_device-usb-camera_PR-143:rw,z -v /w/workspace/foundry_device-usb-camera_PR-143@tmp:/w/workspace/foundry_device-usb-camera_PR-143@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 10:07:14 $ docker top 4741e9e32bd2da326d520cd8494a7a07a3c63b1fbd057d7468c954a6430b35b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:15 ---> job-cost.sh 10:07:15 lf-activate-venv: SKIPPING 10:07:15 INFO: No Stack... 10:07:15 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:16 INFO: Archiving Costs [Pipeline] sh 10:07:16 + cat /w/workspace/foundry_device-usb-camera_PR-143/archives/cost.csv 10:07:16 + cut -d, -f6 [Pipeline] lock 10:07:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-143-6-stack-cost] 10:07:16 Resource [jenkins-edgexfoundry-device-usb-camera-PR-143-6-stack-cost] did not exist. Created. 10:07:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-143-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:07:16 + echo total: 0.2199999988079071 [Pipeline] stash 10:07:16 Stashed 1 file(s) [Pipeline] } 10:07:16 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-143-6-stack-cost] [Pipeline] // lock [Pipeline] } 10:07:16 $ docker stop --time=1 4741e9e32bd2da326d520cd8494a7a07a3c63b1fbd057d7468c954a6430b35b4 10:07:18 $ docker rm -f --volumes 4741e9e32bd2da326d520cd8494a7a07a3c63b1fbd057d7468c954a6430b35b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:07:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5525 in /w/workspace/foundry_device-usb-camera_PR-143 [Pipeline] { [Pipeline] ws 10:07:24 Running in /w/workspace/device-usb-camera/6 [Pipeline] { [Pipeline] checkout 10:07:24 Selected Git installation does not exist. Using Default 10:07:24 The recommended git tool is: NONE 10:07:29 using credential edgex-jenkins-ssh 10:07:29 Cloning the remote Git repository 10:07:29 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 10:07:29 > git init /w/workspace/device-usb-camera/6 # timeout=10 10:07:29 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:07:29 > git --version # timeout=10 10:07:29 > git --version # 'git version 2.25.1' 10:07:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:07:30 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:07:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:07:31 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:07:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:07:31 Merging remotes/origin/main commit ad81b6791089a5483c30c2e43f91131867ddea47 into PR head commit b03713d59d051ff9711d79fa3803d480c7e59e57 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:07:32 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:07:32 + [ -d /w/workspace/foundry_device-usb-camera_PR-143/archives ] 10:07:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-143/archives 10:07:32 total 16 10:07:32 drwxr-xr-x 3 root root 4096 Feb 13 10:07 . 10:07:32 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 10:07 .. 10:07:32 drwxr-xr-x 2 root root 4096 Feb 13 10:07 cost 10:07:32 -rw-r--r-- 1 root root 89 Feb 13 10:07 cost.csv 10:07:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-143/archives 10:07:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-143/archives 10:07:32 total 16 10:07:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 10:07 . 10:07:32 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 10:07 .. 10:07:32 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 10:07 cost 10:07:32 -rw-r--r-- 1 jenkins jenkins 89 Feb 13 10:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:07:31 > git config core.sparsecheckout # timeout=10 10:07:32 > git checkout -f b03713d59d051ff9711d79fa3803d480c7e59e57 # timeout=10 10:07:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:07:33 ---> package-listing.sh 10:07:33 ++ facter osfamily 10:07:33 ++ tr '[:upper:]' '[:lower:]' 10:07:34 + OS_FAMILY=debian 10:07:34 + workspace=/w/workspace/foundry_device-usb-camera_PR-143 10:07:34 + START_PACKAGES=/tmp/packages_start.txt 10:07:34 + END_PACKAGES=/tmp/packages_end.txt 10:07:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:07:34 + PACKAGES=/tmp/packages_start.txt 10:07:34 + '[' /w/workspace/foundry_device-usb-camera_PR-143 ']' 10:07:34 + PACKAGES=/tmp/packages_end.txt 10:07:34 + case "${OS_FAMILY}" in 10:07:34 + dpkg -l 10:07:34 + grep '^ii' 10:07:34 + '[' -f /tmp/packages_start.txt ']' 10:07:34 + '[' -f /tmp/packages_end.txt ']' 10:07:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:07:34 + '[' /w/workspace/foundry_device-usb-camera_PR-143 ']' 10:07:34 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-143/archives/ 10:07:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-143/archives/ [Pipeline] echo 10:07:34 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/foundry_device-usb-camera_PR-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:07:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:35 prd-ubuntu20.04-docker-8c-8g-5524 does not seem to be running inside a container 10:07:35 $ 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/foundry_device-usb-camera_PR-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-143 -v /w/workspace/foundry_device-usb-camera_PR-143:/w/workspace/foundry_device-usb-camera_PR-143:rw,z -v /w/workspace/foundry_device-usb-camera_PR-143@tmp:/w/workspace/foundry_device-usb-camera_PR-143@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 10:07:35 $ docker top 9fbdefb781116cb8e750cc288ee616a8fd266b808fb073bd813d32db49a1c9c1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:07:36 + mkdir -p /var/log/sysstat [Pipeline] sh 10:07:36 + ls /var/log/sa-host 10:07:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:36 provisioning config files... 10:07:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-143@tmp/config4854114224847090293tmp [Pipeline] { [Pipeline] echo 10:07:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:07:36 ---> create-netrc.sh [Pipeline] } 10:07:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:07:37 ---> python-tools-install.sh [Pipeline] echo 10:07:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:07:37 ---> sudo-logs.sh 10:07:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:07:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:07:37 ---> job-cost.sh 10:07:37 lf-activate-venv: SKIPPING 10:07:37 DEBUG: total: 0.2199999988079071 10:07:37 INFO: Retrieving Stack Cost... 10:07:38 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:38 INFO: Archiving Costs [Pipeline] echo 10:07:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:07:38 ---> logs-deploy.sh 10:07:38 lf-activate-venv: SKIPPING 10:07:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-143/6 10:07:38 INFO: archiving workspace using pattern(s): 10:07:39 Archives upload complete. 10:07:40 INFO: archiving logs to Nexus