Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d32bfb144ed79cec845816023cbf1136d6c5c0b8 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-ssh675256718942803719.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11474968878382073239.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2192868971426627687.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1385814050471406543.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9381448595930921562.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1446’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1448 in /w/workspace/exfoundry_device-usb-camera_main [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/exfoundry_device-usb-camera_main # 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 Avoid second fetch Checking out Revision d32bfb144ed79cec845816023cbf1136d6c5c0b8 (main) Commit message: "Merge pull request #119 from FelixTing/v3" > 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 core.sparsecheckout # timeout=10 > git checkout -f d32bfb144ed79cec845816023cbf1136d6c5c0b8 # timeout=10 > git rev-list --no-walk aa9461ff516dbbb31bf7876f6a13f06d431dd475 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:57:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:57:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:57:24 ========================================================= 15:57:24 EdgeX Global Pipelines Version Info 15:57:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:57:24 ------------------- 15:57:24 stable info: 15:57:24 ------------------- 15:57:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:57:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:57:24 Message: update stable to v1.0.244 15:57:25 ------------------- 15:57:25 experimental info: 15:57:25 ------------------- 15:57:25 Commited By: **** collab-it+edgex@linuxfoundation.org 15:57:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:57:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d32bfb1 [Pipeline] echo 15:57:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:26 provisioning config files... 15:57:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12281575412831099335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:26 ---> docker-login.sh 15:57:26 nexus3.edgexfoundry.org:10001 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:26 Configure a credential helper to remove this warning. See 15:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:26 15:57:26 Login Succeeded 15:57:26 nexus3.edgexfoundry.org:10002 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:26 Configure a credential helper to remove this warning. See 15:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:26 15:57:26 Login Succeeded 15:57:26 nexus3.edgexfoundry.org:10003 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:26 Configure a credential helper to remove this warning. See 15:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:26 15:57:26 Login Succeeded 15:57:26 nexus3.edgexfoundry.org:10004 15:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:27 Configure a credential helper to remove this warning. See 15:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:27 15:57:27 Login Succeeded 15:57:27 docker.io 15:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:27 Configure a credential helper to remove this warning. See 15:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:27 15:57:27 Login Succeeded 15:57:27 ---> docker-login.sh ends [Pipeline] } 15:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:57:27 + git rev-list -1 --merges d32bfb144ed79cec845816023cbf1136d6c5c0b8~1..d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] echo 15:57:27 -----------> git rev-list -1 --merges d32bfb144ed79cec845816023cbf1136d6c5c0b8~1..d32bfb144ed79cec845816023cbf1136d6c5c0b8 d32bfb144ed79cec845816023cbf1136d6c5c0b8 15:57:27 d32bfb144ed79cec845816023cbf1136d6c5c0b8 [false] [Pipeline] sh 15:57:28 + git log --format=format:%s -1 d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] echo 15:57:28 ========================================================= 15:57:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:57:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:28 + git log --format=format:%s -1 d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] echo 15:57:28 [semverPrep] GIT_COMMIT: d32bfb144ed79cec845816023cbf1136d6c5c0b8, Commit Message: Merge pull request #119 from FelixTing/v3 [Pipeline] echo 15:57:28 [semverPrep] This is not a build commit. [Pipeline] sh 15:57:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:28 + grep -v github /etc/ssh/ssh_known_hosts 15:57:28 + [ -e /tmp/ssh_known_hosts ] 15:57:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:57:28 + sudo tee -a /etc/ssh/ssh_known_hosts 15:57:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:57:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:29 15:57:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:29 0.1.4: Pulling from edgex-devops/py-git-semver 15:57:29 b85a868b505f: Pulling fs layer 15:57:29 e2be974225ed: Pulling fs layer 15:57:29 339a4e72a1f5: Pulling fs layer 15:57:29 988bab9f4d93: Pulling fs layer 15:57:29 1469e6f7b9e6: Pulling fs layer 15:57:29 988bab9f4d93: Waiting 15:57:29 eaf3925da568: Pulling fs layer 15:57:29 bab4dde63d76: Pulling fs layer 15:57:29 bde34c3a00c8: Pulling fs layer 15:57:29 eaf3925da568: Waiting 15:57:29 1469e6f7b9e6: Waiting 15:57:29 bab4dde63d76: Waiting 15:57:29 b352a97aabf1: Pulling fs layer 15:57:29 4872d77fe225: Pulling fs layer 15:57:29 5851b861e8e6: Pulling fs layer 15:57:29 bde34c3a00c8: Waiting 15:57:29 5851b861e8e6: Waiting 15:57:29 b352a97aabf1: Waiting 15:57:29 e2be974225ed: Download complete 15:57:29 988bab9f4d93: Verifying Checksum 15:57:29 988bab9f4d93: Download complete 15:57:29 1469e6f7b9e6: Verifying Checksum 15:57:29 1469e6f7b9e6: Download complete 15:57:29 eaf3925da568: Download complete 15:57:29 339a4e72a1f5: Verifying Checksum 15:57:29 339a4e72a1f5: Download complete 15:57:29 bde34c3a00c8: Download complete 15:57:29 b352a97aabf1: Download complete 15:57:29 4872d77fe225: Download complete 15:57:29 5851b861e8e6: Verifying Checksum 15:57:29 5851b861e8e6: Download complete 15:57:29 b85a868b505f: Verifying Checksum 15:57:29 b85a868b505f: Download complete 15:57:30 bab4dde63d76: Verifying Checksum 15:57:30 bab4dde63d76: Download complete 15:57:30 b85a868b505f: Pull complete 15:57:31 e2be974225ed: Pull complete 15:57:31 339a4e72a1f5: Pull complete 15:57:31 988bab9f4d93: Pull complete 15:57:31 1469e6f7b9e6: Pull complete 15:57:31 eaf3925da568: Pull complete 15:57:33 bab4dde63d76: Pull complete 15:57:33 bde34c3a00c8: Pull complete 15:57:33 b352a97aabf1: Pull complete 15:57:33 4872d77fe225: Pull complete 15:57:33 5851b861e8e6: Pull complete 15:57:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:57:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:33 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 15:57:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:57:35 $ docker top 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 -eo pid,comm 15:57:35 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). 15:57:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:35 [ssh-agent] Looking for ssh-agent implementation... 15:57:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:35 $ docker exec 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 ssh-agent 15:57:35 SSH_AUTH_SOCK=/tmp/ssh-0KXESZbSAAsk/agent.32 15:57:35 SSH_AGENT_PID=38 15:57:35 Running ssh-add (command line suppressed) 15:57:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7865366751049280376.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7865366751049280376.key) 15:57:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:35 + git tag --points-at HEAD [Pipeline] } 15:57:35 $ docker exec --env ******** --env ******** 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 ssh-agent -k 15:57:36 unset SSH_AUTH_SOCK; 15:57:36 unset SSH_AGENT_PID; 15:57:36 echo Agent pid 38 killed; 15:57:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:57:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:36 [ssh-agent] Looking for ssh-agent implementation... 15:57:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:36 $ docker exec 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 ssh-agent 15:57:36 SSH_AUTH_SOCK=/tmp/ssh-IPIwqgpN6RYQ/agent.70 15:57:36 SSH_AGENT_PID=76 15:57:36 Running ssh-add (command line suppressed) 15:57:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6511584323103075409.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6511584323103075409.key) 15:57:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:36 + git semver init 15:57:36 2023-01-09 15:57:36,897 [run_init] DEBUG init version:0.0.0 force:False 15:57:36 2023-01-09 15:57:36,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 15:57:36 2023-01-09 15:57:36,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 15:57:36 2023-01-09 15:57:36,898 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 15:57:37 2023-01-09 15:57:37,641 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 15:57:37 2023-01-09 15:57:37,641 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 15:57:37 2023-01-09 15:57:37,641 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:57:37 2023-01-09 15:57:37,642 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:57:37 2.3.1-dev.1 [Pipeline] } 15:57:37 $ docker exec --env ******** --env ******** 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 ssh-agent -k 15:57:38 unset SSH_AUTH_SOCK; 15:57:38 unset SSH_AGENT_PID; 15:57:38 echo Agent pid 76 killed; 15:57:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:38 + git semver [Pipeline] } 15:57:38 $ docker stop --time=1 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 15:57:39 $ docker rm -f --volumes 9a0767e3dcbab6888f984081faada81ab648bc62d19fab0f5cff349252ebf965 [Pipeline] // withDockerContainer [Pipeline] sh 15:57:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:57:40 Stashed 1 file(s) [Pipeline] echo 15:57:40 [edgeXSemver]: initialized semver on version 2.3.1-dev.1 [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 15:57:40 provisioning config files... 15:57:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17567574011103402915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:40 ---> docker-login.sh 15:57:40 nexus3.edgexfoundry.org:10001 15:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:40 Configure a credential helper to remove this warning. See 15:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:40 15:57:40 Login Succeeded 15:57:40 nexus3.edgexfoundry.org:10002 15:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:40 Configure a credential helper to remove this warning. See 15:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:40 15:57:40 Login Succeeded 15:57:40 nexus3.edgexfoundry.org:10003 15:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:41 Configure a credential helper to remove this warning. See 15:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:41 15:57:41 Login Succeeded 15:57:41 nexus3.edgexfoundry.org:10004 15:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:41 Configure a credential helper to remove this warning. See 15:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:41 15:57:41 Login Succeeded 15:57:41 docker.io 15:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:41 Configure a credential helper to remove this warning. See 15:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:41 15:57:41 Login Succeeded 15:57:41 ---> docker-login.sh ends [Pipeline] } 15:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:41 ========================================================= 15:57:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:57:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:57:42 Sending build context to Docker daemon 1.659MB 15:57:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:57:42 Step 2/13 : FROM ${BASE} AS builder 15:57:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:57:42 213ec9aee27d: Pulling fs layer 15:57:42 4583459ba037: Pulling fs layer 15:57:42 93c1e223e6f2: Pulling fs layer 15:57:42 53926ce57604: Pulling fs layer 15:57:42 21b2b0c7a3f4: Pulling fs layer 15:57:42 22ff95d597cd: Pulling fs layer 15:57:42 12d6caf4c0d1: Pulling fs layer 15:57:42 96b7cbca73a9: Pulling fs layer 15:57:42 a7acece74701: Pulling fs layer 15:57:42 22ff95d597cd: Waiting 15:57:42 12d6caf4c0d1: Waiting 15:57:42 96b7cbca73a9: Waiting 15:57:42 21b2b0c7a3f4: Waiting 15:57:42 a7acece74701: Waiting 15:57:42 93c1e223e6f2: Download complete 15:57:42 4583459ba037: Download complete 15:57:42 21b2b0c7a3f4: Verifying Checksum 15:57:42 21b2b0c7a3f4: Download complete 15:57:42 22ff95d597cd: Verifying Checksum 15:57:42 22ff95d597cd: Download complete 15:57:42 213ec9aee27d: Verifying Checksum 15:57:42 213ec9aee27d: Download complete 15:57:42 12d6caf4c0d1: Verifying Checksum 15:57:42 12d6caf4c0d1: Download complete 15:57:42 213ec9aee27d: Pull complete 15:57:42 4583459ba037: Pull complete 15:57:42 93c1e223e6f2: Pull complete 15:57:42 96b7cbca73a9: Verifying Checksum 15:57:42 96b7cbca73a9: Download complete 15:57:42 a7acece74701: Verifying Checksum 15:57:42 a7acece74701: Download complete 15:57:43 53926ce57604: Verifying Checksum 15:57:43 53926ce57604: Download complete 15:57:47 53926ce57604: Pull complete 15:57:47 21b2b0c7a3f4: Pull complete 15:57:47 22ff95d597cd: Pull complete 15:57:47 12d6caf4c0d1: Pull complete 15:57:49 96b7cbca73a9: Pull complete 15:57:49 a7acece74701: Pull complete 15:57:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:57:49 ---> db6d94c90886 15:57:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:57:51 ---> Running in 3b8917ccc9ca 15:57:51 Removing intermediate container 3b8917ccc9ca 15:57:51 ---> 6fde66cfe3fe 15:57:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:51 ---> Running in 60c537a3e471 15:57:51 Removing intermediate container 60c537a3e471 15:57:51 ---> cd806c9cf2dc 15:57:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 15:57:51 ---> Running in 960a9ed9cb11 15:57:51 Removing intermediate container 960a9ed9cb11 15:57:51 ---> d6bb6d0515c2 15:57:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:57:51 ---> Running in 2313494eb497 15:57:51 Removing intermediate container 2313494eb497 15:57:51 ---> 9a9a7572f70e 15:57:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:51 ---> Running in 40de7eeeb96d 15:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:57:52 (1/80) Installing mesa (21.3.8-r2) 15:57:52 (2/80) Installing libxau (1.0.9-r0) 15:57:52 (3/80) Installing libxdmcp (1.1.3-r0) 15:57:52 (4/80) Installing libxcb (1.15-r0) 15:57:52 (5/80) Installing libx11 (1.8-r0) 15:57:52 (6/80) Installing libxext (1.3.4-r0) 15:57:52 (7/80) Installing libxfixes (6.0.0-r0) 15:57:52 (8/80) Installing libxxf86vm (1.1.4-r2) 15:57:52 (9/80) Installing libpciaccess (0.16-r0) 15:57:52 (10/80) Installing libdrm (2.4.110-r0) 15:57:52 (11/80) Installing mesa-glapi (21.3.8-r2) 15:57:52 (12/80) Installing libxshmfence (1.3-r1) 15:57:52 (13/80) Installing mesa-gl (21.3.8-r2) 15:57:52 (14/80) Installing icu-data-full (71.1-r2) 15:57:52 (15/80) Installing libice (1.0.10-r0) 15:57:52 (16/80) Installing libuuid (2.38-r1) 15:57:52 (17/80) Installing libsm (1.2.3-r0) 15:57:52 (18/80) Installing libxt (1.2.1-r0) 15:57:52 (19/80) Installing libxmu (1.1.3-r0) 15:57:52 (20/80) Installing xset (1.2.4-r0) 15:57:52 (21/80) Installing xprop (1.2.5-r0) 15:57:52 (22/80) Installing xdg-utils (1.1.3-r3) 15:57:52 (23/80) Installing dbus-libs (1.14.4-r0) 15:57:52 (24/80) Installing libffi (3.4.2-r1) 15:57:52 (25/80) Installing libintl (0.21-r2) 15:57:52 (26/80) Installing libblkid (2.38-r1) 15:57:52 (27/80) Installing libmount (2.38-r1) 15:57:52 (28/80) Installing pcre (8.45-r2) 15:57:52 (29/80) Installing glib (2.72.1-r0) 15:57:52 (30/80) Installing icu-libs (71.1-r2) 15:57:52 (31/80) Installing libpcre2-16 (10.40-r0) 15:57:52 (32/80) Installing zstd-libs (1.5.2-r1) 15:57:52 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 15:57:53 (34/80) Installing hicolor-icon-theme (0.17-r1) 15:57:53 (35/80) Installing wayland-libs-server (1.20.0-r0) 15:57:53 (36/80) Installing mesa-gbm (21.3.8-r2) 15:57:53 (37/80) Installing wayland-libs-client (1.20.0-r0) 15:57:53 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 15:57:53 (39/80) Installing libxcomposite (0.4.5-r0) 15:57:53 (40/80) Installing libbz2 (1.0.8-r1) 15:57:53 (41/80) Installing libpng (1.6.37-r1) 15:57:53 (42/80) Installing freetype (2.12.1-r0) 15:57:53 (43/80) Installing fontconfig (2.14.0-r0) 15:57:53 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 15:57:53 (45/80) Installing wayland-libs-egl (1.20.0-r0) 15:57:53 (46/80) Installing xkeyboard-config (2.35.1-r0) 15:57:53 (47/80) Installing xz-libs (5.2.5-r1) 15:57:53 (48/80) Installing libxml2 (2.9.14-r2) 15:57:53 (49/80) Installing libxkbcommon (1.4.1-r0) 15:57:53 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 15:57:53 (51/80) Installing mesa-egl (21.3.8-r2) 15:57:53 (52/80) Installing avahi-libs (0.8-r6) 15:57:53 (53/80) Installing nettle (3.7.3-r0) 15:57:53 (54/80) Installing p11-kit (0.24.1-r0) 15:57:53 (55/80) Installing libtasn1 (4.18.0-r1) 15:57:53 (56/80) Installing libunistring (1.0-r0) 15:57:53 (57/80) Installing gnutls (3.7.7-r0) 15:57:53 (58/80) Installing cups-libs (2.4.2-r0) 15:57:53 (59/80) Installing graphite2 (1.3.14-r1) 15:57:53 (60/80) Installing harfbuzz (4.3.0-r0) 15:57:53 (61/80) Installing libevdev (1.12.1-r0) 15:57:53 (62/80) Installing mtdev (1.1.6-r0) 15:57:53 (63/80) Installing eudev-libs (3.2.11-r0) 15:57:53 (64/80) Installing libinput-libs (1.20.1-r0) 15:57:53 (65/80) Installing libjpeg-turbo (2.1.3-r1) 15:57:53 (66/80) Installing xcb-util-wm (0.4.1-r1) 15:57:53 (67/80) Installing xcb-util (0.4.0-r3) 15:57:53 (68/80) Installing xcb-util-image (0.4.0-r1) 15:57:53 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 15:57:53 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 15:57:53 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 15:57:53 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 15:57:53 (73/80) Installing v4l-utils-libs (1.22.1-r1) 15:57:53 (74/80) Installing v4l-utils (1.22.1-r1) 15:57:53 (75/80) Installing udev-init-scripts (35-r0) 15:57:53 Executing udev-init-scripts-35-r0.post-install 15:57:53 (76/80) Installing kmod-libs (29-r2) 15:57:53 (77/80) Installing eudev (3.2.11-r0) 15:57:53 (78/80) Installing eudev-dev (3.2.11-r0) 15:57:53 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:57:53 (80/80) Installing v4l-utils-dev (1.22.1-r1) 15:57:53 Executing busybox-1.35.0-r17.trigger 15:57:53 Executing eudev-3.2.11-r0.trigger 15:57:53 OK: 330 MiB in 131 packages 15:57:55 Removing intermediate container 40de7eeeb96d 15:57:55 ---> 0b1884cd6046 15:57:55 Step 8/13 : WORKDIR /device-usb-camera 15:57:55 ---> Running in 42be8afe06d5 15:57:55 Still waiting to schedule task 15:57:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1447’ is offline 15:57:55 Removing intermediate container 42be8afe06d5 15:57:55 ---> 613718b6bc26 15:57:55 Step 9/13 : COPY go.mod vendor* ./ 15:57:55 ---> fec8fd789d2b 15:57:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:55 ---> Running in a4d0c74c07ca 15:58:17 Removing intermediate container a4d0c74c07ca 15:58:17 ---> ad4de9ecd932 15:58:17 Step 11/13 : COPY . . 15:58:17 ---> b372c2d5bd37 15:58:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:58:17 ---> Running in fa2c2c775428 15:58:17  % Total % Received % Xferd Average Speed Time Time Time Current 15:58:17 Dload Upload Total Spent Left Speed 15:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5701 0 --:--:-- --:--:-- --:--:-- 5709 15:58:17 Removing intermediate container fa2c2c775428 15:58:17 ---> 348985758ea6 15:58:17 Step 13/13 : RUN ${MAKE} 15:58:17 ---> Running in f5a8080edea5 15:58:17 noop 15:58:17 Removing intermediate container f5a8080edea5 15:58:17 ---> 4c910b9f9f72 15:58:17 Successfully built 4c910b9f9f72 15:58:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:18 + docker inspect -f . ci-base-image-x86_64 15:58:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:18 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 15:58:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 15:58:18 $ docker top cafe8f8a6d3b23089b3b1978531ab9c888e961adc8debfef46c0cceacb687f6d -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:18 + go version 15:58:18 go version go1.18.7 linux/amd64 [Pipeline] } 15:58:18 $ docker stop --time=1 cafe8f8a6d3b23089b3b1978531ab9c888e961adc8debfef46c0cceacb687f6d 15:58:20 $ docker rm -f --volumes cafe8f8a6d3b23089b3b1978531ab9c888e961adc8debfef46c0cceacb687f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:20 + docker inspect -f . ci-base-image-x86_64 15:58:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:20 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 15:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 15:58:21 $ docker top 9a55f21d28d88747e948713d57d4ee6fb9ac954765cd1c9fb06db7c8f53287e8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:21 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 15:58:21 + make test 15:58:21 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 15:58:21 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:58:34 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:58:34 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 1.9% of statements 15:58:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:58:40 CGO_ENABLED=1 go vet ./... 15:58:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:58:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:58:44 ./bin/test-attribution-txt.sh [Pipeline] echo 15:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:58:44 $ docker stop --time=1 9a55f21d28d88747e948713d57d4ee6fb9ac954765cd1c9fb06db7c8f53287e8 15:58:45 $ docker rm -f --volumes 9a55f21d28d88747e948713d57d4ee6fb9ac954765cd1c9fb06db7c8f53287e8 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:58:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:58:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:58:47 + ls -al . 15:58:47 total 208 15:58:47 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 15:58 . 15:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:57 .. 15:58:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 15:58 .git 15:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:57 .github 15:58:47 -rw-rw-r-- 1 jenkins jenkins 414 Jan 9 15:57 .gitignore 15:58:47 -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 15:57 .golangci.yml 15:58:47 -rw-rw-r-- 1 jenkins jenkins 77 Jan 9 15:57 .hadolint.yml 15:58:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 15:57 .semver 15:58:47 -rw-rw-r-- 1 jenkins jenkins 9546 Jan 9 15:57 Attribution.txt 15:58:47 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 9 15:57 CHANGELOG.md 15:58:47 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 9 15:57 Dockerfile 15:58:47 -rw-rw-r-- 1 jenkins jenkins 678 Jan 9 15:57 GOVERNANCE.md 15:58:47 -rw-rw-r-- 1 jenkins jenkins 659 Jan 9 15:57 Jenkinsfile 15:58:47 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 15:57 LICENSE 15:58:47 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 9 15:57 Makefile 15:58:47 -rw-rw-r-- 1 jenkins jenkins 622 Jan 9 15:57 OWNERS.md 15:58:47 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 9 15:57 README.md 15:58:47 -rw-rw-r-- 1 jenkins jenkins 11 Jan 9 15:57 VERSION 15:58:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 15:57 bin 15:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:57 cmd 15:58:47 -rw-r--r-- 1 jenkins jenkins 30666 Jan 9 15:58 coverage.out 15:58:47 -rwxrwxr-x 1 jenkins jenkins 140 Jan 9 15:57 docker-entrypoint.sh 15:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:57 docs 15:58:47 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 9 15:57 go.mod 15:58:47 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 9 15:57 go.sum 15:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:57 internal 15:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:57 snap 15:58:47 -rw-rw-r-- 1 jenkins jenkins 231 Jan 9 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:47 + 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=d32bfb144ed79cec845816023cbf1136d6c5c0b8 --label arch=amd64 --label version=2.3.1-dev.1 . 15:58:47 Sending build context to Docker daemon 1.691MB 15:58:47 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 15:58:47 Step 2/35 : FROM ${BASE} AS builder 15:58:47 ---> 4c910b9f9f72 15:58:47 Step 3/35 : ARG ADD_BUILD_TAGS="" 15:58:47 ---> Running in 7a8b56e22205 15:58:47 Removing intermediate container 7a8b56e22205 15:58:47 ---> 60ad78dc626d 15:58:47 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:47 ---> Running in f6b9a0167595 15:58:47 Removing intermediate container f6b9a0167595 15:58:47 ---> 2d9c3525fcc6 15:58:47 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 15:58:47 ---> Running in 7b48f8a9c015 15:58:47 Removing intermediate container 7b48f8a9c015 15:58:47 ---> 7adbb32c4e0d 15:58:47 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:58:47 ---> Running in ef3f446413de 15:58:48 Removing intermediate container ef3f446413de 15:58:48 ---> 8d5179f5b14b 15:58:48 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:48 ---> Running in b314aa9bde54 15:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:58:49 OK: 330 MiB in 131 packages 15:58:49 Removing intermediate container b314aa9bde54 15:58:49 ---> db20c97e6dc8 15:58:49 Step 8/35 : WORKDIR /device-usb-camera 15:58:49 ---> Running in c3ab483f9236 15:58:49 Removing intermediate container c3ab483f9236 15:58:49 ---> 429fbd64097d 15:58:49 Step 9/35 : COPY go.mod vendor* ./ 15:58:49 ---> f32afa60648c 15:58:49 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:49 ---> Running in 955e65da708a 15:58:50 Removing intermediate container 955e65da708a 15:58:50 ---> 1d251d4cc582 15:58:50 Step 11/35 : COPY . . 15:58:50 ---> 8b435c01d279 15:58:50 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:58:50 ---> Running in 541d680ab1f0 15:58:50  % Total % Received % Xferd Average Speed Time Time Time Current 15:58:50 Dload Upload Total Spent Left Speed 15:58:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44015 0 --:--:-- --:--:-- --:--:-- 44250 15:58:51 Removing intermediate container 541d680ab1f0 15:58:51 ---> 3d5d3c0cef91 15:58:51 Step 13/35 : RUN ${MAKE} 15:58:51 ---> Running in 14411594dc7b 15:58:51 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 15:59:13 Removing intermediate container 14411594dc7b 15:59:13 ---> 6ae024f9f5bb 15:59:13 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:59:13 v0.18.4: Pulling from aler9/rtsp-simple-server 15:59:13 af6660deedbd: Pulling fs layer 15:59:13 97cd0a44c592: Pulling fs layer 15:59:13 97cd0a44c592: Verifying Checksum 15:59:13 97cd0a44c592: Download complete 15:59:13 af6660deedbd: Verifying Checksum 15:59:13 af6660deedbd: Download complete 15:59:13 af6660deedbd: Pull complete 15:59:13 97cd0a44c592: Pull complete 15:59:13 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:59:13 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:59:13 ---> fea57e182299 15:59:13 Step 15/35 : FROM alpine:3.16 15:59:13 3.16: Pulling from library/alpine 15:59:13 ca7dd9ec2225: Pulling fs layer 15:59:13 ca7dd9ec2225: Download complete 15:59:13 ca7dd9ec2225: Pull complete 15:59:13 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:59:13 Status: Downloaded newer image for alpine:3.16 15:59:13 ---> bfe296a52501 15:59:13 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:59:14 ---> Running in 9fa7ae6298e5 15:59:14 Removing intermediate container 9fa7ae6298e5 15:59:14 ---> 77d09e45a758 15:59:14 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 15:59:14 ---> Running in fbec35cd82f5 15:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:59:14 (1/83) Installing dumb-init (1.2.5-r1) 15:59:14 (2/83) Installing sdl2 (2.0.22-r0) 15:59:14 (3/83) Installing libxau (1.0.9-r0) 15:59:14 (4/83) Installing libxdmcp (1.1.3-r0) 15:59:14 (5/83) Installing libxcb (1.15-r0) 15:59:14 (6/83) Installing libx11 (1.8-r0) 15:59:14 (7/83) Installing aom-libs (3.3.0-r0) 15:59:14 (8/83) Installing alsa-lib (1.2.7.2-r0) 15:59:14 (9/83) Installing expat (2.5.0-r0) 15:59:14 (10/83) Installing brotli-libs (1.0.9-r6) 15:59:14 (11/83) Installing libbz2 (1.0.8-r1) 15:59:14 (12/83) Installing libpng (1.6.37-r1) 15:59:14 (13/83) Installing freetype (2.12.1-r0) 15:59:14 (14/83) Installing fontconfig (2.14.0-r0) 15:59:14 (15/83) Installing fribidi (1.0.12-r0) 15:59:14 (16/83) Installing libffi (3.4.2-r1) 15:59:14 (17/83) Installing libintl (0.21-r2) 15:59:14 (18/83) Installing libblkid (2.38-r1) 15:59:15 (19/83) Installing libmount (2.38-r1) 15:59:15 (20/83) Installing pcre (8.45-r2) 15:59:15 (21/83) Installing glib (2.72.1-r0) 15:59:15 (22/83) Installing graphite2 (1.3.14-r1) 15:59:15 (23/83) Installing harfbuzz (4.3.0-r0) 15:59:15 (24/83) Installing libass (0.16.0-r0) 15:59:15 (25/83) Installing libdav1d (1.0.0-r0) 15:59:15 (26/83) Installing libpciaccess (0.16-r0) 15:59:15 (27/83) Installing libdrm (2.4.110-r0) 15:59:15 (28/83) Installing gmp (6.2.1-r2) 15:59:15 (29/83) Installing nettle (3.7.3-r0) 15:59:15 (30/83) Installing p11-kit (0.24.1-r0) 15:59:15 (31/83) Installing libtasn1 (4.18.0-r1) 15:59:15 (32/83) Installing libunistring (1.0-r0) 15:59:15 (33/83) Installing gnutls (3.7.7-r0) 15:59:15 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 15:59:15 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 15:59:15 (36/83) Installing lame (3.100-r0) 15:59:15 (37/83) Installing opus (1.3.1-r1) 15:59:15 (38/83) Installing libasyncns (0.8-r1) 15:59:15 (39/83) Installing dbus-libs (1.14.4-r0) 15:59:15 (40/83) Installing libltdl (2.4.7-r0) 15:59:15 (41/83) Installing orc (0.4.32-r0) 15:59:15 (42/83) Installing libgcc (11.2.1_git20220219-r2) 15:59:15 (43/83) Installing libogg (1.3.5-r1) 15:59:15 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 15:59:15 (45/83) Installing flac (1.3.4-r0) 15:59:15 (46/83) Installing libvorbis (1.3.7-r0) 15:59:15 (47/83) Installing libsndfile (1.1.0-r0) 15:59:15 (48/83) Installing libgomp (11.2.1_git20220219-r2) 15:59:15 (49/83) Installing soxr (0.1.3-r2) 15:59:15 (50/83) Installing speexdsp (1.2.0-r0) 15:59:15 (51/83) Installing tdb-libs (1.4.6-r0) 15:59:15 (52/83) Installing libpulse (15.0-r2) 15:59:15 (53/83) Installing cjson (1.7.15-r3) 15:59:15 (54/83) Installing mbedtls (2.28.2-r0) 15:59:15 (55/83) Installing librist (0.2.6-r1) 15:59:15 (56/83) Installing libsrt (1.4.4-r0) 15:59:15 (57/83) Installing libssh (0.9.6-r1) 15:59:15 (58/83) Installing libtheora (1.1.1-r16) 15:59:15 (59/83) Installing libjpeg-turbo (2.1.3-r1) 15:59:15 (60/83) Installing v4l-utils-libs (1.22.1-r1) 15:59:15 (61/83) Installing libxext (1.3.4-r0) 15:59:15 (62/83) Installing libxfixes (6.0.0-r0) 15:59:15 (63/83) Installing wayland-libs-client (1.20.0-r0) 15:59:15 (64/83) Installing libva (2.14.0-r0) 15:59:15 (65/83) Installing libvdpau (1.5-r0) 15:59:15 (66/83) Installing vidstab (1.1.0-r1) 15:59:15 (67/83) Installing libvpx (1.11.0-r1) 15:59:15 (68/83) Installing libwebp (1.2.3-r0) 15:59:15 (69/83) Installing x264-libs (0.163_git20210613-r0) 15:59:15 (70/83) Installing numactl (2.0.14-r0) 15:59:15 (71/83) Installing x265-libs (3.5-r3) 15:59:15 (72/83) Installing xvidcore (1.3.7-r1) 15:59:15 (73/83) Installing ffmpeg-libs (5.0.1-r1) 15:59:15 (74/83) Installing ffmpeg (5.0.1-r1) 15:59:15 (75/83) Installing udev-init-scripts (35-r0) 15:59:15 Executing udev-init-scripts-35-r0.post-install 15:59:15 (76/83) Installing eudev-libs (3.2.11-r0) 15:59:15 (77/83) Installing xz-libs (5.2.5-r1) 15:59:15 (78/83) Installing zstd-libs (1.5.2-r1) 15:59:15 (79/83) Installing kmod-libs (29-r2) 15:59:15 (80/83) Installing eudev (3.2.11-r0) 15:59:15 (81/83) Installing libsodium (1.0.18-r0) 15:59:15 (82/83) Installing libzmq (4.3.4-r0) 15:59:15 (83/83) Installing zeromq (4.3.4-r0) 15:59:15 Executing busybox-1.35.0-r17.trigger 15:59:15 Executing eudev-3.2.11-r0.trigger 15:59:15 OK: 101 MiB in 97 packages 15:59:17 Removing intermediate container fbec35cd82f5 15:59:17 ---> 1ff0205c96c3 15:59:17 Step 18/35 : WORKDIR / 15:59:17 ---> Running in 49a5439e7661 15:59:17 Removing intermediate container 49a5439e7661 15:59:17 ---> 5a9785e546a4 15:59:17 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 15:59:18 ---> e63d6715a61a 15:59:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 15:59:18 ---> 552eb8451537 15:59:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:59:18 ---> a836e8ae1525 15:59:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:59:18 ---> 77041a91b8fb 15:59:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:59:18 ---> cee99a65bcde 15:59:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 15:59:18 ---> 099d3f28f02d 15:59:18 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 15:59:19 ---> ebd2de1cc841 15:59:19 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:59:19 ---> Running in 7abad91c458a 15:59:20 Removing intermediate container 7abad91c458a 15:59:20 ---> 1ec2f348c6fb 15:59:20 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:59:20 ---> Running in 0b18cb18079c 15:59:21 Removing intermediate container 0b18cb18079c 15:59:21 ---> 8bfa98fdac25 15:59:21 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:59:21 ---> Running in 8cf7acd0d6bf 15:59:21 Removing intermediate container 8cf7acd0d6bf 15:59:21 ---> 7bd02c3dbe63 15:59:21 Step 29/35 : EXPOSE 59983 15:59:21 ---> Running in 564d4746b857 15:59:21 Removing intermediate container 564d4746b857 15:59:21 ---> 9ce7d18dae82 15:59:21 Step 30/35 : EXPOSE 8554 15:59:21 ---> Running in fae729e256cc 15:59:21 Removing intermediate container fae729e256cc 15:59:21 ---> 22fe98a40cce 15:59:21 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:59:21 ---> Running in 03c288102994 15:59:21 Removing intermediate container 03c288102994 15:59:21 ---> af6851d90474 15:59:21 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 15:59:21 ---> Running in 0e14a5c29a7b 15:59:22 Removing intermediate container 0e14a5c29a7b 15:59:22 ---> 646b62d758d4 15:59:22 Step 33/35 : LABEL arch=amd64 15:59:22 ---> Running in 5706118151df 15:59:22 Removing intermediate container 5706118151df 15:59:22 ---> 61872effcede 15:59:22 Step 34/35 : LABEL git_sha=d32bfb144ed79cec845816023cbf1136d6c5c0b8 15:59:22 ---> Running in 04ef293b05c6 15:59:22 Removing intermediate container 04ef293b05c6 15:59:22 ---> ea650d3c9038 15:59:22 Step 35/35 : LABEL version=2.3.1-dev.1 15:59:22 ---> Running in 652ca09076f3 15:59:22 Removing intermediate container 652ca09076f3 15:59:22 ---> 5a7642b5639e 15:59:22 [Warning] One or more build-args [ARCH] were not consumed 15:59:22 Successfully built 5a7642b5639e 15:59:22 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:22 provisioning config files... 15:59:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8315191581020956435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:22 ---> docker-login.sh 15:59:22 nexus3.edgexfoundry.org:10001 15:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:22 Configure a credential helper to remove this warning. See 15:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:22 15:59:22 Login Succeeded 15:59:22 nexus3.edgexfoundry.org:10002 15:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:22 Configure a credential helper to remove this warning. See 15:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:22 15:59:22 Login Succeeded 15:59:22 nexus3.edgexfoundry.org:10003 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 nexus3.edgexfoundry.org:10004 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 docker.io 15:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:24 Configure a credential helper to remove this warning. See 15:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:24 15:59:24 Login Succeeded 15:59:24 ---> docker-login.sh ends [Pipeline] } 15:59:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:24 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 15:59:24 d32bfb144ed79cec845816023cbf1136d6c5c0b8 15:59:24 latest 15:59:24 2.3.1-dev.1 15:59:24 d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 15:59:24 main 15:59:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:25 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8 15:59:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:59:25 0e9396d5d041: Preparing 15:59:25 20a0f4353c07: Preparing 15:59:25 895f746b4ddc: Preparing 15:59:25 550e596c6d0e: Preparing 15:59:25 1207169bf42c: Preparing 15:59:25 5c1df640c9d3: Preparing 15:59:25 0b53271c72a4: Preparing 15:59:25 c362a41176c1: Preparing 15:59:25 9a7766156cfb: Preparing 15:59:25 09514abb733a: Preparing 15:59:25 85c9ce42eddb: Preparing 15:59:25 e5e13b0c77cb: Preparing 15:59:25 0b53271c72a4: Waiting 15:59:25 c362a41176c1: Waiting 15:59:25 9a7766156cfb: Waiting 15:59:25 09514abb733a: Waiting 15:59:25 85c9ce42eddb: Waiting 15:59:25 e5e13b0c77cb: Waiting 15:59:25 5c1df640c9d3: Waiting 15:59:25 20a0f4353c07: Pushed 15:59:25 0e9396d5d041: Pushed 15:59:25 1207169bf42c: Pushed 15:59:25 895f746b4ddc: Pushed 15:59:25 9a7766156cfb: Pushed 15:59:25 c362a41176c1: Pushed 15:59:25 5c1df640c9d3: Pushed 15:59:25 0b53271c72a4: Pushed 15:59:25 e5e13b0c77cb: Layer already exists 15:59:28 550e596c6d0e: Pushed 15:59:29 09514abb733a: Pushed 15:59:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1449 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 15:59:30 Running in /w/workspace/device-usb-camera/71 [Pipeline] { [Pipeline] checkout 15:59:30 Selected Git installation does not exist. Using Default 15:59:30 The recommended git tool is: NONE 15:59:34 using credential edgex-jenkins-ssh 15:59:34 Cloning the remote Git repository 15:59:35 85c9ce42eddb: Pushed 15:59:35 d32bfb144ed79cec845816023cbf1136d6c5c0b8: digest: sha256:e57630640de052a2ca21276828d78ddc4141918eec53dab88c2c87ba6747118b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:35 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:35 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:59:35 > git init /w/workspace/device-usb-camera/71 # timeout=10 15:59:35 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:59:35 > git --version # timeout=10 15:59:35 > git --version # 'git version 2.25.1' 15:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 15:59:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:59:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:59:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:59:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:59:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:59:36 0e9396d5d041: Preparing 15:59:36 20a0f4353c07: Preparing 15:59:36 895f746b4ddc: Preparing 15:59:36 550e596c6d0e: Preparing 15:59:36 1207169bf42c: Preparing 15:59:36 5c1df640c9d3: Preparing 15:59:36 0b53271c72a4: Preparing 15:59:36 5c1df640c9d3: Waiting 15:59:36 0b53271c72a4: Waiting 15:59:36 c362a41176c1: Preparing 15:59:36 9a7766156cfb: Preparing 15:59:36 09514abb733a: Preparing 15:59:36 85c9ce42eddb: Preparing 15:59:36 c362a41176c1: Waiting 15:59:36 e5e13b0c77cb: Preparing 15:59:36 9a7766156cfb: Waiting 15:59:36 09514abb733a: Waiting 15:59:36 e5e13b0c77cb: Waiting 15:59:36 85c9ce42eddb: Waiting 15:59:36 895f746b4ddc: Layer already exists 15:59:36 0e9396d5d041: Layer already exists 15:59:36 550e596c6d0e: Layer already exists 15:59:36 20a0f4353c07: Layer already exists 15:59:36 1207169bf42c: Layer already exists 15:59:36 5c1df640c9d3: Layer already exists 15:59:36 c362a41176c1: Layer already exists 15:59:36 09514abb733a: Layer already exists 15:59:36 0b53271c72a4: Layer already exists 15:59:36 9a7766156cfb: Layer already exists 15:59:36 85c9ce42eddb: Layer already exists 15:59:36 e5e13b0c77cb: Layer already exists 15:59:36 latest: digest: sha256:e57630640de052a2ca21276828d78ddc4141918eec53dab88c2c87ba6747118b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:36 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:36 Avoid second fetch 15:59:36 Checking out Revision d32bfb144ed79cec845816023cbf1136d6c5c0b8 (main) 15:59:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.1 15:59:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:59:36 0e9396d5d041: Preparing 15:59:36 20a0f4353c07: Preparing 15:59:36 895f746b4ddc: Preparing 15:59:36 550e596c6d0e: Preparing 15:59:36 1207169bf42c: Preparing 15:59:36 5c1df640c9d3: Preparing 15:59:36 0b53271c72a4: Preparing 15:59:36 c362a41176c1: Preparing 15:59:36 9a7766156cfb: Preparing 15:59:36 09514abb733a: Preparing 15:59:36 85c9ce42eddb: Preparing 15:59:36 e5e13b0c77cb: Preparing 15:59:36 c362a41176c1: Waiting 15:59:36 0b53271c72a4: Waiting 15:59:36 9a7766156cfb: Waiting 15:59:36 09514abb733a: Waiting 15:59:36 85c9ce42eddb: Waiting 15:59:36 e5e13b0c77cb: Waiting 15:59:36 550e596c6d0e: Layer already exists 15:59:36 0e9396d5d041: Layer already exists 15:59:36 1207169bf42c: Layer already exists 15:59:36 895f746b4ddc: Layer already exists 15:59:36 20a0f4353c07: Layer already exists 15:59:36 5c1df640c9d3: Layer already exists 15:59:36 c362a41176c1: Layer already exists 15:59:36 0b53271c72a4: Layer already exists 15:59:36 9a7766156cfb: Layer already exists 15:59:36 09514abb733a: Layer already exists 15:59:36 e5e13b0c77cb: Layer already exists 15:59:36 85c9ce42eddb: Layer already exists 15:59:36 2.3.1-dev.1: digest: sha256:e57630640de052a2ca21276828d78ddc4141918eec53dab88c2c87ba6747118b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 Commit message: "Merge pull request #119 from FelixTing/v3" 15:59:36 > git config core.sparsecheckout # timeout=10 15:59:36 > git checkout -f d32bfb144ed79cec845816023cbf1136d6c5c0b8 # timeout=10 15:59:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 15:59:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:59:37 0e9396d5d041: Preparing 15:59:37 20a0f4353c07: Preparing 15:59:37 895f746b4ddc: Preparing 15:59:37 550e596c6d0e: Preparing 15:59:37 1207169bf42c: Preparing 15:59:37 5c1df640c9d3: Preparing 15:59:37 0b53271c72a4: Preparing 15:59:37 c362a41176c1: Preparing 15:59:37 9a7766156cfb: Preparing 15:59:37 09514abb733a: Preparing 15:59:37 85c9ce42eddb: Preparing 15:59:37 e5e13b0c77cb: Preparing 15:59:37 c362a41176c1: Waiting 15:59:37 9a7766156cfb: Waiting 15:59:37 09514abb733a: Waiting 15:59:37 85c9ce42eddb: Waiting 15:59:37 e5e13b0c77cb: Waiting 15:59:37 5c1df640c9d3: Waiting 15:59:37 0b53271c72a4: Waiting 15:59:37 550e596c6d0e: Layer already exists 15:59:37 20a0f4353c07: Layer already exists 15:59:37 0e9396d5d041: Layer already exists 15:59:37 1207169bf42c: Layer already exists 15:59:37 895f746b4ddc: Layer already exists 15:59:37 5c1df640c9d3: Layer already exists 15:59:37 c362a41176c1: Layer already exists 15:59:37 0b53271c72a4: Layer already exists 15:59:37 9a7766156cfb: Layer already exists 15:59:37 09514abb733a: Layer already exists 15:59:37 85c9ce42eddb: Layer already exists 15:59:37 e5e13b0c77cb: Layer already exists 15:59:37 d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1: digest: sha256:e57630640de052a2ca21276828d78ddc4141918eec53dab88c2c87ba6747118b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 15:59:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:59:38 0e9396d5d041: Preparing 15:59:38 20a0f4353c07: Preparing 15:59:38 895f746b4ddc: Preparing 15:59:38 550e596c6d0e: Preparing 15:59:38 1207169bf42c: Preparing 15:59:38 5c1df640c9d3: Preparing 15:59:38 0b53271c72a4: Preparing 15:59:38 c362a41176c1: Preparing 15:59:38 9a7766156cfb: Preparing 15:59:38 09514abb733a: Preparing 15:59:38 85c9ce42eddb: Preparing 15:59:38 e5e13b0c77cb: Preparing 15:59:38 5c1df640c9d3: Waiting 15:59:38 9a7766156cfb: Waiting 15:59:38 09514abb733a: Waiting 15:59:38 0b53271c72a4: Waiting 15:59:38 85c9ce42eddb: Waiting 15:59:38 c362a41176c1: Waiting 15:59:38 1207169bf42c: Layer already exists 15:59:38 550e596c6d0e: Layer already exists 15:59:38 0e9396d5d041: Layer already exists 15:59:38 895f746b4ddc: Layer already exists 15:59:38 20a0f4353c07: Layer already exists 15:59:38 0b53271c72a4: Layer already exists 15:59:38 5c1df640c9d3: Layer already exists 15:59:38 c362a41176c1: Layer already exists 15:59:38 9a7766156cfb: Layer already exists 15:59:38 09514abb733a: Layer already exists 15:59:38 e5e13b0c77cb: Layer already exists 15:59:38 85c9ce42eddb: Layer already exists 15:59:38 main: digest: sha256:e57630640de052a2ca21276828d78ddc4141918eec53dab88c2c87ba6747118b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:59:38 ===================================================== [Pipeline] echo 15:59:38 taggedImages: 15:59:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8 15:59:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:59:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.1 15:59:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 15:59:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [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 15:59:38 15:59:38 GitHub has been notified of this commit’s build result 15:59:38 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 15:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:38 15:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 15:59:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:39 latest: Pulling from edgex-lftools-log-publisher 15:59:39 5eb5b503b376: Pulling fs layer 15:59:39 5c69ac0246d0: Pulling fs layer 15:59:39 ec43610c2a17: Pulling fs layer 15:59:39 3a2ae6a8a46f: Pulling fs layer 15:59:39 33b1e0a273af: Pulling fs layer 15:59:39 5d3b04190fa2: Pulling fs layer 15:59:39 2f39f015ded8: Pulling fs layer 15:59:39 33b1e0a273af: Waiting 15:59:39 5d3b04190fa2: Waiting 15:59:39 2f39f015ded8: Waiting 15:59:39 3a2ae6a8a46f: Waiting 15:59:39 5c69ac0246d0: Verifying Checksum 15:59:39 5c69ac0246d0: Download complete 15:59:39 3a2ae6a8a46f: Verifying Checksum 15:59:39 3a2ae6a8a46f: Download complete 15:59:39 33b1e0a273af: Verifying Checksum 15:59:39 33b1e0a273af: Download complete 15:59:39 5d3b04190fa2: Verifying Checksum 15:59:39 5d3b04190fa2: Download complete 15:59:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:59:39 % Total % Received % Xferd Average Speed Time Time Time Current 15:59:39 Dload Upload Total Spent Left Speed 15:59:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99617 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 15:59:39 ec43610c2a17: Verifying Checksum 15:59:39 ec43610c2a17: Download complete 15:59:39 5eb5b503b376: Download complete [Pipeline] sh 15:59:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:59:39 2f39f015ded8: Download complete 15:59:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:59:40 + sudo tee /etc/docker/daemon.new 15:59:40 { 15:59:40 "registry-mirrors": [ 15:59:40 "https://nexus3.edgexfoundry.org:10001" 15:59:40 ], 15:59:40 "bip": "10.250.0.254/24", 15:59:40 "hosts": [ 15:59:40 "tcp://0.0.0.0:5555", 15:59:40 "unix:///var/run/docker.sock" 15:59:40 ], 15:59:40 "mtu": 1458, 15:59:40 "selinux-enabled": true, 15:59:40 "seccomp-profile": "/etc/docker/seccomp.json" 15:59:40 } [Pipeline] sh 15:59:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:59:40 + sudo service docker restart 15:59:40 5eb5b503b376: Pull complete 15:59:40 5c69ac0246d0: Pull complete 15:59:41 ec43610c2a17: Pull complete 15:59:41 3a2ae6a8a46f: Pull complete 15:59:41 33b1e0a273af: Pull complete 15:59:41 5d3b04190fa2: Pull complete 15:59:46 2f39f015ded8: Pull complete 15:59:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:46 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 15:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:59:48 $ docker top cbeca21b1a25bb15a960f065a17ddd1e1a9006dee87d2dca9558fbd7d3742c42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:48 ---> job-cost.sh 15:59:48 lf-activate-venv: SKIPPING 15:59:48 INFO: No Stack... 15:59:48 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:49 INFO: Archiving Costs [Pipeline] sh 15:59:49 + cut -d, -f6 15:59:49 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 15:59:49 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] 15:59:49 Resource [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] did not exist. Created. 15:59:49 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:59:49 + echo total: 0.2199999988079071 [Pipeline] stash 15:59:49 Stashed 1 file(s) [Pipeline] } 15:59:49 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 15:59:49 $ docker stop --time=1 cbeca21b1a25bb15a960f065a17ddd1e1a9006dee87d2dca9558fbd7d3742c42 15:59:51 $ docker rm -f --volumes cbeca21b1a25bb15a960f065a17ddd1e1a9006dee87d2dca9558fbd7d3742c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:58 provisioning config files... 15:59:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/71@tmp/config11518838257177654232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:59 ---> docker-login.sh 15:59:59 nexus3.edgexfoundry.org:10001 15:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:59 Configure a credential helper to remove this warning. See 15:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:59 15:59:59 Login Succeeded 15:59:59 nexus3.edgexfoundry.org:10002 16:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:00 Configure a credential helper to remove this warning. See 16:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:00 16:00:00 Login Succeeded 16:00:00 nexus3.edgexfoundry.org:10003 16:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:00 Configure a credential helper to remove this warning. See 16:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:00 16:00:00 Login Succeeded 16:00:00 nexus3.edgexfoundry.org:10004 16:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:00 Configure a credential helper to remove this warning. See 16:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:00 16:00:00 Login Succeeded 16:00:00 docker.io 16:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:01 Configure a credential helper to remove this warning. See 16:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:01 16:00:01 Login Succeeded 16:00:01 ---> docker-login.sh ends [Pipeline] } 16:00:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:00:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:01 ========================================================= 16:00:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:00:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:00:02 Sending build context to Docker daemon 1.091MB 16:00:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:00:02 Step 2/13 : FROM ${BASE} AS builder 16:00:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:00:02 9b18e9b68314: Pulling fs layer 16:00:02 35d82f9e3411: Pulling fs layer 16:00:02 e16973657156: Pulling fs layer 16:00:02 fc693d55d65f: Pulling fs layer 16:00:02 7e9fc2657dce: Pulling fs layer 16:00:02 dda99020689f: Pulling fs layer 16:00:02 db1c61fa0a46: Pulling fs layer 16:00:02 891c053d2c06: Pulling fs layer 16:00:02 fc693d55d65f: Waiting 16:00:02 dda99020689f: Waiting 16:00:02 db1c61fa0a46: Waiting 16:00:02 7e9fc2657dce: Waiting 16:00:02 891c053d2c06: Waiting 16:00:02 e16973657156: Verifying Checksum 16:00:02 e16973657156: Download complete 16:00:02 35d82f9e3411: Download complete 16:00:02 7e9fc2657dce: Verifying Checksum 16:00:02 7e9fc2657dce: Download complete 16:00:02 dda99020689f: Verifying Checksum 16:00:02 dda99020689f: Download complete 16:00:02 9b18e9b68314: Download complete 16:00:03 9b18e9b68314: Pull complete 16:00:03 891c053d2c06: Verifying Checksum 16:00:03 891c053d2c06: Download complete 16:00:03 35d82f9e3411: Pull complete 16:00:04 e16973657156: Pull complete 16:00:04 db1c61fa0a46: Verifying Checksum 16:00:04 db1c61fa0a46: Download complete 16:00:05 fc693d55d65f: Verifying Checksum 16:00:05 fc693d55d65f: Download complete 16:00:15 fc693d55d65f: Pull complete 16:00:15 7e9fc2657dce: Pull complete 16:00:15 dda99020689f: Pull complete 16:00:21 db1c61fa0a46: Pull complete 16:00:22 891c053d2c06: Pull complete 16:00:22 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:00:22 ---> f96f9c87975a 16:00:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:00:24 ---> Running in 3235b3daecc1 16:00:24 Removing intermediate container 3235b3daecc1 16:00:24 ---> 47d0a6ad09e9 16:00:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:00:24 ---> Running in 0c02ae7c0c8b 16:00:25 Removing intermediate container 0c02ae7c0c8b 16:00:25 ---> bc9376bcfd97 16:00:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:00:25 ---> Running in 6d6659b0854b 16:00:25 Removing intermediate container 6d6659b0854b 16:00:25 ---> b9746b19a065 16:00:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:00:25 ---> Running in a94ade357c33 16:00:25 Removing intermediate container a94ade357c33 16:00:25 ---> df3c5d889a7f 16:00:25 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:00:25 ---> Running in 3f248e93048d 16:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:00:28 (1/14) Installing libintl (0.21-r2) 16:00:28 (2/14) Installing eudev-libs (3.2.11-r0) 16:00:28 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:00:28 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:00:28 (5/14) Installing v4l-utils (1.22.1-r1) 16:00:28 (6/14) Installing udev-init-scripts (35-r0) 16:00:28 Executing udev-init-scripts-35-r0.post-install 16:00:28 (7/14) Installing libblkid (2.38-r1) 16:00:28 (8/14) Installing xz-libs (5.2.5-r1) 16:00:28 (9/14) Installing zstd-libs (1.5.2-r1) 16:00:28 (10/14) Installing kmod-libs (29-r2) 16:00:28 (11/14) Installing eudev (3.2.11-r0) 16:00:28 (12/14) Installing eudev-dev (3.2.11-r0) 16:00:28 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:00:28 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:00:28 Executing busybox-1.35.0-r17.trigger 16:00:28 Executing eudev-3.2.11-r0.trigger 16:00:28 OK: 228 MiB in 65 packages 16:00:29 Removing intermediate container 3f248e93048d 16:00:29 ---> bbc25e444c85 16:00:29 Step 8/13 : WORKDIR /device-usb-camera 16:00:30 ---> Running in d6d37d068f58 16:00:30 Removing intermediate container d6d37d068f58 16:00:30 ---> 2fa8068bc033 16:00:30 Step 9/13 : COPY go.mod vendor* ./ 16:00:30 ---> bb3b9b51367c 16:00:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:30 ---> Running in 44ccd7b6fc66 16:01:27 Removing intermediate container 44ccd7b6fc66 16:01:27 ---> d397d1fb4297 16:01:27 Step 11/13 : COPY . . 16:01:27 ---> 26197ae66055 16:01:27 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:01:27 ---> Running in d7da094e1f83 16:01:27  % Total % Received % Xferd Average Speed Time Time Time Current 16:01:27 Dload Upload Total Spent  Left Speed 16:01:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13275 0 --:--:-- --:--:-- --:--:-- 13443 16:01:27 Removing intermediate container d7da094e1f83 16:01:27 ---> bf7a7b3bcc4c 16:01:27 Step 13/13 : RUN ${MAKE} 16:01:27 ---> Running in 8404a8083b40 16:01:27 noop 16:01:27 Removing intermediate container 8404a8083b40 16:01:27 ---> 7faebefa7889 16:01:27 Successfully built 7faebefa7889 16:01:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:27 + docker inspect -f . ci-base-image-arm64 16:01:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:27 prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container 16:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/71 -v /w/workspace/device-usb-camera/71:/w/workspace/device-usb-camera/71:rw,z -v /w/workspace/device-usb-camera/71@tmp:/w/workspace/device-usb-camera/71@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 ******** ci-base-image-arm64 cat 16:01:29 $ docker top 259ed4db96febdc188aebcecb7cdcac6f00606d81f935edfd3e40c716c9b1de0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:29 + go version 16:01:29 go version go1.18.7 linux/arm64 [Pipeline] } 16:01:29 $ docker stop --time=1 259ed4db96febdc188aebcecb7cdcac6f00606d81f935edfd3e40c716c9b1de0 16:01:31 $ docker rm -f --volumes 259ed4db96febdc188aebcecb7cdcac6f00606d81f935edfd3e40c716c9b1de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:32 + docker inspect -f . ci-base-image-arm64 16:01:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:32 prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container 16:01:32 $ 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/71 -v /w/workspace/device-usb-camera/71:/w/workspace/device-usb-camera/71:rw,z -v /w/workspace/device-usb-camera/71@tmp:/w/workspace/device-usb-camera/71@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 ******** ci-base-image-arm64 cat 16:01:33 $ docker top 622b92ad03557b3350d030640326f5d589c98af6e2cec74f9a5b93d7c3cc92fa -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:33 + git config --global --add safe.directory /w/workspace/device-usb-camera/71 [Pipeline] fileExists [Pipeline] sh 16:01:34 + make test 16:01:34 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:01:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:02:57 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:03:03 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.062s coverage: 1.9% of statements 16:03:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:03 CGO_ENABLED=1 go vet ./... 16:03:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:25 ./bin/test-attribution-txt.sh [Pipeline] echo 16:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:03:25 $ docker stop --time=1 622b92ad03557b3350d030640326f5d589c98af6e2cec74f9a5b93d7c3cc92fa 16:03:27 $ docker rm -f --volumes 622b92ad03557b3350d030640326f5d589c98af6e2cec74f9a5b93d7c3cc92fa [Pipeline] // withDockerContainer [Pipeline] sh 16:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:03:28 Warning: overwriting stash ‘coverage-report’ 16:03:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:03:29 + ls -al . 16:03:29 total 204 16:03:29 drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 16:01 . 16:03:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:59 .. 16:03:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 15:59 .git 16:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:59 .github 16:03:29 -rw-rw-r-- 1 jenkins jenkins 414 Jan 9 15:59 .gitignore 16:03:29 -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 15:59 .golangci.yml 16:03:29 -rw-rw-r-- 1 jenkins jenkins 77 Jan 9 15:59 .hadolint.yml 16:03:29 -rw-rw-r-- 1 jenkins jenkins 9546 Jan 9 15:59 Attribution.txt 16:03:29 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 9 15:59 CHANGELOG.md 16:03:29 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 9 15:59 Dockerfile 16:03:29 -rw-rw-r-- 1 jenkins jenkins 678 Jan 9 15:59 GOVERNANCE.md 16:03:29 -rw-rw-r-- 1 jenkins jenkins 659 Jan 9 15:59 Jenkinsfile 16:03:29 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 15:59 LICENSE 16:03:29 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 9 15:59 Makefile 16:03:29 -rw-rw-r-- 1 jenkins jenkins 622 Jan 9 15:59 OWNERS.md 16:03:29 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 9 15:59 README.md 16:03:29 -rw-rw-r-- 1 jenkins jenkins 11 Jan 9 15:57 VERSION 16:03:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 15:59 bin 16:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:59 cmd 16:03:29 -rw-r--r-- 1 jenkins jenkins 30666 Jan 9 16:03 coverage.out 16:03:29 -rwxrwxr-x 1 jenkins jenkins 140 Jan 9 15:59 docker-entrypoint.sh 16:03:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:59 docs 16:03:29 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 9 15:59 go.mod 16:03:29 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 9 15:59 go.sum 16:03:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 15:59 internal 16:03:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 15:59 snap 16:03:29 -rw-rw-r-- 1 jenkins jenkins 231 Jan 9 15:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:29 + 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=d32bfb144ed79cec845816023cbf1136d6c5c0b8 --label arch=arm64 --label version=2.3.1-dev.1 . 16:03:29 Sending build context to Docker daemon 1.122MB 16:03:29 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:03:29 Step 2/35 : FROM ${BASE} AS builder 16:03:29 ---> 7faebefa7889 16:03:29 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:03:30 ---> Running in f5924e6502bf 16:03:30 Removing intermediate container f5924e6502bf 16:03:30 ---> 737b5adeaff6 16:03:30 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:03:30 ---> Running in 3f6ee072df48 16:03:30 Removing intermediate container 3f6ee072df48 16:03:30 ---> 913830375fe9 16:03:30 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:03:30 ---> Running in 5166f2afeffc 16:03:30 Removing intermediate container 5166f2afeffc 16:03:30 ---> e3d8fb90c76c 16:03:30 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:03:31 ---> Running in 0997c993f493 16:03:31 Removing intermediate container 0997c993f493 16:03:31 ---> 1d8740ab639c 16:03:31 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:03:31 ---> Running in c9b8c1b4dac4 16:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:03:33 OK: 228 MiB in 65 packages 16:03:34 Removing intermediate container c9b8c1b4dac4 16:03:34 ---> c45bfde45267 16:03:34 Step 8/35 : WORKDIR /device-usb-camera 16:03:34 ---> Running in 5927de22303f 16:03:34 Removing intermediate container 5927de22303f 16:03:34 ---> ebf16abbe022 16:03:34 Step 9/35 : COPY go.mod vendor* ./ 16:03:35 ---> 468113af6f53 16:03:35 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:03:35 ---> Running in e5f390046e29 16:03:37 Removing intermediate container e5f390046e29 16:03:37 ---> 297b5fab397f 16:03:37 Step 11/35 : COPY . . 16:03:38 ---> 5a9aad8614a3 16:03:38 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:03:38 ---> Running in 5772b6f691f0 16:03:39  % Total % Received % Xferd Average Speed Time Time Time Current 16:03:39 Dload Upload Total Spent Left Speed 16:03:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5805 0 --:--:-- --:--:-- --:--:-- 5835 16:03:39 Removing intermediate container 5772b6f691f0 16:03:39 ---> 52583e60a44f 16:03:39 Step 13/35 : RUN ${MAKE} 16:03:40 ---> Running in d339abfe353d 16:03:41 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:06:32 Removing intermediate container d339abfe353d 16:06:32 ---> 0c12bd250148 16:06:32 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:06:32 v0.18.4: Pulling from aler9/rtsp-simple-server 16:06:32 eab2503cf8f4: Pulling fs layer 16:06:32 97cd0a44c592: Pulling fs layer 16:06:32 97cd0a44c592: Download complete 16:06:32 eab2503cf8f4: Verifying Checksum 16:06:32 eab2503cf8f4: Download complete 16:06:32 eab2503cf8f4: Pull complete 16:06:32 97cd0a44c592: Pull complete 16:06:32 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:06:32 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:06:32 ---> 7f763cca56b3 16:06:32 Step 15/35 : FROM alpine:3.16 16:06:32 3.16: Pulling from library/alpine 16:06:32 6875df1f5354: Pulling fs layer 16:06:32 6875df1f5354: Verifying Checksum 16:06:32 6875df1f5354: Download complete 16:06:32 6875df1f5354: Pull complete 16:06:32 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:06:32 Status: Downloaded newer image for alpine:3.16 16:06:32 ---> 2b4661558fb8 16:06:32 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:06:32 ---> Running in 3d8182d4ff9a 16:06:32 Removing intermediate container 3d8182d4ff9a 16:06:32 ---> d8ba90ccb60e 16:06:32 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:06:32 ---> Running in decfe51bc9e4 16:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:06:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:06:32 (1/82) Installing dumb-init (1.2.5-r1) 16:06:32 (2/82) Installing sdl2 (2.0.22-r0) 16:06:32 (3/82) Installing libxau (1.0.9-r0) 16:06:32 (4/82) Installing libxdmcp (1.1.3-r0) 16:06:32 (5/82) Installing libxcb (1.15-r0) 16:06:32 (6/82) Installing libx11 (1.8-r0) 16:06:32 (7/82) Installing aom-libs (3.3.0-r0) 16:06:32 (8/82) Installing alsa-lib (1.2.7.2-r0) 16:06:32 (9/82) Installing expat (2.5.0-r0) 16:06:32 (10/82) Installing brotli-libs (1.0.9-r6) 16:06:32 (11/82) Installing libbz2 (1.0.8-r1) 16:06:32 (12/82) Installing libpng (1.6.37-r1) 16:06:32 (13/82) Installing freetype (2.12.1-r0) 16:06:32 (14/82) Installing fontconfig (2.14.0-r0) 16:06:32 (15/82) Installing fribidi (1.0.12-r0) 16:06:32 (16/82) Installing libffi (3.4.2-r1) 16:06:32 (17/82) Installing libintl (0.21-r2) 16:06:32 (18/82) Installing libblkid (2.38-r1) 16:06:32 (19/82) Installing libmount (2.38-r1) 16:06:32 (20/82) Installing pcre (8.45-r2) 16:06:32 (21/82) Installing glib (2.72.1-r0) 16:06:32 (22/82) Installing graphite2 (1.3.14-r1) 16:06:32 (23/82) Installing harfbuzz (4.3.0-r0) 16:06:32 (24/82) Installing libass (0.16.0-r0) 16:06:32 (25/82) Installing libdav1d (1.0.0-r0) 16:06:32 (26/82) Installing libdrm (2.4.110-r0) 16:06:32 (27/82) Installing gmp (6.2.1-r2) 16:06:32 (28/82) Installing nettle (3.7.3-r0) 16:06:32 (29/82) Installing p11-kit (0.24.1-r0) 16:06:32 (30/82) Installing libtasn1 (4.18.0-r1) 16:06:32 (31/82) Installing libunistring (1.0-r0) 16:06:32 (32/82) Installing gnutls (3.7.7-r0) 16:06:32 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:06:32 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 16:06:32 (35/82) Installing lame (3.100-r0) 16:06:32 (36/82) Installing opus (1.3.1-r1) 16:06:32 (37/82) Installing libasyncns (0.8-r1) 16:06:32 (38/82) Installing dbus-libs (1.14.4-r0) 16:06:32 (39/82) Installing libltdl (2.4.7-r0) 16:06:32 (40/82) Installing orc (0.4.32-r0) 16:06:32 (41/82) Installing libgcc (11.2.1_git20220219-r2) 16:06:32 (42/82) Installing libogg (1.3.5-r1) 16:06:32 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 16:06:32 (44/82) Installing flac (1.3.4-r0) 16:06:32 (45/82) Installing libvorbis (1.3.7-r0) 16:06:32 (46/82) Installing libsndfile (1.1.0-r0) 16:06:32 (47/82) Installing libgomp (11.2.1_git20220219-r2) 16:06:32 (48/82) Installing soxr (0.1.3-r2) 16:06:32 (49/82) Installing speexdsp (1.2.0-r0) 16:06:32 (50/82) Installing tdb-libs (1.4.6-r0) 16:06:32 (51/82) Installing libpulse (15.0-r2) 16:06:32 (52/82) Installing cjson (1.7.15-r3) 16:06:32 (53/82) Installing mbedtls (2.28.2-r0) 16:06:32 (54/82) Installing librist (0.2.6-r1) 16:06:32 (55/82) Installing libsrt (1.4.4-r0) 16:06:32 (56/82) Installing libssh (0.9.6-r1) 16:06:32 (57/82) Installing libtheora (1.1.1-r16) 16:06:32 (58/82) Installing libjpeg-turbo (2.1.3-r1) 16:06:32 (59/82) Installing v4l-utils-libs (1.22.1-r1) 16:06:32 (60/82) Installing libxext (1.3.4-r0) 16:06:32 (61/82) Installing libxfixes (6.0.0-r0) 16:06:32 (62/82) Installing wayland-libs-client (1.20.0-r0) 16:06:32 (63/82) Installing libva (2.14.0-r0) 16:06:32 (64/82) Installing libvdpau (1.5-r0) 16:06:32 (65/82) Installing vidstab (1.1.0-r1) 16:06:32 (66/82) Installing libvpx (1.11.0-r1) 16:06:32 (67/82) Installing libwebp (1.2.3-r0) 16:06:32 (68/82) Installing x264-libs (0.163_git20210613-r0) 16:06:32 (69/82) Installing numactl (2.0.14-r0) 16:06:32 (70/82) Installing x265-libs (3.5-r3) 16:06:33 (71/82) Installing xvidcore (1.3.7-r1) 16:06:33 (72/82) Installing ffmpeg-libs (5.0.1-r1) 16:06:33 (73/82) Installing ffmpeg (5.0.1-r1) 16:06:33 (74/82) Installing udev-init-scripts (35-r0) 16:06:33 Executing udev-init-scripts-35-r0.post-install 16:06:33 (75/82) Installing eudev-libs (3.2.11-r0) 16:06:33 (76/82) Installing xz-libs (5.2.5-r1) 16:06:33 (77/82) Installing zstd-libs (1.5.2-r1) 16:06:33 (78/82) Installing kmod-libs (29-r2) 16:06:33 (79/82) Installing eudev (3.2.11-r0) 16:06:33 (80/82) Installing libsodium (1.0.18-r0) 16:06:33 (81/82) Installing libzmq (4.3.4-r0) 16:06:33 (82/82) Installing zeromq (4.3.4-r0) 16:06:33 Executing busybox-1.35.0-r17.trigger 16:06:34 Executing eudev-3.2.11-r0.trigger 16:06:34 OK: 78 MiB in 96 packages 16:06:37 Removing intermediate container decfe51bc9e4 16:06:37 ---> 44065bd0c67c 16:06:37 Step 18/35 : WORKDIR / 16:06:37 ---> Running in 7927551b0166 16:06:37 Removing intermediate container 7927551b0166 16:06:37 ---> 42b7ab8435c4 16:06:37 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:06:39 ---> cd88ea8f7fdc 16:06:39 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:06:39 ---> 47abc635ea1b 16:06:39 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:06:40 ---> d2de8ea7e280 16:06:40 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:06:40 ---> e2132ea65ee1 16:06:40 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:06:41 ---> fd874ae71541 16:06:41 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:06:41 ---> f1b292c49d7c 16:06:41 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:06:43 ---> 2df22e9011e2 16:06:43 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:06:43 ---> Running in f9c074b36102 16:06:44 Removing intermediate container f9c074b36102 16:06:44 ---> 73b3f59902cc 16:06:44 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:06:45 ---> Running in 6c46e5294a57 16:06:46 Removing intermediate container 6c46e5294a57 16:06:46 ---> 997688fb0685 16:06:46 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:06:46 ---> Running in d6630d0f96bb 16:06:48 Removing intermediate container d6630d0f96bb 16:06:48 ---> 76e4c92e611e 16:06:48 Step 29/35 : EXPOSE 59983 16:06:48 ---> Running in 8050fe45914d 16:06:48 Removing intermediate container 8050fe45914d 16:06:48 ---> ae0cba790916 16:06:48 Step 30/35 : EXPOSE 8554 16:06:48 ---> Running in 878e5b52b6f0 16:06:49 Removing intermediate container 878e5b52b6f0 16:06:49 ---> 8a7ce21b97bc 16:06:49 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:06:49 ---> Running in b1b7f16a2f54 16:06:49 Removing intermediate container b1b7f16a2f54 16:06:49 ---> 2653fbf06f85 16:06:49 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:06:49 ---> Running in 8cb100cc1b23 16:06:49 Removing intermediate container 8cb100cc1b23 16:06:49 ---> 614e56cd2e26 16:06:49 Step 33/35 : LABEL arch=arm64 16:06:49 ---> Running in 5666d6043234 16:06:50 Removing intermediate container 5666d6043234 16:06:50 ---> 13f9743b921c 16:06:50 Step 34/35 : LABEL git_sha=d32bfb144ed79cec845816023cbf1136d6c5c0b8 16:06:52 ---> Running in eb5b1aedf564 16:06:52 Removing intermediate container eb5b1aedf564 16:06:52 ---> f43afc990ae7 16:06:52 Step 35/35 : LABEL version=2.3.1-dev.1 16:06:52 ---> Running in 8c179d723b5c 16:06:53 Removing intermediate container 8c179d723b5c 16:06:53 ---> 39779406d320 16:06:53 [Warning] One or more build-args [ARCH] were not consumed 16:06:53 Successfully built 39779406d320 16:06:53 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:06:53 provisioning config files... 16:06:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/71@tmp/config9446411862455829683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:53 ---> docker-login.sh 16:06:53 nexus3.edgexfoundry.org:10001 16:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:53 Configure a credential helper to remove this warning. See 16:06:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:53 16:06:53 Login Succeeded 16:06:53 nexus3.edgexfoundry.org:10002 16:06:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:54 Configure a credential helper to remove this warning. See 16:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:54 16:06:54 Login Succeeded 16:06:54 nexus3.edgexfoundry.org:10003 16:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:54 Configure a credential helper to remove this warning. See 16:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:54 16:06:54 Login Succeeded 16:06:54 nexus3.edgexfoundry.org:10004 16:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:55 Configure a credential helper to remove this warning. See 16:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:55 16:06:55 Login Succeeded 16:06:55 docker.io 16:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:55 Configure a credential helper to remove this warning. See 16:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:55 16:06:55 Login Succeeded 16:06:55 ---> docker-login.sh ends [Pipeline] } 16:06:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:06:55 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 16:06:55 d32bfb144ed79cec845816023cbf1136d6c5c0b8 16:06:55 latest 16:06:55 2.3.1-dev.1 16:06:55 d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 16:06:55 main 16:06:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8 16:06:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:06:56 01f1e1bf2ae1: Preparing 16:06:56 f86e22d04f98: Preparing 16:06:56 fe7f2c7a99d6: Preparing 16:06:56 a43932d1df72: Preparing 16:06:56 1207169bf42c: Preparing 16:06:56 6c96e9836dda: Preparing 16:06:56 1f9c8a6a7afa: Preparing 16:06:56 0df7f2aca5c8: Preparing 16:06:56 f46adf7ef2bd: Preparing 16:06:56 7dbdd1743f94: Preparing 16:06:56 d70b2dbe981b: Preparing 16:06:56 17bec77d7fdc: Preparing 16:06:56 6c96e9836dda: Waiting 16:06:56 1f9c8a6a7afa: Waiting 16:06:56 0df7f2aca5c8: Waiting 16:06:56 f46adf7ef2bd: Waiting 16:06:56 7dbdd1743f94: Waiting 16:06:56 d70b2dbe981b: Waiting 16:06:56 17bec77d7fdc: Waiting 16:06:56 1207169bf42c: Pushed 16:06:56 01f1e1bf2ae1: Pushed 16:06:56 f86e22d04f98: Pushed 16:06:56 fe7f2c7a99d6: Pushed 16:06:57 0df7f2aca5c8: Pushed 16:06:57 f46adf7ef2bd: Pushed 16:06:57 6c96e9836dda: Pushed 16:06:57 1f9c8a6a7afa: Pushed 16:06:57 17bec77d7fdc: Layer already exists 16:07:01 a43932d1df72: Pushed 16:07:02 7dbdd1743f94: Pushed 16:07:15 d70b2dbe981b: Pushed 16:07:15 d32bfb144ed79cec845816023cbf1136d6c5c0b8: digest: sha256:5a93ad413f88f3dd3f7cff71ca7a39819a27ea1f83394806ffbe18ba7258a86d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:07:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:07:15 01f1e1bf2ae1: Preparing 16:07:15 f86e22d04f98: Preparing 16:07:15 fe7f2c7a99d6: Preparing 16:07:15 a43932d1df72: Preparing 16:07:15 1207169bf42c: Preparing 16:07:15 6c96e9836dda: Preparing 16:07:15 1f9c8a6a7afa: Preparing 16:07:15 0df7f2aca5c8: Preparing 16:07:15 f46adf7ef2bd: Preparing 16:07:15 7dbdd1743f94: Preparing 16:07:15 d70b2dbe981b: Preparing 16:07:15 17bec77d7fdc: Preparing 16:07:15 f46adf7ef2bd: Waiting 16:07:15 7dbdd1743f94: Waiting 16:07:15 d70b2dbe981b: Waiting 16:07:15 17bec77d7fdc: Waiting 16:07:15 6c96e9836dda: Waiting 16:07:15 0df7f2aca5c8: Waiting 16:07:15 1f9c8a6a7afa: Waiting 16:07:15 fe7f2c7a99d6: Layer already exists 16:07:15 a43932d1df72: Layer already exists 16:07:15 1207169bf42c: Layer already exists 16:07:15 f86e22d04f98: Layer already exists 16:07:15 01f1e1bf2ae1: Layer already exists 16:07:15 0df7f2aca5c8: Layer already exists 16:07:15 1f9c8a6a7afa: Layer already exists 16:07:15 6c96e9836dda: Layer already exists 16:07:15 7dbdd1743f94: Layer already exists 16:07:15 f46adf7ef2bd: Layer already exists 16:07:15 17bec77d7fdc: Layer already exists 16:07:15 d70b2dbe981b: Layer already exists 16:07:15 latest: digest: sha256:5a93ad413f88f3dd3f7cff71ca7a39819a27ea1f83394806ffbe18ba7258a86d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:16 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.1 16:07:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:07:16 01f1e1bf2ae1: Preparing 16:07:16 f86e22d04f98: Preparing 16:07:16 fe7f2c7a99d6: Preparing 16:07:16 a43932d1df72: Preparing 16:07:16 1207169bf42c: Preparing 16:07:16 6c96e9836dda: Preparing 16:07:16 1f9c8a6a7afa: Preparing 16:07:16 0df7f2aca5c8: Preparing 16:07:16 f46adf7ef2bd: Preparing 16:07:16 7dbdd1743f94: Preparing 16:07:16 d70b2dbe981b: Preparing 16:07:16 17bec77d7fdc: Preparing 16:07:16 0df7f2aca5c8: Waiting 16:07:16 f46adf7ef2bd: Waiting 16:07:16 7dbdd1743f94: Waiting 16:07:16 d70b2dbe981b: Waiting 16:07:16 17bec77d7fdc: Waiting 16:07:16 6c96e9836dda: Waiting 16:07:16 1f9c8a6a7afa: Waiting 16:07:16 f86e22d04f98: Layer already exists 16:07:16 fe7f2c7a99d6: Layer already exists 16:07:16 a43932d1df72: Layer already exists 16:07:16 1207169bf42c: Layer already exists 16:07:16 01f1e1bf2ae1: Layer already exists 16:07:16 1f9c8a6a7afa: Layer already exists 16:07:16 0df7f2aca5c8: Layer already exists 16:07:16 6c96e9836dda: Layer already exists 16:07:16 f46adf7ef2bd: Layer already exists 16:07:16 7dbdd1743f94: Layer already exists 16:07:16 17bec77d7fdc: Layer already exists 16:07:16 d70b2dbe981b: Layer already exists 16:07:16 2.3.1-dev.1: digest: sha256:5a93ad413f88f3dd3f7cff71ca7a39819a27ea1f83394806ffbe18ba7258a86d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:17 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 16:07:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:07:17 01f1e1bf2ae1: Preparing 16:07:17 f86e22d04f98: Preparing 16:07:17 fe7f2c7a99d6: Preparing 16:07:17 a43932d1df72: Preparing 16:07:17 1207169bf42c: Preparing 16:07:17 6c96e9836dda: Preparing 16:07:17 1f9c8a6a7afa: Preparing 16:07:17 0df7f2aca5c8: Preparing 16:07:17 f46adf7ef2bd: Preparing 16:07:17 7dbdd1743f94: Preparing 16:07:17 d70b2dbe981b: Preparing 16:07:17 17bec77d7fdc: Preparing 16:07:17 6c96e9836dda: Waiting 16:07:17 1f9c8a6a7afa: Waiting 16:07:17 0df7f2aca5c8: Waiting 16:07:17 f46adf7ef2bd: Waiting 16:07:17 7dbdd1743f94: Waiting 16:07:17 d70b2dbe981b: Waiting 16:07:17 17bec77d7fdc: Waiting 16:07:17 f86e22d04f98: Layer already exists 16:07:17 01f1e1bf2ae1: Layer already exists 16:07:17 fe7f2c7a99d6: Layer already exists 16:07:17 1207169bf42c: Layer already exists 16:07:17 a43932d1df72: Layer already exists 16:07:17 1f9c8a6a7afa: Layer already exists 16:07:17 6c96e9836dda: Layer already exists 16:07:17 0df7f2aca5c8: Layer already exists 16:07:17 7dbdd1743f94: Layer already exists 16:07:17 f46adf7ef2bd: Layer already exists 16:07:17 17bec77d7fdc: Layer already exists 16:07:17 d70b2dbe981b: Layer already exists 16:07:17 d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1: digest: sha256:5a93ad413f88f3dd3f7cff71ca7a39819a27ea1f83394806ffbe18ba7258a86d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 16:07:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:07:18 01f1e1bf2ae1: Preparing 16:07:18 f86e22d04f98: Preparing 16:07:18 fe7f2c7a99d6: Preparing 16:07:18 a43932d1df72: Preparing 16:07:18 1207169bf42c: Preparing 16:07:18 6c96e9836dda: Preparing 16:07:18 1f9c8a6a7afa: Preparing 16:07:18 0df7f2aca5c8: Preparing 16:07:18 f46adf7ef2bd: Preparing 16:07:18 7dbdd1743f94: Preparing 16:07:18 d70b2dbe981b: Preparing 16:07:18 17bec77d7fdc: Preparing 16:07:18 f46adf7ef2bd: Waiting 16:07:18 7dbdd1743f94: Waiting 16:07:18 1f9c8a6a7afa: Waiting 16:07:18 d70b2dbe981b: Waiting 16:07:18 6c96e9836dda: Waiting 16:07:18 0df7f2aca5c8: Waiting 16:07:18 17bec77d7fdc: Waiting 16:07:18 01f1e1bf2ae1: Layer already exists 16:07:18 a43932d1df72: Layer already exists 16:07:18 f86e22d04f98: Layer already exists 16:07:18 1207169bf42c: Layer already exists 16:07:18 fe7f2c7a99d6: Layer already exists 16:07:18 1f9c8a6a7afa: Layer already exists 16:07:18 6c96e9836dda: Layer already exists 16:07:18 0df7f2aca5c8: Layer already exists 16:07:18 f46adf7ef2bd: Layer already exists 16:07:18 7dbdd1743f94: Layer already exists 16:07:18 d70b2dbe981b: Layer already exists 16:07:18 17bec77d7fdc: Layer already exists 16:07:18 main: digest: sha256:5a93ad413f88f3dd3f7cff71ca7a39819a27ea1f83394806ffbe18ba7258a86d size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:18 ===================================================== [Pipeline] echo 16:07:18 taggedImages: 16:07:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8 16:07:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:07:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.1 16:07:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d32bfb144ed79cec845816023cbf1136d6c5c0b8-2.3.1-dev.1 16:07:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:19 16:07:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:19 arm64: Pulling from edgex-lftools-log-publisher 16:07:19 8998bd30e6a1: Pulling fs layer 16:07:19 04944245beec: Pulling fs layer 16:07:19 699f458cf7ca: Pulling fs layer 16:07:19 765212b225bb: Pulling fs layer 16:07:19 f23df028b6ca: Pulling fs layer 16:07:19 d65c8cfc05b1: Pulling fs layer 16:07:19 2437ff75d9bd: Pulling fs layer 16:07:19 765212b225bb: Waiting 16:07:19 f23df028b6ca: Waiting 16:07:19 d65c8cfc05b1: Waiting 16:07:19 2437ff75d9bd: Waiting 16:07:19 04944245beec: Verifying Checksum 16:07:19 04944245beec: Download complete 16:07:19 765212b225bb: Verifying Checksum 16:07:19 765212b225bb: Download complete 16:07:19 f23df028b6ca: Verifying Checksum 16:07:19 f23df028b6ca: Download complete 16:07:19 d65c8cfc05b1: Verifying Checksum 16:07:19 d65c8cfc05b1: Download complete 16:07:20 699f458cf7ca: Verifying Checksum 16:07:20 699f458cf7ca: Download complete 16:07:20 8998bd30e6a1: Verifying Checksum 16:07:20 8998bd30e6a1: Download complete 16:07:23 2437ff75d9bd: Verifying Checksum 16:07:23 2437ff75d9bd: Download complete 16:07:25 8998bd30e6a1: Pull complete 16:07:25 04944245beec: Pull complete 16:07:26 699f458cf7ca: Pull complete 16:07:26 765212b225bb: Pull complete 16:07:27 f23df028b6ca: Pull complete 16:07:27 d65c8cfc05b1: Pull complete 16:07:42 2437ff75d9bd: Pull complete 16:07:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:42 prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container 16:07:42 $ 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/71 -v /w/workspace/device-usb-camera/71:/w/workspace/device-usb-camera/71:rw,z -v /w/workspace/device-usb-camera/71@tmp:/w/workspace/device-usb-camera/71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:07:45 $ docker top 32651cc0ee2c56358799ba03fe7471a90dda6235e79ebc81937493ddc283125f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:46 ---> job-cost.sh 16:07:46 lf-activate-venv: SKIPPING 16:07:46 INFO: No Stack... 16:07:47 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:47 INFO: Archiving Costs [Pipeline] sh 16:07:48 + cat /w/workspace/device-usb-camera/71/archives/cost.csv 16:07:48 + cut -d, -f6 [Pipeline] lock 16:07:48 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] 16:07:48 Resource [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] did not exist. Created. 16:07:48 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:49 /w/workspace/device-usb-camera/71@tmp/durable-a354e7b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:49 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:49 Warning: overwriting stash ‘stack-cost’ 16:07:49 Stashed 1 file(s) [Pipeline] } 16:07:49 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:49 $ docker stop --time=1 32651cc0ee2c56358799ba03fe7471a90dda6235e79ebc81937493ddc283125f 16:07:51 $ docker rm -f --volumes 32651cc0ee2c56358799ba03fe7471a90dda6235e79ebc81937493ddc283125f [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 16:07:51 provisioning config files... 16:07:51 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6652366135787302018tmp [Pipeline] { [Pipeline] sh 16:07:52 + set +x 16:07:52 + curl -s https://codecov.io/bash 16:07:52 + bash -s -- 16:07:52 16:07:52 _____ _ 16:07:52 / ____| | | 16:07:52 | | ___ __| | ___ ___ _____ __ 16:07:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:52 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:52 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:52 Bash-1.0.6 16:07:52 16:07:52 16:07:52 ==> git version 2.25.1 found 16:07:52 ==> 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 16:07:52 Release-Date: 2020-01-08 16:07:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:52 ==> Jenkins CI detected. 16:07:52 current dir:  /w/workspace/exfoundry_device-usb-camera_main 16:07:52 project root: . 16:07:52 --> token set from env 16:07:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:52 ==> Running gcov in . (disable via -X gcov) 16:07:52 ==> Python coveragepy not found 16:07:52 ==> Searching for coverage reports in: 16:07:52 + . 16:07:52 -> Found 1 reports 16:07:52 ==> Detecting git/mercurial file structure 16:07:52 ==> Reading reports 16:07:52 + ./coverage.out bytes=30666 16:07:52 ==> Appending adjustments 16:07:52 https://docs.codecov.io/docs/fixing-reports 16:07:52 + Found adjustments 16:07:52 ==> Gzipping contents 16:07:52 8.0K /tmp/codecov.x7Vzs1.gz 16:07:52 ==> Uploading reports 16:07:52 url: https://codecov.io 16:07:52 query: branch=main&commit=d32bfb144ed79cec845816023cbf1136d6c5c0b8&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:52 -> Pinging Codecov 16:07:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=d32bfb144ed79cec845816023cbf1136d6c5c0b8&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:52 -> Uploading to 16:07:52 https://storage.googleapis.com/codecov/v4/raw/2023-01-09/73D8F5FF140700D3E01443B452E23636/d32bfb144ed79cec845816023cbf1136d6c5c0b8/9ab3757c-b8ea-437b-a5df-c8e5824c14ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T160752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fe1b9a32b39d533374f8864d9f7abbece1febc4c66cccf6313e98f2983e3cf1 16:07:52 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:52 Dload Upload Total Spent Left Speed 16:07:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4342 0 0 100 4342 0 17162 --:--:-- --:--:-- --:--:-- 17162 16:07:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] } 16:07:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:07:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:07:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:53 16:07:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:07:53 df9b9388f04a: Pulling fs layer 16:07:53 52dc419b0ee2: Pulling fs layer 16:07:53 25bc292e5bac: Pulling fs layer 16:07:53 114826534d7a: Pulling fs layer 16:07:53 4657fd5d0bcf: Pulling fs layer 16:07:53 6ad1cebc031e: Pulling fs layer 16:07:53 8a3aa393b2d8: Pulling fs layer 16:07:53 114826534d7a: Waiting 16:07:53 4657fd5d0bcf: Waiting 16:07:53 6ad1cebc031e: Waiting 16:07:53 8a3aa393b2d8: Waiting 16:07:53 25bc292e5bac: Download complete 16:07:53 52dc419b0ee2: Download complete 16:07:53 4657fd5d0bcf: Verifying Checksum 16:07:53 4657fd5d0bcf: Download complete 16:07:53 df9b9388f04a: Verifying Checksum 16:07:53 df9b9388f04a: Download complete 16:07:54 df9b9388f04a: Pull complete 16:07:54 6ad1cebc031e: Verifying Checksum 16:07:54 6ad1cebc031e: Download complete 16:07:54 52dc419b0ee2: Pull complete 16:07:54 25bc292e5bac: Pull complete 16:07:54 8a3aa393b2d8: Verifying Checksum 16:07:54 8a3aa393b2d8: Download complete 16:07:54 114826534d7a: Verifying Checksum 16:07:54 114826534d7a: Download complete 16:07:58 114826534d7a: Pull complete 16:07:58 4657fd5d0bcf: Pull complete 16:07:58 6ad1cebc031e: Pull complete 16:08:01 8a3aa393b2d8: Pull complete 16:08:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:01 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:08:04 $ docker top b6d3da634fa7754b444b91a9bd0ec71e6307f9690ca98232fa580351ee08bd39 -eo pid,comm [Pipeline] { [Pipeline] echo 16:08:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 16:08:05 + set -o pipefail 16:08:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 16:08:13 16:08:13 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 16:08:13 16:08:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/bbab2a48-1e54-462f-85ba-afcf63a56472 16:08:13 16:08:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:08:13 16:08:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:08:13 16:08:13 16:08:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:08:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:08:13 More details here: https://snyk.co/ue1NS [Pipeline] } 16:08:13 $ docker stop --time=1 b6d3da634fa7754b444b91a9bd0ec71e6307f9690ca98232fa580351ee08bd39 16:08:17 $ docker rm -f --volumes b6d3da634fa7754b444b91a9bd0ec71e6307f9690ca98232fa580351ee08bd39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:17 + git log --format=format:%s -1 d32bfb144ed79cec845816023cbf1136d6c5c0b8 [Pipeline] sh 16:08:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:18 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:19 $ docker top b277e19f492a4c70b05005cdd468242ec7be220c2ae1bdeb2e3edc545584fbdd -eo pid,comm 16:08:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:08:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:19 [ssh-agent] Looking for ssh-agent implementation... 16:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:19 $ docker exec b277e19f492a4c70b05005cdd468242ec7be220c2ae1bdeb2e3edc545584fbdd ssh-agent 16:08:19 SSH_AUTH_SOCK=/tmp/ssh-kJeLIZXJpueG/agent.32 16:08:19 SSH_AGENT_PID=38 16:08:19 Running ssh-add (command line suppressed) 16:08:19 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6999219931439759086.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6999219931439759086.key) 16:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:19 + git semver tag 16:08:20 2023-01-09 16:08:20,165 [run_tag] DEBUG tag force:False 16:08:20 2023-01-09 16:08:20,165 [check_head_tag] DEBUG check head tag 16:08:20 2023-01-09 16:08:20,167 [execute] INFO git cat-file --batch-check 16:08:20 2023-01-09 16:08:20,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:08:20 2023-01-09 16:08:20,171 [execute] INFO git cat-file --batch 16:08:20 2023-01-09 16:08:20,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:08:20 2023-01-09 16:08:20,191 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:20 2023-01-09 16:08:20,191 [execute] INFO git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 16:08:20 2023-01-09 16:08:20,191 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.1', '-m', 'v2.3.1-dev.1'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:08:20 2023-01-09 16:08:20,197 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:20 2.3.1-dev.1 [Pipeline] } 16:08:20 $ docker exec --env ******** --env ******** b277e19f492a4c70b05005cdd468242ec7be220c2ae1bdeb2e3edc545584fbdd ssh-agent -k 16:08:20 unset SSH_AUTH_SOCK; 16:08:20 unset SSH_AGENT_PID; 16:08:20 echo Agent pid 38 killed; 16:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:20 + git semver [Pipeline] } 16:08:20 $ docker stop --time=1 b277e19f492a4c70b05005cdd468242ec7be220c2ae1bdeb2e3edc545584fbdd 16:08:22 $ docker rm -f --volumes b277e19f492a4c70b05005cdd468242ec7be220c2ae1bdeb2e3edc545584fbdd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:22 16:08:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:22 0.23.1-centos7: Pulling from edgex-lftools 16:08:22 ab5ef0e58194: Pulling fs layer 16:08:22 9712f1f96733: Pulling fs layer 16:08:22 63f879dbbcfc: Pulling fs layer 16:08:22 0d9ebad4ef96: Pulling fs layer 16:08:22 e9a5061849ea: Pulling fs layer 16:08:22 d747dcd14b5f: Pulling fs layer 16:08:22 2de7ff778b66: Pulling fs layer 16:08:22 e9a5061849ea: Waiting 16:08:22 0d9ebad4ef96: Waiting 16:08:22 d747dcd14b5f: Waiting 16:08:22 2de7ff778b66: Waiting 16:08:22 9712f1f96733: Verifying Checksum 16:08:22 9712f1f96733: Download complete 16:08:23 63f879dbbcfc: Verifying Checksum 16:08:23 63f879dbbcfc: Download complete 16:08:23 0d9ebad4ef96: Verifying Checksum 16:08:23 0d9ebad4ef96: Download complete 16:08:23 d747dcd14b5f: Download complete 16:08:23 2de7ff778b66: Verifying Checksum 16:08:23 2de7ff778b66: Download complete 16:08:23 ab5ef0e58194: Verifying Checksum 16:08:23 ab5ef0e58194: Download complete 16:08:23 e9a5061849ea: Verifying Checksum 16:08:23 e9a5061849ea: Download complete 16:08:26 ab5ef0e58194: Pull complete 16:08:26 9712f1f96733: Pull complete 16:08:27 63f879dbbcfc: Pull complete 16:08:31 0d9ebad4ef96: Pull complete 16:08:31 e9a5061849ea: Pull complete 16:08:31 d747dcd14b5f: Pull complete 16:08:32 2de7ff778b66: Pull complete 16:08:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:32 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:08:37 $ docker top c73503a6381518ccffeacbc79579182f3ca55f7ef5f6ee712ad48392fb604768 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:08:37 provisioning config files... 16:08:37 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4090475870218906040tmp 16:08:37 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11212925491202061276tmp 16:08:37 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9715019611551203841tmp [Pipeline] { [Pipeline] echo 16:08:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:08:37 ---> sigul-configuration.sh 16:08:37 gpg: directory `/root/.gnupg' created 16:08:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:08:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:08:37 gpg: keyring `/root/.gnupg/secring.gpg' created 16:08:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:08:37 gpg: CAST5 encrypted data 16:08:37 gpg: encrypted with 1 passphrase 16:08:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:08:37 + mkdir /home/jenkins 16:08:37 + mkdir /home/jenkins/sigul [Pipeline] sh 16:08:38 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:08:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:08:38 ---> sigul-install.sh 16:08:38 Sigul already installed; skipping installation. [Pipeline] sh 16:08:38 + git tag --list 16:08:38 v0.0.0 16:08:38 v0.0.1-dev.1 16:08:38 v0.0.1-dev.10 16:08:38 v0.0.1-dev.11 16:08:38 v0.0.1-dev.12 16:08:38 v0.0.1-dev.13 16:08:38 v0.0.1-dev.14 16:08:38 v0.0.1-dev.15 16:08:38 v0.0.1-dev.16 16:08:38 v0.0.1-dev.2 16:08:38 v0.0.1-dev.3 16:08:38 v0.0.1-dev.4 16:08:38 v0.0.1-dev.5 16:08:38 v0.0.1-dev.6 16:08:38 v0.0.1-dev.7 16:08:38 v0.0.1-dev.8 16:08:38 v0.0.1-dev.9 16:08:38 v2.2.0 16:08:38 v2.2.0-dev.17 16:08:38 v2.2.0-dev.18 16:08:38 v2.2.0-dev.19 16:08:38 v2.2.0-dev.20 16:08:38 v2.2.0-dev.21 16:08:38 v2.2.0-dev.22 16:08:38 v2.2.0-dev.23 16:08:38 v2.2.0-dev.24 16:08:38 v2.2.0-dev.25 16:08:38 v2.2.0-dev.26 16:08:38 v2.2.0-dev.27 16:08:38 v2.3.0 16:08:38 v2.3.0-dev.1 16:08:38 v2.3.0-dev.10 16:08:38 v2.3.0-dev.11 16:08:38 v2.3.0-dev.12 16:08:38 v2.3.0-dev.13 16:08:38 v2.3.0-dev.14 16:08:38 v2.3.0-dev.15 16:08:38 v2.3.0-dev.16 16:08:38 v2.3.0-dev.17 16:08:38 v2.3.0-dev.18 16:08:38 v2.3.0-dev.19 16:08:38 v2.3.0-dev.2 16:08:38 v2.3.0-dev.20 16:08:38 v2.3.0-dev.21 16:08:38 v2.3.0-dev.22 16:08:38 v2.3.0-dev.23 16:08:38 v2.3.0-dev.3 16:08:38 v2.3.0-dev.4 16:08:38 v2.3.0-dev.5 16:08:38 v2.3.0-dev.6 16:08:38 v2.3.0-dev.7 16:08:38 v2.3.0-dev.8 16:08:38 v2.3.0-dev.9 16:08:38 v2.3.1-dev.1 16:08:38 v3.0.0-dev.1 16:08:38 v3.0.0-dev.2 16:08:38 v3.0.0-dev.3 16:08:38 v3.0.0-dev.4 16:08:38 v3.0.0-dev.5 [Pipeline] sh 16:08:39 + lftools sign git-tag v2.3.1-dev.1 16:08:39 Signing Git tag with Sigul... 16:08:39 Signing v2.3.1-dev.1 [Pipeline] echo 16:08:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:08:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:08:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:08:40 $ docker stop --time=1 c73503a6381518ccffeacbc79579182f3ca55f7ef5f6ee712ad48392fb604768 16:08:42 $ docker rm -f --volumes c73503a6381518ccffeacbc79579182f3ca55f7ef5f6ee712ad48392fb604768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:08:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:42 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:43 $ docker top a5419fb3b012dfee4b9cf923d3b5291170e66ae6fafe21378d9a42f722c3537b -eo pid,comm 16:08:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:08:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:43 [ssh-agent] Looking for ssh-agent implementation... 16:08:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:43 $ docker exec a5419fb3b012dfee4b9cf923d3b5291170e66ae6fafe21378d9a42f722c3537b ssh-agent 16:08:43 SSH_AUTH_SOCK=/tmp/ssh-BWXrfkRfu5c8/agent.32 16:08:43 SSH_AGENT_PID=38 16:08:43 Running ssh-add (command line suppressed) 16:08:43 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10068945675442274979.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10068945675442274979.key) 16:08:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:43 + git semver bump pre 16:08:44 2023-01-09 16:08:44,151 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:44 2023-01-09 16:08:44,151 [bump_version] DEBUG bumping version:2.3.1-dev.1 on axis:pre with prefix:dev 16:08:44 2023-01-09 16:08:44,151 [bump_version] DEBUG bumped version:2.3.1-dev.2 16:08:44 2023-01-09 16:08:44,151 [write_version] DEBUG write version:2.3.1-dev.2 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 16:08:44 2023-01-09 16:08:44,151 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:44 2023-01-09 16:08:44,151 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:44 2023-01-09 16:08:44,153 [execute] INFO git cat-file --batch-check 16:08:44 2023-01-09 16:08:44,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:44 2023-01-09 16:08:44,158 [execute] INFO git cat-file --batch 16:08:44 2023-01-09 16:08:44,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:44 2023-01-09 16:08:44,162 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:44 2.3.1-dev.2 [Pipeline] } 16:08:44 $ docker exec --env ******** --env ******** a5419fb3b012dfee4b9cf923d3b5291170e66ae6fafe21378d9a42f722c3537b ssh-agent -k 16:08:44 unset SSH_AUTH_SOCK; 16:08:44 unset SSH_AGENT_PID; 16:08:44 echo Agent pid 38 killed; 16:08:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:44 + git semver [Pipeline] } 16:08:44 $ docker stop --time=1 a5419fb3b012dfee4b9cf923d3b5291170e66ae6fafe21378d9a42f722c3537b 16:08:46 $ docker rm -f --volumes a5419fb3b012dfee4b9cf923d3b5291170e66ae6fafe21378d9a42f722c3537b [Pipeline] // withDockerContainer [Pipeline] sh 16:08:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:46 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:47 $ docker top 994c870a2c681aa1f6fbd477938ba56f86e9e0bedb79a9a11e33450bf56f55ca -eo pid,comm 16:08:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:08:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:47 [ssh-agent] Looking for ssh-agent implementation... 16:08:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:47 $ docker exec 994c870a2c681aa1f6fbd477938ba56f86e9e0bedb79a9a11e33450bf56f55ca ssh-agent 16:08:47 SSH_AUTH_SOCK=/tmp/ssh-fj18olr5c9JS/agent.32 16:08:47 SSH_AGENT_PID=38 16:08:47 Running ssh-add (command line suppressed) 16:08:47 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13781325116369539071.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13781325116369539071.key) 16:08:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:48 + git semver push 16:08:48 2023-01-09 16:08:48,265 [run_push] DEBUG push 16:08:48 2023-01-09 16:08:48,266 [execute] INFO git cat-file --batch-check 16:08:48 2023-01-09 16:08:48,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:48 2023-01-09 16:08:48,270 [execute] INFO git rev-list 0a40fdecd294678012f1fb375a2f7af29c817909 -- 16:08:48 2023-01-09 16:08:48,271 [execute] DEBUG Popen(['git', 'rev-list', '0a40fdecd294678012f1fb375a2f7af29c817909', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:48 2023-01-09 16:08:48,277 [execute] INFO git fetch -v origin 16:08:48 2023-01-09 16:08:48,278 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:08:48 2023-01-09 16:08:48,809 [run_push] DEBUG no remote changes detected 16:08:48 2023-01-09 16:08:48,810 [execute] INFO git push origin semver 16:08:48 2023-01-09 16:08:48,810 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:49 2023-01-09 16:08:49,644 [run_push] DEBUG push all version tags 16:08:49 2023-01-09 16:08:49,645 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:49 2023-01-09 16:08:49,645 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:08:50 2023-01-09 16:08:50,648 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:08:50 2.3.1-dev.2 [Pipeline] } 16:08:50 $ docker exec --env ******** --env ******** 994c870a2c681aa1f6fbd477938ba56f86e9e0bedb79a9a11e33450bf56f55ca ssh-agent -k 16:08:50 unset SSH_AUTH_SOCK; 16:08:50 unset SSH_AGENT_PID; 16:08:50 echo Agent pid 38 killed; 16:08:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:51 + git semver [Pipeline] } 16:08:51 $ docker stop --time=1 994c870a2c681aa1f6fbd477938ba56f86e9e0bedb79a9a11e33450bf56f55ca 16:08:52 $ docker rm -f --volumes 994c870a2c681aa1f6fbd477938ba56f86e9e0bedb79a9a11e33450bf56f55ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 16:08:53 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 16:08:53 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:08:53 total 16 16:08:53 drwxr-xr-x 3 root root 4096 Jan 9 15:59 . 16:08:53 drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 16:08 .. 16:08:53 drwxr-xr-x 2 root root 4096 Jan 9 15:59 cost 16:08:53 -rw-r--r-- 1 root root 88 Jan 9 15:59 cost.csv 16:08:53 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 16:08:53 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:08:53 total 16 16:08:53 drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 15:59 . 16:08:53 drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 16:08 .. 16:08:53 drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 15:59 cost 16:08:53 -rw-r--r-- 1 jenkins jenkins 88 Jan 9 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:54 ---> package-listing.sh 16:08:54 ++ tr '[:upper:]' '[:lower:]' 16:08:54 ++ facter osfamily 16:08:54 + OS_FAMILY=debian 16:08:54 + workspace=/w/workspace/exfoundry_device-usb-camera_main 16:08:54 + START_PACKAGES=/tmp/packages_start.txt 16:08:54 + END_PACKAGES=/tmp/packages_end.txt 16:08:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:54 + PACKAGES=/tmp/packages_start.txt 16:08:54 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:08:54 + PACKAGES=/tmp/packages_end.txt 16:08:54 + case "${OS_FAMILY}" in 16:08:54 + dpkg -l 16:08:54 + grep '^ii' 16:08:54 + '[' -f /tmp/packages_start.txt ']' 16:08:54 + '[' -f /tmp/packages_end.txt ']' 16:08:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:54 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:08:54 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 16:08:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 16:08:54 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:55 prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container 16:08:55 $ 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:56 $ docker top 6ed61b38c2137dc0470113428713b1817e33ca470fcc5baa19c02fa3bad293d3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:56 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:56 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:56 + ls /var/log/sa-host 16:08:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:57 provisioning config files... 16:08:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2448818092213374253tmp [Pipeline] { [Pipeline] echo 16:08:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:57 ---> create-netrc.sh [Pipeline] } 16:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:57 ---> python-tools-install.sh [Pipeline] echo 16:08:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:57 ---> sudo-logs.sh 16:08:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:58 ---> job-cost.sh 16:08:58 lf-activate-venv: SKIPPING 16:08:58 DEBUG: total: 0.2199999988079071 16:08:58 INFO: Retrieving Stack Cost... 16:08:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:59 INFO: Archiving Costs [Pipeline] echo 16:08:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:59 ---> logs-deploy.sh 16:08:59 lf-activate-venv: SKIPPING 16:08:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/71 16:08:59 INFO: archiving workspace using pattern(s): 16:09:00 Archives upload complete. 16:09:00 INFO: archiving logs to Nexus