Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 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-ssh10665239751246490416.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-ssh12115168215408318255.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-ssh14921592363289758621.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-ssh2944377275362486165.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-ssh4746077435599982606.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5374 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 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 (main) Commit message: "Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.18" > 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 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 > git rev-list --no-walk 5f6ddc471072d7de5768bf3a6831573b01813ed1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:44:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:44:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:44:19 ========================================================= 20:44:19 EdgeX Global Pipelines Version Info 20:44:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:44:20 ------------------- 20:44:20 stable info: 20:44:20 ------------------- 20:44:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:44:20 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:44:20 Message: update stable to v1.0.253 20:44:21 ------------------- 20:44:21 experimental info: 20:44:21 ------------------- 20:44:21 Commited By: **** collab-it+edgex@linuxfoundation.org 20:44:21 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:44:21 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 626ade4 [Pipeline] echo 20:44:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:21 provisioning config files... 20:44:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8588102797591046412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:22 ---> docker-login.sh 20:44:22 nexus3.edgexfoundry.org:10001 20:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:22 Configure a credential helper to remove this warning. See 20:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:22 20:44:22 Login Succeeded 20:44:22 nexus3.edgexfoundry.org:10002 20:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:22 Configure a credential helper to remove this warning. See 20:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:22 20:44:22 Login Succeeded 20:44:22 nexus3.edgexfoundry.org:10003 20:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:22 Configure a credential helper to remove this warning. See 20:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:22 20:44:22 Login Succeeded 20:44:22 nexus3.edgexfoundry.org:10004 20:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:22 Configure a credential helper to remove this warning. See 20:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:22 20:44:22 Login Succeeded 20:44:22 docker.io 20:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:23 Configure a credential helper to remove this warning. See 20:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:23 20:44:23 Login Succeeded 20:44:23 ---> docker-login.sh ends [Pipeline] } 20:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:44:23 + git rev-list -1 --merges 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7~1..626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] echo 20:44:23 -----------> git rev-list -1 --merges 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7~1..626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:44:23 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [false] [Pipeline] sh 20:44:23 + git log --format=format:%s -1 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] echo 20:44:23 ========================================================= 20:44:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:44:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:44:24 + git log --format=format:%s -1 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] echo 20:44:24 [semverPrep] GIT_COMMIT: 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7, Commit Message: Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.18 [Pipeline] echo 20:44:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:44:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:44:24 + grep -v github /etc/ssh/ssh_known_hosts 20:44:24 + [ -e /tmp/ssh_known_hosts ] 20:44:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:44:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:44:24 + sudo tee -a /etc/ssh/ssh_known_hosts 20:44:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:25 20:44:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:44:25 b85a868b505f: Pulling fs layer 20:44:25 e2be974225ed: Pulling fs layer 20:44:25 339a4e72a1f5: Pulling fs layer 20:44:25 988bab9f4d93: Pulling fs layer 20:44:25 1469e6f7b9e6: Pulling fs layer 20:44:25 eaf3925da568: Pulling fs layer 20:44:25 bab4dde63d76: Pulling fs layer 20:44:25 bde34c3a00c8: Pulling fs layer 20:44:25 b352a97aabf1: Pulling fs layer 20:44:25 4872d77fe225: Pulling fs layer 20:44:25 5851b861e8e6: Pulling fs layer 20:44:25 b352a97aabf1: Waiting 20:44:25 bab4dde63d76: Waiting 20:44:25 bde34c3a00c8: Waiting 20:44:25 4872d77fe225: Waiting 20:44:25 5851b861e8e6: Waiting 20:44:25 988bab9f4d93: Waiting 20:44:25 1469e6f7b9e6: Waiting 20:44:25 eaf3925da568: Waiting 20:44:25 e2be974225ed: Verifying Checksum 20:44:25 e2be974225ed: Download complete 20:44:25 988bab9f4d93: Verifying Checksum 20:44:25 988bab9f4d93: Download complete 20:44:25 1469e6f7b9e6: Verifying Checksum 20:44:25 1469e6f7b9e6: Download complete 20:44:25 eaf3925da568: Verifying Checksum 20:44:25 339a4e72a1f5: Verifying Checksum 20:44:25 339a4e72a1f5: Download complete 20:44:25 bde34c3a00c8: Download complete 20:44:25 b352a97aabf1: Download complete 20:44:25 4872d77fe225: Verifying Checksum 20:44:25 4872d77fe225: Download complete 20:44:25 5851b861e8e6: Verifying Checksum 20:44:25 5851b861e8e6: Download complete 20:44:25 b85a868b505f: Verifying Checksum 20:44:25 b85a868b505f: Download complete 20:44:25 bab4dde63d76: Verifying Checksum 20:44:25 bab4dde63d76: Download complete 20:44:26 b85a868b505f: Pull complete 20:44:26 e2be974225ed: Pull complete 20:44:27 339a4e72a1f5: Pull complete 20:44:27 988bab9f4d93: Pull complete 20:44:27 1469e6f7b9e6: Pull complete 20:44:27 eaf3925da568: Pull complete 20:44:29 bab4dde63d76: Pull complete 20:44:29 bde34c3a00c8: Pull complete 20:44:29 b352a97aabf1: Pull complete 20:44:29 4872d77fe225: Pull complete 20:44:29 5851b861e8e6: Pull complete 20:44:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:29 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:44:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:44:32 $ docker top 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 -eo pid,comm 20:44:32 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). 20:44:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:32 [ssh-agent] Looking for ssh-agent implementation... 20:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:32 $ docker exec 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 ssh-agent 20:44:32 SSH_AUTH_SOCK=/tmp/ssh-ce5LkceWtphm/agent.32 20:44:32 SSH_AGENT_PID=38 20:44:32 Running ssh-add (command line suppressed) 20:44:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4488313461722742819.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4488313461722742819.key) 20:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:32 + git tag --points-at HEAD [Pipeline] } 20:44:32 $ docker exec --env ******** --env ******** 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 ssh-agent -k 20:44:33 unset SSH_AUTH_SOCK; 20:44:33 unset SSH_AGENT_PID; 20:44:33 echo Agent pid 38 killed; 20:44:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:44:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:33 [ssh-agent] Looking for ssh-agent implementation... 20:44:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:33 $ docker exec 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 ssh-agent 20:44:33 SSH_AUTH_SOCK=/tmp/ssh-SKr08fJxELTf/agent.70 20:44:33 SSH_AGENT_PID=76 20:44:33 Running ssh-add (command line suppressed) 20:44:33 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7102983452549378069.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7102983452549378069.key) 20:44:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:33 + git semver init 20:44:33 2023-09-05 20:44:33,826 [run_init] DEBUG init version:0.0.0 force:False 20:44:33 2023-09-05 20:44:33,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:44:33 2023-09-05 20:44:33,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:44:33 2023-09-05 20:44:33,828 [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) 20:44:34 2023-09-05 20:44:34,538 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:44:34 2023-09-05 20:44:34,538 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:44:34 2023-09-05 20:44:34,538 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:44:34 2023-09-05 20:44:34,538 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:44:34 3.1.0-dev.15 [Pipeline] } 20:44:34 $ docker exec --env ******** --env ******** 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 ssh-agent -k 20:44:34 unset SSH_AUTH_SOCK; 20:44:34 unset SSH_AGENT_PID; 20:44:34 echo Agent pid 76 killed; 20:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:35 + git semver [Pipeline] } 20:44:35 $ docker stop --time=1 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 20:44:36 $ docker rm -f --volumes 15a00553a511c15d46abf9a369e735a7d6f1fa095ab82ff528e88905fa68d526 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:44:37 Stashed 1 file(s) [Pipeline] echo 20:44:37 [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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 20:44:37 provisioning config files... 20:44:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6725878848975649908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:37 ---> docker-login.sh 20:44:37 nexus3.edgexfoundry.org:10001 20:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:37 Configure a credential helper to remove this warning. See 20:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:37 20:44:37 Login Succeeded 20:44:37 nexus3.edgexfoundry.org:10002 20:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:37 Configure a credential helper to remove this warning. See 20:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:37 20:44:37 Login Succeeded 20:44:37 nexus3.edgexfoundry.org:10003 20:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:38 Configure a credential helper to remove this warning. See 20:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:38 20:44:38 Login Succeeded 20:44:38 nexus3.edgexfoundry.org:10004 20:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:38 Configure a credential helper to remove this warning. See 20:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:38 20:44:38 Login Succeeded 20:44:38 docker.io 20:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:38 Configure a credential helper to remove this warning. See 20:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:38 20:44:38 Login Succeeded 20:44:38 ---> docker-login.sh ends [Pipeline] } 20:44:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:44:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:38 ========================================================= 20:44:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:44:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:38 + 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 . 20:44:38 Sending build context to Docker daemon 2.152MB 20:44:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:44:38 Step 2/13 : FROM ${BASE} AS builder 20:44:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:44:38 4db1b89c0bd1: Pulling fs layer 20:44:38 6911f1a30b25: Pulling fs layer 20:44:38 e194b8c5c2a9: Pulling fs layer 20:44:38 6863d3e3a2b1: Pulling fs layer 20:44:38 ec0bb842ea78: Pulling fs layer 20:44:38 40a00589a448: Pulling fs layer 20:44:38 6c08303d61cc: Pulling fs layer 20:44:38 798269fcf238: Pulling fs layer 20:44:38 6863d3e3a2b1: Waiting 20:44:38 40a00589a448: Waiting 20:44:38 6c08303d61cc: Waiting 20:44:38 ec0bb842ea78: Waiting 20:44:38 6911f1a30b25: Verifying Checksum 20:44:38 6911f1a30b25: Download complete 20:44:38 6863d3e3a2b1: Verifying Checksum 20:44:38 6863d3e3a2b1: Download complete 20:44:38 ec0bb842ea78: Verifying Checksum 20:44:38 ec0bb842ea78: Download complete 20:44:38 4db1b89c0bd1: Verifying Checksum 20:44:38 4db1b89c0bd1: Download complete 20:44:39 40a00589a448: Verifying Checksum 20:44:39 40a00589a448: Download complete 20:44:39 4db1b89c0bd1: Pull complete 20:44:39 6911f1a30b25: Pull complete 20:44:39 798269fcf238: Verifying Checksum 20:44:39 798269fcf238: Download complete 20:44:39 e194b8c5c2a9: Verifying Checksum 20:44:39 e194b8c5c2a9: Download complete 20:44:39 6c08303d61cc: Verifying Checksum 20:44:39 6c08303d61cc: Download complete 20:44:43 e194b8c5c2a9: Pull complete 20:44:43 6863d3e3a2b1: Pull complete 20:44:43 ec0bb842ea78: Pull complete 20:44:43 40a00589a448: Pull complete 20:44:45 6c08303d61cc: Pull complete 20:44:46 798269fcf238: Pull complete 20:44:46 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:44:46 ---> ec979cd7f677 20:44:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:44:51 ---> Running in 4766df3461fa 20:44:51 Removing intermediate container 4766df3461fa 20:44:51 ---> 3b769ba1b52f 20:44:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:51 ---> Running in 3f9a5be5fe52 20:44:51 Removing intermediate container 3f9a5be5fe52 20:44:51 ---> e5cc5a83b003 20:44:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:44:51 ---> Running in 2e8701d6c952 20:44:51 Removing intermediate container 2e8701d6c952 20:44:51 ---> 88cb65d6d8b5 20:44:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:44:51 ---> Running in 0e3d46763a9f 20:44:51 Removing intermediate container 0e3d46763a9f 20:44:51 ---> 96329a8b67cd 20:44:51 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:51 ---> Running in 2daefb424416 20:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:44:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:44:51 (1/14) Installing libintl (0.21.1-r1) 20:44:51 (2/14) Installing eudev-libs (3.2.11-r4) 20:44:51 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:44:51 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:44:51 (5/14) Installing v4l-utils (1.22.1-r2) 20:44:51 (6/14) Installing udev-init-scripts (35-r1) 20:44:51 (7/14) Installing libblkid (2.38.1-r1) 20:44:51 (8/14) Installing xz-libs (5.2.9-r0) 20:44:51 (9/14) Installing zstd-libs (1.5.5-r0) 20:44:51 (10/14) Installing kmod-libs (30-r1) 20:44:51 (11/14) Installing eudev (3.2.11-r4) 20:44:51 (12/14) Installing eudev-dev (3.2.11-r4) 20:44:51 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:44:51 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:44:51 Executing busybox-1.35.0-r29.trigger 20:44:51 Executing eudev-3.2.11-r4.trigger 20:44:51 OK: 272 MiB in 67 packages 20:44:52 Removing intermediate container 2daefb424416 20:44:52 ---> e010170934d5 20:44:52 Step 8/13 : WORKDIR /device-usb-camera 20:44:52 ---> Running in 182cbdb2a84f 20:44:52 Removing intermediate container 182cbdb2a84f 20:44:52 ---> b8f44601cc52 20:44:52 Step 9/13 : COPY go.mod vendor* ./ 20:44:52 Still waiting to schedule task 20:44:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:44:52 ---> c48ecd7b5fbb 20:44:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:52 ---> Running in e00845db5f75 20:45:19 Removing intermediate container e00845db5f75 20:45:19 ---> 0a38f1422601 20:45:19 Step 11/13 : COPY . . 20:45:19 ---> 421f6fa8a222 20:45:19 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:45:19 ---> Running in bb5a20576fdf 20:45:19  % Total % Received % Xferd Average Speed Time Time Time Current 20:45:19  Dload Upload Total Spent Left Speed 20:45:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 8663 0 --:--:-- --:--:-- --:--:-- 8701 20:45:19 Removing intermediate container bb5a20576fdf 20:45:19 ---> 60cfec7db6bb 20:45:19 Step 13/13 : RUN ${MAKE} 20:45:19 ---> Running in f99507b78df5 20:45:19 noop 20:45:20 Removing intermediate container f99507b78df5 20:45:20 ---> 4ac9fbde0b05 20:45:20 Successfully built 4ac9fbde0b05 20:45:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:20 + docker inspect -f . ci-base-image-x86_64 20:45:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:20 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:45:21 $ docker top ba15637b4fb76bcd24b28b059e8a53da7bca7625ea7112e556051b02998be80d -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:21 + go version 20:45:21 go version go1.20.6 linux/amd64 [Pipeline] } 20:45:21 $ docker stop --time=1 ba15637b4fb76bcd24b28b059e8a53da7bca7625ea7112e556051b02998be80d 20:45:22 $ docker rm -f --volumes ba15637b4fb76bcd24b28b059e8a53da7bca7625ea7112e556051b02998be80d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:23 + docker inspect -f . ci-base-image-x86_64 20:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:23 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:45:23 $ docker top d85572f3db1a97eaa1b943e8b98d4ef9bd46aa5619d7180e90265741385ff2b3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:24 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:45:24 + make test 20:45:24 go test ./... -coverprofile=coverage.out ./... 20:45:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:45:39 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:45:39 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements 20:45:46 go vet ./... 20:45:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:49 ./bin/test-attribution-txt.sh [Pipeline] echo 20:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:45:49 $ docker stop --time=1 d85572f3db1a97eaa1b943e8b98d4ef9bd46aa5619d7180e90265741385ff2b3 20:45:55 $ docker rm -f --volumes d85572f3db1a97eaa1b943e8b98d4ef9bd46aa5619d7180e90265741385ff2b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:56 + ls -al . 20:45:56 total 220 20:45:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:45 . 20:45:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:44 .. 20:45:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:44 .git 20:45:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:44 .github 20:45:56 -rw-rw-r-- 1 jenkins jenkins 468 Sep 5 20:44 .gitignore 20:45:56 -rw-rw-r-- 1 jenkins jenkins 45 Sep 5 20:44 .golangci.yml 20:45:56 -rw-rw-r-- 1 jenkins jenkins 77 Sep 5 20:44 .hadolint.yml 20:45:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:44 .semver 20:45:56 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 5 20:44 Attribution.txt 20:45:56 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 5 20:44 CHANGELOG.md 20:45:56 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 5 20:44 Dockerfile 20:45:56 -rw-rw-r-- 1 jenkins jenkins 678 Sep 5 20:44 GOVERNANCE.md 20:45:56 -rw-rw-r-- 1 jenkins jenkins 659 Sep 5 20:44 Jenkinsfile 20:45:56 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 5 20:44 LICENSE 20:45:56 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 5 20:44 Makefile 20:45:56 -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 20:44 OWNERS.md 20:45:56 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 5 20:44 README.md 20:45:56 -rw-rw-r-- 1 jenkins jenkins 12 Sep 5 20:44 VERSION 20:45:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:44 bin 20:45:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:44 cmd 20:45:56 -rw-r--r-- 1 jenkins jenkins 53856 Sep 5 20:45 coverage.out 20:45:56 -rwxrwxr-x 1 jenkins jenkins 140 Sep 5 20:44 docker-entrypoint.sh 20:45:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:44 docs 20:45:56 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 5 20:44 go.mod 20:45:56 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 5 20:44 go.sum 20:45:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:44 internal 20:45:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:44 snap 20:45:56 -rw-rw-r-- 1 jenkins jenkins 231 Sep 5 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:57 + 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=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 --label arch=amd64 --label version=3.1.0-dev.15 . 20:45:57 Sending build context to Docker daemon 2.207MB 20:45:57 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:45:57 Step 2/36 : FROM ${BASE} AS builder 20:45:57 ---> 4ac9fbde0b05 20:45:57 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:45:57 ---> Running in d96a7e76fa18 20:45:57 Removing intermediate container d96a7e76fa18 20:45:57 ---> 4c47953ff8e1 20:45:57 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:57 ---> Running in 30bb6cedb2f8 20:45:57 Removing intermediate container 30bb6cedb2f8 20:45:57 ---> 9c65abd5aba3 20:45:57 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:45:57 ---> Running in 94f8a3854875 20:45:57 Removing intermediate container 94f8a3854875 20:45:57 ---> dbf1ad9b5799 20:45:57 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:45:57 ---> Running in e2738f2b98ed 20:45:57 Removing intermediate container e2738f2b98ed 20:45:57 ---> c8d301f6d0e8 20:45:57 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:57 ---> Running in 296e29e3c4c9 20:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:45:58 OK: 272 MiB in 67 packages 20:45:58 Removing intermediate container 296e29e3c4c9 20:45:58 ---> 26655fe20a04 20:45:58 Step 8/36 : WORKDIR /device-usb-camera 20:45:58 ---> Running in 4bc781d25ea3 20:45:58 Removing intermediate container 4bc781d25ea3 20:45:58 ---> ac6cab92eaec 20:45:58 Step 9/36 : COPY go.mod vendor* ./ 20:45:59 ---> 30b47aa7fa39 20:45:59 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:59 ---> Running in 3821b946660f 20:45:59 Removing intermediate container 3821b946660f 20:45:59 ---> f661807b1521 20:45:59 Step 11/36 : COPY . . 20:46:00 ---> ca756558fbfa 20:46:00 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:46:00 ---> Running in 8576b70d3e64 20:46:00  % Total % Received % Xferd Average Speed Time Time Time Current 20:46:00  Dload Upload Total Spent Left  Speed 20:46:00 0 0 0  0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 26115 0 --:--:-- --:--:-- --:--:-- 26659 20:46:00 Removing intermediate container 8576b70d3e64 20:46:00 ---> 5cda18d8b114 20:46:00 Step 13/36 : RUN ${MAKE} 20:46:00 ---> Running in c86374771515 20:46:01 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:46:22 Removing intermediate container c86374771515 20:46:22 ---> bfdb5a04e6be 20:46:22 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:46:22 v0.21.6: Pulling from aler9/rtsp-simple-server 20:46:22 4acc49c71d14: Pulling fs layer 20:46:22 4acc49c71d14: Verifying Checksum 20:46:22 4acc49c71d14: Download complete 20:46:22 4acc49c71d14: Pull complete 20:46:22 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:46:22 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:46:22 ---> 01a2bd3e5fff 20:46:22 Step 15/36 : FROM alpine:3.17 20:46:22 3.17: Pulling from library/alpine 20:46:22 9398808236ff: Pulling fs layer 20:46:22 9398808236ff: Download complete 20:46:22 9398808236ff: Pull complete 20:46:22 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:46:22 Status: Downloaded newer image for alpine:3.17 20:46:22 ---> 1e0b8b5322fc 20:46:22 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:46:23 ---> Running in 070bf2c7a50a 20:46:23 Removing intermediate container 070bf2c7a50a 20:46:23 ---> 5bec6f9b1150 20:46:23 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:46:23 ---> Running in 10bf3c64eee6 20:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:46:23 (1/86) Installing dumb-init (1.2.5-r2) 20:46:23 (2/86) Installing sdl2 (2.26.5-r0) 20:46:23 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:46:24 (4/86) Installing libxau (1.0.10-r0) 20:46:24 (5/86) Installing libmd (1.0.4-r0) 20:46:24 (6/86) Installing libbsd (0.11.7-r0) 20:46:24 (7/86) Installing libxdmcp (1.1.4-r0) 20:46:24 (8/86) Installing libxcb (1.15-r0) 20:46:24 (9/86) Installing libx11 (1.8.4-r1) 20:46:24 (10/86) Installing aom-libs (3.5.0-r0) 20:46:24 (11/86) Installing alsa-lib (1.2.8-r0) 20:46:24 (12/86) Installing libexpat (2.5.0-r0) 20:46:24 (13/86) Installing brotli-libs (1.0.9-r9) 20:46:24 (14/86) Installing libbz2 (1.0.8-r4) 20:46:24 (15/86) Installing libpng (1.6.39-r0) 20:46:24 (16/86) Installing freetype (2.12.1-r0) 20:46:24 (17/86) Installing fontconfig (2.14.1-r0) 20:46:24 (18/86) Installing fribidi (1.0.12-r0) 20:46:24 (19/86) Installing libffi (3.4.4-r0) 20:46:24 (20/86) Installing libintl (0.21.1-r1) 20:46:24 (21/86) Installing libblkid (2.38.1-r1) 20:46:24 (22/86) Installing libmount (2.38.1-r1) 20:46:24 (23/86) Installing pcre2 (10.42-r0) 20:46:24 (24/86) Installing glib (2.74.7-r0) 20:46:24 (25/86) Installing graphite2 (1.3.14-r2) 20:46:24 (26/86) Installing harfbuzz (5.3.1-r1) 20:46:24 (27/86) Installing libass (0.16.0-r1) 20:46:24 (28/86) Installing libdav1d (1.0.0-r2) 20:46:24 (29/86) Installing hwdata-pci (0.364-r0) 20:46:24 (30/86) Installing libpciaccess (0.17-r0) 20:46:24 (31/86) Installing libdrm (2.4.114-r0) 20:46:24 (32/86) Installing gmp (6.2.1-r2) 20:46:24 (33/86) Installing nettle (3.8.1-r0) 20:46:24 (34/86) Installing p11-kit (0.24.1-r1) 20:46:24 (35/86) Installing libtasn1 (4.19.0-r0) 20:46:24 (36/86) Installing libunistring (1.1-r0) 20:46:24 (37/86) Installing gnutls (3.7.8-r3) 20:46:24 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:46:24 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 20:46:24 (40/86) Installing lame (3.100-r2) 20:46:24 (41/86) Installing opus (1.3.1-r1) 20:46:24 (42/86) Installing libasyncns (0.8-r1) 20:46:24 (43/86) Installing dbus-libs (1.14.8-r0) 20:46:24 (44/86) Installing libltdl (2.4.7-r1) 20:46:24 (45/86) Installing orc (0.4.33-r0) 20:46:24 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:46:24 (47/86) Installing libogg (1.3.5-r2) 20:46:24 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:46:24 (49/86) Installing flac-libs (1.4.2-r0) 20:46:24 (50/86) Installing libvorbis (1.3.7-r0) 20:46:24 (51/86) Installing libsndfile (1.1.0-r2) 20:46:24 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:46:24 (53/86) Installing soxr (0.1.3-r3) 20:46:24 (54/86) Installing speexdsp (1.2.1-r0) 20:46:24 (55/86) Installing tdb-libs (1.4.6-r0) 20:46:24 (56/86) Installing libpulse (16.1-r6) 20:46:24 (57/86) Installing cjson (1.7.15-r3) 20:46:24 (58/86) Installing mbedtls (2.28.4-r0) 20:46:24 (59/86) Installing librist (0.2.7-r0) 20:46:24 (60/86) Installing libsrt (1.5.1-r0) 20:46:24 (61/86) Installing libssh (0.10.5-r0) 20:46:24 (62/86) Installing libtheora (1.1.1-r16) 20:46:24 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:46:24 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:46:24 (65/86) Installing libxext (1.3.5-r0) 20:46:24 (66/86) Installing libxfixes (6.0.0-r0) 20:46:24 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:46:24 (68/86) Installing libva (2.16.0-r0) 20:46:24 (69/86) Installing libvdpau (1.5-r0) 20:46:24 (70/86) Installing vidstab (1.1.0-r2) 20:46:24 (71/86) Installing libvpx (1.12.0-r1) 20:46:24 (72/86) Installing libwebp (1.2.4-r2) 20:46:24 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:46:24 (74/86) Installing numactl (2.0.16-r1) 20:46:24 (75/86) Installing x265-libs (3.5-r3) 20:46:25 (76/86) Installing xvidcore (1.3.7-r1) 20:46:25 (77/86) Installing libsodium (1.0.18-r2) 20:46:25 (78/86) Installing libzmq (4.3.4-r1) 20:46:25 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:46:25 (80/86) Installing ffmpeg (5.1.3-r0) 20:46:25 (81/86) Installing udev-init-scripts (35-r1) 20:46:25 (82/86) Installing eudev-libs (3.2.11-r4) 20:46:25 (83/86) Installing xz-libs (5.2.9-r0) 20:46:25 (84/86) Installing zstd-libs (1.5.5-r0) 20:46:25 (85/86) Installing kmod-libs (30-r1) 20:46:25 (86/86) Installing eudev (3.2.11-r4) 20:46:25 Executing busybox-1.35.0-r29.trigger 20:46:25 Executing eudev-3.2.11-r4.trigger 20:46:25 OK: 112 MiB in 101 packages 20:46:28 Removing intermediate container 10bf3c64eee6 20:46:28 ---> 4afab565903f 20:46:28 Step 18/36 : WORKDIR / 20:46:28 ---> Running in 0cec9930334f 20:46:28 Removing intermediate container 0cec9930334f 20:46:28 ---> 0853e0999f04 20:46:28 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:46:28 ---> fa46632a6622 20:46:28 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:46:28 ---> b135c1d8d3bf 20:46:28 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:46:28 ---> bd92cdf350b0 20:46:28 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:46:28 ---> 5613efe28976 20:46:28 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:46:28 ---> c70f5d528936 20:46:28 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:46:28 ---> b2a1b17c7300 20:46:28 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:46:29 ---> 168b31aeae89 20:46:29 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:46:29 ---> Running in 8b43d33dbc9a 20:46:29 Removing intermediate container 8b43d33dbc9a 20:46:29 ---> 58cfd880c339 20:46:29 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:46:29 ---> Running in 8a832fa634d9 20:46:30 Removing intermediate container 8a832fa634d9 20:46:30 ---> 486b95ac3505 20:46:30 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:46:30 ---> Running in 0cc1dac5a636 20:46:31 Removing intermediate container 0cc1dac5a636 20:46:31 ---> 4cd2c2d11a21 20:46:31 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:46:31 ---> Running in c8a40b508f86 20:46:31 Removing intermediate container c8a40b508f86 20:46:31 ---> 88a8f0b88804 20:46:31 Step 30/36 : EXPOSE 59983 20:46:31 ---> Running in 3222bc2f7c43 20:46:31 Removing intermediate container 3222bc2f7c43 20:46:31 ---> 7acac19dc960 20:46:31 Step 31/36 : EXPOSE 8554 20:46:31 ---> Running in 0dca944d0179 20:46:31 Removing intermediate container 0dca944d0179 20:46:31 ---> 43ca086ec306 20:46:31 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:46:31 ---> Running in 2ab26b035b8d 20:46:31 Removing intermediate container 2ab26b035b8d 20:46:31 ---> bb7384f8f26a 20:46:31 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:46:31 ---> Running in 7cb58e3c6c51 20:46:31 Removing intermediate container 7cb58e3c6c51 20:46:31 ---> 684a36be5126 20:46:31 Step 34/36 : LABEL arch=amd64 20:46:31 ---> Running in d8f9d99b63c5 20:46:32 Removing intermediate container d8f9d99b63c5 20:46:32 ---> e1f9b352818f 20:46:32 Step 35/36 : LABEL git_sha=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:46:32 ---> Running in 3f9857233be2 20:46:32 Removing intermediate container 3f9857233be2 20:46:32 ---> 629a7437b2bc 20:46:32 Step 36/36 : LABEL version=3.1.0-dev.15 20:46:32 ---> Running in 5894578ed3f3 20:46:32 Removing intermediate container 5894578ed3f3 20:46:32 ---> 4481fb5efd24 20:46:32 [Warning] One or more build-args [ARCH] were not consumed 20:46:32 Successfully built 4481fb5efd24 20:46:32 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 20:46:32 provisioning config files... 20:46:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17375256396641205638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:32 ---> docker-login.sh 20:46:32 nexus3.edgexfoundry.org:10001 20:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:32 Configure a credential helper to remove this warning. See 20:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:32 20:46:32 Login Succeeded 20:46:32 nexus3.edgexfoundry.org:10002 20:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:32 Configure a credential helper to remove this warning. See 20:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:32 20:46:32 Login Succeeded 20:46:32 nexus3.edgexfoundry.org:10003 20:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:33 Configure a credential helper to remove this warning. See 20:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:33 20:46:33 Login Succeeded 20:46:33 nexus3.edgexfoundry.org:10004 20:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:33 Configure a credential helper to remove this warning. See 20:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:33 20:46:33 Login Succeeded 20:46:33 docker.io 20:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:33 Configure a credential helper to remove this warning. See 20:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:33 20:46:33 Login Succeeded 20:46:33 ---> docker-login.sh ends [Pipeline] } 20:46:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:33 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:46:33 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:46:33 latest 20:46:33 3.1.0-dev.15 20:46:33 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:46:33 main 20:46:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:33 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:46:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:46:34 4a777b9a965b: Preparing 20:46:34 80046071d704: Preparing 20:46:34 f35af9933789: Preparing 20:46:34 0ff37ba80736: Preparing 20:46:34 3827b5b91e75: Preparing 20:46:34 acc83c6ca332: Preparing 20:46:34 94072f24fff8: Preparing 20:46:34 777b825e3bf0: Preparing 20:46:34 51fbfa212b9c: Preparing 20:46:34 31d98a8092d4: Preparing 20:46:34 7b2a7f2624c1: Preparing 20:46:34 12ed9f1c087a: Preparing 20:46:34 36b50b131297: Preparing 20:46:34 12ed9f1c087a: Waiting 20:46:34 acc83c6ca332: Waiting 20:46:34 51fbfa212b9c: Waiting 20:46:34 31d98a8092d4: Waiting 20:46:34 36b50b131297: Waiting 20:46:34 94072f24fff8: Waiting 20:46:34 777b825e3bf0: Waiting 20:46:34 7b2a7f2624c1: Waiting 20:46:34 4a777b9a965b: Pushed 20:46:34 80046071d704: Pushed 20:46:34 f35af9933789: Pushed 20:46:34 0ff37ba80736: Pushed 20:46:34 acc83c6ca332: Pushed 20:46:34 94072f24fff8: Pushed 20:46:34 777b825e3bf0: Pushed 20:46:34 31d98a8092d4: Pushed 20:46:34 51fbfa212b9c: Pushed 20:46:34 36b50b131297: Layer already exists 20:46:36 3827b5b91e75: Pushed 20:46:36 7b2a7f2624c1: Pushed 20:46:43 12ed9f1c087a: Pushed 20:46:43 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7: digest: sha256:1fd20adc9e8b90562af771dd44af546ee5c69c7df66d575f63702baac2815d6b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:43 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:46:44 4a777b9a965b: Preparing 20:46:44 80046071d704: Preparing 20:46:44 f35af9933789: Preparing 20:46:44 0ff37ba80736: Preparing 20:46:44 3827b5b91e75: Preparing 20:46:44 acc83c6ca332: Preparing 20:46:44 94072f24fff8: Preparing 20:46:44 777b825e3bf0: Preparing 20:46:44 51fbfa212b9c: Preparing 20:46:44 31d98a8092d4: Preparing 20:46:44 7b2a7f2624c1: Preparing 20:46:44 12ed9f1c087a: Preparing 20:46:44 36b50b131297: Preparing 20:46:44 94072f24fff8: Waiting 20:46:44 acc83c6ca332: Waiting 20:46:44 31d98a8092d4: Waiting 20:46:44 7b2a7f2624c1: Waiting 20:46:44 777b825e3bf0: Waiting 20:46:44 36b50b131297: Waiting 20:46:44 51fbfa212b9c: Waiting 20:46:44 12ed9f1c087a: Waiting 20:46:44 3827b5b91e75: Layer already exists 20:46:44 80046071d704: Layer already exists 20:46:44 4a777b9a965b: Layer already exists 20:46:44 0ff37ba80736: Layer already exists 20:46:44 f35af9933789: Layer already exists 20:46:44 94072f24fff8: Layer already exists 20:46:44 777b825e3bf0: Layer already exists 20:46:44 acc83c6ca332: Layer already exists 20:46:44 31d98a8092d4: Layer already exists 20:46:44 51fbfa212b9c: Layer already exists 20:46:44 7b2a7f2624c1: Layer already exists 20:46:44 36b50b131297: Layer already exists 20:46:44 12ed9f1c087a: Layer already exists 20:46:44 latest: digest: sha256:1fd20adc9e8b90562af771dd44af546ee5c69c7df66d575f63702baac2815d6b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:44 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.15 20:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:46:44 4a777b9a965b: Preparing 20:46:44 80046071d704: Preparing 20:46:44 f35af9933789: Preparing 20:46:44 0ff37ba80736: Preparing 20:46:44 3827b5b91e75: Preparing 20:46:44 acc83c6ca332: Preparing 20:46:44 94072f24fff8: Preparing 20:46:44 777b825e3bf0: Preparing 20:46:44 51fbfa212b9c: Preparing 20:46:44 31d98a8092d4: Preparing 20:46:44 7b2a7f2624c1: Preparing 20:46:44 12ed9f1c087a: Preparing 20:46:44 36b50b131297: Preparing 20:46:44 acc83c6ca332: Waiting 20:46:44 94072f24fff8: Waiting 20:46:44 777b825e3bf0: Waiting 20:46:44 51fbfa212b9c: Waiting 20:46:44 31d98a8092d4: Waiting 20:46:44 7b2a7f2624c1: Waiting 20:46:44 12ed9f1c087a: Waiting 20:46:44 36b50b131297: Waiting 20:46:44 3827b5b91e75: Layer already exists 20:46:44 0ff37ba80736: Layer already exists 20:46:44 f35af9933789: Layer already exists 20:46:44 80046071d704: Layer already exists 20:46:44 4a777b9a965b: Layer already exists 20:46:44 acc83c6ca332: Layer already exists 20:46:44 777b825e3bf0: Layer already exists 20:46:44 31d98a8092d4: Layer already exists 20:46:44 94072f24fff8: Layer already exists 20:46:44 51fbfa212b9c: Layer already exists 20:46:44 7b2a7f2624c1: Layer already exists 20:46:44 12ed9f1c087a: Layer already exists 20:46:44 36b50b131297: Layer already exists 20:46:44 3.1.0-dev.15: digest: sha256:1fd20adc9e8b90562af771dd44af546ee5c69c7df66d575f63702baac2815d6b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:44 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:46:45 4a777b9a965b: Preparing 20:46:45 80046071d704: Preparing 20:46:45 f35af9933789: Preparing 20:46:45 0ff37ba80736: Preparing 20:46:45 3827b5b91e75: Preparing 20:46:45 acc83c6ca332: Preparing 20:46:45 94072f24fff8: Preparing 20:46:45 777b825e3bf0: Preparing 20:46:45 51fbfa212b9c: Preparing 20:46:45 31d98a8092d4: Preparing 20:46:45 7b2a7f2624c1: Preparing 20:46:45 12ed9f1c087a: Preparing 20:46:45 36b50b131297: Preparing 20:46:45 acc83c6ca332: Waiting 20:46:45 94072f24fff8: Waiting 20:46:45 777b825e3bf0: Waiting 20:46:45 12ed9f1c087a: Waiting 20:46:45 51fbfa212b9c: Waiting 20:46:45 36b50b131297: Waiting 20:46:45 3827b5b91e75: Layer already exists 20:46:45 4a777b9a965b: Layer already exists 20:46:45 f35af9933789: Layer already exists 20:46:45 80046071d704: Layer already exists 20:46:45 0ff37ba80736: Layer already exists 20:46:45 acc83c6ca332: Layer already exists 20:46:45 777b825e3bf0: Layer already exists 20:46:45 94072f24fff8: Layer already exists 20:46:45 51fbfa212b9c: Layer already exists 20:46:45 31d98a8092d4: Layer already exists 20:46:45 7b2a7f2624c1: Layer already exists 20:46:45 36b50b131297: Layer already exists 20:46:45 12ed9f1c087a: Layer already exists 20:46:45 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15: digest: sha256:1fd20adc9e8b90562af771dd44af546ee5c69c7df66d575f63702baac2815d6b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:46:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:46:45 4a777b9a965b: Preparing 20:46:45 80046071d704: Preparing 20:46:45 f35af9933789: Preparing 20:46:45 0ff37ba80736: Preparing 20:46:45 3827b5b91e75: Preparing 20:46:45 acc83c6ca332: Preparing 20:46:45 94072f24fff8: Preparing 20:46:45 777b825e3bf0: Preparing 20:46:45 51fbfa212b9c: Preparing 20:46:45 31d98a8092d4: Preparing 20:46:45 7b2a7f2624c1: Preparing 20:46:45 12ed9f1c087a: Preparing 20:46:45 36b50b131297: Preparing 20:46:45 777b825e3bf0: Waiting 20:46:45 94072f24fff8: Waiting 20:46:45 acc83c6ca332: Waiting 20:46:45 51fbfa212b9c: Waiting 20:46:45 12ed9f1c087a: Waiting 20:46:45 31d98a8092d4: Waiting 20:46:45 7b2a7f2624c1: Waiting 20:46:45 36b50b131297: Waiting 20:46:45 f35af9933789: Layer already exists 20:46:45 3827b5b91e75: Layer already exists 20:46:45 0ff37ba80736: Layer already exists 20:46:45 4a777b9a965b: Layer already exists 20:46:45 80046071d704: Layer already exists 20:46:45 acc83c6ca332: Layer already exists 20:46:45 94072f24fff8: Layer already exists 20:46:45 31d98a8092d4: Layer already exists 20:46:45 51fbfa212b9c: Layer already exists 20:46:45 777b825e3bf0: Layer already exists 20:46:45 7b2a7f2624c1: Layer already exists 20:46:45 36b50b131297: Layer already exists 20:46:45 12ed9f1c087a: Layer already exists 20:46:45 main: digest: sha256:1fd20adc9e8b90562af771dd44af546ee5c69c7df66d575f63702baac2815d6b size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:45 ===================================================== [Pipeline] echo 20:46:45 taggedImages: 20:46:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:46:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:46:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.15 20:46:45 - nexus3.edgexfoundry.org:10004/device-usb-camera:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:46: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 20:46:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:46 20:46:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:46 latest: Pulling from edgex-lftools-log-publisher 20:46:46 5eb5b503b376: Pulling fs layer 20:46:46 5c69ac0246d0: Pulling fs layer 20:46:46 ec43610c2a17: Pulling fs layer 20:46:46 3a2ae6a8a46f: Pulling fs layer 20:46:46 33b1e0a273af: Pulling fs layer 20:46:46 5d3b04190fa2: Pulling fs layer 20:46:46 2f39f015ded8: Pulling fs layer 20:46:46 3a2ae6a8a46f: Waiting 20:46:46 33b1e0a273af: Waiting 20:46:46 5d3b04190fa2: Waiting 20:46:46 2f39f015ded8: Waiting 20:46:46 5c69ac0246d0: Verifying Checksum 20:46:46 5c69ac0246d0: Download complete 20:46:46 3a2ae6a8a46f: Verifying Checksum 20:46:46 3a2ae6a8a46f: Download complete 20:46:46 ec43610c2a17: Verifying Checksum 20:46:46 ec43610c2a17: Download complete 20:46:46 5d3b04190fa2: Verifying Checksum 20:46:46 5d3b04190fa2: Download complete 20:46:46 33b1e0a273af: Download complete 20:46:46 5eb5b503b376: Download complete 20:46:47 2f39f015ded8: Download complete 20:46:48 5eb5b503b376: Pull complete 20:46:48 5c69ac0246d0: Pull complete 20:46:48 ec43610c2a17: Pull complete 20:46:48 3a2ae6a8a46f: Pull complete 20:46:48 33b1e0a273af: Pull complete 20:46:48 5d3b04190fa2: Pull complete 20:46:52 2f39f015ded8: Pull complete 20:46:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:46:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:52 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:46:55 $ docker top 34b041162eb76bef0b38226c002f1351d0b450159d02f3c8cc330d89ace6181b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:56 ---> job-cost.sh 20:46:56 lf-activate-venv: SKIPPING 20:46:56 INFO: No Stack... 20:46:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:56 INFO: Archiving Costs [Pipeline] sh 20:46:56 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 20:46:56 + cut -d, -f6 [Pipeline] lock 20:46:56 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] 20:46:56 Resource [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] did not exist. Created. 20:46:56 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:57 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:57 Stashed 1 file(s) [Pipeline] } 20:46:57 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:57 $ docker stop --time=1 34b041162eb76bef0b38226c002f1351d0b450159d02f3c8cc330d89ace6181b 20:46:58 $ docker rm -f --volumes 34b041162eb76bef0b38226c002f1351d0b450159d02f3c8cc330d89ace6181b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5375 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:47:31 Running in /w/workspace/device-usb-camera/139 [Pipeline] { [Pipeline] checkout 20:47:31 Selected Git installation does not exist. Using Default 20:47:31 The recommended git tool is: NONE 20:47:36 using credential edgex-jenkins-ssh 20:47:36 Cloning the remote Git repository 20:47:36 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:47:36 > git init /w/workspace/device-usb-camera/139 # timeout=10 20:47:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:47:36 > git --version # timeout=10 20:47:37 > git --version # 'git version 2.25.1' 20:47:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:47:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:37 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:47:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:38 Avoid second fetch 20:47:38 Checking out Revision 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 (main) 20:47:39 Commit message: "Merge pull request #280 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:38 > git config core.sparsecheckout # timeout=10 20:47:38 > git checkout -f 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 20:47:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:47:40 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:40 Dload Upload Total Spent Left Speed 20:47:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 20:47:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:47:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:47:41 + sudo tee /etc/docker/daemon.new 20:47:41 { 20:47:41 "registry-mirrors": [ 20:47:41 "https://nexus3.edgexfoundry.org:10001" 20:47:41 ], 20:47:41 "bip": "10.250.0.254/24", 20:47:41 "hosts": [ 20:47:41 "tcp://0.0.0.0:5555", 20:47:41 "unix:///var/run/docker.sock" 20:47:41 ], 20:47:41 "mtu": 1458, 20:47:41 "selinux-enabled": true, 20:47:41 "seccomp-profile": "/etc/docker/seccomp.json" 20:47:41 } [Pipeline] sh 20:47:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:47:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:00 provisioning config files... 20:48:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/139@tmp/config7506467159156150225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:00 ---> docker-login.sh 20:48:00 nexus3.edgexfoundry.org:10001 20:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:01 Configure a credential helper to remove this warning. See 20:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:01 20:48:01 Login Succeeded 20:48:01 nexus3.edgexfoundry.org:10002 20:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:01 Configure a credential helper to remove this warning. See 20:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:01 20:48:01 Login Succeeded 20:48:01 nexus3.edgexfoundry.org:10003 20:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:01 Configure a credential helper to remove this warning. See 20:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:01 20:48:01 Login Succeeded 20:48:01 nexus3.edgexfoundry.org:10004 20:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:02 Configure a credential helper to remove this warning. See 20:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:02 20:48:02 Login Succeeded 20:48:02 docker.io 20:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:02 Configure a credential helper to remove this warning. See 20:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:02 20:48:02 Login Succeeded 20:48:03 ---> docker-login.sh ends [Pipeline] } 20:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:03 ========================================================= 20:48:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:48:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:03 + 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 . 20:48:03 Sending build context to Docker daemon 1.285MB 20:48:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:48:03 Step 2/13 : FROM ${BASE} AS builder 20:48:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:48:04 edb6bdbacee9: Pulling fs layer 20:48:04 5f9638ab2659: Pulling fs layer 20:48:04 8d51d6327a98: Pulling fs layer 20:48:04 8b374f2dd631: Pulling fs layer 20:48:04 ec14aa9079de: Pulling fs layer 20:48:04 2f466654f4bb: Pulling fs layer 20:48:04 554e91adad29: Pulling fs layer 20:48:04 8b374f2dd631: Waiting 20:48:04 ec14aa9079de: Waiting 20:48:04 2f466654f4bb: Waiting 20:48:04 554e91adad29: Waiting 20:48:04 5f9638ab2659: Verifying Checksum 20:48:04 5f9638ab2659: Download complete 20:48:04 8b374f2dd631: Verifying Checksum 20:48:04 8b374f2dd631: Download complete 20:48:04 ec14aa9079de: Verifying Checksum 20:48:04 ec14aa9079de: Download complete 20:48:04 edb6bdbacee9: Verifying Checksum 20:48:04 edb6bdbacee9: Download complete 20:48:05 edb6bdbacee9: Pull complete 20:48:05 554e91adad29: Verifying Checksum 20:48:05 554e91adad29: Download complete 20:48:06 5f9638ab2659: Pull complete 20:48:07 8d51d6327a98: Verifying Checksum 20:48:07 8d51d6327a98: Download complete 20:48:07 2f466654f4bb: Verifying Checksum 20:48:07 2f466654f4bb: Download complete 20:48:19 8d51d6327a98: Pull complete 20:48:19 8b374f2dd631: Pull complete 20:48:19 ec14aa9079de: Pull complete 20:48:26 2f466654f4bb: Pull complete 20:48:28 554e91adad29: Pull complete 20:48:28 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:48:28 ---> 1e15ea492957 20:48:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:48:30 ---> Running in 5c8312e0f1bc 20:48:30 Removing intermediate container 5c8312e0f1bc 20:48:30 ---> 05ba3b30ea08 20:48:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:30 ---> Running in 5257b607efac 20:48:31 Removing intermediate container 5257b607efac 20:48:31 ---> 37581494ea91 20:48:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:48:31 ---> Running in 29740ff7526f 20:48:31 Removing intermediate container 29740ff7526f 20:48:31 ---> f898699b7a25 20:48:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:48:31 ---> Running in 1f727c85b1ac 20:48:31 Removing intermediate container 1f727c85b1ac 20:48:31 ---> e174a16a32c8 20:48:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:48:31 ---> Running in b36e99a561c4 20:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:48:35 (1/14) Installing libintl (0.21.1-r1) 20:48:35 (2/14) Installing eudev-libs (3.2.11-r4) 20:48:35 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:48:35 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:48:35 (5/14) Installing v4l-utils (1.22.1-r2) 20:48:35 (6/14) Installing udev-init-scripts (35-r1) 20:48:35 (7/14) Installing libblkid (2.38.1-r1) 20:48:35 (8/14) Installing xz-libs (5.2.9-r0) 20:48:35 (9/14) Installing zstd-libs (1.5.5-r0) 20:48:35 (10/14) Installing kmod-libs (30-r1) 20:48:35 (11/14) Installing eudev (3.2.11-r4) 20:48:35 (12/14) Installing eudev-dev (3.2.11-r4) 20:48:35 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:48:35 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:48:35 Executing busybox-1.35.0-r29.trigger 20:48:35 Executing eudev-3.2.11-r4.trigger 20:48:35 OK: 271 MiB in 67 packages 20:48:38 Removing intermediate container b36e99a561c4 20:48:38 ---> 70bb3e0b37af 20:48:38 Step 8/13 : WORKDIR /device-usb-camera 20:48:38 ---> Running in 012a9fd7bd51 20:48:38 Removing intermediate container 012a9fd7bd51 20:48:38 ---> 07bb1642f300 20:48:38 Step 9/13 : COPY go.mod vendor* ./ 20:48:39 ---> 6b672281c630 20:48:39 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:39 ---> Running in 21baa62d652b 20:49:47 Removing intermediate container 21baa62d652b 20:49:47 ---> 55a5b8dede1e 20:49:47 Step 11/13 : COPY . . 20:49:48 ---> d6fef93de7bc 20:49:48 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:49:48 ---> Running in c1c63be2aa13 20:49:49  % Total % Received % Xferd Average Speed Time Time Time Current 20:49:49 Dload Upload Total Spent Left Speed 20:49:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5075 0 --:--:-- --:--:-- --:--:-- 5093 20:49:49 Removing intermediate container c1c63be2aa13 20:49:49 ---> 77006b39dc26 20:49:49 Step 13/13 : RUN ${MAKE} 20:49:49 ---> Running in 4d8300ead5a4 20:49:50 noop 20:49:51 Removing intermediate container 4d8300ead5a4 20:49:51 ---> d0c283f75536 20:49:51 Successfully built d0c283f75536 20:49:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:52 + docker inspect -f . ci-base-image-arm64 20:49:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:52 prd-ubuntu20.04-docker-arm64-4c-16g-5375 does not seem to be running inside a container 20:49:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/139 -v /w/workspace/device-usb-camera/139:/w/workspace/device-usb-camera/139:rw,z -v /w/workspace/device-usb-camera/139@tmp:/w/workspace/device-usb-camera/139@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 20:49:53 $ docker top 026e8c1c738811775d71ebcae26397a129ce5c43aa0a97e6caa114e93cd332f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:54 + go version 20:49:54 go version go1.20.6 linux/arm64 [Pipeline] } 20:49:54 $ docker stop --time=1 026e8c1c738811775d71ebcae26397a129ce5c43aa0a97e6caa114e93cd332f4 20:49:56 $ docker rm -f --volumes 026e8c1c738811775d71ebcae26397a129ce5c43aa0a97e6caa114e93cd332f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:56 + docker inspect -f . ci-base-image-arm64 20:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:56 prd-ubuntu20.04-docker-arm64-4c-16g-5375 does not seem to be running inside a container 20:49:56 $ 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/139 -v /w/workspace/device-usb-camera/139:/w/workspace/device-usb-camera/139:rw,z -v /w/workspace/device-usb-camera/139@tmp:/w/workspace/device-usb-camera/139@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 20:49:58 $ docker top dab40d45014c7c080b36fa495299bbd80533e6fc881d70aefa73c8221ac0c9fc -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:58 + git config --global --add safe.directory /w/workspace/device-usb-camera/139 [Pipeline] fileExists [Pipeline] sh 20:49:58 + make test 20:49:58 go test ./... -coverprofile=coverage.out ./... 20:50:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:52:59 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:52:59 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 4.4% of statements 20:52:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:52:59 go vet ./... 20:53:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:31 ./bin/test-attribution-txt.sh [Pipeline] echo 20:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:53:31 $ docker stop --time=1 dab40d45014c7c080b36fa495299bbd80533e6fc881d70aefa73c8221ac0c9fc 20:53:33 $ docker rm -f --volumes dab40d45014c7c080b36fa495299bbd80533e6fc881d70aefa73c8221ac0c9fc [Pipeline] // withDockerContainer [Pipeline] sh 20:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:34 Warning: overwriting stash ‘coverage-report’ 20:53:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:36 + ls -al . 20:53:36 total 216 20:53:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:50 . 20:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:47 .. 20:53:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:47 .git 20:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:47 .github 20:53:36 -rw-rw-r-- 1 jenkins jenkins 468 Sep 5 20:47 .gitignore 20:53:36 -rw-rw-r-- 1 jenkins jenkins 45 Sep 5 20:47 .golangci.yml 20:53:36 -rw-rw-r-- 1 jenkins jenkins 77 Sep 5 20:47 .hadolint.yml 20:53:36 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 5 20:47 Attribution.txt 20:53:36 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 5 20:47 CHANGELOG.md 20:53:36 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 5 20:47 Dockerfile 20:53:36 -rw-rw-r-- 1 jenkins jenkins 678 Sep 5 20:47 GOVERNANCE.md 20:53:36 -rw-rw-r-- 1 jenkins jenkins 659 Sep 5 20:47 Jenkinsfile 20:53:36 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 5 20:47 LICENSE 20:53:36 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 5 20:47 Makefile 20:53:36 -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 20:47 OWNERS.md 20:53:36 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 5 20:47 README.md 20:53:36 -rw-rw-r-- 1 jenkins jenkins 12 Sep 5 20:44 VERSION 20:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:47 bin 20:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:47 cmd 20:53:36 -rw-r--r-- 1 jenkins jenkins 53856 Sep 5 20:52 coverage.out 20:53:36 -rwxrwxr-x 1 jenkins jenkins 140 Sep 5 20:47 docker-entrypoint.sh 20:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:47 docs 20:53:36 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 5 20:47 go.mod 20:53:36 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 5 20:47 go.sum 20:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:47 internal 20:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:47 snap 20:53:36 -rw-rw-r-- 1 jenkins jenkins 231 Sep 5 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:36 + 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=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 --label arch=arm64 --label version=3.1.0-dev.15 . 20:53:36 Sending build context to Docker daemon 1.339MB 20:53:36 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:53:36 Step 2/36 : FROM ${BASE} AS builder 20:53:36 ---> d0c283f75536 20:53:36 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:53:37 ---> Running in 0939fa616513 20:53:37 Removing intermediate container 0939fa616513 20:53:37 ---> 8db1062710bc 20:53:37 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:37 ---> Running in b01fdb812af1 20:53:37 Removing intermediate container b01fdb812af1 20:53:37 ---> 807a9b2292c8 20:53:37 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:53:37 ---> Running in 762a126ea458 20:53:37 Removing intermediate container 762a126ea458 20:53:37 ---> 9c4048135db9 20:53:37 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:53:38 ---> Running in d1b7584b51c5 20:53:38 Removing intermediate container d1b7584b51c5 20:53:38 ---> 4073dda9863c 20:53:38 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:38 ---> Running in 88d993d9529f 20:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:53:41 OK: 271 MiB in 67 packages 20:53:41 Removing intermediate container 88d993d9529f 20:53:41 ---> ef2d1c7c4ca0 20:53:41 Step 8/36 : WORKDIR /device-usb-camera 20:53:41 ---> Running in 25bfddf4a039 20:53:42 Removing intermediate container 25bfddf4a039 20:53:42 ---> 8485b449e2ba 20:53:42 Step 9/36 : COPY go.mod vendor* ./ 20:53:42 ---> 5ed7870857b4 20:53:42 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:43 ---> Running in dcb83f5484f5 20:53:45 Removing intermediate container dcb83f5484f5 20:53:45 ---> 329ad856498e 20:53:45 Step 11/36 : COPY . . 20:53:46 ---> a38b8651037d 20:53:46 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:53:46 ---> Running in 1205ae66d91e 20:53:47  % Total % Received % Xferd Average Speed Time Time Time Current 20:53:47   Dload Upload Total Spent Left Speed 20:53:47 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3536 0 --:--:-- --:--:-- --:--:-- 3549 20:53:48 Removing intermediate container 1205ae66d91e 20:53:48 ---> 231307e4cb88 20:53:48 Step 13/36 : RUN ${MAKE} 20:53:48 ---> Running in cc2e7c8b8064 20:53:49 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:56:41 Removing intermediate container cc2e7c8b8064 20:56:41 ---> 34b952325827 20:56:41 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:56:41 v0.21.6: Pulling from aler9/rtsp-simple-server 20:56:41 8766b47fe142: Pulling fs layer 20:56:41 8766b47fe142: Verifying Checksum 20:56:41 8766b47fe142: Download complete 20:56:41 8766b47fe142: Pull complete 20:56:41 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:56:41 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:56:41 ---> 69d40e2cb93c 20:56:41 Step 15/36 : FROM alpine:3.17 20:56:41 3.17: Pulling from library/alpine 20:56:41 4060ece20d7a: Pulling fs layer 20:56:41 4060ece20d7a: Verifying Checksum 20:56:41 4060ece20d7a: Download complete 20:56:41 4060ece20d7a: Pull complete 20:56:41 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:56:41 Status: Downloaded newer image for alpine:3.17 20:56:41 ---> 8650cd65339b 20:56:41 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:56:41 ---> Running in e05b5e5fcee3 20:56:41 Removing intermediate container e05b5e5fcee3 20:56:41 ---> ddaedb392f89 20:56:41 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:56:41 ---> Running in 3977993ad6d9 20:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:56:41 (1/83) Installing dumb-init (1.2.5-r2) 20:56:41 (2/83) Installing sdl2 (2.26.5-r0) 20:56:41 (3/83) Installing libxau (1.0.10-r0) 20:56:41 (4/83) Installing libmd (1.0.4-r0) 20:56:41 (5/83) Installing libbsd (0.11.7-r0) 20:56:41 (6/83) Installing libxdmcp (1.1.4-r0) 20:56:41 (7/83) Installing libxcb (1.15-r0) 20:56:41 (8/83) Installing libx11 (1.8.4-r1) 20:56:41 (9/83) Installing aom-libs (3.5.0-r0) 20:56:41 (10/83) Installing alsa-lib (1.2.8-r0) 20:56:41 (11/83) Installing libexpat (2.5.0-r0) 20:56:41 (12/83) Installing brotli-libs (1.0.9-r9) 20:56:41 (13/83) Installing libbz2 (1.0.8-r4) 20:56:41 (14/83) Installing libpng (1.6.39-r0) 20:56:41 (15/83) Installing freetype (2.12.1-r0) 20:56:41 (16/83) Installing fontconfig (2.14.1-r0) 20:56:41 (17/83) Installing fribidi (1.0.12-r0) 20:56:41 (18/83) Installing libffi (3.4.4-r0) 20:56:41 (19/83) Installing libintl (0.21.1-r1) 20:56:41 (20/83) Installing libblkid (2.38.1-r1) 20:56:41 (21/83) Installing libmount (2.38.1-r1) 20:56:41 (22/83) Installing pcre2 (10.42-r0) 20:56:41 (23/83) Installing glib (2.74.7-r0) 20:56:41 (24/83) Installing graphite2 (1.3.14-r2) 20:56:41 (25/83) Installing harfbuzz (5.3.1-r1) 20:56:41 (26/83) Installing libass (0.16.0-r1) 20:56:41 (27/83) Installing libdav1d (1.0.0-r2) 20:56:41 (28/83) Installing libdrm (2.4.114-r0) 20:56:41 (29/83) Installing gmp (6.2.1-r2) 20:56:41 (30/83) Installing nettle (3.8.1-r0) 20:56:41 (31/83) Installing p11-kit (0.24.1-r1) 20:56:41 (32/83) Installing libtasn1 (4.19.0-r0) 20:56:41 (33/83) Installing libunistring (1.1-r0) 20:56:41 (34/83) Installing gnutls (3.7.8-r3) 20:56:41 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:56:41 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 20:56:41 (37/83) Installing lame (3.100-r2) 20:56:41 (38/83) Installing opus (1.3.1-r1) 20:56:41 (39/83) Installing libasyncns (0.8-r1) 20:56:41 (40/83) Installing dbus-libs (1.14.8-r0) 20:56:41 (41/83) Installing libltdl (2.4.7-r1) 20:56:41 (42/83) Installing orc (0.4.33-r0) 20:56:41 (43/83) Installing libgcc (12.2.1_git20220924-r4) 20:56:41 (44/83) Installing libogg (1.3.5-r2) 20:56:41 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 20:56:41 (46/83) Installing flac-libs (1.4.2-r0) 20:56:41 (47/83) Installing libvorbis (1.3.7-r0) 20:56:41 (48/83) Installing libsndfile (1.1.0-r2) 20:56:41 (49/83) Installing libgomp (12.2.1_git20220924-r4) 20:56:41 (50/83) Installing soxr (0.1.3-r3) 20:56:41 (51/83) Installing speexdsp (1.2.1-r0) 20:56:41 (52/83) Installing tdb-libs (1.4.6-r0) 20:56:41 (53/83) Installing libpulse (16.1-r6) 20:56:41 (54/83) Installing cjson (1.7.15-r3) 20:56:41 (55/83) Installing mbedtls (2.28.4-r0) 20:56:41 (56/83) Installing librist (0.2.7-r0) 20:56:41 (57/83) Installing libsrt (1.5.1-r0) 20:56:41 (58/83) Installing libssh (0.10.5-r0) 20:56:41 (59/83) Installing libtheora (1.1.1-r16) 20:56:41 (60/83) Installing libjpeg-turbo (2.1.4-r0) 20:56:41 (61/83) Installing v4l-utils-libs (1.22.1-r2) 20:56:41 (62/83) Installing libxext (1.3.5-r0) 20:56:41 (63/83) Installing libxfixes (6.0.0-r0) 20:56:41 (64/83) Installing wayland-libs-client (1.21.0-r1) 20:56:41 (65/83) Installing libva (2.16.0-r0) 20:56:41 (66/83) Installing libvdpau (1.5-r0) 20:56:41 (67/83) Installing vidstab (1.1.0-r2) 20:56:41 (68/83) Installing libvpx (1.12.0-r1) 20:56:41 (69/83) Installing libwebp (1.2.4-r2) 20:56:41 (70/83) Installing x264-libs (0.164_git20220602-r0) 20:56:41 (71/83) Installing numactl (2.0.16-r1) 20:56:41 (72/83) Installing x265-libs (3.5-r3) 20:56:41 (73/83) Installing xvidcore (1.3.7-r1) 20:56:41 (74/83) Installing libsodium (1.0.18-r2) 20:56:41 (75/83) Installing libzmq (4.3.4-r1) 20:56:41 (76/83) Installing ffmpeg-libs (5.1.3-r0) 20:56:41 (77/83) Installing ffmpeg (5.1.3-r0) 20:56:41 (78/83) Installing udev-init-scripts (35-r1) 20:56:41 (79/83) Installing eudev-libs (3.2.11-r4) 20:56:41 (80/83) Installing xz-libs (5.2.9-r0) 20:56:41 (81/83) Installing zstd-libs (1.5.5-r0) 20:56:41 (82/83) Installing kmod-libs (30-r1) 20:56:41 (83/83) Installing eudev (3.2.11-r4) 20:56:41 Executing busybox-1.35.0-r29.trigger 20:56:41 Executing eudev-3.2.11-r4.trigger 20:56:41 OK: 86 MiB in 98 packages 20:56:44 Removing intermediate container 3977993ad6d9 20:56:44 ---> 1d62a989d311 20:56:44 Step 18/36 : WORKDIR / 20:56:44 ---> Running in 28d3e78ab805 20:56:44 Removing intermediate container 28d3e78ab805 20:56:44 ---> 5e7224e5db72 20:56:44 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:56:46 ---> d7fe1d637e01 20:56:46 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:56:46 ---> 9e6941e0a4dc 20:56:46 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:56:47 ---> 0790338569fa 20:56:47 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:56:47 ---> 546d22bc1230 20:56:47 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:56:48 ---> 0e8890795973 20:56:48 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:56:48 ---> 8e5a147c4f01 20:56:48 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:56:50 ---> b426b0370bcc 20:56:50 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:56:50 ---> Running in 2f58c0781dd0 20:56:52 Removing intermediate container 2f58c0781dd0 20:56:52 ---> ab52677d4d85 20:56:52 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:56:52 ---> Running in 21cc98bcf7b1 20:56:55 Removing intermediate container 21cc98bcf7b1 20:56:55 ---> 89f0120323fd 20:56:55 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:56:55 ---> Running in 1c1eacfc3d41 20:56:57 Removing intermediate container 1c1eacfc3d41 20:56:57 ---> 9139aa04b8d8 20:56:57 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:56:57 ---> Running in 0ef4f815045e 20:56:59 Removing intermediate container 0ef4f815045e 20:56:59 ---> fa4d5ba09e1d 20:56:59 Step 30/36 : EXPOSE 59983 20:56:59 ---> Running in 77c1706a4220 20:56:59 Removing intermediate container 77c1706a4220 20:56:59 ---> 2fff30108153 20:56:59 Step 31/36 : EXPOSE 8554 20:56:59 ---> Running in 610c1ba74465 20:56:59 Removing intermediate container 610c1ba74465 20:56:59 ---> 56f63b96d21e 20:56:59 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:56:59 ---> Running in ede7e26aa1d8 20:56:59 Removing intermediate container ede7e26aa1d8 20:56:59 ---> 59a4974fec09 20:56:59 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:56:59 ---> Running in 9295ebae30fe 20:57:00 Removing intermediate container 9295ebae30fe 20:57:00 ---> a36aedfbbbea 20:57:00 Step 34/36 : LABEL arch=arm64 20:57:00 ---> Running in bfa2eed96464 20:57:00 Removing intermediate container bfa2eed96464 20:57:00 ---> 738e6d8c487a 20:57:00 Step 35/36 : LABEL git_sha=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:57:00 ---> Running in bfb5b0a58fa8 20:57:01 Removing intermediate container bfb5b0a58fa8 20:57:01 ---> b2ea5026f66e 20:57:01 Step 36/36 : LABEL version=3.1.0-dev.15 20:57:01 ---> Running in 6aa7887e94ce 20:57:01 Removing intermediate container 6aa7887e94ce 20:57:01 ---> c3e4a04648f1 20:57:01 [Warning] One or more build-args [ARCH] were not consumed 20:57:01 Successfully built c3e4a04648f1 20:57:01 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 20:57:01 provisioning config files... 20:57:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/139@tmp/config2183691076140835191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:01 ---> docker-login.sh 20:57:01 nexus3.edgexfoundry.org:10001 20:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:01 Configure a credential helper to remove this warning. See 20:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:01 20:57:01 Login Succeeded 20:57:01 nexus3.edgexfoundry.org:10002 20:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:02 Configure a credential helper to remove this warning. See 20:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:02 20:57:02 Login Succeeded 20:57:02 nexus3.edgexfoundry.org:10003 20:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:02 Configure a credential helper to remove this warning. See 20:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:02 20:57:02 Login Succeeded 20:57:02 nexus3.edgexfoundry.org:10004 20:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:03 Configure a credential helper to remove this warning. See 20:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:03 20:57:03 Login Succeeded 20:57:03 docker.io 20:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:57:03 Configure a credential helper to remove this warning. See 20:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:57:03 20:57:03 Login Succeeded 20:57:03 ---> docker-login.sh ends [Pipeline] } 20:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:57:03 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 20:57:03 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:57:03 latest 20:57:03 3.1.0-dev.15 20:57:03 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:57:03 main 20:57:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:04 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:57:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:57:04 51ae0f2c28da: Preparing 20:57:04 4c0e3c593c11: Preparing 20:57:04 86962c70d20d: Preparing 20:57:04 16a1b6e24a80: Preparing 20:57:04 608d194cb50c: Preparing 20:57:04 acc83c6ca332: Preparing 20:57:04 90869da35bbd: Preparing 20:57:04 9b1519ca9d58: Preparing 20:57:04 6e42c18133d0: Preparing 20:57:04 1ebb7d28d0ac: Preparing 20:57:04 0ac5edf333e7: Preparing 20:57:04 7a635da9ca7c: Preparing 20:57:04 d2d9d24a8c2a: Preparing 20:57:04 9b1519ca9d58: Waiting 20:57:04 6e42c18133d0: Waiting 20:57:04 1ebb7d28d0ac: Waiting 20:57:04 0ac5edf333e7: Waiting 20:57:04 7a635da9ca7c: Waiting 20:57:04 d2d9d24a8c2a: Waiting 20:57:04 acc83c6ca332: Waiting 20:57:04 90869da35bbd: Waiting 20:57:04 86962c70d20d: Pushed 20:57:04 4c0e3c593c11: Pushed 20:57:04 16a1b6e24a80: Pushed 20:57:04 51ae0f2c28da: Pushed 20:57:04 acc83c6ca332: Pushed 20:57:04 90869da35bbd: Pushed 20:57:04 9b1519ca9d58: Pushed 20:57:04 6e42c18133d0: Pushed 20:57:04 d2d9d24a8c2a: Layer already exists 20:57:05 1ebb7d28d0ac: Pushed 20:57:10 608d194cb50c: Pushed 20:57:10 0ac5edf333e7: Pushed 20:57:23 7a635da9ca7c: Pushed 20:57:23 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7: digest: sha256:b88462ae0e30b1ad5774251c7e323d2af4c70f89a8ec20f5cad06d18cd4ff86a size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:23 + 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 20:57:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:57:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:57:23 51ae0f2c28da: Preparing 20:57:23 4c0e3c593c11: Preparing 20:57:23 86962c70d20d: Preparing 20:57:23 16a1b6e24a80: Preparing 20:57:23 608d194cb50c: Preparing 20:57:23 acc83c6ca332: Preparing 20:57:23 90869da35bbd: Preparing 20:57:23 9b1519ca9d58: Preparing 20:57:23 6e42c18133d0: Preparing 20:57:23 1ebb7d28d0ac: Preparing 20:57:23 0ac5edf333e7: Preparing 20:57:23 7a635da9ca7c: Preparing 20:57:23 d2d9d24a8c2a: Preparing 20:57:23 acc83c6ca332: Waiting 20:57:23 1ebb7d28d0ac: Waiting 20:57:23 90869da35bbd: Waiting 20:57:23 9b1519ca9d58: Waiting 20:57:23 6e42c18133d0: Waiting 20:57:23 0ac5edf333e7: Waiting 20:57:23 7a635da9ca7c: Waiting 20:57:23 d2d9d24a8c2a: Waiting 20:57:23 608d194cb50c: Layer already exists 20:57:23 86962c70d20d: Layer already exists 20:57:23 51ae0f2c28da: Layer already exists 20:57:23 4c0e3c593c11: Layer already exists 20:57:23 16a1b6e24a80: Layer already exists 20:57:23 90869da35bbd: Layer already exists 20:57:23 acc83c6ca332: Layer already exists 20:57:23 9b1519ca9d58: Layer already exists 20:57:23 6e42c18133d0: Layer already exists 20:57:23 1ebb7d28d0ac: Layer already exists 20:57:23 0ac5edf333e7: Layer already exists 20:57:23 d2d9d24a8c2a: Layer already exists 20:57:23 7a635da9ca7c: Layer already exists 20:57:24 latest: digest: sha256:b88462ae0e30b1ad5774251c7e323d2af4c70f89a8ec20f5cad06d18cd4ff86a size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:24 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.15 20:57:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:57:24 51ae0f2c28da: Preparing 20:57:24 4c0e3c593c11: Preparing 20:57:24 86962c70d20d: Preparing 20:57:24 16a1b6e24a80: Preparing 20:57:24 608d194cb50c: Preparing 20:57:24 acc83c6ca332: Preparing 20:57:24 90869da35bbd: Preparing 20:57:24 9b1519ca9d58: Preparing 20:57:24 6e42c18133d0: Preparing 20:57:24 1ebb7d28d0ac: Preparing 20:57:24 0ac5edf333e7: Preparing 20:57:24 7a635da9ca7c: Preparing 20:57:24 d2d9d24a8c2a: Preparing 20:57:24 0ac5edf333e7: Waiting 20:57:24 6e42c18133d0: Waiting 20:57:24 1ebb7d28d0ac: Waiting 20:57:24 acc83c6ca332: Waiting 20:57:24 7a635da9ca7c: Waiting 20:57:24 d2d9d24a8c2a: Waiting 20:57:24 90869da35bbd: Waiting 20:57:24 9b1519ca9d58: Waiting 20:57:24 51ae0f2c28da: Layer already exists 20:57:24 16a1b6e24a80: Layer already exists 20:57:24 4c0e3c593c11: Layer already exists 20:57:24 608d194cb50c: Layer already exists 20:57:24 86962c70d20d: Layer already exists 20:57:24 6e42c18133d0: Layer already exists 20:57:24 acc83c6ca332: Layer already exists 20:57:24 90869da35bbd: Layer already exists 20:57:24 1ebb7d28d0ac: Layer already exists 20:57:24 9b1519ca9d58: Layer already exists 20:57:24 d2d9d24a8c2a: Layer already exists 20:57:24 7a635da9ca7c: Layer already exists 20:57:24 0ac5edf333e7: Layer already exists 20:57:25 3.1.0-dev.15: digest: sha256:b88462ae0e30b1ad5774251c7e323d2af4c70f89a8ec20f5cad06d18cd4ff86a size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:25 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:57:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:57:25 51ae0f2c28da: Preparing 20:57:25 4c0e3c593c11: Preparing 20:57:25 86962c70d20d: Preparing 20:57:25 16a1b6e24a80: Preparing 20:57:25 608d194cb50c: Preparing 20:57:25 acc83c6ca332: Preparing 20:57:25 90869da35bbd: Preparing 20:57:25 9b1519ca9d58: Preparing 20:57:25 6e42c18133d0: Preparing 20:57:25 1ebb7d28d0ac: Preparing 20:57:25 0ac5edf333e7: Preparing 20:57:25 7a635da9ca7c: Preparing 20:57:25 d2d9d24a8c2a: Preparing 20:57:25 acc83c6ca332: Waiting 20:57:25 90869da35bbd: Waiting 20:57:25 0ac5edf333e7: Waiting 20:57:25 9b1519ca9d58: Waiting 20:57:25 6e42c18133d0: Waiting 20:57:25 1ebb7d28d0ac: Waiting 20:57:25 7a635da9ca7c: Waiting 20:57:25 d2d9d24a8c2a: Waiting 20:57:25 51ae0f2c28da: Layer already exists 20:57:25 86962c70d20d: Layer already exists 20:57:25 4c0e3c593c11: Layer already exists 20:57:25 16a1b6e24a80: Layer already exists 20:57:25 608d194cb50c: Layer already exists 20:57:25 9b1519ca9d58: Layer already exists 20:57:25 90869da35bbd: Layer already exists 20:57:25 acc83c6ca332: Layer already exists 20:57:25 1ebb7d28d0ac: Layer already exists 20:57:25 6e42c18133d0: Layer already exists 20:57:25 7a635da9ca7c: Layer already exists 20:57:25 0ac5edf333e7: Layer already exists 20:57:25 d2d9d24a8c2a: Layer already exists 20:57:25 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15: digest: sha256:b88462ae0e30b1ad5774251c7e323d2af4c70f89a8ec20f5cad06d18cd4ff86a size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:26 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:26 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 20:57:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:57:26 51ae0f2c28da: Preparing 20:57:26 4c0e3c593c11: Preparing 20:57:26 86962c70d20d: Preparing 20:57:26 16a1b6e24a80: Preparing 20:57:26 608d194cb50c: Preparing 20:57:26 acc83c6ca332: Preparing 20:57:26 90869da35bbd: Preparing 20:57:26 9b1519ca9d58: Preparing 20:57:26 6e42c18133d0: Preparing 20:57:26 1ebb7d28d0ac: Preparing 20:57:26 0ac5edf333e7: Preparing 20:57:26 7a635da9ca7c: Preparing 20:57:26 d2d9d24a8c2a: Preparing 20:57:26 6e42c18133d0: Waiting 20:57:26 acc83c6ca332: Waiting 20:57:26 90869da35bbd: Waiting 20:57:26 9b1519ca9d58: Waiting 20:57:26 1ebb7d28d0ac: Waiting 20:57:26 7a635da9ca7c: Waiting 20:57:26 d2d9d24a8c2a: Waiting 20:57:26 0ac5edf333e7: Waiting 20:57:26 4c0e3c593c11: Layer already exists 20:57:26 86962c70d20d: Layer already exists 20:57:26 51ae0f2c28da: Layer already exists 20:57:26 608d194cb50c: Layer already exists 20:57:26 16a1b6e24a80: Layer already exists 20:57:26 acc83c6ca332: Layer already exists 20:57:26 1ebb7d28d0ac: Layer already exists 20:57:26 9b1519ca9d58: Layer already exists 20:57:26 90869da35bbd: Layer already exists 20:57:26 6e42c18133d0: Layer already exists 20:57:26 0ac5edf333e7: Layer already exists 20:57:26 d2d9d24a8c2a: Layer already exists 20:57:26 7a635da9ca7c: Layer already exists 20:57:26 main: digest: sha256:b88462ae0e30b1ad5774251c7e323d2af4c70f89a8ec20f5cad06d18cd4ff86a size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:57:26 ===================================================== [Pipeline] echo 20:57:26 taggedImages: 20:57:26 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 20:57:26 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:57:26 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.15 20:57:26 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7-3.1.0-dev.15 20:57:26 - 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 20:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:27 20:57:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:27 arm64: Pulling from edgex-lftools-log-publisher 20:57:27 8998bd30e6a1: Pulling fs layer 20:57:27 04944245beec: Pulling fs layer 20:57:27 699f458cf7ca: Pulling fs layer 20:57:27 765212b225bb: Pulling fs layer 20:57:27 f23df028b6ca: Pulling fs layer 20:57:27 d65c8cfc05b1: Pulling fs layer 20:57:27 2437ff75d9bd: Pulling fs layer 20:57:27 765212b225bb: Waiting 20:57:27 f23df028b6ca: Waiting 20:57:27 d65c8cfc05b1: Waiting 20:57:27 2437ff75d9bd: Waiting 20:57:27 04944245beec: Verifying Checksum 20:57:27 04944245beec: Download complete 20:57:27 765212b225bb: Verifying Checksum 20:57:27 765212b225bb: Download complete 20:57:27 f23df028b6ca: Verifying Checksum 20:57:27 f23df028b6ca: Download complete 20:57:27 d65c8cfc05b1: Verifying Checksum 20:57:27 d65c8cfc05b1: Download complete 20:57:27 699f458cf7ca: Verifying Checksum 20:57:27 699f458cf7ca: Download complete 20:57:28 8998bd30e6a1: Verifying Checksum 20:57:28 8998bd30e6a1: Download complete 20:57:31 2437ff75d9bd: Verifying Checksum 20:57:31 2437ff75d9bd: Download complete 20:57:32 8998bd30e6a1: Pull complete 20:57:32 04944245beec: Pull complete 20:57:34 699f458cf7ca: Pull complete 20:57:34 765212b225bb: Pull complete 20:57:35 f23df028b6ca: Pull complete 20:57:35 d65c8cfc05b1: Pull complete 20:57:50 2437ff75d9bd: Pull complete 20:57:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:50 prd-ubuntu20.04-docker-arm64-4c-16g-5375 does not seem to be running inside a container 20:57:50 $ 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/139 -v /w/workspace/device-usb-camera/139:/w/workspace/device-usb-camera/139:rw,z -v /w/workspace/device-usb-camera/139@tmp:/w/workspace/device-usb-camera/139@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 20:57:52 $ docker top 9a048484f863a1dacf63fd24b03c33db3ae83accf1c973de4c1a285e021b78b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:53 ---> job-cost.sh 20:57:53 lf-activate-venv: SKIPPING 20:57:53 INFO: No Stack... 20:57:54 INFO: Retrieving Pricing Info for: v3-standard-4 20:57:54 INFO: Archiving Costs [Pipeline] sh 20:57:55 + cut -d, -f6 20:57:55 + cat /w/workspace/device-usb-camera/139/archives/cost.csv [Pipeline] lock 20:57:55 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] 20:57:55 Resource [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] did not exist. Created. 20:57:55 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:57:56 /w/workspace/device-usb-camera/139@tmp/durable-985f394e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:57:56 + echo total: 0.10999999940395355 [Pipeline] stash 20:57:56 Warning: overwriting stash ‘stack-cost’ 20:57:57 Stashed 1 file(s) [Pipeline] } 20:57:57 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 20:57:57 $ docker stop --time=1 9a048484f863a1dacf63fd24b03c33db3ae83accf1c973de4c1a285e021b78b2 20:57:58 $ docker rm -f --volumes 9a048484f863a1dacf63fd24b03c33db3ae83accf1c973de4c1a285e021b78b2 [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 20:57:59 provisioning config files... 20:57:59 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9071117229551270572tmp [Pipeline] { [Pipeline] sh 20:57:59 + set +x 20:57:59 + + bash -s -- 20:57:59 curl -s https://codecov.io/bash 20:57:59 20:57:59 _____ _ 20:57:59 / ____| | | 20:57:59 | | ___ __| | ___ ___ _____ __ 20:57:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:57:59 | |___| (_) | (_| | __/ (_| (_) \ V / 20:57:59 \_____\___/ \__,_|\___|\___\___/ \_/ 20:57:59 Bash-1.0.6 20:57:59 20:57:59 20:57:59 ==> git version 2.25.1 found 20:57:59 ==> 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 20:57:59 Release-Date: 2020-01-08 20:57:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:57:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:57:59 ==> Jenkins CI detected. 20:57:59 current dir:  /w/workspace/exfoundry_device-usb-camera_main 20:57:59 project root: . 20:57:59 --> token set from env 20:57:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:57:59 ==> Running gcov in . (disable via -X gcov) 20:57:59 ==> Python coveragepy not found 20:57:59 ==> Searching for coverage reports in: 20:57:59 + . 20:57:59 -> Found 1 reports 20:57:59 ==> Detecting git/mercurial file structure 20:57:59 ==> Reading reports 20:57:59 + ./coverage.out bytes=53856 20:57:59 ==> Appending adjustments 20:57:59 https://docs.codecov.io/docs/fixing-reports 20:57:59 + Found adjustments 20:57:59 ==> Gzipping contents 20:57:59 8.0K /tmp/codecov.x64KFs.gz 20:57:59 ==> Uploading reports 20:57:59 url: https://codecov.io 20:57:59 query: branch=main&commit=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:57:59 -> Pinging Codecov 20:57:59 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=626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:57:59 -> Uploading to 20:57:59 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/73D8F5FF140700D3E01443B452E23636/626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7/bf88ec61-663c-49b9-8f3e-c5bfe9565018.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T205759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4daee43bfe5c8a47e8bdad28e214af96d9599fc696457b9f6db2252a83ffc10a 20:57:59 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:59 Dload Upload Total Spent Left Speed 20:57:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6883 0 0 100 6883 0 37005 --:--:-- --:--:-- --:--:-- 37005 20:57:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] } 20:57:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:58:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:58:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:00 20:58:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:58:00 df9b9388f04a: Pulling fs layer 20:58:00 52dc419b0ee2: Pulling fs layer 20:58:00 25bc292e5bac: Pulling fs layer 20:58:00 114826534d7a: Pulling fs layer 20:58:00 4657fd5d0bcf: Pulling fs layer 20:58:00 6ad1cebc031e: Pulling fs layer 20:58:00 8a3aa393b2d8: Pulling fs layer 20:58:00 4657fd5d0bcf: Waiting 20:58:00 6ad1cebc031e: Waiting 20:58:00 114826534d7a: Waiting 20:58:00 8a3aa393b2d8: Waiting 20:58:00 25bc292e5bac: Verifying Checksum 20:58:00 25bc292e5bac: Download complete 20:58:00 52dc419b0ee2: Download complete 20:58:00 4657fd5d0bcf: Verifying Checksum 20:58:00 4657fd5d0bcf: Download complete 20:58:00 df9b9388f04a: Verifying Checksum 20:58:00 df9b9388f04a: Download complete 20:58:01 df9b9388f04a: Pull complete 20:58:01 6ad1cebc031e: Verifying Checksum 20:58:01 6ad1cebc031e: Download complete 20:58:01 52dc419b0ee2: Pull complete 20:58:01 25bc292e5bac: Pull complete 20:58:01 114826534d7a: Download complete 20:58:01 8a3aa393b2d8: Verifying Checksum 20:58:01 8a3aa393b2d8: Download complete 20:58:05 114826534d7a: Pull complete 20:58:05 4657fd5d0bcf: Pull complete 20:58:05 6ad1cebc031e: Pull complete 20:58:07 8a3aa393b2d8: Pull complete 20:58:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:58:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:07 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:58:12 $ docker top 378990637ed13e251ffb1addc7bf7d02482d67f3fff8eb9a977c6e26c1127d9b -eo pid,comm [Pipeline] { [Pipeline] echo 20:58:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 20:58:12 + set -o pipefail 20:58:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 20:58:19 20:58:19 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 20:58:19 20:58:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/d5d2aa36-d5de-4a10-92e5-e182bf9e9607 20:58:19 20:58:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:58:19 20:58:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:58:19 20:58:19 20:58:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:58:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:58:19 More details here: https://snyk.co/ue1NS 20:58:19 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 20:58:19 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:58:19 $ docker stop --time=1 378990637ed13e251ffb1addc7bf7d02482d67f3fff8eb9a977c6e26c1127d9b 20:58:22 $ docker rm -f --volumes 378990637ed13e251ffb1addc7bf7d02482d67f3fff8eb9a977c6e26c1127d9b [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 20:58:22 + git log --format=format:%s -1 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 [Pipeline] sh 20:58:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:23 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:23 $ docker top 86108ea86421663f6d95261789dc44252eaf89e542e1e805f2123b35905a567d -eo pid,comm 20:58:24 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). 20:58:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:24 [ssh-agent] Looking for ssh-agent implementation... 20:58:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:24 $ docker exec 86108ea86421663f6d95261789dc44252eaf89e542e1e805f2123b35905a567d ssh-agent 20:58:24 SSH_AUTH_SOCK=/tmp/ssh-f4GVnYcef5Lj/agent.32 20:58:24 SSH_AGENT_PID=38 20:58:24 Running ssh-add (command line suppressed) 20:58:24 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12000747021484310013.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12000747021484310013.key) 20:58:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:24 + git semver tag 20:58:24 2023-09-05 20:58:24,849 [run_tag] DEBUG tag force:False 20:58:24 2023-09-05 20:58:24,849 [check_head_tag] DEBUG check head tag 20:58:24 2023-09-05 20:58:24,852 [execute] INFO git cat-file --batch-check 20:58:24 2023-09-05 20:58:24,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:58:24 2023-09-05 20:58:24,856 [execute] INFO git cat-file --batch 20:58:24 2023-09-05 20:58:24,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:58:24 2023-09-05 20:58:24,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:24 2023-09-05 20:58:24,889 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 20:58:24 2023-09-05 20:58:24,889 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 20:58:24 2023-09-05 20:58:24,894 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:24 3.1.0-dev.15 [Pipeline] } 20:58:24 $ docker exec --env ******** --env ******** 86108ea86421663f6d95261789dc44252eaf89e542e1e805f2123b35905a567d ssh-agent -k 20:58:25 unset SSH_AUTH_SOCK; 20:58:25 unset SSH_AGENT_PID; 20:58:25 echo Agent pid 38 killed; 20:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:25 + git semver [Pipeline] } 20:58:25 $ docker stop --time=1 86108ea86421663f6d95261789dc44252eaf89e542e1e805f2123b35905a567d 20:58:26 $ docker rm -f --volumes 86108ea86421663f6d95261789dc44252eaf89e542e1e805f2123b35905a567d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:27 20:58:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:27 0.23.1-centos7: Pulling from edgex-lftools 20:58:27 ab5ef0e58194: Pulling fs layer 20:58:27 9712f1f96733: Pulling fs layer 20:58:27 63f879dbbcfc: Pulling fs layer 20:58:27 0d9ebad4ef96: Pulling fs layer 20:58:27 e9a5061849ea: Pulling fs layer 20:58:27 d747dcd14b5f: Pulling fs layer 20:58:27 2de7ff778b66: Pulling fs layer 20:58:27 e9a5061849ea: Waiting 20:58:27 d747dcd14b5f: Waiting 20:58:27 2de7ff778b66: Waiting 20:58:27 0d9ebad4ef96: Waiting 20:58:27 9712f1f96733: Verifying Checksum 20:58:27 9712f1f96733: Download complete 20:58:28 63f879dbbcfc: Verifying Checksum 20:58:28 63f879dbbcfc: Download complete 20:58:28 0d9ebad4ef96: Verifying Checksum 20:58:28 0d9ebad4ef96: Download complete 20:58:28 d747dcd14b5f: Download complete 20:58:28 e9a5061849ea: Verifying Checksum 20:58:28 e9a5061849ea: Download complete 20:58:28 ab5ef0e58194: Verifying Checksum 20:58:28 ab5ef0e58194: Download complete 20:58:28 2de7ff778b66: Verifying Checksum 20:58:28 2de7ff778b66: Download complete 20:58:30 ab5ef0e58194: Pull complete 20:58:30 9712f1f96733: Pull complete 20:58:31 63f879dbbcfc: Pull complete 20:58:34 0d9ebad4ef96: Pull complete 20:58:34 e9a5061849ea: Pull complete 20:58:34 d747dcd14b5f: Pull complete 20:58:35 2de7ff778b66: Pull complete 20:58:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:58:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:35 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:58:39 $ docker top 7ba876fab1274a99ee535b8070bfc3918fe468b19e1acab1b8679a610cac0a91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:58:40 provisioning config files... 20:58:40 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5774482798084060555tmp 20:58:40 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15810691786954279870tmp 20:58:40 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14404154286764343043tmp [Pipeline] { [Pipeline] echo 20:58:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:58:40 ---> sigul-configuration.sh 20:58:40 gpg: directory `/root/.gnupg' created 20:58:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:58:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:58:40 gpg: keyring `/root/.gnupg/secring.gpg' created 20:58:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:58:40 gpg: CAST5 encrypted data 20:58:40 gpg: encrypted with 1 passphrase 20:58:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:58:40 + mkdir /home/jenkins 20:58:40 + mkdir /home/jenkins/sigul [Pipeline] sh 20:58:40 + 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 20:58:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:58:41 ---> sigul-install.sh 20:58:41 Sigul already installed; skipping installation. [Pipeline] sh 20:58:41 + git tag --list 20:58:41 v0.0.0 20:58:41 v0.0.1-dev.1 20:58:41 v0.0.1-dev.10 20:58:41 v0.0.1-dev.11 20:58:41 v0.0.1-dev.12 20:58:41 v0.0.1-dev.13 20:58:41 v0.0.1-dev.14 20:58:41 v0.0.1-dev.15 20:58:41 v0.0.1-dev.16 20:58:41 v0.0.1-dev.2 20:58:41 v0.0.1-dev.3 20:58:41 v0.0.1-dev.4 20:58:41 v0.0.1-dev.5 20:58:41 v0.0.1-dev.6 20:58:41 v0.0.1-dev.7 20:58:41 v0.0.1-dev.8 20:58:41 v0.0.1-dev.9 20:58:41 v2.2.0 20:58:41 v2.2.0-dev.17 20:58:41 v2.2.0-dev.18 20:58:41 v2.2.0-dev.19 20:58:41 v2.2.0-dev.20 20:58:41 v2.2.0-dev.21 20:58:41 v2.2.0-dev.22 20:58:41 v2.2.0-dev.23 20:58:41 v2.2.0-dev.24 20:58:41 v2.2.0-dev.25 20:58:41 v2.2.0-dev.26 20:58:41 v2.2.0-dev.27 20:58:41 v2.3.0 20:58:41 v2.3.0-dev.1 20:58:41 v2.3.0-dev.10 20:58:41 v2.3.0-dev.11 20:58:41 v2.3.0-dev.12 20:58:41 v2.3.0-dev.13 20:58:41 v2.3.0-dev.14 20:58:41 v2.3.0-dev.15 20:58:41 v2.3.0-dev.16 20:58:41 v2.3.0-dev.17 20:58:41 v2.3.0-dev.18 20:58:41 v2.3.0-dev.19 20:58:41 v2.3.0-dev.2 20:58:41 v2.3.0-dev.20 20:58:41 v2.3.0-dev.21 20:58:41 v2.3.0-dev.22 20:58:41 v2.3.0-dev.23 20:58:41 v2.3.0-dev.24 20:58:41 v2.3.0-dev.25 20:58:41 v2.3.0-dev.26 20:58:41 v2.3.0-dev.27 20:58:41 v2.3.0-dev.28 20:58:41 v2.3.0-dev.3 20:58:41 v2.3.0-dev.4 20:58:41 v2.3.0-dev.5 20:58:41 v2.3.0-dev.6 20:58:41 v2.3.0-dev.7 20:58:41 v2.3.0-dev.8 20:58:41 v2.3.0-dev.9 20:58:41 v2.3.1 20:58:41 v2.3.1-dev.4 20:58:41 v2.3.1-dev.5 20:58:41 v2.3.1-dev.6 20:58:41 v3.0 20:58:41 v3.0.0 20:58:41 v3.0.0-dev.1 20:58:41 v3.0.0-dev.10 20:58:41 v3.0.0-dev.11 20:58:41 v3.0.0-dev.12 20:58:41 v3.0.0-dev.13 20:58:41 v3.0.0-dev.14 20:58:41 v3.0.0-dev.15 20:58:41 v3.0.0-dev.16 20:58:41 v3.0.0-dev.17 20:58:41 v3.0.0-dev.18 20:58:41 v3.0.0-dev.19 20:58:41 v3.0.0-dev.2 20:58:41 v3.0.0-dev.20 20:58:41 v3.0.0-dev.21 20:58:41 v3.0.0-dev.22 20:58:41 v3.0.0-dev.23 20:58:41 v3.0.0-dev.24 20:58:41 v3.0.0-dev.25 20:58:41 v3.0.0-dev.26 20:58:41 v3.0.0-dev.27 20:58:41 v3.0.0-dev.28 20:58:41 v3.0.0-dev.29 20:58:41 v3.0.0-dev.3 20:58:41 v3.0.0-dev.30 20:58:41 v3.0.0-dev.31 20:58:41 v3.0.0-dev.32 20:58:41 v3.0.0-dev.33 20:58:41 v3.0.0-dev.34 20:58:41 v3.0.0-dev.35 20:58:41 v3.0.0-dev.36 20:58:41 v3.0.0-dev.37 20:58:41 v3.0.0-dev.38 20:58:41 v3.0.0-dev.39 20:58:41 v3.0.0-dev.4 20:58:41 v3.0.0-dev.40 20:58:41 v3.0.0-dev.41 20:58:41 v3.0.0-dev.42 20:58:41 v3.0.0-dev.43 20:58:41 v3.0.0-dev.44 20:58:41 v3.0.0-dev.45 20:58:41 v3.0.0-dev.46 20:58:41 v3.0.0-dev.47 20:58:41 v3.0.0-dev.48 20:58:41 v3.0.0-dev.49 20:58:41 v3.0.0-dev.5 20:58:41 v3.0.0-dev.50 20:58:41 v3.0.0-dev.51 20:58:41 v3.0.0-dev.6 20:58:41 v3.0.0-dev.7 20:58:41 v3.0.0-dev.8 20:58:41 v3.0.0-dev.9 20:58:41 v3.1.0-dev.1 20:58:41 v3.1.0-dev.10 20:58:41 v3.1.0-dev.11 20:58:41 v3.1.0-dev.12 20:58:41 v3.1.0-dev.13 20:58:41 v3.1.0-dev.14 20:58:41 v3.1.0-dev.15 20:58:41 v3.1.0-dev.2 20:58:41 v3.1.0-dev.3 20:58:41 v3.1.0-dev.4 20:58:41 v3.1.0-dev.5 20:58:41 v3.1.0-dev.6 20:58:41 v3.1.0-dev.7 20:58:41 v3.1.0-dev.8 20:58:41 v3.1.0-dev.9 [Pipeline] sh 20:58:41 + lftools sign git-tag v3.1.0-dev.15 20:58:42 Signing Git tag with Sigul... 20:58:42 Signing v3.1.0-dev.15 [Pipeline] echo 20:58:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:58:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:58:42 $ docker stop --time=1 7ba876fab1274a99ee535b8070bfc3918fe468b19e1acab1b8679a610cac0a91 20:58:44 $ docker rm -f --volumes 7ba876fab1274a99ee535b8070bfc3918fe468b19e1acab1b8679a610cac0a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:58:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:44 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:45 $ docker top c9d86f01e699880a69b36af735cb8870e95127e7a473b1007fb0f8668edcf00f -eo pid,comm 20:58:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:58:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:45 [ssh-agent] Looking for ssh-agent implementation... 20:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:45 $ docker exec c9d86f01e699880a69b36af735cb8870e95127e7a473b1007fb0f8668edcf00f ssh-agent 20:58:45 SSH_AUTH_SOCK=/tmp/ssh-4FtRMRBT1kea/agent.33 20:58:45 SSH_AGENT_PID=39 20:58:45 Running ssh-add (command line suppressed) 20:58:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10483921763568074102.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10483921763568074102.key) 20:58:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:46 + git semver bump pre 20:58:46 2023-09-05 20:58:46,229 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:46 2023-09-05 20:58:46,229 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev 20:58:46 2023-09-05 20:58:46,229 [bump_version] DEBUG bumped version:3.1.0-dev.16 20:58:46 2023-09-05 20:58:46,229 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 20:58:46 2023-09-05 20:58:46,229 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:46 2023-09-05 20:58:46,229 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:46 2023-09-05 20:58:46,231 [execute] INFO git cat-file --batch-check 20:58:46 2023-09-05 20:58:46,231 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:58:46 2023-09-05 20:58:46,236 [execute] INFO git cat-file --batch 20:58:46 2023-09-05 20:58:46,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:58:46 2023-09-05 20:58:46,241 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:46 3.1.0-dev.16 [Pipeline] } 20:58:46 $ docker exec --env ******** --env ******** c9d86f01e699880a69b36af735cb8870e95127e7a473b1007fb0f8668edcf00f ssh-agent -k 20:58:46 unset SSH_AUTH_SOCK; 20:58:46 unset SSH_AGENT_PID; 20:58:46 echo Agent pid 39 killed; 20:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:46 + git semver [Pipeline] } 20:58:46 $ docker stop --time=1 c9d86f01e699880a69b36af735cb8870e95127e7a473b1007fb0f8668edcf00f 20:58:48 $ docker rm -f --volumes c9d86f01e699880a69b36af735cb8870e95127e7a473b1007fb0f8668edcf00f [Pipeline] // withDockerContainer [Pipeline] sh 20:58:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:48 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:49 $ docker top 2baf6627a15de26208b0e4d14806685c1c2e597a208f1686da4f75e007590be0 -eo pid,comm 20:58:49 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). 20:58:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:49 [ssh-agent] Looking for ssh-agent implementation... 20:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:49 $ docker exec 2baf6627a15de26208b0e4d14806685c1c2e597a208f1686da4f75e007590be0 ssh-agent 20:58:49 SSH_AUTH_SOCK=/tmp/ssh-dXEQykY17HKE/agent.32 20:58:49 SSH_AGENT_PID=38 20:58:49 Running ssh-add (command line suppressed) 20:58:49 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10196430946093163698.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10196430946093163698.key) 20:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:50 + git semver push 20:58:50 2023-09-05 20:58:50,234 [run_push] DEBUG push 20:58:50 2023-09-05 20:58:50,235 [execute] INFO git cat-file --batch-check 20:58:50 2023-09-05 20:58:50,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:58:50 2023-09-05 20:58:50,238 [execute] INFO git rev-list d6f1889132fc955176ff1c24a4096c27f66193e4 -- 20:58:50 2023-09-05 20:58:50,239 [execute] DEBUG Popen(['git', 'rev-list', 'd6f1889132fc955176ff1c24a4096c27f66193e4', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:58:50 2023-09-05 20:58:50,246 [execute] INFO git fetch -v origin 20:58:50 2023-09-05 20:58:50,246 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:58:50 2023-09-05 20:58:50,696 [run_push] DEBUG no remote changes detected 20:58:50 2023-09-05 20:58:50,696 [execute] INFO git push origin semver 20:58:50 2023-09-05 20:58:50,697 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:58:51 2023-09-05 20:58:51,428 [run_push] DEBUG push all version tags 20:58:51 2023-09-05 20:58:51,429 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:58:51 2023-09-05 20:58:51,429 [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) 20:58:52 2023-09-05 20:58:52,120 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:58:52 3.1.0-dev.16 [Pipeline] } 20:58:52 $ docker exec --env ******** --env ******** 2baf6627a15de26208b0e4d14806685c1c2e597a208f1686da4f75e007590be0 ssh-agent -k 20:58:52 unset SSH_AUTH_SOCK; 20:58:52 unset SSH_AGENT_PID; 20:58:52 echo Agent pid 38 killed; 20:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:52 + git semver [Pipeline] } 20:58:53 $ docker stop --time=1 2baf6627a15de26208b0e4d14806685c1c2e597a208f1686da4f75e007590be0 20:58:54 $ docker rm -f --volumes 2baf6627a15de26208b0e4d14806685c1c2e597a208f1686da4f75e007590be0 [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 20:58:54 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 20:58:54 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:58:54 total 16 20:58:54 drwxr-xr-x 3 root root 4096 Sep 5 20:46 . 20:58:54 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 20:58 .. 20:58:54 drwxr-xr-x 2 root root 4096 Sep 5 20:46 cost 20:58:54 -rw-r--r-- 1 root root 89 Sep 5 20:46 cost.csv 20:58:54 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 20:58:54 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:58:54 total 16 20:58:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:46 . 20:58:54 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 20:58 .. 20:58:54 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:46 cost 20:58:54 -rw-r--r-- 1 jenkins jenkins 89 Sep 5 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:58:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:58:56 ---> package-listing.sh 20:58:56 ++ facter osfamily 20:58:56 ++ tr '[:upper:]' '[:lower:]' 20:58:56 + OS_FAMILY=debian 20:58:56 + workspace=/w/workspace/exfoundry_device-usb-camera_main 20:58:56 + START_PACKAGES=/tmp/packages_start.txt 20:58:56 + END_PACKAGES=/tmp/packages_end.txt 20:58:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:58:56 + PACKAGES=/tmp/packages_start.txt 20:58:56 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:58:56 + PACKAGES=/tmp/packages_end.txt 20:58:56 + case "${OS_FAMILY}" in 20:58:56 + dpkg -l 20:58:56 + grep '^ii' 20:58:56 + '[' -f /tmp/packages_start.txt ']' 20:58:56 + '[' -f /tmp/packages_end.txt ']' 20:58:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:58:56 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:58:56 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 20:58:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 20:58:56 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 20:58:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:57 prd-ubuntu20.04-docker-8c-8g-5374 does not seem to be running inside a container 20:58:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:57 $ docker top 02515445b783434c06bf76d6f45fa32f1186fdd69cce11d229d770aa7adaa8d8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:57 + touch /tmp/pre-build-complete [Pipeline] sh 20:58:58 + mkdir -p /var/log/sysstat [Pipeline] sh 20:58:58 + ls /var/log/sa-host 20:58:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:58 provisioning config files... 20:58:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4969757089262507410tmp [Pipeline] { [Pipeline] echo 20:58:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:58:58 ---> create-netrc.sh [Pipeline] } 20:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:58:59 ---> python-tools-install.sh [Pipeline] echo 20:58:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:58:59 ---> sudo-logs.sh 20:58:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:58:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:58:59 ---> job-cost.sh 20:58:59 lf-activate-venv: SKIPPING 20:58:59 DEBUG: total: 0.2199999988079071 20:58:59 INFO: Retrieving Stack Cost... 20:58:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:00 INFO: Archiving Costs [Pipeline] echo 20:59:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:59:00 ---> logs-deploy.sh 20:59:00 lf-activate-venv: SKIPPING 20:59:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/139 20:59:00 INFO: archiving workspace using pattern(s): 20:59:01 Archives upload complete. 20:59:01 INFO: archiving logs to Nexus