Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bcd451afeb433ee83d3426a4ef1736b40f29807 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-ssh10202439862218511190.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-ssh10154977458391017606.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-ssh6548015369509912548.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-ssh18359608149855486409.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-ssh14027104148818026995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-905 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 9bcd451afeb433ee83d3426a4ef1736b40f29807 (main) Commit message: "feat: implement rediscovery (#120)" > 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 9bcd451afeb433ee83d3426a4ef1736b40f29807 # timeout=10 > git rev-list --no-walk e17bf6eb7b6ec689c18abb192f67e707f10f3ec9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:39:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:39:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:39:05 ========================================================= 16:39:05 EdgeX Global Pipelines Version Info 16:39:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:39:06 ------------------- 16:39:06 stable info: 16:39:06 ------------------- 16:39:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:39:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:39:06 Message: update stable to v1.0.244 16:39:07 ------------------- 16:39:07 experimental info: 16:39:07 ------------------- 16:39:07 Commited By: **** collab-it+edgex@linuxfoundation.org 16:39:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:39:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bcd451 [Pipeline] echo 16:39:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:07 provisioning config files... 16:39:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17984203287772540476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:08 ---> docker-login.sh 16:39:08 nexus3.edgexfoundry.org:10001 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 nexus3.edgexfoundry.org:10002 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 nexus3.edgexfoundry.org:10003 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 nexus3.edgexfoundry.org:10004 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:08 Configure a credential helper to remove this warning. See 16:39:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:08 16:39:08 Login Succeeded 16:39:08 docker.io 16:39:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:09 Configure a credential helper to remove this warning. See 16:39:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:09 16:39:09 Login Succeeded 16:39:09 ---> docker-login.sh ends [Pipeline] } 16:39:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:39:09 + git rev-list -1 --merges 9bcd451afeb433ee83d3426a4ef1736b40f29807~1..9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] echo 16:39:09 -----------> git rev-list -1 --merges 9bcd451afeb433ee83d3426a4ef1736b40f29807~1..9bcd451afeb433ee83d3426a4ef1736b40f29807 9bcd451afeb433ee83d3426a4ef1736b40f29807 [false] [Pipeline] sh 16:39:09 + git log --format=format:%s -1 9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] echo 16:39:09 ========================================================= 16:39:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:39:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:39:10 + git log --format=format:%s -1 9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] echo 16:39:10 [semverPrep] GIT_COMMIT: 9bcd451afeb433ee83d3426a4ef1736b40f29807, Commit Message: feat: implement rediscovery (#120) [Pipeline] echo 16:39:10 [semverPrep] This is not a build commit. [Pipeline] sh 16:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:39:10 + grep -v github /etc/ssh/ssh_known_hosts 16:39:10 + [ -e /tmp/ssh_known_hosts ] 16:39:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:39:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:39:10 + sudo tee -a /etc/ssh/ssh_known_hosts 16:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:11 16:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:11 0.1.4: Pulling from edgex-devops/py-git-semver 16:39:11 b85a868b505f: Pulling fs layer 16:39:11 e2be974225ed: Pulling fs layer 16:39:11 339a4e72a1f5: Pulling fs layer 16:39:11 988bab9f4d93: Pulling fs layer 16:39:11 1469e6f7b9e6: Pulling fs layer 16:39:11 eaf3925da568: Pulling fs layer 16:39:11 bab4dde63d76: Pulling fs layer 16:39:11 bde34c3a00c8: Pulling fs layer 16:39:11 b352a97aabf1: Pulling fs layer 16:39:11 4872d77fe225: Pulling fs layer 16:39:11 5851b861e8e6: Pulling fs layer 16:39:11 1469e6f7b9e6: Waiting 16:39:11 eaf3925da568: Waiting 16:39:11 4872d77fe225: Waiting 16:39:11 5851b861e8e6: Waiting 16:39:11 bab4dde63d76: Waiting 16:39:11 bde34c3a00c8: Waiting 16:39:11 b352a97aabf1: Waiting 16:39:11 988bab9f4d93: Waiting 16:39:11 e2be974225ed: Download complete 16:39:11 988bab9f4d93: Verifying Checksum 16:39:11 988bab9f4d93: Download complete 16:39:11 1469e6f7b9e6: Verifying Checksum 16:39:11 1469e6f7b9e6: Download complete 16:39:11 339a4e72a1f5: Verifying Checksum 16:39:11 339a4e72a1f5: Download complete 16:39:11 eaf3925da568: Verifying Checksum 16:39:11 eaf3925da568: Download complete 16:39:11 bde34c3a00c8: Verifying Checksum 16:39:11 bde34c3a00c8: Download complete 16:39:11 b352a97aabf1: Verifying Checksum 16:39:11 b352a97aabf1: Download complete 16:39:11 4872d77fe225: Verifying Checksum 16:39:11 4872d77fe225: Download complete 16:39:11 5851b861e8e6: Verifying Checksum 16:39:11 5851b861e8e6: Download complete 16:39:11 b85a868b505f: Verifying Checksum 16:39:11 b85a868b505f: Download complete 16:39:11 bab4dde63d76: Verifying Checksum 16:39:11 bab4dde63d76: Download complete 16:39:12 b85a868b505f: Pull complete 16:39:13 e2be974225ed: Pull complete 16:39:13 339a4e72a1f5: Pull complete 16:39:13 988bab9f4d93: Pull complete 16:39:13 1469e6f7b9e6: Pull complete 16:39:13 eaf3925da568: Pull complete 16:39:15 bab4dde63d76: Pull complete 16:39:15 bde34c3a00c8: Pull complete 16:39:15 b352a97aabf1: Pull complete 16:39:15 4872d77fe225: Pull complete 16:39:15 5851b861e8e6: Pull complete 16:39:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:15 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:39:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:39:18 $ docker top ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 -eo pid,comm 16:39:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:39:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:39:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:18 [ssh-agent] Looking for ssh-agent implementation... 16:39:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:18 $ docker exec ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 ssh-agent 16:39:18 SSH_AUTH_SOCK=/tmp/ssh-WxFEQlepnFeW/agent.33 16:39:18 SSH_AGENT_PID=39 16:39:18 Running ssh-add (command line suppressed) 16:39:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1847112293226125666.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1847112293226125666.key) 16:39:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:19 + git tag --points-at HEAD [Pipeline] } 16:39:19 $ docker exec --env ******** --env ******** ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 ssh-agent -k 16:39:19 unset SSH_AUTH_SOCK; 16:39:19 unset SSH_AGENT_PID; 16:39:19 echo Agent pid 39 killed; 16:39:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:39:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:19 [ssh-agent] Looking for ssh-agent implementation... 16:39:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:19 $ docker exec ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 ssh-agent 16:39:19 SSH_AUTH_SOCK=/tmp/ssh-Cv8gl8ewb5wq/agent.72 16:39:19 SSH_AGENT_PID=78 16:39:19 Running ssh-add (command line suppressed) 16:39:19 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4253724188929323570.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4253724188929323570.key) 16:39:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:20 + git semver init 16:39:20 2023-01-03 16:39:20,261 [run_init] DEBUG init version:0.0.0 force:False 16:39:20 2023-01-03 16:39:20,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 16:39:20 2023-01-03 16:39:20,262 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 16:39:20 2023-01-03 16:39:20,262 [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) 16:39:21 2023-01-03 16:39:20,961 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 16:39:21 2023-01-03 16:39:20,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 16:39:21 2023-01-03 16:39:20,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:39:21 2023-01-03 16:39:20,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:39:21 3.0.0-dev.4 [Pipeline] } 16:39:21 $ docker exec --env ******** --env ******** ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 ssh-agent -k 16:39:21 unset SSH_AUTH_SOCK; 16:39:21 unset SSH_AGENT_PID; 16:39:21 echo Agent pid 78 killed; 16:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:39:21 + git semver [Pipeline] } 16:39:21 $ docker stop --time=1 ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 16:39:23 $ docker rm -f --volumes ad5680ae178400badd1449e4b84ab1f1c99ba5680fff617ee16471568f0378c0 [Pipeline] // withDockerContainer [Pipeline] sh 16:39:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:39:23 Stashed 1 file(s) [Pipeline] echo 16:39:23 [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 16:39:23 provisioning config files... 16:39:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14944156691399121055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:24 ---> docker-login.sh 16:39:24 nexus3.edgexfoundry.org:10001 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10002 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10003 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 nexus3.edgexfoundry.org:10004 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 docker.io 16:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:39:24 Configure a credential helper to remove this warning. See 16:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:39:24 16:39:24 Login Succeeded 16:39:24 ---> docker-login.sh ends [Pipeline] } 16:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:39:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:39:24 ========================================================= 16:39:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:39:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:25 + 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 . 16:39:25 Sending build context to Docker daemon 1.612MB 16:39:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:39:25 Step 2/13 : FROM ${BASE} AS builder 16:39:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:39:25 213ec9aee27d: Pulling fs layer 16:39:25 4583459ba037: Pulling fs layer 16:39:25 93c1e223e6f2: Pulling fs layer 16:39:25 53926ce57604: Pulling fs layer 16:39:25 21b2b0c7a3f4: Pulling fs layer 16:39:25 22ff95d597cd: Pulling fs layer 16:39:25 12d6caf4c0d1: Pulling fs layer 16:39:25 96b7cbca73a9: Pulling fs layer 16:39:25 a7acece74701: Pulling fs layer 16:39:25 22ff95d597cd: Waiting 16:39:25 12d6caf4c0d1: Waiting 16:39:25 96b7cbca73a9: Waiting 16:39:25 a7acece74701: Waiting 16:39:25 53926ce57604: Waiting 16:39:25 21b2b0c7a3f4: Waiting 16:39:25 93c1e223e6f2: Verifying Checksum 16:39:25 93c1e223e6f2: Download complete 16:39:25 4583459ba037: Download complete 16:39:25 21b2b0c7a3f4: Verifying Checksum 16:39:25 21b2b0c7a3f4: Download complete 16:39:25 22ff95d597cd: Verifying Checksum 16:39:25 22ff95d597cd: Download complete 16:39:25 213ec9aee27d: Verifying Checksum 16:39:25 213ec9aee27d: Download complete 16:39:25 12d6caf4c0d1: Verifying Checksum 16:39:25 12d6caf4c0d1: Download complete 16:39:25 213ec9aee27d: Pull complete 16:39:25 4583459ba037: Pull complete 16:39:25 93c1e223e6f2: Pull complete 16:39:26 a7acece74701: Verifying Checksum 16:39:26 a7acece74701: Download complete 16:39:26 53926ce57604: Verifying Checksum 16:39:26 53926ce57604: Download complete 16:39:26 96b7cbca73a9: Verifying Checksum 16:39:26 96b7cbca73a9: Download complete 16:39:29 53926ce57604: Pull complete 16:39:29 21b2b0c7a3f4: Pull complete 16:39:29 22ff95d597cd: Pull complete 16:39:30 12d6caf4c0d1: Pull complete 16:39:31 96b7cbca73a9: Pull complete 16:39:32 a7acece74701: Pull complete 16:39:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:39:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:39:32 ---> db6d94c90886 16:39:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:39:37 ---> Running in b2881e19470c 16:39:37 Removing intermediate container b2881e19470c 16:39:37 ---> 2275488e487c 16:39:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:39:37 ---> Running in f18e773312dc 16:39:37 Removing intermediate container f18e773312dc 16:39:37 ---> b816e54d67e0 16:39:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:39:37 ---> Running in 3c882475fbcf 16:39:37 Removing intermediate container 3c882475fbcf 16:39:37 ---> 2eeea20f9d84 16:39:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:39:37 ---> Running in 52fc68a51630 16:39:37 Removing intermediate container 52fc68a51630 16:39:37 ---> bbf333663bcc 16:39:37 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:39:37 ---> Running in 6ac0725dda92 16:39:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:39:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:39:38 (1/80) Installing mesa (21.3.8-r2) 16:39:38 (2/80) Installing libxau (1.0.9-r0) 16:39:38 (3/80) Installing libxdmcp (1.1.3-r0) 16:39:38 (4/80) Installing libxcb (1.15-r0) 16:39:38 (5/80) Installing libx11 (1.8-r0) 16:39:38 (6/80) Installing libxext (1.3.4-r0) 16:39:38 (7/80) Installing libxfixes (6.0.0-r0) 16:39:38 (8/80) Installing libxxf86vm (1.1.4-r2) 16:39:38 (9/80) Installing libpciaccess (0.16-r0) 16:39:38 (10/80) Installing libdrm (2.4.110-r0) 16:39:38 (11/80) Installing mesa-glapi (21.3.8-r2) 16:39:38 (12/80) Installing libxshmfence (1.3-r1) 16:39:38 (13/80) Installing mesa-gl (21.3.8-r2) 16:39:38 (14/80) Installing icu-data-full (71.1-r2) 16:39:38 (15/80) Installing libice (1.0.10-r0) 16:39:38 (16/80) Installing libuuid (2.38-r1) 16:39:38 (17/80) Installing libsm (1.2.3-r0) 16:39:38 (18/80) Installing libxt (1.2.1-r0) 16:39:38 (19/80) Installing libxmu (1.1.3-r0) 16:39:38 (20/80) Installing xset (1.2.4-r0) 16:39:38 (21/80) Installing xprop (1.2.5-r0) 16:39:38 (22/80) Installing xdg-utils (1.1.3-r3) 16:39:38 (23/80) Installing dbus-libs (1.14.4-r0) 16:39:38 (24/80) Installing libffi (3.4.2-r1) 16:39:38 (25/80) Installing libintl (0.21-r2) 16:39:38 (26/80) Installing libblkid (2.38-r1) 16:39:38 (27/80) Installing libmount (2.38-r1) 16:39:38 (28/80) Installing pcre (8.45-r2) 16:39:38 (29/80) Installing glib (2.72.1-r0) 16:39:38 (30/80) Installing icu-libs (71.1-r2) 16:39:38 (31/80) Installing libpcre2-16 (10.40-r0) 16:39:38 (32/80) Installing zstd-libs (1.5.2-r1) 16:39:38 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:39:38 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:39:38 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:39:38 (36/80) Installing mesa-gbm (21.3.8-r2) 16:39:38 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:39:38 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:39:38 (39/80) Installing libxcomposite (0.4.5-r0) 16:39:38 (40/80) Installing libbz2 (1.0.8-r1) 16:39:38 (41/80) Installing libpng (1.6.37-r1) 16:39:38 (42/80) Installing freetype (2.12.1-r0) 16:39:38 (43/80) Installing fontconfig (2.14.0-r0) 16:39:38 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:39:38 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:39:38 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:39:38 (47/80) Installing xz-libs (5.2.5-r1) 16:39:38 (48/80) Installing libxml2 (2.9.14-r2) 16:39:38 (49/80) Installing libxkbcommon (1.4.1-r0) 16:39:38 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:39:38 (51/80) Installing mesa-egl (21.3.8-r2) 16:39:38 (52/80) Installing avahi-libs (0.8-r6) 16:39:38 (53/80) Installing nettle (3.7.3-r0) 16:39:38 Still waiting to schedule task 16:39:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:39:39 (54/80) Installing p11-kit (0.24.1-r0) 16:39:39 (55/80) Installing libtasn1 (4.18.0-r1) 16:39:39 (56/80) Installing libunistring (1.0-r0) 16:39:39 (57/80) Installing gnutls (3.7.7-r0) 16:39:39 (58/80) Installing cups-libs (2.4.2-r0) 16:39:39 (59/80) Installing graphite2 (1.3.14-r1) 16:39:39 (60/80) Installing harfbuzz (4.3.0-r0) 16:39:39 (61/80) Installing libevdev (1.12.1-r0) 16:39:39 (62/80) Installing mtdev (1.1.6-r0) 16:39:39 (63/80) Installing eudev-libs (3.2.11-r0) 16:39:39 (64/80) Installing libinput-libs (1.20.1-r0) 16:39:39 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:39:39 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:39:39 (67/80) Installing xcb-util (0.4.0-r3) 16:39:39 (68/80) Installing xcb-util-image (0.4.0-r1) 16:39:39 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:39:39 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:39:39 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:39:39 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:39:39 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:39:39 (74/80) Installing v4l-utils (1.22.1-r1) 16:39:39 (75/80) Installing udev-init-scripts (35-r0) 16:39:39 Executing udev-init-scripts-35-r0.post-install 16:39:39 (76/80) Installing kmod-libs (29-r2) 16:39:39 (77/80) Installing eudev (3.2.11-r0) 16:39:39 (78/80) Installing eudev-dev (3.2.11-r0) 16:39:39 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:39:39 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:39:39 Executing busybox-1.35.0-r17.trigger 16:39:39 Executing eudev-3.2.11-r0.trigger 16:39:39 OK: 330 MiB in 131 packages 16:39:42 Removing intermediate container 6ac0725dda92 16:39:42 ---> 6cfa9f055506 16:39:42 Step 8/13 : WORKDIR /device-usb-camera 16:39:42 ---> Running in e6a25412a58e 16:39:42 Removing intermediate container e6a25412a58e 16:39:42 ---> 1842ff76659f 16:39:42 Step 9/13 : COPY go.mod vendor* ./ 16:39:42 ---> 88dab58bbd6e 16:39:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:39:42 ---> Running in 137bb12f5da9 16:40:09 Removing intermediate container 137bb12f5da9 16:40:09 ---> 47fc345c6940 16:40:09 Step 11/13 : COPY . . 16:40:09 ---> bf6c54303409 16:40:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:40:09 ---> Running in d0b07976ba7a 16:40:09  % Total % Received % Xferd Average Speed Time Time Time Current 16:40:09 Dload Upload Total Spent Left Speed 16:40:09  0  0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7377 0 --:--:-- --:--:-- --:--:-- 7426 16:40:09 Removing intermediate container d0b07976ba7a 16:40:09 ---> f59bb2a61f2e 16:40:09 Step 13/13 : RUN ${MAKE} 16:40:09 ---> Running in 284ca4e03474 16:40:09 noop 16:40:09 Removing intermediate container 284ca4e03474 16:40:09 ---> a99d01ea4f0e 16:40:09 Successfully built a99d01ea4f0e 16:40:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:09 + docker inspect -f . ci-base-image-x86_64 16:40:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:09 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:40:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:40:10 $ docker top d03b07666f8d1f3b3d9867be6e0879169a17bc4558a0ded61e1fff178b78a113 -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:10 + go version 16:40:10 go version go1.18.7 linux/amd64 [Pipeline] } 16:40:10 $ docker stop --time=1 d03b07666f8d1f3b3d9867be6e0879169a17bc4558a0ded61e1fff178b78a113 16:40:11 $ docker rm -f --volumes d03b07666f8d1f3b3d9867be6e0879169a17bc4558a0ded61e1fff178b78a113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:12 + docker inspect -f . ci-base-image-x86_64 16:40:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:12 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:40:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:40:12 $ docker top e7c641500e35eefd740bc1ac6b0b60b64a7337eae79a6a5a4e8114c881522076 -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:12 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 16:40:13 + make test 16:40:13 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:40:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:40:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:40:23 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 16:40:31 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." 16:40:31 CGO_ENABLED=1 go vet ./... 16:40:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:40:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:40:35 ./bin/test-attribution-txt.sh [Pipeline] echo 16:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:40:35 $ docker stop --time=1 e7c641500e35eefd740bc1ac6b0b60b64a7337eae79a6a5a4e8114c881522076 16:40:37 $ docker rm -f --volumes e7c641500e35eefd740bc1ac6b0b60b64a7337eae79a6a5a4e8114c881522076 [Pipeline] // withDockerContainer [Pipeline] sh 16:40:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:40:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:40:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:40:38 + ls -al . 16:40:38 total 204 16:40:38 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 16:40 . 16:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:39 .. 16:40:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 16:40 .git 16:40:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:39 .github 16:40:38 -rw-rw-r-- 1 jenkins jenkins 414 Jan 3 16:39 .gitignore 16:40:38 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 16:39 .golangci.yml 16:40:38 -rw-rw-r-- 1 jenkins jenkins 77 Jan 3 16:39 .hadolint.yml 16:40:38 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 16:39 .semver 16:40:38 -rw-rw-r-- 1 jenkins jenkins 9702 Jan 3 16:39 Attribution.txt 16:40:38 -rw-rw-r-- 1 jenkins jenkins 5460 Jan 3 16:39 CHANGELOG.md 16:40:38 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 3 16:39 Dockerfile 16:40:38 -rw-rw-r-- 1 jenkins jenkins 678 Jan 3 16:39 GOVERNANCE.md 16:40:38 -rw-rw-r-- 1 jenkins jenkins 659 Jan 3 16:39 Jenkinsfile 16:40:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 16:39 LICENSE 16:40:38 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 3 16:39 Makefile 16:40:38 -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 16:39 OWNERS.md 16:40:38 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 3 16:39 README.md 16:40:38 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 16:39 VERSION 16:40:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 16:39 bin 16:40:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:39 cmd 16:40:38 -rw-r--r-- 1 jenkins jenkins 30666 Jan 3 16:40 coverage.out 16:40:38 -rwxrwxr-x 1 jenkins jenkins 140 Jan 3 16:39 docker-entrypoint.sh 16:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:39 docs 16:40:38 -rw-rw-r-- 1 jenkins jenkins 3573 Jan 3 16:39 go.mod 16:40:38 -rw-rw-r-- 1 jenkins jenkins 45026 Jan 3 16:39 go.sum 16:40:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:39 internal 16:40:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:39 snap 16:40:38 -rw-rw-r-- 1 jenkins jenkins 231 Jan 3 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:39 + 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=9bcd451afeb433ee83d3426a4ef1736b40f29807 --label arch=amd64 --label version=3.0.0-dev.4 . 16:40:39 Sending build context to Docker daemon 1.644MB 16:40:39 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:40:39 Step 2/35 : FROM ${BASE} AS builder 16:40:39 ---> a99d01ea4f0e 16:40:39 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:40:39 ---> Running in da40f6be32c7 16:40:39 Removing intermediate container da40f6be32c7 16:40:39 ---> 30e76db41b75 16:40:39 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:40:39 ---> Running in e9f6e7128a3d 16:40:39 Removing intermediate container e9f6e7128a3d 16:40:39 ---> ccb4b22d7863 16:40:39 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:40:39 ---> Running in 43345a778263 16:40:39 Removing intermediate container 43345a778263 16:40:39 ---> 8452a2a87b20 16:40:39 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:40:39 ---> Running in 388bf9260a1e 16:40:39 Removing intermediate container 388bf9260a1e 16:40:39 ---> c51d7202c218 16:40:39 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:39 ---> Running in 2e059ae036f9 16:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:40:40 OK: 330 MiB in 131 packages 16:40:40 Removing intermediate container 2e059ae036f9 16:40:40 ---> 960aefaa65b0 16:40:40 Step 8/35 : WORKDIR /device-usb-camera 16:40:40 ---> Running in 55033d09d5de 16:40:40 Removing intermediate container 55033d09d5de 16:40:40 ---> 3edac637f66a 16:40:40 Step 9/35 : COPY go.mod vendor* ./ 16:40:40 ---> 69082a3065fb 16:40:40 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:40 ---> Running in 85e310787f38 16:40:41 Removing intermediate container 85e310787f38 16:40:41 ---> b2b2bcf4fd6c 16:40:41 Step 11/35 : COPY . . 16:40:41 ---> 3e733958d5fe 16:40:41 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:40:41 ---> Running in 0c1cd18dc679 16:40:42  % Total % Received % Xferd Average Speed Time Time Time Current 16:40:42 Dload Upload Total Spent Left Speed 16:40:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45222 0 --:--:-- --:--:-- --:--:-- 46173 16:40:42 Removing intermediate container 0c1cd18dc679 16:40:42 ---> b7a633cc2b55 16:40:42 Step 13/35 : RUN ${MAKE} 16:40:42 ---> Running in a206239bbed1 16:40:42 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:41:04 Removing intermediate container a206239bbed1 16:41:04 ---> f8cae48c7a3d 16:41:04 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:41:04 v0.18.4: Pulling from aler9/rtsp-simple-server 16:41:04 af6660deedbd: Pulling fs layer 16:41:04 97cd0a44c592: Pulling fs layer 16:41:04 97cd0a44c592: Download complete 16:41:04 af6660deedbd: Verifying Checksum 16:41:04 af6660deedbd: Download complete 16:41:04 af6660deedbd: Pull complete 16:41:04 97cd0a44c592: Pull complete 16:41:04 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:41:04 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:41:04 ---> fea57e182299 16:41:04 Step 15/35 : FROM alpine:3.16 16:41:04 3.16: Pulling from library/alpine 16:41:04 ca7dd9ec2225: Pulling fs layer 16:41:04 ca7dd9ec2225: Verifying Checksum 16:41:04 ca7dd9ec2225: Download complete 16:41:04 ca7dd9ec2225: Pull complete 16:41:04 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:41:04 Status: Downloaded newer image for alpine:3.16 16:41:04 ---> bfe296a52501 16:41:04 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:41:04 ---> Running in 81eb3d596f49 16:41:04 Removing intermediate container 81eb3d596f49 16:41:04 ---> 843ddad59648 16:41:04 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:41:04 ---> Running in 064b3443c3f0 16:41:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:41:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:41:05 (1/83) Installing dumb-init (1.2.5-r1) 16:41:05 (2/83) Installing sdl2 (2.0.22-r0) 16:41:05 (3/83) Installing libxau (1.0.9-r0) 16:41:05 (4/83) Installing libxdmcp (1.1.3-r0) 16:41:05 (5/83) Installing libxcb (1.15-r0) 16:41:05 (6/83) Installing libx11 (1.8-r0) 16:41:05 (7/83) Installing aom-libs (3.3.0-r0) 16:41:05 (8/83) Installing alsa-lib (1.2.7.2-r0) 16:41:05 (9/83) Installing expat (2.5.0-r0) 16:41:05 (10/83) Installing brotli-libs (1.0.9-r6) 16:41:05 (11/83) Installing libbz2 (1.0.8-r1) 16:41:05 (12/83) Installing libpng (1.6.37-r1) 16:41:05 (13/83) Installing freetype (2.12.1-r0) 16:41:05 (14/83) Installing fontconfig (2.14.0-r0) 16:41:05 (15/83) Installing fribidi (1.0.12-r0) 16:41:05 (16/83) Installing libffi (3.4.2-r1) 16:41:05 (17/83) Installing libintl (0.21-r2) 16:41:05 (18/83) Installing libblkid (2.38-r1) 16:41:05 (19/83) Installing libmount (2.38-r1) 16:41:05 (20/83) Installing pcre (8.45-r2) 16:41:05 (21/83) Installing glib (2.72.1-r0) 16:41:05 (22/83) Installing graphite2 (1.3.14-r1) 16:41:05 (23/83) Installing harfbuzz (4.3.0-r0) 16:41:05 (24/83) Installing libass (0.16.0-r0) 16:41:05 (25/83) Installing libdav1d (1.0.0-r0) 16:41:05 (26/83) Installing libpciaccess (0.16-r0) 16:41:05 (27/83) Installing libdrm (2.4.110-r0) 16:41:05 (28/83) Installing gmp (6.2.1-r2) 16:41:05 (29/83) Installing nettle (3.7.3-r0) 16:41:05 (30/83) Installing p11-kit (0.24.1-r0) 16:41:05 (31/83) Installing libtasn1 (4.18.0-r1) 16:41:05 (32/83) Installing libunistring (1.0-r0) 16:41:05 (33/83) Installing gnutls (3.7.7-r0) 16:41:05 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:41:05 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 16:41:05 (36/83) Installing lame (3.100-r0) 16:41:05 (37/83) Installing opus (1.3.1-r1) 16:41:05 (38/83) Installing libasyncns (0.8-r1) 16:41:06 (39/83) Installing dbus-libs (1.14.4-r0) 16:41:06 (40/83) Installing libltdl (2.4.7-r0) 16:41:06 (41/83) Installing orc (0.4.32-r0) 16:41:06 (42/83) Installing libgcc (11.2.1_git20220219-r2) 16:41:06 (43/83) Installing libogg (1.3.5-r1) 16:41:06 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 16:41:06 (45/83) Installing flac (1.3.4-r0) 16:41:06 (46/83) Installing libvorbis (1.3.7-r0) 16:41:06 (47/83) Installing libsndfile (1.1.0-r0) 16:41:06 (48/83) Installing libgomp (11.2.1_git20220219-r2) 16:41:06 (49/83) Installing soxr (0.1.3-r2) 16:41:06 (50/83) Installing speexdsp (1.2.0-r0) 16:41:06 (51/83) Installing tdb-libs (1.4.6-r0) 16:41:06 (52/83) Installing libpulse (15.0-r2) 16:41:06 (53/83) Installing cjson (1.7.15-r3) 16:41:06 (54/83) Installing mbedtls (2.28.2-r0) 16:41:06 (55/83) Installing librist (0.2.6-r1) 16:41:06 (56/83) Installing libsrt (1.4.4-r0) 16:41:06 (57/83) Installing libssh (0.9.6-r1) 16:41:06 (58/83) Installing libtheora (1.1.1-r16) 16:41:06 (59/83) Installing libjpeg-turbo (2.1.3-r1) 16:41:06 (60/83) Installing v4l-utils-libs (1.22.1-r1) 16:41:06 (61/83) Installing libxext (1.3.4-r0) 16:41:06 (62/83) Installing libxfixes (6.0.0-r0) 16:41:06 (63/83) Installing wayland-libs-client (1.20.0-r0) 16:41:06 (64/83) Installing libva (2.14.0-r0) 16:41:06 (65/83) Installing libvdpau (1.5-r0) 16:41:06 (66/83) Installing vidstab (1.1.0-r1) 16:41:06 (67/83) Installing libvpx (1.11.0-r1) 16:41:06 (68/83) Installing libwebp (1.2.3-r0) 16:41:06 (69/83) Installing x264-libs (0.163_git20210613-r0) 16:41:06 (70/83) Installing numactl (2.0.14-r0) 16:41:06 (71/83) Installing x265-libs (3.5-r3) 16:41:06 (72/83) Installing xvidcore (1.3.7-r1) 16:41:06 (73/83) Installing ffmpeg-libs (5.0.1-r1) 16:41:06 (74/83) Installing ffmpeg (5.0.1-r1) 16:41:06 (75/83) Installing udev-init-scripts (35-r0) 16:41:06 Executing udev-init-scripts-35-r0.post-install 16:41:06 (76/83) Installing eudev-libs (3.2.11-r0) 16:41:06 (77/83) Installing xz-libs (5.2.5-r1) 16:41:06 (78/83) Installing zstd-libs (1.5.2-r1) 16:41:06 (79/83) Installing kmod-libs (29-r2) 16:41:06 (80/83) Installing eudev (3.2.11-r0) 16:41:06 (81/83) Installing libsodium (1.0.18-r0) 16:41:06 (82/83) Installing libzmq (4.3.4-r0) 16:41:06 (83/83) Installing zeromq (4.3.4-r0) 16:41:06 Executing busybox-1.35.0-r17.trigger 16:41:06 Executing eudev-3.2.11-r0.trigger 16:41:06 OK: 101 MiB in 97 packages 16:41:09 Removing intermediate container 064b3443c3f0 16:41:09 ---> 0a75d0f8fcbc 16:41:09 Step 18/35 : WORKDIR / 16:41:09 ---> Running in 30ec9dc067ad 16:41:09 Removing intermediate container 30ec9dc067ad 16:41:09 ---> 9f59e767cd66 16:41:09 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:41:09 ---> b86b3ac8c4d4 16:41:09 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:41:09 ---> 09a3357aa3c7 16:41:09 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:41:10 ---> e84700fa8c38 16:41:10 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:41:10 ---> ce43264ecc3c 16:41:10 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:41:10 ---> 9dacdbe63071 16:41:10 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:41:10 ---> 23faf0979f02 16:41:10 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:41:10 ---> 842d5dfffa69 16:41:10 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:41:10 ---> Running in a168af4e57b0 16:41:11 Removing intermediate container a168af4e57b0 16:41:11 ---> a54086da6b61 16:41:11 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:41:11 ---> Running in 33e60b1491d9 16:41:12 Removing intermediate container 33e60b1491d9 16:41:12 ---> 42fb82787921 16:41:12 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:41:12 ---> Running in 1366f9f7c62d 16:41:12 Removing intermediate container 1366f9f7c62d 16:41:12 ---> a77b57762583 16:41:12 Step 29/35 : EXPOSE 59983 16:41:12 ---> Running in 3710b768113c 16:41:12 Removing intermediate container 3710b768113c 16:41:12 ---> 055102a4de37 16:41:12 Step 30/35 : EXPOSE 8554 16:41:12 ---> Running in 0afd430e5149 16:41:12 Removing intermediate container 0afd430e5149 16:41:12 ---> a58c7caff60f 16:41:12 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:41:12 ---> Running in 5c1fd644b091 16:41:12 Removing intermediate container 5c1fd644b091 16:41:12 ---> 06119448d94f 16:41:12 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:41:12 ---> Running in a56256d79d91 16:41:12 Removing intermediate container a56256d79d91 16:41:12 ---> 494280169581 16:41:12 Step 33/35 : LABEL arch=amd64 16:41:12 ---> Running in 4b70e796459b 16:41:12 Removing intermediate container 4b70e796459b 16:41:12 ---> 151989d938b4 16:41:12 Step 34/35 : LABEL git_sha=9bcd451afeb433ee83d3426a4ef1736b40f29807 16:41:13 ---> Running in f4825c7ccfe9 16:41:13 Removing intermediate container f4825c7ccfe9 16:41:13 ---> ac3b8bd4aede 16:41:13 Step 35/35 : LABEL version=3.0.0-dev.4 16:41:13 ---> Running in 0651688c082c 16:41:13 Removing intermediate container 0651688c082c 16:41:13 ---> b8c695b668dc 16:41:13 [Warning] One or more build-args [ARCH] were not consumed 16:41:13 Successfully built b8c695b668dc 16:41:13 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 16:41:13 provisioning config files... 16:41:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18374096551406119761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:13 ---> docker-login.sh 16:41:13 nexus3.edgexfoundry.org:10001 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10002 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10003 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 nexus3.edgexfoundry.org:10004 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:13 Configure a credential helper to remove this warning. See 16:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:13 16:41:13 Login Succeeded 16:41:13 docker.io 16:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:14 Configure a credential helper to remove this warning. See 16:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:14 16:41:14 Login Succeeded 16:41:14 ---> docker-login.sh ends [Pipeline] } 16:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:14 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:41:14 9bcd451afeb433ee83d3426a4ef1736b40f29807 16:41:14 latest 16:41:14 3.0.0-dev.4 16:41:14 9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:41:14 main 16:41:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:14 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:14 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807 16:41:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:41:14 f59cfd3635cb: Preparing 16:41:14 ed38e738fddb: Preparing 16:41:14 7f9eaaa1beb6: Preparing 16:41:14 550e596c6d0e: Preparing 16:41:14 1207169bf42c: Preparing 16:41:14 2c34b81d644c: Preparing 16:41:14 e79ba8c90e7b: Preparing 16:41:14 2efbc6451a76: Preparing 16:41:14 345caac56cd5: Preparing 16:41:14 cf9f1121c192: Preparing 16:41:14 ed645820b01d: Preparing 16:41:14 e5e13b0c77cb: Preparing 16:41:14 2c34b81d644c: Waiting 16:41:14 e79ba8c90e7b: Waiting 16:41:14 2efbc6451a76: Waiting 16:41:14 345caac56cd5: Waiting 16:41:14 cf9f1121c192: Waiting 16:41:14 e5e13b0c77cb: Waiting 16:41:14 ed645820b01d: Waiting 16:41:14 f59cfd3635cb: Pushed 16:41:14 1207169bf42c: Pushed 16:41:14 7f9eaaa1beb6: Pushed 16:41:14 ed38e738fddb: Pushed 16:41:15 2c34b81d644c: Pushed 16:41:15 2efbc6451a76: Pushed 16:41:15 345caac56cd5: Pushed 16:41:15 e79ba8c90e7b: Pushed 16:41:15 e5e13b0c77cb: Layer already exists 16:41:16 550e596c6d0e: Pushed 16:41:17 cf9f1121c192: Pushed 16:41:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-906 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 16:41:18 Running in /w/workspace/device-usb-camera/68 [Pipeline] { [Pipeline] checkout 16:41:18 Selected Git installation does not exist. Using Default 16:41:18 The recommended git tool is: NONE 16:41:23 using credential edgex-jenkins-ssh 16:41:23 Cloning the remote Git repository 16:41:23 ed645820b01d: Pushed 16:41:23 9bcd451afeb433ee83d3426a4ef1736b40f29807: digest: sha256:62d41ef67406bac9fbd2643d63540df6f364502d20ae1ee0ede82e20afc17593 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:24 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:23 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:41:23 > git init /w/workspace/device-usb-camera/68 # timeout=10 16:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:41:24 > git --version # timeout=10 16:41:24 > git --version # 'git version 2.25.1' 16:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:41:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:41:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:41:24 f59cfd3635cb: Preparing 16:41:24 ed38e738fddb: Preparing 16:41:24 7f9eaaa1beb6: Preparing 16:41:24 550e596c6d0e: Preparing 16:41:24 1207169bf42c: Preparing 16:41:24 2c34b81d644c: Preparing 16:41:24 e79ba8c90e7b: Preparing 16:41:24 2efbc6451a76: Preparing 16:41:24 345caac56cd5: Preparing 16:41:24 cf9f1121c192: Preparing 16:41:24 ed645820b01d: Preparing 16:41:24 e5e13b0c77cb: Preparing 16:41:24 cf9f1121c192: Waiting 16:41:24 ed645820b01d: Waiting 16:41:24 e5e13b0c77cb: Waiting 16:41:24 345caac56cd5: Waiting 16:41:24 2c34b81d644c: Waiting 16:41:24 e79ba8c90e7b: Waiting 16:41:24 550e596c6d0e: Layer already exists 16:41:24 7f9eaaa1beb6: Layer already exists 16:41:24 ed38e738fddb: Layer already exists 16:41:24 f59cfd3635cb: Layer already exists 16:41:24 1207169bf42c: Layer already exists 16:41:24 2c34b81d644c: Layer already exists 16:41:24 e79ba8c90e7b: Layer already exists 16:41:24 2efbc6451a76: Layer already exists 16:41:24 345caac56cd5: Layer already exists 16:41:24 cf9f1121c192: Layer already exists 16:41:24 ed645820b01d: Layer already exists 16:41:24 e5e13b0c77cb: Layer already exists 16:41:24 latest: digest: sha256:62d41ef67406bac9fbd2643d63540df6f364502d20ae1ee0ede82e20afc17593 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:24 + 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 16:41:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.4 16:41:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:41:25 f59cfd3635cb: Preparing 16:41:25 ed38e738fddb: Preparing 16:41:25 7f9eaaa1beb6: Preparing 16:41:25 550e596c6d0e: Preparing 16:41:25 1207169bf42c: Preparing 16:41:25 2c34b81d644c: Preparing 16:41:25 e79ba8c90e7b: Preparing 16:41:25 2efbc6451a76: Preparing 16:41:25 345caac56cd5: Preparing 16:41:25 cf9f1121c192: Preparing 16:41:25 ed645820b01d: Preparing 16:41:25 e5e13b0c77cb: Preparing 16:41:25 345caac56cd5: Waiting 16:41:25 e79ba8c90e7b: Waiting 16:41:25 2c34b81d644c: Waiting 16:41:25 2efbc6451a76: Waiting 16:41:25 e5e13b0c77cb: Waiting 16:41:25 ed645820b01d: Waiting 16:41:25 ed38e738fddb: Layer already exists 16:41:25 1207169bf42c: Layer already exists 16:41:25 7f9eaaa1beb6: Layer already exists 16:41:25 550e596c6d0e: Layer already exists 16:41:25 f59cfd3635cb: Layer already exists 16:41:25 2c34b81d644c: Layer already exists 16:41:25 cf9f1121c192: Layer already exists 16:41:25 2efbc6451a76: Layer already exists 16:41:25 345caac56cd5: Layer already exists 16:41:25 e79ba8c90e7b: Layer already exists 16:41:25 ed645820b01d: Layer already exists 16:41:25 e5e13b0c77cb: Layer already exists 16:41:25 3.0.0-dev.4: digest: sha256:62d41ef67406bac9fbd2643d63540df6f364502d20ae1ee0ede82e20afc17593 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:25 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:41:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:41:25 Avoid second fetch 16:41:25 Checking out Revision 9bcd451afeb433ee83d3426a4ef1736b40f29807 (main) 16:41:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:41:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:41:25 f59cfd3635cb: Preparing 16:41:25 ed38e738fddb: Preparing 16:41:25 7f9eaaa1beb6: Preparing 16:41:25 550e596c6d0e: Preparing 16:41:25 1207169bf42c: Preparing 16:41:25 2c34b81d644c: Preparing 16:41:25 e79ba8c90e7b: Preparing 16:41:25 2efbc6451a76: Preparing 16:41:25 345caac56cd5: Preparing 16:41:25 cf9f1121c192: Preparing 16:41:25 ed645820b01d: Preparing 16:41:25 e5e13b0c77cb: Preparing 16:41:25 2c34b81d644c: Waiting 16:41:25 e79ba8c90e7b: Waiting 16:41:25 2efbc6451a76: Waiting 16:41:25 345caac56cd5: Waiting 16:41:25 cf9f1121c192: Waiting 16:41:25 ed645820b01d: Waiting 16:41:25 e5e13b0c77cb: Waiting 16:41:25 7f9eaaa1beb6: Layer already exists 16:41:25 550e596c6d0e: Layer already exists 16:41:25 1207169bf42c: Layer already exists 16:41:25 f59cfd3635cb: Layer already exists 16:41:25 ed38e738fddb: Layer already exists 16:41:25 2c34b81d644c: Layer already exists 16:41:25 345caac56cd5: Layer already exists 16:41:25 2efbc6451a76: Layer already exists 16:41:25 e79ba8c90e7b: Layer already exists 16:41:25 cf9f1121c192: Layer already exists 16:41:25 ed645820b01d: Layer already exists 16:41:25 e5e13b0c77cb: Layer already exists 16:41:25 9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4: digest: sha256:62d41ef67406bac9fbd2643d63540df6f364502d20ae1ee0ede82e20afc17593 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:26 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:26 Commit message: "feat: implement rediscovery (#120)" 16:41:26 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 16:41:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:41:26 f59cfd3635cb: Preparing 16:41:26 ed38e738fddb: Preparing 16:41:26 7f9eaaa1beb6: Preparing 16:41:26 550e596c6d0e: Preparing 16:41:26 1207169bf42c: Preparing 16:41:26 2c34b81d644c: Preparing 16:41:26 e79ba8c90e7b: Preparing 16:41:26 2efbc6451a76: Preparing 16:41:26 345caac56cd5: Preparing 16:41:26 cf9f1121c192: Preparing 16:41:26 ed645820b01d: Preparing 16:41:26 e5e13b0c77cb: Preparing 16:41:26 2c34b81d644c: Waiting 16:41:26 e79ba8c90e7b: Waiting 16:41:26 2efbc6451a76: Waiting 16:41:26 345caac56cd5: Waiting 16:41:26 cf9f1121c192: Waiting 16:41:26 ed645820b01d: Waiting 16:41:26 e5e13b0c77cb: Waiting 16:41:26 550e596c6d0e: Layer already exists 16:41:26 7f9eaaa1beb6: Layer already exists 16:41:26 1207169bf42c: Layer already exists 16:41:26 f59cfd3635cb: Layer already exists 16:41:26 ed38e738fddb: Layer already exists 16:41:26 2c34b81d644c: Layer already exists 16:41:26 e79ba8c90e7b: Layer already exists 16:41:26 2efbc6451a76: Layer already exists 16:41:26 345caac56cd5: Layer already exists 16:41:26 cf9f1121c192: Layer already exists 16:41:26 e5e13b0c77cb: Layer already exists 16:41:26 ed645820b01d: Layer already exists 16:41:26 main: digest: sha256:62d41ef67406bac9fbd2643d63540df6f364502d20ae1ee0ede82e20afc17593 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:26 ===================================================== [Pipeline] echo 16:41:26 taggedImages: 16:41:26 - nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807 16:41:26 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:41:26 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.4 16:41:26 - nexus3.edgexfoundry.org:10004/device-usb-camera:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:41:26 - 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:26 16:41:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:25 > git config core.sparsecheckout # timeout=10 16:41:25 > git checkout -f 9bcd451afeb433ee83d3426a4ef1736b40f29807 # timeout=10 16:41:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:27 latest: Pulling from edgex-lftools-log-publisher 16:41:27 5eb5b503b376: Pulling fs layer 16:41:27 5c69ac0246d0: Pulling fs layer 16:41:27 ec43610c2a17: Pulling fs layer 16:41:27 3a2ae6a8a46f: Pulling fs layer 16:41:27 33b1e0a273af: Pulling fs layer 16:41:27 5d3b04190fa2: Pulling fs layer 16:41:27 2f39f015ded8: Pulling fs layer 16:41:27 3a2ae6a8a46f: Waiting 16:41:27 33b1e0a273af: Waiting 16:41:27 5d3b04190fa2: Waiting 16:41:27 2f39f015ded8: Waiting 16:41:27 5c69ac0246d0: Verifying Checksum 16:41:27 5c69ac0246d0: Download complete 16:41:27 3a2ae6a8a46f: Verifying Checksum 16:41:27 3a2ae6a8a46f: Download complete 16:41:27 33b1e0a273af: Verifying Checksum 16:41:27 33b1e0a273af: Download complete 16:41:27 5d3b04190fa2: Verifying Checksum 16:41:27 5d3b04190fa2: Download complete 16:41:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:41:27 % Total % Received % Xferd Average Speed Time Time Time Current 16:41:27 Dload Upload Total Spent Left Speed 16:41:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 78709 16:41:27 ec43610c2a17: Verifying Checksum 16:41:27 ec43610c2a17: Download complete 16:41:27 5eb5b503b376: Verifying Checksum 16:41:27 5eb5b503b376: Download complete [Pipeline] sh 16:41:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:41:28 2f39f015ded8: Verifying Checksum 16:41:28 2f39f015ded8: Download complete 16:41:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:41:28 + sudo tee /etc/docker/daemon.new 16:41:28 { 16:41:28 "registry-mirrors": [ 16:41:28 "https://nexus3.edgexfoundry.org:10001" 16:41:28 ], 16:41:28 "bip": "10.250.0.254/24", 16:41:28 "hosts": [ 16:41:28 "tcp://0.0.0.0:5555", 16:41:28 "unix:///var/run/docker.sock" 16:41:28 ], 16:41:28 "mtu": 1458, 16:41:28 "selinux-enabled": true, 16:41:28 "seccomp-profile": "/etc/docker/seccomp.json" 16:41:28 } [Pipeline] sh 16:41:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:41:28 5eb5b503b376: Pull complete 16:41:28 5c69ac0246d0: Pull complete 16:41:28 + sudo service docker restart 16:41:29 ec43610c2a17: Pull complete 16:41:29 3a2ae6a8a46f: Pull complete 16:41:29 33b1e0a273af: Pull complete 16:41:29 5d3b04190fa2: Pull complete 16:41:33 2f39f015ded8: Pull complete 16:41:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:41:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:33 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:41:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:41:36 $ docker top 8e86ea5f79312a5c27d6df2dbc3cd9da62e87271942708e0cf342b23939d8cba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:37 ---> job-cost.sh 16:41:37 lf-activate-venv: SKIPPING 16:41:37 INFO: No Stack... 16:41:37 INFO: Retrieving Pricing Info for: v3-standard-8 16:41:38 INFO: Archiving Costs [Pipeline] sh 16:41:38 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 16:41:38 + cut -d, -f6 [Pipeline] lock 16:41:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] 16:41:38 Resource [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] did not exist. Created. 16:41:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:38 + echo total: 0.2199999988079071 [Pipeline] stash 16:41:38 Stashed 1 file(s) [Pipeline] } 16:41:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:38 $ docker stop --time=1 8e86ea5f79312a5c27d6df2dbc3cd9da62e87271942708e0cf342b23939d8cba 16:41:39 $ docker rm -f --volumes 8e86ea5f79312a5c27d6df2dbc3cd9da62e87271942708e0cf342b23939d8cba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:47 provisioning config files... 16:41:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/68@tmp/config14880702066148516849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:47 ---> docker-login.sh 16:41:47 nexus3.edgexfoundry.org:10001 16:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:48 Configure a credential helper to remove this warning. See 16:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:48 16:41:48 Login Succeeded 16:41:48 nexus3.edgexfoundry.org:10002 16:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:48 Configure a credential helper to remove this warning. See 16:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:48 16:41:48 Login Succeeded 16:41:48 nexus3.edgexfoundry.org:10003 16:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:49 Configure a credential helper to remove this warning. See 16:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:49 16:41:49 Login Succeeded 16:41:49 nexus3.edgexfoundry.org:10004 16:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:49 Configure a credential helper to remove this warning. See 16:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:49 16:41:49 Login Succeeded 16:41:49 docker.io 16:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:50 Configure a credential helper to remove this warning. See 16:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:50 16:41:50 Login Succeeded 16:41:50 ---> docker-login.sh ends [Pipeline] } 16:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:41:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:50 ========================================================= 16:41:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:41:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:41:51 Sending build context to Docker daemon 1.065MB 16:41:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:41:51 Step 2/13 : FROM ${BASE} AS builder 16:41:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:41:51 9b18e9b68314: Pulling fs layer 16:41:51 35d82f9e3411: Pulling fs layer 16:41:51 e16973657156: Pulling fs layer 16:41:51 fc693d55d65f: Pulling fs layer 16:41:51 7e9fc2657dce: Pulling fs layer 16:41:51 dda99020689f: Pulling fs layer 16:41:51 db1c61fa0a46: Pulling fs layer 16:41:51 891c053d2c06: Pulling fs layer 16:41:51 fc693d55d65f: Waiting 16:41:51 7e9fc2657dce: Waiting 16:41:51 dda99020689f: Waiting 16:41:51 db1c61fa0a46: Waiting 16:41:51 891c053d2c06: Waiting 16:41:51 e16973657156: Verifying Checksum 16:41:51 e16973657156: Download complete 16:41:51 35d82f9e3411: Download complete 16:41:51 7e9fc2657dce: Verifying Checksum 16:41:51 7e9fc2657dce: Download complete 16:41:51 dda99020689f: Download complete 16:41:51 9b18e9b68314: Verifying Checksum 16:41:51 9b18e9b68314: Download complete 16:41:52 9b18e9b68314: Pull complete 16:41:52 891c053d2c06: Verifying Checksum 16:41:52 891c053d2c06: Download complete 16:41:52 35d82f9e3411: Pull complete 16:41:53 e16973657156: Pull complete 16:41:53 db1c61fa0a46: Verifying Checksum 16:41:53 db1c61fa0a46: Download complete 16:41:54 fc693d55d65f: Verifying Checksum 16:41:54 fc693d55d65f: Download complete 16:42:09 fc693d55d65f: Pull complete 16:42:09 7e9fc2657dce: Pull complete 16:42:09 dda99020689f: Pull complete 16:42:13 db1c61fa0a46: Pull complete 16:42:15 891c053d2c06: Pull complete 16:42:15 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:42:15 ---> f96f9c87975a 16:42:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:42:17 ---> Running in 1af2116f6f27 16:42:17 Removing intermediate container 1af2116f6f27 16:42:17 ---> 129219c4f17e 16:42:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:42:17 ---> Running in 98cad9bcae44 16:42:17 Removing intermediate container 98cad9bcae44 16:42:17 ---> 9b296ecb6a57 16:42:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:42:17 ---> Running in ff4c20107285 16:42:18 Removing intermediate container ff4c20107285 16:42:18 ---> fd30cf62d5f8 16:42:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:42:18 ---> Running in 1003fe12fb74 16:42:19 Removing intermediate container 1003fe12fb74 16:42:19 ---> 9b4a22c01985 16:42:19 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:42:19 ---> Running in 3269da7725eb 16:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:42:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:42:22 (1/14) Installing libintl (0.21-r2) 16:42:22 (2/14) Installing eudev-libs (3.2.11-r0) 16:42:22 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:42:22 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:42:22 (5/14) Installing v4l-utils (1.22.1-r1) 16:42:22 (6/14) Installing udev-init-scripts (35-r0) 16:42:22 Executing udev-init-scripts-35-r0.post-install 16:42:22 (7/14) Installing libblkid (2.38-r1) 16:42:22 (8/14) Installing xz-libs (5.2.5-r1) 16:42:22 (9/14) Installing zstd-libs (1.5.2-r1) 16:42:22 (10/14) Installing kmod-libs (29-r2) 16:42:22 (11/14) Installing eudev (3.2.11-r0) 16:42:22 (12/14) Installing eudev-dev (3.2.11-r0) 16:42:22 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:42:22 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:42:22 Executing busybox-1.35.0-r17.trigger 16:42:22 Executing eudev-3.2.11-r0.trigger 16:42:22 OK: 228 MiB in 65 packages 16:42:24 Removing intermediate container 3269da7725eb 16:42:24 ---> cc26dc798525 16:42:24 Step 8/13 : WORKDIR /device-usb-camera 16:42:24 ---> Running in 0658cebaebc8 16:42:24 Removing intermediate container 0658cebaebc8 16:42:24 ---> a04dcd7ea80a 16:42:24 Step 9/13 : COPY go.mod vendor* ./ 16:42:24 ---> 3cccdfdfa7cc 16:42:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:42:24 ---> Running in 3f0c5d3570a0 16:43:21 Removing intermediate container 3f0c5d3570a0 16:43:21 ---> bbe97a71ed49 16:43:21 Step 11/13 : COPY . . 16:43:21 ---> eaa46a810682 16:43:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:43:21 ---> Running in c9e50a7e50cc 16:43:21  % Total % Received % Xferd Average Speed Time Time Time Current 16:43:21 Dload Upload Total Spent Left Speed 16:43:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14008 0 --:--:-- --:--:-- --:--:-- 14160 16:43:21 Removing intermediate container c9e50a7e50cc 16:43:21 ---> 72bad6b5ca4b 16:43:21 Step 13/13 : RUN ${MAKE} 16:43:21 ---> Running in a202a77a0022 16:43:21 noop 16:43:21 Removing intermediate container a202a77a0022 16:43:21 ---> eec24a8e83b9 16:43:21 Successfully built eec24a8e83b9 16:43:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:21 + docker inspect -f . ci-base-image-arm64 16:43:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:43:22 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 16:43:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/68 -v /w/workspace/device-usb-camera/68:/w/workspace/device-usb-camera/68:rw,z -v /w/workspace/device-usb-camera/68@tmp:/w/workspace/device-usb-camera/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:43:23 $ docker top d2841af6fae5eca0a3dec55092735eda2ec7693fe3f183907be4c092f6152a75 -eo pid,comm [Pipeline] { [Pipeline] sh 16:43:23 + go version 16:43:23 go version go1.18.7 linux/arm64 [Pipeline] } 16:43:24 $ docker stop --time=1 d2841af6fae5eca0a3dec55092735eda2ec7693fe3f183907be4c092f6152a75 16:43:25 $ docker rm -f --volumes d2841af6fae5eca0a3dec55092735eda2ec7693fe3f183907be4c092f6152a75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:26 + docker inspect -f . ci-base-image-arm64 16:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:43:26 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 16:43:26 $ 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/68 -v /w/workspace/device-usb-camera/68:/w/workspace/device-usb-camera/68:rw,z -v /w/workspace/device-usb-camera/68@tmp:/w/workspace/device-usb-camera/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:43:27 $ docker top 72fb1d4baa1ec2194a7e7abaf3cbc38e4cabb55c0f97ff63946897f3ec91e193 -eo pid,comm [Pipeline] { [Pipeline] sh 16:43:27 + git config --global --add safe.directory /w/workspace/device-usb-camera/68 [Pipeline] fileExists [Pipeline] sh 16:43:28 + make test 16:43:28 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:43:30 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:45:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:45:06 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.9% of statements 16:45:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:45:06 CGO_ENABLED=1 go vet ./... 16:45:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:45:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:45:29 ./bin/test-attribution-txt.sh [Pipeline] echo 16:45:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:45:29 $ docker stop --time=1 72fb1d4baa1ec2194a7e7abaf3cbc38e4cabb55c0f97ff63946897f3ec91e193 16:45:31 $ docker rm -f --volumes 72fb1d4baa1ec2194a7e7abaf3cbc38e4cabb55c0f97ff63946897f3ec91e193 [Pipeline] // withDockerContainer [Pipeline] sh 16:45:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:45:32 Warning: overwriting stash ‘coverage-report’ 16:45:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:45:33 + ls -al . 16:45:33 total 200 16:45:33 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 16:43 . 16:45:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:41 .. 16:45:33 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 16:41 .git 16:45:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:41 .github 16:45:33 -rw-rw-r-- 1 jenkins jenkins 414 Jan 3 16:41 .gitignore 16:45:33 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 16:41 .golangci.yml 16:45:33 -rw-rw-r-- 1 jenkins jenkins 77 Jan 3 16:41 .hadolint.yml 16:45:33 -rw-rw-r-- 1 jenkins jenkins 9702 Jan 3 16:41 Attribution.txt 16:45:33 -rw-rw-r-- 1 jenkins jenkins 5460 Jan 3 16:41 CHANGELOG.md 16:45:33 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 3 16:41 Dockerfile 16:45:33 -rw-rw-r-- 1 jenkins jenkins 678 Jan 3 16:41 GOVERNANCE.md 16:45:33 -rw-rw-r-- 1 jenkins jenkins 659 Jan 3 16:41 Jenkinsfile 16:45:33 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 16:41 LICENSE 16:45:33 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 3 16:41 Makefile 16:45:33 -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 16:41 OWNERS.md 16:45:33 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 3 16:41 README.md 16:45:33 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 16:39 VERSION 16:45:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 16:41 bin 16:45:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:41 cmd 16:45:33 -rw-r--r-- 1 jenkins jenkins 30666 Jan 3 16:45 coverage.out 16:45:33 -rwxrwxr-x 1 jenkins jenkins 140 Jan 3 16:41 docker-entrypoint.sh 16:45:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:41 docs 16:45:33 -rw-rw-r-- 1 jenkins jenkins 3573 Jan 3 16:41 go.mod 16:45:33 -rw-rw-r-- 1 jenkins jenkins 45026 Jan 3 16:41 go.sum 16:45:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 16:41 internal 16:45:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 16:41 snap 16:45:33 -rw-rw-r-- 1 jenkins jenkins 231 Jan 3 16:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:33 + 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=9bcd451afeb433ee83d3426a4ef1736b40f29807 --label arch=arm64 --label version=3.0.0-dev.4 . 16:45:34 Sending build context to Docker daemon 1.097MB 16:45:34 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:45:34 Step 2/35 : FROM ${BASE} AS builder 16:45:34 ---> eec24a8e83b9 16:45:34 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:45:34 ---> Running in bb57f8cb1a43 16:45:34 Removing intermediate container bb57f8cb1a43 16:45:34 ---> 6e59f78b7705 16:45:34 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:45:34 ---> Running in 8a74b8db09a3 16:45:35 Removing intermediate container 8a74b8db09a3 16:45:35 ---> a3a920841b56 16:45:35 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:45:35 ---> Running in e4ab6dcfc758 16:45:35 Removing intermediate container e4ab6dcfc758 16:45:35 ---> 08d322eedcf5 16:45:35 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:45:35 ---> Running in 6b7a2b452f82 16:45:36 Removing intermediate container 6b7a2b452f82 16:45:36 ---> 85b002833224 16:45:36 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:36 ---> Running in 08310a0c601a 16:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:45:38 OK: 228 MiB in 65 packages 16:45:39 Removing intermediate container 08310a0c601a 16:45:39 ---> 93f0f1e209c3 16:45:39 Step 8/35 : WORKDIR /device-usb-camera 16:45:39 ---> Running in 28e00a5f1034 16:45:40 Removing intermediate container 28e00a5f1034 16:45:40 ---> 88c60525901c 16:45:40 Step 9/35 : COPY go.mod vendor* ./ 16:45:40 ---> ea243fb2360c 16:45:40 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:45:40 ---> Running in 482b34275fbe 16:45:45 Removing intermediate container 482b34275fbe 16:45:45 ---> 771d7e052170 16:45:45 Step 11/35 : COPY . . 16:45:46 ---> 86edd1c76ede 16:45:46 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:45:46 ---> Running in 483fb9684e9c 16:45:47  % Total % Received % Xferd Average Speed Time Time Time Current 16:45:47 Dload Upload Total Spent Left Speed 16:45:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5909 0 --:--:-- --:--:-- --:--:-- 5932 16:45:48 Removing intermediate container 483fb9684e9c 16:45:48 ---> f192719236f1 16:45:48 Step 13/35 : RUN ${MAKE} 16:45:48 ---> Running in 0cff51670957 16:45:49 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:48:41 Removing intermediate container 0cff51670957 16:48:41 ---> 06c5402c3d48 16:48:41 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:48:41 v0.18.4: Pulling from aler9/rtsp-simple-server 16:48:41 eab2503cf8f4: Pulling fs layer 16:48:41 97cd0a44c592: Pulling fs layer 16:48:41 97cd0a44c592: Download complete 16:48:41 eab2503cf8f4: Verifying Checksum 16:48:41 eab2503cf8f4: Download complete 16:48:41 eab2503cf8f4: Pull complete 16:48:41 97cd0a44c592: Pull complete 16:48:41 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:48:41 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:48:41 ---> 7f763cca56b3 16:48:41 Step 15/35 : FROM alpine:3.16 16:48:41 3.16: Pulling from library/alpine 16:48:41 6875df1f5354: Pulling fs layer 16:48:41 6875df1f5354: Download complete 16:48:41 6875df1f5354: Pull complete 16:48:41 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:48:41 Status: Downloaded newer image for alpine:3.16 16:48:41 ---> 2b4661558fb8 16:48:41 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:48:41 ---> Running in 4568a2a37f06 16:48:41 Removing intermediate container 4568a2a37f06 16:48:41 ---> 037e6e49e208 16:48:41 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:48:41 ---> Running in 06d2381391e1 16:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:48:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:48:41 (1/82) Installing dumb-init (1.2.5-r1) 16:48:41 (2/82) Installing sdl2 (2.0.22-r0) 16:48:41 (3/82) Installing libxau (1.0.9-r0) 16:48:41 (4/82) Installing libxdmcp (1.1.3-r0) 16:48:41 (5/82) Installing libxcb (1.15-r0) 16:48:41 (6/82) Installing libx11 (1.8-r0) 16:48:41 (7/82) Installing aom-libs (3.3.0-r0) 16:48:41 (8/82) Installing alsa-lib (1.2.7.2-r0) 16:48:41 (9/82) Installing expat (2.5.0-r0) 16:48:41 (10/82) Installing brotli-libs (1.0.9-r6) 16:48:41 (11/82) Installing libbz2 (1.0.8-r1) 16:48:41 (12/82) Installing libpng (1.6.37-r1) 16:48:41 (13/82) Installing freetype (2.12.1-r0) 16:48:41 (14/82) Installing fontconfig (2.14.0-r0) 16:48:41 (15/82) Installing fribidi (1.0.12-r0) 16:48:41 (16/82) Installing libffi (3.4.2-r1) 16:48:41 (17/82) Installing libintl (0.21-r2) 16:48:41 (18/82) Installing libblkid (2.38-r1) 16:48:41 (19/82) Installing libmount (2.38-r1) 16:48:41 (20/82) Installing pcre (8.45-r2) 16:48:41 (21/82) Installing glib (2.72.1-r0) 16:48:41 (22/82) Installing graphite2 (1.3.14-r1) 16:48:41 (23/82) Installing harfbuzz (4.3.0-r0) 16:48:41 (24/82) Installing libass (0.16.0-r0) 16:48:41 (25/82) Installing libdav1d (1.0.0-r0) 16:48:41 (26/82) Installing libdrm (2.4.110-r0) 16:48:41 (27/82) Installing gmp (6.2.1-r2) 16:48:41 (28/82) Installing nettle (3.7.3-r0) 16:48:41 (29/82) Installing p11-kit (0.24.1-r0) 16:48:41 (30/82) Installing libtasn1 (4.18.0-r1) 16:48:41 (31/82) Installing libunistring (1.0-r0) 16:48:41 (32/82) Installing gnutls (3.7.7-r0) 16:48:41 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:48:41 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 16:48:41 (35/82) Installing lame (3.100-r0) 16:48:41 (36/82) Installing opus (1.3.1-r1) 16:48:41 (37/82) Installing libasyncns (0.8-r1) 16:48:41 (38/82) Installing dbus-libs (1.14.4-r0) 16:48:41 (39/82) Installing libltdl (2.4.7-r0) 16:48:41 (40/82) Installing orc (0.4.32-r0) 16:48:41 (41/82) Installing libgcc (11.2.1_git20220219-r2) 16:48:41 (42/82) Installing libogg (1.3.5-r1) 16:48:41 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 16:48:41 (44/82) Installing flac (1.3.4-r0) 16:48:41 (45/82) Installing libvorbis (1.3.7-r0) 16:48:41 (46/82) Installing libsndfile (1.1.0-r0) 16:48:41 (47/82) Installing libgomp (11.2.1_git20220219-r2) 16:48:41 (48/82) Installing soxr (0.1.3-r2) 16:48:41 (49/82) Installing speexdsp (1.2.0-r0) 16:48:41 (50/82) Installing tdb-libs (1.4.6-r0) 16:48:41 (51/82) Installing libpulse (15.0-r2) 16:48:41 (52/82) Installing cjson (1.7.15-r3) 16:48:41 (53/82) Installing mbedtls (2.28.2-r0) 16:48:41 (54/82) Installing librist (0.2.6-r1) 16:48:41 (55/82) Installing libsrt (1.4.4-r0) 16:48:41 (56/82) Installing libssh (0.9.6-r1) 16:48:41 (57/82) Installing libtheora (1.1.1-r16) 16:48:41 (58/82) Installing libjpeg-turbo (2.1.3-r1) 16:48:41 (59/82) Installing v4l-utils-libs (1.22.1-r1) 16:48:41 (60/82) Installing libxext (1.3.4-r0) 16:48:41 (61/82) Installing libxfixes (6.0.0-r0) 16:48:41 (62/82) Installing wayland-libs-client (1.20.0-r0) 16:48:41 (63/82) Installing libva (2.14.0-r0) 16:48:41 (64/82) Installing libvdpau (1.5-r0) 16:48:41 (65/82) Installing vidstab (1.1.0-r1) 16:48:41 (66/82) Installing libvpx (1.11.0-r1) 16:48:41 (67/82) Installing libwebp (1.2.3-r0) 16:48:41 (68/82) Installing x264-libs (0.163_git20210613-r0) 16:48:41 (69/82) Installing numactl (2.0.14-r0) 16:48:41 (70/82) Installing x265-libs (3.5-r3) 16:48:41 (71/82) Installing xvidcore (1.3.7-r1) 16:48:41 (72/82) Installing ffmpeg-libs (5.0.1-r1) 16:48:41 (73/82) Installing ffmpeg (5.0.1-r1) 16:48:41 (74/82) Installing udev-init-scripts (35-r0) 16:48:41 Executing udev-init-scripts-35-r0.post-install 16:48:41 (75/82) Installing eudev-libs (3.2.11-r0) 16:48:41 (76/82) Installing xz-libs (5.2.5-r1) 16:48:41 (77/82) Installing zstd-libs (1.5.2-r1) 16:48:41 (78/82) Installing kmod-libs (29-r2) 16:48:41 (79/82) Installing eudev (3.2.11-r0) 16:48:41 (80/82) Installing libsodium (1.0.18-r0) 16:48:41 (81/82) Installing libzmq (4.3.4-r0) 16:48:41 (82/82) Installing zeromq (4.3.4-r0) 16:48:41 Executing busybox-1.35.0-r17.trigger 16:48:41 Executing eudev-3.2.11-r0.trigger 16:48:41 OK: 78 MiB in 96 packages 16:48:41 Removing intermediate container 06d2381391e1 16:48:41 ---> 3648bb94068e 16:48:41 Step 18/35 : WORKDIR / 16:48:41 ---> Running in 9c9ef9c8079b 16:48:41 Removing intermediate container 9c9ef9c8079b 16:48:41 ---> 73f4639e51a5 16:48:41 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:48:43 ---> baaca1cc27f3 16:48:43 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:48:43 ---> 7437e53bdc48 16:48:43 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:48:44 ---> 1c8c0ad6d9f2 16:48:44 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:48:44 ---> 77c32157d0a9 16:48:44 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:48:44 ---> 01a304ad977f 16:48:44 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:48:45 ---> b99c2824ece5 16:48:45 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:48:46 ---> f35771de51ca 16:48:46 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:48:46 ---> Running in f8bbc75a9240 16:48:48 Removing intermediate container f8bbc75a9240 16:48:48 ---> a4f802267ed0 16:48:48 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:48:48 ---> Running in 4f2f3946c11d 16:48:52 Removing intermediate container 4f2f3946c11d 16:48:52 ---> 06a9d72fbd43 16:48:52 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:48:52 ---> Running in 6b2ff27ed3a3 16:48:53 Removing intermediate container 6b2ff27ed3a3 16:48:53 ---> 7ad4f48033e1 16:48:53 Step 29/35 : EXPOSE 59983 16:48:53 ---> Running in ebe95d68e6f6 16:48:54 Removing intermediate container ebe95d68e6f6 16:48:54 ---> 43f5c361f3fa 16:48:54 Step 30/35 : EXPOSE 8554 16:48:54 ---> Running in a2aee23f452f 16:48:54 Removing intermediate container a2aee23f452f 16:48:54 ---> a72eabd0a02d 16:48:54 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:48:54 ---> Running in 2145c25286b8 16:48:54 Removing intermediate container 2145c25286b8 16:48:54 ---> 3b3f91d0994c 16:48:54 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:48:54 ---> Running in 08be4690789b 16:48:55 Removing intermediate container 08be4690789b 16:48:55 ---> 9003f227abc8 16:48:55 Step 33/35 : LABEL arch=arm64 16:48:55 ---> Running in 65b39feb0a7c 16:48:55 Removing intermediate container 65b39feb0a7c 16:48:55 ---> 91dab97a02a0 16:48:55 Step 34/35 : LABEL git_sha=9bcd451afeb433ee83d3426a4ef1736b40f29807 16:48:55 ---> Running in 10d4649903b9 16:48:55 Removing intermediate container 10d4649903b9 16:48:55 ---> 066cd53bd7b6 16:48:55 Step 35/35 : LABEL version=3.0.0-dev.4 16:48:55 ---> Running in 91e256134cff 16:48:56 Removing intermediate container 91e256134cff 16:48:56 ---> 541aec0ed80a 16:48:56 [Warning] One or more build-args [ARCH] were not consumed 16:48:56 Successfully built 541aec0ed80a 16:48:56 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:56 provisioning config files... 16:48:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/68@tmp/config8196231664463442280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:56 ---> docker-login.sh 16:48:56 nexus3.edgexfoundry.org:10001 16:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:56 Configure a credential helper to remove this warning. See 16:48:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:56 16:48:56 Login Succeeded 16:48:56 nexus3.edgexfoundry.org:10002 16:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:57 Configure a credential helper to remove this warning. See 16:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:57 16:48:57 Login Succeeded 16:48:57 nexus3.edgexfoundry.org:10003 16:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:57 Configure a credential helper to remove this warning. See 16:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:57 16:48:57 Login Succeeded 16:48:57 nexus3.edgexfoundry.org:10004 16:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:57 Configure a credential helper to remove this warning. See 16:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:57 16:48:57 Login Succeeded 16:48:57 docker.io 16:48:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:58 Configure a credential helper to remove this warning. See 16:48:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:58 16:48:58 Login Succeeded 16:48:58 ---> docker-login.sh ends [Pipeline] } 16:48:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:48:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:58 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 16:48:58 9bcd451afeb433ee83d3426a4ef1736b40f29807 16:48:58 latest 16:48:58 3.0.0-dev.4 16:48:58 9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:48:58 main 16:48:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:58 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807 16:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:48:59 e8a7851f5cb8: Preparing 16:48:59 62bbf7460038: Preparing 16:48:59 a282ed6407ab: Preparing 16:48:59 a43932d1df72: Preparing 16:48:59 1207169bf42c: Preparing 16:48:59 72d7f2dc11e0: Preparing 16:48:59 0bb39a068a08: Preparing 16:48:59 c78717e6ca94: Preparing 16:48:59 fd8800c16d40: Preparing 16:48:59 34f120ba7ded: Preparing 16:48:59 6870d1cec430: Preparing 16:48:59 17bec77d7fdc: Preparing 16:48:59 c78717e6ca94: Waiting 16:48:59 fd8800c16d40: Waiting 16:48:59 34f120ba7ded: Waiting 16:48:59 6870d1cec430: Waiting 16:48:59 17bec77d7fdc: Waiting 16:48:59 0bb39a068a08: Waiting 16:48:59 1207169bf42c: Pushed 16:48:59 62bbf7460038: Pushed 16:48:59 e8a7851f5cb8: Pushed 16:48:59 a282ed6407ab: Pushed 16:48:59 72d7f2dc11e0: Pushed 16:48:59 0bb39a068a08: Pushed 16:48:59 c78717e6ca94: Pushed 16:48:59 fd8800c16d40: Pushed 16:48:59 17bec77d7fdc: Layer already exists 16:49:04 a43932d1df72: Pushed 16:49:05 34f120ba7ded: Pushed 16:49:15 6870d1cec430: Pushed 16:49:15 9bcd451afeb433ee83d3426a4ef1736b40f29807: digest: sha256:3819ef58d0c16690c7374b655f8dd1c7f9a7f242c8a715c7ef22ee32a758b932 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:49:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:49:16 e8a7851f5cb8: Preparing 16:49:16 62bbf7460038: Preparing 16:49:16 a282ed6407ab: Preparing 16:49:16 a43932d1df72: Preparing 16:49:16 1207169bf42c: Preparing 16:49:16 72d7f2dc11e0: Preparing 16:49:16 0bb39a068a08: Preparing 16:49:16 c78717e6ca94: Preparing 16:49:16 fd8800c16d40: Preparing 16:49:16 34f120ba7ded: Preparing 16:49:16 6870d1cec430: Preparing 16:49:16 17bec77d7fdc: Preparing 16:49:16 72d7f2dc11e0: Waiting 16:49:16 0bb39a068a08: Waiting 16:49:16 c78717e6ca94: Waiting 16:49:16 fd8800c16d40: Waiting 16:49:16 6870d1cec430: Waiting 16:49:16 34f120ba7ded: Waiting 16:49:16 17bec77d7fdc: Waiting 16:49:16 a282ed6407ab: Layer already exists 16:49:16 62bbf7460038: Layer already exists 16:49:16 e8a7851f5cb8: Layer already exists 16:49:16 1207169bf42c: Layer already exists 16:49:16 a43932d1df72: Layer already exists 16:49:16 72d7f2dc11e0: Layer already exists 16:49:16 0bb39a068a08: Layer already exists 16:49:16 fd8800c16d40: Layer already exists 16:49:16 c78717e6ca94: Layer already exists 16:49:16 34f120ba7ded: Layer already exists 16:49:16 17bec77d7fdc: Layer already exists 16:49:16 6870d1cec430: Layer already exists 16:49:16 latest: digest: sha256:3819ef58d0c16690c7374b655f8dd1c7f9a7f242c8a715c7ef22ee32a758b932 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:17 + 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 16:49:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.4 16:49:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:49:17 e8a7851f5cb8: Preparing 16:49:17 62bbf7460038: Preparing 16:49:17 a282ed6407ab: Preparing 16:49:17 a43932d1df72: Preparing 16:49:17 1207169bf42c: Preparing 16:49:17 72d7f2dc11e0: Preparing 16:49:17 0bb39a068a08: Preparing 16:49:17 c78717e6ca94: Preparing 16:49:17 fd8800c16d40: Preparing 16:49:17 34f120ba7ded: Preparing 16:49:17 72d7f2dc11e0: Waiting 16:49:17 0bb39a068a08: Waiting 16:49:17 c78717e6ca94: Waiting 16:49:17 fd8800c16d40: Waiting 16:49:17 34f120ba7ded: Waiting 16:49:17 6870d1cec430: Preparing 16:49:17 17bec77d7fdc: Preparing 16:49:17 17bec77d7fdc: Waiting 16:49:17 6870d1cec430: Waiting 16:49:17 62bbf7460038: Layer already exists 16:49:17 a282ed6407ab: Layer already exists 16:49:17 1207169bf42c: Layer already exists 16:49:17 a43932d1df72: Layer already exists 16:49:17 e8a7851f5cb8: Layer already exists 16:49:17 72d7f2dc11e0: Layer already exists 16:49:17 fd8800c16d40: Layer already exists 16:49:17 c78717e6ca94: Layer already exists 16:49:17 34f120ba7ded: Layer already exists 16:49:17 0bb39a068a08: Layer already exists 16:49:17 17bec77d7fdc: Layer already exists 16:49:17 6870d1cec430: Layer already exists 16:49:17 3.0.0-dev.4: digest: sha256:3819ef58d0c16690c7374b655f8dd1c7f9a7f242c8a715c7ef22ee32a758b932 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:49:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:49:18 e8a7851f5cb8: Preparing 16:49:18 62bbf7460038: Preparing 16:49:18 a282ed6407ab: Preparing 16:49:18 a43932d1df72: Preparing 16:49:18 1207169bf42c: Preparing 16:49:18 72d7f2dc11e0: Preparing 16:49:18 0bb39a068a08: Preparing 16:49:18 c78717e6ca94: Preparing 16:49:18 fd8800c16d40: Preparing 16:49:18 34f120ba7ded: Preparing 16:49:18 6870d1cec430: Preparing 16:49:18 17bec77d7fdc: Preparing 16:49:18 fd8800c16d40: Waiting 16:49:18 c78717e6ca94: Waiting 16:49:18 34f120ba7ded: Waiting 16:49:18 6870d1cec430: Waiting 16:49:18 17bec77d7fdc: Waiting 16:49:18 72d7f2dc11e0: Waiting 16:49:18 0bb39a068a08: Waiting 16:49:18 1207169bf42c: Layer already exists 16:49:18 a43932d1df72: Layer already exists 16:49:18 e8a7851f5cb8: Layer already exists 16:49:18 62bbf7460038: Layer already exists 16:49:18 a282ed6407ab: Layer already exists 16:49:18 72d7f2dc11e0: Layer already exists 16:49:18 c78717e6ca94: Layer already exists 16:49:18 34f120ba7ded: Layer already exists 16:49:18 0bb39a068a08: Layer already exists 16:49:18 fd8800c16d40: Layer already exists 16:49:18 17bec77d7fdc: Layer already exists 16:49:18 6870d1cec430: Layer already exists 16:49:18 9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4: digest: sha256:3819ef58d0c16690c7374b655f8dd1c7f9a7f242c8a715c7ef22ee32a758b932 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 16:49:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:49:19 e8a7851f5cb8: Preparing 16:49:19 62bbf7460038: Preparing 16:49:19 a282ed6407ab: Preparing 16:49:19 a43932d1df72: Preparing 16:49:19 1207169bf42c: Preparing 16:49:19 72d7f2dc11e0: Preparing 16:49:19 0bb39a068a08: Preparing 16:49:19 c78717e6ca94: Preparing 16:49:19 fd8800c16d40: Preparing 16:49:19 34f120ba7ded: Preparing 16:49:19 6870d1cec430: Preparing 16:49:19 17bec77d7fdc: Preparing 16:49:19 72d7f2dc11e0: Waiting 16:49:19 fd8800c16d40: Waiting 16:49:19 34f120ba7ded: Waiting 16:49:19 6870d1cec430: Waiting 16:49:19 17bec77d7fdc: Waiting 16:49:19 c78717e6ca94: Waiting 16:49:19 0bb39a068a08: Waiting 16:49:19 a43932d1df72: Layer already exists 16:49:19 e8a7851f5cb8: Layer already exists 16:49:19 a282ed6407ab: Layer already exists 16:49:19 1207169bf42c: Layer already exists 16:49:19 62bbf7460038: Layer already exists 16:49:19 0bb39a068a08: Layer already exists 16:49:19 72d7f2dc11e0: Layer already exists 16:49:19 c78717e6ca94: Layer already exists 16:49:19 34f120ba7ded: Layer already exists 16:49:19 fd8800c16d40: Layer already exists 16:49:19 6870d1cec430: Layer already exists 16:49:19 17bec77d7fdc: Layer already exists 16:49:19 main: digest: sha256:3819ef58d0c16690c7374b655f8dd1c7f9a7f242c8a715c7ef22ee32a758b932 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:49:19 ===================================================== [Pipeline] echo 16:49:19 taggedImages: 16:49:19 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807 16:49:19 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:49:19 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.4 16:49:19 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9bcd451afeb433ee83d3426a4ef1736b40f29807-3.0.0-dev.4 16:49:19 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:20 16:49:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:20 arm64: Pulling from edgex-lftools-log-publisher 16:49:20 8998bd30e6a1: Pulling fs layer 16:49:20 04944245beec: Pulling fs layer 16:49:20 699f458cf7ca: Pulling fs layer 16:49:20 765212b225bb: Pulling fs layer 16:49:20 f23df028b6ca: Pulling fs layer 16:49:20 d65c8cfc05b1: Pulling fs layer 16:49:20 2437ff75d9bd: Pulling fs layer 16:49:20 f23df028b6ca: Waiting 16:49:20 d65c8cfc05b1: Waiting 16:49:20 2437ff75d9bd: Waiting 16:49:20 765212b225bb: Waiting 16:49:20 04944245beec: Verifying Checksum 16:49:20 04944245beec: Download complete 16:49:20 765212b225bb: Verifying Checksum 16:49:20 765212b225bb: Download complete 16:49:20 f23df028b6ca: Verifying Checksum 16:49:20 f23df028b6ca: Download complete 16:49:20 d65c8cfc05b1: Verifying Checksum 16:49:20 d65c8cfc05b1: Download complete 16:49:20 699f458cf7ca: Verifying Checksum 16:49:20 699f458cf7ca: Download complete 16:49:21 8998bd30e6a1: Verifying Checksum 16:49:21 8998bd30e6a1: Download complete 16:49:23 2437ff75d9bd: Verifying Checksum 16:49:23 2437ff75d9bd: Download complete 16:49:25 8998bd30e6a1: Pull complete 16:49:25 04944245beec: Pull complete 16:49:27 699f458cf7ca: Pull complete 16:49:27 765212b225bb: Pull complete 16:49:28 f23df028b6ca: Pull complete 16:49:28 d65c8cfc05b1: Pull complete 16:49:43 2437ff75d9bd: Pull complete 16:49:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:49:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:43 prd-ubuntu20.04-docker-arm64-4c-16g-906 does not seem to be running inside a container 16:49:43 $ 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/68 -v /w/workspace/device-usb-camera/68:/w/workspace/device-usb-camera/68:rw,z -v /w/workspace/device-usb-camera/68@tmp:/w/workspace/device-usb-camera/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:49:46 $ docker top 401a2add8567401a74497f49fa4f73d51ccd92ae6358300e28ea4878ce1b6df7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:47 ---> job-cost.sh 16:49:47 lf-activate-venv: SKIPPING 16:49:47 INFO: No Stack... 16:49:47 INFO: Retrieving Pricing Info for: v3-standard-4 16:49:48 INFO: Archiving Costs [Pipeline] sh 16:49:48 + cat /w/workspace/device-usb-camera/68/archives/cost.csv 16:49:48 + cut -d, -f6 [Pipeline] lock 16:49:49 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] 16:49:49 Resource [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] did not exist. Created. 16:49:49 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:49:49 /w/workspace/device-usb-camera/68@tmp/durable-00f8354d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:49:50 + echo total: 0.10999999940395355 [Pipeline] stash 16:49:50 Warning: overwriting stash ‘stack-cost’ 16:49:50 Stashed 1 file(s) [Pipeline] } 16:49:50 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 16:49:50 $ docker stop --time=1 401a2add8567401a74497f49fa4f73d51ccd92ae6358300e28ea4878ce1b6df7 16:49:52 $ docker rm -f --volumes 401a2add8567401a74497f49fa4f73d51ccd92ae6358300e28ea4878ce1b6df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:49:52 provisioning config files... 16:49:52 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16759446806029624624tmp [Pipeline] { [Pipeline] sh 16:49:52 + set +x 16:49:52 + curl -s https://codecov.io/bash 16:49:52 + bash -s -- 16:49:52 16:49:52 _____ _ 16:49:52 / ____| | | 16:49:52 | | ___ __| | ___ ___ _____ __ 16:49:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:49:52 | |___| (_) | (_| | __/ (_| (_) \ V / 16:49:52 \_____\___/ \__,_|\___|\___\___/ \_/ 16:49:52 Bash-1.0.6 16:49:52 16:49:52 16:49:52 ==> git version 2.25.1 found 16:49:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:49:52 Release-Date: 2020-01-08 16:49:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:49:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:49:52 ==> Jenkins CI detected. 16:49:52 current dir:  /w/workspace/exfoundry_device-usb-camera_main 16:49:52 project root: . 16:49:52 --> token set from env 16:49:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:49:52 ==> Running gcov in . (disable via -X gcov) 16:49:52 ==> Python coveragepy not found 16:49:52 ==> Searching for coverage reports in: 16:49:52 + . 16:49:52 -> Found 1 reports 16:49:52 ==> Detecting git/mercurial file structure 16:49:53 ==> Reading reports 16:49:53 + ./coverage.out bytes=30666 16:49:53 ==> Appending adjustments 16:49:53 https://docs.codecov.io/docs/fixing-reports 16:49:53 + Found adjustments 16:49:53 ==> Gzipping contents 16:49:53 8.0K /tmp/codecov.0g8beS.gz 16:49:53 ==> Uploading reports 16:49:53 url: https://codecov.io 16:49:53 query: branch=main&commit=9bcd451afeb433ee83d3426a4ef1736b40f29807&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:49:53 -> Pinging Codecov 16:49:53 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=9bcd451afeb433ee83d3426a4ef1736b40f29807&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:49:53 -> Uploading to 16:49:53 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/73D8F5FF140700D3E01443B452E23636/9bcd451afeb433ee83d3426a4ef1736b40f29807/baaa1c78-eb91-4c3b-82ea-c555c211243b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T164953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=35a128953918388e42017afded98d598512189ab5a0fc424c2f84b46c8e313e3 16:49:53 % Total % Received % Xferd Average Speed Time Time Time Current 16:49:53 Dload Upload Total Spent Left Speed 16:49:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4338 0 0 100 4338 0 18779 --:--:-- --:--:-- --:--:-- 18860 16:49:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] } 16:49:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:49:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:49:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:49:54 16:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:49:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:49:54 df9b9388f04a: Pulling fs layer 16:49:54 52dc419b0ee2: Pulling fs layer 16:49:54 25bc292e5bac: Pulling fs layer 16:49:54 114826534d7a: Pulling fs layer 16:49:54 4657fd5d0bcf: Pulling fs layer 16:49:54 114826534d7a: Waiting 16:49:54 6ad1cebc031e: Pulling fs layer 16:49:54 4657fd5d0bcf: Waiting 16:49:54 8a3aa393b2d8: Pulling fs layer 16:49:54 6ad1cebc031e: Waiting 16:49:54 8a3aa393b2d8: Waiting 16:49:54 25bc292e5bac: Download complete 16:49:54 52dc419b0ee2: Verifying Checksum 16:49:54 52dc419b0ee2: Download complete 16:49:54 4657fd5d0bcf: Verifying Checksum 16:49:54 4657fd5d0bcf: Download complete 16:49:54 df9b9388f04a: Download complete 16:49:54 df9b9388f04a: Pull complete 16:49:54 6ad1cebc031e: Verifying Checksum 16:49:54 6ad1cebc031e: Download complete 16:49:54 52dc419b0ee2: Pull complete 16:49:54 25bc292e5bac: Pull complete 16:49:55 114826534d7a: Download complete 16:49:55 8a3aa393b2d8: Verifying Checksum 16:49:55 8a3aa393b2d8: Download complete 16:49:59 114826534d7a: Pull complete 16:49:59 4657fd5d0bcf: Pull complete 16:49:59 6ad1cebc031e: Pull complete 16:50:01 8a3aa393b2d8: Pull complete 16:50:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:50:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:02 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:50:05 $ docker top 527fced103ef159639ccede260149cbd155e46704b0dd34eddd1002aab0f9898 -eo pid,comm [Pipeline] { [Pipeline] echo 16:50:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 16:50:06 + set -o pipefail 16:50:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 16:50:14 16:50:14 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 16:50:14 16:50:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/53ec3f26-43c4-46d2-b371-f31faaca7c9f 16:50:14 16:50:14 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:50:14 16:50:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:50:14 16:50:14 16:50:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:50:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:50:14 More details here: https://snyk.co/ue1NS [Pipeline] } 16:50:14 $ docker stop --time=1 527fced103ef159639ccede260149cbd155e46704b0dd34eddd1002aab0f9898 16:50:17 $ docker rm -f --volumes 527fced103ef159639ccede260149cbd155e46704b0dd34eddd1002aab0f9898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:18 + git log --format=format:%s -1 9bcd451afeb433ee83d3426a4ef1736b40f29807 [Pipeline] sh 16:50:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:50:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:50:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:19 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:50:19 $ docker top 3c631b6f51ab73aa1850e044d7b64444d92bb9ca0e64d8f44a3eba6cb31e6768 -eo pid,comm 16:50:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:50:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:50:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:50:19 [ssh-agent] Looking for ssh-agent implementation... 16:50:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:50:19 $ docker exec 3c631b6f51ab73aa1850e044d7b64444d92bb9ca0e64d8f44a3eba6cb31e6768 ssh-agent 16:50:19 SSH_AUTH_SOCK=/tmp/ssh-4ruhQqaxl1tu/agent.32 16:50:19 SSH_AGENT_PID=38 16:50:19 Running ssh-add (command line suppressed) 16:50:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11671115081582768046.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11671115081582768046.key) 16:50:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:50:20 + git semver tag 16:50:20 2023-01-03 16:50:20,563 [run_tag] DEBUG tag force:False 16:50:20 2023-01-03 16:50:20,563 [check_head_tag] DEBUG check head tag 16:50:20 2023-01-03 16:50:20,564 [execute] INFO git cat-file --batch-check 16:50:20 2023-01-03 16:50:20,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:50:20 2023-01-03 16:50:20,568 [execute] INFO git cat-file --batch 16:50:20 2023-01-03 16:50:20,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:50:20 2023-01-03 16:50:20,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:20 2023-01-03 16:50:20,590 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 16:50:20 2023-01-03 16:50:20,590 [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) 16:50:20 2023-01-03 16:50:20,595 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:20 3.0.0-dev.4 [Pipeline] } 16:50:20 $ docker exec --env ******** --env ******** 3c631b6f51ab73aa1850e044d7b64444d92bb9ca0e64d8f44a3eba6cb31e6768 ssh-agent -k 16:50:20 unset SSH_AUTH_SOCK; 16:50:20 unset SSH_AGENT_PID; 16:50:20 echo Agent pid 38 killed; 16:50:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:50:21 + git semver [Pipeline] } 16:50:21 $ docker stop --time=1 3c631b6f51ab73aa1850e044d7b64444d92bb9ca0e64d8f44a3eba6cb31e6768 16:50:22 $ docker rm -f --volumes 3c631b6f51ab73aa1850e044d7b64444d92bb9ca0e64d8f44a3eba6cb31e6768 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:50:22 16:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:50:23 0.23.1-centos7: Pulling from edgex-lftools 16:50:23 ab5ef0e58194: Pulling fs layer 16:50:23 9712f1f96733: Pulling fs layer 16:50:23 63f879dbbcfc: Pulling fs layer 16:50:23 0d9ebad4ef96: Pulling fs layer 16:50:23 e9a5061849ea: Pulling fs layer 16:50:23 d747dcd14b5f: Pulling fs layer 16:50:23 2de7ff778b66: Pulling fs layer 16:50:23 0d9ebad4ef96: Waiting 16:50:23 e9a5061849ea: Waiting 16:50:23 2de7ff778b66: Waiting 16:50:23 9712f1f96733: Verifying Checksum 16:50:23 9712f1f96733: Download complete 16:50:23 63f879dbbcfc: Verifying Checksum 16:50:23 63f879dbbcfc: Download complete 16:50:23 0d9ebad4ef96: Verifying Checksum 16:50:23 0d9ebad4ef96: Download complete 16:50:23 d747dcd14b5f: Verifying Checksum 16:50:23 d747dcd14b5f: Download complete 16:50:23 e9a5061849ea: Verifying Checksum 16:50:23 e9a5061849ea: Download complete 16:50:23 ab5ef0e58194: Verifying Checksum 16:50:23 ab5ef0e58194: Download complete 16:50:24 2de7ff778b66: Verifying Checksum 16:50:24 2de7ff778b66: Download complete 16:50:26 ab5ef0e58194: Pull complete 16:50:26 9712f1f96733: Pull complete 16:50:27 63f879dbbcfc: Pull complete 16:50:30 0d9ebad4ef96: Pull complete 16:50:31 e9a5061849ea: Pull complete 16:50:31 d747dcd14b5f: Pull complete 16:50:32 2de7ff778b66: Pull complete 16:50:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:50:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:50:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:32 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:50:37 $ docker top 614a4b190a1ee5e0650f3cf2c60d6d859d3708a30e17b5a924e206870ece2221 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:50:37 provisioning config files... 16:50:37 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11852220419169044212tmp 16:50:37 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8111194033292804216tmp 16:50:37 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1249137687360824395tmp [Pipeline] { [Pipeline] echo 16:50:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:50:37 ---> sigul-configuration.sh 16:50:37 gpg: directory `/root/.gnupg' created 16:50:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:50:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:50:37 gpg: keyring `/root/.gnupg/secring.gpg' created 16:50:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:50:37 gpg: CAST5 encrypted data 16:50:37 gpg: encrypted with 1 passphrase 16:50:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:50:37 + mkdir /home/jenkins 16:50:37 + mkdir /home/jenkins/sigul [Pipeline] sh 16:50:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:50:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:50:38 ---> sigul-install.sh 16:50:38 Sigul already installed; skipping installation. [Pipeline] sh 16:50:38 + git tag --list 16:50:38 v0.0.0 16:50:38 v0.0.1-dev.1 16:50:38 v0.0.1-dev.10 16:50:38 v0.0.1-dev.11 16:50:38 v0.0.1-dev.12 16:50:38 v0.0.1-dev.13 16:50:38 v0.0.1-dev.14 16:50:38 v0.0.1-dev.15 16:50:38 v0.0.1-dev.16 16:50:38 v0.0.1-dev.2 16:50:38 v0.0.1-dev.3 16:50:38 v0.0.1-dev.4 16:50:38 v0.0.1-dev.5 16:50:38 v0.0.1-dev.6 16:50:38 v0.0.1-dev.7 16:50:38 v0.0.1-dev.8 16:50:38 v0.0.1-dev.9 16:50:38 v2.2.0 16:50:38 v2.2.0-dev.17 16:50:38 v2.2.0-dev.18 16:50:38 v2.2.0-dev.19 16:50:38 v2.2.0-dev.20 16:50:38 v2.2.0-dev.21 16:50:38 v2.2.0-dev.22 16:50:38 v2.2.0-dev.23 16:50:38 v2.2.0-dev.24 16:50:38 v2.2.0-dev.25 16:50:38 v2.2.0-dev.26 16:50:38 v2.2.0-dev.27 16:50:38 v2.3.0-dev.1 16:50:38 v2.3.0-dev.10 16:50:38 v2.3.0-dev.11 16:50:38 v2.3.0-dev.12 16:50:38 v2.3.0-dev.13 16:50:38 v2.3.0-dev.14 16:50:38 v2.3.0-dev.15 16:50:38 v2.3.0-dev.16 16:50:38 v2.3.0-dev.17 16:50:38 v2.3.0-dev.18 16:50:38 v2.3.0-dev.19 16:50:38 v2.3.0-dev.2 16:50:38 v2.3.0-dev.20 16:50:38 v2.3.0-dev.21 16:50:38 v2.3.0-dev.22 16:50:38 v2.3.0-dev.23 16:50:38 v2.3.0-dev.3 16:50:38 v2.3.0-dev.4 16:50:38 v2.3.0-dev.5 16:50:38 v2.3.0-dev.6 16:50:38 v2.3.0-dev.7 16:50:38 v2.3.0-dev.8 16:50:38 v2.3.0-dev.9 16:50:38 v3.0.0-dev.1 16:50:38 v3.0.0-dev.2 16:50:38 v3.0.0-dev.3 16:50:38 v3.0.0-dev.4 [Pipeline] sh 16:50:38 + lftools sign git-tag v3.0.0-dev.4 16:50:39 Signing Git tag with Sigul... 16:50:39 Signing v3.0.0-dev.4 [Pipeline] echo 16:50:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:50:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:50:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:50:39 $ docker stop --time=1 614a4b190a1ee5e0650f3cf2c60d6d859d3708a30e17b5a924e206870ece2221 16:50:41 $ docker rm -f --volumes 614a4b190a1ee5e0650f3cf2c60d6d859d3708a30e17b5a924e206870ece2221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:50:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:50:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:50:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:42 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:50:42 $ docker top a348d85631fcdbfb3f7a0219237b7b79e0a941994e66d6ef8b8ccb03ecb62e16 -eo pid,comm 16:50:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:50:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:50:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:50:42 [ssh-agent] Looking for ssh-agent implementation... 16:50:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:50:42 $ docker exec a348d85631fcdbfb3f7a0219237b7b79e0a941994e66d6ef8b8ccb03ecb62e16 ssh-agent 16:50:42 SSH_AUTH_SOCK=/tmp/ssh-jlxZrR67b156/agent.32 16:50:42 SSH_AGENT_PID=38 16:50:42 Running ssh-add (command line suppressed) 16:50:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7590393602469747461.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7590393602469747461.key) 16:50:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:50:43 + git semver bump pre 16:50:43 2023-01-03 16:50:43,323 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:43 2023-01-03 16:50:43,323 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 16:50:43 2023-01-03 16:50:43,324 [bump_version] DEBUG bumped version:3.0.0-dev.5 16:50:43 2023-01-03 16:50:43,324 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 16:50:43 2023-01-03 16:50:43,324 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:43 2023-01-03 16:50:43,324 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:43 2023-01-03 16:50:43,325 [execute] INFO git cat-file --batch-check 16:50:43 2023-01-03 16:50:43,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:50:43 2023-01-03 16:50:43,332 [execute] INFO git cat-file --batch 16:50:43 2023-01-03 16:50:43,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:50:43 2023-01-03 16:50:43,337 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:43 3.0.0-dev.5 [Pipeline] } 16:50:43 $ docker exec --env ******** --env ******** a348d85631fcdbfb3f7a0219237b7b79e0a941994e66d6ef8b8ccb03ecb62e16 ssh-agent -k 16:50:43 unset SSH_AUTH_SOCK; 16:50:43 unset SSH_AGENT_PID; 16:50:43 echo Agent pid 38 killed; 16:50:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:50:43 + git semver [Pipeline] } 16:50:44 $ docker stop --time=1 a348d85631fcdbfb3f7a0219237b7b79e0a941994e66d6ef8b8ccb03ecb62e16 16:50:45 $ docker rm -f --volumes a348d85631fcdbfb3f7a0219237b7b79e0a941994e66d6ef8b8ccb03ecb62e16 [Pipeline] // withDockerContainer [Pipeline] sh 16:50:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:50:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:50:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:46 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:50:46 $ docker top e427ad5a7a856c50707222dcbc1b8fe576549ace43553657c946425c1e7062b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:50:46 [ssh-agent] Looking for ssh-agent implementation... 16:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:50:46 $ docker exec e427ad5a7a856c50707222dcbc1b8fe576549ace43553657c946425c1e7062b9 ssh-agent 16:50:46 SSH_AUTH_SOCK=/tmp/ssh-Qkxu0hBcq3bR/agent.32 16:50:46 SSH_AGENT_PID=38 16:50:46 Running ssh-add (command line suppressed) 16:50:46 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8294611139374208187.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8294611139374208187.key) 16:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:50:47 + git semver push 16:50:47 2023-01-03 16:50:47,304 [run_push] DEBUG push 16:50:47 2023-01-03 16:50:47,305 [execute] INFO git cat-file --batch-check 16:50:47 2023-01-03 16:50:47,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:50:47 2023-01-03 16:50:47,309 [execute] INFO git rev-list ffe025818ad56c86a946b9a83fdc7d3e8d812d10 -- 16:50:47 2023-01-03 16:50:47,309 [execute] DEBUG Popen(['git', 'rev-list', 'ffe025818ad56c86a946b9a83fdc7d3e8d812d10', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:50:47 2023-01-03 16:50:47,315 [execute] INFO git fetch -v origin 16:50:47 2023-01-03 16:50:47,315 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:50:47 2023-01-03 16:50:47,822 [run_push] DEBUG no remote changes detected 16:50:47 2023-01-03 16:50:47,822 [execute] INFO git push origin semver 16:50:47 2023-01-03 16:50:47,823 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:50:48 2023-01-03 16:50:48,598 [run_push] DEBUG push all version tags 16:50:48 2023-01-03 16:50:48,598 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:50:48 2023-01-03 16:50:48,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:50:49 2023-01-03 16:50:49,336 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:50:49 3.0.0-dev.5 [Pipeline] } 16:50:49 $ docker exec --env ******** --env ******** e427ad5a7a856c50707222dcbc1b8fe576549ace43553657c946425c1e7062b9 ssh-agent -k 16:50:49 unset SSH_AUTH_SOCK; 16:50:49 unset SSH_AGENT_PID; 16:50:49 echo Agent pid 38 killed; 16:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:50:49 + git semver [Pipeline] } 16:50:50 $ docker stop --time=1 e427ad5a7a856c50707222dcbc1b8fe576549ace43553657c946425c1e7062b9 16:50:51 $ docker rm -f --volumes e427ad5a7a856c50707222dcbc1b8fe576549ace43553657c946425c1e7062b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:50:51 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 16:50:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:50:51 total 16 16:50:51 drwxr-xr-x 3 root root 4096 Jan 3 16:41 . 16:50:51 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 16:50 .. 16:50:51 drwxr-xr-x 2 root root 4096 Jan 3 16:41 cost 16:50:51 -rw-r--r-- 1 root root 88 Jan 3 16:41 cost.csv 16:50:51 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 16:50:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:50:51 total 16 16:50:51 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 16:41 . 16:50:51 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 16:50 .. 16:50:51 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 16:41 cost 16:50:51 -rw-r--r-- 1 jenkins jenkins 88 Jan 3 16:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:50:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:50:53 ---> package-listing.sh 16:50:53 ++ facter osfamily 16:50:53 ++ tr '[:upper:]' '[:lower:]' 16:50:53 + OS_FAMILY=debian 16:50:53 + workspace=/w/workspace/exfoundry_device-usb-camera_main 16:50:53 + START_PACKAGES=/tmp/packages_start.txt 16:50:53 + END_PACKAGES=/tmp/packages_end.txt 16:50:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:50:53 + PACKAGES=/tmp/packages_start.txt 16:50:53 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:50:53 + PACKAGES=/tmp/packages_end.txt 16:50:53 + case "${OS_FAMILY}" in 16:50:53 + dpkg -l 16:50:53 + grep '^ii' 16:50:53 + '[' -f /tmp/packages_start.txt ']' 16:50:53 + '[' -f /tmp/packages_end.txt ']' 16:50:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:50:53 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:50:53 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 16:50:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 16:50:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:50:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:54 prd-ubuntu20.04-docker-8c-8g-905 does not seem to be running inside a container 16:50:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:50:54 $ docker top c05cecd125b779e4610de79213c061292377362bd2c218d036a33e4996d3aac1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:54 + touch /tmp/pre-build-complete [Pipeline] sh 16:50:55 + mkdir -p /var/log/sysstat [Pipeline] sh 16:50:55 + ls /var/log/sa-host 16:50:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:50:55 provisioning config files... 16:50:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6306209062905183940tmp [Pipeline] { [Pipeline] echo 16:50:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:50:55 ---> create-netrc.sh [Pipeline] } 16:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:50:56 ---> python-tools-install.sh [Pipeline] echo 16:50:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:50:56 ---> sudo-logs.sh 16:50:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:50:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:50:56 ---> job-cost.sh 16:50:56 lf-activate-venv: SKIPPING 16:50:56 DEBUG: total: 0.2199999988079071 16:50:56 INFO: Retrieving Stack Cost... 16:50:57 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:57 INFO: Archiving Costs [Pipeline] echo 16:50:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:50:57 ---> logs-deploy.sh 16:50:57 lf-activate-venv: SKIPPING 16:50:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/68 16:50:57 INFO: archiving workspace using pattern(s): 16:50:58 Archives upload complete. 16:50:58 INFO: archiving logs to Nexus