Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 8e89c95f200ba999b8b18666717dd08bb0ba11a2 rather than a7aa7f027762502ccab20492bb8d27a332565d02 Obtained Jenkinsfile from 8e89c95f200ba999b8b18666717dd08bb0ba11a2 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-ssh2214500284782717010.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2368225688129818524.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-254/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-254/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2183847846606410262.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13191245897463514731.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-254/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-254/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4142061828788601264.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.20 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16473 in /w/workspace/foundry_device-usb-camera_PR-254 [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-254 # 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/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 Merge succeeded, producing dcc0cd70b723e4446b36485f1aea1a6961903f9b Checking out Revision dcc0cd70b723e4446b36485f1aea1a6961903f9b (PR-254) > git config core.sparsecheckout # timeout=10 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # 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 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dcc0cd70b723e4446b36485f1aea1a6961903f9b # timeout=10 Commit message: "Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD" > git rev-list --no-walk a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:17:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:17:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:17:02 ========================================================= 06:17:02 EdgeX Global Pipelines Version Info 06:17:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:17:03 ------------------- 06:17:03 stable info: 06:17:03 ------------------- 06:17:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:17:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:17:03 Message: update stable to v1.0.249 06:17:03 ------------------- 06:17:03 experimental info: 06:17:03 ------------------- 06:17:03 Commited By: **** collab-it+edgex@linuxfoundation.org 06:17:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:17:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:17:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-254 [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-254 [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-254 [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcc0cd7 [Pipeline] echo 06:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:17:04 provisioning config files... 06:17:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config18316865347217835769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:04 ---> docker-login.sh 06:17:04 nexus3.edgexfoundry.org:10001 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 nexus3.edgexfoundry.org:10002 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 nexus3.edgexfoundry.org:10003 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 nexus3.edgexfoundry.org:10004 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 docker.io 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 ---> docker-login.sh ends [Pipeline] } 06:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:17:05 + git rev-list -1 --merges dcc0cd70b723e4446b36485f1aea1a6961903f9b~1..dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo 06:17:05 -----------> git rev-list -1 --merges dcc0cd70b723e4446b36485f1aea1a6961903f9b~1..dcc0cd70b723e4446b36485f1aea1a6961903f9b dcc0cd70b723e4446b36485f1aea1a6961903f9b 06:17:05 dcc0cd70b723e4446b36485f1aea1a6961903f9b [false] [Pipeline] sh 06:17:06 + git log --format=format:%s -1 dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo 06:17:06 ========================================================= 06:17:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:17:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:06 + git log --format=format:%s -1 dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] echo 06:17:06 [semverPrep] GIT_COMMIT: dcc0cd70b723e4446b36485f1aea1a6961903f9b, Commit Message: Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD [Pipeline] echo 06:17:06 [semverPrep] This is not a build commit. [Pipeline] sh 06:17:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:17:06 + grep -v github /etc/ssh/ssh_known_hosts 06:17:06 + [ -e /tmp/ssh_known_hosts ] 06:17:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:17:06 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 06:17:06 -a /etc/ssh/ssh_known_hosts 06:17:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:07 06:17:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:07 0.1.4: Pulling from edgex-devops/py-git-semver 06:17:07 b85a868b505f: Pulling fs layer 06:17:07 e2be974225ed: Pulling fs layer 06:17:07 339a4e72a1f5: Pulling fs layer 06:17:07 988bab9f4d93: Pulling fs layer 06:17:07 1469e6f7b9e6: Pulling fs layer 06:17:07 eaf3925da568: Pulling fs layer 06:17:07 bab4dde63d76: Pulling fs layer 06:17:07 bde34c3a00c8: Pulling fs layer 06:17:07 b352a97aabf1: Pulling fs layer 06:17:07 4872d77fe225: Pulling fs layer 06:17:07 5851b861e8e6: Pulling fs layer 06:17:07 988bab9f4d93: Waiting 06:17:07 1469e6f7b9e6: Waiting 06:17:07 eaf3925da568: Waiting 06:17:07 bab4dde63d76: Waiting 06:17:07 5851b861e8e6: Waiting 06:17:07 b352a97aabf1: Waiting 06:17:07 e2be974225ed: Download complete 06:17:07 988bab9f4d93: Verifying Checksum 06:17:07 988bab9f4d93: Download complete 06:17:08 1469e6f7b9e6: Verifying Checksum 06:17:08 1469e6f7b9e6: Download complete 06:17:08 eaf3925da568: Verifying Checksum 06:17:08 eaf3925da568: Download complete 06:17:08 339a4e72a1f5: Verifying Checksum 06:17:08 339a4e72a1f5: Download complete 06:17:08 bde34c3a00c8: Download complete 06:17:08 b352a97aabf1: Verifying Checksum 06:17:08 b352a97aabf1: Download complete 06:17:08 4872d77fe225: Verifying Checksum 06:17:08 4872d77fe225: Download complete 06:17:08 5851b861e8e6: Verifying Checksum 06:17:08 5851b861e8e6: Download complete 06:17:08 b85a868b505f: Verifying Checksum 06:17:08 b85a868b505f: Download complete 06:17:08 bab4dde63d76: Verifying Checksum 06:17:08 bab4dde63d76: Download complete 06:17:09 b85a868b505f: Pull complete 06:17:09 e2be974225ed: Pull complete 06:17:10 339a4e72a1f5: Pull complete 06:17:10 988bab9f4d93: Pull complete 06:17:10 1469e6f7b9e6: Pull complete 06:17:10 eaf3925da568: Pull complete 06:17:12 bab4dde63d76: Pull complete 06:17:12 bde34c3a00c8: Pull complete 06:17:12 b352a97aabf1: Pull complete 06:17:12 4872d77fe225: Pull complete 06:17:12 5851b861e8e6: Pull complete 06:17:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:17:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:12 prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container 06:17:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:17:13 $ docker top 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 -eo pid,comm 06:17:13 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). 06:17:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:17:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:13 [ssh-agent] Looking for ssh-agent implementation... 06:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:14 $ docker exec 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent 06:17:14 SSH_AUTH_SOCK=/tmp/ssh-m89aF1KzYxl4/agent.33 06:17:14 SSH_AGENT_PID=39 06:17:14 Running ssh-add (command line suppressed) 06:17:14 Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12825862764747074633.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_12825862764747074633.key) 06:17:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:14 + git tag --points-at HEAD [Pipeline] } 06:17:14 $ docker exec --env ******** --env ******** 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent -k 06:17:14 unset SSH_AUTH_SOCK; 06:17:14 unset SSH_AGENT_PID; 06:17:14 echo Agent pid 39 killed; 06:17:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:17:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:17:14 [ssh-agent] Looking for ssh-agent implementation... 06:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:17:14 $ docker exec 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent 06:17:15 SSH_AUTH_SOCK=/tmp/ssh-6uV6N3D3ot2v/agent.70 06:17:15 SSH_AGENT_PID=76 06:17:15 Running ssh-add (command line suppressed) 06:17:15 Identity added: /w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_13582982555793998109.key (/w/workspace/foundry_device-usb-camera_PR-254@tmp/private_key_13582982555793998109.key) 06:17:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:17:15 + git semver init 06:17:15 2023-05-23 06:17:15,641 [run_init] DEBUG init version:0.0.0 force:False 06:17:15 2023-05-23 06:17:15,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-254/.semver 06:17:15 2023-05-23 06:17:15,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-254/.semver 06:17:15 2023-05-23 06:17:15,643 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-254/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-254, universal_newlines=False, shell=None, istream=None) 06:17:16 2023-05-23 06:17:16,301 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-254/.git/info/exclude 06:17:16 2023-05-23 06:17:16,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 with force:False 06:17:16 2023-05-23 06:17:16,302 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 06:17:16 2023-05-23 06:17:16,306 [execute] INFO git cat-file --batch-check 06:17:16 2023-05-23 06:17:16,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) 06:17:16 2023-05-23 06:17:16,314 [execute] INFO git cat-file --batch 06:17:16 2023-05-23 06:17:16,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-254/.semver, universal_newlines=False, shell=None, istream=) 06:17:16 2023-05-23 06:17:16,320 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-254/.semver/PR-254 06:17:16 0.0.0 [Pipeline] } 06:17:16 $ docker exec --env ******** --env ******** 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 ssh-agent -k 06:17:16 unset SSH_AUTH_SOCK; 06:17:16 unset SSH_AGENT_PID; 06:17:16 echo Agent pid 76 killed; 06:17:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:17:17 + git semver [Pipeline] } 06:17:17 $ docker stop --time=1 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 06:17:18 $ docker rm -f --volumes 93f09fd744f7158115770e28803e95db3ce88a2ed552e02a81a69d0786902e43 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:17:19 Stashed 1 file(s) [Pipeline] echo 06:17:19 [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 06:17:19 provisioning config files... 06:17:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config3999818163371926832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:19 ---> docker-login.sh 06:17:19 nexus3.edgexfoundry.org:10001 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 nexus3.edgexfoundry.org:10002 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 nexus3.edgexfoundry.org:10003 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 nexus3.edgexfoundry.org:10004 06:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:19 Configure a credential helper to remove this warning. See 06:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:19 06:17:19 Login Succeeded 06:17:19 docker.io 06:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:20 Configure a credential helper to remove this warning. See 06:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:20 06:17:20 Login Succeeded 06:17:20 ---> docker-login.sh ends [Pipeline] } 06:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:20 ========================================================= 06:17:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:17:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:17:20 Sending build context to Docker daemon 1.96MB 06:17:20 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:17:20 Step 2/13 : FROM ${BASE} AS builder 06:17:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:17:20 f56be85fc22e: Pulling fs layer 06:17:20 85791d961cd3: Pulling fs layer 06:17:20 d694b5ae8c79: Pulling fs layer 06:17:20 9f32a84ed3da: Pulling fs layer 06:17:20 4d19c01a9841: Pulling fs layer 06:17:20 9325e15d5711: Pulling fs layer 06:17:20 556b6ee489ea: Pulling fs layer 06:17:20 c5a4b2cf53e6: Pulling fs layer 06:17:20 9325e15d5711: Waiting 06:17:20 9f32a84ed3da: Waiting 06:17:20 556b6ee489ea: Waiting 06:17:20 c5a4b2cf53e6: Waiting 06:17:20 4d19c01a9841: Waiting 06:17:20 85791d961cd3: Verifying Checksum 06:17:20 85791d961cd3: Download complete 06:17:20 9f32a84ed3da: Verifying Checksum 06:17:20 9f32a84ed3da: Download complete 06:17:20 4d19c01a9841: Verifying Checksum 06:17:20 4d19c01a9841: Download complete 06:17:20 f56be85fc22e: Verifying Checksum 06:17:20 f56be85fc22e: Download complete 06:17:20 9325e15d5711: Verifying Checksum 06:17:20 9325e15d5711: Download complete 06:17:20 f56be85fc22e: Pull complete 06:17:21 85791d961cd3: Pull complete 06:17:21 c5a4b2cf53e6: Verifying Checksum 06:17:21 c5a4b2cf53e6: Download complete 06:17:21 d694b5ae8c79: Verifying Checksum 06:17:21 d694b5ae8c79: Download complete 06:17:21 556b6ee489ea: Verifying Checksum 06:17:21 556b6ee489ea: Download complete 06:17:24 d694b5ae8c79: Pull complete 06:17:24 9f32a84ed3da: Pull complete 06:17:24 4d19c01a9841: Pull complete 06:17:24 9325e15d5711: Pull complete 06:17:27 556b6ee489ea: Pull complete 06:17:28 c5a4b2cf53e6: Pull complete 06:17:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:17:28 ---> c4be618373d6 06:17:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:17:30 ---> Running in ff443e055b15 06:17:30 Removing intermediate container ff443e055b15 06:17:30 ---> 819d2cc85513 06:17:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:30 ---> Running in 0e9b7d20eacf 06:17:30 Removing intermediate container 0e9b7d20eacf 06:17:30 ---> 49b7cce6e90b 06:17:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:17:30 ---> Running in 5b6058390ace 06:17:30 Removing intermediate container 5b6058390ace 06:17:30 ---> e77381bc648a 06:17:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:17:30 ---> Running in a6caff205e5d 06:17:30 Removing intermediate container a6caff205e5d 06:17:30 ---> 0a8e2b30a106 06:17:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:30 ---> Running in 09d04e3f645c 06:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:17:31 (1/14) Installing libintl (0.21.1-r1) 06:17:31 (2/14) Installing eudev-libs (3.2.11-r4) 06:17:31 (3/14) Installing libjpeg-turbo (2.1.4-r0) 06:17:31 (4/14) Installing v4l-utils-libs (1.22.1-r2) 06:17:31 (5/14) Installing v4l-utils (1.22.1-r2) 06:17:31 (6/14) Installing udev-init-scripts (35-r1) 06:17:31 (7/14) Installing libblkid (2.38.1-r1) 06:17:31 (8/14) Installing xz-libs (5.2.9-r0) 06:17:31 (9/14) Installing zstd-libs (1.5.5-r0) 06:17:31 (10/14) Installing kmod-libs (30-r1) 06:17:31 (11/14) Installing eudev (3.2.11-r4) 06:17:31 (12/14) Installing eudev-dev (3.2.11-r4) 06:17:31 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 06:17:31 (14/14) Installing v4l-utils-dev (1.22.1-r2) 06:17:31 Executing busybox-1.35.0-r29.trigger 06:17:31 Executing eudev-3.2.11-r4.trigger 06:17:31 OK: 272 MiB in 67 packages 06:17:31 Removing intermediate container 09d04e3f645c 06:17:31 ---> f290dc942f9d 06:17:31 Step 8/13 : WORKDIR /device-usb-camera 06:17:31 ---> Running in cd43d1b318ae 06:17:31 Removing intermediate container cd43d1b318ae 06:17:31 ---> b0525f035e3c 06:17:31 Step 9/13 : COPY go.mod vendor* ./ 06:17:32 ---> 2bb9775676c7 06:17:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:32 ---> Running in 4ace4ee0da8d 06:17:34 Still waiting to schedule task 06:17:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16472’ 06:17:50 Removing intermediate container 4ace4ee0da8d 06:17:50 ---> 58706a4d60e2 06:17:50 Step 11/13 : COPY . . 06:17:50 ---> 6bf613792e77 06:17:50 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:17:50 ---> Running in 94c85785a075 06:17:50  % Total % Received % Xferd Average Speed Time Time Time Current 06:17:50 Dload Upload Total Spent Left Speed 06:17:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8133 0 --:--:-- --:--:-- --:--:-- 8169 06:17:50 Removing intermediate container 94c85785a075 06:17:50 ---> fc8357bbf79a 06:17:50 Step 13/13 : RUN ${MAKE} 06:17:50 ---> Running in eba0f7387dee 06:17:50 noop 06:17:50 Removing intermediate container eba0f7387dee 06:17:50 ---> a338aae3e593 06:17:50 Successfully built a338aae3e593 06:17:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:50 + docker inspect -f . ci-base-image-x86_64 06:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:51 prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container 06:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:51 $ docker top 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:51 + go version 06:17:51 go version go1.20.2 linux/amd64 [Pipeline] } 06:17:51 $ docker stop --time=1 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c 06:17:53 $ docker rm -f --volumes 5945dabc74497e0e331cba09b1d45840374523ea200bd7df69a07dfc3640063c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:53 + docker inspect -f . ci-base-image-x86_64 06:17:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:53 prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container 06:17:53 $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:53 $ docker top 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:54 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] fileExists [Pipeline] sh 06:17:54 + make test 06:17:54 go test ./... -coverprofile=coverage.out ./... 06:17:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:18:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:18:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 1.6% of statements 06:18:18 go vet ./... 06:18:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:21 ./bin/test-attribution-txt.sh [Pipeline] echo 06:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:18:21 $ docker stop --time=1 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 06:18:23 $ docker rm -f --volumes 40907814df8aea26f144dd06a08943cee0e41ff77c097163345f813abe754d41 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:18:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:25 + ls -al . 06:18:25 total 192 06:18:25 drwxrwxr-x 10 jenkins jenkins 4096 May 23 06:17 . 06:18:25 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:16 .. 06:18:25 drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:17 .git 06:18:25 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 .github 06:18:25 -rw-rw-r-- 1 jenkins jenkins 414 May 23 06:16 .gitignore 06:18:25 -rw-rw-r-- 1 jenkins jenkins 45 May 23 06:16 .golangci.yml 06:18:25 -rw-rw-r-- 1 jenkins jenkins 77 May 23 06:16 .hadolint.yml 06:18:25 drwxr-xr-x 3 jenkins jenkins 4096 May 23 06:17 .semver 06:18:25 -rw-rw-r-- 1 jenkins jenkins 9665 May 23 06:16 Attribution.txt 06:18:25 -rw-rw-r-- 1 jenkins jenkins 6219 May 23 06:16 CHANGELOG.md 06:18:25 -rw-rw-r-- 1 jenkins jenkins 2453 May 23 06:16 Dockerfile 06:18:25 -rw-rw-r-- 1 jenkins jenkins 678 May 23 06:16 GOVERNANCE.md 06:18:25 -rw-rw-r-- 1 jenkins jenkins 659 May 23 06:16 Jenkinsfile 06:18:25 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 06:16 LICENSE 06:18:25 -rw-rw-r-- 1 jenkins jenkins 2364 May 23 06:16 Makefile 06:18:25 -rw-rw-r-- 1 jenkins jenkins 622 May 23 06:16 OWNERS.md 06:18:25 -rw-rw-r-- 1 jenkins jenkins 2477 May 23 06:16 README.md 06:18:25 -rw-rw-r-- 1 jenkins jenkins 5 May 23 06:17 VERSION 06:18:25 drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:16 bin 06:18:25 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 cmd 06:18:25 -rw-r--r-- 1 jenkins jenkins 35308 May 23 06:18 coverage.out 06:18:25 -rwxrwxr-x 1 jenkins jenkins 140 May 23 06:16 docker-entrypoint.sh 06:18:25 drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:16 docs 06:18:25 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 06:16 go.mod 06:18:25 -rw-rw-r-- 1 jenkins jenkins 31488 May 23 06:16 go.sum 06:18:25 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:16 internal 06:18:25 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:16 snap 06:18:25 -rw-rw-r-- 1 jenkins jenkins 231 May 23 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:25 + 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=dcc0cd70b723e4446b36485f1aea1a6961903f9b --label arch=amd64 --label version=0.0.0 . 06:18:25 Sending build context to Docker daemon 1.996MB 06:18:25 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 06:18:25 Step 2/36 : FROM ${BASE} AS builder 06:18:25 ---> a338aae3e593 06:18:25 Step 3/36 : ARG ADD_BUILD_TAGS="" 06:18:25 ---> Running in e02c7e6e215c 06:18:25 Removing intermediate container e02c7e6e215c 06:18:25 ---> 4b52b6fd1b61 06:18:25 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:25 ---> Running in a9a525f959ba 06:18:25 Removing intermediate container a9a525f959ba 06:18:25 ---> f9062cebb2a0 06:18:25 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:18:25 ---> Running in 444d2b6aaf27 06:18:25 Removing intermediate container 444d2b6aaf27 06:18:25 ---> fafc1fd0a07d 06:18:25 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:18:25 ---> Running in a8fb61805f7b 06:18:25 Removing intermediate container a8fb61805f7b 06:18:25 ---> 1b653e5e6daf 06:18:25 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:18:25 ---> Running in c4ff6c21ea74 06:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:18:26 OK: 272 MiB in 67 packages 06:18:26 Removing intermediate container c4ff6c21ea74 06:18:26 ---> 041a5c02468d 06:18:26 Step 8/36 : WORKDIR /device-usb-camera 06:18:26 ---> Running in c38cd8e06af4 06:18:26 Removing intermediate container c38cd8e06af4 06:18:26 ---> 040f695a0a48 06:18:26 Step 9/36 : COPY go.mod vendor* ./ 06:18:26 ---> 9c9e7f7745a3 06:18:26 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:26 ---> Running in df44b57446fd 06:18:27 Removing intermediate container df44b57446fd 06:18:27 ---> c111a686f251 06:18:27 Step 11/36 : COPY . . 06:18:28 ---> 49813a6e2f62 06:18:28 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:18:28 ---> Running in 7bf2e2debb82 06:18:28  % Total % Received % Xferd Average Speed Time Time Time Current 06:18:28  Dload Upload Total Spent Left  Speed 06:18:28  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19201 0 --:--:-- --:--:-- --:--:-- 19309 06:18:28 Removing intermediate container 7bf2e2debb82 06:18:28 ---> 5ddff925c3b4 06:18:28 Step 13/36 : RUN ${MAKE} 06:18:28 ---> Running in c8cabc53a9b1 06:18:28 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:18:50 Removing intermediate container c8cabc53a9b1 06:18:50 ---> 987dde9a88b3 06:18:50 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:18:50 v0.21.6: Pulling from aler9/rtsp-simple-server 06:18:50 4acc49c71d14: Pulling fs layer 06:18:50 4acc49c71d14: Verifying Checksum 06:18:50 4acc49c71d14: Download complete 06:18:50 4acc49c71d14: Pull complete 06:18:50 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:18:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:18:50 ---> 01a2bd3e5fff 06:18:50 Step 15/36 : FROM alpine:3.17 06:18:50 3.17: Pulling from library/alpine 06:18:50 f56be85fc22e: Already exists 06:18:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:18:50 Status: Downloaded newer image for alpine:3.17 06:18:50 ---> 9ed4aefc74f6 06:18:50 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:18:50 ---> Running in 6ede2417598c 06:18:50 Removing intermediate container 6ede2417598c 06:18:50 ---> 8b206e303827 06:18:50 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:18:50 ---> Running in 1e1528496de7 06:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:18:50 (1/86) Installing dumb-init (1.2.5-r2) 06:18:50 (2/86) Installing sdl2 (2.26.5-r0) 06:18:51 (3/86) Installing svt-av1-libs (1.3.0-r0) 06:18:51 (4/86) Installing libxau (1.0.10-r0) 06:18:51 (5/86) Installing libmd (1.0.4-r0) 06:18:51 (6/86) Installing libbsd (0.11.7-r0) 06:18:51 (7/86) Installing libxdmcp (1.1.4-r0) 06:18:51 (8/86) Installing libxcb (1.15-r0) 06:18:51 (9/86) Installing libx11 (1.8.4-r0) 06:18:51 (10/86) Installing aom-libs (3.5.0-r0) 06:18:51 (11/86) Installing alsa-lib (1.2.8-r0) 06:18:51 (12/86) Installing libexpat (2.5.0-r0) 06:18:51 (13/86) Installing brotli-libs (1.0.9-r9) 06:18:51 (14/86) Installing libbz2 (1.0.8-r4) 06:18:51 (15/86) Installing libpng (1.6.38-r0) 06:18:51 (16/86) Installing freetype (2.12.1-r0) 06:18:51 (17/86) Installing fontconfig (2.14.1-r0) 06:18:51 (18/86) Installing fribidi (1.0.12-r0) 06:18:51 (19/86) Installing libffi (3.4.4-r0) 06:18:51 (20/86) Installing libintl (0.21.1-r1) 06:18:51 (21/86) Installing libblkid (2.38.1-r1) 06:18:51 (22/86) Installing libmount (2.38.1-r1) 06:18:51 (23/86) Installing pcre2 (10.42-r0) 06:18:51 (24/86) Installing glib (2.74.6-r0) 06:18:51 (25/86) Installing graphite2 (1.3.14-r2) 06:18:51 (26/86) Installing harfbuzz (5.3.1-r1) 06:18:51 (27/86) Installing libass (0.16.0-r1) 06:18:51 (28/86) Installing libdav1d (1.0.0-r2) 06:18:51 (29/86) Installing hwdata-pci (0.364-r0) 06:18:51 (30/86) Installing libpciaccess (0.17-r0) 06:18:51 (31/86) Installing libdrm (2.4.114-r0) 06:18:51 (32/86) Installing gmp (6.2.1-r2) 06:18:51 (33/86) Installing nettle (3.8.1-r0) 06:18:51 (34/86) Installing p11-kit (0.24.1-r1) 06:18:51 (35/86) Installing libtasn1 (4.19.0-r0) 06:18:51 (36/86) Installing libunistring (1.1-r0) 06:18:51 (37/86) Installing gnutls (3.7.8-r3) 06:18:51 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 06:18:51 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 06:18:51 (40/86) Installing lame (3.100-r2) 06:18:51 (41/86) Installing opus (1.3.1-r1) 06:18:51 (42/86) Installing libasyncns (0.8-r1) 06:18:51 (43/86) Installing dbus-libs (1.14.4-r0) 06:18:51 (44/86) Installing libltdl (2.4.7-r1) 06:18:51 (45/86) Installing orc (0.4.33-r0) 06:18:51 (46/86) Installing libgcc (12.2.1_git20220924-r4) 06:18:51 (47/86) Installing libogg (1.3.5-r2) 06:18:51 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 06:18:51 (49/86) Installing flac-libs (1.4.2-r0) 06:18:51 (50/86) Installing libvorbis (1.3.7-r0) 06:18:51 (51/86) Installing libsndfile (1.1.0-r2) 06:18:51 (52/86) Installing libgomp (12.2.1_git20220924-r4) 06:18:51 (53/86) Installing soxr (0.1.3-r3) 06:18:51 (54/86) Installing speexdsp (1.2.1-r0) 06:18:51 (55/86) Installing tdb-libs (1.4.6-r0) 06:18:51 (56/86) Installing libpulse (16.1-r6) 06:18:51 (57/86) Installing cjson (1.7.15-r3) 06:18:51 (58/86) Installing mbedtls (2.28.3-r0) 06:18:51 (59/86) Installing librist (0.2.7-r0) 06:18:51 (60/86) Installing libsrt (1.5.1-r0) 06:18:51 (61/86) Installing libssh (0.10.5-r0) 06:18:51 (62/86) Installing libtheora (1.1.1-r16) 06:18:51 (63/86) Installing libjpeg-turbo (2.1.4-r0) 06:18:51 (64/86) Installing v4l-utils-libs (1.22.1-r2) 06:18:51 (65/86) Installing libxext (1.3.5-r0) 06:18:51 (66/86) Installing libxfixes (6.0.0-r0) 06:18:51 (67/86) Installing wayland-libs-client (1.21.0-r1) 06:18:51 (68/86) Installing libva (2.16.0-r0) 06:18:51 (69/86) Installing libvdpau (1.5-r0) 06:18:51 (70/86) Installing vidstab (1.1.0-r2) 06:18:51 (71/86) Installing libvpx (1.12.0-r1) 06:18:51 (72/86) Installing libwebp (1.2.4-r1) 06:18:51 (73/86) Installing x264-libs (0.164_git20220602-r0) 06:18:51 (74/86) Installing numactl (2.0.16-r1) 06:18:51 (75/86) Installing x265-libs (3.5-r3) 06:18:51 (76/86) Installing xvidcore (1.3.7-r1) 06:18:51 (77/86) Installing libsodium (1.0.18-r2) 06:18:51 (78/86) Installing libzmq (4.3.4-r1) 06:18:51 (79/86) Installing ffmpeg-libs (5.1.3-r0) 06:18:51 (80/86) Installing ffmpeg (5.1.3-r0) 06:18:51 (81/86) Installing udev-init-scripts (35-r1) 06:18:51 (82/86) Installing eudev-libs (3.2.11-r4) 06:18:51 (83/86) Installing xz-libs (5.2.9-r0) 06:18:51 (84/86) Installing zstd-libs (1.5.5-r0) 06:18:51 (85/86) Installing kmod-libs (30-r1) 06:18:51 (86/86) Installing eudev (3.2.11-r4) 06:18:51 Executing busybox-1.35.0-r29.trigger 06:18:51 Executing eudev-3.2.11-r4.trigger 06:18:51 OK: 112 MiB in 101 packages 06:18:53 Removing intermediate container 1e1528496de7 06:18:53 ---> 223444e86a94 06:18:53 Step 18/36 : WORKDIR / 06:18:53 ---> Running in 1c1a7688c086 06:18:53 Removing intermediate container 1c1a7688c086 06:18:53 ---> 362f3fbf5877 06:18:53 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 06:18:54 ---> fad193dd8415 06:18:54 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 06:18:54 ---> 0069026e2284 06:18:54 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:18:54 ---> 3766e6a77b27 06:18:54 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:18:54 ---> aecd4921c310 06:18:54 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:18:54 ---> 0dd9280a7cfd 06:18:54 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 06:18:54 ---> b2a5118c141c 06:18:54 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 06:18:55 ---> 8d095989274f 06:18:55 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:18:55 ---> Running in 755a127c3729 06:18:55 Removing intermediate container 755a127c3729 06:18:55 ---> 58c5475cf86d 06:18:55 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:18:55 ---> Running in 8307d8b4703b 06:18:56 Removing intermediate container 8307d8b4703b 06:18:56 ---> 08f42bff7cba 06:18:56 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:18:56 ---> Running in aeb54c257da7 06:18:56 Removing intermediate container aeb54c257da7 06:18:56 ---> c8400abf72e1 06:18:56 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:18:56 ---> Running in 058e570e0025 06:18:57 Removing intermediate container 058e570e0025 06:18:57 ---> 8bf3092a431e 06:18:57 Step 30/36 : EXPOSE 59983 06:18:57 ---> Running in a6725da0465b 06:18:57 Removing intermediate container a6725da0465b 06:18:57 ---> bd0931bf88e8 06:18:57 Step 31/36 : EXPOSE 8554 06:18:57 ---> Running in 3ff318a7aaad 06:18:57 Removing intermediate container 3ff318a7aaad 06:18:57 ---> bd4afb7a04d9 06:18:57 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:18:57 ---> Running in 384e151097c3 06:18:57 Removing intermediate container 384e151097c3 06:18:57 ---> ff4277dbbed5 06:18:57 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:18:57 ---> Running in 0eed5af8f419 06:18:57 Removing intermediate container 0eed5af8f419 06:18:57 ---> 6f8cce790e69 06:18:57 Step 34/36 : LABEL arch=amd64 06:18:57 ---> Running in 9195d3345986 06:18:57 Removing intermediate container 9195d3345986 06:18:57 ---> b4558bae7d07 06:18:57 Step 35/36 : LABEL git_sha=dcc0cd70b723e4446b36485f1aea1a6961903f9b 06:18:57 ---> Running in dd8af6bf6afc 06:18:57 Removing intermediate container dd8af6bf6afc 06:18:57 ---> 9a878749bf59 06:18:57 Step 36/36 : LABEL version=0.0.0 06:18:57 ---> Running in 962450d8fb88 06:18:57 Removing intermediate container 962450d8fb88 06:18:57 ---> 46e84a901539 06:18:57 [Warning] One or more build-args [ARCH] were not consumed 06:18:58 Successfully built 46e84a901539 06:18:58 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 06:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:58 06:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:58 latest: Pulling from edgex-lftools-log-publisher 06:18:58 5eb5b503b376: Pulling fs layer 06:18:58 5c69ac0246d0: Pulling fs layer 06:18:58 ec43610c2a17: Pulling fs layer 06:18:58 3a2ae6a8a46f: Pulling fs layer 06:18:58 33b1e0a273af: Pulling fs layer 06:18:58 5d3b04190fa2: Pulling fs layer 06:18:58 2f39f015ded8: Pulling fs layer 06:18:58 5d3b04190fa2: Waiting 06:18:58 33b1e0a273af: Waiting 06:18:58 3a2ae6a8a46f: Waiting 06:18:58 2f39f015ded8: Waiting 06:18:58 5c69ac0246d0: Download complete 06:18:58 3a2ae6a8a46f: Verifying Checksum 06:18:58 3a2ae6a8a46f: Download complete 06:18:58 33b1e0a273af: Verifying Checksum 06:18:58 33b1e0a273af: Download complete 06:18:58 5d3b04190fa2: Verifying Checksum 06:18:58 5d3b04190fa2: Download complete 06:18:58 ec43610c2a17: Verifying Checksum 06:18:58 ec43610c2a17: Download complete 06:18:59 5eb5b503b376: Verifying Checksum 06:18:59 5eb5b503b376: Download complete 06:18:59 2f39f015ded8: Download complete 06:19:00 5eb5b503b376: Pull complete 06:19:00 5c69ac0246d0: Pull complete 06:19:00 ec43610c2a17: Pull complete 06:19:00 3a2ae6a8a46f: Pull complete 06:19:01 33b1e0a273af: Pull complete 06:19:01 5d3b04190fa2: Pull complete 06:19:05 2f39f015ded8: Pull complete 06:19:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:05 prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container 06:19:05 $ 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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:19:06 $ docker top 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:06 ---> job-cost.sh 06:19:06 lf-activate-venv: SKIPPING 06:19:06 INFO: No Stack... 06:19:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:07 INFO: Archiving Costs [Pipeline] sh 06:19:07 + cat /w/workspace/foundry_device-usb-camera_PR-254/archives/cost.csv 06:19:07 + cut -d, -f6 [Pipeline] lock 06:19:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] 06:19:07 Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] did not exist. Created. 06:19:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:19:08 + echo total: 0.2199999988079071 [Pipeline] stash 06:19:08 Stashed 1 file(s) [Pipeline] } 06:19:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:19:08 $ docker stop --time=1 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 06:19:09 $ docker rm -f --volumes 722e11be08b54c0c4d37317f91747d55f12b19e2742ff9c6e3d39c8bbef76bd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:20:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16474 in /w/workspace/foundry_device-usb-camera_PR-254 [Pipeline] { [Pipeline] ws 06:20:51 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 06:20:51 Selected Git installation does not exist. Using Default 06:20:51 The recommended git tool is: NONE 06:20:57 using credential edgex-jenkins-ssh 06:20:57 Cloning the remote Git repository 06:20:57 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:20:57 > git init /w/workspace/device-usb-camera/4 # timeout=10 06:20:57 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:20:57 > git --version # timeout=10 06:20:57 > git --version # 'git version 2.25.1' 06:20:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:20:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:59 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:20:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:20:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/254/head:refs/remotes/origin/PR-254 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:21:00 Merging remotes/origin/main commit 8e89c95f200ba999b8b18666717dd08bb0ba11a2 into PR head commit a7aa7f027762502ccab20492bb8d27a332565d02 06:21:00 Merge succeeded, producing 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 06:21:00 Checking out Revision 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 (PR-254) 06:21:00 > git config core.sparsecheckout # timeout=10 06:21:00 > git checkout -f a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 06:21:00 > git remote # timeout=10 06:21:00 > git config --get remote.origin.url # timeout=10 06:21:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:21:00 > git merge 8e89c95f200ba999b8b18666717dd08bb0ba11a2 # timeout=10 06:21:00 > git rev-parse HEAD^{commit} # timeout=10 06:21:00 > git config core.sparsecheckout # timeout=10 06:21:00 > git checkout -f 2b8f5f9913fd91a75b8dd89418f3c58d992c2639 # timeout=10 06:21:04 Commit message: "Merge commit '8e89c95f200ba999b8b18666717dd08bb0ba11a2' into HEAD" 06:21:04 > git rev-list --no-walk a7aa7f027762502ccab20492bb8d27a332565d02 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:21:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:21:05 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:05 Dload Upload Total Spent Left Speed 06:21:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 06:21:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:21:06 + sudo tee /etc/docker/daemon.new 06:21:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:21:06 { 06:21:06 "registry-mirrors": [ 06:21:06 "https://nexus3.edgexfoundry.org:10001" 06:21:06 ], 06:21:06 "bip": "10.250.0.254/24", 06:21:06 "hosts": [ 06:21:06 "tcp://0.0.0.0:5555", 06:21:06 "unix:///var/run/docker.sock" 06:21:06 ], 06:21:06 "mtu": 1458, 06:21:06 "selinux-enabled": true, 06:21:06 "seccomp-profile": "/etc/docker/seccomp.json" 06:21:06 } [Pipeline] sh 06:21:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:21:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:25 provisioning config files... 06:21:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config12600796841981658953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:25 ---> docker-login.sh 06:21:25 nexus3.edgexfoundry.org:10001 06:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:26 Configure a credential helper to remove this warning. See 06:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:26 06:21:26 Login Succeeded 06:21:26 nexus3.edgexfoundry.org:10002 06:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:26 Configure a credential helper to remove this warning. See 06:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:26 06:21:26 Login Succeeded 06:21:26 nexus3.edgexfoundry.org:10003 06:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:27 Configure a credential helper to remove this warning. See 06:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:27 06:21:27 Login Succeeded 06:21:27 nexus3.edgexfoundry.org:10004 06:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:27 Configure a credential helper to remove this warning. See 06:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:27 06:21:27 Login Succeeded 06:21:27 docker.io 06:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:21:27 Configure a credential helper to remove this warning. See 06:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:21:27 06:21:27 Login Succeeded 06:21:27 ---> docker-login.sh ends [Pipeline] } 06:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:21:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:21:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:21:28 ========================================================= 06:21:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:21:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:21:28 Sending build context to Docker daemon 1.183MB 06:21:28 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:21:28 Step 2/13 : FROM ${BASE} AS builder 06:21:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:21:32 c41833b44d91: Pulling fs layer 06:21:32 ed15518f5707: Pulling fs layer 06:21:32 feae8fd75edb: Pulling fs layer 06:21:32 242c74f7c9fa: Pulling fs layer 06:21:32 3cdef696dda3: Pulling fs layer 06:21:32 2ced38df9373: Pulling fs layer 06:21:32 58f1dce35555: Pulling fs layer 06:21:32 242c74f7c9fa: Waiting 06:21:32 3cdef696dda3: Waiting 06:21:32 2ced38df9373: Waiting 06:21:32 58f1dce35555: Waiting 06:21:32 ed15518f5707: Download complete 06:21:32 242c74f7c9fa: Verifying Checksum 06:21:32 242c74f7c9fa: Download complete 06:21:32 3cdef696dda3: Verifying Checksum 06:21:32 3cdef696dda3: Download complete 06:21:32 c41833b44d91: Download complete 06:21:32 c41833b44d91: Pull complete 06:21:33 58f1dce35555: Verifying Checksum 06:21:33 58f1dce35555: Download complete 06:21:33 ed15518f5707: Pull complete 06:21:34 feae8fd75edb: Verifying Checksum 06:21:34 feae8fd75edb: Download complete 06:21:34 2ced38df9373: Verifying Checksum 06:21:34 2ced38df9373: Download complete 06:21:46 feae8fd75edb: Pull complete 06:21:46 242c74f7c9fa: Pull complete 06:21:46 3cdef696dda3: Pull complete 06:21:53 2ced38df9373: Pull complete 06:21:58 58f1dce35555: Pull complete 06:21:58 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:21:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:21:58 ---> fadd8f120f05 06:21:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:22:00 ---> Running in dd8ce41132ea 06:22:00 Removing intermediate container dd8ce41132ea 06:22:00 ---> 8cdc629a6086 06:22:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:22:00 ---> Running in 4496f6ea64d1 06:22:01 Removing intermediate container 4496f6ea64d1 06:22:01 ---> df348ccac5d5 06:22:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:22:01 ---> Running in bfa14cd9027a 06:22:01 Removing intermediate container bfa14cd9027a 06:22:01 ---> 7322f57361f7 06:22:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:22:01 ---> Running in e04c96c93eae 06:22:01 Removing intermediate container e04c96c93eae 06:22:01 ---> a75a99e03c43 06:22:01 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:02 ---> Running in 612a1c88e219 06:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:22:05 (1/14) Installing libintl (0.21.1-r1) 06:22:05 (2/14) Installing eudev-libs (3.2.11-r4) 06:22:05 (3/14) Installing libjpeg-turbo (2.1.4-r0) 06:22:05 (4/14) Installing v4l-utils-libs (1.22.1-r2) 06:22:05 (5/14) Installing v4l-utils (1.22.1-r2) 06:22:05 (6/14) Installing udev-init-scripts (35-r1) 06:22:05 (7/14) Installing libblkid (2.38.1-r1) 06:22:05 (8/14) Installing xz-libs (5.2.9-r0) 06:22:05 (9/14) Installing zstd-libs (1.5.5-r0) 06:22:05 (10/14) Installing kmod-libs (30-r1) 06:22:05 (11/14) Installing eudev (3.2.11-r4) 06:22:05 (12/14) Installing eudev-dev (3.2.11-r4) 06:22:05 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 06:22:05 (14/14) Installing v4l-utils-dev (1.22.1-r2) 06:22:05 Executing busybox-1.35.0-r29.trigger 06:22:05 Executing eudev-3.2.11-r4.trigger 06:22:05 OK: 271 MiB in 67 packages 06:22:06 Removing intermediate container 612a1c88e219 06:22:06 ---> e8c40bd2cb10 06:22:06 Step 8/13 : WORKDIR /device-usb-camera 06:22:06 ---> Running in 2fa99b91f198 06:22:06 Removing intermediate container 2fa99b91f198 06:22:06 ---> 14c9df84a15a 06:22:06 Step 9/13 : COPY go.mod vendor* ./ 06:22:07 ---> 2399d561fe2d 06:22:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:22:07 ---> Running in 72cd49487bab 06:23:15 Removing intermediate container 72cd49487bab 06:23:15 ---> 2177b5489fcd 06:23:15 Step 11/13 : COPY . . 06:23:15 ---> 6b7e18c443f2 06:23:15 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:23:15 ---> Running in 0bb0663c1cc2 06:23:15  % Total  % Received % Xferd Average Speed Time Time Time Current 06:23:15  Dload Upload Total Spent Left Speed 06:23:15 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2871 0 --:--:-- --:--:-- --:--:-- 2878 06:23:15 Removing intermediate container 0bb0663c1cc2 06:23:15 ---> fb228d405b64 06:23:15 Step 13/13 : RUN ${MAKE} 06:23:15 ---> Running in 0d90847a99cb 06:23:15 noop 06:23:15 Removing intermediate container 0d90847a99cb 06:23:15 ---> 3ba78b274031 06:23:15 Successfully built 3ba78b274031 06:23:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:15 + docker inspect -f . ci-base-image-arm64 06:23:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:16 prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container 06:23:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:23:19 $ docker top 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:20 + go version 06:23:20 go version go1.20.2 linux/arm64 [Pipeline] } 06:23:20 $ docker stop --time=1 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de 06:23:21 $ docker rm -f --volumes 63363a14b8e64031def8fbbe1561cd23a27205d9a33f57010be8259a9992c9de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:22 + docker inspect -f . ci-base-image-arm64 06:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:22 prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container 06:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:23:23 $ docker top 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 -eo pid,comm [Pipeline] { [Pipeline] sh 06:23:24 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 06:23:25 + make test 06:23:25 go test ./... -coverprofile=coverage.out ./... 06:23:57 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:26:19 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:26:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 1.6% of statements 06:26:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:26:21 go vet ./... 06:26:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:26:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:26:48 ./bin/test-attribution-txt.sh [Pipeline] echo 06:26:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:26:48 $ docker stop --time=1 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 06:26:49 $ docker rm -f --volumes 05b00a468116d148326c2fcb5d6838c19ce026774abc91f62719fcfbfb250134 [Pipeline] // withDockerContainer [Pipeline] sh 06:26:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:26:50 Warning: overwriting stash ‘coverage-report’ 06:26:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:26:52 + ls -al . 06:26:52 total 188 06:26:52 drwxrwxr-x 9 jenkins jenkins 4096 May 23 06:23 . 06:26:52 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:20 .. 06:26:52 drwxrwxr-x 8 jenkins jenkins 4096 May 23 06:21 .git 06:26:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 .github 06:26:52 -rw-rw-r-- 1 jenkins jenkins 414 May 23 06:21 .gitignore 06:26:52 -rw-rw-r-- 1 jenkins jenkins 45 May 23 06:21 .golangci.yml 06:26:52 -rw-rw-r-- 1 jenkins jenkins 77 May 23 06:21 .hadolint.yml 06:26:52 -rw-rw-r-- 1 jenkins jenkins 9665 May 23 06:21 Attribution.txt 06:26:52 -rw-rw-r-- 1 jenkins jenkins 6219 May 23 06:21 CHANGELOG.md 06:26:52 -rw-rw-r-- 1 jenkins jenkins 2453 May 23 06:21 Dockerfile 06:26:52 -rw-rw-r-- 1 jenkins jenkins 678 May 23 06:21 GOVERNANCE.md 06:26:52 -rw-rw-r-- 1 jenkins jenkins 659 May 23 06:21 Jenkinsfile 06:26:52 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 06:21 LICENSE 06:26:52 -rw-rw-r-- 1 jenkins jenkins 2364 May 23 06:21 Makefile 06:26:52 -rw-rw-r-- 1 jenkins jenkins 622 May 23 06:21 OWNERS.md 06:26:52 -rw-rw-r-- 1 jenkins jenkins 2477 May 23 06:21 README.md 06:26:52 -rw-rw-r-- 1 jenkins jenkins 5 May 23 06:17 VERSION 06:26:52 drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:21 bin 06:26:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 cmd 06:26:52 -rw-r--r-- 1 jenkins jenkins 35308 May 23 06:26 coverage.out 06:26:52 -rwxrwxr-x 1 jenkins jenkins 140 May 23 06:21 docker-entrypoint.sh 06:26:52 drwxrwxr-x 2 jenkins jenkins 4096 May 23 06:21 docs 06:26:52 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 06:21 go.mod 06:26:52 -rw-rw-r-- 1 jenkins jenkins 31488 May 23 06:21 go.sum 06:26:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 06:21 internal 06:26:52 drwxrwxr-x 4 jenkins jenkins 4096 May 23 06:21 snap 06:26:52 -rw-rw-r-- 1 jenkins jenkins 231 May 23 06:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:52 + 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=2b8f5f9913fd91a75b8dd89418f3c58d992c2639 --label arch=arm64 --label version=0.0.0 . 06:26:52 Sending build context to Docker daemon 1.219MB 06:26:52 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 06:26:52 Step 2/36 : FROM ${BASE} AS builder 06:26:52 ---> 3ba78b274031 06:26:52 Step 3/36 : ARG ADD_BUILD_TAGS="" 06:26:53 ---> Running in b599221e2808 06:26:53 Removing intermediate container b599221e2808 06:26:53 ---> a3ffa600d563 06:26:53 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:26:53 ---> Running in eb7c7f048ee9 06:26:53 Removing intermediate container eb7c7f048ee9 06:26:53 ---> 13ed4ec71225 06:26:53 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 06:26:53 ---> Running in 2eec4730d82f 06:26:54 Removing intermediate container 2eec4730d82f 06:26:54 ---> 05575c49c33d 06:26:54 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:26:54 ---> Running in 8486d4e21f73 06:26:54 Removing intermediate container 8486d4e21f73 06:26:54 ---> 7393d986f5f9 06:26:54 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:26:54 ---> Running in da7087c3b9c0 06:26:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:26:57 OK: 271 MiB in 67 packages 06:26:58 Removing intermediate container da7087c3b9c0 06:26:58 ---> 9250dfe17d5b 06:26:58 Step 8/36 : WORKDIR /device-usb-camera 06:26:58 ---> Running in d5f2a49c0a73 06:26:58 Removing intermediate container d5f2a49c0a73 06:26:58 ---> 45119b9fb633 06:26:58 Step 9/36 : COPY go.mod vendor* ./ 06:26:59 ---> 8538a9a6ce6f 06:26:59 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:26:59 ---> Running in aa31b59ef5e6 06:27:01 Removing intermediate container aa31b59ef5e6 06:27:01 ---> 75bf48793c2f 06:27:01 Step 11/36 : COPY . . 06:27:02 ---> e2a0bf71fd09 06:27:02 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 06:27:02 ---> Running in ae59fd2b5e27 06:27:03  % Total % Received % Xferd Average Speed Time Time Time Current 06:27:03 Dload Upload Total Spent Left Speed 06:27:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4195 0 --:--:-- --:--:-- --:--:-- 4197 06:27:05 Removing intermediate container ae59fd2b5e27 06:27:05 ---> aec5415b620b 06:27:05 Step 13/36 : RUN ${MAKE} 06:27:05 ---> Running in 1986273308e1 06:27:06 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 06:29:42 Removing intermediate container 1986273308e1 06:29:42 ---> 84ef8b6c0d47 06:29:42 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 06:29:44 v0.21.6: Pulling from aler9/rtsp-simple-server 06:29:44 8766b47fe142: Pulling fs layer 06:29:45 8766b47fe142: Verifying Checksum 06:29:45 8766b47fe142: Download complete 06:29:45 8766b47fe142: Pull complete 06:29:45 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 06:29:45 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 06:29:45 ---> 69d40e2cb93c 06:29:45 Step 15/36 : FROM alpine:3.17 06:29:46 3.17: Pulling from library/alpine 06:29:46 c41833b44d91: Already exists 06:29:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:29:46 Status: Downloaded newer image for alpine:3.17 06:29:46 ---> 51e60588ff2c 06:29:46 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:29:46 ---> Running in c89c3672d404 06:29:46 Removing intermediate container c89c3672d404 06:29:46 ---> d468283ac0fa 06:29:46 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 06:29:47 ---> Running in 5c8ca5430ff7 06:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:29:49 (1/83) Installing dumb-init (1.2.5-r2) 06:29:49 (2/83) Installing sdl2 (2.26.5-r0) 06:29:49 (3/83) Installing libxau (1.0.10-r0) 06:29:49 (4/83) Installing libmd (1.0.4-r0) 06:29:49 (5/83) Installing libbsd (0.11.7-r0) 06:29:49 (6/83) Installing libxdmcp (1.1.4-r0) 06:29:49 (7/83) Installing libxcb (1.15-r0) 06:29:49 (8/83) Installing libx11 (1.8.4-r0) 06:29:49 (9/83) Installing aom-libs (3.5.0-r0) 06:29:49 (10/83) Installing alsa-lib (1.2.8-r0) 06:29:50 (11/83) Installing libexpat (2.5.0-r0) 06:29:50 (12/83) Installing brotli-libs (1.0.9-r9) 06:29:50 (13/83) Installing libbz2 (1.0.8-r4) 06:29:50 (14/83) Installing libpng (1.6.38-r0) 06:29:50 (15/83) Installing freetype (2.12.1-r0) 06:29:50 (16/83) Installing fontconfig (2.14.1-r0) 06:29:50 (17/83) Installing fribidi (1.0.12-r0) 06:29:50 (18/83) Installing libffi (3.4.4-r0) 06:29:50 (19/83) Installing libintl (0.21.1-r1) 06:29:50 (20/83) Installing libblkid (2.38.1-r1) 06:29:50 (21/83) Installing libmount (2.38.1-r1) 06:29:50 (22/83) Installing pcre2 (10.42-r0) 06:29:50 (23/83) Installing glib (2.74.6-r0) 06:29:50 (24/83) Installing graphite2 (1.3.14-r2) 06:29:50 (25/83) Installing harfbuzz (5.3.1-r1) 06:29:50 (26/83) Installing libass (0.16.0-r1) 06:29:50 (27/83) Installing libdav1d (1.0.0-r2) 06:29:50 (28/83) Installing libdrm (2.4.114-r0) 06:29:50 (29/83) Installing gmp (6.2.1-r2) 06:29:50 (30/83) Installing nettle (3.8.1-r0) 06:29:50 (31/83) Installing p11-kit (0.24.1-r1) 06:29:50 (32/83) Installing libtasn1 (4.19.0-r0) 06:29:50 (33/83) Installing libunistring (1.1-r0) 06:29:50 (34/83) Installing gnutls (3.7.8-r3) 06:29:50 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 06:29:50 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 06:29:50 (37/83) Installing lame (3.100-r2) 06:29:50 (38/83) Installing opus (1.3.1-r1) 06:29:50 (39/83) Installing libasyncns (0.8-r1) 06:29:50 (40/83) Installing dbus-libs (1.14.4-r0) 06:29:50 (41/83) Installing libltdl (2.4.7-r1) 06:29:50 (42/83) Installing orc (0.4.33-r0) 06:29:50 (43/83) Installing libgcc (12.2.1_git20220924-r4) 06:29:50 (44/83) Installing libogg (1.3.5-r2) 06:29:50 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 06:29:50 (46/83) Installing flac-libs (1.4.2-r0) 06:29:50 (47/83) Installing libvorbis (1.3.7-r0) 06:29:50 (48/83) Installing libsndfile (1.1.0-r2) 06:29:50 (49/83) Installing libgomp (12.2.1_git20220924-r4) 06:29:50 (50/83) Installing soxr (0.1.3-r3) 06:29:50 (51/83) Installing speexdsp (1.2.1-r0) 06:29:50 (52/83) Installing tdb-libs (1.4.6-r0) 06:29:50 (53/83) Installing libpulse (16.1-r6) 06:29:50 (54/83) Installing cjson (1.7.15-r3) 06:29:50 (55/83) Installing mbedtls (2.28.3-r0) 06:29:50 (56/83) Installing librist (0.2.7-r0) 06:29:50 (57/83) Installing libsrt (1.5.1-r0) 06:29:50 (58/83) Installing libssh (0.10.5-r0) 06:29:50 (59/83) Installing libtheora (1.1.1-r16) 06:29:51 (60/83) Installing libjpeg-turbo (2.1.4-r0) 06:29:51 (61/83) Installing v4l-utils-libs (1.22.1-r2) 06:29:51 (62/83) Installing libxext (1.3.5-r0) 06:29:51 (63/83) Installing libxfixes (6.0.0-r0) 06:29:51 (64/83) Installing wayland-libs-client (1.21.0-r1) 06:29:51 (65/83) Installing libva (2.16.0-r0) 06:29:51 (66/83) Installing libvdpau (1.5-r0) 06:29:51 (67/83) Installing vidstab (1.1.0-r2) 06:29:51 (68/83) Installing libvpx (1.12.0-r1) 06:29:51 (69/83) Installing libwebp (1.2.4-r1) 06:29:51 (70/83) Installing x264-libs (0.164_git20220602-r0) 06:29:51 (71/83) Installing numactl (2.0.16-r1) 06:29:51 (72/83) Installing x265-libs (3.5-r3) 06:29:51 (73/83) Installing xvidcore (1.3.7-r1) 06:29:51 (74/83) Installing libsodium (1.0.18-r2) 06:29:51 (75/83) Installing libzmq (4.3.4-r1) 06:29:51 (76/83) Installing ffmpeg-libs (5.1.3-r0) 06:29:51 (77/83) Installing ffmpeg (5.1.3-r0) 06:29:51 (78/83) Installing udev-init-scripts (35-r1) 06:29:51 (79/83) Installing eudev-libs (3.2.11-r4) 06:29:51 (80/83) Installing xz-libs (5.2.9-r0) 06:29:51 (81/83) Installing zstd-libs (1.5.5-r0) 06:29:51 (82/83) Installing kmod-libs (30-r1) 06:29:51 (83/83) Installing eudev (3.2.11-r4) 06:29:51 Executing busybox-1.35.0-r29.trigger 06:29:51 Executing eudev-3.2.11-r4.trigger 06:29:51 OK: 86 MiB in 98 packages 06:29:55 Removing intermediate container 5c8ca5430ff7 06:29:55 ---> 68b4e7132326 06:29:55 Step 18/36 : WORKDIR / 06:29:55 ---> Running in 15572fd40f6c 06:29:55 Removing intermediate container 15572fd40f6c 06:29:55 ---> 99a13f96049a 06:29:55 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 06:29:57 ---> af44984cabf2 06:29:57 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 06:29:57 ---> 4c9995f18321 06:29:57 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 06:29:58 ---> a83ddc82c04e 06:29:58 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:29:58 ---> 42995a62756d 06:29:58 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:29:59 ---> b4a6381d3f3d 06:29:59 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 06:29:59 ---> e441c6686be9 06:29:59 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 06:30:00 ---> 61fc55f5320c 06:30:00 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 06:30:00 ---> Running in d69b2a2e659d 06:30:02 Removing intermediate container d69b2a2e659d 06:30:02 ---> b78346ea4e4b 06:30:02 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 06:30:02 ---> Running in f4458c8e7c55 06:30:04 Removing intermediate container f4458c8e7c55 06:30:04 ---> f11de9d11c04 06:30:04 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 06:30:04 ---> Running in 940262e3e0f1 06:30:05 Removing intermediate container 940262e3e0f1 06:30:05 ---> b899a918f885 06:30:05 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 06:30:05 ---> Running in 8c806de5a8c3 06:30:06 Removing intermediate container 8c806de5a8c3 06:30:06 ---> c956c621b981 06:30:06 Step 30/36 : EXPOSE 59983 06:30:06 ---> Running in bbc42f7a11ad 06:30:07 Removing intermediate container bbc42f7a11ad 06:30:07 ---> c9c7018525b8 06:30:07 Step 31/36 : EXPOSE 8554 06:30:07 ---> Running in 471402e9ba26 06:30:07 Removing intermediate container 471402e9ba26 06:30:07 ---> ca46c779920e 06:30:07 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:30:07 ---> Running in 38cf61a23a97 06:30:07 Removing intermediate container 38cf61a23a97 06:30:07 ---> 1509d47785fa 06:30:07 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 06:30:07 ---> Running in 96437160117d 06:30:07 Removing intermediate container 96437160117d 06:30:07 ---> 96102a025bcd 06:30:07 Step 34/36 : LABEL arch=arm64 06:30:08 ---> Running in e42414cdeed3 06:30:08 Removing intermediate container e42414cdeed3 06:30:08 ---> 6dc9290b3e58 06:30:08 Step 35/36 : LABEL git_sha=2b8f5f9913fd91a75b8dd89418f3c58d992c2639 06:30:08 ---> Running in 588763ef6cd8 06:30:08 Removing intermediate container 588763ef6cd8 06:30:08 ---> 47de3f263010 06:30:08 Step 36/36 : LABEL version=0.0.0 06:30:08 ---> Running in ad484d2f4d01 06:30:09 Removing intermediate container ad484d2f4d01 06:30:09 ---> 4b813dcf41f8 06:30:09 [Warning] One or more build-args [ARCH] were not consumed 06:30:09 Successfully built 4b813dcf41f8 06:30:09 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 06:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:30:09 06:30:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:30:09 arm64: Pulling from edgex-lftools-log-publisher 06:30:09 8998bd30e6a1: Pulling fs layer 06:30:09 04944245beec: Pulling fs layer 06:30:09 699f458cf7ca: Pulling fs layer 06:30:09 765212b225bb: Pulling fs layer 06:30:09 f23df028b6ca: Pulling fs layer 06:30:09 d65c8cfc05b1: Pulling fs layer 06:30:09 2437ff75d9bd: Pulling fs layer 06:30:09 f23df028b6ca: Waiting 06:30:09 d65c8cfc05b1: Waiting 06:30:09 2437ff75d9bd: Waiting 06:30:09 765212b225bb: Waiting 06:30:10 04944245beec: Verifying Checksum 06:30:10 04944245beec: Download complete 06:30:10 765212b225bb: Verifying Checksum 06:30:10 765212b225bb: Download complete 06:30:10 f23df028b6ca: Verifying Checksum 06:30:10 f23df028b6ca: Download complete 06:30:10 d65c8cfc05b1: Verifying Checksum 06:30:10 d65c8cfc05b1: Download complete 06:30:10 699f458cf7ca: Verifying Checksum 06:30:10 699f458cf7ca: Download complete 06:30:11 8998bd30e6a1: Download complete 06:30:13 2437ff75d9bd: Verifying Checksum 06:30:13 2437ff75d9bd: Download complete 06:30:15 8998bd30e6a1: Pull complete 06:30:15 04944245beec: Pull complete 06:30:16 699f458cf7ca: Pull complete 06:30:16 765212b225bb: Pull complete 06:30:17 f23df028b6ca: Pull complete 06:30:17 d65c8cfc05b1: Pull complete 06:30:32 2437ff75d9bd: Pull complete 06:30:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:30:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-16474 does not seem to be running inside a container 06:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:30:35 $ docker top 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:36 ---> job-cost.sh 06:30:36 lf-activate-venv: SKIPPING 06:30:36 INFO: No Stack... 06:30:36 INFO: Retrieving Pricing Info for: v3-standard-4 06:30:37 INFO: Archiving Costs [Pipeline] sh 06:30:38 + cut -d, -f6 06:30:38 + cat /w/workspace/device-usb-camera/4/archives/cost.csv [Pipeline] lock 06:30:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] 06:30:38 Resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] did not exist. Created. 06:30:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:30:39 /w/workspace/device-usb-camera/4@tmp/durable-c5ce635b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:30:39 + echo total: 0.10999999940395355 [Pipeline] stash 06:30:39 Warning: overwriting stash ‘stack-cost’ 06:30:39 Stashed 1 file(s) [Pipeline] } 06:30:39 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-254-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:30:39 $ docker stop --time=1 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d 06:30:41 $ docker rm -f --volumes 0023dfb7cfc88def2098166da6923e3bb970ab97b023590b484ff333df608d4d [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 06:30:41 provisioning config files... 06:30:41 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config6588485847691619612tmp [Pipeline] { [Pipeline] sh 06:30:42 + set +x 06:30:42 + curl -s https://codecov.io/bash 06:30:42 + bash -s -- 06:30:42 06:30:42 _____ _ 06:30:42 / ____| | | 06:30:42 | | ___ __| | ___ ___ _____ __ 06:30:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:30:42 | |___| (_) | (_| | __/ (_| (_) \ V / 06:30:42 \_____\___/ \__,_|\___|\___\___/ \_/ 06:30:42 Bash-1.0.6 06:30:42 06:30:42 06:30:42 ==> git version 2.25.1 found 06:30:42 ==> 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 06:30:42 Release-Date: 2020-01-08 06:30:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:30:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:30:42 ==> Jenkins CI detected. 06:30:42 current dir:  /w/workspace/foundry_device-usb-camera_PR-254 06:30:42 project root: . 06:30:42 --> token set from env 06:30:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:30:42 ==> Running gcov in . (disable via -X gcov) 06:30:42 ==> Python coveragepy not found 06:30:42 ==> Searching for coverage reports in: 06:30:42 + . 06:30:42 -> Found 1 reports 06:30:42 ==> Detecting git/mercurial file structure 06:30:42 ==> Reading reports 06:30:42 + ./coverage.out bytes=35308 06:30:42 ==> Appending adjustments 06:30:42 https://docs.codecov.io/docs/fixing-reports 06:30:42 + Found adjustments 06:30:42 ==> Gzipping contents 06:30:42 8.0K /tmp/codecov.0JH6FR.gz 06:30:42 ==> Uploading reports 06:30:42 url: https://codecov.io 06:30:42 query: branch=PR-254&commit=dcc0cd70b723e4446b36485f1aea1a6961903f9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= 06:30:42 -> Pinging Codecov 06:30:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-254&commit=dcc0cd70b723e4446b36485f1aea1a6961903f9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-254%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=254&job=&cmd_args= 06:30:42 -> Uploading to 06:30:42 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/73D8F5FF140700D3E01443B452E23636/dcc0cd70b723e4446b36485f1aea1a6961903f9b/2e1b1f7a-10d4-4270-929a-fd5f623fd35a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T063042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a91a5badb69f6b3e74c99ea2f55aa74f46f92c0d36269e19ce2bbbff42273761 06:30:42 % Total % Received % Xferd Average Speed Time Time Time Current 06:30:42 Dload Upload Total Spent Left Speed 06:30:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4798 0 0 100 4798 0 3760 0:00:01 0:00:01 --:--:-- 3757 100 4798 0 0 100 4798 0 3719 0:00:01 0:00:01 --:--:-- 3716 06:30:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/dcc0cd70b723e4446b36485f1aea1a6961903f9b [Pipeline] } 06:30:43 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 06:30:44 + [ -d /w/workspace/foundry_device-usb-camera_PR-254/archives ] 06:30:44 + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives 06:30:44 total 16 06:30:44 drwxr-xr-x 3 root root 4096 May 23 06:19 . 06:30:44 drwxrwxr-x 11 jenkins jenkins 4096 May 23 06:19 .. 06:30:44 drwxr-xr-x 2 root root 4096 May 23 06:19 cost 06:30:44 -rw-r--r-- 1 root root 89 May 23 06:19 cost.csv 06:30:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-254/archives 06:30:44 + ls -al /w/workspace/foundry_device-usb-camera_PR-254/archives 06:30:44 total 16 06:30:44 drwxr-xr-x 3 jenkins jenkins 4096 May 23 06:19 . 06:30:44 drwxrwxr-x 11 jenkins jenkins 4096 May 23 06:19 .. 06:30:44 drwxr-xr-x 2 jenkins jenkins 4096 May 23 06:19 cost 06:30:44 -rw-r--r-- 1 jenkins jenkins 89 May 23 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:30:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:30:45 ---> package-listing.sh 06:30:45 ++ facter osfamily 06:30:45 ++ tr '[:upper:]' '[:lower:]' 06:30:46 + OS_FAMILY=debian 06:30:46 + workspace=/w/workspace/foundry_device-usb-camera_PR-254 06:30:46 + START_PACKAGES=/tmp/packages_start.txt 06:30:46 + END_PACKAGES=/tmp/packages_end.txt 06:30:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:30:46 + PACKAGES=/tmp/packages_start.txt 06:30:46 + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' 06:30:46 + PACKAGES=/tmp/packages_end.txt 06:30:46 + case "${OS_FAMILY}" in 06:30:46 + dpkg -l 06:30:46 + grep '^ii' 06:30:46 + '[' -f /tmp/packages_start.txt ']' 06:30:46 + '[' -f /tmp/packages_end.txt ']' 06:30:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:30:46 + '[' /w/workspace/foundry_device-usb-camera_PR-254 ']' 06:30:46 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-254/archives/ 06:30:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-254/archives/ [Pipeline] echo 06:30:46 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-254/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:30:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:47 prd-ubuntu20.04-docker-8c-8g-16473 does not seem to be running inside a container 06:30:47 $ 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-254/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-254 -v /w/workspace/foundry_device-usb-camera_PR-254:/w/workspace/foundry_device-usb-camera_PR-254:rw,z -v /w/workspace/foundry_device-usb-camera_PR-254@tmp:/w/workspace/foundry_device-usb-camera_PR-254@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 06:30:47 $ docker top 13efcb6f43b27503830e7b57cce2c675e19f8423bde88734c129012209113dfe -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:47 + touch /tmp/pre-build-complete [Pipeline] sh 06:30:47 + mkdir -p /var/log/sysstat [Pipeline] sh 06:30:48 + ls /var/log/sa-host 06:30:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:48 provisioning config files... 06:30:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-254@tmp/config453785342861069208tmp [Pipeline] { [Pipeline] echo 06:30:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:30:48 ---> create-netrc.sh [Pipeline] } 06:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:30:48 ---> python-tools-install.sh [Pipeline] echo 06:30:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:30:49 ---> sudo-logs.sh 06:30:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:30:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:30:49 ---> job-cost.sh 06:30:49 lf-activate-venv: SKIPPING 06:30:49 DEBUG: total: 0.2199999988079071 06:30:49 INFO: Retrieving Stack Cost... 06:30:50 INFO: Retrieving Pricing Info for: v3-standard-8 06:30:50 INFO: Archiving Costs [Pipeline] echo 06:30:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:30:50 ---> logs-deploy.sh 06:30:50 lf-activate-venv: SKIPPING 06:30:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-254/4 06:30:50 INFO: archiving workspace using pattern(s): 06:30:51 Archives upload complete. 06:30:51 INFO: archiving logs to Nexus