Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 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-ssh1585087936439709538.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-ssh12925247368469053232.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-ssh12458095608496447046.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-ssh11272127679323677933.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-ssh16232417248851079494.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7979 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 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 (main) Commit message: "refactor!: Removal of manual code to add provision watchers (#165)" > 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 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 # timeout=10 > git rev-list --no-walk b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:36:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:36:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:36:29 ========================================================= 17:36:29 EdgeX Global Pipelines Version Info 17:36:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:36:30 ------------------- 17:36:30 stable info: 17:36:30 ------------------- 17:36:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:36:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:36:30 Message: update stable to v1.0.244 17:36:30 ------------------- 17:36:30 experimental info: 17:36:30 ------------------- 17:36:30 Commited By: **** collab-it+edgex@linuxfoundation.org 17:36:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:36:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb09eea [Pipeline] echo 17:36:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:31 provisioning config files... 17:36:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8207971151085269343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:31 ---> docker-login.sh 17:36:31 nexus3.edgexfoundry.org:10001 17:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:32 Configure a credential helper to remove this warning. See 17:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:32 17:36:32 Login Succeeded 17:36:32 nexus3.edgexfoundry.org:10002 17:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:32 Configure a credential helper to remove this warning. See 17:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:32 17:36:32 Login Succeeded 17:36:32 nexus3.edgexfoundry.org:10003 17:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:32 Configure a credential helper to remove this warning. See 17:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:32 17:36:32 Login Succeeded 17:36:32 nexus3.edgexfoundry.org:10004 17:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:32 Configure a credential helper to remove this warning. See 17:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:32 17:36:32 Login Succeeded 17:36:32 docker.io 17:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:32 Configure a credential helper to remove this warning. See 17:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:32 17:36:32 Login Succeeded 17:36:32 ---> docker-login.sh ends [Pipeline] } 17:36:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:36:33 + git rev-list -1 --merges eb09eea23094f9dfe3d7b3f55c1f0828961a3a42~1..eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] echo 17:36:33 -----------> git rev-list -1 --merges eb09eea23094f9dfe3d7b3f55c1f0828961a3a42~1..eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [false] [Pipeline] sh 17:36:33 + git log --format=format:%s -1 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] echo 17:36:33 ========================================================= 17:36:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:36:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:33 + git log --format=format:%s -1 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] echo 17:36:33 [semverPrep] GIT_COMMIT: eb09eea23094f9dfe3d7b3f55c1f0828961a3a42, Commit Message: refactor!: Removal of manual code to add provision watchers (#165) [Pipeline] echo 17:36:33 [semverPrep] This is not a build commit. [Pipeline] sh 17:36:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:36:34 + grep -v github /etc/ssh/ssh_known_hosts 17:36:34 + [ -e /tmp/ssh_known_hosts ] 17:36:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:36:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:36:34 + sudo tee -a /etc/ssh/ssh_known_hosts 17:36:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:34 17:36:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:34 0.1.4: Pulling from edgex-devops/py-git-semver 17:36:34 b85a868b505f: Pulling fs layer 17:36:34 e2be974225ed: Pulling fs layer 17:36:34 339a4e72a1f5: Pulling fs layer 17:36:34 988bab9f4d93: Pulling fs layer 17:36:34 1469e6f7b9e6: Pulling fs layer 17:36:34 eaf3925da568: Pulling fs layer 17:36:34 bab4dde63d76: Pulling fs layer 17:36:34 bde34c3a00c8: Pulling fs layer 17:36:34 b352a97aabf1: Pulling fs layer 17:36:34 4872d77fe225: Pulling fs layer 17:36:34 5851b861e8e6: Pulling fs layer 17:36:34 988bab9f4d93: Waiting 17:36:34 bde34c3a00c8: Waiting 17:36:34 b352a97aabf1: Waiting 17:36:34 1469e6f7b9e6: Waiting 17:36:34 4872d77fe225: Waiting 17:36:34 eaf3925da568: Waiting 17:36:34 bab4dde63d76: Waiting 17:36:34 5851b861e8e6: Waiting 17:36:34 e2be974225ed: Download complete 17:36:34 988bab9f4d93: Verifying Checksum 17:36:34 988bab9f4d93: Download complete 17:36:34 1469e6f7b9e6: Verifying Checksum 17:36:34 1469e6f7b9e6: Download complete 17:36:34 339a4e72a1f5: Verifying Checksum 17:36:34 339a4e72a1f5: Download complete 17:36:34 eaf3925da568: Verifying Checksum 17:36:34 eaf3925da568: Download complete 17:36:34 bde34c3a00c8: Download complete 17:36:34 b352a97aabf1: Download complete 17:36:34 4872d77fe225: Verifying Checksum 17:36:34 4872d77fe225: Download complete 17:36:34 5851b861e8e6: Download complete 17:36:34 b85a868b505f: Verifying Checksum 17:36:34 b85a868b505f: Download complete 17:36:35 bab4dde63d76: Verifying Checksum 17:36:36 b85a868b505f: Pull complete 17:36:36 e2be974225ed: Pull complete 17:36:36 339a4e72a1f5: Pull complete 17:36:36 988bab9f4d93: Pull complete 17:36:36 1469e6f7b9e6: Pull complete 17:36:37 eaf3925da568: Pull complete 17:36:39 bab4dde63d76: Pull complete 17:36:39 bde34c3a00c8: Pull complete 17:36:39 b352a97aabf1: Pull complete 17:36:39 4872d77fe225: Pull complete 17:36:39 5851b861e8e6: Pull complete 17:36:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:36:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:39 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:36:39 $ 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:36:41 $ docker top f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 -eo pid,comm 17:36:41 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:36:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:36:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:41 [ssh-agent] Looking for ssh-agent implementation... 17:36:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:41 $ docker exec f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 ssh-agent 17:36:41 SSH_AUTH_SOCK=/tmp/ssh-4Ti6tzyJlb6i/agent.33 17:36:41 SSH_AGENT_PID=39 17:36:41 Running ssh-add (command line suppressed) 17:36:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15235739568089764778.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15235739568089764778.key) 17:36:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:42 + git tag --points-at HEAD [Pipeline] } 17:36:42 $ docker exec --env ******** --env ******** f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 ssh-agent -k 17:36:42 unset SSH_AUTH_SOCK; 17:36:42 unset SSH_AGENT_PID; 17:36:42 echo Agent pid 39 killed; 17:36:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:36:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:36:42 [ssh-agent] Looking for ssh-agent implementation... 17:36:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:36:42 $ docker exec f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 ssh-agent 17:36:42 SSH_AUTH_SOCK=/tmp/ssh-muiLALFwdIGv/agent.71 17:36:42 SSH_AGENT_PID=77 17:36:42 Running ssh-add (command line suppressed) 17:36:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4895292059845409933.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4895292059845409933.key) 17:36:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:36:42 + git semver init 17:36:43 2023-03-01 17:36:43,179 [run_init] DEBUG init version:0.0.0 force:False 17:36:43 2023-03-01 17:36:43,181 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:36:43 2023-03-01 17:36:43,181 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:36:43 2023-03-01 17:36:43,182 [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:36:44 2023-03-01 17:36:44,001 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:36:44 2023-03-01 17:36:44,002 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:36:44 2023-03-01 17:36:44,002 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:36:44 2023-03-01 17:36:44,002 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:36:44 3.0.0-dev.11 [Pipeline] } 17:36:44 $ docker exec --env ******** --env ******** f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 ssh-agent -k 17:36:44 unset SSH_AUTH_SOCK; 17:36:44 unset SSH_AGENT_PID; 17:36:44 echo Agent pid 77 killed; 17:36:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:36:44 + git semver [Pipeline] } 17:36:44 $ docker stop --time=1 f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 17:36:46 $ docker rm -f --volumes f0a16320633e8bc304e5bfb865a3bd0d231b99c906ad65e711cb89c39b375246 [Pipeline] // withDockerContainer [Pipeline] sh 17:36:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:36:46 Stashed 1 file(s) [Pipeline] echo 17:36:46 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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:36:46 provisioning config files... 17:36:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11588746312686059939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:47 ---> docker-login.sh 17:36:47 nexus3.edgexfoundry.org:10001 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10002 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10003 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 nexus3.edgexfoundry.org:10004 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 docker.io 17:36:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:47 Configure a credential helper to remove this warning. See 17:36:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:47 17:36:47 Login Succeeded 17:36:47 ---> docker-login.sh ends [Pipeline] } 17:36:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:47 ========================================================= 17:36:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:36:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:48 + 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:36:48 Sending build context to Docker daemon 1.758MB 17:36:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:36:48 Step 2/13 : FROM ${BASE} AS builder 17:36:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:36:48 213ec9aee27d: Pulling fs layer 17:36:48 4583459ba037: Pulling fs layer 17:36:48 93c1e223e6f2: Pulling fs layer 17:36:48 53926ce57604: Pulling fs layer 17:36:48 21b2b0c7a3f4: Pulling fs layer 17:36:48 22ff95d597cd: Pulling fs layer 17:36:48 53926ce57604: Waiting 17:36:48 21b2b0c7a3f4: Waiting 17:36:48 12d6caf4c0d1: Pulling fs layer 17:36:48 96b7cbca73a9: Pulling fs layer 17:36:48 a7acece74701: Pulling fs layer 17:36:48 22ff95d597cd: Waiting 17:36:48 96b7cbca73a9: Waiting 17:36:48 12d6caf4c0d1: Waiting 17:36:48 93c1e223e6f2: Verifying Checksum 17:36:48 93c1e223e6f2: Download complete 17:36:48 4583459ba037: Verifying Checksum 17:36:48 4583459ba037: Download complete 17:36:48 21b2b0c7a3f4: Download complete 17:36:48 22ff95d597cd: Download complete 17:36:48 213ec9aee27d: Verifying Checksum 17:36:48 213ec9aee27d: Download complete 17:36:48 12d6caf4c0d1: Verifying Checksum 17:36:48 12d6caf4c0d1: Download complete 17:36:48 213ec9aee27d: Pull complete 17:36:48 4583459ba037: Pull complete 17:36:48 93c1e223e6f2: Pull complete 17:36:48 a7acece74701: Verifying Checksum 17:36:48 a7acece74701: Download complete 17:36:49 96b7cbca73a9: Verifying Checksum 17:36:49 96b7cbca73a9: Download complete 17:36:49 53926ce57604: Verifying Checksum 17:36:49 53926ce57604: Download complete 17:36:52 53926ce57604: Pull complete 17:36:52 21b2b0c7a3f4: Pull complete 17:36:52 22ff95d597cd: Pull complete 17:36:52 12d6caf4c0d1: Pull complete 17:36:54 96b7cbca73a9: Pull complete 17:36:55 a7acece74701: Pull complete 17:36:55 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:36:55 ---> db6d94c90886 17:36:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:36:58 ---> Running in 084586f6148f 17:36:58 Removing intermediate container 084586f6148f 17:36:58 ---> b130ebfd293b 17:36:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:36:58 ---> Running in 9427a7c0bc9a 17:36:58 Removing intermediate container 9427a7c0bc9a 17:36:58 ---> 4b83ad976771 17:36:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:36:58 ---> Running in cd869967701e 17:36:59 Removing intermediate container cd869967701e 17:36:59 ---> 33b295dedd37 17:36:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:36:59 ---> Running in 0da3b3c265e9 17:36:59 Removing intermediate container 0da3b3c265e9 17:36:59 ---> 1c3797ed3d00 17:36:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:59 ---> Running in 006d11debda4 17:36:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:36:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:36:59 (1/80) Installing mesa (21.3.9-r0) 17:36:59 (2/80) Installing libxau (1.0.9-r0) 17:36:59 (3/80) Installing libxdmcp (1.1.3-r0) 17:36:59 (4/80) Installing libxcb (1.15-r0) 17:36:59 (5/80) Installing libx11 (1.8-r0) 17:36:59 (6/80) Installing libxext (1.3.4-r0) 17:36:59 (7/80) Installing libxfixes (6.0.0-r0) 17:36:59 (8/80) Installing libxxf86vm (1.1.4-r2) 17:36:59 (9/80) Installing libpciaccess (0.16-r0) 17:36:59 (10/80) Installing libdrm (2.4.110-r0) 17:36:59 (11/80) Installing mesa-glapi (21.3.9-r0) 17:36:59 (12/80) Installing libxshmfence (1.3-r1) 17:36:59 (13/80) Installing mesa-gl (21.3.9-r0) 17:36:59 (14/80) Installing icu-data-full (71.1-r2) 17:37:00 (15/80) Installing libice (1.0.10-r0) 17:37:00 (16/80) Installing libuuid (2.38-r1) 17:37:00 (17/80) Installing libsm (1.2.3-r0) 17:37:00 (18/80) Installing libxt (1.2.1-r0) 17:37:00 (19/80) Installing libxmu (1.1.3-r0) 17:37:00 (20/80) Installing xset (1.2.4-r0) 17:37:00 (21/80) Installing xprop (1.2.5-r0) 17:37:00 (22/80) Installing xdg-utils (1.1.3-r3) 17:37:00 (23/80) Installing dbus-libs (1.14.4-r0) 17:37:00 (24/80) Installing libffi (3.4.2-r1) 17:37:00 (25/80) Installing libintl (0.21-r2) 17:37:00 (26/80) Installing libblkid (2.38-r1) 17:37:00 (27/80) Installing libmount (2.38-r1) 17:37:00 (28/80) Installing pcre (8.45-r2) 17:37:00 (29/80) Installing glib (2.72.1-r0) 17:37:00 (30/80) Installing icu-libs (71.1-r2) 17:37:00 (31/80) Installing libpcre2-16 (10.40-r0) 17:37:00 (32/80) Installing zstd-libs (1.5.2-r1) 17:37:00 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:37:00 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:37:00 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:37:00 (36/80) Installing mesa-gbm (21.3.9-r0) 17:37:00 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:37:00 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:37:00 (39/80) Installing libxcomposite (0.4.5-r0) 17:37:00 (40/80) Installing libbz2 (1.0.8-r1) 17:37:00 (41/80) Installing libpng (1.6.37-r1) 17:37:00 (42/80) Installing freetype (2.12.1-r0) 17:37:00 (43/80) Installing fontconfig (2.14.0-r0) 17:37:00 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:37:00 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:37:00 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:37:00 (47/80) Installing xz-libs (5.2.5-r1) 17:37:00 (48/80) Installing libxml2 (2.9.14-r2) 17:37:00 (49/80) Installing libxkbcommon (1.4.1-r0) 17:37:00 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:37:00 (51/80) Installing mesa-egl (21.3.9-r0) 17:37:00 (52/80) Installing avahi-libs (0.8-r6) 17:37:00 (53/80) Installing nettle (3.7.3-r0) 17:37:00 (54/80) Installing p11-kit (0.24.1-r0) 17:37:00 (55/80) Installing libtasn1 (4.18.0-r1) 17:37:00 (56/80) Installing libunistring (1.0-r0) 17:37:00 (57/80) Installing gnutls (3.7.7-r1) 17:37:00 (58/80) Installing cups-libs (2.4.2-r0) 17:37:00 (59/80) Installing graphite2 (1.3.14-r1) 17:37:00 (60/80) Installing harfbuzz (4.3.0-r0) 17:37:00 (61/80) Installing libevdev (1.12.1-r0) 17:37:00 (62/80) Installing mtdev (1.1.6-r0) 17:37:00 (63/80) Installing eudev-libs (3.2.11-r0) 17:37:00 (64/80) Installing libinput-libs (1.20.1-r0) 17:37:00 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:37:00 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:37:00 (67/80) Installing xcb-util (0.4.0-r3) 17:37:00 (68/80) Installing xcb-util-image (0.4.0-r1) 17:37:00 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:37:00 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:37:00 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:37:00 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:37:00 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:37:00 (74/80) Installing v4l-utils (1.22.1-r1) 17:37:00 (75/80) Installing udev-init-scripts (35-r0) 17:37:00 Executing udev-init-scripts-35-r0.post-install 17:37:00 (76/80) Installing kmod-libs (29-r2) 17:37:00 (77/80) Installing eudev (3.2.11-r0) 17:37:00 (78/80) Installing eudev-dev (3.2.11-r0) 17:37:00 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:37:01 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:37:01 Executing busybox-1.35.0-r17.trigger 17:37:01 Executing eudev-3.2.11-r0.trigger 17:37:01 OK: 331 MiB in 131 packages 17:37:01 Still waiting to schedule task 17:37:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:37:03 Removing intermediate container 006d11debda4 17:37:03 ---> 21e28312867a 17:37:03 Step 8/13 : WORKDIR /device-usb-camera 17:37:03 ---> Running in b3e9dce29ffd 17:37:03 Removing intermediate container b3e9dce29ffd 17:37:03 ---> a7029ed5d677 17:37:03 Step 9/13 : COPY go.mod vendor* ./ 17:37:03 ---> 8af33066d083 17:37:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:03 ---> Running in ed6dcbd89e4c 17:37:35 Removing intermediate container ed6dcbd89e4c 17:37:35 ---> 26941877e615 17:37:35 Step 11/13 : COPY . . 17:37:35 ---> 83de2a8d441a 17:37:35 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:37:35 ---> Running in b2d247783de3 17:37:35  % Total % Received % Xferd Average Speed Time Time Time Current 17:37:35 Dload Upload Total Spent Left Speed 17:37:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6698 0 --:--:-- --:--:-- --:--:-- 6721 17:37:35 Removing intermediate container b2d247783de3 17:37:35 ---> 722a64bd112d 17:37:35 Step 13/13 : RUN ${MAKE} 17:37:35 ---> Running in 48c87d026583 17:37:35 noop 17:37:35 Removing intermediate container 48c87d026583 17:37:35 ---> b0bf89b03271 17:37:35 Successfully built b0bf89b03271 17:37:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:36 + docker inspect -f . ci-base-image-x86_64 17:37:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:36 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:37:36 $ 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:37:36 $ docker top cbddba3af5639deedfbad5dcf989bc671107574a3fdde6e581acd10721d4339d -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:36 + go version 17:37:36 go version go1.18.7 linux/amd64 [Pipeline] } 17:37:36 $ docker stop --time=1 cbddba3af5639deedfbad5dcf989bc671107574a3fdde6e581acd10721d4339d 17:37:38 $ docker rm -f --volumes cbddba3af5639deedfbad5dcf989bc671107574a3fdde6e581acd10721d4339d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:38 + docker inspect -f . ci-base-image-x86_64 17:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:38 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:37:38 $ 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:37:38 $ docker top 016d941f40ed5391dfa4e91d9b1a628756ba8cd54f66e06bd7164837abfdcf07 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:39 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:37:39 + make test 17:37:39 go test ./... -coverprofile=coverage.out ./... 17:37:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:37:47 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:37:48 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 2.0% of statements 17:37:55 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:37:55 go vet ./... 17:37:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:58 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:58 $ docker stop --time=1 016d941f40ed5391dfa4e91d9b1a628756ba8cd54f66e06bd7164837abfdcf07 17:38:01 $ docker rm -f --volumes 016d941f40ed5391dfa4e91d9b1a628756ba8cd54f66e06bd7164837abfdcf07 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:38:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:02 + ls -al . 17:38:02 total 188 17:38:02 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 17:37 . 17:38:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:36 .. 17:38:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 17:37 .git 17:38:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:36 .github 17:38:02 -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 17:36 .gitignore 17:38:02 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 17:36 .golangci.yml 17:38:02 -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 17:36 .hadolint.yml 17:38:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 17:36 .semver 17:38:02 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 17:36 Attribution.txt 17:38:02 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 17:36 CHANGELOG.md 17:38:02 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 17:36 Dockerfile 17:38:02 -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 17:36 GOVERNANCE.md 17:38:02 -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 17:36 Jenkinsfile 17:38:02 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 17:36 LICENSE 17:38:02 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 17:36 Makefile 17:38:02 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 17:36 OWNERS.md 17:38:02 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 17:36 README.md 17:38:02 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 17:36 VERSION 17:38:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 17:36 bin 17:38:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:36 cmd 17:38:02 -rw-r--r-- 1 jenkins jenkins 28352 Mar 1 17:37 coverage.out 17:38:02 -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 17:36 docker-entrypoint.sh 17:38:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:36 docs 17:38:02 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 17:36 go.mod 17:38:02 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 17:36 go.sum 17:38:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:36 internal 17:38:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:36 snap 17:38:02 -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:02 + 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=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 --label arch=amd64 --label version=3.0.0-dev.11 . 17:38:02 Sending build context to Docker daemon 1.787MB 17:38:02 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:38:02 Step 2/35 : FROM ${BASE} AS builder 17:38:02 ---> b0bf89b03271 17:38:02 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:38:03 ---> Running in a7f6cd8a66eb 17:38:03 Removing intermediate container a7f6cd8a66eb 17:38:03 ---> 719be9d3301a 17:38:03 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:03 ---> Running in b70960bdc6f5 17:38:03 Removing intermediate container b70960bdc6f5 17:38:03 ---> 59fced17aca2 17:38:03 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:38:03 ---> Running in 161abc289fcb 17:38:03 Removing intermediate container 161abc289fcb 17:38:03 ---> ee28c5a7b3cc 17:38:03 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:38:03 ---> Running in cd400a24e6c9 17:38:03 Removing intermediate container cd400a24e6c9 17:38:03 ---> 7069cbef4c5d 17:38:03 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:03 ---> Running in f8a2e080fe33 17:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:38:04 OK: 331 MiB in 131 packages 17:38:04 Removing intermediate container f8a2e080fe33 17:38:04 ---> 551f86bd9568 17:38:04 Step 8/35 : WORKDIR /device-usb-camera 17:38:04 ---> Running in a80984b9d25a 17:38:04 Removing intermediate container a80984b9d25a 17:38:04 ---> 9b365670b85c 17:38:04 Step 9/35 : COPY go.mod vendor* ./ 17:38:04 ---> 8ab7b9be9990 17:38:04 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:04 ---> Running in 6cbaa9e81b7e 17:38:05 Removing intermediate container 6cbaa9e81b7e 17:38:05 ---> bd9123f1d94d 17:38:05 Step 11/35 : COPY . . 17:38:05 ---> bc2ea9f79c33 17:38:05 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:38:05 ---> Running in 02a25c15311d 17:38:06  % Total % Received % Xferd Average Speed Time Time Time Current 17:38:06  Dload Upload  Total Spent Left Speed 17:38:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 37668 0 --:--:-- --:--:-- --:--:-- 39333 17:38:06 Removing intermediate container 02a25c15311d 17:38:06 ---> 1f799a18d8cc 17:38:06 Step 13/35 : RUN ${MAKE} 17:38:06 ---> Running in 0e5c439b92f6 17:38:06 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:38:28 Removing intermediate container 0e5c439b92f6 17:38:28 ---> 683edb6e0d4e 17:38:28 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:38:28 v0.18.4: Pulling from aler9/rtsp-simple-server 17:38:28 af6660deedbd: Pulling fs layer 17:38:28 97cd0a44c592: Pulling fs layer 17:38:28 97cd0a44c592: Verifying Checksum 17:38:28 97cd0a44c592: Download complete 17:38:28 af6660deedbd: Verifying Checksum 17:38:28 af6660deedbd: Download complete 17:38:29 af6660deedbd: Pull complete 17:38:29 97cd0a44c592: Pull complete 17:38:29 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:38:29 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:38:29 ---> fea57e182299 17:38:29 Step 15/35 : FROM alpine:3.16 17:38:29 3.16: Pulling from library/alpine 17:38:29 ef5531b6e74e: Pulling fs layer 17:38:29 ef5531b6e74e: Verifying Checksum 17:38:29 ef5531b6e74e: Pull complete 17:38:29 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:38:29 Status: Downloaded newer image for alpine:3.16 17:38:29 ---> dfd21b5a31f5 17:38:29 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:38:30 ---> Running in a32ad5bda197 17:38:30 Removing intermediate container a32ad5bda197 17:38:30 ---> d1142a173bbe 17:38:30 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:38:30 ---> Running in 434bcca98beb 17:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:38:30 (1/80) Installing dumb-init (1.2.5-r1) 17:38:30 (2/80) Installing sdl2 (2.0.22-r0) 17:38:30 (3/80) Installing libxau (1.0.9-r0) 17:38:30 (4/80) Installing libxdmcp (1.1.3-r0) 17:38:30 (5/80) Installing libxcb (1.15-r0) 17:38:30 (6/80) Installing libx11 (1.8-r0) 17:38:30 (7/80) Installing aom-libs (3.3.0-r0) 17:38:31 (8/80) Installing alsa-lib (1.2.7.2-r0) 17:38:31 (9/80) Installing expat (2.5.0-r0) 17:38:31 (10/80) Installing brotli-libs (1.0.9-r6) 17:38:31 (11/80) Installing libbz2 (1.0.8-r1) 17:38:31 (12/80) Installing libpng (1.6.37-r1) 17:38:31 (13/80) Installing freetype (2.12.1-r0) 17:38:31 (14/80) Installing fontconfig (2.14.0-r0) 17:38:31 (15/80) Installing fribidi (1.0.12-r0) 17:38:31 (16/80) Installing libffi (3.4.2-r1) 17:38:31 (17/80) Installing libintl (0.21-r2) 17:38:31 (18/80) Installing libblkid (2.38-r1) 17:38:31 (19/80) Installing libmount (2.38-r1) 17:38:31 (20/80) Installing pcre (8.45-r2) 17:38:31 (21/80) Installing glib (2.72.1-r0) 17:38:31 (22/80) Installing graphite2 (1.3.14-r1) 17:38:31 (23/80) Installing harfbuzz (4.3.0-r0) 17:38:31 (24/80) Installing libass (0.16.0-r0) 17:38:31 (25/80) Installing libdav1d (1.0.0-r0) 17:38:31 (26/80) Installing libpciaccess (0.16-r0) 17:38:31 (27/80) Installing libdrm (2.4.110-r0) 17:38:31 (28/80) Installing gmp (6.2.1-r2) 17:38:31 (29/80) Installing nettle (3.7.3-r0) 17:38:31 (30/80) Installing p11-kit (0.24.1-r0) 17:38:31 (31/80) Installing libtasn1 (4.18.0-r1) 17:38:31 (32/80) Installing libunistring (1.0-r0) 17:38:31 (33/80) Installing gnutls (3.7.7-r1) 17:38:31 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:38:31 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 17:38:31 (36/80) Installing lame (3.100-r0) 17:38:31 (37/80) Installing opus (1.3.1-r1) 17:38:31 (38/80) Installing libasyncns (0.8-r1) 17:38:31 (39/80) Installing dbus-libs (1.14.4-r0) 17:38:31 (40/80) Installing libltdl (2.4.7-r0) 17:38:31 (41/80) Installing orc (0.4.32-r0) 17:38:31 (42/80) Installing libgcc (11.2.1_git20220219-r2) 17:38:31 (43/80) Installing libogg (1.3.5-r1) 17:38:31 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 17:38:31 (45/80) Installing flac (1.3.4-r0) 17:38:31 (46/80) Installing libvorbis (1.3.7-r0) 17:38:31 (47/80) Installing libsndfile (1.1.0-r0) 17:38:31 (48/80) Installing libgomp (11.2.1_git20220219-r2) 17:38:31 (49/80) Installing soxr (0.1.3-r2) 17:38:31 (50/80) Installing speexdsp (1.2.0-r0) 17:38:31 (51/80) Installing tdb-libs (1.4.6-r0) 17:38:31 (52/80) Installing libpulse (15.0-r2) 17:38:31 (53/80) Installing cjson (1.7.15-r3) 17:38:31 (54/80) Installing mbedtls (2.28.2-r0) 17:38:31 (55/80) Installing librist (0.2.6-r1) 17:38:31 (56/80) Installing libsrt (1.4.4-r0) 17:38:31 (57/80) Installing libssh (0.9.6-r1) 17:38:31 (58/80) Installing libtheora (1.1.1-r16) 17:38:31 (59/80) Installing libjpeg-turbo (2.1.3-r1) 17:38:31 (60/80) Installing v4l-utils-libs (1.22.1-r1) 17:38:31 (61/80) Installing libxext (1.3.4-r0) 17:38:31 (62/80) Installing libxfixes (6.0.0-r0) 17:38:31 (63/80) Installing wayland-libs-client (1.20.0-r0) 17:38:31 (64/80) Installing libva (2.14.0-r0) 17:38:31 (65/80) Installing libvdpau (1.5-r0) 17:38:31 (66/80) Installing vidstab (1.1.0-r1) 17:38:31 (67/80) Installing libvpx (1.11.0-r1) 17:38:31 (68/80) Installing libwebp (1.2.3-r0) 17:38:31 (69/80) Installing x264-libs (0.163_git20210613-r0) 17:38:31 (70/80) Installing numactl (2.0.14-r0) 17:38:31 (71/80) Installing x265-libs (3.5-r3) 17:38:31 (72/80) Installing xvidcore (1.3.7-r1) 17:38:31 (73/80) Installing ffmpeg-libs (5.0.1-r1) 17:38:31 (74/80) Installing ffmpeg (5.0.1-r1) 17:38:31 (75/80) Installing udev-init-scripts (35-r0) 17:38:31 Executing udev-init-scripts-35-r0.post-install 17:38:31 (76/80) Installing eudev-libs (3.2.11-r0) 17:38:31 (77/80) Installing xz-libs (5.2.5-r1) 17:38:31 (78/80) Installing zstd-libs (1.5.2-r1) 17:38:31 (79/80) Installing kmod-libs (29-r2) 17:38:31 (80/80) Installing eudev (3.2.11-r0) 17:38:31 Executing busybox-1.35.0-r17.trigger 17:38:31 Executing eudev-3.2.11-r0.trigger 17:38:31 OK: 100 MiB in 94 packages 17:38:33 Removing intermediate container 434bcca98beb 17:38:33 ---> 5aaab46b6137 17:38:33 Step 18/35 : WORKDIR / 17:38:34 ---> Running in c87d4052326d 17:38:34 Removing intermediate container c87d4052326d 17:38:34 ---> 05b0b8d2d4aa 17:38:34 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:38:34 ---> ff9baec90f8c 17:38:34 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:38:34 ---> f5bf79c66c2f 17:38:34 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:38:35 ---> 6396ea1c9f2a 17:38:35 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:38:35 ---> bcba63ca2d5b 17:38:35 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:38:35 ---> ee694444b757 17:38:35 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:38:35 ---> 99a18a6c6fa4 17:38:35 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:38:36 ---> e4e1fe096f3e 17:38:36 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:38:36 ---> Running in 2d066703f090 17:38:36 Removing intermediate container 2d066703f090 17:38:36 ---> ec46603a5590 17:38:36 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:38:36 ---> Running in 11841f8fd514 17:38:37 Removing intermediate container 11841f8fd514 17:38:37 ---> 175f157d2644 17:38:37 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:38:37 ---> Running in fd058b14f2fc 17:38:38 Removing intermediate container fd058b14f2fc 17:38:38 ---> 2a54bab98927 17:38:38 Step 29/35 : EXPOSE 59983 17:38:38 ---> Running in e0b4aad0549e 17:38:38 Removing intermediate container e0b4aad0549e 17:38:38 ---> c954bcb2eead 17:38:38 Step 30/35 : EXPOSE 8554 17:38:38 ---> Running in f00e9520474a 17:38:38 Removing intermediate container f00e9520474a 17:38:38 ---> a4c4dd8f2b17 17:38:38 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:38:38 ---> Running in d7f590fed480 17:38:38 Removing intermediate container d7f590fed480 17:38:38 ---> b14401599fda 17:38:38 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:38:38 ---> Running in 96afe1c5b2e9 17:38:38 Removing intermediate container 96afe1c5b2e9 17:38:38 ---> 080643910801 17:38:38 Step 33/35 : LABEL arch=amd64 17:38:38 ---> Running in 890bc95fc69e 17:38:38 Removing intermediate container 890bc95fc69e 17:38:38 ---> b59dbc7af449 17:38:38 Step 34/35 : LABEL git_sha=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:38:38 ---> Running in 63905b4c76a4 17:38:38 Removing intermediate container 63905b4c76a4 17:38:38 ---> cc968dacad86 17:38:38 Step 35/35 : LABEL version=3.0.0-dev.11 17:38:38 ---> Running in eceb5925c353 17:38:38 Removing intermediate container eceb5925c353 17:38:38 ---> 5d7a9ef84f23 17:38:38 [Warning] One or more build-args [ARCH] were not consumed 17:38:38 Successfully built 5d7a9ef84f23 17:38:38 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:38:38 provisioning config files... 17:38:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3632593276935863767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:38 ---> docker-login.sh 17:38:38 nexus3.edgexfoundry.org:10001 17:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:38 Configure a credential helper to remove this warning. See 17:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:38 17:38:38 Login Succeeded 17:38:38 nexus3.edgexfoundry.org:10002 17:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:38 Configure a credential helper to remove this warning. See 17:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:38 17:38:38 Login Succeeded 17:38:38 nexus3.edgexfoundry.org:10003 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 nexus3.edgexfoundry.org:10004 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 docker.io 17:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:39 Configure a credential helper to remove this warning. See 17:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:39 17:38:39 Login Succeeded 17:38:39 ---> docker-login.sh ends [Pipeline] } 17:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:39 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:38:39 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:38:39 latest 17:38:39 3.0.0-dev.11 17:38:39 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:38:39 main 17:38:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:39 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:40 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:38:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:38:40 944280100241: Preparing 17:38:40 91de71c84763: Preparing 17:38:40 01eacde130cc: Preparing 17:38:40 550e596c6d0e: Preparing 17:38:40 1207169bf42c: Preparing 17:38:40 011f2e208a87: Preparing 17:38:40 9611e3d2b58f: Preparing 17:38:40 99c33dd50873: Preparing 17:38:40 256161813c75: Preparing 17:38:40 c53400484360: Preparing 17:38:40 286c9a4b203e: Preparing 17:38:40 aa5968d388b8: Preparing 17:38:40 9611e3d2b58f: Waiting 17:38:40 286c9a4b203e: Waiting 17:38:40 99c33dd50873: Waiting 17:38:40 aa5968d388b8: Waiting 17:38:40 c53400484360: Waiting 17:38:40 256161813c75: Waiting 17:38:40 011f2e208a87: Waiting 17:38:40 01eacde130cc: Pushed 17:38:40 1207169bf42c: Pushed 17:38:40 91de71c84763: Pushed 17:38:40 944280100241: Pushed 17:38:40 256161813c75: Pushed 17:38:40 011f2e208a87: Pushed 17:38:40 9611e3d2b58f: Pushed 17:38:40 99c33dd50873: Pushed 17:38:40 aa5968d388b8: Layer already exists 17:38:42 550e596c6d0e: Pushed 17:38:42 c53400484360: Pushed 17:38:49 286c9a4b203e: Pushed 17:38:49 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42: digest: sha256:e5b398a8a91924e1571dd4ddba8ce8d535ae40fd051cc7ab78bd498cd4a8e3f7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:38:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:38:49 944280100241: Preparing 17:38:49 91de71c84763: Preparing 17:38:49 01eacde130cc: Preparing 17:38:49 550e596c6d0e: Preparing 17:38:49 1207169bf42c: Preparing 17:38:49 011f2e208a87: Preparing 17:38:49 9611e3d2b58f: Preparing 17:38:49 99c33dd50873: Preparing 17:38:49 256161813c75: Preparing 17:38:49 c53400484360: Preparing 17:38:49 286c9a4b203e: Preparing 17:38:49 aa5968d388b8: Preparing 17:38:49 011f2e208a87: Waiting 17:38:49 256161813c75: Waiting 17:38:49 9611e3d2b58f: Waiting 17:38:49 99c33dd50873: Waiting 17:38:49 286c9a4b203e: Waiting 17:38:49 c53400484360: Waiting 17:38:49 aa5968d388b8: Waiting 17:38:49 01eacde130cc: Layer already exists 17:38:49 91de71c84763: Layer already exists 17:38:49 1207169bf42c: Layer already exists 17:38:49 944280100241: Layer already exists 17:38:49 550e596c6d0e: Layer already exists 17:38:49 011f2e208a87: Layer already exists 17:38:49 9611e3d2b58f: Layer already exists 17:38:49 c53400484360: Layer already exists 17:38:49 256161813c75: Layer already exists 17:38:49 99c33dd50873: Layer already exists 17:38:49 286c9a4b203e: Layer already exists 17:38:49 aa5968d388b8: Layer already exists 17:38:49 latest: digest: sha256:e5b398a8a91924e1571dd4ddba8ce8d535ae40fd051cc7ab78bd498cd4a8e3f7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.11 17:38:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:38:50 944280100241: Preparing 17:38:50 91de71c84763: Preparing 17:38:50 01eacde130cc: Preparing 17:38:50 550e596c6d0e: Preparing 17:38:50 1207169bf42c: Preparing 17:38:50 011f2e208a87: Preparing 17:38:50 9611e3d2b58f: Preparing 17:38:50 99c33dd50873: Preparing 17:38:50 256161813c75: Preparing 17:38:50 c53400484360: Preparing 17:38:50 9611e3d2b58f: Waiting 17:38:50 99c33dd50873: Waiting 17:38:50 286c9a4b203e: Preparing 17:38:50 aa5968d388b8: Preparing 17:38:50 011f2e208a87: Waiting 17:38:50 286c9a4b203e: Waiting 17:38:50 c53400484360: Waiting 17:38:50 aa5968d388b8: Waiting 17:38:50 01eacde130cc: Layer already exists 17:38:50 944280100241: Layer already exists 17:38:50 550e596c6d0e: Layer already exists 17:38:50 1207169bf42c: Layer already exists 17:38:50 91de71c84763: Layer already exists 17:38:50 9611e3d2b58f: Layer already exists 17:38:50 256161813c75: Layer already exists 17:38:50 011f2e208a87: Layer already exists 17:38:50 99c33dd50873: Layer already exists 17:38:50 c53400484360: Layer already exists 17:38:50 286c9a4b203e: Layer already exists 17:38:50 aa5968d388b8: Layer already exists 17:38:50 3.0.0-dev.11: digest: sha256:e5b398a8a91924e1571dd4ddba8ce8d535ae40fd051cc7ab78bd498cd4a8e3f7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:50 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:38:51 944280100241: Preparing 17:38:51 91de71c84763: Preparing 17:38:51 01eacde130cc: Preparing 17:38:51 550e596c6d0e: Preparing 17:38:51 1207169bf42c: Preparing 17:38:51 011f2e208a87: Preparing 17:38:51 9611e3d2b58f: Preparing 17:38:51 99c33dd50873: Preparing 17:38:51 256161813c75: Preparing 17:38:51 c53400484360: Preparing 17:38:51 286c9a4b203e: Preparing 17:38:51 aa5968d388b8: Preparing 17:38:51 99c33dd50873: Waiting 17:38:51 256161813c75: Waiting 17:38:51 9611e3d2b58f: Waiting 17:38:51 286c9a4b203e: Waiting 17:38:51 011f2e208a87: Waiting 17:38:51 aa5968d388b8: Waiting 17:38:51 1207169bf42c: Layer already exists 17:38:51 91de71c84763: Layer already exists 17:38:51 944280100241: Layer already exists 17:38:51 550e596c6d0e: Layer already exists 17:38:51 01eacde130cc: Layer already exists 17:38:51 011f2e208a87: Layer already exists 17:38:51 256161813c75: Layer already exists 17:38:51 9611e3d2b58f: Layer already exists 17:38:51 99c33dd50873: Layer already exists 17:38:51 c53400484360: Layer already exists 17:38:51 286c9a4b203e: Layer already exists 17:38:51 aa5968d388b8: Layer already exists 17:38:51 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11: digest: sha256:e5b398a8a91924e1571dd4ddba8ce8d535ae40fd051cc7ab78bd498cd4a8e3f7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:38:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:38:51 944280100241: Preparing 17:38:51 91de71c84763: Preparing 17:38:51 01eacde130cc: Preparing 17:38:51 550e596c6d0e: Preparing 17:38:51 1207169bf42c: Preparing 17:38:51 011f2e208a87: Preparing 17:38:51 9611e3d2b58f: Preparing 17:38:51 99c33dd50873: Preparing 17:38:51 256161813c75: Preparing 17:38:51 c53400484360: Preparing 17:38:51 286c9a4b203e: Preparing 17:38:51 aa5968d388b8: Preparing 17:38:51 011f2e208a87: Waiting 17:38:51 9611e3d2b58f: Waiting 17:38:51 c53400484360: Waiting 17:38:51 99c33dd50873: Waiting 17:38:51 256161813c75: Waiting 17:38:51 aa5968d388b8: Waiting 17:38:51 01eacde130cc: Layer already exists 17:38:51 91de71c84763: Layer already exists 17:38:51 1207169bf42c: Layer already exists 17:38:51 944280100241: Layer already exists 17:38:51 550e596c6d0e: Layer already exists 17:38:51 9611e3d2b58f: Layer already exists 17:38:51 011f2e208a87: Layer already exists 17:38:51 99c33dd50873: Layer already exists 17:38:51 c53400484360: Layer already exists 17:38:51 256161813c75: Layer already exists 17:38:51 286c9a4b203e: Layer already exists 17:38:51 aa5968d388b8: Layer already exists 17:38:51 main: digest: sha256:e5b398a8a91924e1571dd4ddba8ce8d535ae40fd051cc7ab78bd498cd4a8e3f7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:51 ===================================================== [Pipeline] echo 17:38:51 taggedImages: 17:38:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:38:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:38:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.11 17:38:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:38:51 - 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:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:52 17:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:52 latest: Pulling from edgex-lftools-log-publisher 17:38:52 5eb5b503b376: Pulling fs layer 17:38:52 5c69ac0246d0: Pulling fs layer 17:38:52 ec43610c2a17: Pulling fs layer 17:38:52 3a2ae6a8a46f: Pulling fs layer 17:38:52 33b1e0a273af: Pulling fs layer 17:38:52 5d3b04190fa2: Pulling fs layer 17:38:52 2f39f015ded8: Pulling fs layer 17:38:52 3a2ae6a8a46f: Waiting 17:38:52 33b1e0a273af: Waiting 17:38:52 5d3b04190fa2: Waiting 17:38:52 2f39f015ded8: Waiting 17:38:52 5c69ac0246d0: Download complete 17:38:52 3a2ae6a8a46f: Verifying Checksum 17:38:52 3a2ae6a8a46f: Download complete 17:38:52 33b1e0a273af: Verifying Checksum 17:38:52 33b1e0a273af: Download complete 17:38:52 5d3b04190fa2: Verifying Checksum 17:38:52 5d3b04190fa2: Download complete 17:38:52 ec43610c2a17: Verifying Checksum 17:38:52 ec43610c2a17: Download complete 17:38:52 5eb5b503b376: Verifying Checksum 17:38:52 5eb5b503b376: Download complete 17:38:53 2f39f015ded8: Download complete 17:38:53 5eb5b503b376: Pull complete 17:38:54 5c69ac0246d0: Pull complete 17:38:54 ec43610c2a17: Pull complete 17:38:54 3a2ae6a8a46f: Pull complete 17:38:54 33b1e0a273af: Pull complete 17:38:54 5d3b04190fa2: Pull complete 17:38:58 2f39f015ded8: Pull complete 17:38:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:58 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:38:58 $ 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:39:02 $ docker top 7cd7f62decad0c324898f33f148869ebd1e7d7cf68eb428196c29d918a965d11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:02 ---> job-cost.sh 17:39:02 lf-activate-venv: SKIPPING 17:39:02 INFO: No Stack... 17:39:03 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:03 INFO: Archiving Costs [Pipeline] sh 17:39:03 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:39:03 + cut -d, -f6 [Pipeline] lock 17:39:03 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] 17:39:03 Resource [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] did not exist. Created. 17:39:03 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:04 + echo total: 0.2199999988079071 [Pipeline] stash 17:39:04 Stashed 1 file(s) [Pipeline] } 17:39:04 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:04 $ docker stop --time=1 7cd7f62decad0c324898f33f148869ebd1e7d7cf68eb428196c29d918a965d11 17:39:05 $ docker rm -f --volumes 7cd7f62decad0c324898f33f148869ebd1e7d7cf68eb428196c29d918a965d11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:39:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7983 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:39:17 Running in /w/workspace/device-usb-camera/82 [Pipeline] { [Pipeline] checkout 17:39:17 Selected Git installation does not exist. Using Default 17:39:17 The recommended git tool is: NONE 17:39:23 using credential edgex-jenkins-ssh 17:39:23 Cloning the remote Git repository 17:39:23 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:39:23 > git init /w/workspace/device-usb-camera/82 # timeout=10 17:39:23 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:39:23 > git --version # timeout=10 17:39:23 > git --version # 'git version 2.25.1' 17:39:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:39:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:39:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:39:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:39:25 Avoid second fetch 17:39:25 Checking out Revision eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 (main) 17:39:25 Commit message: "refactor!: Removal of manual code to add provision watchers (#165)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:25 > git config core.sparsecheckout # timeout=10 17:39:25 > git checkout -f eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 # timeout=10 17:39:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:39:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:26 Dload Upload Total Spent Left Speed 17:39:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 17:39:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:39:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:39:27 + sudo tee /etc/docker/daemon.new 17:39:27 { 17:39:27 "registry-mirrors": [ 17:39:27 "https://nexus3.edgexfoundry.org:10001" 17:39:27 ], 17:39:27 "bip": "10.250.0.254/24", 17:39:27 "hosts": [ 17:39:27 "tcp://0.0.0.0:5555", 17:39:27 "unix:///var/run/docker.sock" 17:39:27 ], 17:39:27 "mtu": 1458, 17:39:27 "selinux-enabled": true, 17:39:27 "seccomp-profile": "/etc/docker/seccomp.json" 17:39:27 } [Pipeline] sh 17:39:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:39:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:46 provisioning config files... 17:39:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/82@tmp/config5920460069053417870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:47 ---> docker-login.sh 17:39:47 nexus3.edgexfoundry.org:10001 17:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:47 Configure a credential helper to remove this warning. See 17:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:47 17:39:47 Login Succeeded 17:39:47 nexus3.edgexfoundry.org:10002 17:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:48 Configure a credential helper to remove this warning. See 17:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:48 17:39:48 Login Succeeded 17:39:48 nexus3.edgexfoundry.org:10003 17:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:48 Configure a credential helper to remove this warning. See 17:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:48 17:39:48 Login Succeeded 17:39:48 nexus3.edgexfoundry.org:10004 17:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:49 Configure a credential helper to remove this warning. See 17:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:49 17:39:49 Login Succeeded 17:39:49 docker.io 17:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:49 Configure a credential helper to remove this warning. See 17:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:49 17:39:49 Login Succeeded 17:39:49 ---> docker-login.sh ends [Pipeline] } 17:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:49 ========================================================= 17:39:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:39:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:39:50 Sending build context to Docker daemon 1.134MB 17:39:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:39:52 Step 2/13 : FROM ${BASE} AS builder 17:39:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:39:52 9b18e9b68314: Pulling fs layer 17:39:52 35d82f9e3411: Pulling fs layer 17:39:52 e16973657156: Pulling fs layer 17:39:52 fc693d55d65f: Pulling fs layer 17:39:52 7e9fc2657dce: Pulling fs layer 17:39:52 dda99020689f: Pulling fs layer 17:39:52 db1c61fa0a46: Pulling fs layer 17:39:52 891c053d2c06: Pulling fs layer 17:39:52 dda99020689f: Waiting 17:39:52 db1c61fa0a46: Waiting 17:39:52 fc693d55d65f: Waiting 17:39:52 7e9fc2657dce: Waiting 17:39:52 891c053d2c06: Waiting 17:39:52 e16973657156: Verifying Checksum 17:39:52 e16973657156: Download complete 17:39:52 35d82f9e3411: Verifying Checksum 17:39:52 35d82f9e3411: Download complete 17:39:52 7e9fc2657dce: Verifying Checksum 17:39:52 7e9fc2657dce: Download complete 17:39:52 dda99020689f: Verifying Checksum 17:39:52 dda99020689f: Download complete 17:39:52 9b18e9b68314: Verifying Checksum 17:39:52 9b18e9b68314: Download complete 17:39:53 9b18e9b68314: Pull complete 17:39:53 891c053d2c06: Verifying Checksum 17:39:53 891c053d2c06: Download complete 17:39:54 35d82f9e3411: Pull complete 17:39:54 e16973657156: Pull complete 17:39:54 db1c61fa0a46: Verifying Checksum 17:39:54 db1c61fa0a46: Download complete 17:39:55 fc693d55d65f: Download complete 17:40:07 fc693d55d65f: Pull complete 17:40:07 7e9fc2657dce: Pull complete 17:40:07 dda99020689f: Pull complete 17:40:12 db1c61fa0a46: Pull complete 17:40:14 891c053d2c06: Pull complete 17:40:14 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:40:14 ---> f96f9c87975a 17:40:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:40:17 ---> Running in 332f92ec3a5f 17:40:17 Removing intermediate container 332f92ec3a5f 17:40:17 ---> 23771114bc10 17:40:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:17 ---> Running in 333e9d38bcbf 17:40:17 Removing intermediate container 333e9d38bcbf 17:40:17 ---> 3faafc93c9da 17:40:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:40:17 ---> Running in 791684c8e66d 17:40:17 Removing intermediate container 791684c8e66d 17:40:17 ---> 6405cb803bf2 17:40:17 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:40:17 ---> Running in f3ccf09fd9da 17:40:18 Removing intermediate container f3ccf09fd9da 17:40:18 ---> d20aa2da1ccc 17:40:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:18 ---> Running in 0dbbdcdfd14f 17:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:21 (1/14) Installing libintl (0.21-r2) 17:40:21 (2/14) Installing eudev-libs (3.2.11-r0) 17:40:21 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:40:21 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:40:21 (5/14) Installing v4l-utils (1.22.1-r1) 17:40:21 (6/14) Installing udev-init-scripts (35-r0) 17:40:21 Executing udev-init-scripts-35-r0.post-install 17:40:21 (7/14) Installing libblkid (2.38-r1) 17:40:21 (8/14) Installing xz-libs (5.2.5-r1) 17:40:21 (9/14) Installing zstd-libs (1.5.2-r1) 17:40:21 (10/14) Installing kmod-libs (29-r2) 17:40:21 (11/14) Installing eudev (3.2.11-r0) 17:40:21 (12/14) Installing eudev-dev (3.2.11-r0) 17:40:21 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:40:21 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:40:21 Executing busybox-1.35.0-r17.trigger 17:40:21 Executing eudev-3.2.11-r0.trigger 17:40:21 OK: 228 MiB in 65 packages 17:40:22 Removing intermediate container 0dbbdcdfd14f 17:40:22 ---> c05dc3cc1de1 17:40:22 Step 8/13 : WORKDIR /device-usb-camera 17:40:22 ---> Running in a644d2758521 17:40:22 Removing intermediate container a644d2758521 17:40:22 ---> 889829c76058 17:40:22 Step 9/13 : COPY go.mod vendor* ./ 17:40:23 ---> f4fb25589ee9 17:40:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:23 ---> Running in 48aafb8cad10 17:41:31 Removing intermediate container 48aafb8cad10 17:41:31 ---> f38a06d8b5d4 17:41:31 Step 11/13 : COPY . . 17:41:31 ---> 7ddfafd26891 17:41:31 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:41:31 ---> Running in 9bcbdd1ee377 17:41:31  % Total % Received % Xferd Average Speed Time Time Time Current 17:41:31 Dload Upload Total Spent Left Speed 17:41:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 13351 0 --:--:-- --:--:-- --:--:-- 13443 17:41:32 Removing intermediate container 9bcbdd1ee377 17:41:32 ---> 50a1ba3f773c 17:41:32 Step 13/13 : RUN ${MAKE} 17:41:32 ---> Running in bbacb2fc1623 17:41:33 noop 17:41:34 Removing intermediate container bbacb2fc1623 17:41:34 ---> d38d4e12da30 17:41:34 Successfully built d38d4e12da30 17:41:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:34 + docker inspect -f . ci-base-image-arm64 17:41:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:34 prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container 17:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/82 -v /w/workspace/device-usb-camera/82:/w/workspace/device-usb-camera/82:rw,z -v /w/workspace/device-usb-camera/82@tmp:/w/workspace/device-usb-camera/82@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:41:36 $ docker top a27022fe603137c8e2699085220787627c71237673d6c2d12521f8e4592f4006 -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:36 + go version 17:41:36 go version go1.18.7 linux/arm64 [Pipeline] } 17:41:36 $ docker stop --time=1 a27022fe603137c8e2699085220787627c71237673d6c2d12521f8e4592f4006 17:41:38 $ docker rm -f --volumes a27022fe603137c8e2699085220787627c71237673d6c2d12521f8e4592f4006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:39 + docker inspect -f . ci-base-image-arm64 17:41:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:39 prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container 17:41:39 $ 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/82 -v /w/workspace/device-usb-camera/82:/w/workspace/device-usb-camera/82:rw,z -v /w/workspace/device-usb-camera/82@tmp:/w/workspace/device-usb-camera/82@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:41:40 $ docker top 41322e83dfc104b05d603e529e492b81dbe67b62d6f51163b555331314aa7879 -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:41 + git config --global --add safe.directory /w/workspace/device-usb-camera/82 [Pipeline] fileExists [Pipeline] sh 17:41:42 + make test 17:41:42 go test ./... -coverprofile=coverage.out ./... 17:41:43 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:43:20 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:43:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 2.0% of statements 17:43:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:43:23 go vet ./... 17:43:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:43:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:43:55 ./bin/test-attribution-txt.sh [Pipeline] echo 17:43:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:43:55 $ docker stop --time=1 41322e83dfc104b05d603e529e492b81dbe67b62d6f51163b555331314aa7879 17:43:59 $ docker rm -f --volumes 41322e83dfc104b05d603e529e492b81dbe67b62d6f51163b555331314aa7879 [Pipeline] // withDockerContainer [Pipeline] sh 17:44:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:44:00 Warning: overwriting stash ‘coverage-report’ 17:44:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:44:01 + ls -al . 17:44:01 total 184 17:44:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 17:41 . 17:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:39 .. 17:44:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 17:39 .git 17:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:39 .github 17:44:01 -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 17:39 .gitignore 17:44:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 17:39 .golangci.yml 17:44:01 -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 17:39 .hadolint.yml 17:44:01 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 17:39 Attribution.txt 17:44:01 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 17:39 CHANGELOG.md 17:44:01 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 17:39 Dockerfile 17:44:01 -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 17:39 GOVERNANCE.md 17:44:01 -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 17:39 Jenkinsfile 17:44:01 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 17:39 LICENSE 17:44:01 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 17:39 Makefile 17:44:01 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 17:39 OWNERS.md 17:44:01 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 17:39 README.md 17:44:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 17:36 VERSION 17:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 17:39 bin 17:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:39 cmd 17:44:01 -rw-r--r-- 1 jenkins jenkins 28352 Mar 1 17:43 coverage.out 17:44:01 -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 17:39 docker-entrypoint.sh 17:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:39 docs 17:44:01 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 17:39 go.mod 17:44:01 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 17:39 go.sum 17:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 17:39 internal 17:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 17:39 snap 17:44:01 -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 17:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:02 + 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=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 --label arch=arm64 --label version=3.0.0-dev.11 . 17:44:02 Sending build context to Docker daemon 1.163MB 17:44:02 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:44:02 Step 2/35 : FROM ${BASE} AS builder 17:44:02 ---> d38d4e12da30 17:44:02 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:44:02 ---> Running in c6065b895349 17:44:03 Removing intermediate container c6065b895349 17:44:03 ---> 964da7a3b9ea 17:44:03 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:44:03 ---> Running in fd0e753b5086 17:44:03 Removing intermediate container fd0e753b5086 17:44:03 ---> aa11d29b2725 17:44:03 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:44:03 ---> Running in 1a6d5997d1d5 17:44:04 Removing intermediate container 1a6d5997d1d5 17:44:04 ---> 3ea9c4a45398 17:44:04 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:44:04 ---> Running in df0ccd58b4de 17:44:04 Removing intermediate container df0ccd58b4de 17:44:04 ---> 61241f9de43d 17:44:04 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:44:04 ---> Running in 9eef4e622b13 17:44:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:44:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:44:07 OK: 228 MiB in 65 packages 17:44:08 Removing intermediate container 9eef4e622b13 17:44:08 ---> 0b31ed70e9a4 17:44:08 Step 8/35 : WORKDIR /device-usb-camera 17:44:08 ---> Running in 1a63ba3cb3b1 17:44:08 Removing intermediate container 1a63ba3cb3b1 17:44:08 ---> 04f117c4d1c5 17:44:08 Step 9/35 : COPY go.mod vendor* ./ 17:44:09 ---> ae327fa8bc5b 17:44:09 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:44:09 ---> Running in d7f822ea8c05 17:44:14 Removing intermediate container d7f822ea8c05 17:44:14 ---> 6f7ac183c5a2 17:44:14 Step 11/35 : COPY . . 17:44:14 ---> c97997bc49e0 17:44:14 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:44:14 ---> Running in a288965d5c87 17:44:16  % Total % Received % Xferd Average Speed Time Time Time Current 17:44:16 Dload Upload Total Spent Left Speed 17:44:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4403 0 --:--:-- --:--:-- --:--:-- 4425 17:44:17 Removing intermediate container a288965d5c87 17:44:17 ---> 10ba8a2180f6 17:44:17 Step 13/35 : RUN ${MAKE} 17:44:17 ---> Running in 27b623cb7683 17:44:18 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:47:10 Removing intermediate container 27b623cb7683 17:47:10 ---> 3eb819953bb7 17:47:10 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:47:10 v0.18.4: Pulling from aler9/rtsp-simple-server 17:47:10 eab2503cf8f4: Pulling fs layer 17:47:10 97cd0a44c592: Pulling fs layer 17:47:10 97cd0a44c592: Verifying Checksum 17:47:10 97cd0a44c592: Download complete 17:47:10 eab2503cf8f4: Verifying Checksum 17:47:10 eab2503cf8f4: Download complete 17:47:10 eab2503cf8f4: Pull complete 17:47:10 97cd0a44c592: Pull complete 17:47:10 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:47:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:47:10 ---> 7f763cca56b3 17:47:10 Step 15/35 : FROM alpine:3.16 17:47:10 3.16: Pulling from library/alpine 17:47:10 3760b48202b3: Pulling fs layer 17:47:10 3760b48202b3: Verifying Checksum 17:47:10 3760b48202b3: Download complete 17:47:10 3760b48202b3: Pull complete 17:47:10 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:47:10 Status: Downloaded newer image for alpine:3.16 17:47:10 ---> 4c81e5bf8899 17:47:10 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:47:10 ---> Running in d7f5bea58731 17:47:10 Removing intermediate container d7f5bea58731 17:47:10 ---> 1661496da29c 17:47:10 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:47:10 ---> Running in 32789f4d32a9 17:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:47:10 (1/79) Installing dumb-init (1.2.5-r1) 17:47:10 (2/79) Installing sdl2 (2.0.22-r0) 17:47:10 (3/79) Installing libxau (1.0.9-r0) 17:47:10 (4/79) Installing libxdmcp (1.1.3-r0) 17:47:10 (5/79) Installing libxcb (1.15-r0) 17:47:10 (6/79) Installing libx11 (1.8-r0) 17:47:10 (7/79) Installing aom-libs (3.3.0-r0) 17:47:10 (8/79) Installing alsa-lib (1.2.7.2-r0) 17:47:10 (9/79) Installing expat (2.5.0-r0) 17:47:10 (10/79) Installing brotli-libs (1.0.9-r6) 17:47:10 (11/79) Installing libbz2 (1.0.8-r1) 17:47:10 (12/79) Installing libpng (1.6.37-r1) 17:47:10 (13/79) Installing freetype (2.12.1-r0) 17:47:10 (14/79) Installing fontconfig (2.14.0-r0) 17:47:10 (15/79) Installing fribidi (1.0.12-r0) 17:47:10 (16/79) Installing libffi (3.4.2-r1) 17:47:10 (17/79) Installing libintl (0.21-r2) 17:47:10 (18/79) Installing libblkid (2.38-r1) 17:47:10 (19/79) Installing libmount (2.38-r1) 17:47:10 (20/79) Installing pcre (8.45-r2) 17:47:10 (21/79) Installing glib (2.72.1-r0) 17:47:10 (22/79) Installing graphite2 (1.3.14-r1) 17:47:10 (23/79) Installing harfbuzz (4.3.0-r0) 17:47:10 (24/79) Installing libass (0.16.0-r0) 17:47:10 (25/79) Installing libdav1d (1.0.0-r0) 17:47:10 (26/79) Installing libdrm (2.4.110-r0) 17:47:10 (27/79) Installing gmp (6.2.1-r2) 17:47:10 (28/79) Installing nettle (3.7.3-r0) 17:47:10 (29/79) Installing p11-kit (0.24.1-r0) 17:47:10 (30/79) Installing libtasn1 (4.18.0-r1) 17:47:10 (31/79) Installing libunistring (1.0-r0) 17:47:10 (32/79) Installing gnutls (3.7.7-r1) 17:47:10 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:47:10 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 17:47:10 (35/79) Installing lame (3.100-r0) 17:47:10 (36/79) Installing opus (1.3.1-r1) 17:47:10 (37/79) Installing libasyncns (0.8-r1) 17:47:10 (38/79) Installing dbus-libs (1.14.4-r0) 17:47:10 (39/79) Installing libltdl (2.4.7-r0) 17:47:10 (40/79) Installing orc (0.4.32-r0) 17:47:10 (41/79) Installing libgcc (11.2.1_git20220219-r2) 17:47:10 (42/79) Installing libogg (1.3.5-r1) 17:47:10 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 17:47:10 (44/79) Installing flac (1.3.4-r0) 17:47:10 (45/79) Installing libvorbis (1.3.7-r0) 17:47:10 (46/79) Installing libsndfile (1.1.0-r0) 17:47:10 (47/79) Installing libgomp (11.2.1_git20220219-r2) 17:47:10 (48/79) Installing soxr (0.1.3-r2) 17:47:10 (49/79) Installing speexdsp (1.2.0-r0) 17:47:10 (50/79) Installing tdb-libs (1.4.6-r0) 17:47:10 (51/79) Installing libpulse (15.0-r2) 17:47:10 (52/79) Installing cjson (1.7.15-r3) 17:47:10 (53/79) Installing mbedtls (2.28.2-r0) 17:47:10 (54/79) Installing librist (0.2.6-r1) 17:47:10 (55/79) Installing libsrt (1.4.4-r0) 17:47:10 (56/79) Installing libssh (0.9.6-r1) 17:47:10 (57/79) Installing libtheora (1.1.1-r16) 17:47:10 (58/79) Installing libjpeg-turbo (2.1.3-r1) 17:47:10 (59/79) Installing v4l-utils-libs (1.22.1-r1) 17:47:10 (60/79) Installing libxext (1.3.4-r0) 17:47:10 (61/79) Installing libxfixes (6.0.0-r0) 17:47:10 (62/79) Installing wayland-libs-client (1.20.0-r0) 17:47:10 (63/79) Installing libva (2.14.0-r0) 17:47:10 (64/79) Installing libvdpau (1.5-r0) 17:47:10 (65/79) Installing vidstab (1.1.0-r1) 17:47:10 (66/79) Installing libvpx (1.11.0-r1) 17:47:10 (67/79) Installing libwebp (1.2.3-r0) 17:47:10 (68/79) Installing x264-libs (0.163_git20210613-r0) 17:47:10 (69/79) Installing numactl (2.0.14-r0) 17:47:10 (70/79) Installing x265-libs (3.5-r3) 17:47:10 (71/79) Installing xvidcore (1.3.7-r1) 17:47:10 (72/79) Installing ffmpeg-libs (5.0.1-r1) 17:47:10 (73/79) Installing ffmpeg (5.0.1-r1) 17:47:10 (74/79) Installing udev-init-scripts (35-r0) 17:47:10 Executing udev-init-scripts-35-r0.post-install 17:47:10 (75/79) Installing eudev-libs (3.2.11-r0) 17:47:10 (76/79) Installing xz-libs (5.2.5-r1) 17:47:10 (77/79) Installing zstd-libs (1.5.2-r1) 17:47:10 (78/79) Installing kmod-libs (29-r2) 17:47:10 (79/79) Installing eudev (3.2.11-r0) 17:47:10 Executing busybox-1.35.0-r17.trigger 17:47:10 Executing eudev-3.2.11-r0.trigger 17:47:10 OK: 77 MiB in 93 packages 17:47:12 Removing intermediate container 32789f4d32a9 17:47:12 ---> cdea62f3b150 17:47:12 Step 18/35 : WORKDIR / 17:47:12 ---> Running in 6b1dd5b4fe64 17:47:12 Removing intermediate container 6b1dd5b4fe64 17:47:12 ---> acf8fa35d7d6 17:47:12 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:47:14 ---> c8f8a9882719 17:47:14 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:47:15 ---> fa0361fd0b4a 17:47:15 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:47:15 ---> 75fb8cdd993d 17:47:15 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:47:16 ---> 88e3a0d424c3 17:47:16 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:47:16 ---> a07366577698 17:47:16 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:47:17 ---> 9fed72e53608 17:47:17 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:47:18 ---> fff970de891f 17:47:18 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:47:18 ---> Running in cbe6da8132dc 17:47:20 Removing intermediate container cbe6da8132dc 17:47:20 ---> bdecbe11e81d 17:47:20 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:47:20 ---> Running in 2cf18eb577aa 17:47:22 Removing intermediate container 2cf18eb577aa 17:47:22 ---> 2e604b9b5a88 17:47:22 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:47:22 ---> Running in f00197a53e9f 17:47:23 Removing intermediate container f00197a53e9f 17:47:23 ---> 2a7301eae88e 17:47:23 Step 29/35 : EXPOSE 59983 17:47:24 ---> Running in 8585b7f37d21 17:47:24 Removing intermediate container 8585b7f37d21 17:47:24 ---> 2f5f9ee8cad3 17:47:24 Step 30/35 : EXPOSE 8554 17:47:24 ---> Running in 044a3c8f11cd 17:47:24 Removing intermediate container 044a3c8f11cd 17:47:24 ---> 244def098da3 17:47:24 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:47:25 ---> Running in 275ae5e6f6d5 17:47:25 Removing intermediate container 275ae5e6f6d5 17:47:25 ---> 9a58db4ac17f 17:47:25 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:47:25 ---> Running in 6c594948a3f7 17:47:25 Removing intermediate container 6c594948a3f7 17:47:25 ---> 14137e68b30a 17:47:25 Step 33/35 : LABEL arch=arm64 17:47:25 ---> Running in 7a0334fa4131 17:47:26 Removing intermediate container 7a0334fa4131 17:47:26 ---> 1d9f77a63957 17:47:26 Step 34/35 : LABEL git_sha=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:47:26 ---> Running in c969db303a84 17:47:26 Removing intermediate container c969db303a84 17:47:26 ---> fa96a1c21cb4 17:47:26 Step 35/35 : LABEL version=3.0.0-dev.11 17:47:26 ---> Running in 5852e9161b7c 17:47:26 Removing intermediate container 5852e9161b7c 17:47:26 ---> 143806cbfd26 17:47:26 [Warning] One or more build-args [ARCH] were not consumed 17:47:26 Successfully built 143806cbfd26 17:47:26 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:47:27 provisioning config files... 17:47:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/82@tmp/config14558385174720414198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:27 ---> docker-login.sh 17:47:27 nexus3.edgexfoundry.org:10001 17:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:27 Configure a credential helper to remove this warning. See 17:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:27 17:47:27 Login Succeeded 17:47:27 nexus3.edgexfoundry.org:10002 17:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:28 Configure a credential helper to remove this warning. See 17:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:28 17:47:28 Login Succeeded 17:47:28 nexus3.edgexfoundry.org:10003 17:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:28 Configure a credential helper to remove this warning. See 17:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:28 17:47:28 Login Succeeded 17:47:28 nexus3.edgexfoundry.org:10004 17:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:29 Configure a credential helper to remove this warning. See 17:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:29 17:47:29 Login Succeeded 17:47:29 docker.io 17:47:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:29 Configure a credential helper to remove this warning. See 17:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:29 17:47:29 Login Succeeded 17:47:29 ---> docker-login.sh ends [Pipeline] } 17:47:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:47:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:29 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:47:29 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:47:29 latest 17:47:29 3.0.0-dev.11 17:47:29 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:47:29 main 17:47:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:30 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:47:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:47:30 d7642e119ab6: Preparing 17:47:30 6a930a579295: Preparing 17:47:30 ebe813957979: Preparing 17:47:30 a43932d1df72: Preparing 17:47:30 1207169bf42c: Preparing 17:47:30 864de9b54d89: Preparing 17:47:30 44a5592b6cc7: Preparing 17:47:30 1d2368c0262c: Preparing 17:47:30 3ef9783eb6f2: Preparing 17:47:30 c85b5fb80c28: Preparing 17:47:30 7b66bf8a9665: Preparing 17:47:30 f70ee36035b9: Preparing 17:47:30 44a5592b6cc7: Waiting 17:47:30 1d2368c0262c: Waiting 17:47:30 3ef9783eb6f2: Waiting 17:47:30 864de9b54d89: Waiting 17:47:30 c85b5fb80c28: Waiting 17:47:30 7b66bf8a9665: Waiting 17:47:30 f70ee36035b9: Waiting 17:47:30 6a930a579295: Pushed 17:47:30 d7642e119ab6: Pushed 17:47:30 ebe813957979: Pushed 17:47:30 1207169bf42c: Pushed 17:47:31 1d2368c0262c: Pushed 17:47:31 44a5592b6cc7: Pushed 17:47:31 3ef9783eb6f2: Pushed 17:47:31 864de9b54d89: Pushed 17:47:31 f70ee36035b9: Layer already exists 17:47:35 a43932d1df72: Pushed 17:47:36 c85b5fb80c28: Pushed 17:47:49 7b66bf8a9665: Pushed 17:47:49 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42: digest: sha256:68d7ab9a671bba38f94b04b713c9de471bb65812b38a06bb3f9e6a617dafba49 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:49 + 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:47:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:47:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:47:49 d7642e119ab6: Preparing 17:47:49 6a930a579295: Preparing 17:47:49 ebe813957979: Preparing 17:47:49 a43932d1df72: Preparing 17:47:49 1207169bf42c: Preparing 17:47:49 864de9b54d89: Preparing 17:47:49 44a5592b6cc7: Preparing 17:47:49 1d2368c0262c: Preparing 17:47:49 3ef9783eb6f2: Preparing 17:47:49 c85b5fb80c28: Preparing 17:47:49 7b66bf8a9665: Preparing 17:47:49 f70ee36035b9: Preparing 17:47:49 864de9b54d89: Waiting 17:47:49 44a5592b6cc7: Waiting 17:47:49 1d2368c0262c: Waiting 17:47:49 3ef9783eb6f2: Waiting 17:47:49 c85b5fb80c28: Waiting 17:47:49 7b66bf8a9665: Waiting 17:47:49 f70ee36035b9: Waiting 17:47:49 6a930a579295: Layer already exists 17:47:49 1207169bf42c: Layer already exists 17:47:49 ebe813957979: Layer already exists 17:47:49 a43932d1df72: Layer already exists 17:47:49 d7642e119ab6: Layer already exists 17:47:49 864de9b54d89: Layer already exists 17:47:49 44a5592b6cc7: Layer already exists 17:47:49 3ef9783eb6f2: Layer already exists 17:47:49 1d2368c0262c: Layer already exists 17:47:49 c85b5fb80c28: Layer already exists 17:47:49 7b66bf8a9665: Layer already exists 17:47:49 f70ee36035b9: Layer already exists 17:47:50 latest: digest: sha256:68d7ab9a671bba38f94b04b713c9de471bb65812b38a06bb3f9e6a617dafba49 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:50 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.11 17:47:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:47:50 d7642e119ab6: Preparing 17:47:50 6a930a579295: Preparing 17:47:50 ebe813957979: Preparing 17:47:50 a43932d1df72: Preparing 17:47:50 1207169bf42c: Preparing 17:47:50 864de9b54d89: Preparing 17:47:50 44a5592b6cc7: Preparing 17:47:50 1d2368c0262c: Preparing 17:47:50 3ef9783eb6f2: Preparing 17:47:50 c85b5fb80c28: Preparing 17:47:50 7b66bf8a9665: Preparing 17:47:50 f70ee36035b9: Preparing 17:47:50 864de9b54d89: Waiting 17:47:50 44a5592b6cc7: Waiting 17:47:50 1d2368c0262c: Waiting 17:47:50 3ef9783eb6f2: Waiting 17:47:50 c85b5fb80c28: Waiting 17:47:50 f70ee36035b9: Waiting 17:47:50 7b66bf8a9665: Waiting 17:47:50 ebe813957979: Layer already exists 17:47:50 1207169bf42c: Layer already exists 17:47:50 d7642e119ab6: Layer already exists 17:47:50 6a930a579295: Layer already exists 17:47:50 a43932d1df72: Layer already exists 17:47:50 864de9b54d89: Layer already exists 17:47:50 44a5592b6cc7: Layer already exists 17:47:50 1d2368c0262c: Layer already exists 17:47:50 3ef9783eb6f2: Layer already exists 17:47:50 c85b5fb80c28: Layer already exists 17:47:50 7b66bf8a9665: Layer already exists 17:47:50 f70ee36035b9: Layer already exists 17:47:51 3.0.0-dev.11: digest: sha256:68d7ab9a671bba38f94b04b713c9de471bb65812b38a06bb3f9e6a617dafba49 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:51 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:47:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:47:51 d7642e119ab6: Preparing 17:47:51 6a930a579295: Preparing 17:47:51 ebe813957979: Preparing 17:47:51 a43932d1df72: Preparing 17:47:51 1207169bf42c: Preparing 17:47:51 864de9b54d89: Preparing 17:47:51 44a5592b6cc7: Preparing 17:47:51 1d2368c0262c: Preparing 17:47:51 3ef9783eb6f2: Preparing 17:47:51 c85b5fb80c28: Preparing 17:47:51 7b66bf8a9665: Preparing 17:47:51 f70ee36035b9: Preparing 17:47:51 864de9b54d89: Waiting 17:47:51 44a5592b6cc7: Waiting 17:47:51 1d2368c0262c: Waiting 17:47:51 7b66bf8a9665: Waiting 17:47:51 3ef9783eb6f2: Waiting 17:47:51 c85b5fb80c28: Waiting 17:47:51 f70ee36035b9: Waiting 17:47:51 ebe813957979: Layer already exists 17:47:51 d7642e119ab6: Layer already exists 17:47:51 6a930a579295: Layer already exists 17:47:51 a43932d1df72: Layer already exists 17:47:51 1207169bf42c: Layer already exists 17:47:51 1d2368c0262c: Layer already exists 17:47:51 864de9b54d89: Layer already exists 17:47:51 44a5592b6cc7: Layer already exists 17:47:51 3ef9783eb6f2: Layer already exists 17:47:51 c85b5fb80c28: Layer already exists 17:47:51 7b66bf8a9665: Layer already exists 17:47:51 f70ee36035b9: Layer already exists 17:47:51 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11: digest: sha256:68d7ab9a671bba38f94b04b713c9de471bb65812b38a06bb3f9e6a617dafba49 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:52 + 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:47:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 17:47:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:47:52 d7642e119ab6: Preparing 17:47:52 6a930a579295: Preparing 17:47:52 ebe813957979: Preparing 17:47:52 a43932d1df72: Preparing 17:47:52 1207169bf42c: Preparing 17:47:52 864de9b54d89: Preparing 17:47:52 44a5592b6cc7: Preparing 17:47:52 1d2368c0262c: Preparing 17:47:52 3ef9783eb6f2: Preparing 17:47:52 c85b5fb80c28: Preparing 17:47:52 7b66bf8a9665: Preparing 17:47:52 f70ee36035b9: Preparing 17:47:52 864de9b54d89: Waiting 17:47:52 44a5592b6cc7: Waiting 17:47:52 3ef9783eb6f2: Waiting 17:47:52 1d2368c0262c: Waiting 17:47:52 c85b5fb80c28: Waiting 17:47:52 7b66bf8a9665: Waiting 17:47:52 f70ee36035b9: Waiting 17:47:52 d7642e119ab6: Layer already exists 17:47:52 1207169bf42c: Layer already exists 17:47:52 ebe813957979: Layer already exists 17:47:52 a43932d1df72: Layer already exists 17:47:52 6a930a579295: Layer already exists 17:47:52 44a5592b6cc7: Layer already exists 17:47:52 864de9b54d89: Layer already exists 17:47:52 1d2368c0262c: Layer already exists 17:47:52 3ef9783eb6f2: Layer already exists 17:47:52 c85b5fb80c28: Layer already exists 17:47:52 f70ee36035b9: Layer already exists 17:47:52 7b66bf8a9665: Layer already exists 17:47:52 main: digest: sha256:68d7ab9a671bba38f94b04b713c9de471bb65812b38a06bb3f9e6a617dafba49 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:47:53 ===================================================== [Pipeline] echo 17:47:53 taggedImages: 17:47:53 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 17:47:53 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:47:53 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.11 17:47:53 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:eb09eea23094f9dfe3d7b3f55c1f0828961a3a42-3.0.0-dev.11 17:47:53 - 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:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:53 17:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:47:53 arm64: Pulling from edgex-lftools-log-publisher 17:47:53 8998bd30e6a1: Pulling fs layer 17:47:53 04944245beec: Pulling fs layer 17:47:53 699f458cf7ca: Pulling fs layer 17:47:53 765212b225bb: Pulling fs layer 17:47:53 f23df028b6ca: Pulling fs layer 17:47:53 d65c8cfc05b1: Pulling fs layer 17:47:53 2437ff75d9bd: Pulling fs layer 17:47:53 f23df028b6ca: Waiting 17:47:53 d65c8cfc05b1: Waiting 17:47:53 2437ff75d9bd: Waiting 17:47:53 765212b225bb: Waiting 17:47:53 04944245beec: Verifying Checksum 17:47:53 04944245beec: Download complete 17:47:53 765212b225bb: Verifying Checksum 17:47:53 765212b225bb: Download complete 17:47:53 f23df028b6ca: Verifying Checksum 17:47:53 f23df028b6ca: Download complete 17:47:53 d65c8cfc05b1: Verifying Checksum 17:47:53 d65c8cfc05b1: Download complete 17:47:54 699f458cf7ca: Verifying Checksum 17:47:54 699f458cf7ca: Download complete 17:47:54 8998bd30e6a1: Download complete 17:47:57 2437ff75d9bd: Verifying Checksum 17:47:57 2437ff75d9bd: Download complete 17:47:59 8998bd30e6a1: Pull complete 17:47:59 04944245beec: Pull complete 17:48:00 699f458cf7ca: Pull complete 17:48:00 765212b225bb: Pull complete 17:48:04 f23df028b6ca: Pull complete 17:48:04 d65c8cfc05b1: Pull complete 17:48:19 2437ff75d9bd: Pull complete 17:48:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:19 prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container 17:48:19 $ 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/82 -v /w/workspace/device-usb-camera/82:/w/workspace/device-usb-camera/82:rw,z -v /w/workspace/device-usb-camera/82@tmp:/w/workspace/device-usb-camera/82@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:48:20 $ docker top c1cfc44a5cf8a05817015a4b79a72ed3f0097398a91a77d5ac08ee5987980f12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:21 ---> job-cost.sh 17:48:21 lf-activate-venv: SKIPPING 17:48:21 INFO: No Stack... 17:48:22 INFO: Retrieving Pricing Info for: v3-standard-4 17:48:23 INFO: Archiving Costs [Pipeline] sh 17:48:23 + cut -d, -f6 17:48:23 + cat /w/workspace/device-usb-camera/82/archives/cost.csv [Pipeline] lock 17:48:23 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] 17:48:23 Resource [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] did not exist. Created. 17:48:23 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:48:24 /w/workspace/device-usb-camera/82@tmp/durable-218ef025/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:48:25 + echo total: 0.10999999940395355 [Pipeline] stash 17:48:25 Warning: overwriting stash ‘stack-cost’ 17:48:25 Stashed 1 file(s) [Pipeline] } 17:48:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 17:48:25 $ docker stop --time=1 c1cfc44a5cf8a05817015a4b79a72ed3f0097398a91a77d5ac08ee5987980f12 17:48:26 $ docker rm -f --volumes c1cfc44a5cf8a05817015a4b79a72ed3f0097398a91a77d5ac08ee5987980f12 [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:48:27 provisioning config files... 17:48:27 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2032796804659522222tmp [Pipeline] { [Pipeline] sh 17:48:27 + set +x 17:48:27 + curl -s https://codecov.io/bash 17:48:27 + bash -s -- 17:48:27 17:48:27 _____ _ 17:48:27 / ____| | | 17:48:27 | | ___ __| | ___ ___ _____ __ 17:48:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:48:27 | |___| (_) | (_| | __/ (_| (_) \ V / 17:48:27 \_____\___/ \__,_|\___|\___\___/ \_/ 17:48:27 Bash-1.0.6 17:48:27 17:48:27 17:48:27 ==> git version 2.25.1 found 17:48:27 ==> 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:48:27 Release-Date: 2020-01-08 17:48:27 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:48:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:48:27 ==> Jenkins CI detected. 17:48:27 current dir:  /w/workspace/exfoundry_device-usb-camera_main 17:48:27 project root: . 17:48:27 --> token set from env 17:48:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:48:27 ==> Running gcov in . (disable via -X gcov) 17:48:27 ==> Python coveragepy not found 17:48:27 ==> Searching for coverage reports in: 17:48:27 + . 17:48:27 -> Found 1 reports 17:48:27 ==> Detecting git/mercurial file structure 17:48:27 ==> Reading reports 17:48:27 + ./coverage.out bytes=28352 17:48:27 ==> Appending adjustments 17:48:27 https://docs.codecov.io/docs/fixing-reports 17:48:27 + Found adjustments 17:48:27 ==> Gzipping contents 17:48:27 4.0K /tmp/codecov.kIWjyB.gz 17:48:27 ==> Uploading reports 17:48:27 url: https://codecov.io 17:48:27 query: branch=main&commit=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:48:27 -> Pinging Codecov 17:48:27 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=eb09eea23094f9dfe3d7b3f55c1f0828961a3a42&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:48:27 -> Uploading to 17:48:27 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/73D8F5FF140700D3E01443B452E23636/eb09eea23094f9dfe3d7b3f55c1f0828961a3a42/eb4f4820-3e49-439e-ac4b-779ae3504ac3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T174827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20c784d60b057288b26a8e5a86db6c0c0650f46cd592e95d64c93c94f1a5e0f6 17:48:27 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:27 Dload Upload Total Spent Left Speed 17:48:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4001 0 0 100 4001 0 14873 --:--:-- --:--:-- --:--:-- 14873 17:48:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] } 17:48:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:48:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:48:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:48:28 17:48:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:48:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:48:28 df9b9388f04a: Pulling fs layer 17:48:28 52dc419b0ee2: Pulling fs layer 17:48:28 25bc292e5bac: Pulling fs layer 17:48:28 114826534d7a: Pulling fs layer 17:48:28 4657fd5d0bcf: Pulling fs layer 17:48:28 6ad1cebc031e: Pulling fs layer 17:48:28 8a3aa393b2d8: Pulling fs layer 17:48:28 4657fd5d0bcf: Waiting 17:48:28 6ad1cebc031e: Waiting 17:48:28 8a3aa393b2d8: Waiting 17:48:28 114826534d7a: Waiting 17:48:28 25bc292e5bac: Verifying Checksum 17:48:28 25bc292e5bac: Download complete 17:48:28 52dc419b0ee2: Verifying Checksum 17:48:28 52dc419b0ee2: Download complete 17:48:28 4657fd5d0bcf: Verifying Checksum 17:48:28 4657fd5d0bcf: Download complete 17:48:28 df9b9388f04a: Download complete 17:48:29 df9b9388f04a: Pull complete 17:48:29 6ad1cebc031e: Verifying Checksum 17:48:29 6ad1cebc031e: Download complete 17:48:29 52dc419b0ee2: Pull complete 17:48:29 25bc292e5bac: Pull complete 17:48:29 114826534d7a: Verifying Checksum 17:48:29 114826534d7a: Download complete 17:48:29 8a3aa393b2d8: Verifying Checksum 17:48:33 114826534d7a: Pull complete 17:48:33 4657fd5d0bcf: Pull complete 17:48:33 6ad1cebc031e: Pull complete 17:48:36 8a3aa393b2d8: Pull complete 17:48:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:48:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:36 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:48:36 $ 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:48:40 $ docker top 937acc7e3f90ad6e4ba0801dabefdaf2722594bc518d3385c0d27dfd21653285 -eo pid,comm [Pipeline] { [Pipeline] echo 17:48:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 17:48:40 + set -o pipefail 17:48:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 17:48:46 17:48:46 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 17:48:46 17:48:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/b223a092-1b92-41ba-97d4-8b3d1550c17e 17:48:46 17:48:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:48:46 17:48:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:48:46 17:48:46 17:48:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:48:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:48:46 More details here: https://snyk.co/ue1NS [Pipeline] } 17:48:46 $ docker stop --time=1 937acc7e3f90ad6e4ba0801dabefdaf2722594bc518d3385c0d27dfd21653285 17:48:50 $ docker rm -f --volumes 937acc7e3f90ad6e4ba0801dabefdaf2722594bc518d3385c0d27dfd21653285 [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:48:50 + git log --format=format:%s -1 eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 [Pipeline] sh 17:48:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:48:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:51 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:48:51 $ 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:48:51 $ docker top c00b0a828a637b61d8aa974c3950931600eccaf88a33df4115b7b147a7b9046a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:48:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:48:51 [ssh-agent] Looking for ssh-agent implementation... 17:48:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:48:51 $ docker exec c00b0a828a637b61d8aa974c3950931600eccaf88a33df4115b7b147a7b9046a ssh-agent 17:48:52 SSH_AUTH_SOCK=/tmp/ssh-US1TTAWPHXWP/agent.32 17:48:52 SSH_AGENT_PID=38 17:48:52 Running ssh-add (command line suppressed) 17:48:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15849006077754305031.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15849006077754305031.key) 17:48:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:48:52 + git semver tag 17:48:52 2023-03-01 17:48:52,658 [run_tag] DEBUG tag force:False 17:48:52 2023-03-01 17:48:52,658 [check_head_tag] DEBUG check head tag 17:48:52 2023-03-01 17:48:52,659 [execute] INFO git cat-file --batch-check 17:48:52 2023-03-01 17:48:52,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:48:52 2023-03-01 17:48:52,662 [execute] INFO git cat-file --batch 17:48:52 2023-03-01 17:48:52,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:48:52 2023-03-01 17:48:52,679 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:48:52 2023-03-01 17:48:52,679 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 17:48:52 2023-03-01 17:48:52,680 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:48:52 2023-03-01 17:48:52,684 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:48:52 3.0.0-dev.11 [Pipeline] } 17:48:52 $ docker exec --env ******** --env ******** c00b0a828a637b61d8aa974c3950931600eccaf88a33df4115b7b147a7b9046a ssh-agent -k 17:48:52 unset SSH_AUTH_SOCK; 17:48:52 unset SSH_AGENT_PID; 17:48:52 echo Agent pid 38 killed; 17:48:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:48:53 + git semver [Pipeline] } 17:48:53 $ docker stop --time=1 c00b0a828a637b61d8aa974c3950931600eccaf88a33df4115b7b147a7b9046a 17:48:54 $ docker rm -f --volumes c00b0a828a637b61d8aa974c3950931600eccaf88a33df4115b7b147a7b9046a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:48:55 17:48:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:48:55 0.23.1-centos7: Pulling from edgex-lftools 17:48:55 ab5ef0e58194: Pulling fs layer 17:48:55 9712f1f96733: Pulling fs layer 17:48:55 63f879dbbcfc: Pulling fs layer 17:48:55 0d9ebad4ef96: Pulling fs layer 17:48:55 e9a5061849ea: Pulling fs layer 17:48:55 d747dcd14b5f: Pulling fs layer 17:48:55 2de7ff778b66: Pulling fs layer 17:48:55 e9a5061849ea: Waiting 17:48:55 d747dcd14b5f: Waiting 17:48:55 2de7ff778b66: Waiting 17:48:55 0d9ebad4ef96: Waiting 17:48:55 9712f1f96733: Verifying Checksum 17:48:55 9712f1f96733: Download complete 17:48:55 63f879dbbcfc: Verifying Checksum 17:48:55 63f879dbbcfc: Download complete 17:48:56 e9a5061849ea: Verifying Checksum 17:48:56 e9a5061849ea: Download complete 17:48:56 d747dcd14b5f: Verifying Checksum 17:48:56 d747dcd14b5f: Download complete 17:48:56 ab5ef0e58194: Verifying Checksum 17:48:56 ab5ef0e58194: Download complete 17:48:56 0d9ebad4ef96: Verifying Checksum 17:48:56 0d9ebad4ef96: Download complete 17:48:56 2de7ff778b66: Verifying Checksum 17:48:56 2de7ff778b66: Download complete 17:48:59 ab5ef0e58194: Pull complete 17:48:59 9712f1f96733: Pull complete 17:48:59 63f879dbbcfc: Pull complete 17:49:02 0d9ebad4ef96: Pull complete 17:49:02 e9a5061849ea: Pull complete 17:49:03 d747dcd14b5f: Pull complete 17:49:04 2de7ff778b66: Pull complete 17:49:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:49:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:04 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:49:04 $ 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:49:08 $ docker top df4ccc80114f8d6eaeaa1ab3c663a4b1acb02795c7ca0980aa4603805e64ee58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:49:09 provisioning config files... 17:49:09 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11480461886958168563tmp 17:49:09 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15272820869224213482tmp 17:49:09 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10292583987538540209tmp [Pipeline] { [Pipeline] echo 17:49:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:49:09 ---> sigul-configuration.sh 17:49:09 gpg: directory `/root/.gnupg' created 17:49:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:49:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:49:09 gpg: keyring `/root/.gnupg/secring.gpg' created 17:49:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:49:09 gpg: CAST5 encrypted data 17:49:09 gpg: encrypted with 1 passphrase 17:49:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:49:09 + mkdir /home/jenkins 17:49:09 + mkdir /home/jenkins/sigul [Pipeline] sh 17:49:10 + 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:49:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:49:10 ---> sigul-install.sh 17:49:10 Sigul already installed; skipping installation. [Pipeline] sh 17:49:10 + git tag --list 17:49:10 v0.0.0 17:49:10 v0.0.1-dev.1 17:49:10 v0.0.1-dev.10 17:49:10 v0.0.1-dev.11 17:49:10 v0.0.1-dev.12 17:49:10 v0.0.1-dev.13 17:49:10 v0.0.1-dev.14 17:49:10 v0.0.1-dev.15 17:49:10 v0.0.1-dev.16 17:49:10 v0.0.1-dev.2 17:49:10 v0.0.1-dev.3 17:49:10 v0.0.1-dev.4 17:49:10 v0.0.1-dev.5 17:49:10 v0.0.1-dev.6 17:49:10 v0.0.1-dev.7 17:49:10 v0.0.1-dev.8 17:49:10 v0.0.1-dev.9 17:49:10 v2.2.0 17:49:10 v2.2.0-dev.17 17:49:10 v2.2.0-dev.18 17:49:10 v2.2.0-dev.19 17:49:10 v2.2.0-dev.20 17:49:10 v2.2.0-dev.21 17:49:10 v2.2.0-dev.22 17:49:10 v2.2.0-dev.23 17:49:10 v2.2.0-dev.24 17:49:10 v2.2.0-dev.25 17:49:10 v2.2.0-dev.26 17:49:10 v2.2.0-dev.27 17:49:10 v2.3.0 17:49:10 v2.3.0-dev.1 17:49:10 v2.3.0-dev.10 17:49:10 v2.3.0-dev.11 17:49:10 v2.3.0-dev.12 17:49:10 v2.3.0-dev.13 17:49:10 v2.3.0-dev.14 17:49:10 v2.3.0-dev.15 17:49:10 v2.3.0-dev.16 17:49:10 v2.3.0-dev.17 17:49:10 v2.3.0-dev.18 17:49:10 v2.3.0-dev.19 17:49:10 v2.3.0-dev.2 17:49:10 v2.3.0-dev.20 17:49:10 v2.3.0-dev.21 17:49:10 v2.3.0-dev.22 17:49:10 v2.3.0-dev.23 17:49:10 v2.3.0-dev.24 17:49:10 v2.3.0-dev.25 17:49:10 v2.3.0-dev.26 17:49:10 v2.3.0-dev.27 17:49:10 v2.3.0-dev.28 17:49:10 v2.3.0-dev.3 17:49:10 v2.3.0-dev.4 17:49:10 v2.3.0-dev.5 17:49:10 v2.3.0-dev.6 17:49:10 v2.3.0-dev.7 17:49:10 v2.3.0-dev.8 17:49:10 v2.3.0-dev.9 17:49:10 v3.0.0-dev.1 17:49:10 v3.0.0-dev.10 17:49:10 v3.0.0-dev.11 17:49:10 v3.0.0-dev.2 17:49:10 v3.0.0-dev.3 17:49:10 v3.0.0-dev.4 17:49:10 v3.0.0-dev.5 17:49:10 v3.0.0-dev.6 17:49:10 v3.0.0-dev.7 17:49:10 v3.0.0-dev.8 17:49:10 v3.0.0-dev.9 [Pipeline] sh 17:49:10 + lftools sign git-tag v3.0.0-dev.11 17:49:11 Signing Git tag with Sigul... 17:49:11 Signing v3.0.0-dev.11 [Pipeline] echo 17:49:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:49:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:49:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:49:12 $ docker stop --time=1 df4ccc80114f8d6eaeaa1ab3c663a4b1acb02795c7ca0980aa4603805e64ee58 17:49:13 $ docker rm -f --volumes df4ccc80114f8d6eaeaa1ab3c663a4b1acb02795c7ca0980aa4603805e64ee58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:49:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:14 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:49:14 $ 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:49:14 $ docker top bd3f86bf19ad8001c384bd1068e64eaaf66b89dc4bf27e3a2a7dae011ed00781 -eo pid,comm 17:49:14 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:49:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:14 [ssh-agent] Looking for ssh-agent implementation... 17:49:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:14 $ docker exec bd3f86bf19ad8001c384bd1068e64eaaf66b89dc4bf27e3a2a7dae011ed00781 ssh-agent 17:49:14 SSH_AUTH_SOCK=/tmp/ssh-LVpbgYhx2L28/agent.34 17:49:14 SSH_AGENT_PID=40 17:49:14 Running ssh-add (command line suppressed) 17:49:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5532783943203404983.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5532783943203404983.key) 17:49:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:15 + git semver bump pre 17:49:15 2023-03-01 17:49:15,368 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:15 2023-03-01 17:49:15,368 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 17:49:15 2023-03-01 17:49:15,368 [bump_version] DEBUG bumped version:3.0.0-dev.12 17:49:15 2023-03-01 17:49:15,368 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 17:49:15 2023-03-01 17:49:15,368 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:15 2023-03-01 17:49:15,368 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:15 2023-03-01 17:49:15,370 [execute] INFO git cat-file --batch-check 17:49:15 2023-03-01 17:49:15,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:49:15 2023-03-01 17:49:15,375 [execute] INFO git cat-file --batch 17:49:15 2023-03-01 17:49:15,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:49:15 2023-03-01 17:49:15,380 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:15 3.0.0-dev.12 [Pipeline] } 17:49:15 $ docker exec --env ******** --env ******** bd3f86bf19ad8001c384bd1068e64eaaf66b89dc4bf27e3a2a7dae011ed00781 ssh-agent -k 17:49:15 unset SSH_AUTH_SOCK; 17:49:15 unset SSH_AGENT_PID; 17:49:15 echo Agent pid 40 killed; 17:49:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:15 + git semver [Pipeline] } 17:49:16 $ docker stop --time=1 bd3f86bf19ad8001c384bd1068e64eaaf66b89dc4bf27e3a2a7dae011ed00781 17:49:17 $ docker rm -f --volumes bd3f86bf19ad8001c384bd1068e64eaaf66b89dc4bf27e3a2a7dae011ed00781 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:18 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:49:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:49:18 $ docker top 609e16be05321ab838630e54f0f45a478de92643dc63ab5ccb341e90e0f27c09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:18 [ssh-agent] Looking for ssh-agent implementation... 17:49:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:18 $ docker exec 609e16be05321ab838630e54f0f45a478de92643dc63ab5ccb341e90e0f27c09 ssh-agent 17:49:18 SSH_AUTH_SOCK=/tmp/ssh-1IGxXaWo6JpZ/agent.32 17:49:18 SSH_AGENT_PID=38 17:49:18 Running ssh-add (command line suppressed) 17:49:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7524103516050151227.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7524103516050151227.key) 17:49:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:19 + git semver push 17:49:19 2023-03-01 17:49:19,289 [run_push] DEBUG push 17:49:19 2023-03-01 17:49:19,289 [execute] INFO git cat-file --batch-check 17:49:19 2023-03-01 17:49:19,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:49:19 2023-03-01 17:49:19,292 [execute] INFO git rev-list 83b7dbfa8c851cf3c3a96cb85dcc57e62eda35e3 -- 17:49:19 2023-03-01 17:49:19,292 [execute] DEBUG Popen(['git', 'rev-list', '83b7dbfa8c851cf3c3a96cb85dcc57e62eda35e3', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:49:19 2023-03-01 17:49:19,298 [execute] INFO git fetch -v origin 17:49:19 2023-03-01 17:49:19,298 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:49:19 2023-03-01 17:49:19,913 [run_push] DEBUG no remote changes detected 17:49:19 2023-03-01 17:49:19,914 [execute] INFO git push origin semver 17:49:19 2023-03-01 17:49:19,914 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:49:20 2023-03-01 17:49:20,769 [run_push] DEBUG push all version tags 17:49:20 2023-03-01 17:49:20,769 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:49:20 2023-03-01 17:49:20,769 [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:49:21 2023-03-01 17:49:21,618 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:21 3.0.0-dev.12 [Pipeline] } 17:49:21 $ docker exec --env ******** --env ******** 609e16be05321ab838630e54f0f45a478de92643dc63ab5ccb341e90e0f27c09 ssh-agent -k 17:49:21 unset SSH_AUTH_SOCK; 17:49:21 unset SSH_AGENT_PID; 17:49:21 echo Agent pid 38 killed; 17:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:22 + git semver [Pipeline] } 17:49:22 $ docker stop --time=1 609e16be05321ab838630e54f0f45a478de92643dc63ab5ccb341e90e0f27c09 17:49:23 $ docker rm -f --volumes 609e16be05321ab838630e54f0f45a478de92643dc63ab5ccb341e90e0f27c09 [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:49:24 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 17:49:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:49:24 total 16 17:49:24 drwxr-xr-x 3 root root 4096 Mar 1 17:39 . 17:49:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 17:49 .. 17:49:24 drwxr-xr-x 2 root root 4096 Mar 1 17:39 cost 17:49:24 -rw-r--r-- 1 root root 88 Mar 1 17:39 cost.csv 17:49:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 17:49:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:49:24 total 16 17:49:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 17:39 . 17:49:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 17:49 .. 17:49:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 17:39 cost 17:49:24 -rw-r--r-- 1 jenkins jenkins 88 Mar 1 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:49:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:25 ---> package-listing.sh 17:49:25 ++ facter osfamily 17:49:25 ++ tr '[:upper:]' '[:lower:]' 17:49:25 + OS_FAMILY=debian 17:49:25 + workspace=/w/workspace/exfoundry_device-usb-camera_main 17:49:25 + START_PACKAGES=/tmp/packages_start.txt 17:49:25 + END_PACKAGES=/tmp/packages_end.txt 17:49:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:25 + PACKAGES=/tmp/packages_start.txt 17:49:25 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:49:25 + PACKAGES=/tmp/packages_end.txt 17:49:25 + case "${OS_FAMILY}" in 17:49:25 + dpkg -l 17:49:25 + grep '^ii' 17:49:25 + '[' -f /tmp/packages_start.txt ']' 17:49:25 + '[' -f /tmp/packages_end.txt ']' 17:49:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:25 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:49:25 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 17:49:25 + 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:49:25 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:49:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:26 prd-ubuntu20.04-docker-8c-8g-7979 does not seem to be running inside a container 17:49:26 $ 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:49:27 $ docker top 336ef8bff6f03113c0b6c7261cb63dd388924b5303f377028c462fe029f670fa -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:27 + touch /tmp/pre-build-complete [Pipeline] sh 17:49:27 + mkdir -p /var/log/sysstat [Pipeline] sh 17:49:27 + ls /var/log/sa-host 17:49:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:28 provisioning config files... 17:49:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13826511564379226019tmp [Pipeline] { [Pipeline] echo 17:49:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:49:28 ---> create-netrc.sh [Pipeline] } 17:49:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:49:28 ---> python-tools-install.sh [Pipeline] echo 17:49:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:49:28 ---> sudo-logs.sh 17:49:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:49:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:49:29 ---> job-cost.sh 17:49:29 lf-activate-venv: SKIPPING 17:49:29 DEBUG: total: 0.2199999988079071 17:49:29 INFO: Retrieving Stack Cost... 17:49:29 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:30 INFO: Archiving Costs [Pipeline] echo 17:49:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:49:30 ---> logs-deploy.sh 17:49:30 lf-activate-venv: SKIPPING 17:49:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/82 17:49:30 INFO: archiving workspace using pattern(s): 17:49:31 Archives upload complete. 17:49:31 INFO: archiving logs to Nexus