Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 585c9f07999463fee8dbb4bcccab0a75e11d8c68 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-ssh17786046809485125162.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3321103304611720763.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15674021303918342004.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11451229912006754428.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-ssh14111845075299087709.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2476’ Running on prd-ubuntu20.04-docker-8c-8g-2479 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 585c9f07999463fee8dbb4bcccab0a75e11d8c68 (main) Commit message: "refactor(snap): Update command and metadata sourcing (#190)" > 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 585c9f07999463fee8dbb4bcccab0a75e11d8c68 # timeout=10 > git rev-list --no-walk 59664bc2ea44ebca3b36727ae3a90eeb55726827 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:28:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:28:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:28:09 ========================================================= 16:28:09 EdgeX Global Pipelines Version Info 16:28:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:28:10 ------------------- 16:28:10 stable info: 16:28:10 ------------------- 16:28:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:28:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:28:10 Message: update stable to v1.0.245 16:28:10 ------------------- 16:28:10 experimental info: 16:28:10 ------------------- 16:28:10 Commited By: **** collab-it+edgex@linuxfoundation.org 16:28:10 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:28:10 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 585c9f0 [Pipeline] echo 16:28:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:11 provisioning config files... 16:28:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16029762173272505562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:11 ---> docker-login.sh 16:28:11 nexus3.edgexfoundry.org:10001 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 nexus3.edgexfoundry.org:10002 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 nexus3.edgexfoundry.org:10003 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 nexus3.edgexfoundry.org:10004 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 docker.io 16:28:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:12 Configure a credential helper to remove this warning. See 16:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:12 16:28:12 Login Succeeded 16:28:12 ---> docker-login.sh ends [Pipeline] } 16:28:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:28:13 + git rev-list -1 --merges 585c9f07999463fee8dbb4bcccab0a75e11d8c68~1..585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] echo 16:28:13 -----------> git rev-list -1 --merges 585c9f07999463fee8dbb4bcccab0a75e11d8c68~1..585c9f07999463fee8dbb4bcccab0a75e11d8c68 585c9f07999463fee8dbb4bcccab0a75e11d8c68 [false] [Pipeline] sh 16:28:13 + git log --format=format:%s -1 585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] echo 16:28:13 ========================================================= 16:28:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:28:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:13 + git log --format=format:%s -1 585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] echo 16:28:13 [semverPrep] GIT_COMMIT: 585c9f07999463fee8dbb4bcccab0a75e11d8c68, Commit Message: refactor(snap): Update command and metadata sourcing (#190) [Pipeline] echo 16:28:13 [semverPrep] This is not a build commit. [Pipeline] sh 16:28:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:28:14 + grep -v github /etc/ssh/ssh_known_hosts 16:28:14 + [ -e /tmp/ssh_known_hosts ] 16:28:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:28:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:28:14 + sudo tee -a /etc/ssh/ssh_known_hosts 16:28:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:14 16:28:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:14 0.1.4: Pulling from edgex-devops/py-git-semver 16:28:14 b85a868b505f: Pulling fs layer 16:28:14 e2be974225ed: Pulling fs layer 16:28:14 339a4e72a1f5: Pulling fs layer 16:28:14 988bab9f4d93: Pulling fs layer 16:28:14 1469e6f7b9e6: Pulling fs layer 16:28:14 eaf3925da568: Pulling fs layer 16:28:14 bab4dde63d76: Pulling fs layer 16:28:14 bde34c3a00c8: Pulling fs layer 16:28:14 b352a97aabf1: Pulling fs layer 16:28:14 4872d77fe225: Pulling fs layer 16:28:14 5851b861e8e6: Pulling fs layer 16:28:14 bab4dde63d76: Waiting 16:28:14 4872d77fe225: Waiting 16:28:14 5851b861e8e6: Waiting 16:28:14 bde34c3a00c8: Waiting 16:28:14 988bab9f4d93: Waiting 16:28:14 1469e6f7b9e6: Waiting 16:28:14 eaf3925da568: Waiting 16:28:14 b352a97aabf1: Waiting 16:28:14 e2be974225ed: Download complete 16:28:14 988bab9f4d93: Verifying Checksum 16:28:14 988bab9f4d93: Download complete 16:28:15 1469e6f7b9e6: Verifying Checksum 16:28:15 1469e6f7b9e6: Download complete 16:28:15 eaf3925da568: Verifying Checksum 16:28:15 eaf3925da568: Download complete 16:28:15 339a4e72a1f5: Verifying Checksum 16:28:15 339a4e72a1f5: Download complete 16:28:15 bde34c3a00c8: Download complete 16:28:15 b352a97aabf1: Download complete 16:28:15 4872d77fe225: Download complete 16:28:15 5851b861e8e6: Verifying Checksum 16:28:15 5851b861e8e6: Download complete 16:28:15 b85a868b505f: Verifying Checksum 16:28:15 b85a868b505f: Download complete 16:28:15 bab4dde63d76: Verifying Checksum 16:28:15 bab4dde63d76: Download complete 16:28:16 b85a868b505f: Pull complete 16:28:16 e2be974225ed: Pull complete 16:28:17 339a4e72a1f5: Pull complete 16:28:17 988bab9f4d93: Pull complete 16:28:17 1469e6f7b9e6: Pull complete 16:28:17 eaf3925da568: Pull complete 16:28:19 bab4dde63d76: Pull complete 16:28:19 bde34c3a00c8: Pull complete 16:28:19 b352a97aabf1: Pull complete 16:28:19 4872d77fe225: Pull complete 16:28:19 5851b861e8e6: Pull complete 16:28:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:19 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:28:20 $ docker top 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 -eo pid,comm 16:28:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:28:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:20 [ssh-agent] Looking for ssh-agent implementation... 16:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:21 $ docker exec 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 ssh-agent 16:28:21 SSH_AUTH_SOCK=/tmp/ssh-ynVjfJxe4W7q/agent.32 16:28:21 SSH_AGENT_PID=39 16:28:21 Running ssh-add (command line suppressed) 16:28:21 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2067770347144128925.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2067770347144128925.key) 16:28:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:21 + git tag --points-at HEAD [Pipeline] } 16:28:21 $ docker exec --env ******** --env ******** 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 ssh-agent -k 16:28:21 unset SSH_AUTH_SOCK; 16:28:21 unset SSH_AGENT_PID; 16:28:21 echo Agent pid 39 killed; 16:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:21 [ssh-agent] Looking for ssh-agent implementation... 16:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:21 $ docker exec 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 ssh-agent 16:28:21 SSH_AUTH_SOCK=/tmp/ssh-2G2wOhCfHwtg/agent.71 16:28:21 SSH_AGENT_PID=77 16:28:21 Running ssh-add (command line suppressed) 16:28:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7426368959755991571.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7426368959755991571.key) 16:28:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:22 + git semver init 16:28:22 2023-03-16 16:28:22,537 [run_init] DEBUG init version:0.0.0 force:False 16:28:22 2023-03-16 16:28:22,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 16:28:22 2023-03-16 16:28:22,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 16:28:22 2023-03-16 16:28:22,538 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:28:23 2023-03-16 16:28:23,189 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 16:28:23 2023-03-16 16:28:23,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 16:28:23 2023-03-16 16:28:23,190 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:28:23 2023-03-16 16:28:23,190 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:28:23 3.0.0-dev.18 [Pipeline] } 16:28:23 $ docker exec --env ******** --env ******** 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 ssh-agent -k 16:28:23 unset SSH_AUTH_SOCK; 16:28:23 unset SSH_AGENT_PID; 16:28:23 echo Agent pid 77 killed; 16:28:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:23 + git semver [Pipeline] } 16:28:24 $ docker stop --time=1 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 16:28:25 $ docker rm -f --volumes 8afb455f917b2edc6304084890d9fc6c34fd48aa7ef93184aa1346948d95cdf8 [Pipeline] // withDockerContainer [Pipeline] sh 16:28:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:28:26 Stashed 1 file(s) [Pipeline] echo 16:28:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:26 provisioning config files... 16:28:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4911682361760324994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:26 ---> docker-login.sh 16:28:26 nexus3.edgexfoundry.org:10001 16:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:26 Configure a credential helper to remove this warning. See 16:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:26 16:28:26 Login Succeeded 16:28:26 nexus3.edgexfoundry.org:10002 16:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:26 Configure a credential helper to remove this warning. See 16:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:26 16:28:26 Login Succeeded 16:28:26 nexus3.edgexfoundry.org:10003 16:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:26 Configure a credential helper to remove this warning. See 16:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:26 16:28:26 Login Succeeded 16:28:26 nexus3.edgexfoundry.org:10004 16:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:26 Configure a credential helper to remove this warning. See 16:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:26 16:28:26 Login Succeeded 16:28:26 docker.io 16:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:27 Configure a credential helper to remove this warning. See 16:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:27 16:28:27 Login Succeeded 16:28:27 ---> docker-login.sh ends [Pipeline] } 16:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:28:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:27 ========================================================= 16:28:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:28:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:28:27 Sending build context to Docker daemon 1.819MB 16:28:27 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:28:27 Step 2/13 : FROM ${BASE} AS builder 16:28:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:28:27 63b65145d645: Pulling fs layer 16:28:27 a2d21d5440eb: Pulling fs layer 16:28:27 935e6c44a52c: Pulling fs layer 16:28:27 94cc34f8dd06: Pulling fs layer 16:28:27 30dea6a524f1: Pulling fs layer 16:28:27 a2aff8979fd8: Pulling fs layer 16:28:27 6808be2612f2: Pulling fs layer 16:28:27 f25807f1079a: Pulling fs layer 16:28:27 30dea6a524f1: Waiting 16:28:27 a2aff8979fd8: Waiting 16:28:27 6808be2612f2: Waiting 16:28:27 f25807f1079a: Waiting 16:28:27 94cc34f8dd06: Waiting 16:28:27 a2d21d5440eb: Verifying Checksum 16:28:27 94cc34f8dd06: Verifying Checksum 16:28:27 94cc34f8dd06: Download complete 16:28:27 30dea6a524f1: Download complete 16:28:27 63b65145d645: Verifying Checksum 16:28:27 63b65145d645: Download complete 16:28:27 a2aff8979fd8: Verifying Checksum 16:28:27 a2aff8979fd8: Download complete 16:28:27 63b65145d645: Pull complete 16:28:27 a2d21d5440eb: Pull complete 16:28:28 f25807f1079a: Verifying Checksum 16:28:28 f25807f1079a: Download complete 16:28:28 935e6c44a52c: Verifying Checksum 16:28:28 935e6c44a52c: Download complete 16:28:28 6808be2612f2: Verifying Checksum 16:28:31 935e6c44a52c: Pull complete 16:28:31 94cc34f8dd06: Pull complete 16:28:31 30dea6a524f1: Pull complete 16:28:31 a2aff8979fd8: Pull complete 16:28:34 6808be2612f2: Pull complete 16:28:34 f25807f1079a: Pull complete 16:28:34 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:28:34 ---> 3b553350e43f 16:28:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:28:36 ---> Running in 191e0ef5b3dc 16:28:36 Removing intermediate container 191e0ef5b3dc 16:28:36 ---> 2ed8f9090c69 16:28:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:28:36 ---> Running in 14d67d364d54 16:28:36 Removing intermediate container 14d67d364d54 16:28:36 ---> 235a1d8a5166 16:28:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:28:36 ---> Running in e5fdd3ac247d 16:28:36 Removing intermediate container e5fdd3ac247d 16:28:36 ---> a1e623649aa2 16:28:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:28:37 ---> Running in c1079cb0b7ea 16:28:37 Removing intermediate container c1079cb0b7ea 16:28:37 ---> 5c2f6a1fbe70 16:28:37 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:37 ---> Running in 0ffc65134673 16:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:28:37 (1/14) Installing libintl (0.21.1-r1) 16:28:37 (2/14) Installing eudev-libs (3.2.11-r4) 16:28:37 (3/14) Installing libjpeg-turbo (2.1.4-r0) 16:28:37 (4/14) Installing v4l-utils-libs (1.22.1-r2) 16:28:37 (5/14) Installing v4l-utils (1.22.1-r2) 16:28:38 (6/14) Installing udev-init-scripts (35-r1) 16:28:38 (7/14) Installing libblkid (2.38.1-r1) 16:28:38 (8/14) Installing xz-libs (5.2.9-r0) 16:28:38 (9/14) Installing zstd-libs (1.5.2-r9) 16:28:38 (10/14) Installing kmod-libs (30-r1) 16:28:38 (11/14) Installing eudev (3.2.11-r4) 16:28:38 (12/14) Installing eudev-dev (3.2.11-r4) 16:28:38 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 16:28:38 (14/14) Installing v4l-utils-dev (1.22.1-r2) 16:28:38 Executing busybox-1.35.0-r29.trigger 16:28:38 Executing eudev-3.2.11-r4.trigger 16:28:38 OK: 272 MiB in 67 packages 16:28:38 Removing intermediate container 0ffc65134673 16:28:38 ---> e637bdc610a1 16:28:38 Step 8/13 : WORKDIR /device-usb-camera 16:28:38 ---> Running in e1713b006617 16:28:38 Removing intermediate container e1713b006617 16:28:38 ---> 0e768cc058db 16:28:38 Step 9/13 : COPY go.mod vendor* ./ 16:28:38 ---> 68a0dcd18b2e 16:28:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:38 ---> Running in c7c4ea5ac196 16:28:41 Still waiting to schedule task 16:28:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2477’ 16:29:00 Removing intermediate container c7c4ea5ac196 16:29:00 ---> 17e6a0618218 16:29:00 Step 11/13 : COPY . . 16:29:00 ---> 1a484414cecf 16:29:00 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:29:00 ---> Running in a873a558807e 16:29:00  % Total % Received % Xferd Average Speed Time Time Time Current 16:29:00 Dload Upload Total Spent Left Speed 16:29:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9031 0 --:--:-- --:--:-- --:--:-- 9076 16:29:00 Removing intermediate container a873a558807e 16:29:00 ---> 9cf7b815ef6a 16:29:00 Step 13/13 : RUN ${MAKE} 16:29:00 ---> Running in 949ef8af064b 16:29:00 noop 16:29:00 Removing intermediate container 949ef8af064b 16:29:00 ---> f3fc2bfbcbb4 16:29:00 Successfully built f3fc2bfbcbb4 16:29:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:01 + docker inspect -f . ci-base-image-x86_64 16:29:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:01 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:29:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:29:01 $ docker top bc0a06cce2752cb7f7ef410a82e355720a120ad578c4470a8ec51f5410fa9ebc -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:01 + go version 16:29:01 go version go1.20.2 linux/amd64 [Pipeline] } 16:29:02 $ docker stop --time=1 bc0a06cce2752cb7f7ef410a82e355720a120ad578c4470a8ec51f5410fa9ebc 16:29:03 $ docker rm -f --volumes bc0a06cce2752cb7f7ef410a82e355720a120ad578c4470a8ec51f5410fa9ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:03 + docker inspect -f . ci-base-image-x86_64 16:29:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:03 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:29:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:29:04 $ docker top 54bd03aa75c7e6cb4dd3c149f6bd00185da403efe4da5beeb55188e5c411a9e2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:04 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 16:29:04 + make test 16:29:04 go test ./... -coverprofile=coverage.out ./... 16:29:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:29:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:29:19 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 2.0% of statements 16:29:26 go vet ./... 16:29:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:29:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:29:28 ./bin/test-attribution-txt.sh [Pipeline] echo 16:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:29:28 $ docker stop --time=1 54bd03aa75c7e6cb4dd3c149f6bd00185da403efe4da5beeb55188e5c411a9e2 16:29:30 $ docker rm -f --volumes 54bd03aa75c7e6cb4dd3c149f6bd00185da403efe4da5beeb55188e5c411a9e2 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:29:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:29:32 + ls -al . 16:29:32 total 188 16:29:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 16:29 . 16:29:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:28 .. 16:29:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:28 .git 16:29:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:28 .github 16:29:32 -rw-rw-r-- 1 jenkins jenkins 414 Mar 16 16:28 .gitignore 16:29:32 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 16:28 .golangci.yml 16:29:32 -rw-rw-r-- 1 jenkins jenkins 77 Mar 16 16:28 .hadolint.yml 16:29:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:28 .semver 16:29:32 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 16 16:28 Attribution.txt 16:29:32 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 16 16:28 CHANGELOG.md 16:29:32 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 16 16:28 Dockerfile 16:29:32 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:28 GOVERNANCE.md 16:29:32 -rw-rw-r-- 1 jenkins jenkins 659 Mar 16 16:28 Jenkinsfile 16:29:32 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 16:28 LICENSE 16:29:32 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 16 16:28 Makefile 16:29:32 -rw-rw-r-- 1 jenkins jenkins 622 Mar 16 16:28 OWNERS.md 16:29:32 -rw-rw-r-- 1 jenkins jenkins 5497 Mar 16 16:28 README.md 16:29:32 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 16:28 VERSION 16:29:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:28 bin 16:29:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:28 cmd 16:29:32 -rw-r--r-- 1 jenkins jenkins 28352 Mar 16 16:29 coverage.out 16:29:32 -rwxrwxr-x 1 jenkins jenkins 140 Mar 16 16:28 docker-entrypoint.sh 16:29:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:28 docs 16:29:32 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 16 16:28 go.mod 16:29:32 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 16 16:28 go.sum 16:29:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:28 internal 16:29:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:28 snap 16:29:32 -rw-rw-r-- 1 jenkins jenkins 231 Mar 16 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:32 + 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=585c9f07999463fee8dbb4bcccab0a75e11d8c68 --label arch=amd64 --label version=3.0.0-dev.18 . 16:29:32 Sending build context to Docker daemon 1.848MB 16:29:32 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 16:29:32 Step 2/35 : FROM ${BASE} AS builder 16:29:32 ---> f3fc2bfbcbb4 16:29:32 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:29:32 ---> Running in 43ee7fcf37da 16:29:32 Removing intermediate container 43ee7fcf37da 16:29:32 ---> d6521062c87d 16:29:32 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:29:32 ---> Running in 2ff59cd27b32 16:29:32 Removing intermediate container 2ff59cd27b32 16:29:32 ---> 7b5222684805 16:29:32 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:29:32 ---> Running in 227d20ec2c33 16:29:32 Removing intermediate container 227d20ec2c33 16:29:32 ---> bf927cc06e04 16:29:32 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:29:32 ---> Running in a6772c949211 16:29:32 Removing intermediate container a6772c949211 16:29:32 ---> ea7afb651cb3 16:29:32 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:29:32 ---> Running in e9e7cf97a027 16:29:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:29:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:29:33 OK: 272 MiB in 67 packages 16:29:33 Removing intermediate container e9e7cf97a027 16:29:33 ---> ec04f662352d 16:29:33 Step 8/35 : WORKDIR /device-usb-camera 16:29:33 ---> Running in 0f2967394252 16:29:34 Removing intermediate container 0f2967394252 16:29:34 ---> 4ee5fa34ed06 16:29:34 Step 9/35 : COPY go.mod vendor* ./ 16:29:34 ---> 0e9d49f7bd15 16:29:34 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:34 ---> Running in 5516309a2e8d 16:29:35 Removing intermediate container 5516309a2e8d 16:29:35 ---> 6426757b45bc 16:29:35 Step 11/35 : COPY . . 16:29:35 ---> 1fe2e2223abc 16:29:35 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:29:35 ---> Running in 39298bc75565 16:29:35  % Total % Received % Xferd Average Speed Time Time Time Current 16:29:35 Dload Upload Total Spent Left Speed 16:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21650 0 --:--:-- --:--:-- --:--:-- 22125 16:29:35 Removing intermediate container 39298bc75565 16:29:35 ---> 4ac85f1a48dc 16:29:35 Step 13/35 : RUN ${MAKE} 16:29:36 ---> Running in abee514526f1 16:29:36 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 16:29:54 Removing intermediate container abee514526f1 16:29:54 ---> 8672945d0dc8 16:29:54 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 16:29:54 v0.21.6: Pulling from aler9/rtsp-simple-server 16:29:54 4acc49c71d14: Pulling fs layer 16:29:54 4acc49c71d14: Verifying Checksum 16:29:54 4acc49c71d14: Download complete 16:29:55 4acc49c71d14: Pull complete 16:29:55 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 16:29:55 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 16:29:55 ---> 01a2bd3e5fff 16:29:55 Step 15/35 : FROM alpine:3.17 16:29:55 3.17: Pulling from library/alpine 16:29:55 63b65145d645: Already exists 16:29:55 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:29:55 Status: Downloaded newer image for alpine:3.17 16:29:55 ---> b2aa39c304c2 16:29:55 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:29:55 ---> Running in 8d10bceaa776 16:29:55 Removing intermediate container 8d10bceaa776 16:29:55 ---> 7843f85526cf 16:29:55 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 16:29:55 ---> Running in 6c7456b31a1b 16:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:29:56 (1/86) Installing dumb-init (1.2.5-r2) 16:29:56 (2/86) Installing sdl2 (2.26.3-r0) 16:29:56 (3/86) Installing svt-av1-libs (1.3.0-r0) 16:29:56 (4/86) Installing libxau (1.0.10-r0) 16:29:56 (5/86) Installing libmd (1.0.4-r0) 16:29:56 (6/86) Installing libbsd (0.11.7-r0) 16:29:56 (7/86) Installing libxdmcp (1.1.4-r0) 16:29:56 (8/86) Installing libxcb (1.15-r0) 16:29:56 (9/86) Installing libx11 (1.8.4-r0) 16:29:56 (10/86) Installing aom-libs (3.5.0-r0) 16:29:56 (11/86) Installing alsa-lib (1.2.8-r0) 16:29:56 (12/86) Installing libexpat (2.5.0-r0) 16:29:56 (13/86) Installing brotli-libs (1.0.9-r9) 16:29:56 (14/86) Installing libbz2 (1.0.8-r4) 16:29:56 (15/86) Installing libpng (1.6.38-r0) 16:29:56 (16/86) Installing freetype (2.12.1-r0) 16:29:56 (17/86) Installing fontconfig (2.14.1-r0) 16:29:56 (18/86) Installing fribidi (1.0.12-r0) 16:29:56 (19/86) Installing libffi (3.4.4-r0) 16:29:56 (20/86) Installing libintl (0.21.1-r1) 16:29:56 (21/86) Installing libblkid (2.38.1-r1) 16:29:56 (22/86) Installing libmount (2.38.1-r1) 16:29:56 (23/86) Installing pcre2 (10.42-r0) 16:29:56 (24/86) Installing glib (2.74.6-r0) 16:29:56 (25/86) Installing graphite2 (1.3.14-r2) 16:29:56 (26/86) Installing harfbuzz (5.3.1-r1) 16:29:56 (27/86) Installing libass (0.16.0-r1) 16:29:56 (28/86) Installing libdav1d (1.0.0-r2) 16:29:56 (29/86) Installing hwdata-pci (0.364-r0) 16:29:56 (30/86) Installing libpciaccess (0.17-r0) 16:29:56 (31/86) Installing libdrm (2.4.114-r0) 16:29:56 (32/86) Installing gmp (6.2.1-r2) 16:29:56 (33/86) Installing nettle (3.8.1-r0) 16:29:56 (34/86) Installing p11-kit (0.24.1-r1) 16:29:56 (35/86) Installing libtasn1 (4.19.0-r0) 16:29:56 (36/86) Installing libunistring (1.1-r0) 16:29:56 (37/86) Installing gnutls (3.7.8-r3) 16:29:56 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 16:29:56 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 16:29:56 (40/86) Installing lame (3.100-r2) 16:29:56 (41/86) Installing opus (1.3.1-r1) 16:29:56 (42/86) Installing libasyncns (0.8-r1) 16:29:56 (43/86) Installing dbus-libs (1.14.4-r0) 16:29:56 (44/86) Installing libltdl (2.4.7-r1) 16:29:56 (45/86) Installing orc (0.4.33-r0) 16:29:56 (46/86) Installing libgcc (12.2.1_git20220924-r4) 16:29:56 (47/86) Installing libogg (1.3.5-r2) 16:29:56 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 16:29:56 (49/86) Installing flac-libs (1.4.2-r0) 16:29:56 (50/86) Installing libvorbis (1.3.7-r0) 16:29:56 (51/86) Installing libsndfile (1.1.0-r2) 16:29:56 (52/86) Installing libgomp (12.2.1_git20220924-r4) 16:29:56 (53/86) Installing soxr (0.1.3-r3) 16:29:56 (54/86) Installing speexdsp (1.2.1-r0) 16:29:57 (55/86) Installing tdb-libs (1.4.7-r0) 16:29:57 (56/86) Installing libpulse (16.1-r6) 16:29:57 (57/86) Installing cjson (1.7.15-r3) 16:29:57 (58/86) Installing mbedtls (2.28.2-r0) 16:29:57 (59/86) Installing librist (0.2.7-r0) 16:29:57 (60/86) Installing libsrt (1.5.1-r0) 16:29:57 (61/86) Installing libssh (0.10.4-r0) 16:29:57 (62/86) Installing libtheora (1.1.1-r16) 16:29:57 (63/86) Installing libjpeg-turbo (2.1.4-r0) 16:29:57 (64/86) Installing v4l-utils-libs (1.22.1-r2) 16:29:57 (65/86) Installing libxext (1.3.5-r0) 16:29:57 (66/86) Installing libxfixes (6.0.0-r0) 16:29:57 (67/86) Installing wayland-libs-client (1.21.0-r1) 16:29:57 (68/86) Installing libva (2.16.0-r0) 16:29:57 (69/86) Installing libvdpau (1.5-r0) 16:29:57 (70/86) Installing vidstab (1.1.0-r2) 16:29:57 (71/86) Installing libvpx (1.12.0-r1) 16:29:57 (72/86) Installing libwebp (1.2.4-r1) 16:29:57 (73/86) Installing x264-libs (0.164_git20220602-r0) 16:29:57 (74/86) Installing numactl (2.0.16-r1) 16:29:57 (75/86) Installing x265-libs (3.5-r3) 16:29:57 (76/86) Installing xvidcore (1.3.7-r1) 16:29:57 (77/86) Installing libsodium (1.0.18-r2) 16:29:57 (78/86) Installing libzmq (4.3.4-r1) 16:29:57 (79/86) Installing ffmpeg-libs (5.1.2-r1) 16:29:57 (80/86) Installing ffmpeg (5.1.2-r1) 16:29:57 (81/86) Installing udev-init-scripts (35-r1) 16:29:57 (82/86) Installing eudev-libs (3.2.11-r4) 16:29:57 (83/86) Installing xz-libs (5.2.9-r0) 16:29:57 (84/86) Installing zstd-libs (1.5.2-r9) 16:29:57 (85/86) Installing kmod-libs (30-r1) 16:29:57 (86/86) Installing eudev (3.2.11-r4) 16:29:57 Executing busybox-1.35.0-r29.trigger 16:29:57 Executing eudev-3.2.11-r4.trigger 16:29:57 OK: 111 MiB in 101 packages 16:29:59 Removing intermediate container 6c7456b31a1b 16:29:59 ---> e60c55437051 16:29:59 Step 18/35 : WORKDIR / 16:29:59 ---> Running in 038d0b6a8e27 16:29:59 Removing intermediate container 038d0b6a8e27 16:29:59 ---> 23cbabb858fa 16:29:59 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:29:59 ---> f7a831c40eb6 16:29:59 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:29:59 ---> 58bb342da417 16:29:59 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:30:00 ---> 29617fd0e869 16:30:00 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:30:00 ---> 58dbbb88e767 16:30:00 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:30:00 ---> 9c8cb309c09a 16:30:00 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:30:00 ---> bc0ce32a4401 16:30:00 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:30:01 ---> 4101e1f924d3 16:30:01 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:30:01 ---> Running in 08165d42492f 16:30:01 Removing intermediate container 08165d42492f 16:30:01 ---> 1cc0faf9bff9 16:30:01 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:30:01 ---> Running in 0d275dd38309 16:30:02 Removing intermediate container 0d275dd38309 16:30:02 ---> 7ee7f9f424cc 16:30:02 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:30:02 ---> Running in 9c4fa1413da3 16:30:02 Removing intermediate container 9c4fa1413da3 16:30:02 ---> d850b5dbe22f 16:30:02 Step 29/35 : EXPOSE 59983 16:30:02 ---> Running in 0685b9865c44 16:30:02 Removing intermediate container 0685b9865c44 16:30:02 ---> 9e35e6f9c34d 16:30:02 Step 30/35 : EXPOSE 8554 16:30:03 ---> Running in 2cec59933f28 16:30:03 Removing intermediate container 2cec59933f28 16:30:03 ---> 14d6218548ad 16:30:03 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:30:03 ---> Running in 40fb2caa9dab 16:30:03 Removing intermediate container 40fb2caa9dab 16:30:03 ---> 4b9ccfcbada8 16:30:03 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 16:30:03 ---> Running in c2f2283d855b 16:30:03 Removing intermediate container c2f2283d855b 16:30:03 ---> 0c4725d0e90a 16:30:03 Step 33/35 : LABEL arch=amd64 16:30:03 ---> Running in 315d0614f031 16:30:03 Removing intermediate container 315d0614f031 16:30:03 ---> 20a086e228ae 16:30:03 Step 34/35 : LABEL git_sha=585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:30:03 ---> Running in 691013d21601 16:30:03 Removing intermediate container 691013d21601 16:30:03 ---> 90d77ea6a0ad 16:30:03 Step 35/35 : LABEL version=3.0.0-dev.18 16:30:03 ---> Running in ae1f64a9021f 16:30:03 Removing intermediate container ae1f64a9021f 16:30:03 ---> a363f9a12930 16:30:03 [Warning] One or more build-args [ARCH] were not consumed 16:30:03 Successfully built a363f9a12930 16:30:03 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:03 provisioning config files... 16:30:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17449284773998207819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:03 ---> docker-login.sh 16:30:03 nexus3.edgexfoundry.org:10001 16:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:03 Configure a credential helper to remove this warning. See 16:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:03 16:30:03 Login Succeeded 16:30:03 nexus3.edgexfoundry.org:10002 16:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:03 Configure a credential helper to remove this warning. See 16:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:03 16:30:03 Login Succeeded 16:30:03 nexus3.edgexfoundry.org:10003 16:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:04 Configure a credential helper to remove this warning. See 16:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:04 16:30:04 Login Succeeded 16:30:04 nexus3.edgexfoundry.org:10004 16:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:04 Configure a credential helper to remove this warning. See 16:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:04 16:30:04 Login Succeeded 16:30:04 docker.io 16:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:05 Configure a credential helper to remove this warning. See 16:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:05 16:30:05 Login Succeeded 16:30:05 ---> docker-login.sh ends [Pipeline] } 16:30:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:30:05 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:30:05 585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:30:05 latest 16:30:05 3.0.0-dev.18 16:30:05 585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:30:05 main 16:30:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:05 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:30:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:30:05 ad73191cd143: Preparing 16:30:05 663749b285ca: Preparing 16:30:05 4cf13324759b: Preparing 16:30:05 3827b5b91e75: Preparing 16:30:05 acc83c6ca332: Preparing 16:30:05 905db3cef561: Preparing 16:30:05 69ea1b5afbde: Preparing 16:30:05 a34a0553dbc1: Preparing 16:30:05 120300054901: Preparing 16:30:05 68e2e6746487: Preparing 16:30:05 a061b21da825: Preparing 16:30:05 7cd52847ad77: Preparing 16:30:05 69ea1b5afbde: Waiting 16:30:05 68e2e6746487: Waiting 16:30:05 a061b21da825: Waiting 16:30:05 a34a0553dbc1: Waiting 16:30:05 7cd52847ad77: Waiting 16:30:05 905db3cef561: Waiting 16:30:06 ad73191cd143: Pushed 16:30:06 663749b285ca: Pushed 16:30:06 acc83c6ca332: Pushed 16:30:06 4cf13324759b: Pushed 16:30:06 905db3cef561: Pushed 16:30:06 69ea1b5afbde: Pushed 16:30:06 120300054901: Pushed 16:30:06 a34a0553dbc1: Pushed 16:30:06 7cd52847ad77: Layer already exists 16:30:08 3827b5b91e75: Pushed 16:30:09 68e2e6746487: Pushed 16:30:17 a061b21da825: Pushed 16:30:17 585c9f07999463fee8dbb4bcccab0a75e11d8c68: digest: sha256:bb194214867a5cfa19c1dc7cc39d87a090e46af899b91e04d1f49493a668bd3f size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:30:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:30:17 ad73191cd143: Preparing 16:30:17 663749b285ca: Preparing 16:30:17 4cf13324759b: Preparing 16:30:17 3827b5b91e75: Preparing 16:30:17 acc83c6ca332: Preparing 16:30:17 905db3cef561: Preparing 16:30:17 69ea1b5afbde: Preparing 16:30:17 a34a0553dbc1: Preparing 16:30:17 120300054901: Preparing 16:30:17 68e2e6746487: Preparing 16:30:17 a061b21da825: Preparing 16:30:17 7cd52847ad77: Preparing 16:30:17 a34a0553dbc1: Waiting 16:30:17 a061b21da825: Waiting 16:30:17 7cd52847ad77: Waiting 16:30:17 120300054901: Waiting 16:30:17 68e2e6746487: Waiting 16:30:17 905db3cef561: Waiting 16:30:17 69ea1b5afbde: Waiting 16:30:17 663749b285ca: Layer already exists 16:30:17 3827b5b91e75: Layer already exists 16:30:17 ad73191cd143: Layer already exists 16:30:17 acc83c6ca332: Layer already exists 16:30:17 4cf13324759b: Layer already exists 16:30:17 a34a0553dbc1: Layer already exists 16:30:17 905db3cef561: Layer already exists 16:30:17 69ea1b5afbde: Layer already exists 16:30:17 68e2e6746487: Layer already exists 16:30:17 120300054901: Layer already exists 16:30:17 7cd52847ad77: Layer already exists 16:30:17 a061b21da825: Layer already exists 16:30:17 latest: digest: sha256:bb194214867a5cfa19c1dc7cc39d87a090e46af899b91e04d1f49493a668bd3f size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.18 16:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:30:18 ad73191cd143: Preparing 16:30:18 663749b285ca: Preparing 16:30:18 4cf13324759b: Preparing 16:30:18 3827b5b91e75: Preparing 16:30:18 acc83c6ca332: Preparing 16:30:18 905db3cef561: Preparing 16:30:18 69ea1b5afbde: Preparing 16:30:18 a34a0553dbc1: Preparing 16:30:18 120300054901: Preparing 16:30:18 68e2e6746487: Preparing 16:30:18 a061b21da825: Preparing 16:30:18 7cd52847ad77: Preparing 16:30:18 69ea1b5afbde: Waiting 16:30:18 a34a0553dbc1: Waiting 16:30:18 68e2e6746487: Waiting 16:30:18 7cd52847ad77: Waiting 16:30:18 a061b21da825: Waiting 16:30:18 905db3cef561: Waiting 16:30:18 120300054901: Waiting 16:30:18 3827b5b91e75: Layer already exists 16:30:18 acc83c6ca332: Layer already exists 16:30:18 4cf13324759b: Layer already exists 16:30:18 663749b285ca: Layer already exists 16:30:18 ad73191cd143: Layer already exists 16:30:18 905db3cef561: Layer already exists 16:30:18 69ea1b5afbde: Layer already exists 16:30:18 120300054901: Layer already exists 16:30:18 a061b21da825: Layer already exists 16:30:18 7cd52847ad77: Layer already exists 16:30:18 68e2e6746487: Layer already exists 16:30:18 a34a0553dbc1: Layer already exists 16:30:18 3.0.0-dev.18: digest: sha256:bb194214867a5cfa19c1dc7cc39d87a090e46af899b91e04d1f49493a668bd3f size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:30:19 ad73191cd143: Preparing 16:30:19 663749b285ca: Preparing 16:30:19 4cf13324759b: Preparing 16:30:19 3827b5b91e75: Preparing 16:30:19 acc83c6ca332: Preparing 16:30:19 905db3cef561: Preparing 16:30:19 69ea1b5afbde: Preparing 16:30:19 a34a0553dbc1: Preparing 16:30:19 120300054901: Preparing 16:30:19 68e2e6746487: Preparing 16:30:19 a061b21da825: Preparing 16:30:19 7cd52847ad77: Preparing 16:30:19 905db3cef561: Waiting 16:30:19 69ea1b5afbde: Waiting 16:30:19 a34a0553dbc1: Waiting 16:30:19 120300054901: Waiting 16:30:19 68e2e6746487: Waiting 16:30:19 a061b21da825: Waiting 16:30:19 7cd52847ad77: Waiting 16:30:19 3827b5b91e75: Layer already exists 16:30:19 ad73191cd143: Layer already exists 16:30:19 4cf13324759b: Layer already exists 16:30:19 663749b285ca: Layer already exists 16:30:19 acc83c6ca332: Layer already exists 16:30:19 69ea1b5afbde: Layer already exists 16:30:19 a34a0553dbc1: Layer already exists 16:30:19 120300054901: Layer already exists 16:30:19 905db3cef561: Layer already exists 16:30:19 68e2e6746487: Layer already exists 16:30:19 a061b21da825: Layer already exists 16:30:19 7cd52847ad77: Layer already exists 16:30:19 585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18: digest: sha256:bb194214867a5cfa19c1dc7cc39d87a090e46af899b91e04d1f49493a668bd3f size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:19 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 16:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:30:19 ad73191cd143: Preparing 16:30:19 663749b285ca: Preparing 16:30:19 4cf13324759b: Preparing 16:30:19 3827b5b91e75: Preparing 16:30:19 acc83c6ca332: Preparing 16:30:19 905db3cef561: Preparing 16:30:19 69ea1b5afbde: Preparing 16:30:19 a34a0553dbc1: Preparing 16:30:19 120300054901: Preparing 16:30:19 68e2e6746487: Preparing 16:30:19 a061b21da825: Preparing 16:30:19 7cd52847ad77: Preparing 16:30:19 69ea1b5afbde: Waiting 16:30:19 7cd52847ad77: Waiting 16:30:19 a061b21da825: Waiting 16:30:19 905db3cef561: Waiting 16:30:19 a34a0553dbc1: Waiting 16:30:19 120300054901: Waiting 16:30:19 68e2e6746487: Waiting 16:30:19 acc83c6ca332: Layer already exists 16:30:19 4cf13324759b: Layer already exists 16:30:19 ad73191cd143: Layer already exists 16:30:19 663749b285ca: Layer already exists 16:30:19 3827b5b91e75: Layer already exists 16:30:19 69ea1b5afbde: Layer already exists 16:30:19 a34a0553dbc1: Layer already exists 16:30:19 120300054901: Layer already exists 16:30:19 905db3cef561: Layer already exists 16:30:19 68e2e6746487: Layer already exists 16:30:19 a061b21da825: Layer already exists 16:30:19 7cd52847ad77: Layer already exists 16:30:19 main: digest: sha256:bb194214867a5cfa19c1dc7cc39d87a090e46af899b91e04d1f49493a668bd3f size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:30:19 ===================================================== [Pipeline] echo 16:30:19 taggedImages: 16:30:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:30:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:30:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.18 16:30:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:30:19 - 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 16:30:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:20 16:30:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:20 latest: Pulling from edgex-lftools-log-publisher 16:30:20 5eb5b503b376: Pulling fs layer 16:30:20 5c69ac0246d0: Pulling fs layer 16:30:20 ec43610c2a17: Pulling fs layer 16:30:20 3a2ae6a8a46f: Pulling fs layer 16:30:20 33b1e0a273af: Pulling fs layer 16:30:20 5d3b04190fa2: Pulling fs layer 16:30:20 2f39f015ded8: Pulling fs layer 16:30:20 3a2ae6a8a46f: Waiting 16:30:20 33b1e0a273af: Waiting 16:30:20 5d3b04190fa2: Waiting 16:30:20 2f39f015ded8: Waiting 16:30:20 5c69ac0246d0: Verifying Checksum 16:30:20 5c69ac0246d0: Download complete 16:30:20 3a2ae6a8a46f: Verifying Checksum 16:30:20 3a2ae6a8a46f: Download complete 16:30:20 33b1e0a273af: Verifying Checksum 16:30:20 33b1e0a273af: Download complete 16:30:20 5d3b04190fa2: Verifying Checksum 16:30:20 5d3b04190fa2: Download complete 16:30:20 ec43610c2a17: Verifying Checksum 16:30:20 ec43610c2a17: Download complete 16:30:20 5eb5b503b376: Verifying Checksum 16:30:20 5eb5b503b376: Download complete 16:30:21 2f39f015ded8: Verifying Checksum 16:30:21 2f39f015ded8: Download complete 16:30:21 5eb5b503b376: Pull complete 16:30:21 5c69ac0246d0: Pull complete 16:30:22 ec43610c2a17: Pull complete 16:30:22 3a2ae6a8a46f: Pull complete 16:30:22 33b1e0a273af: Pull complete 16:30:22 5d3b04190fa2: Pull complete 16:30:26 2f39f015ded8: Pull complete 16:30:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:26 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:30:28 $ docker top ca93216d27944a3004cf40baa5aa715da4f56471197aa918ec680b383471a98c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:28 ---> job-cost.sh 16:30:28 lf-activate-venv: SKIPPING 16:30:28 INFO: No Stack... 16:30:29 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:29 INFO: Archiving Costs [Pipeline] sh 16:30:29 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 16:30:29 + cut -d, -f6 [Pipeline] lock 16:30:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] 16:30:29 Resource [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] did not exist. Created. 16:30:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:30:29 + echo total: 0.2199999988079071 [Pipeline] stash 16:30:30 Stashed 1 file(s) [Pipeline] } 16:30:30 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 16:30:30 $ docker stop --time=1 ca93216d27944a3004cf40baa5aa715da4f56471197aa918ec680b383471a98c 16:30:31 $ docker rm -f --volumes ca93216d27944a3004cf40baa5aa715da4f56471197aa918ec680b383471a98c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:31:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2482 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 16:31:56 Running in /w/workspace/device-usb-camera/90 [Pipeline] { [Pipeline] checkout 16:31:56 Selected Git installation does not exist. Using Default 16:31:56 The recommended git tool is: NONE 16:32:02 using credential edgex-jenkins-ssh 16:32:02 Cloning the remote Git repository 16:32:02 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:32:02 > git init /w/workspace/device-usb-camera/90 # timeout=10 16:32:03 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:32:03 > git --version # timeout=10 16:32:03 > git --version # 'git version 2.25.1' 16:32:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:32:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:32:05 Avoid second fetch 16:32:05 Checking out Revision 585c9f07999463fee8dbb4bcccab0a75e11d8c68 (main) 16:32:04 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:32:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:32:05 > git config core.sparsecheckout # timeout=10 16:32:05 > git checkout -f 585c9f07999463fee8dbb4bcccab0a75e11d8c68 # timeout=10 16:32:05 Commit message: "refactor(snap): Update command and metadata sourcing (#190)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:32:06 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:06 Dload Upload Total Spent Left Speed 16:32:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 16:32:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:32:08 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 16:32:08 /etc/docker/daemon.new 16:32:08 { 16:32:08 "registry-mirrors": [ 16:32:08 "https://nexus3.edgexfoundry.org:10001" 16:32:08 ], 16:32:08 "bip": "10.250.0.254/24", 16:32:08 "hosts": [ 16:32:08 "tcp://0.0.0.0:5555", 16:32:08 "unix:///var/run/docker.sock" 16:32:08 ], 16:32:08 "mtu": 1458, 16:32:08 "selinux-enabled": true, 16:32:08 "seccomp-profile": "/etc/docker/seccomp.json" 16:32:08 } [Pipeline] sh 16:32:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:32:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:26 provisioning config files... 16:32:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/90@tmp/config12854455764962562291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:27 ---> docker-login.sh 16:32:27 nexus3.edgexfoundry.org:10001 16:32:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:27 Configure a credential helper to remove this warning. See 16:32:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:27 16:32:27 Login Succeeded 16:32:27 nexus3.edgexfoundry.org:10002 16:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:28 Configure a credential helper to remove this warning. See 16:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:28 16:32:28 Login Succeeded 16:32:28 nexus3.edgexfoundry.org:10003 16:32:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:28 Configure a credential helper to remove this warning. See 16:32:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:28 16:32:28 Login Succeeded 16:32:28 nexus3.edgexfoundry.org:10004 16:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:29 Configure a credential helper to remove this warning. See 16:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:29 16:32:29 Login Succeeded 16:32:29 docker.io 16:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:29 Configure a credential helper to remove this warning. See 16:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:29 16:32:29 Login Succeeded 16:32:29 ---> docker-login.sh ends [Pipeline] } 16:32:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:32:29 ========================================================= 16:32:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:32:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:32:30 Sending build context to Docker daemon 1.168MB 16:32:30 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:32:30 Step 2/13 : FROM ${BASE} AS builder 16:32:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:32:30 af6eaf76a39c: Pulling fs layer 16:32:30 55522c791124: Pulling fs layer 16:32:30 ce5c4a1c91eb: Pulling fs layer 16:32:30 169dfbe0d373: Pulling fs layer 16:32:30 e1ff8fa3b103: Pulling fs layer 16:32:30 52ebb69f0ebf: Pulling fs layer 16:32:30 5abe8eddf0d5: Pulling fs layer 16:32:30 e1ff8fa3b103: Waiting 16:32:30 52ebb69f0ebf: Waiting 16:32:30 5abe8eddf0d5: Waiting 16:32:30 169dfbe0d373: Waiting 16:32:30 55522c791124: Verifying Checksum 16:32:30 55522c791124: Download complete 16:32:30 af6eaf76a39c: Verifying Checksum 16:32:30 af6eaf76a39c: Download complete 16:32:31 e1ff8fa3b103: Verifying Checksum 16:32:31 e1ff8fa3b103: Download complete 16:32:32 169dfbe0d373: Verifying Checksum 16:32:32 169dfbe0d373: Download complete 16:32:32 af6eaf76a39c: Pull complete 16:32:32 55522c791124: Pull complete 16:32:32 5abe8eddf0d5: Verifying Checksum 16:32:32 5abe8eddf0d5: Download complete 16:32:33 ce5c4a1c91eb: Verifying Checksum 16:32:33 ce5c4a1c91eb: Download complete 16:32:33 52ebb69f0ebf: Verifying Checksum 16:32:33 52ebb69f0ebf: Download complete 16:32:43 ce5c4a1c91eb: Pull complete 16:32:43 169dfbe0d373: Pull complete 16:32:43 e1ff8fa3b103: Pull complete 16:32:50 52ebb69f0ebf: Pull complete 16:32:52 5abe8eddf0d5: Pull complete 16:32:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:32:52 ---> 6cb57ee374ae 16:32:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:32:54 ---> Running in e08a7bdd20ec 16:32:54 Removing intermediate container e08a7bdd20ec 16:32:54 ---> 47f6d4215d98 16:32:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:32:54 ---> Running in 2445a6a62854 16:32:54 Removing intermediate container 2445a6a62854 16:32:54 ---> b54cb972e855 16:32:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:32:54 ---> Running in 276a9cf9945f 16:32:55 Removing intermediate container 276a9cf9945f 16:32:55 ---> 442755507175 16:32:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:32:55 ---> Running in 9997e0b19369 16:32:55 Removing intermediate container 9997e0b19369 16:32:55 ---> d76f38565c32 16:32:55 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:32:55 ---> Running in 4f0a502693aa 16:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:32:59 (1/14) Installing libintl (0.21.1-r1) 16:32:59 (2/14) Installing eudev-libs (3.2.11-r4) 16:32:59 (3/14) Installing libjpeg-turbo (2.1.4-r0) 16:32:59 (4/14) Installing v4l-utils-libs (1.22.1-r2) 16:32:59 (5/14) Installing v4l-utils (1.22.1-r2) 16:32:59 (6/14) Installing udev-init-scripts (35-r1) 16:32:59 (7/14) Installing libblkid (2.38.1-r1) 16:32:59 (8/14) Installing xz-libs (5.2.9-r0) 16:32:59 (9/14) Installing zstd-libs (1.5.2-r9) 16:32:59 (10/14) Installing kmod-libs (30-r1) 16:32:59 (11/14) Installing eudev (3.2.11-r4) 16:32:59 (12/14) Installing eudev-dev (3.2.11-r4) 16:32:59 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 16:32:59 (14/14) Installing v4l-utils-dev (1.22.1-r2) 16:32:59 Executing busybox-1.35.0-r29.trigger 16:32:59 Executing eudev-3.2.11-r4.trigger 16:32:59 OK: 271 MiB in 67 packages 16:33:00 Removing intermediate container 4f0a502693aa 16:33:00 ---> 497770da3522 16:33:00 Step 8/13 : WORKDIR /device-usb-camera 16:33:00 ---> Running in b365782c8036 16:33:01 Removing intermediate container b365782c8036 16:33:01 ---> 21aa11e11653 16:33:01 Step 9/13 : COPY go.mod vendor* ./ 16:33:01 ---> 4f52cb169a68 16:33:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:33:01 ---> Running in 31f2e53d2a9d 16:34:09 Removing intermediate container 31f2e53d2a9d 16:34:09 ---> 69158db64e40 16:34:09 Step 11/13 : COPY . . 16:34:09 ---> 89837a92b46d 16:34:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:34:09 ---> Running in 9c78925cf64d 16:34:09  % Total % Received % Xferd Average Speed Time Time Time Current 16:34:09  Dload Upload Total Spent  Left Speed 16:34:09 0  0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2584 0 --:--:-- --:--:-- --:--:-- 2583 16:34:09 Removing intermediate container 9c78925cf64d 16:34:09 ---> ef15356ec06e 16:34:09 Step 13/13 : RUN ${MAKE} 16:34:09 ---> Running in 5e0ff959bf4b 16:34:09 noop 16:34:09 Removing intermediate container 5e0ff959bf4b 16:34:09 ---> 81c2d4bb128b 16:34:09 Successfully built 81c2d4bb128b 16:34:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:10 + docker inspect -f . ci-base-image-arm64 16:34:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:10 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 16:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/90 -v /w/workspace/device-usb-camera/90:/w/workspace/device-usb-camera/90:rw,z -v /w/workspace/device-usb-camera/90@tmp:/w/workspace/device-usb-camera/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:34:11 $ docker top 0a1e6f914a5259b683d0f5446252154b1ef8a2fcc30252cc44afe4a9333ed2f4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:12 + go version 16:34:12 go version go1.20.2 linux/arm64 [Pipeline] } 16:34:12 $ docker stop --time=1 0a1e6f914a5259b683d0f5446252154b1ef8a2fcc30252cc44afe4a9333ed2f4 16:34:14 $ docker rm -f --volumes 0a1e6f914a5259b683d0f5446252154b1ef8a2fcc30252cc44afe4a9333ed2f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:14 + docker inspect -f . ci-base-image-arm64 16:34:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:14 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 16:34:14 $ 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/90 -v /w/workspace/device-usb-camera/90:/w/workspace/device-usb-camera/90:rw,z -v /w/workspace/device-usb-camera/90@tmp:/w/workspace/device-usb-camera/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:34:16 $ docker top 45c30d5efce4013d0abf55ef39e8785c5aac8b57656e283504440171dfc1bc39 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:16 + git config --global --add safe.directory /w/workspace/device-usb-camera/90 [Pipeline] fileExists [Pipeline] sh 16:34:17 + make test 16:34:17 go test ./... -coverprofile=coverage.out ./... 16:34:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:37:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:37:18 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.150s coverage: 2.0% of statements 16:37:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:37:18 go vet ./... 16:37:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:37:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:37:50 ./bin/test-attribution-txt.sh [Pipeline] echo 16:37:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:37:50 $ docker stop --time=1 45c30d5efce4013d0abf55ef39e8785c5aac8b57656e283504440171dfc1bc39 16:37:52 $ docker rm -f --volumes 45c30d5efce4013d0abf55ef39e8785c5aac8b57656e283504440171dfc1bc39 [Pipeline] // withDockerContainer [Pipeline] sh 16:37:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:37:53 Warning: overwriting stash ‘coverage-report’ 16:37:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:37:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:37:54 + ls -al . 16:37:54 total 184 16:37:54 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:34 . 16:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:32 .. 16:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:32 .git 16:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:32 .github 16:37:54 -rw-rw-r-- 1 jenkins jenkins 414 Mar 16 16:32 .gitignore 16:37:54 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 16:32 .golangci.yml 16:37:54 -rw-rw-r-- 1 jenkins jenkins 77 Mar 16 16:32 .hadolint.yml 16:37:54 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 16 16:32 Attribution.txt 16:37:54 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 16 16:32 CHANGELOG.md 16:37:54 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 16 16:32 Dockerfile 16:37:54 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:32 GOVERNANCE.md 16:37:54 -rw-rw-r-- 1 jenkins jenkins 659 Mar 16 16:32 Jenkinsfile 16:37:54 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 16:32 LICENSE 16:37:54 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 16 16:32 Makefile 16:37:54 -rw-rw-r-- 1 jenkins jenkins 622 Mar 16 16:32 OWNERS.md 16:37:54 -rw-rw-r-- 1 jenkins jenkins 5497 Mar 16 16:32 README.md 16:37:54 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 16:28 VERSION 16:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:32 bin 16:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:32 cmd 16:37:54 -rw-r--r-- 1 jenkins jenkins 28352 Mar 16 16:37 coverage.out 16:37:54 -rwxrwxr-x 1 jenkins jenkins 140 Mar 16 16:32 docker-entrypoint.sh 16:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:32 docs 16:37:54 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 16 16:32 go.mod 16:37:54 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 16 16:32 go.sum 16:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:32 internal 16:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:32 snap 16:37:54 -rw-rw-r-- 1 jenkins jenkins 231 Mar 16 16:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:55 + 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=585c9f07999463fee8dbb4bcccab0a75e11d8c68 --label arch=arm64 --label version=3.0.0-dev.18 . 16:37:55 Sending build context to Docker daemon 1.197MB 16:37:55 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 16:37:55 Step 2/35 : FROM ${BASE} AS builder 16:37:55 ---> 81c2d4bb128b 16:37:55 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:37:58 ---> Running in af881c52e95f 16:37:58 Removing intermediate container af881c52e95f 16:37:58 ---> 4f55bbd90d6d 16:37:58 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:37:58 ---> Running in 521e6564d72e 16:37:58 Removing intermediate container 521e6564d72e 16:37:58 ---> 8797242a0878 16:37:58 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:37:58 ---> Running in e34d1a57c613 16:37:58 Removing intermediate container e34d1a57c613 16:37:58 ---> 41f698abab6b 16:37:58 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:37:58 ---> Running in c65079bf40ff 16:37:59 Removing intermediate container c65079bf40ff 16:37:59 ---> cb344730980a 16:37:59 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:37:59 ---> Running in 76d9bbf020e9 16:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:38:02 OK: 271 MiB in 67 packages 16:38:02 Removing intermediate container 76d9bbf020e9 16:38:02 ---> f42ae662c035 16:38:02 Step 8/35 : WORKDIR /device-usb-camera 16:38:02 ---> Running in fdce28426b78 16:38:03 Removing intermediate container fdce28426b78 16:38:03 ---> 0b075431968f 16:38:03 Step 9/35 : COPY go.mod vendor* ./ 16:38:03 ---> 51141aa37c42 16:38:03 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:03 ---> Running in cefc794d10f7 16:38:06 Removing intermediate container cefc794d10f7 16:38:06 ---> a5eaa57310f9 16:38:06 Step 11/35 : COPY . . 16:38:07 ---> a52c2338977b 16:38:07 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:38:07 ---> Running in d84fbdf3df94 16:38:08  % Total % Received % Xferd Average Speed Time Time Time Current 16:38:08 Dload Upload Total  Spent Left Speed 16:38:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3420 0 --:--:-- --:--:-- --:--:-- 3436 16:38:09 Removing intermediate container d84fbdf3df94 16:38:09 ---> 56a09ebc9bb3 16:38:09 Step 13/35 : RUN ${MAKE} 16:38:09 ---> Running in 1c4501c9cbbb 16:38:10 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 16:40:47 Removing intermediate container 1c4501c9cbbb 16:40:47 ---> e29de94af7d0 16:40:47 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 16:40:47 v0.21.6: Pulling from aler9/rtsp-simple-server 16:40:47 8766b47fe142: Pulling fs layer 16:40:47 8766b47fe142: Verifying Checksum 16:40:47 8766b47fe142: Download complete 16:40:47 8766b47fe142: Pull complete 16:40:47 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 16:40:47 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 16:40:47 ---> 69d40e2cb93c 16:40:47 Step 15/35 : FROM alpine:3.17 16:40:47 3.17: Pulling from library/alpine 16:40:47 af6eaf76a39c: Already exists 16:40:47 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:40:47 Status: Downloaded newer image for alpine:3.17 16:40:47 ---> d74e625d9115 16:40:47 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:40:47 ---> Running in 472616c6049b 16:40:47 Removing intermediate container 472616c6049b 16:40:47 ---> 9c2bbb256066 16:40:47 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 16:40:47 ---> Running in 3422d5538d2a 16:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:40:47 (1/83) Installing dumb-init (1.2.5-r2) 16:40:47 (2/83) Installing sdl2 (2.26.3-r0) 16:40:47 (3/83) Installing libxau (1.0.10-r0) 16:40:47 (4/83) Installing libmd (1.0.4-r0) 16:40:47 (5/83) Installing libbsd (0.11.7-r0) 16:40:47 (6/83) Installing libxdmcp (1.1.4-r0) 16:40:47 (7/83) Installing libxcb (1.15-r0) 16:40:47 (8/83) Installing libx11 (1.8.4-r0) 16:40:47 (9/83) Installing aom-libs (3.5.0-r0) 16:40:47 (10/83) Installing alsa-lib (1.2.8-r0) 16:40:47 (11/83) Installing libexpat (2.5.0-r0) 16:40:47 (12/83) Installing brotli-libs (1.0.9-r9) 16:40:47 (13/83) Installing libbz2 (1.0.8-r4) 16:40:47 (14/83) Installing libpng (1.6.38-r0) 16:40:47 (15/83) Installing freetype (2.12.1-r0) 16:40:47 (16/83) Installing fontconfig (2.14.1-r0) 16:40:47 (17/83) Installing fribidi (1.0.12-r0) 16:40:47 (18/83) Installing libffi (3.4.4-r0) 16:40:47 (19/83) Installing libintl (0.21.1-r1) 16:40:47 (20/83) Installing libblkid (2.38.1-r1) 16:40:47 (21/83) Installing libmount (2.38.1-r1) 16:40:47 (22/83) Installing pcre2 (10.42-r0) 16:40:47 (23/83) Installing glib (2.74.6-r0) 16:40:47 (24/83) Installing graphite2 (1.3.14-r2) 16:40:47 (25/83) Installing harfbuzz (5.3.1-r1) 16:40:47 (26/83) Installing libass (0.16.0-r1) 16:40:47 (27/83) Installing libdav1d (1.0.0-r2) 16:40:47 (28/83) Installing libdrm (2.4.114-r0) 16:40:47 (29/83) Installing gmp (6.2.1-r2) 16:40:47 (30/83) Installing nettle (3.8.1-r0) 16:40:47 (31/83) Installing p11-kit (0.24.1-r1) 16:40:47 (32/83) Installing libtasn1 (4.19.0-r0) 16:40:47 (33/83) Installing libunistring (1.1-r0) 16:40:47 (34/83) Installing gnutls (3.7.8-r3) 16:40:47 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 16:40:47 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 16:40:47 (37/83) Installing lame (3.100-r2) 16:40:47 (38/83) Installing opus (1.3.1-r1) 16:40:47 (39/83) Installing libasyncns (0.8-r1) 16:40:47 (40/83) Installing dbus-libs (1.14.4-r0) 16:40:47 (41/83) Installing libltdl (2.4.7-r1) 16:40:47 (42/83) Installing orc (0.4.33-r0) 16:40:47 (43/83) Installing libgcc (12.2.1_git20220924-r4) 16:40:47 (44/83) Installing libogg (1.3.5-r2) 16:40:47 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 16:40:47 (46/83) Installing flac-libs (1.4.2-r0) 16:40:47 (47/83) Installing libvorbis (1.3.7-r0) 16:40:47 (48/83) Installing libsndfile (1.1.0-r2) 16:40:47 (49/83) Installing libgomp (12.2.1_git20220924-r4) 16:40:47 (50/83) Installing soxr (0.1.3-r3) 16:40:47 (51/83) Installing speexdsp (1.2.1-r0) 16:40:47 (52/83) Installing tdb-libs (1.4.7-r0) 16:40:47 (53/83) Installing libpulse (16.1-r6) 16:40:47 (54/83) Installing cjson (1.7.15-r3) 16:40:47 (55/83) Installing mbedtls (2.28.2-r0) 16:40:47 (56/83) Installing librist (0.2.7-r0) 16:40:47 (57/83) Installing libsrt (1.5.1-r0) 16:40:47 (58/83) Installing libssh (0.10.4-r0) 16:40:47 (59/83) Installing libtheora (1.1.1-r16) 16:40:47 (60/83) Installing libjpeg-turbo (2.1.4-r0) 16:40:47 (61/83) Installing v4l-utils-libs (1.22.1-r2) 16:40:47 (62/83) Installing libxext (1.3.5-r0) 16:40:47 (63/83) Installing libxfixes (6.0.0-r0) 16:40:47 (64/83) Installing wayland-libs-client (1.21.0-r1) 16:40:47 (65/83) Installing libva (2.16.0-r0) 16:40:47 (66/83) Installing libvdpau (1.5-r0) 16:40:47 (67/83) Installing vidstab (1.1.0-r2) 16:40:47 (68/83) Installing libvpx (1.12.0-r1) 16:40:47 (69/83) Installing libwebp (1.2.4-r1) 16:40:47 (70/83) Installing x264-libs (0.164_git20220602-r0) 16:40:47 (71/83) Installing numactl (2.0.16-r1) 16:40:47 (72/83) Installing x265-libs (3.5-r3) 16:40:47 (73/83) Installing xvidcore (1.3.7-r1) 16:40:47 (74/83) Installing libsodium (1.0.18-r2) 16:40:47 (75/83) Installing libzmq (4.3.4-r1) 16:40:47 (76/83) Installing ffmpeg-libs (5.1.2-r1) 16:40:47 (77/83) Installing ffmpeg (5.1.2-r1) 16:40:47 (78/83) Installing udev-init-scripts (35-r1) 16:40:47 (79/83) Installing eudev-libs (3.2.11-r4) 16:40:47 (80/83) Installing xz-libs (5.2.9-r0) 16:40:47 (81/83) Installing zstd-libs (1.5.2-r9) 16:40:47 (82/83) Installing kmod-libs (30-r1) 16:40:47 (83/83) Installing eudev (3.2.11-r4) 16:40:47 Executing busybox-1.35.0-r29.trigger 16:40:47 Executing eudev-3.2.11-r4.trigger 16:40:47 OK: 86 MiB in 98 packages 16:40:50 Removing intermediate container 3422d5538d2a 16:40:50 ---> 5fc9b865bfc0 16:40:50 Step 18/35 : WORKDIR / 16:40:50 ---> Running in 217c91d3170b 16:40:51 Removing intermediate container 217c91d3170b 16:40:51 ---> 1f128080549e 16:40:51 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:40:53 ---> f130b2110c7d 16:40:53 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:40:53 ---> 317de3d8de78 16:40:53 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:40:53 ---> b17b4d049731 16:40:53 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:40:54 ---> 8344bd9ba67f 16:40:54 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:40:54 ---> 004efed2cce1 16:40:54 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:40:55 ---> dea73ce837f0 16:40:55 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:40:56 ---> 4d16fbe601a5 16:40:56 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:40:56 ---> Running in ebbe6fa0e774 16:40:58 Removing intermediate container ebbe6fa0e774 16:40:58 ---> b244e5765467 16:40:58 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:40:58 ---> Running in 4aa2e0106b14 16:41:00 Removing intermediate container 4aa2e0106b14 16:41:00 ---> bd66eba06fa2 16:41:00 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:41:00 ---> Running in dd55afd82001 16:41:02 Removing intermediate container dd55afd82001 16:41:02 ---> 033e8d865712 16:41:02 Step 29/35 : EXPOSE 59983 16:41:02 ---> Running in ea0c98022a2a 16:41:02 Removing intermediate container ea0c98022a2a 16:41:02 ---> ee922b367d6a 16:41:02 Step 30/35 : EXPOSE 8554 16:41:02 ---> Running in 21a200d0276a 16:41:02 Removing intermediate container 21a200d0276a 16:41:02 ---> 1463afe6b325 16:41:02 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:41:02 ---> Running in b7d9b5fa8470 16:41:03 Removing intermediate container b7d9b5fa8470 16:41:03 ---> 0ea94c66765f 16:41:03 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 16:41:03 ---> Running in c2c498e9df20 16:41:03 Removing intermediate container c2c498e9df20 16:41:03 ---> 4922baa85548 16:41:03 Step 33/35 : LABEL arch=arm64 16:41:03 ---> Running in b15fc866a6a4 16:41:03 Removing intermediate container b15fc866a6a4 16:41:03 ---> af31db4ed115 16:41:03 Step 34/35 : LABEL git_sha=585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:41:03 ---> Running in 115a5c2b3e80 16:41:04 Removing intermediate container 115a5c2b3e80 16:41:04 ---> d198290973b4 16:41:04 Step 35/35 : LABEL version=3.0.0-dev.18 16:41:04 ---> Running in aa4f90271cfd 16:41:04 Removing intermediate container aa4f90271cfd 16:41:04 ---> 1621bfb084a9 16:41:04 [Warning] One or more build-args [ARCH] were not consumed 16:41:04 Successfully built 1621bfb084a9 16:41:04 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:04 provisioning config files... 16:41:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/90@tmp/config16403593550651964213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:05 ---> docker-login.sh 16:41:05 nexus3.edgexfoundry.org:10001 16:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:05 Configure a credential helper to remove this warning. See 16:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:05 16:41:05 Login Succeeded 16:41:05 nexus3.edgexfoundry.org:10002 16:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:05 Configure a credential helper to remove this warning. See 16:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:05 16:41:05 Login Succeeded 16:41:06 nexus3.edgexfoundry.org:10003 16:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:06 Configure a credential helper to remove this warning. See 16:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:06 16:41:06 Login Succeeded 16:41:06 nexus3.edgexfoundry.org:10004 16:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:06 Configure a credential helper to remove this warning. See 16:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:06 16:41:06 Login Succeeded 16:41:06 docker.io 16:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:07 Configure a credential helper to remove this warning. See 16:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:07 16:41:07 Login Succeeded 16:41:07 ---> docker-login.sh ends [Pipeline] } 16:41:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:07 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 16:41:07 585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:41:07 latest 16:41:07 3.0.0-dev.18 16:41:07 585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:41:07 main 16:41:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:07 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:41:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:41:07 8f53d8b943f9: Preparing 16:41:07 62aa97316a5b: Preparing 16:41:07 d65852baa984: Preparing 16:41:07 608d194cb50c: Preparing 16:41:07 acc83c6ca332: Preparing 16:41:07 f0460b8e3a83: Preparing 16:41:07 b09b8c2eff6b: Preparing 16:41:07 b4ba26343944: Preparing 16:41:07 477f6b481634: Preparing 16:41:07 b745d7dc9bcf: Preparing 16:41:07 f4f9df64df5b: Preparing 16:41:07 edf70074bd40: Preparing 16:41:07 b4ba26343944: Waiting 16:41:07 477f6b481634: Waiting 16:41:07 b745d7dc9bcf: Waiting 16:41:07 f4f9df64df5b: Waiting 16:41:07 edf70074bd40: Waiting 16:41:07 f0460b8e3a83: Waiting 16:41:07 b09b8c2eff6b: Waiting 16:41:09 8f53d8b943f9: Pushed 16:41:09 d65852baa984: Pushed 16:41:09 acc83c6ca332: Pushed 16:41:09 62aa97316a5b: Pushed 16:41:09 f0460b8e3a83: Pushed 16:41:09 b09b8c2eff6b: Pushed 16:41:09 b4ba26343944: Pushed 16:41:09 477f6b481634: Pushed 16:41:09 edf70074bd40: Layer already exists 16:41:13 608d194cb50c: Pushed 16:41:15 b745d7dc9bcf: Pushed 16:41:27 f4f9df64df5b: Pushed 16:41:27 585c9f07999463fee8dbb4bcccab0a75e11d8c68: digest: sha256:132581c4bb0923bc2f02168d16bd90585689ec90bfbc5d36e2f3ff4f49a7665e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:27 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:41:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:41:28 8f53d8b943f9: Preparing 16:41:28 62aa97316a5b: Preparing 16:41:28 d65852baa984: Preparing 16:41:28 608d194cb50c: Preparing 16:41:28 acc83c6ca332: Preparing 16:41:28 f0460b8e3a83: Preparing 16:41:28 b09b8c2eff6b: Preparing 16:41:28 b4ba26343944: Preparing 16:41:28 477f6b481634: Preparing 16:41:28 b745d7dc9bcf: Preparing 16:41:28 f4f9df64df5b: Preparing 16:41:28 edf70074bd40: Preparing 16:41:28 b09b8c2eff6b: Waiting 16:41:28 b4ba26343944: Waiting 16:41:28 477f6b481634: Waiting 16:41:28 b745d7dc9bcf: Waiting 16:41:28 f4f9df64df5b: Waiting 16:41:28 edf70074bd40: Waiting 16:41:28 f0460b8e3a83: Waiting 16:41:28 62aa97316a5b: Layer already exists 16:41:28 acc83c6ca332: Layer already exists 16:41:28 d65852baa984: Layer already exists 16:41:28 8f53d8b943f9: Layer already exists 16:41:28 608d194cb50c: Layer already exists 16:41:28 f0460b8e3a83: Layer already exists 16:41:28 b4ba26343944: Layer already exists 16:41:28 b09b8c2eff6b: Layer already exists 16:41:28 477f6b481634: Layer already exists 16:41:28 b745d7dc9bcf: Layer already exists 16:41:28 edf70074bd40: Layer already exists 16:41:28 f4f9df64df5b: Layer already exists 16:41:28 latest: digest: sha256:132581c4bb0923bc2f02168d16bd90585689ec90bfbc5d36e2f3ff4f49a7665e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:28 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.18 16:41:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:41:29 8f53d8b943f9: Preparing 16:41:29 62aa97316a5b: Preparing 16:41:29 d65852baa984: Preparing 16:41:29 608d194cb50c: Preparing 16:41:29 acc83c6ca332: Preparing 16:41:29 f0460b8e3a83: Preparing 16:41:29 b09b8c2eff6b: Preparing 16:41:29 b4ba26343944: Preparing 16:41:29 477f6b481634: Preparing 16:41:29 b745d7dc9bcf: Preparing 16:41:29 f4f9df64df5b: Preparing 16:41:29 edf70074bd40: Preparing 16:41:29 f0460b8e3a83: Waiting 16:41:29 b09b8c2eff6b: Waiting 16:41:29 b4ba26343944: Waiting 16:41:29 477f6b481634: Waiting 16:41:29 b745d7dc9bcf: Waiting 16:41:29 f4f9df64df5b: Waiting 16:41:29 edf70074bd40: Waiting 16:41:29 8f53d8b943f9: Layer already exists 16:41:29 acc83c6ca332: Layer already exists 16:41:29 62aa97316a5b: Layer already exists 16:41:29 608d194cb50c: Layer already exists 16:41:29 d65852baa984: Layer already exists 16:41:29 f0460b8e3a83: Layer already exists 16:41:29 b745d7dc9bcf: Layer already exists 16:41:29 b09b8c2eff6b: Layer already exists 16:41:29 477f6b481634: Layer already exists 16:41:29 b4ba26343944: Layer already exists 16:41:29 edf70074bd40: Layer already exists 16:41:29 f4f9df64df5b: Layer already exists 16:41:29 3.0.0-dev.18: digest: sha256:132581c4bb0923bc2f02168d16bd90585689ec90bfbc5d36e2f3ff4f49a7665e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:29 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:41:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:41:30 8f53d8b943f9: Preparing 16:41:30 62aa97316a5b: Preparing 16:41:30 d65852baa984: Preparing 16:41:30 608d194cb50c: Preparing 16:41:30 acc83c6ca332: Preparing 16:41:30 f0460b8e3a83: Preparing 16:41:30 b09b8c2eff6b: Preparing 16:41:30 b4ba26343944: Preparing 16:41:30 477f6b481634: Preparing 16:41:30 b745d7dc9bcf: Preparing 16:41:30 f4f9df64df5b: Preparing 16:41:30 edf70074bd40: Preparing 16:41:30 b4ba26343944: Waiting 16:41:30 477f6b481634: Waiting 16:41:30 b745d7dc9bcf: Waiting 16:41:30 f4f9df64df5b: Waiting 16:41:30 edf70074bd40: Waiting 16:41:30 f0460b8e3a83: Waiting 16:41:30 b09b8c2eff6b: Waiting 16:41:30 8f53d8b943f9: Layer already exists 16:41:30 608d194cb50c: Layer already exists 16:41:30 d65852baa984: Layer already exists 16:41:30 62aa97316a5b: Layer already exists 16:41:30 acc83c6ca332: Layer already exists 16:41:30 b745d7dc9bcf: Layer already exists 16:41:30 b4ba26343944: Layer already exists 16:41:30 f0460b8e3a83: Layer already exists 16:41:30 b09b8c2eff6b: Layer already exists 16:41:30 477f6b481634: Layer already exists 16:41:30 f4f9df64df5b: Layer already exists 16:41:30 edf70074bd40: Layer already exists 16:41:30 585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18: digest: sha256:132581c4bb0923bc2f02168d16bd90585689ec90bfbc5d36e2f3ff4f49a7665e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:30 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:31 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 16:41:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:41:31 8f53d8b943f9: Preparing 16:41:31 62aa97316a5b: Preparing 16:41:31 d65852baa984: Preparing 16:41:31 608d194cb50c: Preparing 16:41:31 acc83c6ca332: Preparing 16:41:31 f0460b8e3a83: Preparing 16:41:31 b09b8c2eff6b: Preparing 16:41:31 b4ba26343944: Preparing 16:41:31 477f6b481634: Preparing 16:41:31 b745d7dc9bcf: Preparing 16:41:31 f4f9df64df5b: Preparing 16:41:31 edf70074bd40: Preparing 16:41:31 b4ba26343944: Waiting 16:41:31 477f6b481634: Waiting 16:41:31 b745d7dc9bcf: Waiting 16:41:31 f4f9df64df5b: Waiting 16:41:31 f0460b8e3a83: Waiting 16:41:31 b09b8c2eff6b: Waiting 16:41:31 edf70074bd40: Waiting 16:41:31 62aa97316a5b: Layer already exists 16:41:31 8f53d8b943f9: Layer already exists 16:41:31 d65852baa984: Layer already exists 16:41:31 acc83c6ca332: Layer already exists 16:41:31 608d194cb50c: Layer already exists 16:41:31 477f6b481634: Layer already exists 16:41:31 b4ba26343944: Layer already exists 16:41:31 f0460b8e3a83: Layer already exists 16:41:31 b745d7dc9bcf: Layer already exists 16:41:31 b09b8c2eff6b: Layer already exists 16:41:31 f4f9df64df5b: Layer already exists 16:41:31 edf70074bd40: Layer already exists 16:41:31 main: digest: sha256:132581c4bb0923bc2f02168d16bd90585689ec90bfbc5d36e2f3ff4f49a7665e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:31 ===================================================== [Pipeline] echo 16:41:31 taggedImages: 16:41:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68 16:41:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:41:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.18 16:41:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:585c9f07999463fee8dbb4bcccab0a75e11d8c68-3.0.0-dev.18 16:41:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:31 16:41:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:32 arm64: Pulling from edgex-lftools-log-publisher 16:41:32 8998bd30e6a1: Pulling fs layer 16:41:32 04944245beec: Pulling fs layer 16:41:32 699f458cf7ca: Pulling fs layer 16:41:32 765212b225bb: Pulling fs layer 16:41:32 f23df028b6ca: Pulling fs layer 16:41:32 d65c8cfc05b1: Pulling fs layer 16:41:32 2437ff75d9bd: Pulling fs layer 16:41:32 765212b225bb: Waiting 16:41:32 f23df028b6ca: Waiting 16:41:32 d65c8cfc05b1: Waiting 16:41:32 04944245beec: Verifying Checksum 16:41:32 04944245beec: Download complete 16:41:32 765212b225bb: Verifying Checksum 16:41:32 765212b225bb: Download complete 16:41:32 f23df028b6ca: Verifying Checksum 16:41:32 f23df028b6ca: Download complete 16:41:32 d65c8cfc05b1: Verifying Checksum 16:41:32 d65c8cfc05b1: Download complete 16:41:32 699f458cf7ca: Verifying Checksum 16:41:32 699f458cf7ca: Download complete 16:41:32 8998bd30e6a1: Verifying Checksum 16:41:32 8998bd30e6a1: Download complete 16:41:35 2437ff75d9bd: Verifying Checksum 16:41:35 2437ff75d9bd: Download complete 16:41:36 8998bd30e6a1: Pull complete 16:41:37 04944245beec: Pull complete 16:41:38 699f458cf7ca: Pull complete 16:41:39 765212b225bb: Pull complete 16:41:39 f23df028b6ca: Pull complete 16:41:40 d65c8cfc05b1: Pull complete 16:41:55 2437ff75d9bd: Pull complete 16:41:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:55 prd-ubuntu20.04-docker-arm64-4c-16g-2482 does not seem to be running inside a container 16:41:55 $ 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/90 -v /w/workspace/device-usb-camera/90:/w/workspace/device-usb-camera/90:rw,z -v /w/workspace/device-usb-camera/90@tmp:/w/workspace/device-usb-camera/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:41:57 $ docker top 4466a2e3440cf3a2879524c0e6705d1dd89fbe7aa2cf19c3520c55db284c089e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:58 ---> job-cost.sh 16:41:58 lf-activate-venv: SKIPPING 16:41:58 INFO: No Stack... 16:41:59 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:59 INFO: Archiving Costs [Pipeline] sh 16:42:00 + cat /w/workspace/device-usb-camera/90/archives/cost.csv 16:42:00 + cut -d, -f6 [Pipeline] lock 16:42:00 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] 16:42:00 Resource [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] did not exist. Created. 16:42:00 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:42:00 /w/workspace/device-usb-camera/90@tmp/durable-8f5fceae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:42:01 + echo total: 0.10999999940395355 [Pipeline] stash 16:42:01 Warning: overwriting stash ‘stack-cost’ 16:42:01 Stashed 1 file(s) [Pipeline] } 16:42:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 16:42:01 $ docker stop --time=1 4466a2e3440cf3a2879524c0e6705d1dd89fbe7aa2cf19c3520c55db284c089e 16:42:02 $ docker rm -f --volumes 4466a2e3440cf3a2879524c0e6705d1dd89fbe7aa2cf19c3520c55db284c089e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:42:03 provisioning config files... 16:42:03 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10394979349393981781tmp [Pipeline] { [Pipeline] sh 16:42:03 + set +x 16:42:03 + curl -s https://codecov.io/bash 16:42:03 + bash -s -- 16:42:03 16:42:03 _____ _ 16:42:03 / ____| | | 16:42:03 | | ___ __| | ___ ___ _____ __ 16:42:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:42:03 | |___| (_) | (_| | __/ (_| (_) \ V / 16:42:03 \_____\___/ \__,_|\___|\___\___/ \_/ 16:42:03 Bash-1.0.6 16:42:03 16:42:03 16:42:03 ==> git version 2.25.1 found 16:42:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:42:03 Release-Date: 2020-01-08 16:42:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:42:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:42:03 ==> Jenkins CI detected. 16:42:03 current dir:  /w/workspace/exfoundry_device-usb-camera_main 16:42:03 project root: . 16:42:03 --> token set from env 16:42:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:42:03 ==> Running gcov in . (disable via -X gcov) 16:42:03 ==> Python coveragepy not found 16:42:03 ==> Searching for coverage reports in: 16:42:03 + . 16:42:03 -> Found 1 reports 16:42:03 ==> Detecting git/mercurial file structure 16:42:03 ==> Reading reports 16:42:03 + ./coverage.out bytes=28352 16:42:03 ==> Appending adjustments 16:42:03 https://docs.codecov.io/docs/fixing-reports 16:42:03 + Found adjustments 16:42:03 ==> Gzipping contents 16:42:03 4.0K /tmp/codecov.iP0DcO.gz 16:42:03 ==> Uploading reports 16:42:03 url: https://codecov.io 16:42:03 query: branch=main&commit=585c9f07999463fee8dbb4bcccab0a75e11d8c68&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:42:03 -> Pinging Codecov 16:42:03 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=585c9f07999463fee8dbb4bcccab0a75e11d8c68&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:42:03 -> Uploading to 16:42:03 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/73D8F5FF140700D3E01443B452E23636/585c9f07999463fee8dbb4bcccab0a75e11d8c68/88e0fa7d-55e8-4684-b6af-15e5108d1936.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T164203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e34426eb06f750e457036f7db6418b30fcad3db5c3d5742cb36f93681fc64ae 16:42:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:42:03 Dload Upload Total Spent Left Speed 16:42:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 15490 --:--:-- --:--:-- --:--:-- 15490 16:42:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] } 16:42:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:42:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:42:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:04 16:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:42:04 df9b9388f04a: Pulling fs layer 16:42:04 52dc419b0ee2: Pulling fs layer 16:42:04 25bc292e5bac: Pulling fs layer 16:42:04 114826534d7a: Pulling fs layer 16:42:04 4657fd5d0bcf: Pulling fs layer 16:42:04 6ad1cebc031e: Pulling fs layer 16:42:04 8a3aa393b2d8: Pulling fs layer 16:42:04 4657fd5d0bcf: Waiting 16:42:04 6ad1cebc031e: Waiting 16:42:04 114826534d7a: Waiting 16:42:04 25bc292e5bac: Verifying Checksum 16:42:04 25bc292e5bac: Download complete 16:42:04 52dc419b0ee2: Download complete 16:42:04 4657fd5d0bcf: Verifying Checksum 16:42:04 4657fd5d0bcf: Download complete 16:42:04 df9b9388f04a: Verifying Checksum 16:42:04 df9b9388f04a: Download complete 16:42:05 df9b9388f04a: Pull complete 16:42:05 6ad1cebc031e: Verifying Checksum 16:42:05 6ad1cebc031e: Download complete 16:42:05 52dc419b0ee2: Pull complete 16:42:05 25bc292e5bac: Pull complete 16:42:05 114826534d7a: Verifying Checksum 16:42:05 114826534d7a: Download complete 16:42:05 8a3aa393b2d8: Verifying Checksum 16:42:05 8a3aa393b2d8: Download complete 16:42:09 114826534d7a: Pull complete 16:42:09 4657fd5d0bcf: Pull complete 16:42:09 6ad1cebc031e: Pull complete 16:42:11 8a3aa393b2d8: Pull complete 16:42:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:42:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:11 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:42:13 $ docker top 7da48f97ba3b39608d9b5b633ce54f91d0cd9fb7e89692e764dc3f46699f3860 -eo pid,comm [Pipeline] { [Pipeline] echo 16:42:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 16:42:13 + set -o pipefail 16:42:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 16:42:18 16:42:18 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 16:42:18 16:42:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/22f9de3a-c281-4a0e-927d-7291ec444815 16:42:18 16:42:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:42:18 16:42:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:42:18 16:42:18 16:42:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:42:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:42:18 More details here: https://snyk.co/ue1NS [Pipeline] } 16:42:18 $ docker stop --time=1 7da48f97ba3b39608d9b5b633ce54f91d0cd9fb7e89692e764dc3f46699f3860 16:42:20 $ docker rm -f --volumes 7da48f97ba3b39608d9b5b633ce54f91d0cd9fb7e89692e764dc3f46699f3860 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:42:20 + git log --format=format:%s -1 585c9f07999463fee8dbb4bcccab0a75e11d8c68 [Pipeline] sh 16:42:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:21 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:42:22 $ docker top 67220d4c6e157ea456a40b4928aa8d8732b64b9db20b04b0fa4aefd34402bbde -eo pid,comm 16:42:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:42:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:22 [ssh-agent] Looking for ssh-agent implementation... 16:42:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:22 $ docker exec 67220d4c6e157ea456a40b4928aa8d8732b64b9db20b04b0fa4aefd34402bbde ssh-agent 16:42:22 SSH_AUTH_SOCK=/tmp/ssh-22DK8ZZ7cH1U/agent.33 16:42:22 SSH_AGENT_PID=40 16:42:22 Running ssh-add (command line suppressed) 16:42:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_247022415230230735.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_247022415230230735.key) 16:42:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:22 + git semver tag 16:42:23 2023-03-16 16:42:22,927 [run_tag] DEBUG tag force:False 16:42:23 2023-03-16 16:42:22,927 [check_head_tag] DEBUG check head tag 16:42:23 2023-03-16 16:42:22,928 [execute] INFO git cat-file --batch-check 16:42:23 2023-03-16 16:42:22,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:42:23 2023-03-16 16:42:22,932 [execute] INFO git cat-file --batch 16:42:23 2023-03-16 16:42:22,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:42:23 2023-03-16 16:42:22,953 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:23 2023-03-16 16:42:22,953 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 16:42:23 2023-03-16 16:42:22,953 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:42:23 2023-03-16 16:42:22,958 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:23 3.0.0-dev.18 [Pipeline] } 16:42:23 $ docker exec --env ******** --env ******** 67220d4c6e157ea456a40b4928aa8d8732b64b9db20b04b0fa4aefd34402bbde ssh-agent -k 16:42:23 unset SSH_AUTH_SOCK; 16:42:23 unset SSH_AGENT_PID; 16:42:23 echo Agent pid 40 killed; 16:42:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:23 + git semver [Pipeline] } 16:42:23 $ docker stop --time=1 67220d4c6e157ea456a40b4928aa8d8732b64b9db20b04b0fa4aefd34402bbde 16:42:25 $ docker rm -f --volumes 67220d4c6e157ea456a40b4928aa8d8732b64b9db20b04b0fa4aefd34402bbde [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:25 16:42:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:25 0.23.1-centos7: Pulling from edgex-lftools 16:42:25 ab5ef0e58194: Pulling fs layer 16:42:25 9712f1f96733: Pulling fs layer 16:42:25 63f879dbbcfc: Pulling fs layer 16:42:25 0d9ebad4ef96: Pulling fs layer 16:42:25 e9a5061849ea: Pulling fs layer 16:42:25 d747dcd14b5f: Pulling fs layer 16:42:25 2de7ff778b66: Pulling fs layer 16:42:25 e9a5061849ea: Waiting 16:42:25 0d9ebad4ef96: Waiting 16:42:25 d747dcd14b5f: Waiting 16:42:25 2de7ff778b66: Waiting 16:42:25 9712f1f96733: Verifying Checksum 16:42:25 9712f1f96733: Download complete 16:42:26 63f879dbbcfc: Verifying Checksum 16:42:26 63f879dbbcfc: Download complete 16:42:26 0d9ebad4ef96: Verifying Checksum 16:42:26 0d9ebad4ef96: Download complete 16:42:26 d747dcd14b5f: Download complete 16:42:26 e9a5061849ea: Verifying Checksum 16:42:26 e9a5061849ea: Download complete 16:42:26 ab5ef0e58194: Verifying Checksum 16:42:26 ab5ef0e58194: Download complete 16:42:26 2de7ff778b66: Verifying Checksum 16:42:26 2de7ff778b66: Download complete 16:42:29 ab5ef0e58194: Pull complete 16:42:29 9712f1f96733: Pull complete 16:42:29 63f879dbbcfc: Pull complete 16:42:32 0d9ebad4ef96: Pull complete 16:42:32 e9a5061849ea: Pull complete 16:42:33 d747dcd14b5f: Pull complete 16:42:34 2de7ff778b66: Pull complete 16:42:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:34 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:42:36 $ docker top f809c85014d102e8501dd342b8eb0244c5319bdcf68bae02cd3d4e7e2b0afc63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:42:36 provisioning config files... 16:42:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8976206386388233633tmp 16:42:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9482995707645157238tmp 16:42:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6386813929867363153tmp [Pipeline] { [Pipeline] echo 16:42:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:42:36 ---> sigul-configuration.sh 16:42:36 gpg: directory `/root/.gnupg' created 16:42:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:42:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:42:36 gpg: keyring `/root/.gnupg/secring.gpg' created 16:42:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:42:36 gpg: CAST5 encrypted data 16:42:36 gpg: encrypted with 1 passphrase 16:42:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:42:36 + mkdir /home/jenkins 16:42:36 + mkdir /home/jenkins/sigul [Pipeline] sh 16:42:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:42:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:42:37 ---> sigul-install.sh 16:42:37 Sigul already installed; skipping installation. [Pipeline] sh 16:42:37 + git tag --list 16:42:37 v0.0.0 16:42:37 v0.0.1-dev.1 16:42:37 v0.0.1-dev.10 16:42:37 v0.0.1-dev.11 16:42:37 v0.0.1-dev.12 16:42:37 v0.0.1-dev.13 16:42:37 v0.0.1-dev.14 16:42:37 v0.0.1-dev.15 16:42:37 v0.0.1-dev.16 16:42:37 v0.0.1-dev.2 16:42:37 v0.0.1-dev.3 16:42:37 v0.0.1-dev.4 16:42:37 v0.0.1-dev.5 16:42:37 v0.0.1-dev.6 16:42:37 v0.0.1-dev.7 16:42:37 v0.0.1-dev.8 16:42:37 v0.0.1-dev.9 16:42:37 v2.2.0 16:42:37 v2.2.0-dev.17 16:42:37 v2.2.0-dev.18 16:42:37 v2.2.0-dev.19 16:42:37 v2.2.0-dev.20 16:42:37 v2.2.0-dev.21 16:42:37 v2.2.0-dev.22 16:42:37 v2.2.0-dev.23 16:42:37 v2.2.0-dev.24 16:42:37 v2.2.0-dev.25 16:42:37 v2.2.0-dev.26 16:42:37 v2.2.0-dev.27 16:42:37 v2.3.0 16:42:37 v2.3.0-dev.1 16:42:37 v2.3.0-dev.10 16:42:37 v2.3.0-dev.11 16:42:37 v2.3.0-dev.12 16:42:37 v2.3.0-dev.13 16:42:37 v2.3.0-dev.14 16:42:37 v2.3.0-dev.15 16:42:37 v2.3.0-dev.16 16:42:37 v2.3.0-dev.17 16:42:37 v2.3.0-dev.18 16:42:37 v2.3.0-dev.19 16:42:37 v2.3.0-dev.2 16:42:37 v2.3.0-dev.20 16:42:37 v2.3.0-dev.21 16:42:37 v2.3.0-dev.22 16:42:37 v2.3.0-dev.23 16:42:37 v2.3.0-dev.24 16:42:37 v2.3.0-dev.25 16:42:37 v2.3.0-dev.26 16:42:37 v2.3.0-dev.27 16:42:37 v2.3.0-dev.28 16:42:37 v2.3.0-dev.3 16:42:37 v2.3.0-dev.4 16:42:37 v2.3.0-dev.5 16:42:37 v2.3.0-dev.6 16:42:37 v2.3.0-dev.7 16:42:37 v2.3.0-dev.8 16:42:37 v2.3.0-dev.9 16:42:37 v3.0.0-dev.1 16:42:37 v3.0.0-dev.10 16:42:37 v3.0.0-dev.11 16:42:37 v3.0.0-dev.12 16:42:37 v3.0.0-dev.13 16:42:37 v3.0.0-dev.14 16:42:37 v3.0.0-dev.15 16:42:37 v3.0.0-dev.16 16:42:37 v3.0.0-dev.17 16:42:37 v3.0.0-dev.18 16:42:37 v3.0.0-dev.2 16:42:37 v3.0.0-dev.3 16:42:37 v3.0.0-dev.4 16:42:37 v3.0.0-dev.5 16:42:37 v3.0.0-dev.6 16:42:37 v3.0.0-dev.7 16:42:37 v3.0.0-dev.8 16:42:37 v3.0.0-dev.9 [Pipeline] sh 16:42:37 + lftools sign git-tag v3.0.0-dev.18 16:42:38 Signing Git tag with Sigul... 16:42:38 Signing v3.0.0-dev.18 [Pipeline] echo 16:42:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:42:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:42:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:42:39 $ docker stop --time=1 f809c85014d102e8501dd342b8eb0244c5319bdcf68bae02cd3d4e7e2b0afc63 16:42:40 $ docker rm -f --volumes f809c85014d102e8501dd342b8eb0244c5319bdcf68bae02cd3d4e7e2b0afc63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:42:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:41 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:42:41 $ docker top 2c722292ecbf9040e40aa7d5aed615f189433f4a701f9ffd4ca541e58936d59b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:41 [ssh-agent] Looking for ssh-agent implementation... 16:42:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:41 $ docker exec 2c722292ecbf9040e40aa7d5aed615f189433f4a701f9ffd4ca541e58936d59b ssh-agent 16:42:41 SSH_AUTH_SOCK=/tmp/ssh-3eHs3YwxAlx2/agent.32 16:42:41 SSH_AGENT_PID=38 16:42:41 Running ssh-add (command line suppressed) 16:42:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6322493976570871400.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6322493976570871400.key) 16:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:42 + git semver bump pre 16:42:42 2023-03-16 16:42:42,429 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:42 2023-03-16 16:42:42,429 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev 16:42:42 2023-03-16 16:42:42,429 [bump_version] DEBUG bumped version:3.0.0-dev.19 16:42:42 2023-03-16 16:42:42,429 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 16:42:42 2023-03-16 16:42:42,429 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:42 2023-03-16 16:42:42,429 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:42 2023-03-16 16:42:42,432 [execute] INFO git cat-file --batch-check 16:42:42 2023-03-16 16:42:42,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:42:42 2023-03-16 16:42:42,436 [execute] INFO git cat-file --batch 16:42:42 2023-03-16 16:42:42,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:42:42 2023-03-16 16:42:42,440 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:42 3.0.0-dev.19 [Pipeline] } 16:42:42 $ docker exec --env ******** --env ******** 2c722292ecbf9040e40aa7d5aed615f189433f4a701f9ffd4ca541e58936d59b ssh-agent -k 16:42:42 unset SSH_AUTH_SOCK; 16:42:42 unset SSH_AGENT_PID; 16:42:42 echo Agent pid 38 killed; 16:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:42 + git semver [Pipeline] } 16:42:43 $ docker stop --time=1 2c722292ecbf9040e40aa7d5aed615f189433f4a701f9ffd4ca541e58936d59b 16:42:44 $ docker rm -f --volumes 2c722292ecbf9040e40aa7d5aed615f189433f4a701f9ffd4ca541e58936d59b [Pipeline] // withDockerContainer [Pipeline] sh 16:42:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:45 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:42:45 $ docker top 39f070ab881fb4d9ed7c23939492c564466ad23557a4ce4e28201d9dff4fe968 -eo pid,comm 16:42:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:42:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:45 [ssh-agent] Looking for ssh-agent implementation... 16:42:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:45 $ docker exec 39f070ab881fb4d9ed7c23939492c564466ad23557a4ce4e28201d9dff4fe968 ssh-agent 16:42:45 SSH_AUTH_SOCK=/tmp/ssh-61mC9f5NTaEB/agent.32 16:42:45 SSH_AGENT_PID=38 16:42:45 Running ssh-add (command line suppressed) 16:42:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14538105559208032986.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14538105559208032986.key) 16:42:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:46 + git semver push 16:42:46 2023-03-16 16:42:46,464 [run_push] DEBUG push 16:42:46 2023-03-16 16:42:46,465 [execute] INFO git cat-file --batch-check 16:42:46 2023-03-16 16:42:46,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:42:46 2023-03-16 16:42:46,469 [execute] INFO git rev-list 6d3a28e8fa48ebbb260a2a317d09db3b7aa9fbcf -- 16:42:46 2023-03-16 16:42:46,470 [execute] DEBUG Popen(['git', 'rev-list', '6d3a28e8fa48ebbb260a2a317d09db3b7aa9fbcf', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:42:46 2023-03-16 16:42:46,478 [execute] INFO git fetch -v origin 16:42:46 2023-03-16 16:42:46,478 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:42:47 2023-03-16 16:42:46,981 [run_push] DEBUG no remote changes detected 16:42:47 2023-03-16 16:42:46,981 [execute] INFO git push origin semver 16:42:47 2023-03-16 16:42:46,982 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:42:48 2023-03-16 16:42:47,741 [run_push] DEBUG push all version tags 16:42:48 2023-03-16 16:42:47,741 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:42:48 2023-03-16 16:42:47,742 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:42:48 2023-03-16 16:42:48,493 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:42:48 3.0.0-dev.19 [Pipeline] } 16:42:48 $ docker exec --env ******** --env ******** 39f070ab881fb4d9ed7c23939492c564466ad23557a4ce4e28201d9dff4fe968 ssh-agent -k 16:42:48 unset SSH_AUTH_SOCK; 16:42:48 unset SSH_AGENT_PID; 16:42:48 echo Agent pid 38 killed; 16:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:49 + git semver [Pipeline] } 16:42:49 $ docker stop --time=1 39f070ab881fb4d9ed7c23939492c564466ad23557a4ce4e28201d9dff4fe968 16:42:50 $ docker rm -f --volumes 39f070ab881fb4d9ed7c23939492c564466ad23557a4ce4e28201d9dff4fe968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:42:51 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 16:42:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:42:51 total 16 16:42:51 drwxr-xr-x 3 root root 4096 Mar 16 16:30 . 16:42:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:42 .. 16:42:51 drwxr-xr-x 2 root root 4096 Mar 16 16:30 cost 16:42:51 -rw-r--r-- 1 root root 88 Mar 16 16:30 cost.csv 16:42:51 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 16:42:51 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:42:51 total 16 16:42:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:30 . 16:42:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:42 .. 16:42:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 16:30 cost 16:42:51 -rw-r--r-- 1 jenkins jenkins 88 Mar 16 16:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:42:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:42:52 ---> package-listing.sh 16:42:52 ++ facter osfamily 16:42:52 ++ tr '[:upper:]' '[:lower:]' 16:42:52 + OS_FAMILY=debian 16:42:52 + workspace=/w/workspace/exfoundry_device-usb-camera_main 16:42:52 + START_PACKAGES=/tmp/packages_start.txt 16:42:52 + END_PACKAGES=/tmp/packages_end.txt 16:42:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:52 + PACKAGES=/tmp/packages_start.txt 16:42:52 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:42:52 + PACKAGES=/tmp/packages_end.txt 16:42:52 + case "${OS_FAMILY}" in 16:42:52 + dpkg -l 16:42:52 + grep '^ii' 16:42:52 + '[' -f /tmp/packages_start.txt ']' 16:42:52 + '[' -f /tmp/packages_end.txt ']' 16:42:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:52 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:42:52 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 16:42:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 16:42:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:42:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:53 prd-ubuntu20.04-docker-8c-8g-2479 does not seem to be running inside a container 16:42:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:42:53 $ docker top 15aeb6df67de2fec3221939950b10f4dad9ecc6f8b4b075d1c8707cf184a9b9f -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:54 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:54 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:54 + ls /var/log/sa-host 16:42:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:54 provisioning config files... 16:42:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7240837383758330100tmp [Pipeline] { [Pipeline] echo 16:42:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:55 ---> create-netrc.sh [Pipeline] } 16:42:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:55 ---> python-tools-install.sh [Pipeline] echo 16:42:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:55 ---> sudo-logs.sh 16:42:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:56 ---> job-cost.sh 16:42:56 lf-activate-venv: SKIPPING 16:42:56 DEBUG: total: 0.2199999988079071 16:42:56 INFO: Retrieving Stack Cost... 16:42:56 INFO: Retrieving Pricing Info for: v3-standard-8 16:42:56 INFO: Archiving Costs [Pipeline] echo 16:42:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:42:57 ---> logs-deploy.sh 16:42:57 lf-activate-venv: SKIPPING 16:42:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/90 16:42:57 INFO: archiving workspace using pattern(s): 16:42:58 Archives upload complete. 16:42:58 INFO: archiving logs to Nexus