Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eace6589c3cbf428f520f2fa351df3c718b4124b 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-ssh16172158865814969372.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-ssh7942964961396433659.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-ssh12445965887029123038.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-ssh1970627313788317215.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-ssh7319559875608771862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1614 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 eace6589c3cbf428f520f2fa351df3c718b4124b (main) Commit message: "Merge pull request #124 from lenny-intel/options" > 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 eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 > git rev-list --no-walk d32bfb144ed79cec845816023cbf1136d6c5c0b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:43:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:43:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:43:15 ========================================================= 17:43:15 EdgeX Global Pipelines Version Info 17:43:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:43:16 ------------------- 17:43:16 stable info: 17:43:16 ------------------- 17:43:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:43:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:43:16 Message: update stable to v1.0.244 17:43:17 ------------------- 17:43:17 experimental info: 17:43:17 ------------------- 17:43:17 Commited By: **** collab-it+edgex@linuxfoundation.org 17:43:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:43:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eace658 [Pipeline] echo 17:43:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:17 provisioning config files... 17:43:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18101632546556238010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:18 ---> docker-login.sh 17:43:18 nexus3.edgexfoundry.org:10001 17:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:18 Configure a credential helper to remove this warning. See 17:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:18 17:43:18 Login Succeeded 17:43:18 nexus3.edgexfoundry.org:10002 17:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:18 Configure a credential helper to remove this warning. See 17:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:18 17:43:18 Login Succeeded 17:43:18 nexus3.edgexfoundry.org:10003 17:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:18 Configure a credential helper to remove this warning. See 17:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:18 17:43:18 Login Succeeded 17:43:18 nexus3.edgexfoundry.org:10004 17:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:18 Configure a credential helper to remove this warning. See 17:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:18 17:43:18 Login Succeeded 17:43:18 docker.io 17:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:19 Configure a credential helper to remove this warning. See 17:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:19 17:43:19 Login Succeeded 17:43:19 ---> docker-login.sh ends [Pipeline] } 17:43:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:43:19 + git rev-list -1 --merges eace6589c3cbf428f520f2fa351df3c718b4124b~1..eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] echo 17:43:19 -----------> git rev-list -1 --merges eace6589c3cbf428f520f2fa351df3c718b4124b~1..eace6589c3cbf428f520f2fa351df3c718b4124b eace6589c3cbf428f520f2fa351df3c718b4124b 17:43:19 eace6589c3cbf428f520f2fa351df3c718b4124b [false] [Pipeline] sh 17:43:19 + git log --format=format:%s -1 eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] echo 17:43:19 ========================================================= 17:43:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:43:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:20 + git log --format=format:%s -1 eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] echo 17:43:20 [semverPrep] GIT_COMMIT: eace6589c3cbf428f520f2fa351df3c718b4124b, Commit Message: Merge pull request #124 from lenny-intel/options [Pipeline] echo 17:43:20 [semverPrep] This is not a build commit. [Pipeline] sh 17:43:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:43:20 + grep -v github /etc/ssh/ssh_known_hosts 17:43:20 + [ -e /tmp/ssh_known_hosts ] 17:43:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:43:20 + + sudo tee -a /etc/ssh/ssh_known_hosts 17:43:20 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:43:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:21 17:43:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:21 0.1.4: Pulling from edgex-devops/py-git-semver 17:43:21 b85a868b505f: Pulling fs layer 17:43:21 e2be974225ed: Pulling fs layer 17:43:21 339a4e72a1f5: Pulling fs layer 17:43:21 988bab9f4d93: Pulling fs layer 17:43:21 1469e6f7b9e6: Pulling fs layer 17:43:21 eaf3925da568: Pulling fs layer 17:43:21 bab4dde63d76: Pulling fs layer 17:43:21 bde34c3a00c8: Pulling fs layer 17:43:21 b352a97aabf1: Pulling fs layer 17:43:21 4872d77fe225: Pulling fs layer 17:43:21 5851b861e8e6: Pulling fs layer 17:43:21 1469e6f7b9e6: Waiting 17:43:21 eaf3925da568: Waiting 17:43:21 bab4dde63d76: Waiting 17:43:21 4872d77fe225: Waiting 17:43:21 bde34c3a00c8: Waiting 17:43:21 988bab9f4d93: Waiting 17:43:21 b352a97aabf1: Waiting 17:43:21 5851b861e8e6: Waiting 17:43:21 e2be974225ed: Download complete 17:43:21 988bab9f4d93: Verifying Checksum 17:43:21 988bab9f4d93: Download complete 17:43:21 339a4e72a1f5: Verifying Checksum 17:43:21 339a4e72a1f5: Download complete 17:43:21 1469e6f7b9e6: Verifying Checksum 17:43:21 1469e6f7b9e6: Download complete 17:43:21 eaf3925da568: Verifying Checksum 17:43:21 eaf3925da568: Download complete 17:43:21 bde34c3a00c8: Verifying Checksum 17:43:21 bde34c3a00c8: Download complete 17:43:21 4872d77fe225: Download complete 17:43:21 5851b861e8e6: Verifying Checksum 17:43:21 5851b861e8e6: Download complete 17:43:21 b85a868b505f: Verifying Checksum 17:43:21 b85a868b505f: Download complete 17:43:21 bab4dde63d76: Download complete 17:43:22 b85a868b505f: Pull complete 17:43:23 e2be974225ed: Pull complete 17:43:23 339a4e72a1f5: Pull complete 17:43:23 988bab9f4d93: Pull complete 17:43:23 1469e6f7b9e6: Pull complete 17:43:23 eaf3925da568: Pull complete 17:43:25 bab4dde63d76: Pull complete 17:43:25 bde34c3a00c8: Pull complete 17:43:26 b352a97aabf1: Pull complete 17:43:26 4872d77fe225: Pull complete 17:43:26 5851b861e8e6: Pull complete 17:43:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:43:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:26 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:43:26 $ 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 17:43:29 $ docker top aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 -eo pid,comm 17:43:29 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). 17:43:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:29 [ssh-agent] Looking for ssh-agent implementation... 17:43:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:29 $ docker exec aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 ssh-agent 17:43:29 SSH_AUTH_SOCK=/tmp/ssh-gj8pb5bZXANr/agent.32 17:43:29 SSH_AGENT_PID=38 17:43:29 Running ssh-add (command line suppressed) 17:43:29 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14672152154101204585.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14672152154101204585.key) 17:43:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:29 + git tag --points-at HEAD [Pipeline] } 17:43:29 $ docker exec --env ******** --env ******** aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 ssh-agent -k 17:43:29 unset SSH_AUTH_SOCK; 17:43:29 unset SSH_AGENT_PID; 17:43:29 echo Agent pid 38 killed; 17:43:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:29 [ssh-agent] Looking for ssh-agent implementation... 17:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:30 $ docker exec aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 ssh-agent 17:43:30 SSH_AUTH_SOCK=/tmp/ssh-e2IVVtBjDBfA/agent.70 17:43:30 SSH_AGENT_PID=76 17:43:30 Running ssh-add (command line suppressed) 17:43:30 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12739910975796630444.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12739910975796630444.key) 17:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:30 + git semver init 17:43:30 2023-01-10 17:43:30,821 [run_init] DEBUG init version:0.0.0 force:False 17:43:30 2023-01-10 17:43:30,822 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:43:30 2023-01-10 17:43:30,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:43:30 2023-01-10 17:43:30,823 [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) 17:43:31 2023-01-10 17:43:31,555 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:43:31 2023-01-10 17:43:31,555 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:43:31 2023-01-10 17:43:31,555 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:43:31 2023-01-10 17:43:31,556 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:43:31 3.0.0-dev.2 [Pipeline] } 17:43:31 $ docker exec --env ******** --env ******** aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 ssh-agent -k 17:43:31 unset SSH_AUTH_SOCK; 17:43:31 unset SSH_AGENT_PID; 17:43:31 echo Agent pid 76 killed; 17:43:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:32 + git semver [Pipeline] } 17:43:32 $ docker stop --time=1 aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 17:43:33 $ docker rm -f --volumes aaa5c9a1706e86fdfda1989f475566a2c6b65f3033923b1c0c293173bb85fcb5 [Pipeline] // withDockerContainer [Pipeline] sh 17:43:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:43:34 Stashed 1 file(s) [Pipeline] echo 17:43:34 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 17:43:34 provisioning config files... 17:43:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9085973474568786734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:34 ---> docker-login.sh 17:43:34 nexus3.edgexfoundry.org:10001 17:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:34 Configure a credential helper to remove this warning. See 17:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:34 17:43:34 Login Succeeded 17:43:34 nexus3.edgexfoundry.org:10002 17:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:34 Configure a credential helper to remove this warning. See 17:43:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:34 17:43:34 Login Succeeded 17:43:35 nexus3.edgexfoundry.org:10003 17:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:35 Configure a credential helper to remove this warning. See 17:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:35 17:43:35 Login Succeeded 17:43:35 nexus3.edgexfoundry.org:10004 17:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:35 Configure a credential helper to remove this warning. See 17:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:35 17:43:35 Login Succeeded 17:43:35 docker.io 17:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:35 Configure a credential helper to remove this warning. See 17:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:35 17:43:35 Login Succeeded 17:43:35 ---> docker-login.sh ends [Pipeline] } 17:43:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:43:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:35 ========================================================= 17:43:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:43:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:35 + 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 . 17:43:35 Sending build context to Docker daemon 1.681MB 17:43:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:43:35 Step 2/13 : FROM ${BASE} AS builder 17:43:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:43:35 213ec9aee27d: Pulling fs layer 17:43:35 4583459ba037: Pulling fs layer 17:43:35 93c1e223e6f2: Pulling fs layer 17:43:35 53926ce57604: Pulling fs layer 17:43:35 21b2b0c7a3f4: Pulling fs layer 17:43:35 22ff95d597cd: Pulling fs layer 17:43:35 12d6caf4c0d1: Pulling fs layer 17:43:35 96b7cbca73a9: Pulling fs layer 17:43:35 a7acece74701: Pulling fs layer 17:43:35 53926ce57604: Waiting 17:43:35 21b2b0c7a3f4: Waiting 17:43:35 22ff95d597cd: Waiting 17:43:35 12d6caf4c0d1: Waiting 17:43:35 96b7cbca73a9: Waiting 17:43:35 a7acece74701: Waiting 17:43:35 93c1e223e6f2: Verifying Checksum 17:43:35 93c1e223e6f2: Download complete 17:43:35 4583459ba037: Verifying Checksum 17:43:35 4583459ba037: Download complete 17:43:35 21b2b0c7a3f4: Download complete 17:43:36 22ff95d597cd: Verifying Checksum 17:43:36 22ff95d597cd: Download complete 17:43:36 213ec9aee27d: Verifying Checksum 17:43:36 213ec9aee27d: Download complete 17:43:36 12d6caf4c0d1: Download complete 17:43:36 213ec9aee27d: Pull complete 17:43:36 4583459ba037: Pull complete 17:43:36 93c1e223e6f2: Pull complete 17:43:36 a7acece74701: Verifying Checksum 17:43:36 a7acece74701: Download complete 17:43:36 53926ce57604: Verifying Checksum 17:43:36 53926ce57604: Download complete 17:43:37 96b7cbca73a9: Verifying Checksum 17:43:37 96b7cbca73a9: Download complete 17:43:41 53926ce57604: Pull complete 17:43:41 21b2b0c7a3f4: Pull complete 17:43:41 22ff95d597cd: Pull complete 17:43:41 12d6caf4c0d1: Pull complete 17:43:43 96b7cbca73a9: Pull complete 17:43:44 a7acece74701: Pull complete 17:43:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:43:44 ---> db6d94c90886 17:43:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:43:49 ---> Running in fdd5047ec1a3 17:43:49 Removing intermediate container fdd5047ec1a3 17:43:49 ---> f51fc231ee69 17:43:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:43:49 ---> Running in e0a8bd7eba39 17:43:49 Removing intermediate container e0a8bd7eba39 17:43:49 ---> d95d00bb5294 17:43:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:43:49 ---> Running in 876a6885091c 17:43:49 Still waiting to schedule task 17:43:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:43:49 Removing intermediate container 876a6885091c 17:43:49 ---> 2b440934d000 17:43:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:43:49 ---> Running in d6eab9a941a9 17:43:49 Removing intermediate container d6eab9a941a9 17:43:49 ---> 4d77afb0fd13 17:43:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:43:49 ---> Running in 8d3c9c389e9e 17:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:43:50 (1/80) Installing mesa (21.3.8-r2) 17:43:50 (2/80) Installing libxau (1.0.9-r0) 17:43:50 (3/80) Installing libxdmcp (1.1.3-r0) 17:43:50 (4/80) Installing libxcb (1.15-r0) 17:43:50 (5/80) Installing libx11 (1.8-r0) 17:43:50 (6/80) Installing libxext (1.3.4-r0) 17:43:50 (7/80) Installing libxfixes (6.0.0-r0) 17:43:50 (8/80) Installing libxxf86vm (1.1.4-r2) 17:43:50 (9/80) Installing libpciaccess (0.16-r0) 17:43:50 (10/80) Installing libdrm (2.4.110-r0) 17:43:50 (11/80) Installing mesa-glapi (21.3.8-r2) 17:43:50 (12/80) Installing libxshmfence (1.3-r1) 17:43:50 (13/80) Installing mesa-gl (21.3.8-r2) 17:43:50 (14/80) Installing icu-data-full (71.1-r2) 17:43:50 (15/80) Installing libice (1.0.10-r0) 17:43:50 (16/80) Installing libuuid (2.38-r1) 17:43:50 (17/80) Installing libsm (1.2.3-r0) 17:43:50 (18/80) Installing libxt (1.2.1-r0) 17:43:50 (19/80) Installing libxmu (1.1.3-r0) 17:43:50 (20/80) Installing xset (1.2.4-r0) 17:43:50 (21/80) Installing xprop (1.2.5-r0) 17:43:50 (22/80) Installing xdg-utils (1.1.3-r3) 17:43:50 (23/80) Installing dbus-libs (1.14.4-r0) 17:43:50 (24/80) Installing libffi (3.4.2-r1) 17:43:50 (25/80) Installing libintl (0.21-r2) 17:43:50 (26/80) Installing libblkid (2.38-r1) 17:43:50 (27/80) Installing libmount (2.38-r1) 17:43:50 (28/80) Installing pcre (8.45-r2) 17:43:50 (29/80) Installing glib (2.72.1-r0) 17:43:51 (30/80) Installing icu-libs (71.1-r2) 17:43:51 (31/80) Installing libpcre2-16 (10.40-r0) 17:43:51 (32/80) Installing zstd-libs (1.5.2-r1) 17:43:51 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:43:51 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:43:51 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:43:51 (36/80) Installing mesa-gbm (21.3.8-r2) 17:43:51 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:43:51 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:43:51 (39/80) Installing libxcomposite (0.4.5-r0) 17:43:51 (40/80) Installing libbz2 (1.0.8-r1) 17:43:51 (41/80) Installing libpng (1.6.37-r1) 17:43:51 (42/80) Installing freetype (2.12.1-r0) 17:43:51 (43/80) Installing fontconfig (2.14.0-r0) 17:43:51 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:43:51 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:43:51 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:43:51 (47/80) Installing xz-libs (5.2.5-r1) 17:43:51 (48/80) Installing libxml2 (2.9.14-r2) 17:43:51 (49/80) Installing libxkbcommon (1.4.1-r0) 17:43:51 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:43:51 (51/80) Installing mesa-egl (21.3.8-r2) 17:43:51 (52/80) Installing avahi-libs (0.8-r6) 17:43:51 (53/80) Installing nettle (3.7.3-r0) 17:43:51 (54/80) Installing p11-kit (0.24.1-r0) 17:43:51 (55/80) Installing libtasn1 (4.18.0-r1) 17:43:51 (56/80) Installing libunistring (1.0-r0) 17:43:51 (57/80) Installing gnutls (3.7.7-r0) 17:43:51 (58/80) Installing cups-libs (2.4.2-r0) 17:43:51 (59/80) Installing graphite2 (1.3.14-r1) 17:43:51 (60/80) Installing harfbuzz (4.3.0-r0) 17:43:51 (61/80) Installing libevdev (1.12.1-r0) 17:43:51 (62/80) Installing mtdev (1.1.6-r0) 17:43:51 (63/80) Installing eudev-libs (3.2.11-r0) 17:43:51 (64/80) Installing libinput-libs (1.20.1-r0) 17:43:51 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:43:51 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:43:51 (67/80) Installing xcb-util (0.4.0-r3) 17:43:51 (68/80) Installing xcb-util-image (0.4.0-r1) 17:43:51 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:43:51 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:43:51 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:43:51 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:43:51 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:43:51 (74/80) Installing v4l-utils (1.22.1-r1) 17:43:51 (75/80) Installing udev-init-scripts (35-r0) 17:43:51 Executing udev-init-scripts-35-r0.post-install 17:43:51 (76/80) Installing kmod-libs (29-r2) 17:43:51 (77/80) Installing eudev (3.2.11-r0) 17:43:51 (78/80) Installing eudev-dev (3.2.11-r0) 17:43:51 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:43:51 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:43:51 Executing busybox-1.35.0-r17.trigger 17:43:51 Executing eudev-3.2.11-r0.trigger 17:43:51 OK: 330 MiB in 131 packages 17:43:55 Removing intermediate container 8d3c9c389e9e 17:43:55 ---> 1dfa89ef7a21 17:43:55 Step 8/13 : WORKDIR /device-usb-camera 17:43:55 ---> Running in 4ebc93be600e 17:43:55 Removing intermediate container 4ebc93be600e 17:43:55 ---> 262d6e2f917d 17:43:55 Step 9/13 : COPY go.mod vendor* ./ 17:43:55 ---> 9a99a09c794d 17:43:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:43:55 ---> Running in 2e7ef9e118e4 17:44:17 Removing intermediate container 2e7ef9e118e4 17:44:17 ---> b7ff199fba7a 17:44:17 Step 11/13 : COPY . . 17:44:17 ---> 6a042e5a092c 17:44:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:44:17 ---> Running in 3c4a4c872567 17:44:17  % Total % Received % Xferd Average Speed Time Time Time Current 17:44:17 Dload Upload Total Spent Left Speed 17:44:17 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10499 0 --:--:-- --:--:-- --:--:-- 10411 100 1062 100 1062 0 0 10489 0 --:--:-- --:--:-- --:--:-- 10411 17:44:17 Removing intermediate container 3c4a4c872567 17:44:17 ---> fcd9a7342e4d 17:44:17 Step 13/13 : RUN ${MAKE} 17:44:17 ---> Running in 6ce95e70786d 17:44:18 noop 17:44:18 Removing intermediate container 6ce95e70786d 17:44:18 ---> 65956f50502b 17:44:18 Successfully built 65956f50502b 17:44:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:18 + docker inspect -f . ci-base-image-x86_64 17:44:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:18 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:44:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:44:19 $ docker top 89f3886144e224cc8e1eeb7f0abe90d18881aade1c9bf53a96e70594a44bee0e -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:19 + go version 17:44:19 go version go1.18.7 linux/amd64 [Pipeline] } 17:44:19 $ docker stop --time=1 89f3886144e224cc8e1eeb7f0abe90d18881aade1c9bf53a96e70594a44bee0e 17:44:20 $ docker rm -f --volumes 89f3886144e224cc8e1eeb7f0abe90d18881aade1c9bf53a96e70594a44bee0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:21 + docker inspect -f . ci-base-image-x86_64 17:44:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:21 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:44:21 $ 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 17:44:21 $ docker top 030097fd83e19ef60a0a8151182917a4bdd75d6b6d022cc76f5ef00f4000584a -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:22 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:44:22 + make test 17:44:22 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:44:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:44:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:44:32 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 17:44:39 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." 17:44:39 CGO_ENABLED=1 go vet ./... 17:44:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:44:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:44:42 ./bin/test-attribution-txt.sh [Pipeline] echo 17:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:44:42 $ docker stop --time=1 030097fd83e19ef60a0a8151182917a4bdd75d6b6d022cc76f5ef00f4000584a 17:44:44 $ docker rm -f --volumes 030097fd83e19ef60a0a8151182917a4bdd75d6b6d022cc76f5ef00f4000584a [Pipeline] // withDockerContainer [Pipeline] sh 17:44:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:44:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:44:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:44:46 + ls -al . 17:44:46 total 208 17:44:46 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:44 . 17:44:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:43 .. 17:44:46 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:44 .git 17:44:46 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:43 .github 17:44:46 -rw-rw-r-- 1 jenkins jenkins 414 Jan 10 17:43 .gitignore 17:44:46 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 17:43 .golangci.yml 17:44:46 -rw-rw-r-- 1 jenkins jenkins 77 Jan 10 17:43 .hadolint.yml 17:44:46 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:43 .semver 17:44:46 -rw-rw-r-- 1 jenkins jenkins 9546 Jan 10 17:43 Attribution.txt 17:44:46 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 10 17:43 CHANGELOG.md 17:44:46 -rw-rw-r-- 1 jenkins jenkins 2360 Jan 10 17:43 Dockerfile 17:44:46 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 17:43 GOVERNANCE.md 17:44:46 -rw-rw-r-- 1 jenkins jenkins 659 Jan 10 17:43 Jenkinsfile 17:44:46 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 17:43 LICENSE 17:44:46 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 10 17:43 Makefile 17:44:46 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 17:43 OWNERS.md 17:44:46 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 10 17:43 README.md 17:44:46 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:43 VERSION 17:44:46 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:43 bin 17:44:46 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:43 cmd 17:44:46 -rw-r--r-- 1 jenkins jenkins 30666 Jan 10 17:44 coverage.out 17:44:46 -rwxrwxr-x 1 jenkins jenkins 140 Jan 10 17:43 docker-entrypoint.sh 17:44:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:43 docs 17:44:46 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 10 17:43 go.mod 17:44:46 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 10 17:43 go.sum 17:44:46 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:43 internal 17:44:46 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:43 snap 17:44:46 -rw-rw-r-- 1 jenkins jenkins 231 Jan 10 17:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:46 + 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=eace6589c3cbf428f520f2fa351df3c718b4124b --label arch=amd64 --label version=3.0.0-dev.2 . 17:44:46 Sending build context to Docker daemon 1.712MB 17:44:46 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:44:46 Step 2/35 : FROM ${BASE} AS builder 17:44:46 ---> 65956f50502b 17:44:46 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:44:46 ---> Running in 707d687cee51 17:44:46 Removing intermediate container 707d687cee51 17:44:46 ---> 840fe891b8a0 17:44:46 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:44:46 ---> Running in 7af406ff0b00 17:44:46 Removing intermediate container 7af406ff0b00 17:44:46 ---> 78010c2bec70 17:44:46 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:44:46 ---> Running in c54107e2c49b 17:44:46 Removing intermediate container c54107e2c49b 17:44:46 ---> eab1e8e9e1af 17:44:46 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:44:46 ---> Running in 5d9babb9e29f 17:44:46 Removing intermediate container 5d9babb9e29f 17:44:46 ---> 697fdf03bc23 17:44:46 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:44:46 ---> Running in 61be27d0cf7e 17:44:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:44:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:44:47 OK: 330 MiB in 131 packages 17:44:48 Removing intermediate container 61be27d0cf7e 17:44:48 ---> 5e8e399546d7 17:44:48 Step 8/35 : WORKDIR /device-usb-camera 17:44:48 ---> Running in 32c235844a8c 17:44:48 Removing intermediate container 32c235844a8c 17:44:48 ---> da826cf1d3fb 17:44:48 Step 9/35 : COPY go.mod vendor* ./ 17:44:48 ---> 990b15a3f1e1 17:44:48 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:44:48 ---> Running in b873e16ff3cf 17:44:48 Removing intermediate container b873e16ff3cf 17:44:48 ---> 0c152aebe04e 17:44:48 Step 11/35 : COPY . . 17:44:48 ---> e25ee038c5ff 17:44:48 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:44:48 ---> Running in b846fc03a4a3 17:44:49  % Total % Received % Xferd Average Speed Time Time Time Current 17:44:49 Dload Upload Total Spent Left Speed 17:44:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 42851 0 --:--:-- --:--:-- --:--:-- 44250 17:44:49 Removing intermediate container b846fc03a4a3 17:44:49 ---> 8582280e83b8 17:44:49 Step 13/35 : RUN ${MAKE} 17:44:49 ---> Running in de5ff76ef460 17:44:49 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:45:11 Removing intermediate container de5ff76ef460 17:45:11 ---> 99098ad3d6a1 17:45:11 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:45:11 v0.18.4: Pulling from aler9/rtsp-simple-server 17:45:12 af6660deedbd: Pulling fs layer 17:45:12 97cd0a44c592: Pulling fs layer 17:45:12 97cd0a44c592: Verifying Checksum 17:45:12 af6660deedbd: Verifying Checksum 17:45:12 af6660deedbd: Download complete 17:45:12 af6660deedbd: Pull complete 17:45:12 97cd0a44c592: Pull complete 17:45:12 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:45:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:45:12 ---> fea57e182299 17:45:12 Step 15/35 : FROM alpine:3.16 17:45:13 3.16: Pulling from library/alpine 17:45:13 ca7dd9ec2225: Pulling fs layer 17:45:13 ca7dd9ec2225: Verifying Checksum 17:45:13 ca7dd9ec2225: Download complete 17:45:13 ca7dd9ec2225: Pull complete 17:45:13 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:45:13 Status: Downloaded newer image for alpine:3.16 17:45:13 ---> bfe296a52501 17:45:13 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:45:13 ---> Running in 222db7a2edfc 17:45:13 Removing intermediate container 222db7a2edfc 17:45:13 ---> 7550934514e5 17:45:13 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:45:13 ---> Running in 2eaa89458844 17:45:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:45:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:45:14 (1/83) Installing dumb-init (1.2.5-r1) 17:45:14 (2/83) Installing sdl2 (2.0.22-r0) 17:45:14 (3/83) Installing libxau (1.0.9-r0) 17:45:14 (4/83) Installing libxdmcp (1.1.3-r0) 17:45:14 (5/83) Installing libxcb (1.15-r0) 17:45:14 (6/83) Installing libx11 (1.8-r0) 17:45:14 (7/83) Installing aom-libs (3.3.0-r0) 17:45:14 (8/83) Installing alsa-lib (1.2.7.2-r0) 17:45:14 (9/83) Installing expat (2.5.0-r0) 17:45:14 (10/83) Installing brotli-libs (1.0.9-r6) 17:45:14 (11/83) Installing libbz2 (1.0.8-r1) 17:45:14 (12/83) Installing libpng (1.6.37-r1) 17:45:14 (13/83) Installing freetype (2.12.1-r0) 17:45:14 (14/83) Installing fontconfig (2.14.0-r0) 17:45:14 (15/83) Installing fribidi (1.0.12-r0) 17:45:14 (16/83) Installing libffi (3.4.2-r1) 17:45:14 (17/83) Installing libintl (0.21-r2) 17:45:14 (18/83) Installing libblkid (2.38-r1) 17:45:14 (19/83) Installing libmount (2.38-r1) 17:45:14 (20/83) Installing pcre (8.45-r2) 17:45:14 (21/83) Installing glib (2.72.1-r0) 17:45:14 (22/83) Installing graphite2 (1.3.14-r1) 17:45:14 (23/83) Installing harfbuzz (4.3.0-r0) 17:45:14 (24/83) Installing libass (0.16.0-r0) 17:45:14 (25/83) Installing libdav1d (1.0.0-r0) 17:45:14 (26/83) Installing libpciaccess (0.16-r0) 17:45:14 (27/83) Installing libdrm (2.4.110-r0) 17:45:14 (28/83) Installing gmp (6.2.1-r2) 17:45:14 (29/83) Installing nettle (3.7.3-r0) 17:45:14 (30/83) Installing p11-kit (0.24.1-r0) 17:45:14 (31/83) Installing libtasn1 (4.18.0-r1) 17:45:15 (32/83) Installing libunistring (1.0-r0) 17:45:15 (33/83) Installing gnutls (3.7.7-r0) 17:45:15 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:45:15 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 17:45:15 (36/83) Installing lame (3.100-r0) 17:45:15 (37/83) Installing opus (1.3.1-r1) 17:45:15 (38/83) Installing libasyncns (0.8-r1) 17:45:15 (39/83) Installing dbus-libs (1.14.4-r0) 17:45:15 (40/83) Installing libltdl (2.4.7-r0) 17:45:15 (41/83) Installing orc (0.4.32-r0) 17:45:15 (42/83) Installing libgcc (11.2.1_git20220219-r2) 17:45:15 (43/83) Installing libogg (1.3.5-r1) 17:45:15 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 17:45:15 (45/83) Installing flac (1.3.4-r0) 17:45:15 (46/83) Installing libvorbis (1.3.7-r0) 17:45:15 (47/83) Installing libsndfile (1.1.0-r0) 17:45:15 (48/83) Installing libgomp (11.2.1_git20220219-r2) 17:45:15 (49/83) Installing soxr (0.1.3-r2) 17:45:15 (50/83) Installing speexdsp (1.2.0-r0) 17:45:15 (51/83) Installing tdb-libs (1.4.6-r0) 17:45:15 (52/83) Installing libpulse (15.0-r2) 17:45:15 (53/83) Installing cjson (1.7.15-r3) 17:45:15 (54/83) Installing mbedtls (2.28.2-r0) 17:45:15 (55/83) Installing librist (0.2.6-r1) 17:45:15 (56/83) Installing libsrt (1.4.4-r0) 17:45:15 (57/83) Installing libssh (0.9.6-r1) 17:45:15 (58/83) Installing libtheora (1.1.1-r16) 17:45:15 (59/83) Installing libjpeg-turbo (2.1.3-r1) 17:45:15 (60/83) Installing v4l-utils-libs (1.22.1-r1) 17:45:15 (61/83) Installing libxext (1.3.4-r0) 17:45:15 (62/83) Installing libxfixes (6.0.0-r0) 17:45:15 (63/83) Installing wayland-libs-client (1.20.0-r0) 17:45:15 (64/83) Installing libva (2.14.0-r0) 17:45:15 (65/83) Installing libvdpau (1.5-r0) 17:45:15 (66/83) Installing vidstab (1.1.0-r1) 17:45:15 (67/83) Installing libvpx (1.11.0-r1) 17:45:15 (68/83) Installing libwebp (1.2.3-r0) 17:45:15 (69/83) Installing x264-libs (0.163_git20210613-r0) 17:45:15 (70/83) Installing numactl (2.0.14-r0) 17:45:15 (71/83) Installing x265-libs (3.5-r3) 17:45:15 (72/83) Installing xvidcore (1.3.7-r1) 17:45:15 (73/83) Installing ffmpeg-libs (5.0.1-r1) 17:45:15 (74/83) Installing ffmpeg (5.0.1-r1) 17:45:15 (75/83) Installing udev-init-scripts (35-r0) 17:45:15 Executing udev-init-scripts-35-r0.post-install 17:45:15 (76/83) Installing eudev-libs (3.2.11-r0) 17:45:15 (77/83) Installing xz-libs (5.2.5-r1) 17:45:15 (78/83) Installing zstd-libs (1.5.2-r1) 17:45:15 (79/83) Installing kmod-libs (29-r2) 17:45:15 (80/83) Installing eudev (3.2.11-r0) 17:45:15 (81/83) Installing libsodium (1.0.18-r0) 17:45:15 (82/83) Installing libzmq (4.3.4-r0) 17:45:15 (83/83) Installing zeromq (4.3.4-r0) 17:45:15 Executing busybox-1.35.0-r17.trigger 17:45:15 Executing eudev-3.2.11-r0.trigger 17:45:15 OK: 101 MiB in 97 packages 17:45:18 Removing intermediate container 2eaa89458844 17:45:18 ---> fcb3b65878cd 17:45:18 Step 18/35 : WORKDIR / 17:45:18 ---> Running in 007c7eda1434 17:45:18 Removing intermediate container 007c7eda1434 17:45:18 ---> 1ec5982b07b7 17:45:18 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:45:19 ---> 3a1b1f174b9a 17:45:19 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:45:19 ---> ee28ba2f564e 17:45:19 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:45:19 ---> 1e363dadaba8 17:45:19 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:45:19 ---> 4ddf99a33b7a 17:45:19 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:45:19 ---> 7eef4d3c1ecb 17:45:19 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:45:19 ---> 911f9a748dca 17:45:19 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:45:20 ---> 82fc52e87fdc 17:45:20 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:45:20 ---> Running in 9fe2864d5693 17:45:21 Removing intermediate container 9fe2864d5693 17:45:21 ---> cd408ccff4eb 17:45:21 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:45:21 ---> Running in 8c058c528a7a 17:45:22 Removing intermediate container 8c058c528a7a 17:45:22 ---> 2006f3583e80 17:45:22 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:45:22 ---> Running in 304dfaf3dcca 17:45:22 Removing intermediate container 304dfaf3dcca 17:45:22 ---> 37fdefb9955e 17:45:22 Step 29/35 : EXPOSE 59983 17:45:22 ---> Running in 6bdc0972c37c 17:45:22 Removing intermediate container 6bdc0972c37c 17:45:22 ---> 4170804fe69b 17:45:22 Step 30/35 : EXPOSE 8554 17:45:22 ---> Running in 85246aba638c 17:45:22 Removing intermediate container 85246aba638c 17:45:22 ---> 93683ab969ce 17:45:22 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:45:22 ---> Running in 74418bb91edf 17:45:22 Removing intermediate container 74418bb91edf 17:45:22 ---> 82790b354928 17:45:22 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:45:22 ---> Running in 5537e1071c6f 17:45:23 Removing intermediate container 5537e1071c6f 17:45:23 ---> f95e1cec581f 17:45:23 Step 33/35 : LABEL arch=amd64 17:45:23 ---> Running in 958cf9a7c083 17:45:23 Removing intermediate container 958cf9a7c083 17:45:23 ---> 88337ad1bea7 17:45:23 Step 34/35 : LABEL git_sha=eace6589c3cbf428f520f2fa351df3c718b4124b 17:45:23 ---> Running in a4dcaf3bdd33 17:45:23 Removing intermediate container a4dcaf3bdd33 17:45:23 ---> b35dda48d631 17:45:23 Step 35/35 : LABEL version=3.0.0-dev.2 17:45:23 ---> Running in 326a2f48673b 17:45:23 Removing intermediate container 326a2f48673b 17:45:23 ---> 83539c853b34 17:45:23 [Warning] One or more build-args [ARCH] were not consumed 17:45:23 Successfully built 83539c853b34 17:45:23 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 17:45:23 provisioning config files... 17:45:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8823936674077432533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:24 ---> docker-login.sh 17:45:24 nexus3.edgexfoundry.org:10001 17:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:24 Configure a credential helper to remove this warning. See 17:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:24 17:45:24 Login Succeeded 17:45:24 nexus3.edgexfoundry.org:10002 17:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:24 Configure a credential helper to remove this warning. See 17:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:24 17:45:24 Login Succeeded 17:45:24 nexus3.edgexfoundry.org:10003 17:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:24 Configure a credential helper to remove this warning. See 17:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:24 17:45:24 Login Succeeded 17:45:24 nexus3.edgexfoundry.org:10004 17:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:24 Configure a credential helper to remove this warning. See 17:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:24 17:45:24 Login Succeeded 17:45:24 docker.io 17:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:24 Configure a credential helper to remove this warning. See 17:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:24 17:45:24 Login Succeeded 17:45:24 ---> docker-login.sh ends [Pipeline] } 17:45:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:45:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:24 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:45:24 eace6589c3cbf428f520f2fa351df3c718b4124b 17:45:24 latest 17:45:24 3.0.0-dev.2 17:45:24 eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:45:24 main 17:45:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:25 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b 17:45:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:45:25 f8dd23265c3c: Preparing 17:45:25 61e7540a4c20: Preparing 17:45:25 c643af693f0c: Preparing 17:45:25 550e596c6d0e: Preparing 17:45:25 1207169bf42c: Preparing 17:45:25 f2d6ddc5fe38: Preparing 17:45:25 e387e8ea382c: Preparing 17:45:25 c0e42673d47c: Preparing 17:45:25 b8f19f75819b: Preparing 17:45:25 11dd410b1fa3: Preparing 17:45:25 09db4b873be7: Preparing 17:45:25 e5e13b0c77cb: Preparing 17:45:25 c0e42673d47c: Waiting 17:45:25 b8f19f75819b: Waiting 17:45:25 11dd410b1fa3: Waiting 17:45:25 09db4b873be7: Waiting 17:45:25 e5e13b0c77cb: Waiting 17:45:25 e387e8ea382c: Waiting 17:45:25 f2d6ddc5fe38: Waiting 17:45:25 1207169bf42c: Pushed 17:45:25 61e7540a4c20: Pushed 17:45:26 c643af693f0c: Pushed 17:45:26 f8dd23265c3c: Pushed 17:45:26 f2d6ddc5fe38: Pushed 17:45:26 e387e8ea382c: Pushed 17:45:26 b8f19f75819b: Pushed 17:45:26 c0e42673d47c: Pushed 17:45:26 e5e13b0c77cb: Layer already exists 17:45:27 550e596c6d0e: Pushed 17:45:28 11dd410b1fa3: Pushed 17:45:35 09db4b873be7: Pushed 17:45:35 eace6589c3cbf428f520f2fa351df3c718b4124b: digest: sha256:55ad8f4e080d1ca8866b42390fd0b8f6939e7f497dd8ebe3bc19c2346438ce66 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:35 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:45:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:45:36 f8dd23265c3c: Preparing 17:45:36 61e7540a4c20: Preparing 17:45:36 c643af693f0c: Preparing 17:45:36 550e596c6d0e: Preparing 17:45:36 1207169bf42c: Preparing 17:45:36 f2d6ddc5fe38: Preparing 17:45:36 e387e8ea382c: Preparing 17:45:36 c0e42673d47c: Preparing 17:45:36 b8f19f75819b: Preparing 17:45:36 11dd410b1fa3: Preparing 17:45:36 09db4b873be7: Preparing 17:45:36 e5e13b0c77cb: Preparing 17:45:36 b8f19f75819b: Waiting 17:45:36 11dd410b1fa3: Waiting 17:45:36 09db4b873be7: Waiting 17:45:36 e5e13b0c77cb: Waiting 17:45:36 e387e8ea382c: Waiting 17:45:36 c0e42673d47c: Waiting 17:45:36 f2d6ddc5fe38: Waiting 17:45:36 61e7540a4c20: Layer already exists 17:45:36 f8dd23265c3c: Layer already exists 17:45:36 c643af693f0c: Layer already exists 17:45:36 550e596c6d0e: Layer already exists 17:45:36 1207169bf42c: Layer already exists 17:45:36 f2d6ddc5fe38: Layer already exists 17:45:36 e387e8ea382c: Layer already exists 17:45:36 c0e42673d47c: Layer already exists 17:45:36 b8f19f75819b: Layer already exists 17:45:36 11dd410b1fa3: Layer already exists 17:45:36 09db4b873be7: Layer already exists 17:45:36 e5e13b0c77cb: Layer already exists 17:45:36 latest: digest: sha256:55ad8f4e080d1ca8866b42390fd0b8f6939e7f497dd8ebe3bc19c2346438ce66 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:36 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.2 17:45:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:45:36 f8dd23265c3c: Preparing 17:45:36 61e7540a4c20: Preparing 17:45:36 c643af693f0c: Preparing 17:45:36 550e596c6d0e: Preparing 17:45:36 1207169bf42c: Preparing 17:45:36 f2d6ddc5fe38: Preparing 17:45:36 e387e8ea382c: Preparing 17:45:36 c0e42673d47c: Preparing 17:45:36 b8f19f75819b: Preparing 17:45:36 11dd410b1fa3: Preparing 17:45:36 09db4b873be7: Preparing 17:45:36 e5e13b0c77cb: Preparing 17:45:36 e387e8ea382c: Waiting 17:45:36 c0e42673d47c: Waiting 17:45:36 e5e13b0c77cb: Waiting 17:45:36 b8f19f75819b: Waiting 17:45:36 09db4b873be7: Waiting 17:45:36 f2d6ddc5fe38: Waiting 17:45:36 1207169bf42c: Layer already exists 17:45:36 550e596c6d0e: Layer already exists 17:45:36 c643af693f0c: Layer already exists 17:45:36 f8dd23265c3c: Layer already exists 17:45:36 61e7540a4c20: Layer already exists 17:45:36 f2d6ddc5fe38: Layer already exists 17:45:36 e387e8ea382c: Layer already exists 17:45:36 c0e42673d47c: Layer already exists 17:45:36 b8f19f75819b: Layer already exists 17:45:36 11dd410b1fa3: Layer already exists 17:45:36 09db4b873be7: Layer already exists 17:45:36 e5e13b0c77cb: Layer already exists 17:45:36 3.0.0-dev.2: digest: sha256:55ad8f4e080d1ca8866b42390fd0b8f6939e7f497dd8ebe3bc19c2346438ce66 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:45:37 f8dd23265c3c: Preparing 17:45:37 61e7540a4c20: Preparing 17:45:37 c643af693f0c: Preparing 17:45:37 550e596c6d0e: Preparing 17:45:37 1207169bf42c: Preparing 17:45:37 f2d6ddc5fe38: Preparing 17:45:37 e387e8ea382c: Preparing 17:45:37 c0e42673d47c: Preparing 17:45:37 b8f19f75819b: Preparing 17:45:37 11dd410b1fa3: Preparing 17:45:37 09db4b873be7: Preparing 17:45:37 e5e13b0c77cb: Preparing 17:45:37 f2d6ddc5fe38: Waiting 17:45:37 e387e8ea382c: Waiting 17:45:37 c0e42673d47c: Waiting 17:45:37 b8f19f75819b: Waiting 17:45:37 11dd410b1fa3: Waiting 17:45:37 09db4b873be7: Waiting 17:45:37 1207169bf42c: Layer already exists 17:45:37 550e596c6d0e: Layer already exists 17:45:37 c643af693f0c: Layer already exists 17:45:37 61e7540a4c20: Layer already exists 17:45:37 f8dd23265c3c: Layer already exists 17:45:37 f2d6ddc5fe38: Layer already exists 17:45:37 e387e8ea382c: Layer already exists 17:45:37 11dd410b1fa3: Layer already exists 17:45:37 c0e42673d47c: Layer already exists 17:45:37 b8f19f75819b: Layer already exists 17:45:37 09db4b873be7: Layer already exists 17:45:37 e5e13b0c77cb: Layer already exists 17:45:37 eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2: digest: sha256:55ad8f4e080d1ca8866b42390fd0b8f6939e7f497dd8ebe3bc19c2346438ce66 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:45:37 f8dd23265c3c: Preparing 17:45:37 61e7540a4c20: Preparing 17:45:37 c643af693f0c: Preparing 17:45:37 550e596c6d0e: Preparing 17:45:37 1207169bf42c: Preparing 17:45:37 f2d6ddc5fe38: Preparing 17:45:37 e387e8ea382c: Preparing 17:45:37 c0e42673d47c: Preparing 17:45:37 b8f19f75819b: Preparing 17:45:37 11dd410b1fa3: Preparing 17:45:37 09db4b873be7: Preparing 17:45:37 e5e13b0c77cb: Preparing 17:45:37 e387e8ea382c: Waiting 17:45:37 09db4b873be7: Waiting 17:45:37 b8f19f75819b: Waiting 17:45:37 11dd410b1fa3: Waiting 17:45:37 e5e13b0c77cb: Waiting 17:45:37 f8dd23265c3c: Layer already exists 17:45:37 1207169bf42c: Layer already exists 17:45:37 550e596c6d0e: Layer already exists 17:45:37 c643af693f0c: Layer already exists 17:45:37 61e7540a4c20: Layer already exists 17:45:37 f2d6ddc5fe38: Layer already exists 17:45:37 e387e8ea382c: Layer already exists 17:45:37 c0e42673d47c: Layer already exists 17:45:37 b8f19f75819b: Layer already exists 17:45:37 11dd410b1fa3: Layer already exists 17:45:37 09db4b873be7: Layer already exists 17:45:37 e5e13b0c77cb: Layer already exists 17:45:37 main: digest: sha256:55ad8f4e080d1ca8866b42390fd0b8f6939e7f497dd8ebe3bc19c2346438ce66 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:45:38 ===================================================== [Pipeline] echo 17:45:38 taggedImages: 17:45:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b 17:45:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:45:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.2 17:45:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:45:38 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:38 17:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:38 latest: Pulling from edgex-lftools-log-publisher 17:45:38 5eb5b503b376: Pulling fs layer 17:45:38 5c69ac0246d0: Pulling fs layer 17:45:38 ec43610c2a17: Pulling fs layer 17:45:38 3a2ae6a8a46f: Pulling fs layer 17:45:38 33b1e0a273af: Pulling fs layer 17:45:38 5d3b04190fa2: Pulling fs layer 17:45:38 3a2ae6a8a46f: Waiting 17:45:38 33b1e0a273af: Waiting 17:45:38 5d3b04190fa2: Waiting 17:45:38 2f39f015ded8: Pulling fs layer 17:45:38 2f39f015ded8: Waiting 17:45:38 5c69ac0246d0: Verifying Checksum 17:45:38 5c69ac0246d0: Download complete 17:45:38 3a2ae6a8a46f: Verifying Checksum 17:45:38 3a2ae6a8a46f: Download complete 17:45:38 33b1e0a273af: Verifying Checksum 17:45:38 33b1e0a273af: Download complete 17:45:38 5d3b04190fa2: Download complete 17:45:38 ec43610c2a17: Download complete 17:45:38 5eb5b503b376: Verifying Checksum 17:45:38 5eb5b503b376: Download complete 17:45:39 2f39f015ded8: Download complete 17:45:40 5eb5b503b376: Pull complete 17:45:40 5c69ac0246d0: Pull complete 17:45:40 ec43610c2a17: Pull complete 17:45:40 3a2ae6a8a46f: Pull complete 17:45:41 33b1e0a273af: Pull complete 17:45:41 5d3b04190fa2: Pull complete 17:45:45 2f39f015ded8: Pull complete 17:45:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:45 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:45:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 17:45:49 $ docker top 5ad05dddf74473be15a63bffb149425a734c2f8bee154cb568d4bd47c823435c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:50 ---> job-cost.sh 17:45:50 lf-activate-venv: SKIPPING 17:45:50 INFO: No Stack... 17:45:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:45:50 INFO: Archiving Costs [Pipeline] sh 17:45:51 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:45:51 + cut -d, -f6 [Pipeline] lock 17:45:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] 17:45:51 Resource [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] did not exist. Created. 17:45:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:45:51 + echo total: 0.2199999988079071 [Pipeline] stash 17:45:51 Stashed 1 file(s) [Pipeline] } 17:45:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 17:45:51 $ docker stop --time=1 5ad05dddf74473be15a63bffb149425a734c2f8bee154cb568d4bd47c823435c 17:45:52 $ docker rm -f --volumes 5ad05dddf74473be15a63bffb149425a734c2f8bee154cb568d4bd47c823435c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:46:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1620 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:46:38 Running in /w/workspace/device-usb-camera/73 [Pipeline] { [Pipeline] checkout 17:46:38 Selected Git installation does not exist. Using Default 17:46:38 The recommended git tool is: NONE 17:46:44 using credential edgex-jenkins-ssh 17:46:44 Cloning the remote Git repository 17:46:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:46:45 > git init /w/workspace/device-usb-camera/73 # timeout=10 17:46:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:46:45 > git --version # timeout=10 17:46:45 > git --version # 'git version 2.25.1' 17:46:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:46:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:46:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:46:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:46:47 Avoid second fetch 17:46:47 Checking out Revision eace6589c3cbf428f520f2fa351df3c718b4124b (main) 17:46:48 Commit message: "Merge pull request #124 from lenny-intel/options" 17:46:47 > git config core.sparsecheckout # timeout=10 17:46:47 > git checkout -f eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:46:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:49 Dload Upload Total Spent Left Speed 17:46:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 17:46:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:46:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:46:50 + sudo tee /etc/docker/daemon.new 17:46:50 { 17:46:50 "registry-mirrors": [ 17:46:50 "https://nexus3.edgexfoundry.org:10001" 17:46:50 ], 17:46:50 "bip": "10.250.0.254/24", 17:46:50 "hosts": [ 17:46:50 "tcp://0.0.0.0:5555", 17:46:50 "unix:///var/run/docker.sock" 17:46:50 ], 17:46:50 "mtu": 1458, 17:46:50 "selinux-enabled": true, 17:46:50 "seccomp-profile": "/etc/docker/seccomp.json" 17:46:50 } [Pipeline] sh 17:46:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:46:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:09 provisioning config files... 17:47:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/73@tmp/config2349525147817792431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:09 ---> docker-login.sh 17:47:09 nexus3.edgexfoundry.org:10001 17:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:10 Configure a credential helper to remove this warning. See 17:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:10 17:47:10 Login Succeeded 17:47:10 nexus3.edgexfoundry.org:10002 17:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:11 Configure a credential helper to remove this warning. See 17:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:11 17:47:11 Login Succeeded 17:47:11 nexus3.edgexfoundry.org:10003 17:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:11 Configure a credential helper to remove this warning. See 17:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:11 17:47:11 Login Succeeded 17:47:11 nexus3.edgexfoundry.org:10004 17:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:11 Configure a credential helper to remove this warning. See 17:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:11 17:47:11 Login Succeeded 17:47:11 docker.io 17:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:12 Configure a credential helper to remove this warning. See 17:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:12 17:47:12 Login Succeeded 17:47:12 ---> docker-login.sh ends [Pipeline] } 17:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:13 ========================================================= 17:47:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:47:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:13 + 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 . 17:47:13 Sending build context to Docker daemon 1.1MB 17:47:13 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:47:13 Step 2/13 : FROM ${BASE} AS builder 17:47:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:47:14 9b18e9b68314: Pulling fs layer 17:47:14 35d82f9e3411: Pulling fs layer 17:47:14 e16973657156: Pulling fs layer 17:47:14 fc693d55d65f: Pulling fs layer 17:47:14 7e9fc2657dce: Pulling fs layer 17:47:14 dda99020689f: Pulling fs layer 17:47:14 db1c61fa0a46: Pulling fs layer 17:47:14 891c053d2c06: Pulling fs layer 17:47:14 db1c61fa0a46: Waiting 17:47:14 fc693d55d65f: Waiting 17:47:14 7e9fc2657dce: Waiting 17:47:14 891c053d2c06: Waiting 17:47:14 dda99020689f: Waiting 17:47:14 e16973657156: Verifying Checksum 17:47:14 e16973657156: Download complete 17:47:14 35d82f9e3411: Download complete 17:47:14 7e9fc2657dce: Verifying Checksum 17:47:14 7e9fc2657dce: Download complete 17:47:14 dda99020689f: Verifying Checksum 17:47:14 dda99020689f: Download complete 17:47:14 9b18e9b68314: Verifying Checksum 17:47:15 9b18e9b68314: Pull complete 17:47:15 891c053d2c06: Verifying Checksum 17:47:15 891c053d2c06: Download complete 17:47:15 35d82f9e3411: Pull complete 17:47:16 e16973657156: Pull complete 17:47:16 db1c61fa0a46: Download complete 17:47:17 fc693d55d65f: Verifying Checksum 17:47:17 fc693d55d65f: Download complete 17:47:29 fc693d55d65f: Pull complete 17:47:30 7e9fc2657dce: Pull complete 17:47:30 dda99020689f: Pull complete 17:47:38 db1c61fa0a46: Pull complete 17:47:40 891c053d2c06: Pull complete 17:47:40 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:47:40 ---> f96f9c87975a 17:47:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:47:42 ---> Running in 2380a800bc96 17:47:42 Removing intermediate container 2380a800bc96 17:47:42 ---> 7210e74c0cc3 17:47:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:47:42 ---> Running in 2495480de01e 17:47:42 Removing intermediate container 2495480de01e 17:47:42 ---> 5c851db8453c 17:47:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:47:42 ---> Running in 9b798b939320 17:47:43 Removing intermediate container 9b798b939320 17:47:43 ---> f25045c2c4dc 17:47:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:47:43 ---> Running in 309e190a8d63 17:47:43 Removing intermediate container 309e190a8d63 17:47:43 ---> acb56754f0a2 17:47:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:43 ---> Running in f81a532b3f4b 17:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:47:46 (1/14) Installing libintl (0.21-r2) 17:47:46 (2/14) Installing eudev-libs (3.2.11-r0) 17:47:46 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:47:46 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:47:46 (5/14) Installing v4l-utils (1.22.1-r1) 17:47:46 (6/14) Installing udev-init-scripts (35-r0) 17:47:46 Executing udev-init-scripts-35-r0.post-install 17:47:46 (7/14) Installing libblkid (2.38-r1) 17:47:46 (8/14) Installing xz-libs (5.2.5-r1) 17:47:46 (9/14) Installing zstd-libs (1.5.2-r1) 17:47:46 (10/14) Installing kmod-libs (29-r2) 17:47:46 (11/14) Installing eudev (3.2.11-r0) 17:47:46 (12/14) Installing eudev-dev (3.2.11-r0) 17:47:46 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:47:46 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:47:46 Executing busybox-1.35.0-r17.trigger 17:47:46 Executing eudev-3.2.11-r0.trigger 17:47:46 OK: 228 MiB in 65 packages 17:47:48 Removing intermediate container f81a532b3f4b 17:47:48 ---> 768ec36d7a30 17:47:48 Step 8/13 : WORKDIR /device-usb-camera 17:47:48 ---> Running in 94905b33b44e 17:47:48 Removing intermediate container 94905b33b44e 17:47:48 ---> ac0e204f2637 17:47:48 Step 9/13 : COPY go.mod vendor* ./ 17:47:49 ---> e03895133595 17:47:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:49 ---> Running in 4787d5f9361a 17:48:57 Removing intermediate container 4787d5f9361a 17:48:57 ---> 5a03e8f06c1d 17:48:57 Step 11/13 : COPY . . 17:48:57 ---> 1202ed1ee78e 17:48:57 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:48:57 ---> Running in ba1eb1784ed0 17:48:57  % Total % Received % Xferd Average Speed Time Time Time Current 17:48:57 Dload Upload Total Spent Left Speed 17:48:57 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12293 0 --:--:-- --:--:-- --:--:-- 12494 17:48:57 Removing intermediate container ba1eb1784ed0 17:48:57 ---> 7abb4722c0d7 17:48:57 Step 13/13 : RUN ${MAKE} 17:48:57 ---> Running in 8784ee91596c 17:48:57 noop 17:48:57 Removing intermediate container 8784ee91596c 17:48:57 ---> 609df60786cc 17:48:57 Successfully built 609df60786cc 17:48:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:57 + docker inspect -f . ci-base-image-arm64 17:48:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:57 prd-ubuntu20.04-docker-arm64-4c-16g-1620 does not seem to be running inside a container 17:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/73 -v /w/workspace/device-usb-camera/73:/w/workspace/device-usb-camera/73:rw,z -v /w/workspace/device-usb-camera/73@tmp:/w/workspace/device-usb-camera/73@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 17:48:59 $ docker top a97277ca62027e5e8f981c4f9b8ecf998cc7413beb464c7443741aee946c066a -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:00 + go version 17:49:00 go version go1.18.7 linux/arm64 [Pipeline] } 17:49:00 $ docker stop --time=1 a97277ca62027e5e8f981c4f9b8ecf998cc7413beb464c7443741aee946c066a 17:49:02 $ docker rm -f --volumes a97277ca62027e5e8f981c4f9b8ecf998cc7413beb464c7443741aee946c066a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:02 + docker inspect -f . ci-base-image-arm64 17:49:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:03 prd-ubuntu20.04-docker-arm64-4c-16g-1620 does not seem to be running inside a container 17:49:03 $ 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/73 -v /w/workspace/device-usb-camera/73:/w/workspace/device-usb-camera/73:rw,z -v /w/workspace/device-usb-camera/73@tmp:/w/workspace/device-usb-camera/73@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 17:49:06 $ docker top cfd3785895374653b9414eba8986c7e308ffff966073c9f7917d2f52cfc8e37e -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:07 + git config --global --add safe.directory /w/workspace/device-usb-camera/73 [Pipeline] fileExists [Pipeline] sh 17:49:08 + make test 17:49:08 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:49:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:51:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:51:16 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.9% of statements 17:51:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:51:16 CGO_ENABLED=1 go vet ./... 17:51:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:51:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:51:39 ./bin/test-attribution-txt.sh [Pipeline] echo 17:51:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:51:39 $ docker stop --time=1 cfd3785895374653b9414eba8986c7e308ffff966073c9f7917d2f52cfc8e37e 17:51:41 $ docker rm -f --volumes cfd3785895374653b9414eba8986c7e308ffff966073c9f7917d2f52cfc8e37e [Pipeline] // withDockerContainer [Pipeline] sh 17:51:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:51:42 Warning: overwriting stash ‘coverage-report’ 17:51:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:51:43 + ls -al . 17:51:43 total 204 17:51:43 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:49 . 17:51:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:46 .. 17:51:43 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:46 .git 17:51:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:46 .github 17:51:43 -rw-rw-r-- 1 jenkins jenkins 414 Jan 10 17:46 .gitignore 17:51:43 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 17:46 .golangci.yml 17:51:43 -rw-rw-r-- 1 jenkins jenkins 77 Jan 10 17:46 .hadolint.yml 17:51:43 -rw-rw-r-- 1 jenkins jenkins 9546 Jan 10 17:46 Attribution.txt 17:51:43 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 10 17:46 CHANGELOG.md 17:51:43 -rw-rw-r-- 1 jenkins jenkins 2360 Jan 10 17:46 Dockerfile 17:51:43 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 17:46 GOVERNANCE.md 17:51:43 -rw-rw-r-- 1 jenkins jenkins 659 Jan 10 17:46 Jenkinsfile 17:51:43 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 17:46 LICENSE 17:51:43 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 10 17:46 Makefile 17:51:43 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 17:46 OWNERS.md 17:51:43 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 10 17:46 README.md 17:51:43 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:43 VERSION 17:51:43 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:46 bin 17:51:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:46 cmd 17:51:43 -rw-r--r-- 1 jenkins jenkins 30666 Jan 10 17:51 coverage.out 17:51:43 -rwxrwxr-x 1 jenkins jenkins 140 Jan 10 17:46 docker-entrypoint.sh 17:51:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:46 docs 17:51:43 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 10 17:46 go.mod 17:51:43 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 10 17:46 go.sum 17:51:43 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:46 internal 17:51:43 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:46 snap 17:51:43 -rw-rw-r-- 1 jenkins jenkins 231 Jan 10 17:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:43 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eace6589c3cbf428f520f2fa351df3c718b4124b --label arch=arm64 --label version=3.0.0-dev.2 . 17:51:44 Sending build context to Docker daemon 1.131MB 17:51:44 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:51:44 Step 2/35 : FROM ${BASE} AS builder 17:51:44 ---> 609df60786cc 17:51:44 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:51:44 ---> Running in 4e98ff84d495 17:51:44 Removing intermediate container 4e98ff84d495 17:51:44 ---> 2a1bbf3eec16 17:51:44 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:44 ---> Running in fd580a2b1a10 17:51:45 Removing intermediate container fd580a2b1a10 17:51:45 ---> d06f96f7cb49 17:51:45 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:51:45 ---> Running in 00a7a76585d7 17:51:45 Removing intermediate container 00a7a76585d7 17:51:45 ---> f174f46a0862 17:51:45 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:51:45 ---> Running in 269e6f055fd0 17:51:45 Removing intermediate container 269e6f055fd0 17:51:45 ---> eb89751f32a5 17:51:45 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:46 ---> Running in 570af0760590 17:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:51:51 OK: 228 MiB in 65 packages 17:51:52 Removing intermediate container 570af0760590 17:51:52 ---> ecc045fccd10 17:51:52 Step 8/35 : WORKDIR /device-usb-camera 17:51:52 ---> Running in ba5341084661 17:51:52 Removing intermediate container ba5341084661 17:51:52 ---> b4fb01d362d6 17:51:52 Step 9/35 : COPY go.mod vendor* ./ 17:51:53 ---> 52e232f6e4c2 17:51:53 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:53 ---> Running in b4855ca0e113 17:51:55 Removing intermediate container b4855ca0e113 17:51:55 ---> 0cb0abfffdff 17:51:55 Step 11/35 : COPY . . 17:51:56 ---> 337e7d999cb4 17:51:56 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:51:56 ---> Running in 78c69f0ddeac 17:51:58  % Total % Received % Xferd Average Speed Time Time Time  Current 17:51:58 Dload Upload Total Spent Left Speed 17:51:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11895 0 --:--:-- --:--:-- --:--:-- 11932 17:51:58 Removing intermediate container 78c69f0ddeac 17:51:58 ---> 0f7c50192bf3 17:51:58 Step 13/35 : RUN ${MAKE} 17:51:58 ---> Running in 044a091e7336 17:51:59 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:54:36 Removing intermediate container 044a091e7336 17:54:36 ---> 1e029b591a92 17:54:36 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:54:36 v0.18.4: Pulling from aler9/rtsp-simple-server 17:54:36 eab2503cf8f4: Pulling fs layer 17:54:36 97cd0a44c592: Pulling fs layer 17:54:36 97cd0a44c592: Verifying Checksum 17:54:36 97cd0a44c592: Download complete 17:54:37 eab2503cf8f4: Download complete 17:54:37 eab2503cf8f4: Pull complete 17:54:37 97cd0a44c592: Pull complete 17:54:37 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:54:37 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:54:38 ---> 7f763cca56b3 17:54:38 Step 15/35 : FROM alpine:3.16 17:54:38 3.16: Pulling from library/alpine 17:54:38 6875df1f5354: Pulling fs layer 17:54:38 6875df1f5354: Verifying Checksum 17:54:38 6875df1f5354: Download complete 17:54:39 6875df1f5354: Pull complete 17:54:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:54:39 Status: Downloaded newer image for alpine:3.16 17:54:39 ---> 2b4661558fb8 17:54:39 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:54:39 ---> Running in 076c4798a35a 17:54:39 Removing intermediate container 076c4798a35a 17:54:39 ---> 7bb472584889 17:54:39 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:54:39 ---> Running in db652e72825d 17:54:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:54:43 (1/82) Installing dumb-init (1.2.5-r1) 17:54:43 (2/82) Installing sdl2 (2.0.22-r0) 17:54:43 (3/82) Installing libxau (1.0.9-r0) 17:54:43 (4/82) Installing libxdmcp (1.1.3-r0) 17:54:43 (5/82) Installing libxcb (1.15-r0) 17:54:43 (6/82) Installing libx11 (1.8-r0) 17:54:43 (7/82) Installing aom-libs (3.3.0-r0) 17:54:43 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:54:44 (9/82) Installing expat (2.5.0-r0) 17:54:44 (10/82) Installing brotli-libs (1.0.9-r6) 17:54:44 (11/82) Installing libbz2 (1.0.8-r1) 17:54:44 (12/82) Installing libpng (1.6.37-r1) 17:54:44 (13/82) Installing freetype (2.12.1-r0) 17:54:44 (14/82) Installing fontconfig (2.14.0-r0) 17:54:44 (15/82) Installing fribidi (1.0.12-r0) 17:54:44 (16/82) Installing libffi (3.4.2-r1) 17:54:44 (17/82) Installing libintl (0.21-r2) 17:54:44 (18/82) Installing libblkid (2.38-r1) 17:54:44 (19/82) Installing libmount (2.38-r1) 17:54:44 (20/82) Installing pcre (8.45-r2) 17:54:44 (21/82) Installing glib (2.72.1-r0) 17:54:44 (22/82) Installing graphite2 (1.3.14-r1) 17:54:44 (23/82) Installing harfbuzz (4.3.0-r0) 17:54:44 (24/82) Installing libass (0.16.0-r0) 17:54:44 (25/82) Installing libdav1d (1.0.0-r0) 17:54:44 (26/82) Installing libdrm (2.4.110-r0) 17:54:44 (27/82) Installing gmp (6.2.1-r2) 17:54:44 (28/82) Installing nettle (3.7.3-r0) 17:54:44 (29/82) Installing p11-kit (0.24.1-r0) 17:54:44 (30/82) Installing libtasn1 (4.18.0-r1) 17:54:44 (31/82) Installing libunistring (1.0-r0) 17:54:44 (32/82) Installing gnutls (3.7.7-r0) 17:54:44 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:54:44 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:54:44 (35/82) Installing lame (3.100-r0) 17:54:44 (36/82) Installing opus (1.3.1-r1) 17:54:44 (37/82) Installing libasyncns (0.8-r1) 17:54:44 (38/82) Installing dbus-libs (1.14.4-r0) 17:54:44 (39/82) Installing libltdl (2.4.7-r0) 17:54:44 (40/82) Installing orc (0.4.32-r0) 17:54:44 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:54:44 (42/82) Installing libogg (1.3.5-r1) 17:54:44 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:54:44 (44/82) Installing flac (1.3.4-r0) 17:54:44 (45/82) Installing libvorbis (1.3.7-r0) 17:54:44 (46/82) Installing libsndfile (1.1.0-r0) 17:54:44 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:54:44 (48/82) Installing soxr (0.1.3-r2) 17:54:44 (49/82) Installing speexdsp (1.2.0-r0) 17:54:44 (50/82) Installing tdb-libs (1.4.6-r0) 17:54:44 (51/82) Installing libpulse (15.0-r2) 17:54:44 (52/82) Installing cjson (1.7.15-r3) 17:54:44 (53/82) Installing mbedtls (2.28.2-r0) 17:54:44 (54/82) Installing librist (0.2.6-r1) 17:54:44 (55/82) Installing libsrt (1.4.4-r0) 17:54:44 (56/82) Installing libssh (0.9.6-r1) 17:54:45 (57/82) Installing libtheora (1.1.1-r16) 17:54:45 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:54:45 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:54:45 (60/82) Installing libxext (1.3.4-r0) 17:54:45 (61/82) Installing libxfixes (6.0.0-r0) 17:54:45 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:54:45 (63/82) Installing libva (2.14.0-r0) 17:54:45 (64/82) Installing libvdpau (1.5-r0) 17:54:45 (65/82) Installing vidstab (1.1.0-r1) 17:54:45 (66/82) Installing libvpx (1.11.0-r1) 17:54:45 (67/82) Installing libwebp (1.2.3-r0) 17:54:45 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:54:45 (69/82) Installing numactl (2.0.14-r0) 17:54:45 (70/82) Installing x265-libs (3.5-r3) 17:54:45 (71/82) Installing xvidcore (1.3.7-r1) 17:54:45 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:54:46 (73/82) Installing ffmpeg (5.0.1-r1) 17:54:46 (74/82) Installing udev-init-scripts (35-r0) 17:54:46 Executing udev-init-scripts-35-r0.post-install 17:54:46 (75/82) Installing eudev-libs (3.2.11-r0) 17:54:46 (76/82) Installing xz-libs (5.2.5-r1) 17:54:46 (77/82) Installing zstd-libs (1.5.2-r1) 17:54:46 (78/82) Installing kmod-libs (29-r2) 17:54:46 (79/82) Installing eudev (3.2.11-r0) 17:54:46 (80/82) Installing libsodium (1.0.18-r0) 17:54:46 (81/82) Installing libzmq (4.3.4-r0) 17:54:46 (82/82) Installing zeromq (4.3.4-r0) 17:54:46 Executing busybox-1.35.0-r17.trigger 17:54:46 Executing eudev-3.2.11-r0.trigger 17:54:46 OK: 78 MiB in 96 packages 17:54:49 Removing intermediate container db652e72825d 17:54:49 ---> 056ba880c9cf 17:54:49 Step 18/35 : WORKDIR / 17:54:49 ---> Running in e7be5167cd4a 17:54:49 Removing intermediate container e7be5167cd4a 17:54:49 ---> e9ff373c33f1 17:54:49 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:54:51 ---> d5e61dc9f39e 17:54:51 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:54:51 ---> 448be33e3674 17:54:51 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:54:52 ---> bcb1ba4fee12 17:54:52 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:54:52 ---> a9cbe13b65fa 17:54:52 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:54:53 ---> 225218480821 17:54:53 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:54:53 ---> b8bae35f58a1 17:54:53 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:54:55 ---> cb76fb067328 17:54:55 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:54:55 ---> Running in e30b341ad078 17:54:56 Removing intermediate container e30b341ad078 17:54:56 ---> becffe630d27 17:54:56 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:54:56 ---> Running in 0379541009a8 17:54:58 Removing intermediate container 0379541009a8 17:54:58 ---> 4055d5aac531 17:54:58 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:54:58 ---> Running in cef1d4bbfdf7 17:55:00 Removing intermediate container cef1d4bbfdf7 17:55:00 ---> f7db5e51e912 17:55:00 Step 29/35 : EXPOSE 59983 17:55:00 ---> Running in 4666405fc43c 17:55:00 Removing intermediate container 4666405fc43c 17:55:00 ---> e6831a554d83 17:55:00 Step 30/35 : EXPOSE 8554 17:55:00 ---> Running in e44189da1982 17:55:00 Removing intermediate container e44189da1982 17:55:00 ---> 6d20494da5a7 17:55:00 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:55:00 ---> Running in 3bde6dddc8a5 17:55:01 Removing intermediate container 3bde6dddc8a5 17:55:01 ---> 9131b9e31eb1 17:55:01 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:55:01 ---> Running in 7bcaccf24a96 17:55:01 Removing intermediate container 7bcaccf24a96 17:55:01 ---> f66d212edc49 17:55:01 Step 33/35 : LABEL arch=arm64 17:55:01 ---> Running in 7908bddf489b 17:55:02 Removing intermediate container 7908bddf489b 17:55:02 ---> 92427666c402 17:55:02 Step 34/35 : LABEL git_sha=eace6589c3cbf428f520f2fa351df3c718b4124b 17:55:02 ---> Running in f88c5d620e30 17:55:02 Removing intermediate container f88c5d620e30 17:55:02 ---> 07f4b820527f 17:55:02 Step 35/35 : LABEL version=3.0.0-dev.2 17:55:02 ---> Running in 078e8c12bad1 17:55:02 Removing intermediate container 078e8c12bad1 17:55:02 ---> 8a547666ab1a 17:55:02 [Warning] One or more build-args [ARCH] were not consumed 17:55:02 Successfully built 8a547666ab1a 17:55:02 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 17:55:02 provisioning config files... 17:55:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/73@tmp/config15457533854108182966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:02 ---> docker-login.sh 17:55:02 nexus3.edgexfoundry.org:10001 17:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:03 Configure a credential helper to remove this warning. See 17:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:03 17:55:03 Login Succeeded 17:55:03 nexus3.edgexfoundry.org:10002 17:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:03 Configure a credential helper to remove this warning. See 17:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:03 17:55:03 Login Succeeded 17:55:03 nexus3.edgexfoundry.org:10003 17:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:04 Configure a credential helper to remove this warning. See 17:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:04 17:55:04 Login Succeeded 17:55:04 nexus3.edgexfoundry.org:10004 17:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:04 Configure a credential helper to remove this warning. See 17:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:04 17:55:04 Login Succeeded 17:55:04 docker.io 17:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:04 Configure a credential helper to remove this warning. See 17:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:04 17:55:04 Login Succeeded 17:55:04 ---> docker-login.sh ends [Pipeline] } 17:55:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:04 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:55:04 eace6589c3cbf428f520f2fa351df3c718b4124b 17:55:04 latest 17:55:04 3.0.0-dev.2 17:55:04 eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:55:04 main 17:55:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:05 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b 17:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:55:05 9f17e1d3c993: Preparing 17:55:05 8252314d2559: Preparing 17:55:05 ca8e6c51460c: Preparing 17:55:05 a43932d1df72: Preparing 17:55:05 1207169bf42c: Preparing 17:55:05 9af6306314c0: Preparing 17:55:05 72934be82530: Preparing 17:55:05 9244d75d96a8: Preparing 17:55:05 0f68f289fbb5: Preparing 17:55:05 bda3bbca3303: Preparing 17:55:05 d1d71796a5be: Preparing 17:55:05 17bec77d7fdc: Preparing 17:55:05 72934be82530: Waiting 17:55:05 9244d75d96a8: Waiting 17:55:05 0f68f289fbb5: Waiting 17:55:05 bda3bbca3303: Waiting 17:55:05 d1d71796a5be: Waiting 17:55:05 17bec77d7fdc: Waiting 17:55:05 9af6306314c0: Waiting 17:55:05 1207169bf42c: Pushed 17:55:05 8252314d2559: Pushed 17:55:05 ca8e6c51460c: Pushed 17:55:05 9f17e1d3c993: Pushed 17:55:08 9af6306314c0: Pushed 17:55:08 0f68f289fbb5: Pushed 17:55:08 72934be82530: Pushed 17:55:08 9244d75d96a8: Pushed 17:55:08 17bec77d7fdc: Layer already exists 17:55:09 a43932d1df72: Pushed 17:55:13 bda3bbca3303: Pushed 17:55:23 d1d71796a5be: Pushed 17:55:23 eace6589c3cbf428f520f2fa351df3c718b4124b: digest: sha256:6d2c7670ae98df316977e0935aae823aee1fadd8207b57fb1d7f5abfb6c11f3a size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:24 + 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 17:55:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:55:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:55:24 9f17e1d3c993: Preparing 17:55:24 8252314d2559: Preparing 17:55:24 ca8e6c51460c: Preparing 17:55:24 a43932d1df72: Preparing 17:55:24 1207169bf42c: Preparing 17:55:24 9af6306314c0: Preparing 17:55:24 72934be82530: Preparing 17:55:24 9244d75d96a8: Preparing 17:55:24 0f68f289fbb5: Preparing 17:55:24 bda3bbca3303: Preparing 17:55:24 d1d71796a5be: Preparing 17:55:24 17bec77d7fdc: Preparing 17:55:24 72934be82530: Waiting 17:55:24 9244d75d96a8: Waiting 17:55:24 0f68f289fbb5: Waiting 17:55:24 bda3bbca3303: Waiting 17:55:24 d1d71796a5be: Waiting 17:55:24 17bec77d7fdc: Waiting 17:55:24 9af6306314c0: Waiting 17:55:24 a43932d1df72: Layer already exists 17:55:24 8252314d2559: Layer already exists 17:55:24 1207169bf42c: Layer already exists 17:55:24 9f17e1d3c993: Layer already exists 17:55:24 ca8e6c51460c: Layer already exists 17:55:24 72934be82530: Layer already exists 17:55:24 9af6306314c0: Layer already exists 17:55:24 9244d75d96a8: Layer already exists 17:55:24 0f68f289fbb5: Layer already exists 17:55:24 bda3bbca3303: Layer already exists 17:55:24 d1d71796a5be: Layer already exists 17:55:24 17bec77d7fdc: Layer already exists 17:55:24 latest: digest: sha256:6d2c7670ae98df316977e0935aae823aee1fadd8207b57fb1d7f5abfb6c11f3a size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:25 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.2 17:55:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:55:25 9f17e1d3c993: Preparing 17:55:25 8252314d2559: Preparing 17:55:25 ca8e6c51460c: Preparing 17:55:25 a43932d1df72: Preparing 17:55:25 1207169bf42c: Preparing 17:55:25 9af6306314c0: Preparing 17:55:25 72934be82530: Preparing 17:55:25 9244d75d96a8: Preparing 17:55:25 0f68f289fbb5: Preparing 17:55:25 bda3bbca3303: Preparing 17:55:25 d1d71796a5be: Preparing 17:55:25 17bec77d7fdc: Preparing 17:55:25 9244d75d96a8: Waiting 17:55:25 0f68f289fbb5: Waiting 17:55:25 d1d71796a5be: Waiting 17:55:25 17bec77d7fdc: Waiting 17:55:25 bda3bbca3303: Waiting 17:55:25 9af6306314c0: Waiting 17:55:25 72934be82530: Waiting 17:55:25 8252314d2559: Layer already exists 17:55:25 1207169bf42c: Layer already exists 17:55:25 a43932d1df72: Layer already exists 17:55:25 9f17e1d3c993: Layer already exists 17:55:25 ca8e6c51460c: Layer already exists 17:55:25 9244d75d96a8: Layer already exists 17:55:25 9af6306314c0: Layer already exists 17:55:25 bda3bbca3303: Layer already exists 17:55:25 72934be82530: Layer already exists 17:55:25 0f68f289fbb5: Layer already exists 17:55:25 17bec77d7fdc: Layer already exists 17:55:25 d1d71796a5be: Layer already exists 17:55:25 3.0.0-dev.2: digest: sha256:6d2c7670ae98df316977e0935aae823aee1fadd8207b57fb1d7f5abfb6c11f3a size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:25 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:26 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:55:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:55:26 9f17e1d3c993: Preparing 17:55:26 8252314d2559: Preparing 17:55:26 ca8e6c51460c: Preparing 17:55:26 a43932d1df72: Preparing 17:55:26 1207169bf42c: Preparing 17:55:26 9af6306314c0: Preparing 17:55:26 72934be82530: Preparing 17:55:26 9244d75d96a8: Preparing 17:55:26 0f68f289fbb5: Preparing 17:55:26 bda3bbca3303: Preparing 17:55:26 d1d71796a5be: Preparing 17:55:26 17bec77d7fdc: Preparing 17:55:26 9244d75d96a8: Waiting 17:55:26 0f68f289fbb5: Waiting 17:55:26 bda3bbca3303: Waiting 17:55:26 d1d71796a5be: Waiting 17:55:26 17bec77d7fdc: Waiting 17:55:26 9af6306314c0: Waiting 17:55:26 72934be82530: Waiting 17:55:26 a43932d1df72: Layer already exists 17:55:26 8252314d2559: Layer already exists 17:55:26 ca8e6c51460c: Layer already exists 17:55:26 9f17e1d3c993: Layer already exists 17:55:26 1207169bf42c: Layer already exists 17:55:26 9af6306314c0: Layer already exists 17:55:26 9244d75d96a8: Layer already exists 17:55:26 bda3bbca3303: Layer already exists 17:55:26 0f68f289fbb5: Layer already exists 17:55:26 72934be82530: Layer already exists 17:55:26 d1d71796a5be: Layer already exists 17:55:26 17bec77d7fdc: Layer already exists 17:55:26 eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2: digest: sha256:6d2c7670ae98df316977e0935aae823aee1fadd8207b57fb1d7f5abfb6c11f3a size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:26 + 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 17:55:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 17:55:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:55:27 9f17e1d3c993: Preparing 17:55:27 8252314d2559: Preparing 17:55:27 ca8e6c51460c: Preparing 17:55:27 a43932d1df72: Preparing 17:55:27 1207169bf42c: Preparing 17:55:27 9af6306314c0: Preparing 17:55:27 72934be82530: Preparing 17:55:27 9244d75d96a8: Preparing 17:55:27 0f68f289fbb5: Preparing 17:55:27 bda3bbca3303: Preparing 17:55:27 d1d71796a5be: Preparing 17:55:27 17bec77d7fdc: Preparing 17:55:27 0f68f289fbb5: Waiting 17:55:27 bda3bbca3303: Waiting 17:55:27 d1d71796a5be: Waiting 17:55:27 9af6306314c0: Waiting 17:55:27 9244d75d96a8: Waiting 17:55:27 17bec77d7fdc: Waiting 17:55:27 72934be82530: Waiting 17:55:27 9f17e1d3c993: Layer already exists 17:55:27 a43932d1df72: Layer already exists 17:55:27 1207169bf42c: Layer already exists 17:55:27 8252314d2559: Layer already exists 17:55:27 ca8e6c51460c: Layer already exists 17:55:27 9244d75d96a8: Layer already exists 17:55:27 9af6306314c0: Layer already exists 17:55:27 72934be82530: Layer already exists 17:55:27 bda3bbca3303: Layer already exists 17:55:27 0f68f289fbb5: Layer already exists 17:55:27 d1d71796a5be: Layer already exists 17:55:27 17bec77d7fdc: Layer already exists 17:55:27 main: digest: sha256:6d2c7670ae98df316977e0935aae823aee1fadd8207b57fb1d7f5abfb6c11f3a size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:55:27 ===================================================== [Pipeline] echo 17:55:27 taggedImages: 17:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b 17:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.2 17:55:27 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eace6589c3cbf428f520f2fa351df3c718b4124b-3.0.0-dev.2 17:55:27 - 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 17:55:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:27 17:55:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:28 arm64: Pulling from edgex-lftools-log-publisher 17:55:28 8998bd30e6a1: Pulling fs layer 17:55:28 04944245beec: Pulling fs layer 17:55:28 699f458cf7ca: Pulling fs layer 17:55:28 765212b225bb: Pulling fs layer 17:55:28 f23df028b6ca: Pulling fs layer 17:55:28 d65c8cfc05b1: Pulling fs layer 17:55:28 2437ff75d9bd: Pulling fs layer 17:55:28 765212b225bb: Waiting 17:55:28 f23df028b6ca: Waiting 17:55:28 d65c8cfc05b1: Waiting 17:55:28 2437ff75d9bd: Waiting 17:55:28 04944245beec: Verifying Checksum 17:55:28 04944245beec: Download complete 17:55:28 765212b225bb: Verifying Checksum 17:55:28 765212b225bb: Download complete 17:55:28 f23df028b6ca: Verifying Checksum 17:55:28 f23df028b6ca: Download complete 17:55:28 d65c8cfc05b1: Verifying Checksum 17:55:28 d65c8cfc05b1: Download complete 17:55:28 699f458cf7ca: Verifying Checksum 17:55:28 699f458cf7ca: Download complete 17:55:29 8998bd30e6a1: Verifying Checksum 17:55:29 8998bd30e6a1: Download complete 17:55:31 2437ff75d9bd: Verifying Checksum 17:55:31 2437ff75d9bd: Download complete 17:55:32 8998bd30e6a1: Pull complete 17:55:34 04944245beec: Pull complete 17:55:35 699f458cf7ca: Pull complete 17:55:35 765212b225bb: Pull complete 17:55:36 f23df028b6ca: Pull complete 17:55:36 d65c8cfc05b1: Pull complete 17:55:51 2437ff75d9bd: Pull complete 17:55:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:55:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:51 prd-ubuntu20.04-docker-arm64-4c-16g-1620 does not seem to be running inside a container 17:55:51 $ 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/73 -v /w/workspace/device-usb-camera/73:/w/workspace/device-usb-camera/73:rw,z -v /w/workspace/device-usb-camera/73@tmp:/w/workspace/device-usb-camera/73@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 17:55:54 $ docker top a6b7a4145d706557bad422808003a520d78d336ed307cb55a475f7713eb9d29f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:55 ---> job-cost.sh 17:55:55 lf-activate-venv: SKIPPING 17:55:55 INFO: No Stack... 17:55:55 INFO: Retrieving Pricing Info for: v3-standard-4 17:55:56 INFO: Archiving Costs [Pipeline] sh 17:55:56 + cat /w/workspace/device-usb-camera/73/archives/cost.csv 17:55:56 + cut -d, -f6 [Pipeline] lock 17:55:57 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] 17:55:57 Resource [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] did not exist. Created. 17:55:57 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:57 /w/workspace/device-usb-camera/73@tmp/durable-a27f2a55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:55:58 + echo total: 0.10999999940395355 [Pipeline] stash 17:55:58 Warning: overwriting stash ‘stack-cost’ 17:55:58 Stashed 1 file(s) [Pipeline] } 17:55:58 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:58 $ docker stop --time=1 a6b7a4145d706557bad422808003a520d78d336ed307cb55a475f7713eb9d29f 17:56:00 $ docker rm -f --volumes a6b7a4145d706557bad422808003a520d78d336ed307cb55a475f7713eb9d29f [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 17:56:00 provisioning config files... 17:56:00 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12842059484276375076tmp [Pipeline] { [Pipeline] sh 17:56:00 + set +x 17:56:00 + curl -s https://codecov.io/bash 17:56:00 + bash -s -- 17:56:00 17:56:00 _____ _ 17:56:00 / ____| | | 17:56:00 | | ___ __| | ___ ___ _____ __ 17:56:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:56:00 | |___| (_) | (_| | __/ (_| (_) \ V / 17:56:00 \_____\___/ \__,_|\___|\___\___/ \_/ 17:56:00 Bash-1.0.6 17:56:00 17:56:00 17:56:00 ==> git version 2.25.1 found 17:56:00 ==> 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 17:56:00 Release-Date: 2020-01-08 17:56:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:56:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:56:00 ==> Jenkins CI detected. 17:56:00 current dir:  /w/workspace/exfoundry_device-usb-camera_main 17:56:00 project root: . 17:56:00 --> token set from env 17:56:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:56:00 ==> Running gcov in . (disable via -X gcov) 17:56:00 ==> Python coveragepy not found 17:56:00 ==> Searching for coverage reports in: 17:56:00 + . 17:56:00 -> Found 1 reports 17:56:00 ==> Detecting git/mercurial file structure 17:56:00 ==> Reading reports 17:56:00 + ./coverage.out bytes=30666 17:56:00 ==> Appending adjustments 17:56:00 https://docs.codecov.io/docs/fixing-reports 17:56:00 + Found adjustments 17:56:00 ==> Gzipping contents 17:56:00 8.0K /tmp/codecov.d0PVFL.gz 17:56:00 ==> Uploading reports 17:56:00 url: https://codecov.io 17:56:00 query: branch=main&commit=eace6589c3cbf428f520f2fa351df3c718b4124b&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:56:00 -> Pinging Codecov 17:56:00 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=eace6589c3cbf428f520f2fa351df3c718b4124b&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:56:01 -> Uploading to 17:56:01 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/73D8F5FF140700D3E01443B452E23636/eace6589c3cbf428f520f2fa351df3c718b4124b/d7bd792e-e264-4eb1-a1be-bf1c592d32a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T175601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1679cd3250ae3b9877fba632e3b637d715e5711b99005b2df563b8e138203e7b 17:56:01 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:01 Dload Upload Total Spent Left Speed 17:56:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4337 0 0 100 4337 0 17630 --:--:-- --:--:-- --:--:-- 17630 17:56:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] } 17:56:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:56:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:56:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:01 17:56:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:56:02 df9b9388f04a: Pulling fs layer 17:56:02 52dc419b0ee2: Pulling fs layer 17:56:02 25bc292e5bac: Pulling fs layer 17:56:02 114826534d7a: Pulling fs layer 17:56:02 4657fd5d0bcf: Pulling fs layer 17:56:02 6ad1cebc031e: Pulling fs layer 17:56:02 8a3aa393b2d8: Pulling fs layer 17:56:02 4657fd5d0bcf: Waiting 17:56:02 6ad1cebc031e: Waiting 17:56:02 8a3aa393b2d8: Waiting 17:56:02 114826534d7a: Waiting 17:56:02 25bc292e5bac: Verifying Checksum 17:56:02 25bc292e5bac: Download complete 17:56:02 52dc419b0ee2: Verifying Checksum 17:56:02 52dc419b0ee2: Download complete 17:56:02 4657fd5d0bcf: Verifying Checksum 17:56:02 4657fd5d0bcf: Download complete 17:56:02 df9b9388f04a: Verifying Checksum 17:56:02 df9b9388f04a: Download complete 17:56:02 df9b9388f04a: Pull complete 17:56:02 6ad1cebc031e: Verifying Checksum 17:56:02 6ad1cebc031e: Download complete 17:56:02 52dc419b0ee2: Pull complete 17:56:02 25bc292e5bac: Pull complete 17:56:03 114826534d7a: Verifying Checksum 17:56:03 114826534d7a: Download complete 17:56:03 8a3aa393b2d8: Verifying Checksum 17:56:03 8a3aa393b2d8: Download complete 17:56:06 114826534d7a: Pull complete 17:56:06 4657fd5d0bcf: Pull complete 17:56:06 6ad1cebc031e: Pull complete 17:56:09 8a3aa393b2d8: Pull complete 17:56:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:56:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:09 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:56:09 $ 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 17:56:14 $ docker top afe0ed70f578b8b581cdc54fd36bf1e874a7719b814a30b0a7bf927e3e72d5b0 -eo pid,comm [Pipeline] { [Pipeline] echo 17:56:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 17:56:15 + set -o pipefail 17:56:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 17:56:29 17:56:29 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 17:56:29 17:56:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/25c742bc-5768-430d-9af0-4e378a13b720 17:56:29 17:56:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:56:29 17:56:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:56:29 17:56:30 17:56:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:56:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:56:30 More details here: https://snyk.co/ue1NS [Pipeline] } 17:56:30 $ docker stop --time=1 afe0ed70f578b8b581cdc54fd36bf1e874a7719b814a30b0a7bf927e3e72d5b0 17:56:33 $ docker rm -f --volumes afe0ed70f578b8b581cdc54fd36bf1e874a7719b814a30b0a7bf927e3e72d5b0 [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 17:56:34 + git log --format=format:%s -1 eace6589c3cbf428f520f2fa351df3c718b4124b [Pipeline] sh 17:56:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:35 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:56:35 $ 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 17:56:35 $ docker top c646a06e25e50e6a2b688baf76d74b730594c216c81f05e63127ca52666c1f05 -eo pid,comm 17:56:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:56:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:56:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:56:35 [ssh-agent] Looking for ssh-agent implementation... 17:56:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:56:35 $ docker exec c646a06e25e50e6a2b688baf76d74b730594c216c81f05e63127ca52666c1f05 ssh-agent 17:56:36 SSH_AUTH_SOCK=/tmp/ssh-COqweZh53s7l/agent.32 17:56:36 SSH_AGENT_PID=38 17:56:36 Running ssh-add (command line suppressed) 17:56:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13221605584175832102.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13221605584175832102.key) 17:56:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:56:36 + git semver tag 17:56:36 2023-01-10 17:56:36,684 [run_tag] DEBUG tag force:False 17:56:36 2023-01-10 17:56:36,684 [check_head_tag] DEBUG check head tag 17:56:36 2023-01-10 17:56:36,685 [execute] INFO git cat-file --batch-check 17:56:36 2023-01-10 17:56:36,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:56:36 2023-01-10 17:56:36,689 [execute] INFO git cat-file --batch 17:56:36 2023-01-10 17:56:36,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:56:36 2023-01-10 17:56:36,705 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:56:36 2023-01-10 17:56:36,705 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 17:56:36 2023-01-10 17:56:36,705 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:56:36 2023-01-10 17:56:36,709 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:56:36 3.0.0-dev.2 [Pipeline] } 17:56:36 $ docker exec --env ******** --env ******** c646a06e25e50e6a2b688baf76d74b730594c216c81f05e63127ca52666c1f05 ssh-agent -k 17:56:36 unset SSH_AUTH_SOCK; 17:56:36 unset SSH_AGENT_PID; 17:56:36 echo Agent pid 38 killed; 17:56:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:37 + git semver [Pipeline] } 17:56:37 $ docker stop --time=1 c646a06e25e50e6a2b688baf76d74b730594c216c81f05e63127ca52666c1f05 17:56:38 $ docker rm -f --volumes c646a06e25e50e6a2b688baf76d74b730594c216c81f05e63127ca52666c1f05 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:39 17:56:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:39 0.23.1-centos7: Pulling from edgex-lftools 17:56:39 ab5ef0e58194: Pulling fs layer 17:56:39 9712f1f96733: Pulling fs layer 17:56:39 63f879dbbcfc: Pulling fs layer 17:56:39 0d9ebad4ef96: Pulling fs layer 17:56:39 e9a5061849ea: Pulling fs layer 17:56:39 d747dcd14b5f: Pulling fs layer 17:56:39 2de7ff778b66: Pulling fs layer 17:56:39 e9a5061849ea: Waiting 17:56:39 d747dcd14b5f: Waiting 17:56:39 2de7ff778b66: Waiting 17:56:39 0d9ebad4ef96: Waiting 17:56:39 9712f1f96733: Verifying Checksum 17:56:39 9712f1f96733: Download complete 17:56:40 63f879dbbcfc: Verifying Checksum 17:56:40 63f879dbbcfc: Download complete 17:56:40 e9a5061849ea: Verifying Checksum 17:56:40 e9a5061849ea: Download complete 17:56:40 ab5ef0e58194: Download complete 17:56:40 d747dcd14b5f: Verifying Checksum 17:56:40 0d9ebad4ef96: Verifying Checksum 17:56:41 2de7ff778b66: Verifying Checksum 17:56:41 2de7ff778b66: Download complete 17:56:43 ab5ef0e58194: Pull complete 17:56:43 9712f1f96733: Pull complete 17:56:44 63f879dbbcfc: Pull complete 17:56:48 0d9ebad4ef96: Pull complete 17:56:48 e9a5061849ea: Pull complete 17:56:48 d747dcd14b5f: Pull complete 17:56:49 2de7ff778b66: Pull complete 17:56:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:56:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:56:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:49 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:56:49 $ 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 17:56:54 $ docker top 789f2882e378410e3700c5005c2dd4a36fbff712ca5869743216d5120de2477b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:56:55 provisioning config files... 17:56:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12689681659897563594tmp 17:56:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config982029079074296903tmp 17:56:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6625216641561484358tmp [Pipeline] { [Pipeline] echo 17:56:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:56:55 ---> sigul-configuration.sh 17:56:55 gpg: directory `/root/.gnupg' created 17:56:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:56:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:56:55 gpg: keyring `/root/.gnupg/secring.gpg' created 17:56:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:56:55 gpg: CAST5 encrypted data 17:56:55 gpg: encrypted with 1 passphrase 17:56:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:56:55 + mkdir /home/jenkins 17:56:55 + mkdir /home/jenkins/sigul [Pipeline] sh 17:56:55 + 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 17:56:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:56:56 ---> sigul-install.sh 17:56:56 Sigul already installed; skipping installation. [Pipeline] sh 17:56:56 + git tag --list 17:56:56 v0.0.0 17:56:56 v0.0.1-dev.1 17:56:56 v0.0.1-dev.10 17:56:56 v0.0.1-dev.11 17:56:56 v0.0.1-dev.12 17:56:56 v0.0.1-dev.13 17:56:56 v0.0.1-dev.14 17:56:56 v0.0.1-dev.15 17:56:56 v0.0.1-dev.16 17:56:56 v0.0.1-dev.2 17:56:56 v0.0.1-dev.3 17:56:56 v0.0.1-dev.4 17:56:56 v0.0.1-dev.5 17:56:56 v0.0.1-dev.6 17:56:56 v0.0.1-dev.7 17:56:56 v0.0.1-dev.8 17:56:56 v0.0.1-dev.9 17:56:56 v2.2.0 17:56:56 v2.2.0-dev.17 17:56:56 v2.2.0-dev.18 17:56:56 v2.2.0-dev.19 17:56:56 v2.2.0-dev.20 17:56:56 v2.2.0-dev.21 17:56:56 v2.2.0-dev.22 17:56:56 v2.2.0-dev.23 17:56:56 v2.2.0-dev.24 17:56:56 v2.2.0-dev.25 17:56:56 v2.2.0-dev.26 17:56:56 v2.2.0-dev.27 17:56:56 v2.3.0 17:56:56 v2.3.0-dev.1 17:56:56 v2.3.0-dev.10 17:56:56 v2.3.0-dev.11 17:56:56 v2.3.0-dev.12 17:56:56 v2.3.0-dev.13 17:56:56 v2.3.0-dev.14 17:56:56 v2.3.0-dev.15 17:56:56 v2.3.0-dev.16 17:56:56 v2.3.0-dev.17 17:56:56 v2.3.0-dev.18 17:56:56 v2.3.0-dev.19 17:56:56 v2.3.0-dev.2 17:56:56 v2.3.0-dev.20 17:56:56 v2.3.0-dev.21 17:56:56 v2.3.0-dev.22 17:56:56 v2.3.0-dev.23 17:56:56 v2.3.0-dev.24 17:56:56 v2.3.0-dev.25 17:56:56 v2.3.0-dev.26 17:56:56 v2.3.0-dev.27 17:56:56 v2.3.0-dev.28 17:56:56 v2.3.0-dev.3 17:56:56 v2.3.0-dev.4 17:56:56 v2.3.0-dev.5 17:56:56 v2.3.0-dev.6 17:56:56 v2.3.0-dev.7 17:56:56 v2.3.0-dev.8 17:56:56 v2.3.0-dev.9 17:56:56 v3.0.0-dev.1 17:56:56 v3.0.0-dev.2 [Pipeline] sh 17:56:56 + lftools sign git-tag v3.0.0-dev.2 17:56:57 Signing Git tag with Sigul... 17:56:57 Signing v3.0.0-dev.2 [Pipeline] echo 17:56:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:56:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:56:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:56:57 $ docker stop --time=1 789f2882e378410e3700c5005c2dd4a36fbff712ca5869743216d5120de2477b 17:56:59 $ docker rm -f --volumes 789f2882e378410e3700c5005c2dd4a36fbff712ca5869743216d5120de2477b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:56:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:56:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:59 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:57:00 $ 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 17:57:00 $ docker top ec927ec7ee44948c61c59993ecb9e94a06e9865f886516e626aa2080e0cf2f80 -eo pid,comm 17:57:00 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). 17:57:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:00 [ssh-agent] Looking for ssh-agent implementation... 17:57:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:00 $ docker exec ec927ec7ee44948c61c59993ecb9e94a06e9865f886516e626aa2080e0cf2f80 ssh-agent 17:57:00 SSH_AUTH_SOCK=/tmp/ssh-Yvx7TJeueXnd/agent.32 17:57:00 SSH_AGENT_PID=38 17:57:00 Running ssh-add (command line suppressed) 17:57:00 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14322904455514424230.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14322904455514424230.key) 17:57:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:01 + git semver bump pre 17:57:01 2023-01-10 17:57:01,220 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:57:01 2023-01-10 17:57:01,220 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 17:57:01 2023-01-10 17:57:01,220 [bump_version] DEBUG bumped version:3.0.0-dev.3 17:57:01 2023-01-10 17:57:01,220 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 17:57:01 2023-01-10 17:57:01,220 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:57:01 2023-01-10 17:57:01,220 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:57:01 2023-01-10 17:57:01,222 [execute] INFO git cat-file --batch-check 17:57:01 2023-01-10 17:57:01,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:57:01 2023-01-10 17:57:01,227 [execute] INFO git cat-file --batch 17:57:01 2023-01-10 17:57:01,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:57:01 2023-01-10 17:57:01,232 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:57:01 3.0.0-dev.3 [Pipeline] } 17:57:01 $ docker exec --env ******** --env ******** ec927ec7ee44948c61c59993ecb9e94a06e9865f886516e626aa2080e0cf2f80 ssh-agent -k 17:57:01 unset SSH_AUTH_SOCK; 17:57:01 unset SSH_AGENT_PID; 17:57:01 echo Agent pid 38 killed; 17:57:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:01 + git semver [Pipeline] } 17:57:02 $ docker stop --time=1 ec927ec7ee44948c61c59993ecb9e94a06e9865f886516e626aa2080e0cf2f80 17:57:03 $ docker rm -f --volumes ec927ec7ee44948c61c59993ecb9e94a06e9865f886516e626aa2080e0cf2f80 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:57:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:57:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:03 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:57:04 $ 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 17:57:04 $ docker top e6adfe13a09a8366c9b70d07742253a8900b5903aae1910fd9ddd72f427e1f85 -eo pid,comm 17:57:04 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). 17:57:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:57:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:57:04 [ssh-agent] Looking for ssh-agent implementation... 17:57:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:57:04 $ docker exec e6adfe13a09a8366c9b70d07742253a8900b5903aae1910fd9ddd72f427e1f85 ssh-agent 17:57:04 SSH_AUTH_SOCK=/tmp/ssh-QK3N1J0wgAzn/agent.31 17:57:04 SSH_AGENT_PID=37 17:57:04 Running ssh-add (command line suppressed) 17:57:04 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15605383842843486433.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15605383842843486433.key) 17:57:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:57:05 + git semver push 17:57:05 2023-01-10 17:57:05,290 [run_push] DEBUG push 17:57:05 2023-01-10 17:57:05,290 [execute] INFO git cat-file --batch-check 17:57:05 2023-01-10 17:57:05,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:57:05 2023-01-10 17:57:05,294 [execute] INFO git rev-list fcda50f4ad396c3738ffabbb4747ee200c49d09b -- 17:57:05 2023-01-10 17:57:05,294 [execute] DEBUG Popen(['git', 'rev-list', 'fcda50f4ad396c3738ffabbb4747ee200c49d09b', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:57:05 2023-01-10 17:57:05,301 [execute] INFO git fetch -v origin 17:57:05 2023-01-10 17:57:05,301 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:57:05 2023-01-10 17:57:05,825 [run_push] DEBUG no remote changes detected 17:57:05 2023-01-10 17:57:05,826 [execute] INFO git push origin semver 17:57:05 2023-01-10 17:57:05,826 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:57:06 2023-01-10 17:57:06,620 [run_push] DEBUG push all version tags 17:57:06 2023-01-10 17:57:06,620 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:57:06 2023-01-10 17:57:06,621 [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) 17:57:07 2023-01-10 17:57:07,452 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:57:07 3.0.0-dev.3 [Pipeline] } 17:57:07 $ docker exec --env ******** --env ******** e6adfe13a09a8366c9b70d07742253a8900b5903aae1910fd9ddd72f427e1f85 ssh-agent -k 17:57:07 unset SSH_AUTH_SOCK; 17:57:07 unset SSH_AGENT_PID; 17:57:07 echo Agent pid 37 killed; 17:57:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:57:08 + git semver [Pipeline] } 17:57:08 $ docker stop --time=1 e6adfe13a09a8366c9b70d07742253a8900b5903aae1910fd9ddd72f427e1f85 17:57:09 $ docker rm -f --volumes e6adfe13a09a8366c9b70d07742253a8900b5903aae1910fd9ddd72f427e1f85 [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 17:57:10 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 17:57:10 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:57:10 total 16 17:57:10 drwxr-xr-x 3 root root 4096 Jan 10 17:45 . 17:57:10 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 17:56 .. 17:57:10 drwxr-xr-x 2 root root 4096 Jan 10 17:45 cost 17:57:10 -rw-r--r-- 1 root root 88 Jan 10 17:45 cost.csv 17:57:10 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 17:57:10 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:57:10 total 16 17:57:10 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:45 . 17:57:10 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 17:56 .. 17:57:10 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 17:45 cost 17:57:10 -rw-r--r-- 1 jenkins jenkins 88 Jan 10 17:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:57:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:57:11 ---> package-listing.sh 17:57:11 ++ facter osfamily 17:57:11 ++ tr '[:upper:]' '[:lower:]' 17:57:11 + OS_FAMILY=debian 17:57:11 + workspace=/w/workspace/exfoundry_device-usb-camera_main 17:57:11 + START_PACKAGES=/tmp/packages_start.txt 17:57:11 + END_PACKAGES=/tmp/packages_end.txt 17:57:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:57:11 + PACKAGES=/tmp/packages_start.txt 17:57:11 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:57:11 + PACKAGES=/tmp/packages_end.txt 17:57:11 + case "${OS_FAMILY}" in 17:57:11 + dpkg -l 17:57:11 + grep '^ii' 17:57:11 + '[' -f /tmp/packages_start.txt ']' 17:57:11 + '[' -f /tmp/packages_end.txt ']' 17:57:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:57:11 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:57:11 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 17:57:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 17:57:11 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 17:57:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:12 prd-ubuntu20.04-docker-8c-8g-1614 does not seem to be running inside a container 17:57:12 $ 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 17:57:12 $ docker top 816e3c49b0edd24b95ef0fb97cbbd335021d25b1a64d721f6f3e33675af28060 -eo pid,comm [Pipeline] { [Pipeline] sh 17:57:13 + touch /tmp/pre-build-complete [Pipeline] sh 17:57:13 + mkdir -p /var/log/sysstat [Pipeline] sh 17:57:13 + ls /var/log/sa-host 17:57:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:13 provisioning config files... 17:57:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18131892228813907675tmp [Pipeline] { [Pipeline] echo 17:57:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:57:14 ---> create-netrc.sh [Pipeline] } 17:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:57:14 ---> python-tools-install.sh [Pipeline] echo 17:57:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:57:14 ---> sudo-logs.sh 17:57:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:57:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:57:15 ---> job-cost.sh 17:57:15 lf-activate-venv: SKIPPING 17:57:15 DEBUG: total: 0.2199999988079071 17:57:15 INFO: Retrieving Stack Cost... 17:57:15 INFO: Retrieving Pricing Info for: v3-standard-8 17:57:15 INFO: Archiving Costs [Pipeline] echo 17:57:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:57:16 ---> logs-deploy.sh 17:57:16 lf-activate-venv: SKIPPING 17:57:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/73 17:57:16 INFO: archiving workspace using pattern(s): 17:57:17 Archives upload complete. 17:57:17 INFO: archiving logs to Nexus