Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4dc3cb9544d3c22b48762096c31369c64ea3d88 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-ssh9241634059340500725.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh8621409009192054672.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14847667920129692039.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15034715473886824648.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-ssh14194766950517439424.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 ‘prd-centos7-blackbox-4c-2g-3401’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-3589’ is offline ‘prd-ubuntu20.04-docker-8c-8g-3590’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3591 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 b4dc3cb9544d3c22b48762096c31369c64ea3d88 (main) Commit message: "refactor: use PatchDevice calls instead of UpdateDevice (#267)" > 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 b4dc3cb9544d3c22b48762096c31369c64ea3d88 # timeout=10 > git rev-list --no-walk 040a5a62acea184fdd41387d4dec6344494c5d71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:07:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:07:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:07:05 ========================================================= 00:07:05 EdgeX Global Pipelines Version Info 00:07:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:07:06 ------------------- 00:07:06 stable info: 00:07:06 ------------------- 00:07:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:07:06 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:07:06 Message: update stable to v1.0.253 00:07:06 ------------------- 00:07:06 experimental info: 00:07:06 ------------------- 00:07:06 Commited By: **** collab-it+edgex@linuxfoundation.org 00:07:06 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:07:06 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:07:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4dc3cb [Pipeline] echo 00:07:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:07 provisioning config files... 00:07:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9120281592285061840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:07 ---> docker-login.sh 00:07:07 nexus3.edgexfoundry.org:10001 00:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:07 Configure a credential helper to remove this warning. See 00:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:07 00:07:07 Login Succeeded 00:07:07 nexus3.edgexfoundry.org:10002 00:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:07 Configure a credential helper to remove this warning. See 00:07:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:07 00:07:07 Login Succeeded 00:07:07 nexus3.edgexfoundry.org:10003 00:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:08 Configure a credential helper to remove this warning. See 00:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:08 00:07:08 Login Succeeded 00:07:08 nexus3.edgexfoundry.org:10004 00:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:08 Configure a credential helper to remove this warning. See 00:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:08 00:07:08 Login Succeeded 00:07:08 docker.io 00:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:08 Configure a credential helper to remove this warning. See 00:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:08 00:07:08 Login Succeeded 00:07:08 ---> docker-login.sh ends [Pipeline] } 00:07:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:07:08 + git rev-list -1 --merges b4dc3cb9544d3c22b48762096c31369c64ea3d88~1..b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] echo 00:07:08 -----------> git rev-list -1 --merges b4dc3cb9544d3c22b48762096c31369c64ea3d88~1..b4dc3cb9544d3c22b48762096c31369c64ea3d88 b4dc3cb9544d3c22b48762096c31369c64ea3d88 [false] [Pipeline] sh 00:07:09 + git log --format=format:%s -1 b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] echo 00:07:09 ========================================================= 00:07:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:07:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:09 + git log --format=format:%s -1 b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] echo 00:07:09 [semverPrep] GIT_COMMIT: b4dc3cb9544d3c22b48762096c31369c64ea3d88, Commit Message: refactor: use PatchDevice calls instead of UpdateDevice (#267) [Pipeline] echo 00:07:09 [semverPrep] This is not a build commit. [Pipeline] sh 00:07:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:09 + grep -v github /etc/ssh/ssh_known_hosts 00:07:09 + [ -e /tmp/ssh_known_hosts ] 00:07:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:07:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:07:09 + sudo tee -a /etc/ssh/ssh_known_hosts 00:07:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:10 00:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:10 0.1.4: Pulling from edgex-devops/py-git-semver 00:07:10 b85a868b505f: Pulling fs layer 00:07:10 e2be974225ed: Pulling fs layer 00:07:10 339a4e72a1f5: Pulling fs layer 00:07:10 988bab9f4d93: Pulling fs layer 00:07:10 1469e6f7b9e6: Pulling fs layer 00:07:10 eaf3925da568: Pulling fs layer 00:07:10 bab4dde63d76: Pulling fs layer 00:07:10 bde34c3a00c8: Pulling fs layer 00:07:10 b352a97aabf1: Pulling fs layer 00:07:10 4872d77fe225: Pulling fs layer 00:07:10 5851b861e8e6: Pulling fs layer 00:07:10 bab4dde63d76: Waiting 00:07:10 bde34c3a00c8: Waiting 00:07:10 b352a97aabf1: Waiting 00:07:10 4872d77fe225: Waiting 00:07:10 eaf3925da568: Waiting 00:07:10 988bab9f4d93: Waiting 00:07:10 1469e6f7b9e6: Waiting 00:07:10 e2be974225ed: Download complete 00:07:10 988bab9f4d93: Verifying Checksum 00:07:10 988bab9f4d93: Download complete 00:07:10 1469e6f7b9e6: Verifying Checksum 00:07:10 1469e6f7b9e6: Download complete 00:07:10 eaf3925da568: Download complete 00:07:10 339a4e72a1f5: Verifying Checksum 00:07:10 339a4e72a1f5: Download complete 00:07:10 bde34c3a00c8: Verifying Checksum 00:07:10 bde34c3a00c8: Download complete 00:07:10 b352a97aabf1: Verifying Checksum 00:07:10 b352a97aabf1: Download complete 00:07:10 4872d77fe225: Verifying Checksum 00:07:10 b85a868b505f: Verifying Checksum 00:07:10 b85a868b505f: Download complete 00:07:11 bab4dde63d76: Verifying Checksum 00:07:11 bab4dde63d76: Download complete 00:07:12 b85a868b505f: Pull complete 00:07:12 e2be974225ed: Pull complete 00:07:12 339a4e72a1f5: Pull complete 00:07:12 988bab9f4d93: Pull complete 00:07:13 1469e6f7b9e6: Pull complete 00:07:13 eaf3925da568: Pull complete 00:07:15 bab4dde63d76: Pull complete 00:07:15 bde34c3a00c8: Pull complete 00:07:15 b352a97aabf1: Pull complete 00:07:15 4872d77fe225: Pull complete 00:07:15 5851b861e8e6: Pull complete 00:07:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:15 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:07:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:17 $ docker top 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba -eo pid,comm 00:07:17 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). 00:07:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:17 [ssh-agent] Looking for ssh-agent implementation... 00:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:17 $ docker exec 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba ssh-agent 00:07:18 SSH_AUTH_SOCK=/tmp/ssh-S3sXEz45Ikk4/agent.31 00:07:18 SSH_AGENT_PID=37 00:07:18 Running ssh-add (command line suppressed) 00:07:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12612770922768471988.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12612770922768471988.key) 00:07:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:18 + git tag --points-at HEAD [Pipeline] } 00:07:18 $ docker exec --env ******** --env ******** 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba ssh-agent -k 00:07:18 unset SSH_AUTH_SOCK; 00:07:18 unset SSH_AGENT_PID; 00:07:18 echo Agent pid 37 killed; 00:07:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:07:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:18 [ssh-agent] Looking for ssh-agent implementation... 00:07:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:18 $ docker exec 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba ssh-agent 00:07:18 SSH_AUTH_SOCK=/tmp/ssh-Ivai0fokJlu9/agent.69 00:07:18 SSH_AGENT_PID=75 00:07:18 Running ssh-add (command line suppressed) 00:07:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1256082610763848043.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1256082610763848043.key) 00:07:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:19 + git semver init 00:07:19 2023-08-15 00:07:19,381 [run_init] DEBUG init version:0.0.0 force:False 00:07:19 2023-08-15 00:07:19,382 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:07:19 2023-08-15 00:07:19,382 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:07:19 2023-08-15 00:07:19,383 [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) 00:07:20 2023-08-15 00:07:20,086 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:07:20 2023-08-15 00:07:20,087 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:07:20 2023-08-15 00:07:20,087 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:20 2023-08-15 00:07:20,087 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:07:20 3.1.0-dev.5 [Pipeline] } 00:07:20 $ docker exec --env ******** --env ******** 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba ssh-agent -k 00:07:20 unset SSH_AUTH_SOCK; 00:07:20 unset SSH_AGENT_PID; 00:07:20 echo Agent pid 75 killed; 00:07:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:20 + git semver [Pipeline] } 00:07:21 $ docker stop --time=1 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba 00:07:22 $ docker rm -f --volumes 5efe26613184ac5b24259325b5deb4d828467071f4f45865889682d249d786ba [Pipeline] // withDockerContainer [Pipeline] sh 00:07:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:07:22 Stashed 1 file(s) [Pipeline] echo 00:07:22 [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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 00:07:23 provisioning config files... 00:07:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17577657494692423929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:23 ---> docker-login.sh 00:07:23 nexus3.edgexfoundry.org:10001 00:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:23 Configure a credential helper to remove this warning. See 00:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:23 00:07:23 Login Succeeded 00:07:23 nexus3.edgexfoundry.org:10002 00:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:23 Configure a credential helper to remove this warning. See 00:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:23 00:07:23 Login Succeeded 00:07:23 nexus3.edgexfoundry.org:10003 00:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:23 Configure a credential helper to remove this warning. See 00:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:23 00:07:23 Login Succeeded 00:07:23 nexus3.edgexfoundry.org:10004 00:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:23 Configure a credential helper to remove this warning. See 00:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:23 00:07:23 Login Succeeded 00:07:23 docker.io 00:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:23 Configure a credential helper to remove this warning. See 00:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:23 00:07:23 Login Succeeded 00:07:23 ---> docker-login.sh ends [Pipeline] } 00:07:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:23 ========================================================= 00:07:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:07:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:24 + 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 . 00:07:24 Sending build context to Docker daemon 1.998MB 00:07:24 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:07:24 Step 2/13 : FROM ${BASE} AS builder 00:07:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:07:24 4db1b89c0bd1: Pulling fs layer 00:07:24 6911f1a30b25: Pulling fs layer 00:07:24 e194b8c5c2a9: Pulling fs layer 00:07:24 6863d3e3a2b1: Pulling fs layer 00:07:24 ec0bb842ea78: Pulling fs layer 00:07:24 40a00589a448: Pulling fs layer 00:07:24 6c08303d61cc: Pulling fs layer 00:07:24 798269fcf238: Pulling fs layer 00:07:24 ec0bb842ea78: Waiting 00:07:24 798269fcf238: Waiting 00:07:24 40a00589a448: Waiting 00:07:24 6c08303d61cc: Waiting 00:07:24 6863d3e3a2b1: Waiting 00:07:24 6911f1a30b25: Verifying Checksum 00:07:24 6911f1a30b25: Download complete 00:07:24 6863d3e3a2b1: Download complete 00:07:24 ec0bb842ea78: Verifying Checksum 00:07:24 ec0bb842ea78: Download complete 00:07:24 4db1b89c0bd1: Verifying Checksum 00:07:24 4db1b89c0bd1: Download complete 00:07:24 40a00589a448: Verifying Checksum 00:07:24 40a00589a448: Download complete 00:07:24 4db1b89c0bd1: Pull complete 00:07:24 6911f1a30b25: Pull complete 00:07:25 798269fcf238: Download complete 00:07:25 e194b8c5c2a9: Verifying Checksum 00:07:25 e194b8c5c2a9: Download complete 00:07:25 6c08303d61cc: Verifying Checksum 00:07:28 e194b8c5c2a9: Pull complete 00:07:28 6863d3e3a2b1: Pull complete 00:07:28 ec0bb842ea78: Pull complete 00:07:28 40a00589a448: Pull complete 00:07:31 6c08303d61cc: Pull complete 00:07:31 798269fcf238: Pull complete 00:07:31 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:07:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:07:31 ---> ec979cd7f677 00:07:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:07:37 ---> Running in 18ca1f0807aa 00:07:37 Removing intermediate container 18ca1f0807aa 00:07:37 ---> 758754170a28 00:07:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:07:37 ---> Running in 9954710ea57c 00:07:37 Removing intermediate container 9954710ea57c 00:07:37 ---> e9e0a4165a79 00:07:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:07:37 ---> Running in c485a014db87 00:07:37 Removing intermediate container c485a014db87 00:07:37 ---> 073775a07fce 00:07:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:07:37 ---> Running in eb80e7c2645a 00:07:37 Removing intermediate container eb80e7c2645a 00:07:37 ---> 65068b87aac8 00:07:37 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:37 ---> Running in d8fd581835a6 00:07:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:07:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:07:37 (1/14) Installing libintl (0.21.1-r1) 00:07:37 (2/14) Installing eudev-libs (3.2.11-r4) 00:07:37 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:07:37 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:07:37 (5/14) Installing v4l-utils (1.22.1-r2) 00:07:37 (6/14) Installing udev-init-scripts (35-r1) 00:07:37 (7/14) Installing libblkid (2.38.1-r1) 00:07:37 (8/14) Installing xz-libs (5.2.9-r0) 00:07:37 (9/14) Installing zstd-libs (1.5.5-r0) 00:07:37 (10/14) Installing kmod-libs (30-r1) 00:07:37 (11/14) Installing eudev (3.2.11-r4) 00:07:37 (12/14) Installing eudev-dev (3.2.11-r4) 00:07:37 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:07:37 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:07:37 Executing busybox-1.35.0-r29.trigger 00:07:37 Executing eudev-3.2.11-r4.trigger 00:07:37 OK: 272 MiB in 67 packages 00:07:38 Still waiting to schedule task 00:07:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3587’ 00:07:38 Removing intermediate container d8fd581835a6 00:07:38 ---> 4bb319fb36ba 00:07:38 Step 8/13 : WORKDIR /device-usb-camera 00:07:38 ---> Running in 3d9bdfea46c1 00:07:38 Removing intermediate container 3d9bdfea46c1 00:07:38 ---> 23dbce51635f 00:07:38 Step 9/13 : COPY go.mod vendor* ./ 00:07:38 ---> 2d5067aed7a0 00:07:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:38 ---> Running in f692f6cd4931 00:08:17 Removing intermediate container f692f6cd4931 00:08:17 ---> 439c8cc1daa5 00:08:17 Step 11/13 : COPY . . 00:08:17 ---> 257540ee1f01 00:08:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:08:17 ---> Running in 4abc87a8a49f 00:08:17  % Total % Received % Xferd Average Speed Time Time Time Current 00:08:17 Dload Upload Total Spent Left Speed 00:08:17 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21285 0 --:--:-- --:--:-- --:--:-- 21673 00:08:17 Removing intermediate container 4abc87a8a49f 00:08:17 ---> d019e9f847ec 00:08:17 Step 13/13 : RUN ${MAKE} 00:08:17 ---> Running in 62b1183da2fe 00:08:17 noop 00:08:17 Removing intermediate container 62b1183da2fe 00:08:17 ---> 8c92bc4ef617 00:08:17 Successfully built 8c92bc4ef617 00:08:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:17 + docker inspect -f . ci-base-image-x86_64 00:08:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:17 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:08:17 $ 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 00:08:18 $ docker top 436fc0bad8f843fb1ba49fa3640c63ce4453f68286b2ae05be0045979d8cbb42 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:18 + go version 00:08:18 go version go1.20.6 linux/amd64 [Pipeline] } 00:08:18 $ docker stop --time=1 436fc0bad8f843fb1ba49fa3640c63ce4453f68286b2ae05be0045979d8cbb42 00:08:19 $ docker rm -f --volumes 436fc0bad8f843fb1ba49fa3640c63ce4453f68286b2ae05be0045979d8cbb42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:20 + docker inspect -f . ci-base-image-x86_64 00:08:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:20 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:08:20 $ 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 00:08:20 $ docker top 7c9e82196863da3edff5622c7765b6a136291a974b152624238397ef5c6b744c -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:20 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:08:21 + make test 00:08:21 go test ./... -coverprofile=coverage.out ./... 00:08:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:08:35 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:08:35 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 5.2% of statements 00:08:41 go vet ./... 00:08:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:08:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:08:45 ./bin/test-attribution-txt.sh [Pipeline] echo 00:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:08:45 $ docker stop --time=1 7c9e82196863da3edff5622c7765b6a136291a974b152624238397ef5c6b744c 00:08:48 $ docker rm -f --volumes 7c9e82196863da3edff5622c7765b6a136291a974b152624238397ef5c6b744c [Pipeline] // withDockerContainer [Pipeline] sh 00:08:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:08:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:08:49 + ls -al . 00:08:49 total 204 00:08:49 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 00:08 . 00:08:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 00:07 .. 00:08:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 00:07 .git 00:08:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:07 .github 00:08:49 -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 00:07 .gitignore 00:08:49 -rw-rw-r-- 1 jenkins jenkins 45 Aug 15 00:07 .golangci.yml 00:08:49 -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 00:07 .hadolint.yml 00:08:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 00:07 .semver 00:08:49 -rw-rw-r-- 1 jenkins jenkins 9783 Aug 15 00:07 Attribution.txt 00:08:49 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 15 00:07 CHANGELOG.md 00:08:49 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 15 00:07 Dockerfile 00:08:49 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 00:07 GOVERNANCE.md 00:08:49 -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 00:07 Jenkinsfile 00:08:49 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 00:07 LICENSE 00:08:49 -rw-rw-r-- 1 jenkins jenkins 2364 Aug 15 00:07 Makefile 00:08:49 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 00:07 OWNERS.md 00:08:49 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 15 00:07 README.md 00:08:49 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 00:07 VERSION 00:08:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 00:07 bin 00:08:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:07 cmd 00:08:49 -rw-r--r-- 1 jenkins jenkins 44795 Aug 15 00:08 coverage.out 00:08:49 -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 00:07 docker-entrypoint.sh 00:08:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 00:07 docs 00:08:49 -rw-rw-r-- 1 jenkins jenkins 3416 Aug 15 00:07 go.mod 00:08:49 -rw-rw-r-- 1 jenkins jenkins 31482 Aug 15 00:07 go.sum 00:08:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:07 internal 00:08:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 00:07 snap 00:08:49 -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 00:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:49 + 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=b4dc3cb9544d3c22b48762096c31369c64ea3d88 --label arch=amd64 --label version=3.1.0-dev.5 . 00:08:49 Sending build context to Docker daemon 2.043MB 00:08:49 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:08:49 Step 2/36 : FROM ${BASE} AS builder 00:08:49 ---> 8c92bc4ef617 00:08:49 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:08:49 ---> Running in 6bdd63049a7e 00:08:50 Removing intermediate container 6bdd63049a7e 00:08:50 ---> 56fb95bd1740 00:08:50 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:08:50 ---> Running in 6b75b3ea3fbc 00:08:50 Removing intermediate container 6b75b3ea3fbc 00:08:50 ---> acd757b87975 00:08:50 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:08:50 ---> Running in e0a3cc9e07df 00:08:50 Removing intermediate container e0a3cc9e07df 00:08:50 ---> 3b7461b8e3a3 00:08:50 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:08:50 ---> Running in f031c68995b1 00:08:50 Removing intermediate container f031c68995b1 00:08:50 ---> 9ce41ef724c8 00:08:50 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:08:50 ---> Running in 7fd4854ed2e2 00:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:08:51 OK: 272 MiB in 67 packages 00:08:51 Removing intermediate container 7fd4854ed2e2 00:08:51 ---> 631172b50e36 00:08:51 Step 8/36 : WORKDIR /device-usb-camera 00:08:51 ---> Running in 4785d1a01044 00:08:51 Removing intermediate container 4785d1a01044 00:08:51 ---> 4c30f2d41e90 00:08:51 Step 9/36 : COPY go.mod vendor* ./ 00:08:51 ---> 297df698d9c8 00:08:51 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:08:51 ---> Running in 1a7a76ef3995 00:08:52 Removing intermediate container 1a7a76ef3995 00:08:52 ---> cce17afca6e2 00:08:52 Step 11/36 : COPY . . 00:08:52 ---> 354b600c9f4f 00:08:52 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:08:52 ---> Running in 21c65e7529b0 00:08:52  % Total % Received % Xferd Average Speed Time Time Time Current 00:08:52 Dload Upload Total Spent Left Speed 00:08:52  0 0 0 0  0 0   0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 20900 0 --:--:-- --:--:-- --:--:-- 21240 00:08:53 Removing intermediate container 21c65e7529b0 00:08:53 ---> 254c7255a98f 00:08:53 Step 13/36 : RUN ${MAKE} 00:08:53 ---> Running in bda58ae38522 00:08:53 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:09:20 Removing intermediate container bda58ae38522 00:09:20 ---> c8dbf1f64c61 00:09:20 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:09:20 v0.21.6: Pulling from aler9/rtsp-simple-server 00:09:20 4acc49c71d14: Pulling fs layer 00:09:20 4acc49c71d14: Verifying Checksum 00:09:20 4acc49c71d14: Download complete 00:09:20 4acc49c71d14: Pull complete 00:09:20 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:09:20 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:09:20 ---> 01a2bd3e5fff 00:09:20 Step 15/36 : FROM alpine:3.17 00:09:20 3.17: Pulling from library/alpine 00:09:20 9398808236ff: Pulling fs layer 00:09:20 9398808236ff: Download complete 00:09:20 9398808236ff: Pull complete 00:09:20 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 00:09:20 Status: Downloaded newer image for alpine:3.17 00:09:20 ---> 1e0b8b5322fc 00:09:20 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:09:20 ---> Running in 5029503019cf 00:09:20 Removing intermediate container 5029503019cf 00:09:20 ---> 6e560ee221f5 00:09:20 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:09:20 ---> Running in f501e0b54afe 00:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:09:20 (1/86) Installing dumb-init (1.2.5-r2) 00:09:20 (2/86) Installing sdl2 (2.26.5-r0) 00:09:20 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:09:20 (4/86) Installing libxau (1.0.10-r0) 00:09:20 (5/86) Installing libmd (1.0.4-r0) 00:09:20 (6/86) Installing libbsd (0.11.7-r0) 00:09:20 (7/86) Installing libxdmcp (1.1.4-r0) 00:09:20 (8/86) Installing libxcb (1.15-r0) 00:09:20 (9/86) Installing libx11 (1.8.4-r1) 00:09:20 (10/86) Installing aom-libs (3.5.0-r0) 00:09:20 (11/86) Installing alsa-lib (1.2.8-r0) 00:09:20 (12/86) Installing libexpat (2.5.0-r0) 00:09:20 (13/86) Installing brotli-libs (1.0.9-r9) 00:09:20 (14/86) Installing libbz2 (1.0.8-r4) 00:09:20 (15/86) Installing libpng (1.6.39-r0) 00:09:20 (16/86) Installing freetype (2.12.1-r0) 00:09:20 (17/86) Installing fontconfig (2.14.1-r0) 00:09:20 (18/86) Installing fribidi (1.0.12-r0) 00:09:20 (19/86) Installing libffi (3.4.4-r0) 00:09:20 (20/86) Installing libintl (0.21.1-r1) 00:09:20 (21/86) Installing libblkid (2.38.1-r1) 00:09:20 (22/86) Installing libmount (2.38.1-r1) 00:09:20 (23/86) Installing pcre2 (10.42-r0) 00:09:20 (24/86) Installing glib (2.74.7-r0) 00:09:20 (25/86) Installing graphite2 (1.3.14-r2) 00:09:20 (26/86) Installing harfbuzz (5.3.1-r1) 00:09:20 (27/86) Installing libass (0.16.0-r1) 00:09:20 (28/86) Installing libdav1d (1.0.0-r2) 00:09:20 (29/86) Installing hwdata-pci (0.364-r0) 00:09:20 (30/86) Installing libpciaccess (0.17-r0) 00:09:20 (31/86) Installing libdrm (2.4.114-r0) 00:09:20 (32/86) Installing gmp (6.2.1-r2) 00:09:20 (33/86) Installing nettle (3.8.1-r0) 00:09:20 (34/86) Installing p11-kit (0.24.1-r1) 00:09:20 (35/86) Installing libtasn1 (4.19.0-r0) 00:09:20 (36/86) Installing libunistring (1.1-r0) 00:09:20 (37/86) Installing gnutls (3.7.8-r3) 00:09:20 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:09:20 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 00:09:20 (40/86) Installing lame (3.100-r2) 00:09:20 (41/86) Installing opus (1.3.1-r1) 00:09:20 (42/86) Installing libasyncns (0.8-r1) 00:09:20 (43/86) Installing dbus-libs (1.14.8-r0) 00:09:20 (44/86) Installing libltdl (2.4.7-r1) 00:09:20 (45/86) Installing orc (0.4.33-r0) 00:09:20 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:09:20 (47/86) Installing libogg (1.3.5-r2) 00:09:20 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:09:20 (49/86) Installing flac-libs (1.4.2-r0) 00:09:20 (50/86) Installing libvorbis (1.3.7-r0) 00:09:20 (51/86) Installing libsndfile (1.1.0-r2) 00:09:20 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:09:20 (53/86) Installing soxr (0.1.3-r3) 00:09:20 (54/86) Installing speexdsp (1.2.1-r0) 00:09:20 (55/86) Installing tdb-libs (1.4.6-r0) 00:09:20 (56/86) Installing libpulse (16.1-r6) 00:09:20 (57/86) Installing cjson (1.7.15-r3) 00:09:20 (58/86) Installing mbedtls (2.28.4-r0) 00:09:20 (59/86) Installing librist (0.2.7-r0) 00:09:20 (60/86) Installing libsrt (1.5.1-r0) 00:09:20 (61/86) Installing libssh (0.10.5-r0) 00:09:20 (62/86) Installing libtheora (1.1.1-r16) 00:09:20 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:09:20 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:09:20 (65/86) Installing libxext (1.3.5-r0) 00:09:20 (66/86) Installing libxfixes (6.0.0-r0) 00:09:21 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:09:21 (68/86) Installing libva (2.16.0-r0) 00:09:21 (69/86) Installing libvdpau (1.5-r0) 00:09:21 (70/86) Installing vidstab (1.1.0-r2) 00:09:21 (71/86) Installing libvpx (1.12.0-r1) 00:09:21 (72/86) Installing libwebp (1.2.4-r2) 00:09:21 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:09:21 (74/86) Installing numactl (2.0.16-r1) 00:09:21 (75/86) Installing x265-libs (3.5-r3) 00:09:21 (76/86) Installing xvidcore (1.3.7-r1) 00:09:21 (77/86) Installing libsodium (1.0.18-r2) 00:09:21 (78/86) Installing libzmq (4.3.4-r1) 00:09:21 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:09:21 (80/86) Installing ffmpeg (5.1.3-r0) 00:09:21 (81/86) Installing udev-init-scripts (35-r1) 00:09:21 (82/86) Installing eudev-libs (3.2.11-r4) 00:09:21 (83/86) Installing xz-libs (5.2.9-r0) 00:09:21 (84/86) Installing zstd-libs (1.5.5-r0) 00:09:21 (85/86) Installing kmod-libs (30-r1) 00:09:21 (86/86) Installing eudev (3.2.11-r4) 00:09:21 Executing busybox-1.35.0-r29.trigger 00:09:21 Executing eudev-3.2.11-r4.trigger 00:09:21 OK: 112 MiB in 101 packages 00:09:24 Removing intermediate container f501e0b54afe 00:09:24 ---> dd140d88d117 00:09:24 Step 18/36 : WORKDIR / 00:09:24 ---> Running in b0aefb555661 00:09:24 Removing intermediate container b0aefb555661 00:09:24 ---> 6c7433cc65c1 00:09:24 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:09:25 ---> 02615531ea12 00:09:25 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:09:25 ---> 57f00db09e3f 00:09:25 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:09:25 ---> d3433a7c40fb 00:09:25 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:09:25 ---> 056c83ab2cd9 00:09:25 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:09:26 ---> 34cf25cd2257 00:09:26 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:09:26 ---> 7bdda82da827 00:09:26 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:09:27 ---> a38ba9888287 00:09:27 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:09:27 ---> Running in 1fccd6a6b403 00:09:27 Removing intermediate container 1fccd6a6b403 00:09:27 ---> 2a6613d620a7 00:09:27 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:09:27 ---> Running in 6e8c56c8ba7d 00:09:28 Removing intermediate container 6e8c56c8ba7d 00:09:28 ---> 5dd9bb1ec1fc 00:09:28 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:09:28 ---> Running in de00528ab82c 00:09:28 Removing intermediate container de00528ab82c 00:09:28 ---> 5b68d69c2cb1 00:09:28 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:09:28 ---> Running in 48d5992e101f 00:09:29 Removing intermediate container 48d5992e101f 00:09:29 ---> 23f8c9316d47 00:09:29 Step 30/36 : EXPOSE 59983 00:09:29 ---> Running in 638b29ad134f 00:09:29 Removing intermediate container 638b29ad134f 00:09:29 ---> 5945ffa34010 00:09:29 Step 31/36 : EXPOSE 8554 00:09:29 ---> Running in 2fa1cbe45675 00:09:29 Removing intermediate container 2fa1cbe45675 00:09:29 ---> 97fb3065e8ef 00:09:29 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:09:29 ---> Running in 89b9dfaf1fdc 00:09:29 Removing intermediate container 89b9dfaf1fdc 00:09:29 ---> efc449db1420 00:09:29 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:09:29 ---> Running in 9b495cffb16a 00:09:30 Removing intermediate container 9b495cffb16a 00:09:30 ---> b7927f902c4e 00:09:30 Step 34/36 : LABEL arch=amd64 00:09:30 ---> Running in 9f8cdda146fa 00:09:30 Removing intermediate container 9f8cdda146fa 00:09:30 ---> 69782c29f37c 00:09:30 Step 35/36 : LABEL git_sha=b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:09:30 ---> Running in e0335fb75ffc 00:09:30 Removing intermediate container e0335fb75ffc 00:09:30 ---> 6cfc9dc3ab28 00:09:30 Step 36/36 : LABEL version=3.1.0-dev.5 00:09:30 ---> Running in 638c49126657 00:09:30 Removing intermediate container 638c49126657 00:09:30 ---> a8b5894a059f 00:09:30 [Warning] One or more build-args [ARCH] were not consumed 00:09:30 Successfully built a8b5894a059f 00:09:30 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 00:09:30 provisioning config files... 00:09:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11126776091172954398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:30 ---> docker-login.sh 00:09:30 nexus3.edgexfoundry.org:10001 00:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:30 Configure a credential helper to remove this warning. See 00:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:30 00:09:30 Login Succeeded 00:09:30 nexus3.edgexfoundry.org:10002 00:09:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:30 Configure a credential helper to remove this warning. See 00:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:30 00:09:30 Login Succeeded 00:09:30 nexus3.edgexfoundry.org:10003 00:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:31 Configure a credential helper to remove this warning. See 00:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:31 00:09:31 Login Succeeded 00:09:31 nexus3.edgexfoundry.org:10004 00:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:31 Configure a credential helper to remove this warning. See 00:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:31 00:09:31 Login Succeeded 00:09:31 docker.io 00:09:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:31 Configure a credential helper to remove this warning. See 00:09:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:31 00:09:31 Login Succeeded 00:09:31 ---> docker-login.sh ends [Pipeline] } 00:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:31 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:09:31 b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:09:31 latest 00:09:31 3.1.0-dev.5 00:09:31 b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:09:31 main 00:09:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:31 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:31 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:09:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:09:31 b0569c7a4db4: Preparing 00:09:31 8eb32a75b776: Preparing 00:09:31 8d68be68a7f0: Preparing 00:09:31 8b87f488b39d: Preparing 00:09:31 3827b5b91e75: Preparing 00:09:31 acc83c6ca332: Preparing 00:09:31 18f990cf0f8a: Preparing 00:09:31 5865567b5ef6: Preparing 00:09:31 56e7d9af5e4d: Preparing 00:09:31 56995dc640d5: Preparing 00:09:31 f98904aeee22: Preparing 00:09:31 2ef5de7cce89: Preparing 00:09:31 36b50b131297: Preparing 00:09:31 18f990cf0f8a: Waiting 00:09:31 5865567b5ef6: Waiting 00:09:31 56e7d9af5e4d: Waiting 00:09:31 56995dc640d5: Waiting 00:09:31 f98904aeee22: Waiting 00:09:31 2ef5de7cce89: Waiting 00:09:31 36b50b131297: Waiting 00:09:31 acc83c6ca332: Waiting 00:09:31 b0569c7a4db4: Pushed 00:09:31 8d68be68a7f0: Pushed 00:09:31 8b87f488b39d: Pushed 00:09:31 8eb32a75b776: Pushed 00:09:32 acc83c6ca332: Pushed 00:09:32 18f990cf0f8a: Pushed 00:09:32 5865567b5ef6: Pushed 00:09:32 56e7d9af5e4d: Pushed 00:09:32 36b50b131297: Layer already exists 00:09:32 56995dc640d5: Pushed 00:09:34 3827b5b91e75: Pushed 00:09:34 f98904aeee22: Pushed 00:09:41 2ef5de7cce89: Pushed 00:09:41 b4dc3cb9544d3c22b48762096c31369c64ea3d88: digest: sha256:dca5d81f6483eb660ab280b07b7677ee9310e1bc6f13ba7fc01f9781530d2c2b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:42 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:42 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:09:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:09:42 b0569c7a4db4: Preparing 00:09:42 8eb32a75b776: Preparing 00:09:42 8d68be68a7f0: Preparing 00:09:42 8b87f488b39d: Preparing 00:09:42 3827b5b91e75: Preparing 00:09:42 acc83c6ca332: Preparing 00:09:42 18f990cf0f8a: Preparing 00:09:42 5865567b5ef6: Preparing 00:09:42 56e7d9af5e4d: Preparing 00:09:42 56995dc640d5: Preparing 00:09:42 f98904aeee22: Preparing 00:09:42 2ef5de7cce89: Preparing 00:09:42 36b50b131297: Preparing 00:09:42 56e7d9af5e4d: Waiting 00:09:42 56995dc640d5: Waiting 00:09:42 f98904aeee22: Waiting 00:09:42 acc83c6ca332: Waiting 00:09:42 2ef5de7cce89: Waiting 00:09:42 18f990cf0f8a: Waiting 00:09:42 8d68be68a7f0: Layer already exists 00:09:42 8b87f488b39d: Layer already exists 00:09:42 3827b5b91e75: Layer already exists 00:09:42 b0569c7a4db4: Layer already exists 00:09:42 8eb32a75b776: Layer already exists 00:09:42 acc83c6ca332: Layer already exists 00:09:42 5865567b5ef6: Layer already exists 00:09:42 18f990cf0f8a: Layer already exists 00:09:42 56995dc640d5: Layer already exists 00:09:42 f98904aeee22: Layer already exists 00:09:42 56e7d9af5e4d: Layer already exists 00:09:42 2ef5de7cce89: Layer already exists 00:09:42 36b50b131297: Layer already exists 00:09:42 latest: digest: sha256:dca5d81f6483eb660ab280b07b7677ee9310e1bc6f13ba7fc01f9781530d2c2b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:43 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.5 00:09:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:09:44 b0569c7a4db4: Preparing 00:09:44 8eb32a75b776: Preparing 00:09:44 8d68be68a7f0: Preparing 00:09:44 8b87f488b39d: Preparing 00:09:44 3827b5b91e75: Preparing 00:09:44 acc83c6ca332: Preparing 00:09:44 18f990cf0f8a: Preparing 00:09:44 5865567b5ef6: Preparing 00:09:44 56e7d9af5e4d: Preparing 00:09:44 56995dc640d5: Preparing 00:09:44 f98904aeee22: Preparing 00:09:44 2ef5de7cce89: Preparing 00:09:44 36b50b131297: Preparing 00:09:44 5865567b5ef6: Waiting 00:09:44 56e7d9af5e4d: Waiting 00:09:44 56995dc640d5: Waiting 00:09:44 f98904aeee22: Waiting 00:09:44 2ef5de7cce89: Waiting 00:09:44 36b50b131297: Waiting 00:09:44 acc83c6ca332: Waiting 00:09:44 18f990cf0f8a: Waiting 00:09:44 8b87f488b39d: Layer already exists 00:09:44 3827b5b91e75: Layer already exists 00:09:44 b0569c7a4db4: Layer already exists 00:09:44 8d68be68a7f0: Layer already exists 00:09:44 8eb32a75b776: Layer already exists 00:09:44 5865567b5ef6: Layer already exists 00:09:44 18f990cf0f8a: Layer already exists 00:09:44 56e7d9af5e4d: Layer already exists 00:09:44 acc83c6ca332: Layer already exists 00:09:44 56995dc640d5: Layer already exists 00:09:44 2ef5de7cce89: Layer already exists 00:09:44 f98904aeee22: Layer already exists 00:09:44 36b50b131297: Layer already exists 00:09:44 3.1.0-dev.5: digest: sha256:dca5d81f6483eb660ab280b07b7677ee9310e1bc6f13ba7fc01f9781530d2c2b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:44 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:09:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:09:44 b0569c7a4db4: Preparing 00:09:44 8eb32a75b776: Preparing 00:09:44 8d68be68a7f0: Preparing 00:09:44 8b87f488b39d: Preparing 00:09:44 3827b5b91e75: Preparing 00:09:44 acc83c6ca332: Preparing 00:09:44 18f990cf0f8a: Preparing 00:09:44 5865567b5ef6: Preparing 00:09:44 56e7d9af5e4d: Preparing 00:09:44 56995dc640d5: Preparing 00:09:44 f98904aeee22: Preparing 00:09:44 2ef5de7cce89: Preparing 00:09:44 36b50b131297: Preparing 00:09:44 acc83c6ca332: Waiting 00:09:44 56e7d9af5e4d: Waiting 00:09:44 18f990cf0f8a: Waiting 00:09:44 56995dc640d5: Waiting 00:09:44 5865567b5ef6: Waiting 00:09:44 f98904aeee22: Waiting 00:09:44 2ef5de7cce89: Waiting 00:09:44 36b50b131297: Waiting 00:09:44 8eb32a75b776: Layer already exists 00:09:44 8d68be68a7f0: Layer already exists 00:09:44 8b87f488b39d: Layer already exists 00:09:44 3827b5b91e75: Layer already exists 00:09:44 b0569c7a4db4: Layer already exists 00:09:44 acc83c6ca332: Layer already exists 00:09:44 18f990cf0f8a: Layer already exists 00:09:44 56e7d9af5e4d: Layer already exists 00:09:44 56995dc640d5: Layer already exists 00:09:44 5865567b5ef6: Layer already exists 00:09:44 f98904aeee22: Layer already exists 00:09:44 36b50b131297: Layer already exists 00:09:44 2ef5de7cce89: Layer already exists 00:09:44 b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5: digest: sha256:dca5d81f6483eb660ab280b07b7677ee9310e1bc6f13ba7fc01f9781530d2c2b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:09:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:09:45 b0569c7a4db4: Preparing 00:09:45 8eb32a75b776: Preparing 00:09:45 8d68be68a7f0: Preparing 00:09:45 8b87f488b39d: Preparing 00:09:45 3827b5b91e75: Preparing 00:09:45 acc83c6ca332: Preparing 00:09:45 18f990cf0f8a: Preparing 00:09:45 5865567b5ef6: Preparing 00:09:45 56e7d9af5e4d: Preparing 00:09:45 56995dc640d5: Preparing 00:09:45 f98904aeee22: Preparing 00:09:45 2ef5de7cce89: Preparing 00:09:45 36b50b131297: Preparing 00:09:45 acc83c6ca332: Waiting 00:09:45 18f990cf0f8a: Waiting 00:09:45 5865567b5ef6: Waiting 00:09:45 56e7d9af5e4d: Waiting 00:09:45 56995dc640d5: Waiting 00:09:45 f98904aeee22: Waiting 00:09:45 2ef5de7cce89: Waiting 00:09:45 36b50b131297: Waiting 00:09:45 8d68be68a7f0: Layer already exists 00:09:45 3827b5b91e75: Layer already exists 00:09:45 8eb32a75b776: Layer already exists 00:09:45 b0569c7a4db4: Layer already exists 00:09:45 8b87f488b39d: Layer already exists 00:09:45 acc83c6ca332: Layer already exists 00:09:45 18f990cf0f8a: Layer already exists 00:09:45 5865567b5ef6: Layer already exists 00:09:45 56e7d9af5e4d: Layer already exists 00:09:45 56995dc640d5: Layer already exists 00:09:45 f98904aeee22: Layer already exists 00:09:45 2ef5de7cce89: Layer already exists 00:09:45 36b50b131297: Layer already exists 00:09:45 main: digest: sha256:dca5d81f6483eb660ab280b07b7677ee9310e1bc6f13ba7fc01f9781530d2c2b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:09:45 ===================================================== [Pipeline] echo 00:09:45 taggedImages: 00:09:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:09:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:09:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.5 00:09:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:09:45 - 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 00:09:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:46 00:09:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:46 latest: Pulling from edgex-lftools-log-publisher 00:09:46 5eb5b503b376: Pulling fs layer 00:09:46 5c69ac0246d0: Pulling fs layer 00:09:46 ec43610c2a17: Pulling fs layer 00:09:46 3a2ae6a8a46f: Pulling fs layer 00:09:46 33b1e0a273af: Pulling fs layer 00:09:46 5d3b04190fa2: Pulling fs layer 00:09:46 2f39f015ded8: Pulling fs layer 00:09:46 3a2ae6a8a46f: Waiting 00:09:46 5d3b04190fa2: Waiting 00:09:46 2f39f015ded8: Waiting 00:09:46 33b1e0a273af: Waiting 00:09:46 5c69ac0246d0: Verifying Checksum 00:09:46 5c69ac0246d0: Download complete 00:09:46 3a2ae6a8a46f: Verifying Checksum 00:09:46 3a2ae6a8a46f: Download complete 00:09:47 33b1e0a273af: Verifying Checksum 00:09:47 33b1e0a273af: Download complete 00:09:47 5d3b04190fa2: Verifying Checksum 00:09:47 5d3b04190fa2: Download complete 00:09:47 ec43610c2a17: Verifying Checksum 00:09:47 ec43610c2a17: Download complete 00:09:47 5eb5b503b376: Verifying Checksum 00:09:47 5eb5b503b376: Download complete 00:09:48 2f39f015ded8: Download complete 00:09:48 5eb5b503b376: Pull complete 00:09:49 5c69ac0246d0: Pull complete 00:09:50 ec43610c2a17: Pull complete 00:09:50 3a2ae6a8a46f: Pull complete 00:09:51 33b1e0a273af: Pull complete 00:09:51 5d3b04190fa2: Pull complete 00:09:56 2f39f015ded8: Pull complete 00:09:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:56 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:09:56 $ 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 00:10:05 $ docker top f7edca3afabd2d47ed4fb7e127cf0001629ec43592788a065f5c127478c3cd31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:05 ---> job-cost.sh 00:10:05 lf-activate-venv: SKIPPING 00:10:05 INFO: No Stack... 00:10:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:06 INFO: Archiving Costs [Pipeline] sh 00:10:07 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:10:07 + cut -d, -f6 [Pipeline] lock 00:10:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] 00:10:07 Resource [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] did not exist. Created. 00:10:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:10:08 + echo total: 0.2199999988079071 [Pipeline] stash 00:10:08 Stashed 1 file(s) [Pipeline] } 00:10:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 00:10:08 $ docker stop --time=1 f7edca3afabd2d47ed4fb7e127cf0001629ec43592788a065f5c127478c3cd31 00:10:10 $ docker rm -f --volumes f7edca3afabd2d47ed4fb7e127cf0001629ec43592788a065f5c127478c3cd31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:10:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3593 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:10:27 Running in /w/workspace/device-usb-camera/129 [Pipeline] { [Pipeline] checkout 00:10:27 Selected Git installation does not exist. Using Default 00:10:27 The recommended git tool is: NONE 00:10:33 using credential edgex-jenkins-ssh 00:10:33 Cloning the remote Git repository 00:10:33 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:10:33 > git init /w/workspace/device-usb-camera/129 # timeout=10 00:10:33 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:10:33 > git --version # timeout=10 00:10:33 > git --version # 'git version 2.25.1' 00:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:10:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:35 Avoid second fetch 00:10:35 Checking out Revision b4dc3cb9544d3c22b48762096c31369c64ea3d88 (main) 00:10:35 Commit message: "refactor: use PatchDevice calls instead of UpdateDevice (#267)" 00:10:35 > git config core.sparsecheckout # timeout=10 00:10:35 > git checkout -f b4dc3cb9544d3c22b48762096c31369c64ea3d88 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:10:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:36 Dload Upload Total Spent Left Speed 00:10:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 00:10:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:10:37 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 00:10:37 /etc/docker/daemon.json 00:10:37 { 00:10:37 "registry-mirrors": [ 00:10:37 "https://nexus3.edgexfoundry.org:10001" 00:10:37 ], 00:10:37 "bip": "10.250.0.254/24", 00:10:37 "hosts": [ 00:10:37 "tcp://0.0.0.0:5555", 00:10:37 "unix:///var/run/docker.sock" 00:10:37 ], 00:10:37 "mtu": 1458, 00:10:37 "selinux-enabled": true, 00:10:37 "seccomp-profile": "/etc/docker/seccomp.json" 00:10:37 } [Pipeline] sh 00:10:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:10:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:56 provisioning config files... 00:10:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/129@tmp/config3685512252994820796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:57 ---> docker-login.sh 00:10:57 nexus3.edgexfoundry.org:10001 00:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:57 Configure a credential helper to remove this warning. See 00:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:57 00:10:57 Login Succeeded 00:10:57 nexus3.edgexfoundry.org:10002 00:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:58 Configure a credential helper to remove this warning. See 00:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:58 00:10:58 Login Succeeded 00:10:58 nexus3.edgexfoundry.org:10003 00:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:58 Configure a credential helper to remove this warning. See 00:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:58 00:10:58 Login Succeeded 00:10:58 nexus3.edgexfoundry.org:10004 00:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:58 Configure a credential helper to remove this warning. See 00:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:58 00:10:58 Login Succeeded 00:10:58 docker.io 00:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:59 Configure a credential helper to remove this warning. See 00:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:59 00:10:59 Login Succeeded 00:10:59 ---> docker-login.sh ends [Pipeline] } 00:10:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:10:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:59 ========================================================= 00:10:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:10:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:59 + 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 . 00:11:00 Sending build context to Docker daemon 1.191MB 00:11:00 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:11:00 Step 2/13 : FROM ${BASE} AS builder 00:11:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:00 edb6bdbacee9: Pulling fs layer 00:11:00 5f9638ab2659: Pulling fs layer 00:11:00 8d51d6327a98: Pulling fs layer 00:11:00 8b374f2dd631: Pulling fs layer 00:11:00 ec14aa9079de: Pulling fs layer 00:11:00 2f466654f4bb: Pulling fs layer 00:11:00 554e91adad29: Pulling fs layer 00:11:00 2f466654f4bb: Waiting 00:11:00 554e91adad29: Waiting 00:11:00 8b374f2dd631: Waiting 00:11:00 ec14aa9079de: Waiting 00:11:00 5f9638ab2659: Verifying Checksum 00:11:00 5f9638ab2659: Download complete 00:11:00 8b374f2dd631: Verifying Checksum 00:11:00 8b374f2dd631: Download complete 00:11:00 ec14aa9079de: Verifying Checksum 00:11:00 ec14aa9079de: Download complete 00:11:00 edb6bdbacee9: Verifying Checksum 00:11:00 edb6bdbacee9: Download complete 00:11:01 edb6bdbacee9: Pull complete 00:11:01 554e91adad29: Verifying Checksum 00:11:01 554e91adad29: Download complete 00:11:01 5f9638ab2659: Pull complete 00:11:02 8d51d6327a98: Verifying Checksum 00:11:02 8d51d6327a98: Download complete 00:11:02 2f466654f4bb: Verifying Checksum 00:11:02 2f466654f4bb: Download complete 00:11:15 8d51d6327a98: Pull complete 00:11:15 8b374f2dd631: Pull complete 00:11:15 ec14aa9079de: Pull complete 00:11:20 2f466654f4bb: Pull complete 00:11:23 554e91adad29: Pull complete 00:11:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:11:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:11:23 ---> 1e15ea492957 00:11:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:11:25 ---> Running in db5485f550ba 00:11:25 Removing intermediate container db5485f550ba 00:11:25 ---> 6881f34dea76 00:11:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:25 ---> Running in ef1c9817a312 00:11:25 Removing intermediate container ef1c9817a312 00:11:25 ---> 66771dde893c 00:11:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:11:25 ---> Running in 3b81de2b5c25 00:11:26 Removing intermediate container 3b81de2b5c25 00:11:26 ---> e1dd87ea5537 00:11:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:11:26 ---> Running in e5f50dd1f8d6 00:11:26 Removing intermediate container e5f50dd1f8d6 00:11:26 ---> a86eecc37ac9 00:11:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:26 ---> Running in ba605fd966cb 00:11:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:11:29 (1/14) Installing libintl (0.21.1-r1) 00:11:29 (2/14) Installing eudev-libs (3.2.11-r4) 00:11:29 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:11:29 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:11:29 (5/14) Installing v4l-utils (1.22.1-r2) 00:11:29 (6/14) Installing udev-init-scripts (35-r1) 00:11:29 (7/14) Installing libblkid (2.38.1-r1) 00:11:29 (8/14) Installing xz-libs (5.2.9-r0) 00:11:29 (9/14) Installing zstd-libs (1.5.5-r0) 00:11:29 (10/14) Installing kmod-libs (30-r1) 00:11:29 (11/14) Installing eudev (3.2.11-r4) 00:11:29 (12/14) Installing eudev-dev (3.2.11-r4) 00:11:29 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:11:29 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:11:29 Executing busybox-1.35.0-r29.trigger 00:11:29 Executing eudev-3.2.11-r4.trigger 00:11:29 OK: 271 MiB in 67 packages 00:11:31 Removing intermediate container ba605fd966cb 00:11:31 ---> 18fd2c458a28 00:11:31 Step 8/13 : WORKDIR /device-usb-camera 00:11:31 ---> Running in 463e17fe25d7 00:11:31 Removing intermediate container 463e17fe25d7 00:11:31 ---> 4413adb24e7e 00:11:31 Step 9/13 : COPY go.mod vendor* ./ 00:11:34 ---> 4cd10e496ce7 00:11:34 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:34 ---> Running in 82af0e20d26a 00:12:55 Removing intermediate container 82af0e20d26a 00:12:55 ---> 2a7ecf184c37 00:12:55 Step 11/13 : COPY . . 00:12:55 ---> 4132d1a2ee20 00:12:55 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:12:55 ---> Running in 4460a93989ec 00:12:55  % Total % Received % Xferd Average Speed Time Time Time Current 00:12:55  Dload Upload Total Spent Left Speed 00:12:55 0  0 0 0 0  0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3925 0 --:--:-- --:--:-- --:--:-- 3947 00:12:55 Removing intermediate container 4460a93989ec 00:12:55 ---> d9c9e4e76d4a 00:12:55 Step 13/13 : RUN ${MAKE} 00:12:55 ---> Running in 050046807bb9 00:12:55 noop 00:12:55 Removing intermediate container 050046807bb9 00:12:55 ---> cadddd7f0c46 00:12:55 Successfully built cadddd7f0c46 00:12:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:56 + docker inspect -f . ci-base-image-arm64 00:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:56 prd-ubuntu20.04-docker-arm64-4c-16g-3593 does not seem to be running inside a container 00:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/129 -v /w/workspace/device-usb-camera/129:/w/workspace/device-usb-camera/129:rw,z -v /w/workspace/device-usb-camera/129@tmp:/w/workspace/device-usb-camera/129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:12:57 $ docker top 5af52c2d12bfb422a0ca37ba1354d21118a3ecc1c57596e19ed89640cf4069cb -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:58 + go version 00:12:58 go version go1.20.6 linux/arm64 [Pipeline] } 00:12:58 $ docker stop --time=1 5af52c2d12bfb422a0ca37ba1354d21118a3ecc1c57596e19ed89640cf4069cb 00:13:00 $ docker rm -f --volumes 5af52c2d12bfb422a0ca37ba1354d21118a3ecc1c57596e19ed89640cf4069cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:01 + docker inspect -f . ci-base-image-arm64 00:13:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:01 prd-ubuntu20.04-docker-arm64-4c-16g-3593 does not seem to be running inside a container 00:13:01 $ 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/129 -v /w/workspace/device-usb-camera/129:/w/workspace/device-usb-camera/129:rw,z -v /w/workspace/device-usb-camera/129@tmp:/w/workspace/device-usb-camera/129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:13:02 $ docker top 524b4254f79dfd2290330bfb3bfc6db40533363364c1fc771d46e50e87b44957 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:03 + git config --global --add safe.directory /w/workspace/device-usb-camera/129 [Pipeline] fileExists [Pipeline] sh 00:13:04 + make test 00:13:04 go test ./... -coverprofile=coverage.out ./... 00:13:36 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:15:58 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:15:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.103s coverage: 5.2% of statements 00:15:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:15:59 go vet ./... 00:16:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:31 ./bin/test-attribution-txt.sh [Pipeline] echo 00:16:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:16:31 $ docker stop --time=1 524b4254f79dfd2290330bfb3bfc6db40533363364c1fc771d46e50e87b44957 00:16:34 $ docker rm -f --volumes 524b4254f79dfd2290330bfb3bfc6db40533363364c1fc771d46e50e87b44957 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:35 Warning: overwriting stash ‘coverage-report’ 00:16:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:37 + ls -al . 00:16:37 total 200 00:16:37 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 00:13 . 00:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 00:10 .. 00:16:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 00:10 .git 00:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:10 .github 00:16:37 -rw-rw-r-- 1 jenkins jenkins 414 Aug 15 00:10 .gitignore 00:16:37 -rw-rw-r-- 1 jenkins jenkins 45 Aug 15 00:10 .golangci.yml 00:16:37 -rw-rw-r-- 1 jenkins jenkins 77 Aug 15 00:10 .hadolint.yml 00:16:37 -rw-rw-r-- 1 jenkins jenkins 9783 Aug 15 00:10 Attribution.txt 00:16:37 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 15 00:10 CHANGELOG.md 00:16:37 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 15 00:10 Dockerfile 00:16:37 -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 00:10 GOVERNANCE.md 00:16:37 -rw-rw-r-- 1 jenkins jenkins 659 Aug 15 00:10 Jenkinsfile 00:16:37 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 00:10 LICENSE 00:16:37 -rw-rw-r-- 1 jenkins jenkins 2364 Aug 15 00:10 Makefile 00:16:37 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 00:10 OWNERS.md 00:16:37 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 15 00:10 README.md 00:16:37 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 00:07 VERSION 00:16:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 00:10 bin 00:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:10 cmd 00:16:37 -rw-r--r-- 1 jenkins jenkins 44795 Aug 15 00:15 coverage.out 00:16:37 -rwxrwxr-x 1 jenkins jenkins 140 Aug 15 00:10 docker-entrypoint.sh 00:16:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 00:10 docs 00:16:37 -rw-rw-r-- 1 jenkins jenkins 3416 Aug 15 00:10 go.mod 00:16:37 -rw-rw-r-- 1 jenkins jenkins 31482 Aug 15 00:10 go.sum 00:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 00:10 internal 00:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 00:10 snap 00:16:37 -rw-rw-r-- 1 jenkins jenkins 231 Aug 15 00:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:37 + 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=b4dc3cb9544d3c22b48762096c31369c64ea3d88 --label arch=arm64 --label version=3.1.0-dev.5 . 00:16:37 Sending build context to Docker daemon 1.237MB 00:16:37 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:16:37 Step 2/36 : FROM ${BASE} AS builder 00:16:37 ---> cadddd7f0c46 00:16:37 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:16:38 ---> Running in 37c5b805d65a 00:16:38 Removing intermediate container 37c5b805d65a 00:16:38 ---> cf9076d99805 00:16:38 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:38 ---> Running in dbfa5f6c6146 00:16:38 Removing intermediate container dbfa5f6c6146 00:16:38 ---> ec2e35fc1c0b 00:16:38 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:16:38 ---> Running in 8cf1ab3dbb6c 00:16:38 Removing intermediate container 8cf1ab3dbb6c 00:16:38 ---> 0749e68b0a35 00:16:38 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:16:38 ---> Running in 32e37ce961f2 00:16:39 Removing intermediate container 32e37ce961f2 00:16:39 ---> dce0ff447aa5 00:16:39 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:39 ---> Running in 3244586e3726 00:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:16:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:16:41 OK: 271 MiB in 67 packages 00:16:42 Removing intermediate container 3244586e3726 00:16:42 ---> 6d022f120784 00:16:42 Step 8/36 : WORKDIR /device-usb-camera 00:16:42 ---> Running in 81f333b914f3 00:16:43 Removing intermediate container 81f333b914f3 00:16:43 ---> 5f7c96879e77 00:16:43 Step 9/36 : COPY go.mod vendor* ./ 00:16:43 ---> 422fd7907d0e 00:16:43 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:43 ---> Running in 27bcda52ab67 00:16:47 Removing intermediate container 27bcda52ab67 00:16:47 ---> 81f547294ecb 00:16:47 Step 11/36 : COPY . . 00:16:47 ---> 5c49f03b1290 00:16:47 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:16:47 ---> Running in ecbbefcae297 00:16:48  % Total % Received % Xferd Average Speed Time Time Time Current 00:16:48 Dload Upload Total Spent Left Speed 00:16:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4116 0 --:--:-- --:--:-- --:--:-- 4116 00:16:49 Removing intermediate container ecbbefcae297 00:16:49 ---> f104d2eae539 00:16:49 Step 13/36 : RUN ${MAKE} 00:16:49 ---> Running in b9dc01747f40 00:16:50 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.5" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:19:27 Removing intermediate container b9dc01747f40 00:19:27 ---> 68246bd401e8 00:19:27 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:19:27 v0.21.6: Pulling from aler9/rtsp-simple-server 00:19:27 8766b47fe142: Pulling fs layer 00:19:27 8766b47fe142: Verifying Checksum 00:19:27 8766b47fe142: Download complete 00:19:27 8766b47fe142: Pull complete 00:19:27 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:19:27 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:19:27 ---> 69d40e2cb93c 00:19:27 Step 15/36 : FROM alpine:3.17 00:19:27 3.17: Pulling from library/alpine 00:19:27 4060ece20d7a: Pulling fs layer 00:19:27 4060ece20d7a: Verifying Checksum 00:19:27 4060ece20d7a: Pull complete 00:19:27 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 00:19:27 Status: Downloaded newer image for alpine:3.17 00:19:27 ---> 8650cd65339b 00:19:27 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:19:27 ---> Running in fa84302bc9d3 00:19:27 Removing intermediate container fa84302bc9d3 00:19:27 ---> 0ed845513b78 00:19:27 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:19:27 ---> Running in 85bd5728a2e2 00:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:19:27 (1/83) Installing dumb-init (1.2.5-r2) 00:19:27 (2/83) Installing sdl2 (2.26.5-r0) 00:19:27 (3/83) Installing libxau (1.0.10-r0) 00:19:27 (4/83) Installing libmd (1.0.4-r0) 00:19:27 (5/83) Installing libbsd (0.11.7-r0) 00:19:27 (6/83) Installing libxdmcp (1.1.4-r0) 00:19:27 (7/83) Installing libxcb (1.15-r0) 00:19:27 (8/83) Installing libx11 (1.8.4-r1) 00:19:27 (9/83) Installing aom-libs (3.5.0-r0) 00:19:27 (10/83) Installing alsa-lib (1.2.8-r0) 00:19:27 (11/83) Installing libexpat (2.5.0-r0) 00:19:27 (12/83) Installing brotli-libs (1.0.9-r9) 00:19:27 (13/83) Installing libbz2 (1.0.8-r4) 00:19:27 (14/83) Installing libpng (1.6.39-r0) 00:19:27 (15/83) Installing freetype (2.12.1-r0) 00:19:27 (16/83) Installing fontconfig (2.14.1-r0) 00:19:27 (17/83) Installing fribidi (1.0.12-r0) 00:19:27 (18/83) Installing libffi (3.4.4-r0) 00:19:27 (19/83) Installing libintl (0.21.1-r1) 00:19:27 (20/83) Installing libblkid (2.38.1-r1) 00:19:27 (21/83) Installing libmount (2.38.1-r1) 00:19:27 (22/83) Installing pcre2 (10.42-r0) 00:19:27 (23/83) Installing glib (2.74.7-r0) 00:19:27 (24/83) Installing graphite2 (1.3.14-r2) 00:19:27 (25/83) Installing harfbuzz (5.3.1-r1) 00:19:27 (26/83) Installing libass (0.16.0-r1) 00:19:27 (27/83) Installing libdav1d (1.0.0-r2) 00:19:27 (28/83) Installing libdrm (2.4.114-r0) 00:19:27 (29/83) Installing gmp (6.2.1-r2) 00:19:27 (30/83) Installing nettle (3.8.1-r0) 00:19:27 (31/83) Installing p11-kit (0.24.1-r1) 00:19:27 (32/83) Installing libtasn1 (4.19.0-r0) 00:19:27 (33/83) Installing libunistring (1.1-r0) 00:19:27 (34/83) Installing gnutls (3.7.8-r3) 00:19:27 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:19:27 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 00:19:27 (37/83) Installing lame (3.100-r2) 00:19:27 (38/83) Installing opus (1.3.1-r1) 00:19:27 (39/83) Installing libasyncns (0.8-r1) 00:19:27 (40/83) Installing dbus-libs (1.14.8-r0) 00:19:27 (41/83) Installing libltdl (2.4.7-r1) 00:19:27 (42/83) Installing orc (0.4.33-r0) 00:19:27 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:19:27 (44/83) Installing libogg (1.3.5-r2) 00:19:27 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:19:27 (46/83) Installing flac-libs (1.4.2-r0) 00:19:27 (47/83) Installing libvorbis (1.3.7-r0) 00:19:27 (48/83) Installing libsndfile (1.1.0-r2) 00:19:27 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:19:27 (50/83) Installing soxr (0.1.3-r3) 00:19:27 (51/83) Installing speexdsp (1.2.1-r0) 00:19:27 (52/83) Installing tdb-libs (1.4.6-r0) 00:19:27 (53/83) Installing libpulse (16.1-r6) 00:19:27 (54/83) Installing cjson (1.7.15-r3) 00:19:27 (55/83) Installing mbedtls (2.28.4-r0) 00:19:27 (56/83) Installing librist (0.2.7-r0) 00:19:27 (57/83) Installing libsrt (1.5.1-r0) 00:19:27 (58/83) Installing libssh (0.10.5-r0) 00:19:27 (59/83) Installing libtheora (1.1.1-r16) 00:19:27 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:19:27 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:19:27 (62/83) Installing libxext (1.3.5-r0) 00:19:27 (63/83) Installing libxfixes (6.0.0-r0) 00:19:27 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:19:27 (65/83) Installing libva (2.16.0-r0) 00:19:27 (66/83) Installing libvdpau (1.5-r0) 00:19:27 (67/83) Installing vidstab (1.1.0-r2) 00:19:27 (68/83) Installing libvpx (1.12.0-r1) 00:19:27 (69/83) Installing libwebp (1.2.4-r2) 00:19:28 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:19:28 (71/83) Installing numactl (2.0.16-r1) 00:19:28 (72/83) Installing x265-libs (3.5-r3) 00:19:28 (73/83) Installing xvidcore (1.3.7-r1) 00:19:28 (74/83) Installing libsodium (1.0.18-r2) 00:19:28 (75/83) Installing libzmq (4.3.4-r1) 00:19:28 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:19:28 (77/83) Installing ffmpeg (5.1.3-r0) 00:19:28 (78/83) Installing udev-init-scripts (35-r1) 00:19:28 (79/83) Installing eudev-libs (3.2.11-r4) 00:19:28 (80/83) Installing xz-libs (5.2.9-r0) 00:19:28 (81/83) Installing zstd-libs (1.5.5-r0) 00:19:28 (82/83) Installing kmod-libs (30-r1) 00:19:28 (83/83) Installing eudev (3.2.11-r4) 00:19:28 Executing busybox-1.35.0-r29.trigger 00:19:28 Executing eudev-3.2.11-r4.trigger 00:19:28 OK: 86 MiB in 98 packages 00:19:32 Removing intermediate container 85bd5728a2e2 00:19:32 ---> 409078c2746c 00:19:32 Step 18/36 : WORKDIR / 00:19:32 ---> Running in 95ebdcd45c25 00:19:32 Removing intermediate container 95ebdcd45c25 00:19:32 ---> bee9d8aeca14 00:19:32 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:19:33 ---> d668779a8f09 00:19:33 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:19:33 ---> 6103265580c2 00:19:33 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:19:34 ---> de16a68c98b2 00:19:34 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:19:35 ---> d4969c2dd072 00:19:35 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:19:35 ---> f8e41a78dd10 00:19:35 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:19:36 ---> 64aeecc6ee29 00:19:36 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:19:37 ---> 999c6b3ccfb5 00:19:37 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:19:37 ---> Running in 430ce390ee03 00:19:38 Removing intermediate container 430ce390ee03 00:19:38 ---> 7be279a27465 00:19:38 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:19:38 ---> Running in 73c214be3319 00:19:40 Removing intermediate container 73c214be3319 00:19:40 ---> d7b79a35b6d9 00:19:40 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:19:40 ---> Running in 7cc945a5f34e 00:19:42 Removing intermediate container 7cc945a5f34e 00:19:42 ---> 362a0535ac4a 00:19:42 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:19:42 ---> Running in 4542e845d028 00:19:43 Removing intermediate container 4542e845d028 00:19:43 ---> ba76a4c1dc0a 00:19:43 Step 30/36 : EXPOSE 59983 00:19:43 ---> Running in f098e447914e 00:19:43 Removing intermediate container f098e447914e 00:19:43 ---> 767e42ac55bc 00:19:43 Step 31/36 : EXPOSE 8554 00:19:43 ---> Running in fc9bafa908fd 00:19:44 Removing intermediate container fc9bafa908fd 00:19:44 ---> 5c1b5e566e18 00:19:44 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:19:44 ---> Running in 1ffd8cb135b7 00:19:44 Removing intermediate container 1ffd8cb135b7 00:19:44 ---> 19a4fb381afd 00:19:44 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:19:44 ---> Running in 5fe6a16c4520 00:19:45 Removing intermediate container 5fe6a16c4520 00:19:45 ---> 7c197919c867 00:19:45 Step 34/36 : LABEL arch=arm64 00:19:45 ---> Running in 083c47d04d3f 00:19:45 Removing intermediate container 083c47d04d3f 00:19:45 ---> 96b526288931 00:19:45 Step 35/36 : LABEL git_sha=b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:19:45 ---> Running in 0ef1261b5dd1 00:19:45 Removing intermediate container 0ef1261b5dd1 00:19:45 ---> 2e3ca4522462 00:19:45 Step 36/36 : LABEL version=3.1.0-dev.5 00:19:45 ---> Running in 4380d31d9ea1 00:19:45 Removing intermediate container 4380d31d9ea1 00:19:45 ---> 0d4c469b80e3 00:19:45 [Warning] One or more build-args [ARCH] were not consumed 00:19:46 Successfully built 0d4c469b80e3 00:19:46 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 00:19:46 provisioning config files... 00:19:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/129@tmp/config5605388245791155241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:46 ---> docker-login.sh 00:19:46 nexus3.edgexfoundry.org:10001 00:19:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:46 Configure a credential helper to remove this warning. See 00:19:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:46 00:19:46 Login Succeeded 00:19:46 nexus3.edgexfoundry.org:10002 00:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:47 Configure a credential helper to remove this warning. See 00:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:47 00:19:47 Login Succeeded 00:19:47 nexus3.edgexfoundry.org:10003 00:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:47 Configure a credential helper to remove this warning. See 00:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:47 00:19:47 Login Succeeded 00:19:47 nexus3.edgexfoundry.org:10004 00:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:48 Configure a credential helper to remove this warning. See 00:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:48 00:19:48 Login Succeeded 00:19:48 docker.io 00:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:48 Configure a credential helper to remove this warning. See 00:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:48 00:19:48 Login Succeeded 00:19:48 ---> docker-login.sh ends [Pipeline] } 00:19:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:19:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:48 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:19:48 b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:19:48 latest 00:19:48 3.1.0-dev.5 00:19:48 b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:19:48 main 00:19:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:48 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:19:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:19:49 8e958a67ce5d: Preparing 00:19:49 a53bd80b2d9f: Preparing 00:19:49 78fc987a56ff: Preparing 00:19:49 17fa4ca1f618: Preparing 00:19:49 608d194cb50c: Preparing 00:19:49 acc83c6ca332: Preparing 00:19:49 1edd36efb0af: Preparing 00:19:49 494a2d2bb25f: Preparing 00:19:49 27b00e2970ef: Preparing 00:19:49 d5362a9e3365: Preparing 00:19:49 c28311f1dd2c: Preparing 00:19:49 e14686e6eb4c: Preparing 00:19:49 d2d9d24a8c2a: Preparing 00:19:49 494a2d2bb25f: Waiting 00:19:49 27b00e2970ef: Waiting 00:19:49 d5362a9e3365: Waiting 00:19:49 c28311f1dd2c: Waiting 00:19:49 e14686e6eb4c: Waiting 00:19:49 d2d9d24a8c2a: Waiting 00:19:49 acc83c6ca332: Waiting 00:19:49 1edd36efb0af: Waiting 00:19:49 17fa4ca1f618: Pushed 00:19:49 a53bd80b2d9f: Pushed 00:19:49 8e958a67ce5d: Pushed 00:19:49 78fc987a56ff: Pushed 00:19:49 acc83c6ca332: Pushed 00:19:49 494a2d2bb25f: Pushed 00:19:49 1edd36efb0af: Pushed 00:19:49 27b00e2970ef: Pushed 00:19:49 d2d9d24a8c2a: Layer already exists 00:19:49 d5362a9e3365: Pushed 00:19:54 608d194cb50c: Pushed 00:19:54 c28311f1dd2c: Pushed 00:20:06 e14686e6eb4c: Pushed 00:20:06 b4dc3cb9544d3c22b48762096c31369c64ea3d88: digest: sha256:51dcbbb885fea9b65bb1928de4854da67f83c7fbca15e95387a4e09fbd82474c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:07 + 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 00:20:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:20:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:20:07 8e958a67ce5d: Preparing 00:20:07 a53bd80b2d9f: Preparing 00:20:07 78fc987a56ff: Preparing 00:20:07 17fa4ca1f618: Preparing 00:20:07 608d194cb50c: Preparing 00:20:07 acc83c6ca332: Preparing 00:20:07 1edd36efb0af: Preparing 00:20:07 494a2d2bb25f: Preparing 00:20:07 27b00e2970ef: Preparing 00:20:07 d5362a9e3365: Preparing 00:20:07 c28311f1dd2c: Preparing 00:20:07 e14686e6eb4c: Preparing 00:20:07 d2d9d24a8c2a: Preparing 00:20:07 27b00e2970ef: Waiting 00:20:07 d5362a9e3365: Waiting 00:20:07 c28311f1dd2c: Waiting 00:20:07 d2d9d24a8c2a: Waiting 00:20:07 e14686e6eb4c: Waiting 00:20:07 acc83c6ca332: Waiting 00:20:07 1edd36efb0af: Waiting 00:20:07 494a2d2bb25f: Waiting 00:20:07 a53bd80b2d9f: Layer already exists 00:20:07 78fc987a56ff: Layer already exists 00:20:07 608d194cb50c: Layer already exists 00:20:07 8e958a67ce5d: Layer already exists 00:20:07 17fa4ca1f618: Layer already exists 00:20:07 494a2d2bb25f: Layer already exists 00:20:07 1edd36efb0af: Layer already exists 00:20:07 acc83c6ca332: Layer already exists 00:20:07 27b00e2970ef: Layer already exists 00:20:07 d5362a9e3365: Layer already exists 00:20:07 c28311f1dd2c: Layer already exists 00:20:07 e14686e6eb4c: Layer already exists 00:20:07 d2d9d24a8c2a: Layer already exists 00:20:07 latest: digest: sha256:51dcbbb885fea9b65bb1928de4854da67f83c7fbca15e95387a4e09fbd82474c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:08 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.5 00:20:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:20:08 8e958a67ce5d: Preparing 00:20:08 a53bd80b2d9f: Preparing 00:20:08 78fc987a56ff: Preparing 00:20:08 17fa4ca1f618: Preparing 00:20:08 608d194cb50c: Preparing 00:20:08 acc83c6ca332: Preparing 00:20:08 1edd36efb0af: Preparing 00:20:08 494a2d2bb25f: Preparing 00:20:08 27b00e2970ef: Preparing 00:20:08 d5362a9e3365: Preparing 00:20:08 c28311f1dd2c: Preparing 00:20:08 e14686e6eb4c: Preparing 00:20:08 d2d9d24a8c2a: Preparing 00:20:08 27b00e2970ef: Waiting 00:20:08 acc83c6ca332: Waiting 00:20:08 1edd36efb0af: Waiting 00:20:08 494a2d2bb25f: Waiting 00:20:08 d5362a9e3365: Waiting 00:20:08 e14686e6eb4c: Waiting 00:20:08 d2d9d24a8c2a: Waiting 00:20:08 17fa4ca1f618: Layer already exists 00:20:08 608d194cb50c: Layer already exists 00:20:08 78fc987a56ff: Layer already exists 00:20:08 a53bd80b2d9f: Layer already exists 00:20:08 8e958a67ce5d: Layer already exists 00:20:08 acc83c6ca332: Layer already exists 00:20:08 494a2d2bb25f: Layer already exists 00:20:08 1edd36efb0af: Layer already exists 00:20:08 27b00e2970ef: Layer already exists 00:20:08 d5362a9e3365: Layer already exists 00:20:08 c28311f1dd2c: Layer already exists 00:20:08 e14686e6eb4c: Layer already exists 00:20:08 d2d9d24a8c2a: Layer already exists 00:20:08 3.1.0-dev.5: digest: sha256:51dcbbb885fea9b65bb1928de4854da67f83c7fbca15e95387a4e09fbd82474c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:09 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:09 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:20:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:20:09 8e958a67ce5d: Preparing 00:20:09 a53bd80b2d9f: Preparing 00:20:09 78fc987a56ff: Preparing 00:20:09 17fa4ca1f618: Preparing 00:20:09 608d194cb50c: Preparing 00:20:09 acc83c6ca332: Preparing 00:20:09 1edd36efb0af: Preparing 00:20:09 494a2d2bb25f: Preparing 00:20:09 27b00e2970ef: Preparing 00:20:09 d5362a9e3365: Preparing 00:20:09 c28311f1dd2c: Preparing 00:20:09 e14686e6eb4c: Preparing 00:20:09 d2d9d24a8c2a: Preparing 00:20:09 acc83c6ca332: Waiting 00:20:09 1edd36efb0af: Waiting 00:20:09 27b00e2970ef: Waiting 00:20:09 e14686e6eb4c: Waiting 00:20:09 d5362a9e3365: Waiting 00:20:09 d2d9d24a8c2a: Waiting 00:20:09 c28311f1dd2c: Waiting 00:20:09 494a2d2bb25f: Waiting 00:20:09 608d194cb50c: Layer already exists 00:20:09 8e958a67ce5d: Layer already exists 00:20:09 a53bd80b2d9f: Layer already exists 00:20:09 78fc987a56ff: Layer already exists 00:20:09 17fa4ca1f618: Layer already exists 00:20:09 acc83c6ca332: Layer already exists 00:20:09 1edd36efb0af: Layer already exists 00:20:09 494a2d2bb25f: Layer already exists 00:20:09 27b00e2970ef: Layer already exists 00:20:09 c28311f1dd2c: Layer already exists 00:20:09 e14686e6eb4c: Layer already exists 00:20:09 d2d9d24a8c2a: Layer already exists 00:20:09 d5362a9e3365: Layer already exists 00:20:09 b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5: digest: sha256:51dcbbb885fea9b65bb1928de4854da67f83c7fbca15e95387a4e09fbd82474c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:10 + 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 00:20:10 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:20:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:20:10 8e958a67ce5d: Preparing 00:20:10 a53bd80b2d9f: Preparing 00:20:10 78fc987a56ff: Preparing 00:20:10 17fa4ca1f618: Preparing 00:20:10 608d194cb50c: Preparing 00:20:10 acc83c6ca332: Preparing 00:20:10 1edd36efb0af: Preparing 00:20:10 494a2d2bb25f: Preparing 00:20:10 27b00e2970ef: Preparing 00:20:10 acc83c6ca332: Waiting 00:20:10 1edd36efb0af: Waiting 00:20:10 494a2d2bb25f: Waiting 00:20:10 d5362a9e3365: Preparing 00:20:10 c28311f1dd2c: Preparing 00:20:10 e14686e6eb4c: Preparing 00:20:10 d2d9d24a8c2a: Preparing 00:20:10 27b00e2970ef: Waiting 00:20:10 e14686e6eb4c: Waiting 00:20:10 d5362a9e3365: Waiting 00:20:10 d2d9d24a8c2a: Waiting 00:20:10 c28311f1dd2c: Waiting 00:20:10 8e958a67ce5d: Layer already exists 00:20:10 78fc987a56ff: Layer already exists 00:20:10 a53bd80b2d9f: Layer already exists 00:20:10 17fa4ca1f618: Layer already exists 00:20:10 608d194cb50c: Layer already exists 00:20:10 acc83c6ca332: Layer already exists 00:20:10 494a2d2bb25f: Layer already exists 00:20:10 1edd36efb0af: Layer already exists 00:20:10 27b00e2970ef: Layer already exists 00:20:10 d5362a9e3365: Layer already exists 00:20:10 c28311f1dd2c: Layer already exists 00:20:10 e14686e6eb4c: Layer already exists 00:20:10 d2d9d24a8c2a: Layer already exists 00:20:10 main: digest: sha256:51dcbbb885fea9b65bb1928de4854da67f83c7fbca15e95387a4e09fbd82474c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:20:10 ===================================================== [Pipeline] echo 00:20:10 taggedImages: 00:20:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88 00:20:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:20:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.5 00:20:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b4dc3cb9544d3c22b48762096c31369c64ea3d88-3.1.0-dev.5 00:20:10 - 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 00:20:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:11 00:20:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:11 arm64: Pulling from edgex-lftools-log-publisher 00:20:11 8998bd30e6a1: Pulling fs layer 00:20:11 04944245beec: Pulling fs layer 00:20:11 699f458cf7ca: Pulling fs layer 00:20:11 765212b225bb: Pulling fs layer 00:20:11 f23df028b6ca: Pulling fs layer 00:20:11 d65c8cfc05b1: Pulling fs layer 00:20:11 2437ff75d9bd: Pulling fs layer 00:20:11 765212b225bb: Waiting 00:20:11 f23df028b6ca: Waiting 00:20:11 d65c8cfc05b1: Waiting 00:20:11 2437ff75d9bd: Waiting 00:20:11 04944245beec: Verifying Checksum 00:20:11 04944245beec: Download complete 00:20:11 765212b225bb: Verifying Checksum 00:20:11 765212b225bb: Download complete 00:20:11 f23df028b6ca: Verifying Checksum 00:20:11 f23df028b6ca: Download complete 00:20:11 d65c8cfc05b1: Verifying Checksum 00:20:11 d65c8cfc05b1: Download complete 00:20:11 699f458cf7ca: Verifying Checksum 00:20:11 699f458cf7ca: Download complete 00:20:12 8998bd30e6a1: Verifying Checksum 00:20:12 8998bd30e6a1: Download complete 00:20:14 2437ff75d9bd: Verifying Checksum 00:20:14 2437ff75d9bd: Download complete 00:20:16 8998bd30e6a1: Pull complete 00:20:16 04944245beec: Pull complete 00:20:17 699f458cf7ca: Pull complete 00:20:17 765212b225bb: Pull complete 00:20:18 f23df028b6ca: Pull complete 00:20:18 d65c8cfc05b1: Pull complete 00:20:33 2437ff75d9bd: Pull complete 00:20:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:20:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:33 prd-ubuntu20.04-docker-arm64-4c-16g-3593 does not seem to be running inside a container 00:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/129 -v /w/workspace/device-usb-camera/129:/w/workspace/device-usb-camera/129:rw,z -v /w/workspace/device-usb-camera/129@tmp:/w/workspace/device-usb-camera/129@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:20:36 $ docker top b9ee24a31f7d94d6fddec274ce71eeb80045c4a15e27891074a1c9c62bf3f471 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:37 ---> job-cost.sh 00:20:37 lf-activate-venv: SKIPPING 00:20:37 INFO: No Stack... 00:20:37 INFO: Retrieving Pricing Info for: v3-standard-4 00:20:38 INFO: Archiving Costs [Pipeline] sh 00:20:38 + cat /w/workspace/device-usb-camera/129/archives/cost.csv 00:20:38 + cut -d, -f6 [Pipeline] lock 00:20:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] 00:20:38 Resource [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] did not exist. Created. 00:20:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:20:39 /w/workspace/device-usb-camera/129@tmp/durable-0da738f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:20:39 + echo total: 0.10999999940395355 [Pipeline] stash 00:20:39 Warning: overwriting stash ‘stack-cost’ 00:20:39 Stashed 1 file(s) [Pipeline] } 00:20:39 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 00:20:39 $ docker stop --time=1 b9ee24a31f7d94d6fddec274ce71eeb80045c4a15e27891074a1c9c62bf3f471 00:20:40 $ docker rm -f --volumes b9ee24a31f7d94d6fddec274ce71eeb80045c4a15e27891074a1c9c62bf3f471 [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 00:20:41 provisioning config files... 00:20:41 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5319714893619134205tmp [Pipeline] { [Pipeline] sh 00:20:41 + set +x 00:20:41 + curl -s https://codecov.io/bash 00:20:41 + bash -s -- 00:20:41 00:20:41 _____ _ 00:20:41 / ____| | | 00:20:41 | | ___ __| | ___ ___ _____ __ 00:20:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:20:41 | |___| (_) | (_| | __/ (_| (_) \ V / 00:20:41 \_____\___/ \__,_|\___|\___\___/ \_/ 00:20:41 Bash-1.0.6 00:20:41 00:20:41 00:20:41 ==> git version 2.25.1 found 00:20:41 ==> 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 00:20:41 Release-Date: 2020-01-08 00:20:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:20:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:20:41 ==> Jenkins CI detected. 00:20:41 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:20:41 project root: . 00:20:41 --> token set from env 00:20:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:20:41 ==> Running gcov in . (disable via -X gcov) 00:20:41 ==> Python coveragepy not found 00:20:41 ==> Searching for coverage reports in: 00:20:41 + . 00:20:41 -> Found 1 reports 00:20:41 ==> Detecting git/mercurial file structure 00:20:41 ==> Reading reports 00:20:41 + ./coverage.out bytes=44795 00:20:41 ==> Appending adjustments 00:20:41 https://docs.codecov.io/docs/fixing-reports 00:20:41 + Found adjustments 00:20:41 ==> Gzipping contents 00:20:41 8.0K /tmp/codecov.ESEW5t.gz 00:20:41 ==> Uploading reports 00:20:41 url: https://codecov.io 00:20:41 query: branch=main&commit=b4dc3cb9544d3c22b48762096c31369c64ea3d88&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:20:41 -> Pinging Codecov 00:20:41 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=b4dc3cb9544d3c22b48762096c31369c64ea3d88&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:20:42 -> Uploading to 00:20:42 https://storage.googleapis.com/codecov/v4/raw/2023-08-15/73D8F5FF140700D3E01443B452E23636/b4dc3cb9544d3c22b48762096c31369c64ea3d88/215f6314-e40d-49a9-aaaf-f3b8b03ce74b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230815T002041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00c786821ff97eca9a97d4c1d8c8f5261b74c5ed2ec7781a1db160e949b36d44 00:20:42 % Total % Received % Xferd Average Speed Time Time Time Current 00:20:42 Dload Upload Total Spent Left Speed 00:20:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5913 0 0 100 5913 0 24949 --:--:-- --:--:-- --:--:-- 24949 00:20:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] } 00:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:20:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:20:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:42 00:20:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:20:43 df9b9388f04a: Pulling fs layer 00:20:43 52dc419b0ee2: Pulling fs layer 00:20:43 25bc292e5bac: Pulling fs layer 00:20:43 114826534d7a: Pulling fs layer 00:20:43 4657fd5d0bcf: Pulling fs layer 00:20:43 6ad1cebc031e: Pulling fs layer 00:20:43 8a3aa393b2d8: Pulling fs layer 00:20:43 4657fd5d0bcf: Waiting 00:20:43 6ad1cebc031e: Waiting 00:20:43 8a3aa393b2d8: Waiting 00:20:43 114826534d7a: Waiting 00:20:43 25bc292e5bac: Verifying Checksum 00:20:43 25bc292e5bac: Download complete 00:20:43 52dc419b0ee2: Download complete 00:20:43 4657fd5d0bcf: Download complete 00:20:43 df9b9388f04a: Download complete 00:20:43 df9b9388f04a: Pull complete 00:20:43 6ad1cebc031e: Verifying Checksum 00:20:43 6ad1cebc031e: Download complete 00:20:43 52dc419b0ee2: Pull complete 00:20:43 25bc292e5bac: Pull complete 00:20:44 114826534d7a: Verifying Checksum 00:20:44 114826534d7a: Download complete 00:20:44 8a3aa393b2d8: Verifying Checksum 00:20:44 8a3aa393b2d8: Download complete 00:20:48 114826534d7a: Pull complete 00:20:48 4657fd5d0bcf: Pull complete 00:20:48 6ad1cebc031e: Pull complete 00:20:54 8a3aa393b2d8: Pull complete 00:20:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:20:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:20:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:54 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:20:54 $ 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 00:21:01 $ docker top 7c7c31f45c87d8a91f35f5243ebdd07f0ac385779fd315e81affb9b07476b794 -eo pid,comm [Pipeline] { [Pipeline] echo 00:21:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:21:01 + set -o pipefail 00:21:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:21:06 00:21:06 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:21:06 00:21:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/9d8bb345-ab02-451e-a597-255558b4954d 00:21:06 00:21:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:21:06 00:21:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:21:06 00:21:10 00:21:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:21:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:21:10 More details here: https://snyk.co/ue1NS 00:21:10 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:21:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:21:10 $ docker stop --time=1 7c7c31f45c87d8a91f35f5243ebdd07f0ac385779fd315e81affb9b07476b794 00:21:14 $ docker rm -f --volumes 7c7c31f45c87d8a91f35f5243ebdd07f0ac385779fd315e81affb9b07476b794 [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 00:21:15 + git log --format=format:%s -1 b4dc3cb9544d3c22b48762096c31369c64ea3d88 [Pipeline] sh 00:21:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:16 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:21:16 $ 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 00:21:16 $ docker top e6b447567970a3e5c35ba1468071948bd7e8442a21095f079f008ea6e8c5d207 -eo pid,comm 00:21:16 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). 00:21:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:16 [ssh-agent] Looking for ssh-agent implementation... 00:21:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:17 $ docker exec e6b447567970a3e5c35ba1468071948bd7e8442a21095f079f008ea6e8c5d207 ssh-agent 00:21:17 SSH_AUTH_SOCK=/tmp/ssh-fGPwJYdVcLLP/agent.32 00:21:17 SSH_AGENT_PID=38 00:21:17 Running ssh-add (command line suppressed) 00:21:17 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7794165129293236718.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7794165129293236718.key) 00:21:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:17 + git semver tag 00:21:17 2023-08-15 00:21:17,717 [run_tag] DEBUG tag force:False 00:21:17 2023-08-15 00:21:17,718 [check_head_tag] DEBUG check head tag 00:21:17 2023-08-15 00:21:17,720 [execute] INFO git cat-file --batch-check 00:21:17 2023-08-15 00:21:17,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:21:17 2023-08-15 00:21:17,724 [execute] INFO git cat-file --batch 00:21:17 2023-08-15 00:21:17,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:21:17 2023-08-15 00:21:17,753 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:17 2023-08-15 00:21:17,754 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 00:21:17 2023-08-15 00:21:17,754 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:21:17 2023-08-15 00:21:17,758 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:17 3.1.0-dev.5 [Pipeline] } 00:21:17 $ docker exec --env ******** --env ******** e6b447567970a3e5c35ba1468071948bd7e8442a21095f079f008ea6e8c5d207 ssh-agent -k 00:21:17 unset SSH_AUTH_SOCK; 00:21:17 unset SSH_AGENT_PID; 00:21:17 echo Agent pid 38 killed; 00:21:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:18 + git semver [Pipeline] } 00:21:18 $ docker stop --time=1 e6b447567970a3e5c35ba1468071948bd7e8442a21095f079f008ea6e8c5d207 00:21:19 $ docker rm -f --volumes e6b447567970a3e5c35ba1468071948bd7e8442a21095f079f008ea6e8c5d207 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:20 00:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:20 0.23.1-centos7: Pulling from edgex-lftools 00:21:20 ab5ef0e58194: Pulling fs layer 00:21:20 9712f1f96733: Pulling fs layer 00:21:20 63f879dbbcfc: Pulling fs layer 00:21:20 0d9ebad4ef96: Pulling fs layer 00:21:20 e9a5061849ea: Pulling fs layer 00:21:20 d747dcd14b5f: Pulling fs layer 00:21:20 2de7ff778b66: Pulling fs layer 00:21:20 0d9ebad4ef96: Waiting 00:21:20 e9a5061849ea: Waiting 00:21:20 d747dcd14b5f: Waiting 00:21:20 2de7ff778b66: Waiting 00:21:21 63f879dbbcfc: Verifying Checksum 00:21:21 63f879dbbcfc: Download complete 00:21:21 e9a5061849ea: Verifying Checksum 00:21:21 e9a5061849ea: Download complete 00:21:21 0d9ebad4ef96: Verifying Checksum 00:21:21 0d9ebad4ef96: Download complete 00:21:21 d747dcd14b5f: Download complete 00:21:21 ab5ef0e58194: Verifying Checksum 00:21:21 ab5ef0e58194: Download complete 00:21:21 2de7ff778b66: Verifying Checksum 00:21:21 2de7ff778b66: Download complete 00:21:23 ab5ef0e58194: Pull complete 00:21:23 9712f1f96733: Pull complete 00:21:24 63f879dbbcfc: Pull complete 00:21:27 0d9ebad4ef96: Pull complete 00:21:27 e9a5061849ea: Pull complete 00:21:27 d747dcd14b5f: Pull complete 00:21:28 2de7ff778b66: Pull complete 00:21:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:21:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:28 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:21:28 $ 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 00:21:34 $ docker top ae6fa71d85f6ac4710ce3bb9ff85a266f7bad5cb16ff075f38fc933b46ffe0ce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:21:34 provisioning config files... 00:21:34 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16997703215386215806tmp 00:21:34 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1163721727336867513tmp 00:21:34 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8148568765758543326tmp [Pipeline] { [Pipeline] echo 00:21:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:21:34 ---> sigul-configuration.sh 00:21:34 gpg: directory `/root/.gnupg' created 00:21:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:21:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:21:34 gpg: keyring `/root/.gnupg/secring.gpg' created 00:21:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:21:34 gpg: CAST5 encrypted data 00:21:34 gpg: encrypted with 1 passphrase 00:21:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:21:35 + mkdir /home/jenkins 00:21:35 + mkdir /home/jenkins/sigul [Pipeline] sh 00:21:35 + 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 00:21:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:21:35 ---> sigul-install.sh 00:21:35 Sigul already installed; skipping installation. [Pipeline] sh 00:21:36 + git tag --list 00:21:36 v0.0.0 00:21:36 v0.0.1-dev.1 00:21:36 v0.0.1-dev.10 00:21:36 v0.0.1-dev.11 00:21:36 v0.0.1-dev.12 00:21:36 v0.0.1-dev.13 00:21:36 v0.0.1-dev.14 00:21:36 v0.0.1-dev.15 00:21:36 v0.0.1-dev.16 00:21:36 v0.0.1-dev.2 00:21:36 v0.0.1-dev.3 00:21:36 v0.0.1-dev.4 00:21:36 v0.0.1-dev.5 00:21:36 v0.0.1-dev.6 00:21:36 v0.0.1-dev.7 00:21:36 v0.0.1-dev.8 00:21:36 v0.0.1-dev.9 00:21:36 v2.2.0 00:21:36 v2.2.0-dev.17 00:21:36 v2.2.0-dev.18 00:21:36 v2.2.0-dev.19 00:21:36 v2.2.0-dev.20 00:21:36 v2.2.0-dev.21 00:21:36 v2.2.0-dev.22 00:21:36 v2.2.0-dev.23 00:21:36 v2.2.0-dev.24 00:21:36 v2.2.0-dev.25 00:21:36 v2.2.0-dev.26 00:21:36 v2.2.0-dev.27 00:21:36 v2.3.0 00:21:36 v2.3.0-dev.1 00:21:36 v2.3.0-dev.10 00:21:36 v2.3.0-dev.11 00:21:36 v2.3.0-dev.12 00:21:36 v2.3.0-dev.13 00:21:36 v2.3.0-dev.14 00:21:36 v2.3.0-dev.15 00:21:36 v2.3.0-dev.16 00:21:36 v2.3.0-dev.17 00:21:36 v2.3.0-dev.18 00:21:36 v2.3.0-dev.19 00:21:36 v2.3.0-dev.2 00:21:36 v2.3.0-dev.20 00:21:36 v2.3.0-dev.21 00:21:36 v2.3.0-dev.22 00:21:36 v2.3.0-dev.23 00:21:36 v2.3.0-dev.24 00:21:36 v2.3.0-dev.25 00:21:36 v2.3.0-dev.26 00:21:36 v2.3.0-dev.27 00:21:36 v2.3.0-dev.28 00:21:36 v2.3.0-dev.3 00:21:36 v2.3.0-dev.4 00:21:36 v2.3.0-dev.5 00:21:36 v2.3.0-dev.6 00:21:36 v2.3.0-dev.7 00:21:36 v2.3.0-dev.8 00:21:36 v2.3.0-dev.9 00:21:36 v2.3.1 00:21:36 v2.3.1-dev.4 00:21:36 v2.3.1-dev.5 00:21:36 v2.3.1-dev.6 00:21:36 v3.0 00:21:36 v3.0.0 00:21:36 v3.0.0-dev.1 00:21:36 v3.0.0-dev.10 00:21:36 v3.0.0-dev.11 00:21:36 v3.0.0-dev.12 00:21:36 v3.0.0-dev.13 00:21:36 v3.0.0-dev.14 00:21:36 v3.0.0-dev.15 00:21:36 v3.0.0-dev.16 00:21:36 v3.0.0-dev.17 00:21:36 v3.0.0-dev.18 00:21:36 v3.0.0-dev.19 00:21:36 v3.0.0-dev.2 00:21:36 v3.0.0-dev.20 00:21:36 v3.0.0-dev.21 00:21:36 v3.0.0-dev.22 00:21:36 v3.0.0-dev.23 00:21:36 v3.0.0-dev.24 00:21:36 v3.0.0-dev.25 00:21:36 v3.0.0-dev.26 00:21:36 v3.0.0-dev.27 00:21:36 v3.0.0-dev.28 00:21:36 v3.0.0-dev.29 00:21:36 v3.0.0-dev.3 00:21:36 v3.0.0-dev.30 00:21:36 v3.0.0-dev.31 00:21:36 v3.0.0-dev.32 00:21:36 v3.0.0-dev.33 00:21:36 v3.0.0-dev.34 00:21:36 v3.0.0-dev.35 00:21:36 v3.0.0-dev.36 00:21:36 v3.0.0-dev.37 00:21:36 v3.0.0-dev.38 00:21:36 v3.0.0-dev.39 00:21:36 v3.0.0-dev.4 00:21:36 v3.0.0-dev.40 00:21:36 v3.0.0-dev.41 00:21:36 v3.0.0-dev.42 00:21:36 v3.0.0-dev.43 00:21:36 v3.0.0-dev.44 00:21:36 v3.0.0-dev.45 00:21:36 v3.0.0-dev.46 00:21:36 v3.0.0-dev.47 00:21:36 v3.0.0-dev.48 00:21:36 v3.0.0-dev.49 00:21:36 v3.0.0-dev.5 00:21:36 v3.0.0-dev.50 00:21:36 v3.0.0-dev.51 00:21:36 v3.0.0-dev.6 00:21:36 v3.0.0-dev.7 00:21:36 v3.0.0-dev.8 00:21:36 v3.0.0-dev.9 00:21:36 v3.1.0-dev.1 00:21:36 v3.1.0-dev.2 00:21:36 v3.1.0-dev.3 00:21:36 v3.1.0-dev.4 00:21:36 v3.1.0-dev.5 [Pipeline] sh 00:21:36 + lftools sign git-tag v3.1.0-dev.5 00:21:36 Signing Git tag with Sigul... 00:21:36 Signing v3.1.0-dev.5 [Pipeline] echo 00:21:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:21:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:21:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:21:37 $ docker stop --time=1 ae6fa71d85f6ac4710ce3bb9ff85a266f7bad5cb16ff075f38fc933b46ffe0ce 00:21:38 $ docker rm -f --volumes ae6fa71d85f6ac4710ce3bb9ff85a266f7bad5cb16ff075f38fc933b46ffe0ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:21:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:39 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:21:39 $ docker top 193f3030b1a52016e9fec25610af5b333773b57aa10e50530affb9257da6c75e -eo pid,comm 00:21:40 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). 00:21:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:40 [ssh-agent] Looking for ssh-agent implementation... 00:21:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:40 $ docker exec 193f3030b1a52016e9fec25610af5b333773b57aa10e50530affb9257da6c75e ssh-agent 00:21:40 SSH_AUTH_SOCK=/tmp/ssh-bn614EongRd0/agent.33 00:21:40 SSH_AGENT_PID=39 00:21:40 Running ssh-add (command line suppressed) 00:21:40 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14074118874649366923.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14074118874649366923.key) 00:21:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:40 + git semver bump pre 00:21:40 2023-08-15 00:21:40,847 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:40 2023-08-15 00:21:40,847 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev 00:21:40 2023-08-15 00:21:40,847 [bump_version] DEBUG bumped version:3.1.0-dev.6 00:21:40 2023-08-15 00:21:40,847 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:21:40 2023-08-15 00:21:40,847 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:40 2023-08-15 00:21:40,847 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:40 2023-08-15 00:21:40,850 [execute] INFO git cat-file --batch-check 00:21:40 2023-08-15 00:21:40,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:40 2023-08-15 00:21:40,855 [execute] INFO git cat-file --batch 00:21:40 2023-08-15 00:21:40,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:40 2023-08-15 00:21:40,860 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:40 3.1.0-dev.6 [Pipeline] } 00:21:40 $ docker exec --env ******** --env ******** 193f3030b1a52016e9fec25610af5b333773b57aa10e50530affb9257da6c75e ssh-agent -k 00:21:41 unset SSH_AUTH_SOCK; 00:21:41 unset SSH_AGENT_PID; 00:21:41 echo Agent pid 39 killed; 00:21:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:41 + git semver [Pipeline] } 00:21:41 $ docker stop --time=1 193f3030b1a52016e9fec25610af5b333773b57aa10e50530affb9257da6c75e 00:21:42 $ docker rm -f --volumes 193f3030b1a52016e9fec25610af5b333773b57aa10e50530affb9257da6c75e [Pipeline] // withDockerContainer [Pipeline] sh 00:21:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:21:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:43 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:21:43 $ 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 00:21:44 $ docker top c9b8657c2d7d210066f1b779c8a0c0c1dc286d0775710f087dfb6316bb5e6b4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:21:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:21:44 [ssh-agent] Looking for ssh-agent implementation... 00:21:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:21:44 $ docker exec c9b8657c2d7d210066f1b779c8a0c0c1dc286d0775710f087dfb6316bb5e6b4d ssh-agent 00:21:44 SSH_AUTH_SOCK=/tmp/ssh-aCKEkARQplVv/agent.32 00:21:44 SSH_AGENT_PID=38 00:21:44 Running ssh-add (command line suppressed) 00:21:44 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2533878705771630242.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2533878705771630242.key) 00:21:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:21:44 + git semver push 00:21:45 2023-08-15 00:21:45,008 [run_push] DEBUG push 00:21:45 2023-08-15 00:21:45,008 [execute] INFO git cat-file --batch-check 00:21:45 2023-08-15 00:21:45,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:21:45 2023-08-15 00:21:45,012 [execute] INFO git rev-list b094fb4e0affad8c5e8d436f11bf76ccd6e82017 -- 00:21:45 2023-08-15 00:21:45,012 [execute] DEBUG Popen(['git', 'rev-list', 'b094fb4e0affad8c5e8d436f11bf76ccd6e82017', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:21:45 2023-08-15 00:21:45,020 [execute] INFO git fetch -v origin 00:21:45 2023-08-15 00:21:45,020 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:21:45 2023-08-15 00:21:45,465 [run_push] DEBUG no remote changes detected 00:21:45 2023-08-15 00:21:45,466 [execute] INFO git push origin semver 00:21:45 2023-08-15 00:21:45,466 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:21:46 2023-08-15 00:21:46,158 [run_push] DEBUG push all version tags 00:21:46 2023-08-15 00:21:46,159 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:21:46 2023-08-15 00:21:46,159 [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) 00:21:47 2023-08-15 00:21:46,903 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:21:47 3.1.0-dev.6 [Pipeline] } 00:21:47 $ docker exec --env ******** --env ******** c9b8657c2d7d210066f1b779c8a0c0c1dc286d0775710f087dfb6316bb5e6b4d ssh-agent -k 00:21:47 unset SSH_AUTH_SOCK; 00:21:47 unset SSH_AGENT_PID; 00:21:47 echo Agent pid 38 killed; 00:21:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:21:47 + git semver [Pipeline] } 00:21:47 $ docker stop --time=1 c9b8657c2d7d210066f1b779c8a0c0c1dc286d0775710f087dfb6316bb5e6b4d 00:21:49 $ docker rm -f --volumes c9b8657c2d7d210066f1b779c8a0c0c1dc286d0775710f087dfb6316bb5e6b4d [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 00:21:49 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:21:49 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:21:49 total 16 00:21:49 drwxr-xr-x 3 root root 4096 Aug 15 00:10 . 00:21:49 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 00:21 .. 00:21:49 drwxr-xr-x 2 root root 4096 Aug 15 00:10 cost 00:21:49 -rw-r--r-- 1 root root 89 Aug 15 00:10 cost.csv 00:21:49 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:21:49 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:21:49 total 16 00:21:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 00:10 . 00:21:49 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 00:21 .. 00:21:49 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 00:10 cost 00:21:49 -rw-r--r-- 1 jenkins jenkins 89 Aug 15 00:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:50 ---> package-listing.sh 00:21:50 ++ facter osfamily 00:21:50 ++ tr '[:upper:]' '[:lower:]' 00:21:51 + OS_FAMILY=debian 00:21:51 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:21:51 + START_PACKAGES=/tmp/packages_start.txt 00:21:51 + END_PACKAGES=/tmp/packages_end.txt 00:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:51 + PACKAGES=/tmp/packages_start.txt 00:21:51 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:21:51 + PACKAGES=/tmp/packages_end.txt 00:21:51 + case "${OS_FAMILY}" in 00:21:51 + dpkg -l 00:21:51 + grep '^ii' 00:21:51 + '[' -f /tmp/packages_start.txt ']' 00:21:51 + '[' -f /tmp/packages_end.txt ']' 00:21:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:51 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:21:51 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:21:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:21:51 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 00:21:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:51 prd-ubuntu20.04-docker-8c-8g-3591 does not seem to be running inside a container 00:21:51 $ 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 00:21:52 $ docker top c48363754190db62d94f1d0c5258fe6ac5b917879494d717f103f88b1d6ff3f7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:52 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:53 + ls /var/log/sa-host 00:21:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:53 provisioning config files... 00:21:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5020533897561565271tmp [Pipeline] { [Pipeline] echo 00:21:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:53 ---> create-netrc.sh [Pipeline] } 00:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:54 ---> python-tools-install.sh [Pipeline] echo 00:21:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:54 ---> sudo-logs.sh 00:21:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:55 ---> job-cost.sh 00:21:55 lf-activate-venv: SKIPPING 00:21:55 DEBUG: total: 0.2199999988079071 00:21:55 INFO: Retrieving Stack Cost... 00:21:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:56 INFO: Archiving Costs [Pipeline] echo 00:21:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:56 ---> logs-deploy.sh 00:21:56 lf-activate-venv: SKIPPING 00:21:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/129 00:21:56 INFO: archiving workspace using pattern(s): 00:21:57 Archives upload complete. 00:21:57 INFO: archiving logs to Nexus