Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1030fa22bcf670ded76708512c57b18f10d8b8f3 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-ssh3460407440315503458.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-ssh738881614528574631.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-ssh7150396383247342809.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-ssh2420205217931826661.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-ssh2674256981206647817.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1962 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 1030fa22bcf670ded76708512c57b18f10d8b8f3 (main) Commit message: "Merge pull request #127 from lenny-intel/mb-config" > 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 1030fa22bcf670ded76708512c57b18f10d8b8f3 # timeout=10 > git rev-list --no-walk cc38a2b6d8cbd0d01f010c95afd82b0fe8065866 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:52:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:52:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:52:08 ========================================================= 21:52:08 EdgeX Global Pipelines Version Info 21:52:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:52:09 ------------------- 21:52:09 stable info: 21:52:09 ------------------- 21:52:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:52:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:52:09 Message: update stable to v1.0.244 21:52:10 ------------------- 21:52:10 experimental info: 21:52:10 ------------------- 21:52:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:52:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:52:10 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1030fa2 [Pipeline] echo 21:52:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:10 provisioning config files... 21:52:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10713287827668076683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:11 ---> docker-login.sh 21:52:11 nexus3.edgexfoundry.org:10001 21:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:11 Configure a credential helper to remove this warning. See 21:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:11 21:52:11 Login Succeeded 21:52:11 nexus3.edgexfoundry.org:10002 21:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:11 Configure a credential helper to remove this warning. See 21:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:11 21:52:11 Login Succeeded 21:52:11 nexus3.edgexfoundry.org:10003 21:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:11 Configure a credential helper to remove this warning. See 21:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:11 21:52:11 Login Succeeded 21:52:11 nexus3.edgexfoundry.org:10004 21:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:11 Configure a credential helper to remove this warning. See 21:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:11 21:52:11 Login Succeeded 21:52:11 docker.io 21:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:11 Configure a credential helper to remove this warning. See 21:52:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:11 21:52:11 Login Succeeded 21:52:11 ---> docker-login.sh ends [Pipeline] } 21:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:52:12 + git rev-list -1 --merges 1030fa22bcf670ded76708512c57b18f10d8b8f3~1..1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] echo 21:52:12 -----------> git rev-list -1 --merges 1030fa22bcf670ded76708512c57b18f10d8b8f3~1..1030fa22bcf670ded76708512c57b18f10d8b8f3 1030fa22bcf670ded76708512c57b18f10d8b8f3 21:52:12 1030fa22bcf670ded76708512c57b18f10d8b8f3 [false] [Pipeline] sh 21:52:12 + git log --format=format:%s -1 1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] echo 21:52:12 ========================================================= 21:52:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:52:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:52:12 + git log --format=format:%s -1 1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] echo 21:52:12 [semverPrep] GIT_COMMIT: 1030fa22bcf670ded76708512c57b18f10d8b8f3, Commit Message: Merge pull request #127 from lenny-intel/mb-config [Pipeline] echo 21:52:12 [semverPrep] This is not a build commit. [Pipeline] sh 21:52:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:52:13 + grep -v github /etc/ssh/ssh_known_hosts 21:52:13 + [ -e /tmp/ssh_known_hosts ] 21:52:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:52:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:52:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:52:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:13 21:52:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:13 0.1.4: Pulling from edgex-devops/py-git-semver 21:52:13 b85a868b505f: Pulling fs layer 21:52:13 e2be974225ed: Pulling fs layer 21:52:13 339a4e72a1f5: Pulling fs layer 21:52:13 988bab9f4d93: Pulling fs layer 21:52:13 1469e6f7b9e6: Pulling fs layer 21:52:13 eaf3925da568: Pulling fs layer 21:52:13 bab4dde63d76: Pulling fs layer 21:52:13 bde34c3a00c8: Pulling fs layer 21:52:13 b352a97aabf1: Pulling fs layer 21:52:13 4872d77fe225: Pulling fs layer 21:52:13 5851b861e8e6: Pulling fs layer 21:52:13 bde34c3a00c8: Waiting 21:52:13 988bab9f4d93: Waiting 21:52:13 1469e6f7b9e6: Waiting 21:52:13 4872d77fe225: Waiting 21:52:13 b352a97aabf1: Waiting 21:52:13 5851b861e8e6: Waiting 21:52:13 eaf3925da568: Waiting 21:52:13 bab4dde63d76: Waiting 21:52:13 e2be974225ed: Verifying Checksum 21:52:13 e2be974225ed: Download complete 21:52:13 988bab9f4d93: Download complete 21:52:14 1469e6f7b9e6: Verifying Checksum 21:52:14 1469e6f7b9e6: Download complete 21:52:14 339a4e72a1f5: Verifying Checksum 21:52:14 339a4e72a1f5: Download complete 21:52:14 eaf3925da568: Verifying Checksum 21:52:14 eaf3925da568: Download complete 21:52:14 bde34c3a00c8: Download complete 21:52:14 b352a97aabf1: Download complete 21:52:14 4872d77fe225: Verifying Checksum 21:52:14 4872d77fe225: Download complete 21:52:14 5851b861e8e6: Verifying Checksum 21:52:14 5851b861e8e6: Download complete 21:52:14 b85a868b505f: Verifying Checksum 21:52:14 b85a868b505f: Download complete 21:52:14 bab4dde63d76: Verifying Checksum 21:52:14 bab4dde63d76: Download complete 21:52:15 b85a868b505f: Pull complete 21:52:15 e2be974225ed: Pull complete 21:52:16 339a4e72a1f5: Pull complete 21:52:16 988bab9f4d93: Pull complete 21:52:16 1469e6f7b9e6: Pull complete 21:52:16 eaf3925da568: Pull complete 21:52:18 bab4dde63d76: Pull complete 21:52:18 bde34c3a00c8: Pull complete 21:52:18 b352a97aabf1: Pull complete 21:52:18 4872d77fe225: Pull complete 21:52:18 5851b861e8e6: Pull complete 21:52:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:18 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 21:52: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:52:21 $ docker top e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 -eo pid,comm 21:52:21 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). 21:52:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:52:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:21 [ssh-agent] Looking for ssh-agent implementation... 21:52:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:21 $ docker exec e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 ssh-agent 21:52:21 SSH_AUTH_SOCK=/tmp/ssh-rKu6F4dn7VNm/agent.32 21:52:21 SSH_AGENT_PID=38 21:52:21 Running ssh-add (command line suppressed) 21:52:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5641441629486662380.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5641441629486662380.key) 21:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:22 + git tag --points-at HEAD [Pipeline] } 21:52:22 $ docker exec --env ******** --env ******** e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 ssh-agent -k 21:52:22 unset SSH_AUTH_SOCK; 21:52:22 unset SSH_AGENT_PID; 21:52:22 echo Agent pid 38 killed; 21:52:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:22 [ssh-agent] Looking for ssh-agent implementation... 21:52:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:22 $ docker exec e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 ssh-agent 21:52:22 SSH_AUTH_SOCK=/tmp/ssh-7MLlWlXNjrnk/agent.71 21:52:22 SSH_AGENT_PID=77 21:52:22 Running ssh-add (command line suppressed) 21:52:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9293494924321363527.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9293494924321363527.key) 21:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:23 + git semver init 21:52:23 2023-01-11 21:52:23,310 [run_init] DEBUG init version:0.0.0 force:False 21:52:23 2023-01-11 21:52:23,311 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 21:52:23 2023-01-11 21:52:23,312 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 21:52:23 2023-01-11 21:52:23,312 [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) 21:52:24 2023-01-11 21:52:24,070 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 21:52:24 2023-01-11 21:52:24,071 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 21:52:24 2023-01-11 21:52:24,071 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:52:24 2023-01-11 21:52:24,071 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:52:24 3.0.0-dev.4 [Pipeline] } 21:52:24 $ docker exec --env ******** --env ******** e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 ssh-agent -k 21:52:24 unset SSH_AUTH_SOCK; 21:52:24 unset SSH_AGENT_PID; 21:52:24 echo Agent pid 77 killed; 21:52:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:52:24 + git semver [Pipeline] } 21:52:25 $ docker stop --time=1 e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 21:52:26 $ docker rm -f --volumes e03ed393f9f5e0251b5ee27ebaa2d220bc4d1e89d043414f20d81df329568cc4 [Pipeline] // withDockerContainer [Pipeline] sh 21:52:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:52:27 Stashed 1 file(s) [Pipeline] echo 21:52:27 [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [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 21:52:27 provisioning config files... 21:52:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1271604251216790633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:27 ---> docker-login.sh 21:52:27 nexus3.edgexfoundry.org:10001 21:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:27 Configure a credential helper to remove this warning. See 21:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:27 21:52:27 Login Succeeded 21:52:27 nexus3.edgexfoundry.org:10002 21:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:27 Configure a credential helper to remove this warning. See 21:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:27 21:52:27 Login Succeeded 21:52:27 nexus3.edgexfoundry.org:10003 21:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:27 Configure a credential helper to remove this warning. See 21:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:27 21:52:27 Login Succeeded 21:52:27 nexus3.edgexfoundry.org:10004 21:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:27 Configure a credential helper to remove this warning. See 21:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:27 21:52:27 Login Succeeded 21:52:27 docker.io 21:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:28 Configure a credential helper to remove this warning. See 21:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:28 21:52:28 Login Succeeded 21:52:28 ---> docker-login.sh ends [Pipeline] } 21:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:28 ========================================================= 21:52:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:52:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:28 + 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 . 21:52:28 Sending build context to Docker daemon 1.695MB 21:52:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:52:28 Step 2/13 : FROM ${BASE} AS builder 21:52:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:52:28 213ec9aee27d: Pulling fs layer 21:52:28 4583459ba037: Pulling fs layer 21:52:28 93c1e223e6f2: Pulling fs layer 21:52:28 53926ce57604: Pulling fs layer 21:52:28 21b2b0c7a3f4: Pulling fs layer 21:52:28 22ff95d597cd: Pulling fs layer 21:52:28 12d6caf4c0d1: Pulling fs layer 21:52:28 96b7cbca73a9: Pulling fs layer 21:52:28 a7acece74701: Pulling fs layer 21:52:28 21b2b0c7a3f4: Waiting 21:52:28 22ff95d597cd: Waiting 21:52:28 12d6caf4c0d1: Waiting 21:52:28 96b7cbca73a9: Waiting 21:52:28 a7acece74701: Waiting 21:52:28 53926ce57604: Waiting 21:52:28 93c1e223e6f2: Verifying Checksum 21:52:28 93c1e223e6f2: Download complete 21:52:28 4583459ba037: Download complete 21:52:28 21b2b0c7a3f4: Verifying Checksum 21:52:28 21b2b0c7a3f4: Download complete 21:52:28 22ff95d597cd: Verifying Checksum 21:52:28 22ff95d597cd: Download complete 21:52:28 213ec9aee27d: Download complete 21:52:28 12d6caf4c0d1: Verifying Checksum 21:52:28 12d6caf4c0d1: Download complete 21:52:28 213ec9aee27d: Pull complete 21:52:28 4583459ba037: Pull complete 21:52:28 93c1e223e6f2: Pull complete 21:52:28 a7acece74701: Verifying Checksum 21:52:28 a7acece74701: Download complete 21:52:29 96b7cbca73a9: Verifying Checksum 21:52:29 96b7cbca73a9: Download complete 21:52:29 53926ce57604: Verifying Checksum 21:52:29 53926ce57604: Download complete 21:52:33 53926ce57604: Pull complete 21:52:33 21b2b0c7a3f4: Pull complete 21:52:33 22ff95d597cd: Pull complete 21:52:33 12d6caf4c0d1: Pull complete 21:52:34 96b7cbca73a9: Pull complete 21:52:35 a7acece74701: Pull complete 21:52:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:52:35 ---> db6d94c90886 21:52:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:52:39 ---> Running in ce2aee2ac37b 21:52:39 Removing intermediate container ce2aee2ac37b 21:52:39 ---> a08bcaa8cb52 21:52:39 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:39 ---> Running in 1c11631e7e71 21:52:39 Removing intermediate container 1c11631e7e71 21:52:39 ---> 3a94b24e971a 21:52:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:52:39 ---> Running in 478ec2d01c87 21:52:40 Removing intermediate container 478ec2d01c87 21:52:40 ---> 30a5dd96f552 21:52:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:52:40 ---> Running in f9ebc74a9c36 21:52:40 Removing intermediate container f9ebc74a9c36 21:52:40 ---> acc58e69e2cc 21:52:40 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:40 ---> Running in 8c64ca9e05a3 21:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:52:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:52:41 (1/80) Installing mesa (21.3.8-r2) 21:52:41 (2/80) Installing libxau (1.0.9-r0) 21:52:41 (3/80) Installing libxdmcp (1.1.3-r0) 21:52:41 (4/80) Installing libxcb (1.15-r0) 21:52:41 (5/80) Installing libx11 (1.8-r0) 21:52:41 (6/80) Installing libxext (1.3.4-r0) 21:52:41 (7/80) Installing libxfixes (6.0.0-r0) 21:52:41 (8/80) Installing libxxf86vm (1.1.4-r2) 21:52:41 (9/80) Installing libpciaccess (0.16-r0) 21:52:41 (10/80) Installing libdrm (2.4.110-r0) 21:52:41 (11/80) Installing mesa-glapi (21.3.8-r2) 21:52:41 (12/80) Installing libxshmfence (1.3-r1) 21:52:41 (13/80) Installing mesa-gl (21.3.8-r2) 21:52:41 (14/80) Installing icu-data-full (71.1-r2) 21:52:41 (15/80) Installing libice (1.0.10-r0) 21:52:41 (16/80) Installing libuuid (2.38-r1) 21:52:41 (17/80) Installing libsm (1.2.3-r0) 21:52:41 (18/80) Installing libxt (1.2.1-r0) 21:52:41 (19/80) Installing libxmu (1.1.3-r0) 21:52:41 (20/80) Installing xset (1.2.4-r0) 21:52:41 (21/80) Installing xprop (1.2.5-r0) 21:52:41 (22/80) Installing xdg-utils (1.1.3-r3) 21:52:41 (23/80) Installing dbus-libs (1.14.4-r0) 21:52:41 (24/80) Installing libffi (3.4.2-r1) 21:52:41 (25/80) Installing libintl (0.21-r2) 21:52:41 (26/80) Installing libblkid (2.38-r1) 21:52:41 (27/80) Installing libmount (2.38-r1) 21:52:41 (28/80) Installing pcre (8.45-r2) 21:52:41 (29/80) Installing glib (2.72.1-r0) 21:52:41 (30/80) Installing icu-libs (71.1-r2) 21:52:41 (31/80) Installing libpcre2-16 (10.40-r0) 21:52:41 (32/80) Installing zstd-libs (1.5.2-r1) 21:52:41 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 21:52:41 (34/80) Installing hicolor-icon-theme (0.17-r1) 21:52:41 (35/80) Installing wayland-libs-server (1.20.0-r0) 21:52:41 (36/80) Installing mesa-gbm (21.3.8-r2) 21:52:41 (37/80) Installing wayland-libs-client (1.20.0-r0) 21:52:41 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 21:52:41 (39/80) Installing libxcomposite (0.4.5-r0) 21:52:41 (40/80) Installing libbz2 (1.0.8-r1) 21:52:41 (41/80) Installing libpng (1.6.37-r1) 21:52:41 (42/80) Installing freetype (2.12.1-r0) 21:52:41 (43/80) Installing fontconfig (2.14.0-r0) 21:52:41 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 21:52:41 (45/80) Installing wayland-libs-egl (1.20.0-r0) 21:52:41 (46/80) Installing xkeyboard-config (2.35.1-r0) 21:52:41 (47/80) Installing xz-libs (5.2.5-r1) 21:52:41 (48/80) Installing libxml2 (2.9.14-r2) 21:52:41 (49/80) Installing libxkbcommon (1.4.1-r0) 21:52:41 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 21:52:42 (51/80) Installing mesa-egl (21.3.8-r2) 21:52:42 (52/80) Installing avahi-libs (0.8-r6) 21:52:42 (53/80) Installing nettle (3.7.3-r0) 21:52:42 (54/80) Installing p11-kit (0.24.1-r0) 21:52:42 (55/80) Installing libtasn1 (4.18.0-r1) 21:52:42 (56/80) Installing libunistring (1.0-r0) 21:52:42 (57/80) Installing gnutls (3.7.7-r0) 21:52:42 (58/80) Installing cups-libs (2.4.2-r0) 21:52:42 (59/80) Installing graphite2 (1.3.14-r1) 21:52:42 (60/80) Installing harfbuzz (4.3.0-r0) 21:52:42 (61/80) Installing libevdev (1.12.1-r0) 21:52:42 (62/80) Installing mtdev (1.1.6-r0) 21:52:42 (63/80) Installing eudev-libs (3.2.11-r0) 21:52:42 (64/80) Installing libinput-libs (1.20.1-r0) 21:52:42 (65/80) Installing libjpeg-turbo (2.1.3-r1) 21:52:42 (66/80) Installing xcb-util-wm (0.4.1-r1) 21:52:42 (67/80) Installing xcb-util (0.4.0-r3) 21:52:42 (68/80) Installing xcb-util-image (0.4.0-r1) 21:52:42 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 21:52:42 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 21:52:42 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 21:52:42 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 21:52:42 Still waiting to schedule task 21:52:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:52:42 (73/80) Installing v4l-utils-libs (1.22.1-r1) 21:52:42 (74/80) Installing v4l-utils (1.22.1-r1) 21:52:42 (75/80) Installing udev-init-scripts (35-r0) 21:52:42 Executing udev-init-scripts-35-r0.post-install 21:52:42 (76/80) Installing kmod-libs (29-r2) 21:52:42 (77/80) Installing eudev (3.2.11-r0) 21:52:42 (78/80) Installing eudev-dev (3.2.11-r0) 21:52:42 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:52:42 (80/80) Installing v4l-utils-dev (1.22.1-r1) 21:52:42 Executing busybox-1.35.0-r17.trigger 21:52:42 Executing eudev-3.2.11-r0.trigger 21:52:42 OK: 330 MiB in 131 packages 21:52:45 Removing intermediate container 8c64ca9e05a3 21:52:45 ---> 338db02b3959 21:52:45 Step 8/13 : WORKDIR /device-usb-camera 21:52:45 ---> Running in 141bc6fd6afd 21:52:45 Removing intermediate container 141bc6fd6afd 21:52:45 ---> d99874bd9078 21:52:45 Step 9/13 : COPY go.mod vendor* ./ 21:52:45 ---> 25d6eece0d61 21:52:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:45 ---> Running in 94f78318a644 21:53:07 Removing intermediate container 94f78318a644 21:53:07 ---> d98a67c5036c 21:53:07 Step 11/13 : COPY . . 21:53:07 ---> d5f9e3b9603f 21:53:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:53:07 ---> Running in 35197256d7fd 21:53:07  % Total % Received % Xferd Average Speed Time Time Time Current 21:53:07 Dload Upload Total Spent Left Speed 21:53:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8655 0 --:--:-- --:--:-- --:--:-- 8704 21:53:07 Removing intermediate container 35197256d7fd 21:53:07 ---> 58ac5dcfbb83 21:53:07 Step 13/13 : RUN ${MAKE} 21:53:07 ---> Running in 4f18d04cc97e 21:53:07 noop 21:53:08 Removing intermediate container 4f18d04cc97e 21:53:08 ---> 26fb9133ec17 21:53:08 Successfully built 26fb9133ec17 21:53:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:08 + docker inspect -f . ci-base-image-x86_64 21:53:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:08 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 21:53:08 $ 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 ******** ci-base-image-x86_64 cat 21:53:08 $ docker top 032e48c6bd63726d44b7a200cc59595cbddccffc5ed0274942e04cb622416a6c -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:09 + go version 21:53:09 go version go1.18.7 linux/amd64 [Pipeline] } 21:53:09 $ docker stop --time=1 032e48c6bd63726d44b7a200cc59595cbddccffc5ed0274942e04cb622416a6c 21:53:10 $ docker rm -f --volumes 032e48c6bd63726d44b7a200cc59595cbddccffc5ed0274942e04cb622416a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:10 + docker inspect -f . ci-base-image-x86_64 21:53:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:10 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 21:53:10 $ 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 ******** ci-base-image-x86_64 cat 21:53:11 $ docker top e3a1c19f28b9c24e7bdc7f9b0242e1534bd3423288562fc8cbcbaa35ed1d3e7b -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:11 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 21:53:11 + make test 21:53:11 go test ./... -coverprofile=coverage.out ./... 21:53:12 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:53:22 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:53:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 21:53:27 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." 21:53:27 go vet ./... 21:53:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:30 $ docker stop --time=1 e3a1c19f28b9c24e7bdc7f9b0242e1534bd3423288562fc8cbcbaa35ed1d3e7b 21:53:33 $ docker rm -f --volumes e3a1c19f28b9c24e7bdc7f9b0242e1534bd3423288562fc8cbcbaa35ed1d3e7b [Pipeline] // withDockerContainer [Pipeline] sh 21:53:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:53:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:34 + ls -al . 21:53:34 total 208 21:53:34 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:53 . 21:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:52 .. 21:53:34 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:53 .git 21:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:52 .github 21:53:34 -rw-rw-r-- 1 jenkins jenkins 414 Jan 11 21:52 .gitignore 21:53:34 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 21:52 .golangci.yml 21:53:34 -rw-rw-r-- 1 jenkins jenkins 77 Jan 11 21:52 .hadolint.yml 21:53:34 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:52 .semver 21:53:34 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 11 21:52 Attribution.txt 21:53:34 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 11 21:52 CHANGELOG.md 21:53:34 -rw-rw-r-- 1 jenkins jenkins 2328 Jan 11 21:52 Dockerfile 21:53:34 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 21:52 GOVERNANCE.md 21:53:34 -rw-rw-r-- 1 jenkins jenkins 659 Jan 11 21:52 Jenkinsfile 21:53:34 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 21:52 LICENSE 21:53:34 -rw-rw-r-- 1 jenkins jenkins 2329 Jan 11 21:52 Makefile 21:53:34 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 21:52 OWNERS.md 21:53:34 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 11 21:52 README.md 21:53:34 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:52 VERSION 21:53:34 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:52 bin 21:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:52 cmd 21:53:34 -rw-r--r-- 1 jenkins jenkins 30666 Jan 11 21:53 coverage.out 21:53:34 -rwxrwxr-x 1 jenkins jenkins 140 Jan 11 21:52 docker-entrypoint.sh 21:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:52 docs 21:53:34 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 11 21:52 go.mod 21:53:34 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 11 21:52 go.sum 21:53:34 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:52 internal 21:53:34 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:52 snap 21:53:34 -rw-rw-r-- 1 jenkins jenkins 231 Jan 11 21:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:34 + 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=1030fa22bcf670ded76708512c57b18f10d8b8f3 --label arch=amd64 --label version=3.0.0-dev.4 . 21:53:34 Sending build context to Docker daemon 1.726MB 21:53:34 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 21:53:34 Step 2/35 : FROM ${BASE} AS builder 21:53:34 ---> 26fb9133ec17 21:53:34 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:53:34 ---> Running in 0a2a6c940cab 21:53:34 Removing intermediate container 0a2a6c940cab 21:53:34 ---> 20318e66c3ae 21:53:34 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:34 ---> Running in 7ef45c3ab739 21:53:34 Removing intermediate container 7ef45c3ab739 21:53:34 ---> 83bd9cfac2bd 21:53:34 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:53:34 ---> Running in 292bdae6134d 21:53:34 Removing intermediate container 292bdae6134d 21:53:34 ---> 07a6db836368 21:53:34 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:53:34 ---> Running in 52e72aba1c1e 21:53:35 Removing intermediate container 52e72aba1c1e 21:53:35 ---> 8395685de607 21:53:35 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:35 ---> Running in 963d9180e718 21:53:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:53:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:53:35 OK: 330 MiB in 131 packages 21:53:36 Removing intermediate container 963d9180e718 21:53:36 ---> fa1ccc393f7e 21:53:36 Step 8/35 : WORKDIR /device-usb-camera 21:53:36 ---> Running in 4404c1e2c47b 21:53:36 Removing intermediate container 4404c1e2c47b 21:53:36 ---> b97170dd41f6 21:53:36 Step 9/35 : COPY go.mod vendor* ./ 21:53:36 ---> 0d16b637ef8f 21:53:36 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:36 ---> Running in b256624a9b37 21:53:37 Removing intermediate container b256624a9b37 21:53:37 ---> 3ce6eaf74e6a 21:53:37 Step 11/35 : COPY . . 21:53:37 ---> c69c1cc31a43 21:53:37 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:53:37 ---> Running in 7a545100d8ee 21:53:37  % Total % Received % Xferd Average Speed Time Time Time Current 21:53:37 Dload Upload Total Spent Left Speed 21:53:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 48586 0 --:--:-- --:--:-- --:--:-- 50571 21:53:37 Removing intermediate container 7a545100d8ee 21:53:37 ---> c5f82e71491b 21:53:37 Step 13/35 : RUN ${MAKE} 21:53:37 ---> Running in f27e01754d6f 21:53:38 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:54:00 Removing intermediate container f27e01754d6f 21:54:00 ---> 0637e45a9001 21:54:00 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 21:54:00 v0.18.4: Pulling from aler9/rtsp-simple-server 21:54:00 af6660deedbd: Pulling fs layer 21:54:00 97cd0a44c592: Pulling fs layer 21:54:00 97cd0a44c592: Verifying Checksum 21:54:00 97cd0a44c592: Download complete 21:54:00 af6660deedbd: Verifying Checksum 21:54:00 af6660deedbd: Download complete 21:54:00 af6660deedbd: Pull complete 21:54:00 97cd0a44c592: Pull complete 21:54:00 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 21:54:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 21:54:00 ---> fea57e182299 21:54:00 Step 15/35 : FROM alpine:3.16 21:54:00 3.16: Pulling from library/alpine 21:54:00 ca7dd9ec2225: Pulling fs layer 21:54:01 ca7dd9ec2225: Verifying Checksum 21:54:01 ca7dd9ec2225: Download complete 21:54:01 ca7dd9ec2225: Pull complete 21:54:01 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:54:01 Status: Downloaded newer image for alpine:3.16 21:54:01 ---> bfe296a52501 21:54:01 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:54:01 ---> Running in 815291b70909 21:54:01 Removing intermediate container 815291b70909 21:54:01 ---> 751e01ee2a9a 21:54:01 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:54:01 ---> Running in dbaa7e939c77 21:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:54:01 (1/80) Installing dumb-init (1.2.5-r1) 21:54:01 (2/80) Installing sdl2 (2.0.22-r0) 21:54:02 (3/80) Installing libxau (1.0.9-r0) 21:54:02 (4/80) Installing libxdmcp (1.1.3-r0) 21:54:02 (5/80) Installing libxcb (1.15-r0) 21:54:02 (6/80) Installing libx11 (1.8-r0) 21:54:02 (7/80) Installing aom-libs (3.3.0-r0) 21:54:02 (8/80) Installing alsa-lib (1.2.7.2-r0) 21:54:02 (9/80) Installing expat (2.5.0-r0) 21:54:02 (10/80) Installing brotli-libs (1.0.9-r6) 21:54:02 (11/80) Installing libbz2 (1.0.8-r1) 21:54:02 (12/80) Installing libpng (1.6.37-r1) 21:54:02 (13/80) Installing freetype (2.12.1-r0) 21:54:02 (14/80) Installing fontconfig (2.14.0-r0) 21:54:02 (15/80) Installing fribidi (1.0.12-r0) 21:54:02 (16/80) Installing libffi (3.4.2-r1) 21:54:02 (17/80) Installing libintl (0.21-r2) 21:54:02 (18/80) Installing libblkid (2.38-r1) 21:54:02 (19/80) Installing libmount (2.38-r1) 21:54:02 (20/80) Installing pcre (8.45-r2) 21:54:02 (21/80) Installing glib (2.72.1-r0) 21:54:02 (22/80) Installing graphite2 (1.3.14-r1) 21:54:02 (23/80) Installing harfbuzz (4.3.0-r0) 21:54:02 (24/80) Installing libass (0.16.0-r0) 21:54:02 (25/80) Installing libdav1d (1.0.0-r0) 21:54:02 (26/80) Installing libpciaccess (0.16-r0) 21:54:02 (27/80) Installing libdrm (2.4.110-r0) 21:54:02 (28/80) Installing gmp (6.2.1-r2) 21:54:02 (29/80) Installing nettle (3.7.3-r0) 21:54:02 (30/80) Installing p11-kit (0.24.1-r0) 21:54:02 (31/80) Installing libtasn1 (4.18.0-r1) 21:54:02 (32/80) Installing libunistring (1.0-r0) 21:54:02 (33/80) Installing gnutls (3.7.7-r0) 21:54:02 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 21:54:02 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 21:54:02 (36/80) Installing lame (3.100-r0) 21:54:02 (37/80) Installing opus (1.3.1-r1) 21:54:02 (38/80) Installing libasyncns (0.8-r1) 21:54:02 (39/80) Installing dbus-libs (1.14.4-r0) 21:54:02 (40/80) Installing libltdl (2.4.7-r0) 21:54:02 (41/80) Installing orc (0.4.32-r0) 21:54:02 (42/80) Installing libgcc (11.2.1_git20220219-r2) 21:54:02 (43/80) Installing libogg (1.3.5-r1) 21:54:02 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 21:54:02 (45/80) Installing flac (1.3.4-r0) 21:54:02 (46/80) Installing libvorbis (1.3.7-r0) 21:54:02 (47/80) Installing libsndfile (1.1.0-r0) 21:54:02 (48/80) Installing libgomp (11.2.1_git20220219-r2) 21:54:02 (49/80) Installing soxr (0.1.3-r2) 21:54:02 (50/80) Installing speexdsp (1.2.0-r0) 21:54:02 (51/80) Installing tdb-libs (1.4.6-r0) 21:54:02 (52/80) Installing libpulse (15.0-r2) 21:54:02 (53/80) Installing cjson (1.7.15-r3) 21:54:02 (54/80) Installing mbedtls (2.28.2-r0) 21:54:02 (55/80) Installing librist (0.2.6-r1) 21:54:02 (56/80) Installing libsrt (1.4.4-r0) 21:54:02 (57/80) Installing libssh (0.9.6-r1) 21:54:02 (58/80) Installing libtheora (1.1.1-r16) 21:54:02 (59/80) Installing libjpeg-turbo (2.1.3-r1) 21:54:02 (60/80) Installing v4l-utils-libs (1.22.1-r1) 21:54:02 (61/80) Installing libxext (1.3.4-r0) 21:54:02 (62/80) Installing libxfixes (6.0.0-r0) 21:54:02 (63/80) Installing wayland-libs-client (1.20.0-r0) 21:54:02 (64/80) Installing libva (2.14.0-r0) 21:54:02 (65/80) Installing libvdpau (1.5-r0) 21:54:02 (66/80) Installing vidstab (1.1.0-r1) 21:54:02 (67/80) Installing libvpx (1.11.0-r1) 21:54:02 (68/80) Installing libwebp (1.2.3-r0) 21:54:02 (69/80) Installing x264-libs (0.163_git20210613-r0) 21:54:02 (70/80) Installing numactl (2.0.14-r0) 21:54:02 (71/80) Installing x265-libs (3.5-r3) 21:54:02 (72/80) Installing xvidcore (1.3.7-r1) 21:54:02 (73/80) Installing ffmpeg-libs (5.0.1-r1) 21:54:02 (74/80) Installing ffmpeg (5.0.1-r1) 21:54:02 (75/80) Installing udev-init-scripts (35-r0) 21:54:02 Executing udev-init-scripts-35-r0.post-install 21:54:02 (76/80) Installing eudev-libs (3.2.11-r0) 21:54:02 (77/80) Installing xz-libs (5.2.5-r1) 21:54:02 (78/80) Installing zstd-libs (1.5.2-r1) 21:54:02 (79/80) Installing kmod-libs (29-r2) 21:54:02 (80/80) Installing eudev (3.2.11-r0) 21:54:02 Executing busybox-1.35.0-r17.trigger 21:54:02 Executing eudev-3.2.11-r0.trigger 21:54:02 OK: 100 MiB in 94 packages 21:54:06 Removing intermediate container dbaa7e939c77 21:54:06 ---> 2998fddb1c92 21:54:06 Step 18/35 : WORKDIR / 21:54:06 ---> Running in 4d2cb3a37978 21:54:06 Removing intermediate container 4d2cb3a37978 21:54:06 ---> 98bf04071234 21:54:06 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:54:07 ---> 05117596e62a 21:54:07 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:54:07 ---> e4f7ccdc312c 21:54:07 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:54:07 ---> f48784c3b40a 21:54:07 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:54:07 ---> 86e935724419 21:54:07 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:54:07 ---> 693268413ef1 21:54:07 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:54:07 ---> a055e358d8bf 21:54:07 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:54:08 ---> 567447425392 21:54:08 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:54:08 ---> Running in fab0536b8409 21:54:09 Removing intermediate container fab0536b8409 21:54:09 ---> 701361f66acb 21:54:09 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:54:09 ---> Running in 8f82a4c5edd8 21:54:09 Removing intermediate container 8f82a4c5edd8 21:54:09 ---> ecc16bddb9b1 21:54:09 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:54:09 ---> Running in 5c14f5e82320 21:54:10 Removing intermediate container 5c14f5e82320 21:54:10 ---> 8ca2b9b71ff2 21:54:10 Step 29/35 : EXPOSE 59983 21:54:10 ---> Running in 86f9176a9806 21:54:10 Removing intermediate container 86f9176a9806 21:54:10 ---> 45769f8848e8 21:54:10 Step 30/35 : EXPOSE 8554 21:54:10 ---> Running in 6240eb30d998 21:54:10 Removing intermediate container 6240eb30d998 21:54:10 ---> fe3c6cc9d6c2 21:54:10 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:54:10 ---> Running in 3eac87614620 21:54:10 Removing intermediate container 3eac87614620 21:54:10 ---> c1b5ec5911b4 21:54:10 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:54:10 ---> Running in 60dd4e9465bd 21:54:10 Removing intermediate container 60dd4e9465bd 21:54:10 ---> c5541a9ce0e5 21:54:10 Step 33/35 : LABEL arch=amd64 21:54:10 ---> Running in 0c1469678892 21:54:10 Removing intermediate container 0c1469678892 21:54:10 ---> 7fc07a8e5268 21:54:10 Step 34/35 : LABEL git_sha=1030fa22bcf670ded76708512c57b18f10d8b8f3 21:54:10 ---> Running in e286d471c5e4 21:54:10 Removing intermediate container e286d471c5e4 21:54:10 ---> dde7b5ffaaee 21:54:10 Step 35/35 : LABEL version=3.0.0-dev.4 21:54:10 ---> Running in d4cb5176af71 21:54:10 Removing intermediate container d4cb5176af71 21:54:10 ---> a0d41441defb 21:54:10 [Warning] One or more build-args [ARCH] were not consumed 21:54:10 Successfully built a0d41441defb 21:54:10 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 21:54:10 provisioning config files... 21:54:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11955934489543688031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:11 ---> docker-login.sh 21:54:11 nexus3.edgexfoundry.org:10001 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10002 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10003 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 nexus3.edgexfoundry.org:10004 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 docker.io 21:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:11 Configure a credential helper to remove this warning. See 21:54:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:11 21:54:11 Login Succeeded 21:54:11 ---> docker-login.sh ends [Pipeline] } 21:54:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:11 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 21:54:11 1030fa22bcf670ded76708512c57b18f10d8b8f3 21:54:11 latest 21:54:11 3.0.0-dev.4 21:54:11 1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 21:54:11 main 21:54:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3 21:54:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:54:12 be978be5c395: Preparing 21:54:12 4e27c1a5e1a7: Preparing 21:54:12 032d1c2522a2: Preparing 21:54:12 550e596c6d0e: Preparing 21:54:12 1207169bf42c: Preparing 21:54:12 070d06319676: Preparing 21:54:12 6bc48d99cc37: Preparing 21:54:12 607581e37652: Preparing 21:54:12 ee6a60004649: Preparing 21:54:12 0db4d1d6285c: Preparing 21:54:12 cc489f3de1e7: Preparing 21:54:12 e5e13b0c77cb: Preparing 21:54:12 070d06319676: Waiting 21:54:12 cc489f3de1e7: Waiting 21:54:12 0db4d1d6285c: Waiting 21:54:12 6bc48d99cc37: Waiting 21:54:12 607581e37652: Waiting 21:54:12 e5e13b0c77cb: Waiting 21:54:12 ee6a60004649: Waiting 21:54:12 be978be5c395: Pushed 21:54:12 4e27c1a5e1a7: Pushed 21:54:12 1207169bf42c: Pushed 21:54:12 032d1c2522a2: Pushed 21:54:12 070d06319676: Pushed 21:54:12 607581e37652: Pushed 21:54:12 6bc48d99cc37: Pushed 21:54:12 ee6a60004649: Pushed 21:54:12 e5e13b0c77cb: Layer already exists 21:54:14 550e596c6d0e: Pushed 21:54:15 0db4d1d6285c: Pushed 21:54:21 cc489f3de1e7: Pushed 21:54:21 1030fa22bcf670ded76708512c57b18f10d8b8f3: digest: sha256:079473fa6d79219c907bdda7308d4737da2fb837e1cc48e5c7e8ab7ba0071731 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:21 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:22 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:54:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:54:22 be978be5c395: Preparing 21:54:22 4e27c1a5e1a7: Preparing 21:54:22 032d1c2522a2: Preparing 21:54:22 550e596c6d0e: Preparing 21:54:22 1207169bf42c: Preparing 21:54:22 070d06319676: Preparing 21:54:22 6bc48d99cc37: Preparing 21:54:22 607581e37652: Preparing 21:54:22 ee6a60004649: Preparing 21:54:22 0db4d1d6285c: Preparing 21:54:22 cc489f3de1e7: Preparing 21:54:22 e5e13b0c77cb: Preparing 21:54:22 607581e37652: Waiting 21:54:22 ee6a60004649: Waiting 21:54:22 0db4d1d6285c: Waiting 21:54:22 cc489f3de1e7: Waiting 21:54:22 e5e13b0c77cb: Waiting 21:54:22 070d06319676: Waiting 21:54:22 6bc48d99cc37: Waiting 21:54:22 032d1c2522a2: Layer already exists 21:54:22 4e27c1a5e1a7: Layer already exists 21:54:22 1207169bf42c: Layer already exists 21:54:22 550e596c6d0e: Layer already exists 21:54:22 be978be5c395: Layer already exists 21:54:22 070d06319676: Layer already exists 21:54:22 6bc48d99cc37: Layer already exists 21:54:22 ee6a60004649: Layer already exists 21:54:22 607581e37652: Layer already exists 21:54:22 0db4d1d6285c: Layer already exists 21:54:22 cc489f3de1e7: Layer already exists 21:54:22 e5e13b0c77cb: Layer already exists 21:54:22 latest: digest: sha256:079473fa6d79219c907bdda7308d4737da2fb837e1cc48e5c7e8ab7ba0071731 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:22 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:22 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.4 21:54:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:54:22 be978be5c395: Preparing 21:54:22 4e27c1a5e1a7: Preparing 21:54:22 032d1c2522a2: Preparing 21:54:22 550e596c6d0e: Preparing 21:54:22 1207169bf42c: Preparing 21:54:22 070d06319676: Preparing 21:54:22 6bc48d99cc37: Preparing 21:54:22 607581e37652: Preparing 21:54:22 ee6a60004649: Preparing 21:54:22 0db4d1d6285c: Preparing 21:54:22 cc489f3de1e7: Preparing 21:54:22 e5e13b0c77cb: Preparing 21:54:22 070d06319676: Waiting 21:54:22 6bc48d99cc37: Waiting 21:54:22 607581e37652: Waiting 21:54:22 cc489f3de1e7: Waiting 21:54:22 ee6a60004649: Waiting 21:54:22 e5e13b0c77cb: Waiting 21:54:22 0db4d1d6285c: Waiting 21:54:22 1207169bf42c: Layer already exists 21:54:22 550e596c6d0e: Layer already exists 21:54:22 032d1c2522a2: Layer already exists 21:54:22 be978be5c395: Layer already exists 21:54:22 4e27c1a5e1a7: Layer already exists 21:54:22 6bc48d99cc37: Layer already exists 21:54:22 070d06319676: Layer already exists 21:54:22 607581e37652: Layer already exists 21:54:22 ee6a60004649: Layer already exists 21:54:22 0db4d1d6285c: Layer already exists 21:54:22 cc489f3de1e7: Layer already exists 21:54:22 e5e13b0c77cb: Layer already exists 21:54:22 3.0.0-dev.4: digest: sha256:079473fa6d79219c907bdda7308d4737da2fb837e1cc48e5c7e8ab7ba0071731 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 21:54:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:54:23 be978be5c395: Preparing 21:54:23 4e27c1a5e1a7: Preparing 21:54:23 032d1c2522a2: Preparing 21:54:23 550e596c6d0e: Preparing 21:54:23 1207169bf42c: Preparing 21:54:23 070d06319676: Preparing 21:54:23 6bc48d99cc37: Preparing 21:54:23 607581e37652: Preparing 21:54:23 ee6a60004649: Preparing 21:54:23 0db4d1d6285c: Preparing 21:54:23 cc489f3de1e7: Preparing 21:54:23 e5e13b0c77cb: Preparing 21:54:23 070d06319676: Waiting 21:54:23 ee6a60004649: Waiting 21:54:23 cc489f3de1e7: Waiting 21:54:23 6bc48d99cc37: Waiting 21:54:23 607581e37652: Waiting 21:54:23 e5e13b0c77cb: Waiting 21:54:23 0db4d1d6285c: Waiting 21:54:23 be978be5c395: Layer already exists 21:54:23 550e596c6d0e: Layer already exists 21:54:23 1207169bf42c: Layer already exists 21:54:23 032d1c2522a2: Layer already exists 21:54:23 4e27c1a5e1a7: Layer already exists 21:54:23 070d06319676: Layer already exists 21:54:23 607581e37652: Layer already exists 21:54:23 6bc48d99cc37: Layer already exists 21:54:23 ee6a60004649: Layer already exists 21:54:23 0db4d1d6285c: Layer already exists 21:54:23 cc489f3de1e7: Layer already exists 21:54:23 e5e13b0c77cb: Layer already exists 21:54:23 1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4: digest: sha256:079473fa6d79219c907bdda7308d4737da2fb837e1cc48e5c7e8ab7ba0071731 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 21:54:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:54:24 be978be5c395: Preparing 21:54:24 4e27c1a5e1a7: Preparing 21:54:24 032d1c2522a2: Preparing 21:54:24 550e596c6d0e: Preparing 21:54:24 1207169bf42c: Preparing 21:54:24 070d06319676: Preparing 21:54:24 6bc48d99cc37: Preparing 21:54:24 607581e37652: Preparing 21:54:24 ee6a60004649: Preparing 21:54:24 0db4d1d6285c: Preparing 21:54:24 cc489f3de1e7: Preparing 21:54:24 e5e13b0c77cb: Preparing 21:54:24 6bc48d99cc37: Waiting 21:54:24 607581e37652: Waiting 21:54:24 cc489f3de1e7: Waiting 21:54:24 e5e13b0c77cb: Waiting 21:54:24 ee6a60004649: Waiting 21:54:24 0db4d1d6285c: Waiting 21:54:24 4e27c1a5e1a7: Layer already exists 21:54:24 1207169bf42c: Layer already exists 21:54:24 032d1c2522a2: Layer already exists 21:54:24 550e596c6d0e: Layer already exists 21:54:24 be978be5c395: Layer already exists 21:54:24 6bc48d99cc37: Layer already exists 21:54:24 070d06319676: Layer already exists 21:54:24 0db4d1d6285c: Layer already exists 21:54:24 607581e37652: Layer already exists 21:54:24 ee6a60004649: Layer already exists 21:54:24 cc489f3de1e7: Layer already exists 21:54:24 e5e13b0c77cb: Layer already exists 21:54:24 main: digest: sha256:079473fa6d79219c907bdda7308d4737da2fb837e1cc48e5c7e8ab7ba0071731 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:54:24 ===================================================== [Pipeline] echo 21:54:24 taggedImages: 21:54:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3 21:54:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:54:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.4 21:54:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 21:54:24 - 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 21:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:24 21:54:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:24 latest: Pulling from edgex-lftools-log-publisher 21:54:24 5eb5b503b376: Pulling fs layer 21:54:24 5c69ac0246d0: Pulling fs layer 21:54:24 ec43610c2a17: Pulling fs layer 21:54:24 3a2ae6a8a46f: Pulling fs layer 21:54:24 33b1e0a273af: Pulling fs layer 21:54:24 5d3b04190fa2: Pulling fs layer 21:54:24 2f39f015ded8: Pulling fs layer 21:54:24 3a2ae6a8a46f: Waiting 21:54:24 33b1e0a273af: Waiting 21:54:24 5d3b04190fa2: Waiting 21:54:24 2f39f015ded8: Waiting 21:54:24 5c69ac0246d0: Download complete 21:54:24 3a2ae6a8a46f: Verifying Checksum 21:54:24 3a2ae6a8a46f: Download complete 21:54:24 33b1e0a273af: Verifying Checksum 21:54:24 33b1e0a273af: Download complete 21:54:25 5d3b04190fa2: Verifying Checksum 21:54:25 5d3b04190fa2: Download complete 21:54:25 ec43610c2a17: Verifying Checksum 21:54:25 ec43610c2a17: Download complete 21:54:25 5eb5b503b376: Verifying Checksum 21:54:25 5eb5b503b376: Download complete 21:54:25 2f39f015ded8: Download complete 21:54:26 5eb5b503b376: Pull complete 21:54:26 5c69ac0246d0: Pull complete 21:54:26 ec43610c2a17: Pull complete 21:54:26 3a2ae6a8a46f: Pull complete 21:54:27 33b1e0a273af: Pull complete 21:54:27 5d3b04190fa2: Pull complete 21:54:31 2f39f015ded8: Pull complete 21:54:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:31 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 21:54:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:36 $ docker top 9c1c54a7bca58978742dea6dfd8aaa8b809018559435c1d542c251a6f79c2994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:37 ---> job-cost.sh 21:54:37 lf-activate-venv: SKIPPING 21:54:37 INFO: No Stack... 21:54:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:37 INFO: Archiving Costs [Pipeline] sh 21:54:38 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 21:54:38 + cut -d, -f6 [Pipeline] lock 21:54:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] 21:54:38 Resource [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] did not exist. Created. 21:54:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:38 Stashed 1 file(s) [Pipeline] } 21:54:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:38 $ docker stop --time=1 9c1c54a7bca58978742dea6dfd8aaa8b809018559435c1d542c251a6f79c2994 21:54:39 $ docker rm -f --volumes 9c1c54a7bca58978742dea6dfd8aaa8b809018559435c1d542c251a6f79c2994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:55:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1970 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 21:55:31 Running in /w/workspace/device-usb-camera/75 [Pipeline] { [Pipeline] checkout 21:55:31 Selected Git installation does not exist. Using Default 21:55:31 The recommended git tool is: NONE 21:55:38 using credential edgex-jenkins-ssh 21:55:38 Cloning the remote Git repository 21:55:38 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:55:39 > git init /w/workspace/device-usb-camera/75 # timeout=10 21:55:39 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:55:39 > git --version # timeout=10 21:55:39 > git --version # 'git version 2.25.1' 21:55:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:55:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:40 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:55:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:55:41 Avoid second fetch 21:55:41 Checking out Revision 1030fa22bcf670ded76708512c57b18f10d8b8f3 (main) 21:55:41 > git config core.sparsecheckout # timeout=10 21:55:41 > git checkout -f 1030fa22bcf670ded76708512c57b18f10d8b8f3 # timeout=10 21:55:42 Commit message: "Merge pull request #127 from lenny-intel/mb-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:55:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:55:43 Dload Upload Total Spent Left Speed 21:55:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 21:55:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:55:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:55:44 + sudo tee /etc/docker/daemon.new 21:55:44 { 21:55:44 "registry-mirrors": [ 21:55:44 "https://nexus3.edgexfoundry.org:10001" 21:55:44 ], 21:55:44 "bip": "10.250.0.254/24", 21:55:44 "hosts": [ 21:55:44 "tcp://0.0.0.0:5555", 21:55:44 "unix:///var/run/docker.sock" 21:55:44 ], 21:55:44 "mtu": 1458, 21:55:44 "selinux-enabled": true, 21:55:44 "seccomp-profile": "/etc/docker/seccomp.json" 21:55:44 } [Pipeline] sh 21:55:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:55:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:03 provisioning config files... 21:56:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/75@tmp/config8747600467879163155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:03 ---> docker-login.sh 21:56:03 nexus3.edgexfoundry.org:10001 21:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:04 Configure a credential helper to remove this warning. See 21:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:04 21:56:04 Login Succeeded 21:56:04 nexus3.edgexfoundry.org:10002 21:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:04 Configure a credential helper to remove this warning. See 21:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:04 21:56:04 Login Succeeded 21:56:04 nexus3.edgexfoundry.org:10003 21:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:05 Configure a credential helper to remove this warning. See 21:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:05 21:56:05 Login Succeeded 21:56:05 nexus3.edgexfoundry.org:10004 21:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:05 Configure a credential helper to remove this warning. See 21:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:05 21:56:05 Login Succeeded 21:56:05 docker.io 21:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:06 Configure a credential helper to remove this warning. See 21:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:06 21:56:06 Login Succeeded 21:56:06 ---> docker-login.sh ends [Pipeline] } 21:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:56:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:06 ========================================================= 21:56:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:56:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:56:07 Sending build context to Docker daemon 1.106MB 21:56:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:56:07 Step 2/13 : FROM ${BASE} AS builder 21:56:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:56:07 9b18e9b68314: Pulling fs layer 21:56:07 35d82f9e3411: Pulling fs layer 21:56:07 e16973657156: Pulling fs layer 21:56:07 fc693d55d65f: Pulling fs layer 21:56:07 7e9fc2657dce: Pulling fs layer 21:56:07 dda99020689f: Pulling fs layer 21:56:07 db1c61fa0a46: Pulling fs layer 21:56:07 891c053d2c06: Pulling fs layer 21:56:07 fc693d55d65f: Waiting 21:56:07 dda99020689f: Waiting 21:56:07 7e9fc2657dce: Waiting 21:56:07 891c053d2c06: Waiting 21:56:07 db1c61fa0a46: Waiting 21:56:07 e16973657156: Verifying Checksum 21:56:07 e16973657156: Download complete 21:56:07 35d82f9e3411: Verifying Checksum 21:56:07 35d82f9e3411: Download complete 21:56:07 7e9fc2657dce: Verifying Checksum 21:56:07 7e9fc2657dce: Download complete 21:56:07 dda99020689f: Verifying Checksum 21:56:07 dda99020689f: Download complete 21:56:07 9b18e9b68314: Verifying Checksum 21:56:07 9b18e9b68314: Download complete 21:56:08 9b18e9b68314: Pull complete 21:56:08 891c053d2c06: Verifying Checksum 21:56:08 891c053d2c06: Download complete 21:56:09 35d82f9e3411: Pull complete 21:56:09 e16973657156: Pull complete 21:56:10 db1c61fa0a46: Verifying Checksum 21:56:10 db1c61fa0a46: Download complete 21:56:10 fc693d55d65f: Verifying Checksum 21:56:10 fc693d55d65f: Download complete 21:56:23 fc693d55d65f: Pull complete 21:56:23 7e9fc2657dce: Pull complete 21:56:23 dda99020689f: Pull complete 21:56:28 db1c61fa0a46: Pull complete 21:56:30 891c053d2c06: Pull complete 21:56:30 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:56:30 ---> f96f9c87975a 21:56:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:56:33 ---> Running in ed7d5040283d 21:56:33 Removing intermediate container ed7d5040283d 21:56:33 ---> 1b67aa7d09f9 21:56:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:33 ---> Running in 5f511a356a7d 21:56:33 Removing intermediate container 5f511a356a7d 21:56:33 ---> bea6de800586 21:56:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:56:33 ---> Running in fec22899d0d6 21:56:34 Removing intermediate container fec22899d0d6 21:56:34 ---> 7be28464a25c 21:56:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:56:34 ---> Running in a2fbe844cd9c 21:56:34 Removing intermediate container a2fbe844cd9c 21:56:34 ---> 8b44271c36df 21:56:34 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:34 ---> Running in 0aeef9011bc0 21:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:56:37 (1/14) Installing libintl (0.21-r2) 21:56:37 (2/14) Installing eudev-libs (3.2.11-r0) 21:56:37 (3/14) Installing libjpeg-turbo (2.1.3-r1) 21:56:37 (4/14) Installing v4l-utils-libs (1.22.1-r1) 21:56:37 (5/14) Installing v4l-utils (1.22.1-r1) 21:56:37 (6/14) Installing udev-init-scripts (35-r0) 21:56:37 Executing udev-init-scripts-35-r0.post-install 21:56:37 (7/14) Installing libblkid (2.38-r1) 21:56:37 (8/14) Installing xz-libs (5.2.5-r1) 21:56:37 (9/14) Installing zstd-libs (1.5.2-r1) 21:56:37 (10/14) Installing kmod-libs (29-r2) 21:56:37 (11/14) Installing eudev (3.2.11-r0) 21:56:37 (12/14) Installing eudev-dev (3.2.11-r0) 21:56:37 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:56:37 (14/14) Installing v4l-utils-dev (1.22.1-r1) 21:56:37 Executing busybox-1.35.0-r17.trigger 21:56:38 Executing eudev-3.2.11-r0.trigger 21:56:38 OK: 228 MiB in 65 packages 21:56:39 Removing intermediate container 0aeef9011bc0 21:56:39 ---> 8d0d9e7cfbb5 21:56:39 Step 8/13 : WORKDIR /device-usb-camera 21:56:39 ---> Running in 5f8ea12c2f81 21:56:39 Removing intermediate container 5f8ea12c2f81 21:56:39 ---> ee49780eb759 21:56:39 Step 9/13 : COPY go.mod vendor* ./ 21:56:40 ---> dd17ac32ce0f 21:56:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:40 ---> Running in c2750153600d 21:57:48 Removing intermediate container c2750153600d 21:57:48 ---> 66bc752c4da6 21:57:48 Step 11/13 : COPY . . 21:57:48 ---> 17580c48a3ef 21:57:48 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:57:48 ---> Running in 64fe3212e70e 21:57:48  % Total  % Received % Xferd Average Speed Time Time Time Current 21:57:48 Dload Upload Total Spent Left Speed 21:57:48  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11268 0 --:--:-- --:--:-- --:--:-- 11419 21:57:48 Removing intermediate container 64fe3212e70e 21:57:48 ---> f13334d6b65b 21:57:48 Step 13/13 : RUN ${MAKE} 21:57:48 ---> Running in d701d5bd71fb 21:57:48 noop 21:57:48 Removing intermediate container d701d5bd71fb 21:57:48 ---> c5c5d1869238 21:57:48 Successfully built c5c5d1869238 21:57:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:49 + docker inspect -f . ci-base-image-arm64 21:57:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:49 prd-ubuntu20.04-docker-arm64-4c-16g-1970 does not seem to be running inside a container 21:57:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/75 -v /w/workspace/device-usb-camera/75:/w/workspace/device-usb-camera/75:rw,z -v /w/workspace/device-usb-camera/75@tmp:/w/workspace/device-usb-camera/75@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 ******** ci-base-image-arm64 cat 21:57:50 $ docker top 7f8e5bf2187488444bacc3a05776766399be81317f8d82f8710a72b4dbb0897f -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:51 + go version 21:57:51 go version go1.18.7 linux/arm64 [Pipeline] } 21:57:51 $ docker stop --time=1 7f8e5bf2187488444bacc3a05776766399be81317f8d82f8710a72b4dbb0897f 21:57:53 $ docker rm -f --volumes 7f8e5bf2187488444bacc3a05776766399be81317f8d82f8710a72b4dbb0897f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:54 + docker inspect -f . ci-base-image-arm64 21:57:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:54 prd-ubuntu20.04-docker-arm64-4c-16g-1970 does not seem to be running inside a container 21:57:54 $ 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/75 -v /w/workspace/device-usb-camera/75:/w/workspace/device-usb-camera/75:rw,z -v /w/workspace/device-usb-camera/75@tmp:/w/workspace/device-usb-camera/75@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 ******** ci-base-image-arm64 cat 21:57:55 $ docker top 0710b169ab1354d4b77f2b25fda22cdf86d66d17d2238ad5515fe59e26085ff3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:56 + git config --global --add safe.directory /w/workspace/device-usb-camera/75 [Pipeline] fileExists [Pipeline] sh 21:57:57 + make test 21:57:57 go test ./... -coverprofile=coverage.out ./... 21:57:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:00:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:00:06 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 1.9% of statements 22:00:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:00:06 go vet ./... 22:00:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:00:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:00:38 ./bin/test-attribution-txt.sh [Pipeline] echo 22:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:00:38 $ docker stop --time=1 0710b169ab1354d4b77f2b25fda22cdf86d66d17d2238ad5515fe59e26085ff3 22:00:40 $ docker rm -f --volumes 0710b169ab1354d4b77f2b25fda22cdf86d66d17d2238ad5515fe59e26085ff3 [Pipeline] // withDockerContainer [Pipeline] sh 22:00:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:41 Warning: overwriting stash ‘coverage-report’ 22:00:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:00:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:43 + ls -al . 22:00:43 total 204 22:00:43 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:57 . 22:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:55 .. 22:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:55 .git 22:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 .github 22:00:43 -rw-rw-r-- 1 jenkins jenkins 414 Jan 11 21:55 .gitignore 22:00:43 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 21:55 .golangci.yml 22:00:43 -rw-rw-r-- 1 jenkins jenkins 77 Jan 11 21:55 .hadolint.yml 22:00:43 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 11 21:55 Attribution.txt 22:00:43 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 11 21:55 CHANGELOG.md 22:00:43 -rw-rw-r-- 1 jenkins jenkins 2328 Jan 11 21:55 Dockerfile 22:00:43 -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 21:55 GOVERNANCE.md 22:00:43 -rw-rw-r-- 1 jenkins jenkins 659 Jan 11 21:55 Jenkinsfile 22:00:43 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 21:55 LICENSE 22:00:43 -rw-rw-r-- 1 jenkins jenkins 2329 Jan 11 21:55 Makefile 22:00:43 -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 21:55 OWNERS.md 22:00:43 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 11 21:55 README.md 22:00:43 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:52 VERSION 22:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:55 bin 22:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 cmd 22:00:43 -rw-r--r-- 1 jenkins jenkins 30666 Jan 11 21:59 coverage.out 22:00:43 -rwxrwxr-x 1 jenkins jenkins 140 Jan 11 21:55 docker-entrypoint.sh 22:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:55 docs 22:00:43 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 11 21:55 go.mod 22:00:43 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 11 21:55 go.sum 22:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 internal 22:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:55 snap 22:00:43 -rw-rw-r-- 1 jenkins jenkins 231 Jan 11 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:43 + 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=1030fa22bcf670ded76708512c57b18f10d8b8f3 --label arch=arm64 --label version=3.0.0-dev.4 . 22:00:44 Sending build context to Docker daemon 1.137MB 22:00:44 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 22:00:44 Step 2/35 : FROM ${BASE} AS builder 22:00:44 ---> c5c5d1869238 22:00:44 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:00:44 ---> Running in 8ec5f9e2018a 22:00:45 Removing intermediate container 8ec5f9e2018a 22:00:45 ---> 2d16df0466ec 22:00:45 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:45 ---> Running in c2bdf1faf9b7 22:00:45 Removing intermediate container c2bdf1faf9b7 22:00:45 ---> cee30a5ae895 22:00:45 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:00:45 ---> Running in 1b803185f1aa 22:00:46 Removing intermediate container 1b803185f1aa 22:00:46 ---> 993f7a87a04c 22:00:46 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:00:46 ---> Running in 51e4571b667c 22:00:46 Removing intermediate container 51e4571b667c 22:00:46 ---> 915595a8500d 22:00:46 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:47 ---> Running in 1c21b7b7051a 22:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:00:50 OK: 228 MiB in 65 packages 22:00:51 Removing intermediate container 1c21b7b7051a 22:00:51 ---> 7cc36a19d4fd 22:00:51 Step 8/35 : WORKDIR /device-usb-camera 22:00:51 ---> Running in bb4e5c864170 22:00:53 Removing intermediate container bb4e5c864170 22:00:53 ---> 9e17983f4829 22:00:53 Step 9/35 : COPY go.mod vendor* ./ 22:00:53 ---> b19b14c7fc7a 22:00:53 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:54 ---> Running in 7eecaf1e584e 22:00:56 Removing intermediate container 7eecaf1e584e 22:00:56 ---> f15d72589b4a 22:00:56 Step 11/35 : COPY . . 22:00:58 ---> ab1676895607 22:00:58 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:00:58 ---> Running in 4ebb6374c715 22:00:59  % Total % Received % Xferd Average Speed Time Time Time Current 22:00:59 Dload Upload Total Spent Left Speed 22:00:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6195 0 --:--:-- --:--:-- --:--:-- 6210 22:00:59 Removing intermediate container 4ebb6374c715 22:00:59 ---> 5efc5ccec05b 22:00:59 Step 13/35 : RUN ${MAKE} 22:01:00 ---> Running in d31788553759 22:01:01 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:03:37 Removing intermediate container d31788553759 22:03:37 ---> 86a2bd55edb2 22:03:37 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 22:03:37 v0.18.4: Pulling from aler9/rtsp-simple-server 22:03:37 eab2503cf8f4: Pulling fs layer 22:03:37 97cd0a44c592: Pulling fs layer 22:03:37 97cd0a44c592: Verifying Checksum 22:03:37 97cd0a44c592: Download complete 22:03:37 eab2503cf8f4: Verifying Checksum 22:03:37 eab2503cf8f4: Download complete 22:03:37 eab2503cf8f4: Pull complete 22:03:37 97cd0a44c592: Pull complete 22:03:37 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 22:03:37 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 22:03:37 ---> 7f763cca56b3 22:03:37 Step 15/35 : FROM alpine:3.16 22:03:37 3.16: Pulling from library/alpine 22:03:37 6875df1f5354: Pulling fs layer 22:03:37 6875df1f5354: Download complete 22:03:37 6875df1f5354: Pull complete 22:03:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:03:37 Status: Downloaded newer image for alpine:3.16 22:03:37 ---> 2b4661558fb8 22:03:37 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:03:37 ---> Running in b7df03ded6af 22:03:37 Removing intermediate container b7df03ded6af 22:03:37 ---> 77326f2c04ab 22:03:37 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:03:37 ---> Running in 4737a481abd2 22:03:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:03:39 (1/79) Installing dumb-init (1.2.5-r1) 22:03:39 (2/79) Installing sdl2 (2.0.22-r0) 22:03:39 (3/79) Installing libxau (1.0.9-r0) 22:03:39 (4/79) Installing libxdmcp (1.1.3-r0) 22:03:39 (5/79) Installing libxcb (1.15-r0) 22:03:39 (6/79) Installing libx11 (1.8-r0) 22:03:39 (7/79) Installing aom-libs (3.3.0-r0) 22:03:39 (8/79) Installing alsa-lib (1.2.7.2-r0) 22:03:39 (9/79) Installing expat (2.5.0-r0) 22:03:39 (10/79) Installing brotli-libs (1.0.9-r6) 22:03:39 (11/79) Installing libbz2 (1.0.8-r1) 22:03:39 (12/79) Installing libpng (1.6.37-r1) 22:03:39 (13/79) Installing freetype (2.12.1-r0) 22:03:39 (14/79) Installing fontconfig (2.14.0-r0) 22:03:39 (15/79) Installing fribidi (1.0.12-r0) 22:03:39 (16/79) Installing libffi (3.4.2-r1) 22:03:39 (17/79) Installing libintl (0.21-r2) 22:03:39 (18/79) Installing libblkid (2.38-r1) 22:03:39 (19/79) Installing libmount (2.38-r1) 22:03:39 (20/79) Installing pcre (8.45-r2) 22:03:39 (21/79) Installing glib (2.72.1-r0) 22:03:39 (22/79) Installing graphite2 (1.3.14-r1) 22:03:39 (23/79) Installing harfbuzz (4.3.0-r0) 22:03:39 (24/79) Installing libass (0.16.0-r0) 22:03:39 (25/79) Installing libdav1d (1.0.0-r0) 22:03:39 (26/79) Installing libdrm (2.4.110-r0) 22:03:39 (27/79) Installing gmp (6.2.1-r2) 22:03:39 (28/79) Installing nettle (3.7.3-r0) 22:03:39 (29/79) Installing p11-kit (0.24.1-r0) 22:03:39 (30/79) Installing libtasn1 (4.18.0-r1) 22:03:39 (31/79) Installing libunistring (1.0-r0) 22:03:39 (32/79) Installing gnutls (3.7.7-r0) 22:03:40 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:03:40 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 22:03:40 (35/79) Installing lame (3.100-r0) 22:03:40 (36/79) Installing opus (1.3.1-r1) 22:03:40 (37/79) Installing libasyncns (0.8-r1) 22:03:40 (38/79) Installing dbus-libs (1.14.4-r0) 22:03:40 (39/79) Installing libltdl (2.4.7-r0) 22:03:40 (40/79) Installing orc (0.4.32-r0) 22:03:40 (41/79) Installing libgcc (11.2.1_git20220219-r2) 22:03:40 (42/79) Installing libogg (1.3.5-r1) 22:03:40 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 22:03:40 (44/79) Installing flac (1.3.4-r0) 22:03:40 (45/79) Installing libvorbis (1.3.7-r0) 22:03:40 (46/79) Installing libsndfile (1.1.0-r0) 22:03:40 (47/79) Installing libgomp (11.2.1_git20220219-r2) 22:03:40 (48/79) Installing soxr (0.1.3-r2) 22:03:40 (49/79) Installing speexdsp (1.2.0-r0) 22:03:40 (50/79) Installing tdb-libs (1.4.6-r0) 22:03:40 (51/79) Installing libpulse (15.0-r2) 22:03:40 (52/79) Installing cjson (1.7.15-r3) 22:03:40 (53/79) Installing mbedtls (2.28.2-r0) 22:03:40 (54/79) Installing librist (0.2.6-r1) 22:03:40 (55/79) Installing libsrt (1.4.4-r0) 22:03:40 (56/79) Installing libssh (0.9.6-r1) 22:03:40 (57/79) Installing libtheora (1.1.1-r16) 22:03:40 (58/79) Installing libjpeg-turbo (2.1.3-r1) 22:03:40 (59/79) Installing v4l-utils-libs (1.22.1-r1) 22:03:40 (60/79) Installing libxext (1.3.4-r0) 22:03:40 (61/79) Installing libxfixes (6.0.0-r0) 22:03:40 (62/79) Installing wayland-libs-client (1.20.0-r0) 22:03:40 (63/79) Installing libva (2.14.0-r0) 22:03:40 (64/79) Installing libvdpau (1.5-r0) 22:03:40 (65/79) Installing vidstab (1.1.0-r1) 22:03:40 (66/79) Installing libvpx (1.11.0-r1) 22:03:40 (67/79) Installing libwebp (1.2.3-r0) 22:03:40 (68/79) Installing x264-libs (0.163_git20210613-r0) 22:03:40 (69/79) Installing numactl (2.0.14-r0) 22:03:40 (70/79) Installing x265-libs (3.5-r3) 22:03:41 (71/79) Installing xvidcore (1.3.7-r1) 22:03:41 (72/79) Installing ffmpeg-libs (5.0.1-r1) 22:03:41 (73/79) Installing ffmpeg (5.0.1-r1) 22:03:41 (74/79) Installing udev-init-scripts (35-r0) 22:03:41 Executing udev-init-scripts-35-r0.post-install 22:03:41 (75/79) Installing eudev-libs (3.2.11-r0) 22:03:41 (76/79) Installing xz-libs (5.2.5-r1) 22:03:41 (77/79) Installing zstd-libs (1.5.2-r1) 22:03:41 (78/79) Installing kmod-libs (29-r2) 22:03:41 (79/79) Installing eudev (3.2.11-r0) 22:03:41 Executing busybox-1.35.0-r17.trigger 22:03:41 Executing eudev-3.2.11-r0.trigger 22:03:41 OK: 77 MiB in 93 packages 22:03:44 Removing intermediate container 4737a481abd2 22:03:44 ---> 956cab33d88f 22:03:44 Step 18/35 : WORKDIR / 22:03:44 ---> Running in 501fc3310783 22:03:44 Removing intermediate container 501fc3310783 22:03:44 ---> 96c9776ef611 22:03:44 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:03:46 ---> ec3ff6eef5bd 22:03:46 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:03:46 ---> 7594919459ce 22:03:46 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:03:47 ---> 18f12f9b1db9 22:03:47 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:03:47 ---> 40fd08f6d066 22:03:47 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:03:48 ---> d3dd27694c18 22:03:48 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:03:48 ---> dff8af4dfd43 22:03:48 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:03:50 ---> df0e2a63617a 22:03:50 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:03:50 ---> Running in c8fd288cae6b 22:03:51 Removing intermediate container c8fd288cae6b 22:03:51 ---> 4b45d2271568 22:03:51 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:03:51 ---> Running in 4eed7cc7000c 22:03:53 Removing intermediate container 4eed7cc7000c 22:03:53 ---> a4eae37dc4c2 22:03:53 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:03:53 ---> Running in 0cacc96140b3 22:03:54 Removing intermediate container 0cacc96140b3 22:03:54 ---> e2ac763be4c6 22:03:54 Step 29/35 : EXPOSE 59983 22:03:54 ---> Running in 6088388c81db 22:03:55 Removing intermediate container 6088388c81db 22:03:55 ---> 54390bf7cdf9 22:03:55 Step 30/35 : EXPOSE 8554 22:03:55 ---> Running in ccc46c307625 22:03:55 Removing intermediate container ccc46c307625 22:03:55 ---> e64c6729998f 22:03:55 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:03:55 ---> Running in e9e8d36f437b 22:03:55 Removing intermediate container e9e8d36f437b 22:03:55 ---> f3abd5c8c07e 22:03:55 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:03:55 ---> Running in 6bc36d31c808 22:03:55 Removing intermediate container 6bc36d31c808 22:03:55 ---> 964a735b660b 22:03:55 Step 33/35 : LABEL arch=arm64 22:03:56 ---> Running in 29e698c48182 22:03:56 Removing intermediate container 29e698c48182 22:03:56 ---> ec6b70728c47 22:03:56 Step 34/35 : LABEL git_sha=1030fa22bcf670ded76708512c57b18f10d8b8f3 22:03:56 ---> Running in 6030e5d01410 22:03:56 Removing intermediate container 6030e5d01410 22:03:56 ---> 3a842b53c805 22:03:56 Step 35/35 : LABEL version=3.0.0-dev.4 22:03:56 ---> Running in 4105393712cd 22:03:57 Removing intermediate container 4105393712cd 22:03:57 ---> 8fa0a1e3d85d 22:03:57 [Warning] One or more build-args [ARCH] were not consumed 22:03:57 Successfully built 8fa0a1e3d85d 22:03:57 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 22:03:57 provisioning config files... 22:03:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/75@tmp/config11434703596267525383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:57 ---> docker-login.sh 22:03:57 nexus3.edgexfoundry.org:10001 22:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:57 Configure a credential helper to remove this warning. See 22:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:57 22:03:57 Login Succeeded 22:03:57 nexus3.edgexfoundry.org:10002 22:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:58 Configure a credential helper to remove this warning. See 22:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:58 22:03:58 Login Succeeded 22:03:58 nexus3.edgexfoundry.org:10003 22:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:58 Configure a credential helper to remove this warning. See 22:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:58 22:03:58 Login Succeeded 22:03:58 nexus3.edgexfoundry.org:10004 22:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:58 Configure a credential helper to remove this warning. See 22:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:58 22:03:58 Login Succeeded 22:03:58 docker.io 22:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:59 Configure a credential helper to remove this warning. See 22:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:59 22:03:59 Login Succeeded 22:03:59 ---> docker-login.sh ends [Pipeline] } 22:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:59 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 22:03:59 1030fa22bcf670ded76708512c57b18f10d8b8f3 22:03:59 latest 22:03:59 3.0.0-dev.4 22:03:59 1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 22:03:59 main 22:03:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:59 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3 22:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 22:04:00 755797607f4b: Preparing 22:04:00 3768a3ebfe46: Preparing 22:04:00 476c12201e4e: Preparing 22:04:00 a43932d1df72: Preparing 22:04:00 1207169bf42c: Preparing 22:04:00 67088c84f913: Preparing 22:04:00 4234fb7ce777: Preparing 22:04:00 a767af21ad16: Preparing 22:04:00 701763abf62b: Preparing 22:04:00 e8ee099ab203: Preparing 22:04:00 0d486eefbf15: Preparing 22:04:00 17bec77d7fdc: Preparing 22:04:00 701763abf62b: Waiting 22:04:00 e8ee099ab203: Waiting 22:04:00 0d486eefbf15: Waiting 22:04:00 17bec77d7fdc: Waiting 22:04:00 67088c84f913: Waiting 22:04:00 4234fb7ce777: Waiting 22:04:00 a767af21ad16: Waiting 22:04:00 476c12201e4e: Pushed 22:04:00 1207169bf42c: Pushed 22:04:00 755797607f4b: Pushed 22:04:00 3768a3ebfe46: Pushed 22:04:00 4234fb7ce777: Pushed 22:04:00 67088c84f913: Pushed 22:04:00 a767af21ad16: Pushed 22:04:00 701763abf62b: Pushed 22:04:02 17bec77d7fdc: Layer already exists 22:04:04 a43932d1df72: Pushed 22:04:06 e8ee099ab203: Pushed 22:04:18 0d486eefbf15: Pushed 22:04:18 1030fa22bcf670ded76708512c57b18f10d8b8f3: digest: sha256:23ed11569fa81570147998b02869b3cb44f8dc0b03b84ce6706c1960daa49e90 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:18 + 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 22:04:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 22:04:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 22:04:19 755797607f4b: Preparing 22:04:19 3768a3ebfe46: Preparing 22:04:19 476c12201e4e: Preparing 22:04:19 a43932d1df72: Preparing 22:04:19 1207169bf42c: Preparing 22:04:19 67088c84f913: Preparing 22:04:19 4234fb7ce777: Preparing 22:04:19 a767af21ad16: Preparing 22:04:19 701763abf62b: Preparing 22:04:19 e8ee099ab203: Preparing 22:04:19 0d486eefbf15: Preparing 22:04:19 17bec77d7fdc: Preparing 22:04:19 67088c84f913: Waiting 22:04:19 4234fb7ce777: Waiting 22:04:19 701763abf62b: Waiting 22:04:19 a767af21ad16: Waiting 22:04:19 e8ee099ab203: Waiting 22:04:19 17bec77d7fdc: Waiting 22:04:19 0d486eefbf15: Waiting 22:04:19 1207169bf42c: Layer already exists 22:04:19 a43932d1df72: Layer already exists 22:04:19 755797607f4b: Layer already exists 22:04:19 3768a3ebfe46: Layer already exists 22:04:19 476c12201e4e: Layer already exists 22:04:19 4234fb7ce777: Layer already exists 22:04:19 e8ee099ab203: Layer already exists 22:04:19 701763abf62b: Layer already exists 22:04:19 a767af21ad16: Layer already exists 22:04:19 67088c84f913: Layer already exists 22:04:19 17bec77d7fdc: Layer already exists 22:04:19 0d486eefbf15: Layer already exists 22:04:19 latest: digest: sha256:23ed11569fa81570147998b02869b3cb44f8dc0b03b84ce6706c1960daa49e90 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:19 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.4 22:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 22:04:20 755797607f4b: Preparing 22:04:20 3768a3ebfe46: Preparing 22:04:20 476c12201e4e: Preparing 22:04:20 a43932d1df72: Preparing 22:04:20 1207169bf42c: Preparing 22:04:20 67088c84f913: Preparing 22:04:20 4234fb7ce777: Preparing 22:04:20 a767af21ad16: Preparing 22:04:20 701763abf62b: Preparing 22:04:20 e8ee099ab203: Preparing 22:04:20 0d486eefbf15: Preparing 22:04:20 17bec77d7fdc: Preparing 22:04:20 67088c84f913: Waiting 22:04:20 4234fb7ce777: Waiting 22:04:20 701763abf62b: Waiting 22:04:20 a767af21ad16: Waiting 22:04:20 e8ee099ab203: Waiting 22:04:20 0d486eefbf15: Waiting 22:04:20 17bec77d7fdc: Waiting 22:04:20 a43932d1df72: Layer already exists 22:04:20 3768a3ebfe46: Layer already exists 22:04:20 476c12201e4e: Layer already exists 22:04:20 755797607f4b: Layer already exists 22:04:20 1207169bf42c: Layer already exists 22:04:20 67088c84f913: Layer already exists 22:04:20 4234fb7ce777: Layer already exists 22:04:20 e8ee099ab203: Layer already exists 22:04:20 a767af21ad16: Layer already exists 22:04:20 701763abf62b: Layer already exists 22:04:20 0d486eefbf15: Layer already exists 22:04:20 17bec77d7fdc: Layer already exists 22:04:20 3.0.0-dev.4: digest: sha256:23ed11569fa81570147998b02869b3cb44f8dc0b03b84ce6706c1960daa49e90 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 22:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 22:04:20 755797607f4b: Preparing 22:04:20 3768a3ebfe46: Preparing 22:04:20 476c12201e4e: Preparing 22:04:20 a43932d1df72: Preparing 22:04:20 1207169bf42c: Preparing 22:04:20 67088c84f913: Preparing 22:04:20 4234fb7ce777: Preparing 22:04:20 a767af21ad16: Preparing 22:04:20 701763abf62b: Preparing 22:04:20 e8ee099ab203: Preparing 22:04:20 0d486eefbf15: Preparing 22:04:20 17bec77d7fdc: Preparing 22:04:20 67088c84f913: Waiting 22:04:20 4234fb7ce777: Waiting 22:04:20 a767af21ad16: Waiting 22:04:20 701763abf62b: Waiting 22:04:20 e8ee099ab203: Waiting 22:04:20 0d486eefbf15: Waiting 22:04:20 17bec77d7fdc: Waiting 22:04:20 1207169bf42c: Layer already exists 22:04:20 476c12201e4e: Layer already exists 22:04:20 3768a3ebfe46: Layer already exists 22:04:20 755797607f4b: Layer already exists 22:04:20 a43932d1df72: Layer already exists 22:04:20 4234fb7ce777: Layer already exists 22:04:20 a767af21ad16: Layer already exists 22:04:20 67088c84f913: Layer already exists 22:04:20 e8ee099ab203: Layer already exists 22:04:20 701763abf62b: Layer already exists 22:04:21 17bec77d7fdc: Layer already exists 22:04:21 0d486eefbf15: Layer already exists 22:04:21 1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4: digest: sha256:23ed11569fa81570147998b02869b3cb44f8dc0b03b84ce6706c1960daa49e90 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:21 + 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 22:04:21 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 22:04:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 22:04:21 755797607f4b: Preparing 22:04:21 3768a3ebfe46: Preparing 22:04:21 476c12201e4e: Preparing 22:04:21 a43932d1df72: Preparing 22:04:21 1207169bf42c: Preparing 22:04:21 67088c84f913: Preparing 22:04:21 4234fb7ce777: Preparing 22:04:21 a767af21ad16: Preparing 22:04:21 701763abf62b: Preparing 22:04:21 e8ee099ab203: Preparing 22:04:21 0d486eefbf15: Preparing 22:04:21 17bec77d7fdc: Preparing 22:04:21 67088c84f913: Waiting 22:04:21 4234fb7ce777: Waiting 22:04:21 a767af21ad16: Waiting 22:04:21 701763abf62b: Waiting 22:04:21 e8ee099ab203: Waiting 22:04:21 0d486eefbf15: Waiting 22:04:21 17bec77d7fdc: Waiting 22:04:21 1207169bf42c: Layer already exists 22:04:21 755797607f4b: Layer already exists 22:04:21 476c12201e4e: Layer already exists 22:04:21 a43932d1df72: Layer already exists 22:04:21 3768a3ebfe46: Layer already exists 22:04:21 67088c84f913: Layer already exists 22:04:21 4234fb7ce777: Layer already exists 22:04:21 a767af21ad16: Layer already exists 22:04:21 e8ee099ab203: Layer already exists 22:04:21 701763abf62b: Layer already exists 22:04:21 0d486eefbf15: Layer already exists 22:04:21 17bec77d7fdc: Layer already exists 22:04:22 main: digest: sha256:23ed11569fa81570147998b02869b3cb44f8dc0b03b84ce6706c1960daa49e90 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:04:22 ===================================================== [Pipeline] echo 22:04:22 taggedImages: 22:04:22 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3 22:04:22 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 22:04:22 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.4 22:04:22 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1030fa22bcf670ded76708512c57b18f10d8b8f3-3.0.0-dev.4 22:04:22 - 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 22:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:22 22:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:22 arm64: Pulling from edgex-lftools-log-publisher 22:04:22 8998bd30e6a1: Pulling fs layer 22:04:22 04944245beec: Pulling fs layer 22:04:22 699f458cf7ca: Pulling fs layer 22:04:22 765212b225bb: Pulling fs layer 22:04:22 f23df028b6ca: Pulling fs layer 22:04:22 d65c8cfc05b1: Pulling fs layer 22:04:22 2437ff75d9bd: Pulling fs layer 22:04:22 765212b225bb: Waiting 22:04:22 d65c8cfc05b1: Waiting 22:04:22 f23df028b6ca: Waiting 22:04:22 2437ff75d9bd: Waiting 22:04:23 04944245beec: Verifying Checksum 22:04:23 04944245beec: Download complete 22:04:23 765212b225bb: Verifying Checksum 22:04:23 765212b225bb: Download complete 22:04:23 f23df028b6ca: Download complete 22:04:23 d65c8cfc05b1: Verifying Checksum 22:04:23 d65c8cfc05b1: Download complete 22:04:23 699f458cf7ca: Verifying Checksum 22:04:23 699f458cf7ca: Download complete 22:04:23 8998bd30e6a1: Verifying Checksum 22:04:23 8998bd30e6a1: Download complete 22:04:26 2437ff75d9bd: Verifying Checksum 22:04:26 2437ff75d9bd: Download complete 22:04:27 8998bd30e6a1: Pull complete 22:04:28 04944245beec: Pull complete 22:04:29 699f458cf7ca: Pull complete 22:04:29 765212b225bb: Pull complete 22:04:30 f23df028b6ca: Pull complete 22:04:30 d65c8cfc05b1: Pull complete 22:04:45 2437ff75d9bd: Pull complete 22:04:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:45 prd-ubuntu20.04-docker-arm64-4c-16g-1970 does not seem to be running inside a container 22:04:45 $ 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/75 -v /w/workspace/device-usb-camera/75:/w/workspace/device-usb-camera/75:rw,z -v /w/workspace/device-usb-camera/75@tmp:/w/workspace/device-usb-camera/75@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:arm64 cat 22:04:48 $ docker top e533f13af7095f4b78a43f5aac5fdd707059c600bbc658d1daf0b7a9d45269c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:49 ---> job-cost.sh 22:04:49 lf-activate-venv: SKIPPING 22:04:49 INFO: No Stack... 22:04:49 INFO: Retrieving Pricing Info for: v3-standard-4 22:04:50 INFO: Archiving Costs [Pipeline] sh 22:04:51 + cat /w/workspace/device-usb-camera/75/archives/cost.csv 22:04:51 + cut -d, -f6 [Pipeline] lock 22:04:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] 22:04:51 Resource [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] did not exist. Created. 22:04:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:52 /w/workspace/device-usb-camera/75@tmp/durable-5423866c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:04:52 + echo total: 0.10999999940395355 [Pipeline] stash 22:04:52 Warning: overwriting stash ‘stack-cost’ 22:04:52 Stashed 1 file(s) [Pipeline] } 22:04:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:52 $ docker stop --time=1 e533f13af7095f4b78a43f5aac5fdd707059c600bbc658d1daf0b7a9d45269c8 22:04:54 $ docker rm -f --volumes e533f13af7095f4b78a43f5aac5fdd707059c600bbc658d1daf0b7a9d45269c8 [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 22:04:54 provisioning config files... 22:04:54 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config649316054441035468tmp [Pipeline] { [Pipeline] sh 22:04:55 + set +x 22:04:55 + bash -s -- 22:04:55 + curl -s https://codecov.io/bash 22:04:55 22:04:55 _____ _ 22:04:55 / ____| | | 22:04:55 | | ___ __| | ___ ___ _____ __ 22:04:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:04:55 | |___| (_) | (_| | __/ (_| (_) \ V / 22:04:55 \_____\___/ \__,_|\___|\___\___/ \_/ 22:04:55 Bash-1.0.6 22:04:55 22:04:55 22:04:55 ==> git version 2.25.1 found 22:04:55 ==> 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 22:04:55 Release-Date: 2020-01-08 22:04:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:04:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:04:55 ==> Jenkins CI detected. 22:04:55 current dir:  /w/workspace/exfoundry_device-usb-camera_main 22:04:55 project root: . 22:04:55 --> token set from env 22:04:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:04:55 ==> Running gcov in . (disable via -X gcov) 22:04:55 ==> Python coveragepy not found 22:04:55 ==> Searching for coverage reports in: 22:04:55 + . 22:04:55 -> Found 1 reports 22:04:55 ==> Detecting git/mercurial file structure 22:04:55 ==> Reading reports 22:04:55 + ./coverage.out bytes=30666 22:04:55 ==> Appending adjustments 22:04:55 https://docs.codecov.io/docs/fixing-reports 22:04:55 + Found adjustments 22:04:55 ==> Gzipping contents 22:04:55 8.0K /tmp/codecov.o34S6X.gz 22:04:55 ==> Uploading reports 22:04:55 url: https://codecov.io 22:04:55 query: branch=main&commit=1030fa22bcf670ded76708512c57b18f10d8b8f3&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:55 -> Pinging Codecov 22:04:55 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=1030fa22bcf670ded76708512c57b18f10d8b8f3&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:04:55 -> Uploading to 22:04:55 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/73D8F5FF140700D3E01443B452E23636/1030fa22bcf670ded76708512c57b18f10d8b8f3/bb622123-5ffb-40a7-aaec-6af2c734d8a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T220455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecba1bb787c218e258a3192f40b67b6d76a3a3a00836c5da2eed206f5648f50a 22:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:04:55 Dload Upload Total Spent Left Speed 22:04:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4342 0 0 100 4342 0 16572 --:--:-- --:--:-- --:--:-- 16572 22:04:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] } 22:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:04:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:04:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:56 22:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:04:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:04:56 df9b9388f04a: Pulling fs layer 22:04:56 52dc419b0ee2: Pulling fs layer 22:04:56 25bc292e5bac: Pulling fs layer 22:04:56 114826534d7a: Pulling fs layer 22:04:56 4657fd5d0bcf: Pulling fs layer 22:04:56 6ad1cebc031e: Pulling fs layer 22:04:56 8a3aa393b2d8: Pulling fs layer 22:04:56 4657fd5d0bcf: Waiting 22:04:56 8a3aa393b2d8: Waiting 22:04:56 6ad1cebc031e: Waiting 22:04:56 114826534d7a: Waiting 22:04:56 25bc292e5bac: Verifying Checksum 22:04:56 25bc292e5bac: Download complete 22:04:56 52dc419b0ee2: Verifying Checksum 22:04:56 52dc419b0ee2: Download complete 22:04:56 4657fd5d0bcf: Download complete 22:04:56 df9b9388f04a: Verifying Checksum 22:04:56 df9b9388f04a: Download complete 22:04:56 df9b9388f04a: Pull complete 22:04:56 6ad1cebc031e: Verifying Checksum 22:04:56 6ad1cebc031e: Download complete 22:04:56 52dc419b0ee2: Pull complete 22:04:57 25bc292e5bac: Pull complete 22:04:57 114826534d7a: Verifying Checksum 22:04:57 114826534d7a: Download complete 22:04:57 8a3aa393b2d8: Verifying Checksum 22:04:57 8a3aa393b2d8: Download complete 22:05:01 114826534d7a: Pull complete 22:05:01 4657fd5d0bcf: Pull complete 22:05:01 6ad1cebc031e: Pull complete 22:05:04 8a3aa393b2d8: Pull complete 22:05:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:05:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:04 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:05:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:05:09 $ docker top e10aa80d01d6290098f58637edfb80f34028670145a0bb9a3cef56a07076a608 -eo pid,comm [Pipeline] { [Pipeline] echo 22:05:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 22:05:10 + set -o pipefail 22:05:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 22:05:20 22:05:20 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 22:05:20 22:05:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/5ebbb3a0-9a52-4f82-8ea9-43ce24419600 22:05:20 22:05:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:05:20 22:05:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:05:20 22:05:20 22:05:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:05:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:05:20 More details here: https://snyk.co/ue1NS [Pipeline] } 22:05:20 $ docker stop --time=1 e10aa80d01d6290098f58637edfb80f34028670145a0bb9a3cef56a07076a608 22:05:23 $ docker rm -f --volumes e10aa80d01d6290098f58637edfb80f34028670145a0bb9a3cef56a07076a608 [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 22:05:24 + git log --format=format:%s -1 1030fa22bcf670ded76708512c57b18f10d8b8f3 [Pipeline] sh 22:05:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:25 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:05:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:25 $ docker top 9e08ccf417915d44b30b01a32878b1c276a0e63985fe3281828fa07c675aee81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:25 [ssh-agent] Looking for ssh-agent implementation... 22:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:25 $ docker exec 9e08ccf417915d44b30b01a32878b1c276a0e63985fe3281828fa07c675aee81 ssh-agent 22:05:26 SSH_AUTH_SOCK=/tmp/ssh-OC7n3owVitqQ/agent.32 22:05:26 SSH_AGENT_PID=38 22:05:26 Running ssh-add (command line suppressed) 22:05:26 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4230910314704829361.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4230910314704829361.key) 22:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:26 + git semver tag 22:05:26 2023-01-11 22:05:26,595 [run_tag] DEBUG tag force:False 22:05:26 2023-01-11 22:05:26,596 [check_head_tag] DEBUG check head tag 22:05:26 2023-01-11 22:05:26,596 [execute] INFO git cat-file --batch-check 22:05:26 2023-01-11 22:05:26,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 22:05:26 2023-01-11 22:05:26,600 [execute] INFO git cat-file --batch 22:05:26 2023-01-11 22:05:26,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 22:05:26 2023-01-11 22:05:26,619 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:26 2023-01-11 22:05:26,619 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 22:05:26 2023-01-11 22:05:26,619 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 22:05:26 2023-01-11 22:05:26,624 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:26 3.0.0-dev.4 [Pipeline] } 22:05:26 $ docker exec --env ******** --env ******** 9e08ccf417915d44b30b01a32878b1c276a0e63985fe3281828fa07c675aee81 ssh-agent -k 22:05:26 unset SSH_AUTH_SOCK; 22:05:26 unset SSH_AGENT_PID; 22:05:26 echo Agent pid 38 killed; 22:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:27 + git semver [Pipeline] } 22:05:27 $ docker stop --time=1 9e08ccf417915d44b30b01a32878b1c276a0e63985fe3281828fa07c675aee81 22:05:28 $ docker rm -f --volumes 9e08ccf417915d44b30b01a32878b1c276a0e63985fe3281828fa07c675aee81 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:29 22:05:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:30 0.23.1-centos7: Pulling from edgex-lftools 22:05:30 ab5ef0e58194: Pulling fs layer 22:05:30 9712f1f96733: Pulling fs layer 22:05:30 63f879dbbcfc: Pulling fs layer 22:05:30 0d9ebad4ef96: Pulling fs layer 22:05:30 e9a5061849ea: Pulling fs layer 22:05:30 d747dcd14b5f: Pulling fs layer 22:05:30 2de7ff778b66: Pulling fs layer 22:05:30 d747dcd14b5f: Waiting 22:05:30 0d9ebad4ef96: Waiting 22:05:30 e9a5061849ea: Waiting 22:05:30 9712f1f96733: Verifying Checksum 22:05:30 9712f1f96733: Download complete 22:05:30 63f879dbbcfc: Verifying Checksum 22:05:30 63f879dbbcfc: Download complete 22:05:31 e9a5061849ea: Verifying Checksum 22:05:31 e9a5061849ea: Download complete 22:05:31 d747dcd14b5f: Verifying Checksum 22:05:31 d747dcd14b5f: Download complete 22:05:31 ab5ef0e58194: Verifying Checksum 22:05:31 ab5ef0e58194: Download complete 22:05:31 0d9ebad4ef96: Verifying Checksum 22:05:31 0d9ebad4ef96: Download complete 22:05:31 2de7ff778b66: Download complete 22:05:33 ab5ef0e58194: Pull complete 22:05:33 9712f1f96733: Pull complete 22:05:34 63f879dbbcfc: Pull complete 22:05:38 0d9ebad4ef96: Pull complete 22:05:38 e9a5061849ea: Pull complete 22:05:38 d747dcd14b5f: Pull complete 22:05:39 2de7ff778b66: Pull complete 22:05:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:05:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:39 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:05:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:05:44 $ docker top 1f45597f193dae20d17b75bd2f938b2bb7bc0ef66ae34335e2b7334cfd96ee50 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:05:44 provisioning config files... 22:05:44 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17188393322821538916tmp 22:05:44 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7712406815707010090tmp 22:05:44 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2842629716593378521tmp [Pipeline] { [Pipeline] echo 22:05:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:05:44 ---> sigul-configuration.sh 22:05:44 gpg: directory `/root/.gnupg' created 22:05:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:05:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:05:44 gpg: keyring `/root/.gnupg/secring.gpg' created 22:05:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:05:44 gpg: CAST5 encrypted data 22:05:44 gpg: encrypted with 1 passphrase 22:05:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:05:44 + mkdir /home/jenkins 22:05:44 + mkdir /home/jenkins/sigul [Pipeline] sh 22:05:45 + 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 22:05:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:05:45 ---> sigul-install.sh 22:05:45 Sigul already installed; skipping installation. [Pipeline] sh 22:05:45 + git tag --list 22:05:45 v0.0.0 22:05:45 v0.0.1-dev.1 22:05:45 v0.0.1-dev.10 22:05:45 v0.0.1-dev.11 22:05:45 v0.0.1-dev.12 22:05:45 v0.0.1-dev.13 22:05:45 v0.0.1-dev.14 22:05:45 v0.0.1-dev.15 22:05:45 v0.0.1-dev.16 22:05:45 v0.0.1-dev.2 22:05:45 v0.0.1-dev.3 22:05:45 v0.0.1-dev.4 22:05:45 v0.0.1-dev.5 22:05:45 v0.0.1-dev.6 22:05:45 v0.0.1-dev.7 22:05:45 v0.0.1-dev.8 22:05:45 v0.0.1-dev.9 22:05:45 v2.2.0 22:05:45 v2.2.0-dev.17 22:05:45 v2.2.0-dev.18 22:05:45 v2.2.0-dev.19 22:05:45 v2.2.0-dev.20 22:05:45 v2.2.0-dev.21 22:05:45 v2.2.0-dev.22 22:05:45 v2.2.0-dev.23 22:05:45 v2.2.0-dev.24 22:05:45 v2.2.0-dev.25 22:05:45 v2.2.0-dev.26 22:05:45 v2.2.0-dev.27 22:05:45 v2.3.0 22:05:45 v2.3.0-dev.1 22:05:45 v2.3.0-dev.10 22:05:45 v2.3.0-dev.11 22:05:45 v2.3.0-dev.12 22:05:45 v2.3.0-dev.13 22:05:45 v2.3.0-dev.14 22:05:45 v2.3.0-dev.15 22:05:45 v2.3.0-dev.16 22:05:45 v2.3.0-dev.17 22:05:45 v2.3.0-dev.18 22:05:45 v2.3.0-dev.19 22:05:45 v2.3.0-dev.2 22:05:45 v2.3.0-dev.20 22:05:45 v2.3.0-dev.21 22:05:45 v2.3.0-dev.22 22:05:45 v2.3.0-dev.23 22:05:45 v2.3.0-dev.24 22:05:45 v2.3.0-dev.25 22:05:45 v2.3.0-dev.26 22:05:45 v2.3.0-dev.27 22:05:45 v2.3.0-dev.28 22:05:45 v2.3.0-dev.3 22:05:45 v2.3.0-dev.4 22:05:45 v2.3.0-dev.5 22:05:45 v2.3.0-dev.6 22:05:45 v2.3.0-dev.7 22:05:45 v2.3.0-dev.8 22:05:45 v2.3.0-dev.9 22:05:45 v3.0.0-dev.1 22:05:45 v3.0.0-dev.2 22:05:45 v3.0.0-dev.3 22:05:45 v3.0.0-dev.4 [Pipeline] sh 22:05:45 + lftools sign git-tag v3.0.0-dev.4 22:05:46 Signing Git tag with Sigul... 22:05:46 Signing v3.0.0-dev.4 [Pipeline] echo 22:05:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:05:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:05:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:05:47 $ docker stop --time=1 1f45597f193dae20d17b75bd2f938b2bb7bc0ef66ae34335e2b7334cfd96ee50 22:05:48 $ docker rm -f --volumes 1f45597f193dae20d17b75bd2f938b2bb7bc0ef66ae34335e2b7334cfd96ee50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:05:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:49 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:05:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:49 $ docker top 7bdc3c0156dee4bf69c96d46a7277d0bbf1db91b1a09df137472c31a3b2fecbd -eo pid,comm 22:05:49 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). 22:05:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:49 [ssh-agent] Looking for ssh-agent implementation... 22:05:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:49 $ docker exec 7bdc3c0156dee4bf69c96d46a7277d0bbf1db91b1a09df137472c31a3b2fecbd ssh-agent 22:05:49 SSH_AUTH_SOCK=/tmp/ssh-IkjIbRQGuwCw/agent.32 22:05:49 SSH_AGENT_PID=38 22:05:49 Running ssh-add (command line suppressed) 22:05:49 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13784137927568090481.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13784137927568090481.key) 22:05:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:50 + git semver bump pre 22:05:50 2023-01-11 22:05:50,349 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:50 2023-01-11 22:05:50,349 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 22:05:50 2023-01-11 22:05:50,349 [bump_version] DEBUG bumped version:3.0.0-dev.5 22:05:50 2023-01-11 22:05:50,349 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 22:05:50 2023-01-11 22:05:50,349 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:50 2023-01-11 22:05:50,349 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:50 2023-01-11 22:05:50,351 [execute] INFO git cat-file --batch-check 22:05:50 2023-01-11 22:05:50,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:50 2023-01-11 22:05:50,357 [execute] INFO git cat-file --batch 22:05:50 2023-01-11 22:05:50,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:50 2023-01-11 22:05:50,362 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:50 3.0.0-dev.5 [Pipeline] } 22:05:50 $ docker exec --env ******** --env ******** 7bdc3c0156dee4bf69c96d46a7277d0bbf1db91b1a09df137472c31a3b2fecbd ssh-agent -k 22:05:50 unset SSH_AUTH_SOCK; 22:05:50 unset SSH_AGENT_PID; 22:05:50 echo Agent pid 38 killed; 22:05:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:50 + git semver [Pipeline] } 22:05:51 $ docker stop --time=1 7bdc3c0156dee4bf69c96d46a7277d0bbf1db91b1a09df137472c31a3b2fecbd 22:05:52 $ docker rm -f --volumes 7bdc3c0156dee4bf69c96d46a7277d0bbf1db91b1a09df137472c31a3b2fecbd [Pipeline] // withDockerContainer [Pipeline] sh 22:05:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:05:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:05:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:05:53 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:05:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:05:53 $ docker top 06d03a897c1ae404ca3d80d12f22e42e97709b6dfea034cc24810a2a77da36ea -eo pid,comm 22:05:53 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). 22:05:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:05:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:05:53 [ssh-agent] Looking for ssh-agent implementation... 22:05:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:05:53 $ docker exec 06d03a897c1ae404ca3d80d12f22e42e97709b6dfea034cc24810a2a77da36ea ssh-agent 22:05:53 SSH_AUTH_SOCK=/tmp/ssh-fPiJO9l3vBHI/agent.32 22:05:53 SSH_AGENT_PID=38 22:05:53 Running ssh-add (command line suppressed) 22:05:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4638081297151399481.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4638081297151399481.key) 22:05:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:05:54 + git semver push 22:05:54 2023-01-11 22:05:54,368 [run_push] DEBUG push 22:05:54 2023-01-11 22:05:54,369 [execute] INFO git cat-file --batch-check 22:05:54 2023-01-11 22:05:54,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:05:54 2023-01-11 22:05:54,373 [execute] INFO git rev-list da9afd33a1feb31c051a7246b6438ea4d681acc2 -- 22:05:54 2023-01-11 22:05:54,373 [execute] DEBUG Popen(['git', 'rev-list', 'da9afd33a1feb31c051a7246b6438ea4d681acc2', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:54 2023-01-11 22:05:54,379 [execute] INFO git fetch -v origin 22:05:54 2023-01-11 22:05:54,380 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 22:05:55 2023-01-11 22:05:54,891 [run_push] DEBUG no remote changes detected 22:05:55 2023-01-11 22:05:54,892 [execute] INFO git push origin semver 22:05:55 2023-01-11 22:05:54,892 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:05:55 2023-01-11 22:05:55,744 [run_push] DEBUG push all version tags 22:05:55 2023-01-11 22:05:55,745 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:05:55 2023-01-11 22:05:55,745 [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) 22:05:56 2023-01-11 22:05:56,531 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 22:05:56 3.0.0-dev.5 [Pipeline] } 22:05:56 $ docker exec --env ******** --env ******** 06d03a897c1ae404ca3d80d12f22e42e97709b6dfea034cc24810a2a77da36ea ssh-agent -k 22:05:56 unset SSH_AUTH_SOCK; 22:05:56 unset SSH_AGENT_PID; 22:05:56 echo Agent pid 38 killed; 22:05:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:05:57 + git semver [Pipeline] } 22:05:57 $ docker stop --time=1 06d03a897c1ae404ca3d80d12f22e42e97709b6dfea034cc24810a2a77da36ea 22:05:58 $ docker rm -f --volumes 06d03a897c1ae404ca3d80d12f22e42e97709b6dfea034cc24810a2a77da36ea [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 22:05:59 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 22:05:59 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 22:05:59 total 16 22:05:59 drwxr-xr-x 3 root root 4096 Jan 11 21:54 . 22:05:59 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 22:05 .. 22:05:59 drwxr-xr-x 2 root root 4096 Jan 11 21:54 cost 22:05:59 -rw-r--r-- 1 root root 88 Jan 11 21:54 cost.csv 22:05:59 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 22:05:59 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 22:05:59 total 16 22:05:59 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:54 . 22:05:59 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 22:05 .. 22:05:59 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 21:54 cost 22:05:59 -rw-r--r-- 1 jenkins jenkins 88 Jan 11 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:05:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:06:00 ---> package-listing.sh 22:06:00 ++ facter osfamily 22:06:00 ++ tr '[:upper:]' '[:lower:]' 22:06:00 + OS_FAMILY=debian 22:06:00 + workspace=/w/workspace/exfoundry_device-usb-camera_main 22:06:00 + START_PACKAGES=/tmp/packages_start.txt 22:06:00 + END_PACKAGES=/tmp/packages_end.txt 22:06:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:06:00 + PACKAGES=/tmp/packages_start.txt 22:06:00 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 22:06:00 + PACKAGES=/tmp/packages_end.txt 22:06:00 + case "${OS_FAMILY}" in 22:06:00 + dpkg -l 22:06:00 + grep '^ii' 22:06:00 + '[' -f /tmp/packages_start.txt ']' 22:06:00 + '[' -f /tmp/packages_end.txt ']' 22:06:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:06:00 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 22:06:00 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 22:06:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 22:06:00 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 22:06:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:01 prd-ubuntu20.04-docker-8c-8g-1962 does not seem to be running inside a container 22:06:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:06:01 $ docker top e13d83a5e2edbefc6ce28d48905e223e27261df1051d588ecd5fb8ef13477dc2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:06:02 + touch /tmp/pre-build-complete [Pipeline] sh 22:06:02 + mkdir -p /var/log/sysstat [Pipeline] sh 22:06:02 + ls /var/log/sa-host 22:06:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:02 provisioning config files... 22:06:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15794053298189926478tmp [Pipeline] { [Pipeline] echo 22:06:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:06:03 ---> create-netrc.sh [Pipeline] } 22:06:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:06:03 ---> python-tools-install.sh [Pipeline] echo 22:06:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:06:03 ---> sudo-logs.sh 22:06:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:06:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:06:04 ---> job-cost.sh 22:06:04 lf-activate-venv: SKIPPING 22:06:04 DEBUG: total: 0.2199999988079071 22:06:04 INFO: Retrieving Stack Cost... 22:06:04 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:04 INFO: Archiving Costs [Pipeline] echo 22:06:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:06:05 ---> logs-deploy.sh 22:06:05 lf-activate-venv: SKIPPING 22:06:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/75 22:06:05 INFO: archiving workspace using pattern(s): 22:06:06 Archives upload complete. 22:06:06 INFO: archiving logs to Nexus