Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa3c60d7a690b3e821474cb16a5706590015ca97 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-ssh16071614573225818779.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13854343849471524836.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13117637509610377229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh12249057347948874742.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-ssh2523567543396607529.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.21 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-6590 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 fa3c60d7a690b3e821474cb16a5706590015ca97 (main) Commit message: "Merge pull request #291 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.25" > 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 fa3c60d7a690b3e821474cb16a5706590015ca97 # timeout=10 > git rev-list --no-walk 884b56a83e36e909b2a30449d5f2d1a1922bafa9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:09 ========================================================= 17:29:09 EdgeX Global Pipelines Version Info 17:29:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:10 ------------------- 17:29:10 stable info: 17:29:10 ------------------- 17:29:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:10 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:29:10 Message: update stable to v1.0.254 17:29:11 ------------------- 17:29:11 experimental info: 17:29:11 ------------------- 17:29:11 Commited By: **** collab-it+edgex@linuxfoundation.org 17:29:11 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:29:11 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa3c60d [Pipeline] echo 17:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:11 provisioning config files... 17:29:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8321327376360570238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:12 ---> docker-login.sh 17:29:12 nexus3.edgexfoundry.org:10001 17:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:12 Configure a credential helper to remove this warning. See 17:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:12 17:29:12 Login Succeeded 17:29:12 nexus3.edgexfoundry.org:10002 17:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:12 Configure a credential helper to remove this warning. See 17:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:12 17:29:12 Login Succeeded 17:29:12 nexus3.edgexfoundry.org:10003 17:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:12 Configure a credential helper to remove this warning. See 17:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:12 17:29:12 Login Succeeded 17:29:12 nexus3.edgexfoundry.org:10004 17:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:12 Configure a credential helper to remove this warning. See 17:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:12 17:29:12 Login Succeeded 17:29:12 docker.io 17:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:13 Configure a credential helper to remove this warning. See 17:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:13 17:29:13 Login Succeeded 17:29:13 ---> docker-login.sh ends [Pipeline] } 17:29:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:13 + git rev-list -1 --merges fa3c60d7a690b3e821474cb16a5706590015ca97~1..fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] echo 17:29:13 -----------> git rev-list -1 --merges fa3c60d7a690b3e821474cb16a5706590015ca97~1..fa3c60d7a690b3e821474cb16a5706590015ca97 fa3c60d7a690b3e821474cb16a5706590015ca97 17:29:13 fa3c60d7a690b3e821474cb16a5706590015ca97 [false] [Pipeline] sh 17:29:13 + git log --format=format:%s -1 fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] echo 17:29:13 ========================================================= 17:29:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:14 + git log --format=format:%s -1 fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] echo 17:29:14 [semverPrep] GIT_COMMIT: fa3c60d7a690b3e821474cb16a5706590015ca97, Commit Message: Merge pull request #291 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.25 [Pipeline] echo 17:29:14 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:14 + grep -v github /etc/ssh/ssh_known_hosts 17:29:14 + [ -e /tmp/ssh_known_hosts ] 17:29:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:14 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:14 17:29:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:15 0.1.4: Pulling from edgex-devops/py-git-semver 17:29:15 b85a868b505f: Pulling fs layer 17:29:15 e2be974225ed: Pulling fs layer 17:29:15 339a4e72a1f5: Pulling fs layer 17:29:15 988bab9f4d93: Pulling fs layer 17:29:15 1469e6f7b9e6: Pulling fs layer 17:29:15 eaf3925da568: Pulling fs layer 17:29:15 988bab9f4d93: Waiting 17:29:15 1469e6f7b9e6: Waiting 17:29:15 bab4dde63d76: Pulling fs layer 17:29:15 eaf3925da568: Waiting 17:29:15 bde34c3a00c8: Pulling fs layer 17:29:15 b352a97aabf1: Pulling fs layer 17:29:15 bab4dde63d76: Waiting 17:29:15 bde34c3a00c8: Waiting 17:29:15 4872d77fe225: Pulling fs layer 17:29:15 5851b861e8e6: Pulling fs layer 17:29:15 b352a97aabf1: Waiting 17:29:15 4872d77fe225: Waiting 17:29:15 5851b861e8e6: Waiting 17:29:15 e2be974225ed: Download complete 17:29:15 988bab9f4d93: Verifying Checksum 17:29:15 988bab9f4d93: Download complete 17:29:15 1469e6f7b9e6: Verifying Checksum 17:29:15 1469e6f7b9e6: Download complete 17:29:15 339a4e72a1f5: Verifying Checksum 17:29:15 339a4e72a1f5: Download complete 17:29:15 eaf3925da568: Verifying Checksum 17:29:15 eaf3925da568: Download complete 17:29:15 bde34c3a00c8: Download complete 17:29:15 b352a97aabf1: Download complete 17:29:15 4872d77fe225: Verifying Checksum 17:29:15 4872d77fe225: Download complete 17:29:15 5851b861e8e6: Download complete 17:29:15 b85a868b505f: Download complete 17:29:15 bab4dde63d76: Verifying Checksum 17:29:15 bab4dde63d76: Download complete 17:29:16 b85a868b505f: Pull complete 17:29:16 e2be974225ed: Pull complete 17:29:17 339a4e72a1f5: Pull complete 17:29:17 988bab9f4d93: Pull complete 17:29:17 1469e6f7b9e6: Pull complete 17:29:17 eaf3925da568: Pull complete 17:29:19 bab4dde63d76: Pull complete 17:29:19 bde34c3a00c8: Pull complete 17:29:19 b352a97aabf1: Pull complete 17:29:19 4872d77fe225: Pull complete 17:29:19 5851b861e8e6: Pull complete 17:29:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:20 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:29:24 $ docker top 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 -eo pid,comm 17:29: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). 17:29:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:24 [ssh-agent] Looking for ssh-agent implementation... 17:29:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:24 $ docker exec 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 ssh-agent 17:29:24 SSH_AUTH_SOCK=/tmp/ssh-yMuOk0SywBBZ/agent.31 17:29:24 SSH_AGENT_PID=37 17:29:24 Running ssh-add (command line suppressed) 17:29:24 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18366013404093633537.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18366013404093633537.key) 17:29:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:25 + git tag --points-at HEAD [Pipeline] } 17:29:25 $ docker exec --env ******** --env ******** 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 ssh-agent -k 17:29:25 unset SSH_AUTH_SOCK; 17:29:25 unset SSH_AGENT_PID; 17:29:25 echo Agent pid 37 killed; 17:29:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:25 [ssh-agent] Looking for ssh-agent implementation... 17:29:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:25 $ docker exec 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 ssh-agent 17:29:25 SSH_AUTH_SOCK=/tmp/ssh-iE4zBqcLyT52/agent.69 17:29:25 SSH_AGENT_PID=75 17:29:25 Running ssh-add (command line suppressed) 17:29:25 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6039319007824937971.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6039319007824937971.key) 17:29:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:25 + git semver init 17:29:26 2023-09-19 17:29:26,033 [run_init] DEBUG init version:0.0.0 force:False 17:29:26 2023-09-19 17:29:26,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:29:26 2023-09-19 17:29:26,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:29:26 2023-09-19 17:29:26,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:29:27 2023-09-19 17:29:26,843 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:29:27 2023-09-19 17:29:26,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:29:27 2023-09-19 17:29:26,844 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:29:27 2023-09-19 17:29:26,844 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:29:27 3.1.0-dev.22 [Pipeline] } 17:29:27 $ docker exec --env ******** --env ******** 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 ssh-agent -k 17:29:27 unset SSH_AUTH_SOCK; 17:29:27 unset SSH_AGENT_PID; 17:29:27 echo Agent pid 75 killed; 17:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:27 + git semver [Pipeline] } 17:29:27 $ docker stop --time=1 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 17:29:29 $ docker rm -f --volumes 3c480fea1c3cc2305efb5a7c0d4db980351dbddb0e87c7a403cfa6d33ef63c05 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:29 Stashed 1 file(s) [Pipeline] echo 17:29:29 [edgeXSemver]: initialized semver on version 3.1.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:29 provisioning config files... 17:29:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config135169369236973548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:29 ---> docker-login.sh 17:29:29 nexus3.edgexfoundry.org:10001 17:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:29 Configure a credential helper to remove this warning. See 17:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:29 17:29:29 Login Succeeded 17:29:29 nexus3.edgexfoundry.org:10002 17:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:30 Configure a credential helper to remove this warning. See 17:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:30 17:29:30 Login Succeeded 17:29:30 nexus3.edgexfoundry.org:10003 17:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:30 Configure a credential helper to remove this warning. See 17:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:30 17:29:30 Login Succeeded 17:29:30 nexus3.edgexfoundry.org:10004 17:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:30 Configure a credential helper to remove this warning. See 17:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:30 17:29:30 Login Succeeded 17:29:30 docker.io 17:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:30 Configure a credential helper to remove this warning. See 17:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:30 17:29:30 Login Succeeded 17:29:30 ---> docker-login.sh ends [Pipeline] } 17:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:30 ========================================================= 17:29:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:29:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:29:31 Sending build context to Docker daemon 2.2MB 17:29:31 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:29:31 Step 2/13 : FROM ${BASE} AS builder 17:29:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:31 7264a8db6415: Pulling fs layer 17:29:31 c4d48a809fc2: Pulling fs layer 17:29:31 4f1c88b9dad5: Pulling fs layer 17:29:31 ad3a456e5733: Pulling fs layer 17:29:31 9e4f439ed901: Pulling fs layer 17:29:31 feaf6a47b606: Pulling fs layer 17:29:31 5e8b037d7d82: Pulling fs layer 17:29:31 8ac70367396e: Pulling fs layer 17:29:31 6db16350a2e2: Pulling fs layer 17:29:31 9250d5d63582: Pulling fs layer 17:29:31 5e8b037d7d82: Waiting 17:29:31 8ac70367396e: Waiting 17:29:31 ad3a456e5733: Waiting 17:29:31 9250d5d63582: Waiting 17:29:31 9e4f439ed901: Waiting 17:29:31 feaf6a47b606: Waiting 17:29:31 6db16350a2e2: Waiting 17:29:31 c4d48a809fc2: Verifying Checksum 17:29:31 c4d48a809fc2: Download complete 17:29:31 ad3a456e5733: Download complete 17:29:31 9e4f439ed901: Verifying Checksum 17:29:31 9e4f439ed901: Download complete 17:29:31 7264a8db6415: Verifying Checksum 17:29:31 7264a8db6415: Download complete 17:29:31 feaf6a47b606: Verifying Checksum 17:29:31 feaf6a47b606: Download complete 17:29:31 7264a8db6415: Pull complete 17:29:31 8ac70367396e: Verifying Checksum 17:29:31 8ac70367396e: Download complete 17:29:31 c4d48a809fc2: Pull complete 17:29:31 4f1c88b9dad5: Verifying Checksum 17:29:31 4f1c88b9dad5: Download complete 17:29:31 6db16350a2e2: Verifying Checksum 17:29:31 6db16350a2e2: Download complete 17:29:32 5e8b037d7d82: Verifying Checksum 17:29:32 5e8b037d7d82: Download complete 17:29:32 9250d5d63582: Verifying Checksum 17:29:32 9250d5d63582: Download complete 17:29:35 4f1c88b9dad5: Pull complete 17:29:35 ad3a456e5733: Pull complete 17:29:35 9e4f439ed901: Pull complete 17:29:35 feaf6a47b606: Pull complete 17:29:38 5e8b037d7d82: Pull complete 17:29:38 8ac70367396e: Pull complete 17:29:38 6db16350a2e2: Pull complete 17:29:39 9250d5d63582: Pull complete 17:29:39 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 17:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:29:39 ---> fa269f55d9b9 17:29:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:29:44 Still waiting to schedule task 17:29:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:29:47 ---> Running in b3d3a7552d58 17:29:48 Removing intermediate container b3d3a7552d58 17:29:48 ---> 9176e06cd8af 17:29:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:48 ---> Running in 16bcdacad253 17:29:48 Removing intermediate container 16bcdacad253 17:29:48 ---> 48a188c12af3 17:29:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:29:48 ---> Running in ad443e88571d 17:29:48 Removing intermediate container ad443e88571d 17:29:48 ---> d46fdc0400ea 17:29:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:29:48 ---> Running in 687e998e1fc1 17:29:48 Removing intermediate container 687e998e1fc1 17:29:48 ---> 27036230d20d 17:29:48 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:48 ---> Running in 731e423f5c40 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:29:49 (1/13) Installing libintl (0.21.1-r7) 17:29:49 (2/13) Installing eudev-libs (3.2.11-r8) 17:29:49 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:29:49 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:29:49 (5/13) Installing v4l-utils (1.24.1-r0) 17:29:49 (6/13) Installing libdvbv5 (1.24.1-r0) 17:29:49 (7/13) Installing udev-init-scripts (35-r1) 17:29:49 (8/13) Installing libblkid (2.38.1-r8) 17:29:49 (9/13) Installing xz-libs (5.4.3-r0) 17:29:49 (10/13) Installing kmod-libs (30-r3) 17:29:49 (11/13) Installing eudev (3.2.11-r8) 17:29:49 (12/13) Installing eudev-dev (3.2.11-r8) 17:29:49 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:29:49 Executing busybox-1.36.1-r2.trigger 17:29:49 Executing eudev-3.2.11-r8.trigger 17:29:49 OK: 272 MiB in 69 packages 17:29:50 Removing intermediate container 731e423f5c40 17:29:50 ---> a1d38895ecf5 17:29:50 Step 8/13 : WORKDIR /device-usb-camera 17:29:50 ---> Running in 1c7295598733 17:29:50 Removing intermediate container 1c7295598733 17:29:50 ---> bc2e66eaab03 17:29:50 Step 9/13 : COPY go.mod vendor* ./ 17:29:50 ---> 88a5de7a88aa 17:29:50 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:50 ---> Running in d2ca6f031cc1 17:30:37 Removing intermediate container d2ca6f031cc1 17:30:37 ---> f0f10e0865ef 17:30:37 Step 11/13 : COPY . . 17:30:37 ---> 805bdd61f672 17:30:37 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:30:37 ---> Running in e1f3d9c58dd2 17:30:37  % Total % Received % Xferd Average Speed Time Time Time Current 17:30:37 Dload Upload Total Spent Left Speed 17:30:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 12097 0 --:--:-- --:--:-- --:--:-- 12165 17:30:37 Removing intermediate container e1f3d9c58dd2 17:30:37 ---> 9043ae8ec0d1 17:30:37 Step 13/13 : RUN ${MAKE} 17:30:37 ---> Running in 4d3e9a4ae477 17:30:37 noop 17:30:37 Removing intermediate container 4d3e9a4ae477 17:30:37 ---> fe3760767dc0 17:30:37 Successfully built fe3760767dc0 17:30:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:37 + docker inspect -f . ci-base-image-x86_64 17:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:37 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:38 $ docker top 90c8084cd4493c5f40f6c366bcf1be6921feaf534729d5122c0e64377e4afdd1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:38 + go version 17:30:38 go version go1.21.0 linux/amd64 [Pipeline] } 17:30:38 $ docker stop --time=1 90c8084cd4493c5f40f6c366bcf1be6921feaf534729d5122c0e64377e4afdd1 17:30:39 $ docker rm -f --volumes 90c8084cd4493c5f40f6c366bcf1be6921feaf534729d5122c0e64377e4afdd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:40 + docker inspect -f . ci-base-image-x86_64 17:30:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:40 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:30:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:40 $ docker top b1510b8a2ff7c7790f39eac9ababad47dd3ad7ff4667f8266895e4d51647efac -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:41 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:30:41 + make test 17:30:41 go test ./... -coverprofile=coverage.out ./... 17:30:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:30:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:30:54 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 4.4% of statements 17:31:02 go vet ./... 17:31:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:05 ./bin/test-attribution-txt.sh [Pipeline] echo 17:31:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:31:05 $ docker stop --time=1 b1510b8a2ff7c7790f39eac9ababad47dd3ad7ff4667f8266895e4d51647efac 17:31:09 $ docker rm -f --volumes b1510b8a2ff7c7790f39eac9ababad47dd3ad7ff4667f8266895e4d51647efac [Pipeline] // withDockerContainer [Pipeline] sh 17:31:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:31:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:11 + ls -al . 17:31:11 total 220 17:31:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 17:30 . 17:31:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 17:29 .. 17:31:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 17:30 .git 17:31:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:29 .github 17:31:11 -rw-rw-r-- 1 jenkins jenkins 495 Sep 19 17:29 .gitignore 17:31:11 -rw-rw-r-- 1 jenkins jenkins 45 Sep 19 17:29 .golangci.yml 17:31:11 -rw-rw-r-- 1 jenkins jenkins 77 Sep 19 17:29 .hadolint.yml 17:31:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 17:29 .semver 17:31:11 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 19 17:29 Attribution.txt 17:31:11 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 19 17:29 CHANGELOG.md 17:31:11 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 19 17:29 Dockerfile 17:31:11 -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 17:29 GOVERNANCE.md 17:31:11 -rw-rw-r-- 1 jenkins jenkins 659 Sep 19 17:29 Jenkinsfile 17:31:11 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 17:29 LICENSE 17:31:11 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 19 17:29 Makefile 17:31:11 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 17:29 OWNERS.md 17:31:11 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 19 17:29 README.md 17:31:11 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 17:29 VERSION 17:31:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 17:29 bin 17:31:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:29 cmd 17:31:11 -rw-r--r-- 1 jenkins jenkins 54703 Sep 19 17:30 coverage.out 17:31:11 -rwxrwxr-x 1 jenkins jenkins 84 Sep 19 17:29 docker-entrypoint.sh 17:31:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 17:29 docs 17:31:11 -rw-rw-r-- 1 jenkins jenkins 3952 Sep 19 17:29 go.mod 17:31:11 -rw-rw-r-- 1 jenkins jenkins 35513 Sep 19 17:29 go.sum 17:31:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:29 internal 17:31:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 17:29 snap 17:31:11 -rw-rw-r-- 1 jenkins jenkins 231 Sep 19 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:11 + 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=fa3c60d7a690b3e821474cb16a5706590015ca97 --label arch=amd64 --label version=3.1.0-dev.22 . 17:31:11 Sending build context to Docker daemon 2.255MB 17:31:11 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 17:31:11 Step 2/36 : FROM ${BASE} AS builder 17:31:11 ---> fe3760767dc0 17:31:11 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:31:11 ---> Running in 4571898e7b14 17:31:11 Removing intermediate container 4571898e7b14 17:31:11 ---> 8c8b9af3d633 17:31:11 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:11 ---> Running in d9381263c1c2 17:31:11 Removing intermediate container d9381263c1c2 17:31:11 ---> af02cac2c661 17:31:11 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:31:11 ---> Running in dbf6faca1571 17:31:11 Removing intermediate container dbf6faca1571 17:31:11 ---> acc2937a041d 17:31:11 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:31:11 ---> Running in 1ab5833e4da1 17:31:11 Removing intermediate container 1ab5833e4da1 17:31:11 ---> e9d604332796 17:31:11 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:12 ---> Running in 2b61715434cf 17:31:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:31:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:31:12 OK: 272 MiB in 69 packages 17:31:12 Removing intermediate container 2b61715434cf 17:31:12 ---> 2c851cf86839 17:31:12 Step 8/36 : WORKDIR /device-usb-camera 17:31:12 ---> Running in 3251fa2fe2ec 17:31:12 Removing intermediate container 3251fa2fe2ec 17:31:12 ---> 7dac3a092d3e 17:31:12 Step 9/36 : COPY go.mod vendor* ./ 17:31:13 ---> 3d5d893b0063 17:31:13 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:13 ---> Running in 1aa0028d720a 17:31:14 Removing intermediate container 1aa0028d720a 17:31:14 ---> 1c9c132a4d84 17:31:14 Step 11/36 : COPY . . 17:31:14 ---> 73ee8c8cd71f 17:31:14 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:31:14 ---> Running in 456db94ac968 17:31:14  % Total % Received % Xferd Average Speed Time Time Time Current 17:31:14 Dload Upload Total Spent Left Speed 17:31:14 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 40638 0 --:--:-- --:--:-- --:--:-- 41766 17:31:15 Removing intermediate container 456db94ac968 17:31:15 ---> 196eb6361363 17:31:15 Step 13/36 : RUN ${MAKE} 17:31:15 ---> Running in 4e23c9bec41d 17:31:15 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:31:42 Removing intermediate container 4e23c9bec41d 17:31:42 ---> a49f5747fbb6 17:31:42 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:31:42 v0.21.6: Pulling from aler9/rtsp-simple-server 17:31:42 4acc49c71d14: Pulling fs layer 17:31:42 4acc49c71d14: Verifying Checksum 17:31:42 4acc49c71d14: Download complete 17:31:42 4acc49c71d14: Pull complete 17:31:42 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:31:42 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:31:42 ---> 01a2bd3e5fff 17:31:42 Step 15/36 : FROM alpine:3.18 17:31:42 3.18: Pulling from library/alpine 17:31:42 7264a8db6415: Already exists 17:31:42 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:31:42 Status: Downloaded newer image for alpine:3.18 17:31:42 ---> 7e01a0d0a1dc 17:31:42 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:31:42 ---> Running in 60d94cea8a40 17:31:42 Removing intermediate container 60d94cea8a40 17:31:42 ---> 4d1e03f4bdcc 17:31:42 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:31:42 ---> Running in 16e0ce5f8394 17:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:31:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:31:42 (1/107) Installing dumb-init (1.2.5-r2) 17:31:42 (2/107) Installing sdl2 (2.26.5-r0) 17:31:42 (3/107) Installing svt-av1-libs (1.6.0-r0) 17:31:42 (4/107) Installing aom-libs (3.6.1-r0) 17:31:42 (5/107) Installing libxau (1.0.11-r2) 17:31:42 (6/107) Installing libmd (1.0.4-r2) 17:31:42 (7/107) Installing libbsd (0.11.7-r1) 17:31:42 (8/107) Installing libxdmcp (1.1.4-r2) 17:31:42 (9/107) Installing libxcb (1.15-r1) 17:31:42 (10/107) Installing libx11 (1.8.4-r4) 17:31:42 (11/107) Installing hwdata-pci (0.370-r0) 17:31:42 (12/107) Installing libpciaccess (0.17-r2) 17:31:42 (13/107) Installing libdrm (2.4.115-r4) 17:31:42 (14/107) Installing libxext (1.3.5-r2) 17:31:42 (15/107) Installing libxfixes (6.0.1-r2) 17:31:42 (16/107) Installing libffi (3.4.4-r2) 17:31:42 (17/107) Installing wayland-libs-client (1.22.0-r2) 17:31:42 (18/107) Installing libva (2.18.0-r1) 17:31:42 (19/107) Installing libvdpau (1.5-r1) 17:31:42 (20/107) Installing libgcc (12.2.1_git20220924-r10) 17:31:42 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 17:31:42 (22/107) Installing onevpl-libs (2023.2.1-r0) 17:31:42 (23/107) Installing ffmpeg-libavutil (6.0-r15) 17:31:42 (24/107) Installing libdav1d (1.2.1-r0) 17:31:42 (25/107) Installing brotli-libs (1.0.9-r14) 17:31:42 (26/107) Installing libhwy (1.0.4-r1) 17:31:42 (27/107) Installing lcms2 (2.15-r2) 17:31:42 (28/107) Installing libjxl (0.8.2-r0) 17:31:42 (29/107) Installing lame-libs (3.100-r5) 17:31:42 (30/107) Installing opus (1.4-r0) 17:31:42 (31/107) Installing libgomp (12.2.1_git20220924-r10) 17:31:42 (32/107) Installing soxr (0.1.3-r5) 17:31:42 (33/107) Installing ffmpeg-libswresample (6.0-r15) 17:31:42 (34/107) Installing libogg (1.3.5-r4) 17:31:42 (35/107) Installing libtheora (1.1.1-r17) 17:31:42 (36/107) Installing libvorbis (1.3.7-r1) 17:31:42 (37/107) Installing libvpx (1.13.0-r1) 17:31:42 (38/107) Installing libwebp (1.3.2-r0) 17:31:42 (39/107) Installing x264-libs (0.164_git20220602-r1) 17:31:42 (40/107) Installing numactl (2.0.16-r4) 17:31:42 (41/107) Installing x265-libs (3.5-r4) 17:31:42 (42/107) Installing xvidcore (1.3.7-r1) 17:31:42 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 17:31:42 (44/107) Installing alsa-lib (1.2.9-r1) 17:31:42 (45/107) Installing libexpat (2.5.0-r1) 17:31:42 (46/107) Installing libbz2 (1.0.8-r5) 17:31:42 (47/107) Installing libpng (1.6.39-r3) 17:31:42 (48/107) Installing freetype (2.13.0-r5) 17:31:42 (49/107) Installing fontconfig (2.14.2-r3) 17:31:42 (50/107) Installing fribidi (1.0.13-r0) 17:31:42 (51/107) Installing libintl (0.21.1-r7) 17:31:42 (52/107) Installing libblkid (2.38.1-r8) 17:31:42 (53/107) Installing libmount (2.38.1-r8) 17:31:42 (54/107) Installing pcre2 (10.42-r1) 17:31:42 (55/107) Installing glib (2.76.4-r0) 17:31:42 (56/107) Installing graphite2 (1.3.14-r5) 17:31:42 (57/107) Installing harfbuzz (7.3.0-r0) 17:31:42 (58/107) Installing libunibreak (5.1-r0) 17:31:42 (59/107) Installing libass (0.17.1-r0) 17:31:42 (60/107) Installing libbluray (1.3.4-r0) 17:31:42 (61/107) Installing gmp (6.2.1-r3) 17:31:42 (62/107) Installing nettle (3.8.1-r2) 17:31:42 (63/107) Installing libunistring (1.1-r1) 17:31:42 (64/107) Installing libidn2 (2.3.4-r1) 17:31:42 (65/107) Installing p11-kit (0.24.1-r2) 17:31:42 (66/107) Installing libtasn1 (4.19.0-r1) 17:31:42 (67/107) Installing gnutls (3.8.0-r2) 17:31:42 (68/107) Installing mpg123-libs (1.31.3-r1) 17:31:42 (69/107) Installing libopenmpt (0.7.2-r0) 17:31:42 (70/107) Installing cjson (1.7.15-r4) 17:31:42 (71/107) Installing mbedtls (2.28.4-r0) 17:31:42 (72/107) Installing librist (0.2.7-r0) 17:31:42 (73/107) Installing libsrt (1.5.2-r0) 17:31:42 (74/107) Installing libssh (0.10.5-r0) 17:31:42 (75/107) Installing xz-libs (5.4.3-r0) 17:31:42 (76/107) Installing libxml2 (2.11.4-r0) 17:31:42 (77/107) Installing libsodium (1.0.18-r3) 17:31:42 (78/107) Installing libzmq (4.3.4-r4) 17:31:42 (79/107) Installing ffmpeg-libavformat (6.0-r15) 17:31:42 (80/107) Installing glslang-libs (1.3.243.0-r1) 17:31:42 (81/107) Installing spirv-tools (1.3.243.0-r1) 17:31:42 (82/107) Installing shaderc (2023.3-r1) 17:31:42 (83/107) Installing vulkan-loader (1.3.243.0-r1) 17:31:42 (84/107) Installing libplacebo (5.264.1-r1) 17:31:42 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 17:31:42 (86/107) Installing ffmpeg-libswscale (6.0-r15) 17:31:42 (87/107) Installing vidstab (1.1.1-r0) 17:31:42 (88/107) Installing zimg (3.0.5-r0) 17:31:42 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 17:31:42 (90/107) Installing libasyncns (0.8-r1) 17:31:42 (91/107) Installing dbus-libs (1.14.8-r0) 17:31:42 (92/107) Installing libltdl (2.4.7-r2) 17:31:42 (93/107) Installing orc (0.4.34-r0) 17:31:42 (94/107) Installing flac-libs (1.4.3-r0) 17:31:42 (95/107) Installing libsndfile (1.2.0-r2) 17:31:42 (96/107) Installing speexdsp (1.2.1-r1) 17:31:42 (97/107) Installing tdb-libs (1.4.8-r1) 17:31:42 (98/107) Installing libpulse (16.1-r10) 17:31:42 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 17:31:42 (100/107) Installing v4l-utils-libs (1.24.1-r0) 17:31:42 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 17:31:42 (102/107) Installing ffmpeg (6.0-r15) 17:31:42 (103/107) Installing udev-init-scripts (35-r1) 17:31:42 (104/107) Installing eudev-libs (3.2.11-r8) 17:31:42 (105/107) Installing zstd-libs (1.5.5-r4) 17:31:42 (106/107) Installing kmod-libs (30-r3) 17:31:42 (107/107) Installing eudev (3.2.11-r8) 17:31:43 Executing busybox-1.36.1-r2.trigger 17:31:43 Executing glib-2.76.4-r0.trigger 17:31:43 Executing eudev-3.2.11-r8.trigger 17:31:43 OK: 131 MiB in 122 packages 17:31:48 Removing intermediate container 16e0ce5f8394 17:31:48 ---> a4460914d497 17:31:48 Step 18/36 : WORKDIR / 17:31:48 ---> Running in f3c88ae4756c 17:31:48 Removing intermediate container f3c88ae4756c 17:31:48 ---> a35d03cb3c9b 17:31:48 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:31:49 ---> e7821f8cb215 17:31:49 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:31:49 ---> b55ea0663006 17:31:49 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:31:49 ---> 87a98d140154 17:31:49 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:31:50 ---> f652e7c2ca75 17:31:50 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:31:50 ---> 2af599799a2c 17:31:50 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:31:50 ---> 1657ffe8709f 17:31:50 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:31:51 ---> 4474464c789f 17:31:51 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:31:52 ---> Running in fa77e252d27e 17:31:53 Removing intermediate container fa77e252d27e 17:31:53 ---> 772ebc6e449f 17:31:53 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:31:53 ---> Running in 13aea0038407 17:31:54 Removing intermediate container 13aea0038407 17:31:54 ---> 3e954d8595de 17:31:54 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:31:54 ---> Running in 6e500602d3b9 17:31:55 Removing intermediate container 6e500602d3b9 17:31:55 ---> e6c2ba61e12d 17:31:55 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:31:55 ---> Running in f38e5415ad52 17:31:55 Removing intermediate container f38e5415ad52 17:31:55 ---> 71e180e662a9 17:31:55 Step 30/36 : EXPOSE 59983 17:31:55 ---> Running in d7fd96b00826 17:31:55 Removing intermediate container d7fd96b00826 17:31:55 ---> 58c81e98e123 17:31:55 Step 31/36 : EXPOSE 8554 17:31:55 ---> Running in 65445a9915ec 17:31:55 Removing intermediate container 65445a9915ec 17:31:55 ---> 89a91926d9fe 17:31:55 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:31:55 ---> Running in 75bc9786c1d4 17:31:55 Removing intermediate container 75bc9786c1d4 17:31:55 ---> bbd13be1ffe2 17:31:55 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:31:55 ---> Running in 8e884c999bb4 17:31:56 Removing intermediate container 8e884c999bb4 17:31:56 ---> e75673f48121 17:31:56 Step 34/36 : LABEL arch=amd64 17:31:56 ---> Running in 47111def8c73 17:31:56 Removing intermediate container 47111def8c73 17:31:56 ---> a63fb468d183 17:31:56 Step 35/36 : LABEL git_sha=fa3c60d7a690b3e821474cb16a5706590015ca97 17:31:56 ---> Running in 871a3f1035ff 17:31:56 Removing intermediate container 871a3f1035ff 17:31:56 ---> f5704cd24a68 17:31:56 Step 36/36 : LABEL version=3.1.0-dev.22 17:31:56 ---> Running in 8920298fd9ce 17:31:56 Removing intermediate container 8920298fd9ce 17:31:56 ---> 395e2d226f55 17:31:56 [Warning] One or more build-args [ARCH] were not consumed 17:31:56 Successfully built 395e2d226f55 17:31:56 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:56 provisioning config files... 17:31:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config654436775051927649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:56 ---> docker-login.sh 17:31:56 nexus3.edgexfoundry.org:10001 17:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:56 Configure a credential helper to remove this warning. See 17:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:56 17:31:56 Login Succeeded 17:31:56 nexus3.edgexfoundry.org:10002 17:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:56 Configure a credential helper to remove this warning. See 17:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:56 17:31:56 Login Succeeded 17:31:56 nexus3.edgexfoundry.org:10003 17:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:57 Configure a credential helper to remove this warning. See 17:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:57 17:31:57 Login Succeeded 17:31:57 nexus3.edgexfoundry.org:10004 17:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:57 Configure a credential helper to remove this warning. See 17:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:57 17:31:57 Login Succeeded 17:31:57 docker.io 17:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:57 Configure a credential helper to remove this warning. See 17:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:57 17:31:57 Login Succeeded 17:31:57 ---> docker-login.sh ends [Pipeline] } 17:31:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:57 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:31:57 fa3c60d7a690b3e821474cb16a5706590015ca97 17:31:57 latest 17:31:57 3.1.0-dev.22 17:31:57 fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:31:57 main 17:31:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:57 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97 17:31:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:31:57 b3e17de342ad: Preparing 17:31:57 d7abbafb9a1a: Preparing 17:31:57 1e5ac4a22504: Preparing 17:31:57 a74cfbfa1584: Preparing 17:31:57 3827b5b91e75: Preparing 17:31:57 acc83c6ca332: Preparing 17:31:57 7bc2d41bdd50: Preparing 17:31:57 487a61d84c59: Preparing 17:31:57 ea3c6e7cacd4: Preparing 17:31:57 19f044da0569: Preparing 17:31:57 a1b97830dec9: Preparing 17:31:57 1829fe52bf15: Preparing 17:31:57 4693057ce236: Preparing 17:31:57 ea3c6e7cacd4: Waiting 17:31:57 19f044da0569: Waiting 17:31:57 7bc2d41bdd50: Waiting 17:31:57 acc83c6ca332: Waiting 17:31:57 487a61d84c59: Waiting 17:31:57 4693057ce236: Waiting 17:31:57 1829fe52bf15: Waiting 17:31:57 d7abbafb9a1a: Pushed 17:31:57 b3e17de342ad: Pushed 17:31:57 a74cfbfa1584: Pushed 17:31:57 1e5ac4a22504: Pushed 17:31:58 acc83c6ca332: Pushed 17:31:58 7bc2d41bdd50: Pushed 17:31:58 487a61d84c59: Pushed 17:31:58 19f044da0569: Pushed 17:31:58 ea3c6e7cacd4: Pushed 17:31:58 4693057ce236: Layer already exists 17:32:00 3827b5b91e75: Pushed 17:32:01 a1b97830dec9: Pushed 17:32:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6592 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:32:06 Running in /w/workspace/device-usb-camera/147 [Pipeline] { [Pipeline] checkout 17:32:06 Selected Git installation does not exist. Using Default 17:32:06 The recommended git tool is: NONE 17:32:11 1829fe52bf15: Pushed 17:32:11 fa3c60d7a690b3e821474cb16a5706590015ca97: digest: sha256:7dc9c4d871862f1affdefe85b6d160beb9d269c793ed3a00bb560d7567311eb3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:11 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:32:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:32:11 b3e17de342ad: Preparing 17:32:11 d7abbafb9a1a: Preparing 17:32:11 1e5ac4a22504: Preparing 17:32:11 a74cfbfa1584: Preparing 17:32:11 3827b5b91e75: Preparing 17:32:11 acc83c6ca332: Preparing 17:32:11 7bc2d41bdd50: Preparing 17:32:11 487a61d84c59: Preparing 17:32:11 ea3c6e7cacd4: Preparing 17:32:11 19f044da0569: Preparing 17:32:11 a1b97830dec9: Preparing 17:32:11 1829fe52bf15: Preparing 17:32:11 4693057ce236: Preparing 17:32:11 7bc2d41bdd50: Waiting 17:32:11 4693057ce236: Waiting 17:32:11 a1b97830dec9: Waiting 17:32:11 487a61d84c59: Waiting 17:32:11 ea3c6e7cacd4: Waiting 17:32:11 19f044da0569: Waiting 17:32:11 1829fe52bf15: Waiting 17:32:11 acc83c6ca332: Waiting 17:32:11 1e5ac4a22504: Layer already exists 17:32:11 3827b5b91e75: Layer already exists 17:32:11 d7abbafb9a1a: Layer already exists 17:32:11 b3e17de342ad: Layer already exists 17:32:11 a74cfbfa1584: Layer already exists 17:32:11 acc83c6ca332: Layer already exists 17:32:11 7bc2d41bdd50: Layer already exists 17:32:11 487a61d84c59: Layer already exists 17:32:11 19f044da0569: Layer already exists 17:32:11 ea3c6e7cacd4: Layer already exists 17:32:11 a1b97830dec9: Layer already exists 17:32:11 1829fe52bf15: Layer already exists 17:32:11 4693057ce236: Layer already exists 17:32:11 latest: digest: sha256:7dc9c4d871862f1affdefe85b6d160beb9d269c793ed3a00bb560d7567311eb3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.22 17:32:11 using credential edgex-jenkins-ssh [Pipeline] } [Pipeline] // withEnv 17:32:12 Cloning the remote Git repository [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.22 17:32:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:32:12 b3e17de342ad: Preparing 17:32:12 d7abbafb9a1a: Preparing 17:32:12 1e5ac4a22504: Preparing 17:32:12 a74cfbfa1584: Preparing 17:32:12 3827b5b91e75: Preparing 17:32:12 acc83c6ca332: Preparing 17:32:12 7bc2d41bdd50: Preparing 17:32:12 487a61d84c59: Preparing 17:32:12 ea3c6e7cacd4: Preparing 17:32:12 19f044da0569: Preparing 17:32:12 a1b97830dec9: Preparing 17:32:12 1829fe52bf15: Preparing 17:32:12 4693057ce236: Preparing 17:32:12 7bc2d41bdd50: Waiting 17:32:12 487a61d84c59: Waiting 17:32:12 ea3c6e7cacd4: Waiting 17:32:12 1829fe52bf15: Waiting 17:32:12 19f044da0569: Waiting 17:32:12 4693057ce236: Waiting 17:32:12 a1b97830dec9: Waiting 17:32:12 d7abbafb9a1a: Layer already exists 17:32:12 b3e17de342ad: Layer already exists 17:32:12 a74cfbfa1584: Layer already exists 17:32:12 1e5ac4a22504: Layer already exists 17:32:12 3827b5b91e75: Layer already exists 17:32:12 acc83c6ca332: Layer already exists 17:32:12 19f044da0569: Layer already exists 17:32:12 487a61d84c59: Layer already exists 17:32:12 ea3c6e7cacd4: Layer already exists 17:32:12 7bc2d41bdd50: Layer already exists 17:32:12 a1b97830dec9: Layer already exists 17:32:12 1829fe52bf15: Layer already exists 17:32:12 4693057ce236: Layer already exists 17:32:12 3.1.0-dev.22: digest: sha256:7dc9c4d871862f1affdefe85b6d160beb9d269c793ed3a00bb560d7567311eb3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:12 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:32:12 > git init /w/workspace/device-usb-camera/147 # timeout=10 17:32:12 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:32:12 > git --version # timeout=10 17:32:12 > git --version # 'git version 2.25.1' 17:32:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:32:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:32:12 b3e17de342ad: Preparing 17:32:12 d7abbafb9a1a: Preparing 17:32:12 1e5ac4a22504: Preparing 17:32:12 a74cfbfa1584: Preparing 17:32:12 3827b5b91e75: Preparing 17:32:12 acc83c6ca332: Preparing 17:32:12 7bc2d41bdd50: Preparing 17:32:12 487a61d84c59: Preparing 17:32:12 ea3c6e7cacd4: Preparing 17:32:12 19f044da0569: Preparing 17:32:12 a1b97830dec9: Preparing 17:32:12 1829fe52bf15: Preparing 17:32:12 4693057ce236: Preparing 17:32:12 7bc2d41bdd50: Waiting 17:32:12 487a61d84c59: Waiting 17:32:12 ea3c6e7cacd4: Waiting 17:32:12 19f044da0569: Waiting 17:32:12 1829fe52bf15: Waiting 17:32:12 a1b97830dec9: Waiting 17:32:12 4693057ce236: Waiting 17:32:12 acc83c6ca332: Waiting 17:32:12 3827b5b91e75: Layer already exists 17:32:12 a74cfbfa1584: Layer already exists 17:32:12 d7abbafb9a1a: Layer already exists 17:32:12 b3e17de342ad: Layer already exists 17:32:12 1e5ac4a22504: Layer already exists 17:32:12 7bc2d41bdd50: Layer already exists 17:32:12 acc83c6ca332: Layer already exists 17:32:12 19f044da0569: Layer already exists 17:32:12 487a61d84c59: Layer already exists 17:32:12 ea3c6e7cacd4: Layer already exists 17:32:12 a1b97830dec9: Layer already exists 17:32:12 1829fe52bf15: Layer already exists 17:32:12 4693057ce236: Layer already exists 17:32:12 fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22: digest: sha256:7dc9c4d871862f1affdefe85b6d160beb9d269c793ed3a00bb560d7567311eb3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:13 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:32:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:32:13 b3e17de342ad: Preparing 17:32:13 d7abbafb9a1a: Preparing 17:32:13 1e5ac4a22504: Preparing 17:32:13 a74cfbfa1584: Preparing 17:32:13 3827b5b91e75: Preparing 17:32:13 acc83c6ca332: Preparing 17:32:13 7bc2d41bdd50: Preparing 17:32:13 487a61d84c59: Preparing 17:32:13 ea3c6e7cacd4: Preparing 17:32:13 19f044da0569: Preparing 17:32:13 a1b97830dec9: Preparing 17:32:13 1829fe52bf15: Preparing 17:32:13 4693057ce236: Preparing 17:32:13 19f044da0569: Waiting 17:32:13 487a61d84c59: Waiting 17:32:13 ea3c6e7cacd4: Waiting 17:32:13 acc83c6ca332: Waiting 17:32:13 a1b97830dec9: Waiting 17:32:13 1829fe52bf15: Waiting 17:32:13 4693057ce236: Waiting 17:32:13 3827b5b91e75: Layer already exists 17:32:13 1e5ac4a22504: Layer already exists 17:32:13 d7abbafb9a1a: Layer already exists 17:32:13 a74cfbfa1584: Layer already exists 17:32:13 b3e17de342ad: Layer already exists 17:32:13 acc83c6ca332: Layer already exists 17:32:13 7bc2d41bdd50: Layer already exists 17:32:13 487a61d84c59: Layer already exists 17:32:13 ea3c6e7cacd4: Layer already exists 17:32:13 19f044da0569: Layer already exists 17:32:13 a1b97830dec9: Layer already exists 17:32:13 1829fe52bf15: Layer already exists 17:32:13 4693057ce236: Layer already exists 17:32:13 main: digest: sha256:7dc9c4d871862f1affdefe85b6d160beb9d269c793ed3a00bb560d7567311eb3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:32:13 ===================================================== [Pipeline] echo 17:32:13 taggedImages: 17:32:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97 17:32:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:32:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.22 17:32:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:32:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:13 17:32:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:32:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:14 latest: Pulling from edgex-lftools-log-publisher 17:32:14 5eb5b503b376: Pulling fs layer 17:32:14 5c69ac0246d0: Pulling fs layer 17:32:14 ec43610c2a17: Pulling fs layer 17:32:14 3a2ae6a8a46f: Pulling fs layer 17:32:14 33b1e0a273af: Pulling fs layer 17:32:14 5d3b04190fa2: Pulling fs layer 17:32:14 2f39f015ded8: Pulling fs layer 17:32:14 33b1e0a273af: Waiting 17:32:14 5d3b04190fa2: Waiting 17:32:14 2f39f015ded8: Waiting 17:32:14 3a2ae6a8a46f: Waiting 17:32:14 5c69ac0246d0: Download complete 17:32:14 3a2ae6a8a46f: Verifying Checksum 17:32:14 3a2ae6a8a46f: Download complete 17:32:14 33b1e0a273af: Verifying Checksum 17:32:14 33b1e0a273af: Download complete 17:32:14 ec43610c2a17: Verifying Checksum 17:32:14 ec43610c2a17: Download complete 17:32:14 5d3b04190fa2: Verifying Checksum 17:32:14 5d3b04190fa2: Download complete 17:32:14 Avoid second fetch 17:32:14 Checking out Revision fa3c60d7a690b3e821474cb16a5706590015ca97 (main) 17:32:14 5eb5b503b376: Verifying Checksum 17:32:14 5eb5b503b376: Download complete 17:32:15 Commit message: "Merge pull request #291 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.25" 17:32:15 2f39f015ded8: Download complete 17:32:14 > git config core.sparsecheckout # timeout=10 17:32:14 > git checkout -f fa3c60d7a690b3e821474cb16a5706590015ca97 # timeout=10 17:32:15 17:32:15 GitHub has been notified of this commit’s build result 17:32:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:15 5eb5b503b376: Pull complete 17:32:15 5c69ac0246d0: Pull complete 17:32:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:15 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:15 Dload Upload Total Spent Left Speed 17:32:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k 17:32:16 ec43610c2a17: Pull complete 17:32:16 3a2ae6a8a46f: Pull complete [Pipeline] sh 17:32:16 33b1e0a273af: Pull complete 17:32:16 5d3b04190fa2: Pull complete 17:32:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:17 + sudo tee /etc/docker/daemon.new 17:32:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:17 { 17:32:17 "registry-mirrors": [ 17:32:17 "https://nexus3.edgexfoundry.org:10001" 17:32:17 ], 17:32:17 "bip": "10.250.0.254/24", 17:32:17 "hosts": [ 17:32:17 "tcp://0.0.0.0:5555", 17:32:17 "unix:///var/run/docker.sock" 17:32:17 ], 17:32:17 "mtu": 1458, 17:32:17 "selinux-enabled": true, 17:32:17 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:17 } [Pipeline] sh 17:32:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:17 + sudo service docker restart 17:32:20 2f39f015ded8: Pull complete 17:32:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:20 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:32:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:32:25 $ docker top c3b5cefc06f10bc36b6ab25e3b9f7989fc79e4149ee44c69449c9426c5e5b9c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:25 ---> job-cost.sh 17:32:25 lf-activate-venv: SKIPPING 17:32:25 INFO: No Stack... 17:32:26 INFO: Retrieving Pricing Info for: v3-standard-8 17:32:26 INFO: Archiving Costs [Pipeline] sh 17:32:26 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:32:26 + cut -d, -f6 [Pipeline] lock 17:32:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] 17:32:26 Resource [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] did not exist. Created. 17:32:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:32:27 + echo total: 0.2199999988079071 [Pipeline] stash 17:32:27 Stashed 1 file(s) [Pipeline] } 17:32:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 17:32:27 $ docker stop --time=1 c3b5cefc06f10bc36b6ab25e3b9f7989fc79e4149ee44c69449c9426c5e5b9c5 17:32:28 $ docker rm -f --volumes c3b5cefc06f10bc36b6ab25e3b9f7989fc79e4149ee44c69449c9426c5e5b9c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:35 provisioning config files... 17:32:36 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/147@tmp/config15793000787169629346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:36 ---> docker-login.sh 17:32:36 nexus3.edgexfoundry.org:10001 17:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:36 Configure a credential helper to remove this warning. See 17:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:36 17:32:36 Login Succeeded 17:32:36 nexus3.edgexfoundry.org:10002 17:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:37 Configure a credential helper to remove this warning. See 17:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:37 17:32:37 Login Succeeded 17:32:37 nexus3.edgexfoundry.org:10003 17:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:37 Configure a credential helper to remove this warning. See 17:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:37 17:32:37 Login Succeeded 17:32:37 nexus3.edgexfoundry.org:10004 17:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:38 Configure a credential helper to remove this warning. See 17:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:38 17:32:38 Login Succeeded 17:32:38 docker.io 17:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:38 Configure a credential helper to remove this warning. See 17:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:38 17:32:38 Login Succeeded 17:32:38 ---> docker-login.sh ends [Pipeline] } 17:32:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:38 ========================================================= 17:32:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:32:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:32:39 Sending build context to Docker daemon 1.315MB 17:32:39 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 17:32:39 Step 2/13 : FROM ${BASE} AS builder 17:32:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:39 9fda8d8052c6: Pulling fs layer 17:32:39 5d54e960e981: Pulling fs layer 17:32:39 c4a7e357bf2a: Pulling fs layer 17:32:39 f0e02332f6b5: Pulling fs layer 17:32:39 66412af1f25a: Pulling fs layer 17:32:39 1baf3a5c0e64: Pulling fs layer 17:32:39 9a37bb91b891: Pulling fs layer 17:32:39 a29adfc67d43: Pulling fs layer 17:32:39 d5de9f91c1a4: Pulling fs layer 17:32:39 f0e02332f6b5: Waiting 17:32:39 66412af1f25a: Waiting 17:32:39 1baf3a5c0e64: Waiting 17:32:39 9a37bb91b891: Waiting 17:32:39 a29adfc67d43: Waiting 17:32:39 d5de9f91c1a4: Waiting 17:32:39 5d54e960e981: Download complete 17:32:39 f0e02332f6b5: Verifying Checksum 17:32:39 f0e02332f6b5: Download complete 17:32:39 66412af1f25a: Verifying Checksum 17:32:39 66412af1f25a: Download complete 17:32:39 9fda8d8052c6: Verifying Checksum 17:32:39 9fda8d8052c6: Download complete 17:32:40 9a37bb91b891: Verifying Checksum 17:32:40 9a37bb91b891: Download complete 17:32:40 9fda8d8052c6: Pull complete 17:32:40 a29adfc67d43: Verifying Checksum 17:32:40 a29adfc67d43: Download complete 17:32:41 5d54e960e981: Pull complete 17:32:41 d5de9f91c1a4: Verifying Checksum 17:32:41 d5de9f91c1a4: Download complete 17:32:41 c4a7e357bf2a: Verifying Checksum 17:32:41 c4a7e357bf2a: Download complete 17:32:42 1baf3a5c0e64: Verifying Checksum 17:32:42 1baf3a5c0e64: Download complete 17:32:53 c4a7e357bf2a: Pull complete 17:32:53 f0e02332f6b5: Pull complete 17:32:53 66412af1f25a: Pull complete 17:32:59 1baf3a5c0e64: Pull complete 17:33:00 9a37bb91b891: Pull complete 17:33:01 a29adfc67d43: Pull complete 17:33:04 d5de9f91c1a4: Pull complete 17:33:04 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 17:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:33:04 ---> 746ca1b523b5 17:33:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:33:06 ---> Running in 629761e01c64 17:33:06 Removing intermediate container 629761e01c64 17:33:06 ---> 1225b1dbc658 17:33:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:06 ---> Running in c001df7b9980 17:33:06 Removing intermediate container c001df7b9980 17:33:06 ---> 63f5d1e54d1c 17:33:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:33:07 ---> Running in 9036925f20c3 17:33:07 Removing intermediate container 9036925f20c3 17:33:07 ---> 0bdc6ac6e282 17:33:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:33:07 ---> Running in 3c027087f368 17:33:07 Removing intermediate container 3c027087f368 17:33:07 ---> b18a2ff6cbcf 17:33:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:07 ---> Running in f57adef045ee 17:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:33:10 (1/13) Installing libintl (0.21.1-r7) 17:33:10 (2/13) Installing eudev-libs (3.2.11-r8) 17:33:10 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 17:33:10 (4/13) Installing v4l-utils-libs (1.24.1-r0) 17:33:10 (5/13) Installing v4l-utils (1.24.1-r0) 17:33:10 (6/13) Installing libdvbv5 (1.24.1-r0) 17:33:10 (7/13) Installing udev-init-scripts (35-r1) 17:33:10 (8/13) Installing libblkid (2.38.1-r8) 17:33:10 (9/13) Installing xz-libs (5.4.3-r0) 17:33:10 (10/13) Installing kmod-libs (30-r3) 17:33:10 (11/13) Installing eudev (3.2.11-r8) 17:33:10 (12/13) Installing eudev-dev (3.2.11-r8) 17:33:10 (13/13) Installing v4l-utils-dev (1.24.1-r0) 17:33:10 Executing busybox-1.36.1-r2.trigger 17:33:10 Executing eudev-3.2.11-r8.trigger 17:33:10 OK: 275 MiB in 69 packages 17:33:12 Removing intermediate container f57adef045ee 17:33:12 ---> 312169315d0b 17:33:12 Step 8/13 : WORKDIR /device-usb-camera 17:33:12 ---> Running in e96baf39c80d 17:33:12 Removing intermediate container e96baf39c80d 17:33:12 ---> fda2ecc70c69 17:33:12 Step 9/13 : COPY go.mod vendor* ./ 17:33:13 ---> ad861cbbd0c4 17:33:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:13 ---> Running in f44b20cb6585 17:34:25 Removing intermediate container f44b20cb6585 17:34:25 ---> 991523deaaf0 17:34:25 Step 11/13 : COPY . . 17:34:25 ---> 1ce2e279febc 17:34:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:34:25 ---> Running in 2ab5660cc159 17:34:25  % Total % Received % Xferd Average Speed Time Time Time Current 17:34:25 Dload Upload Total Spent Left Speed 17:34:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 9666 0 --:--:-- --:--:-- --:--:--  9713 17:34:25 Removing intermediate container 2ab5660cc159 17:34:25 ---> 2befc3fc5663 17:34:25 Step 13/13 : RUN ${MAKE} 17:34:25 ---> Running in 504e26391309 17:34:25 noop 17:34:25 Removing intermediate container 504e26391309 17:34:25 ---> 286bc0a8e8bb 17:34:25 Successfully built 286bc0a8e8bb 17:34:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:25 + docker inspect -f . ci-base-image-arm64 17:34:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:25 prd-ubuntu20.04-docker-arm64-4c-16g-6592 does not seem to be running inside a container 17:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/147 -v /w/workspace/device-usb-camera/147:/w/workspace/device-usb-camera/147:rw,z -v /w/workspace/device-usb-camera/147@tmp:/w/workspace/device-usb-camera/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:27 $ docker top aaea6db78ae60bbc9282584fec310b36578bc2cf2d4227db3d0fb8334964c287 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:28 + go version 17:34:28 go version go1.21.0 linux/arm64 [Pipeline] } 17:34:28 $ docker stop --time=1 aaea6db78ae60bbc9282584fec310b36578bc2cf2d4227db3d0fb8334964c287 17:34:29 $ docker rm -f --volumes aaea6db78ae60bbc9282584fec310b36578bc2cf2d4227db3d0fb8334964c287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:30 + docker inspect -f . ci-base-image-arm64 17:34:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:30 prd-ubuntu20.04-docker-arm64-4c-16g-6592 does not seem to be running inside a container 17:34:30 $ 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/147 -v /w/workspace/device-usb-camera/147:/w/workspace/device-usb-camera/147:rw,z -v /w/workspace/device-usb-camera/147@tmp:/w/workspace/device-usb-camera/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:31 $ docker top a95c46210792175e577f61ddfe1f69256a88f5f8276e212bef0514e738dcdd91 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:32 + git config --global --add safe.directory /w/workspace/device-usb-camera/147 [Pipeline] fileExists [Pipeline] sh 17:34:32 + make test 17:34:32 go test ./... -coverprofile=coverage.out ./... 17:34:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:36:14 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:36:17 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.073s coverage: 4.4% of statements 17:36:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:36:17 go vet ./... 17:36:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:36:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:36:44 ./bin/test-attribution-txt.sh [Pipeline] echo 17:36:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:36:44 $ docker stop --time=1 a95c46210792175e577f61ddfe1f69256a88f5f8276e212bef0514e738dcdd91 17:36:46 $ docker rm -f --volumes a95c46210792175e577f61ddfe1f69256a88f5f8276e212bef0514e738dcdd91 [Pipeline] // withDockerContainer [Pipeline] sh 17:36:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:36:47 Warning: overwriting stash ‘coverage-report’ 17:36:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:49 + ls -al . 17:36:49 total 216 17:36:49 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 17:34 . 17:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 17:32 .. 17:36:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 17:32 .git 17:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:32 .github 17:36:49 -rw-rw-r-- 1 jenkins jenkins 495 Sep 19 17:32 .gitignore 17:36:49 -rw-rw-r-- 1 jenkins jenkins 45 Sep 19 17:32 .golangci.yml 17:36:49 -rw-rw-r-- 1 jenkins jenkins 77 Sep 19 17:32 .hadolint.yml 17:36:49 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 19 17:32 Attribution.txt 17:36:49 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 19 17:32 CHANGELOG.md 17:36:49 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 19 17:32 Dockerfile 17:36:49 -rw-rw-r-- 1 jenkins jenkins 678 Sep 19 17:32 GOVERNANCE.md 17:36:49 -rw-rw-r-- 1 jenkins jenkins 659 Sep 19 17:32 Jenkinsfile 17:36:49 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 19 17:32 LICENSE 17:36:49 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 19 17:32 Makefile 17:36:49 -rw-rw-r-- 1 jenkins jenkins 622 Sep 19 17:32 OWNERS.md 17:36:49 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 19 17:32 README.md 17:36:49 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 17:29 VERSION 17:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 17:32 bin 17:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:32 cmd 17:36:49 -rw-r--r-- 1 jenkins jenkins 54703 Sep 19 17:36 coverage.out 17:36:49 -rwxrwxr-x 1 jenkins jenkins 84 Sep 19 17:32 docker-entrypoint.sh 17:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 17:32 docs 17:36:49 -rw-rw-r-- 1 jenkins jenkins 3952 Sep 19 17:32 go.mod 17:36:49 -rw-rw-r-- 1 jenkins jenkins 35513 Sep 19 17:32 go.sum 17:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 17:32 internal 17:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 17:32 snap 17:36:49 -rw-rw-r-- 1 jenkins jenkins 231 Sep 19 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:49 + 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=fa3c60d7a690b3e821474cb16a5706590015ca97 --label arch=arm64 --label version=3.1.0-dev.22 . 17:36:49 Sending build context to Docker daemon 1.371MB 17:36:49 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 17:36:49 Step 2/36 : FROM ${BASE} AS builder 17:36:49 ---> 286bc0a8e8bb 17:36:49 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:36:49 ---> Running in a9cc03afa8b5 17:36:51 Removing intermediate container a9cc03afa8b5 17:36:51 ---> 5ec8b7a9d269 17:36:51 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:36:52 ---> Running in 59136e9ee266 17:36:52 Removing intermediate container 59136e9ee266 17:36:52 ---> d1be926d9aa1 17:36:52 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:36:52 ---> Running in 9d10e35b06ac 17:36:52 Removing intermediate container 9d10e35b06ac 17:36:52 ---> 4f1f4b61e04d 17:36:52 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:36:52 ---> Running in 4a26ad4a335b 17:36:53 Removing intermediate container 4a26ad4a335b 17:36:53 ---> 35899dfaaddf 17:36:53 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:36:53 ---> Running in 96273089235b 17:36:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:36:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:36:55 OK: 275 MiB in 69 packages 17:36:56 Removing intermediate container 96273089235b 17:36:56 ---> 6e040abaf6a2 17:36:56 Step 8/36 : WORKDIR /device-usb-camera 17:36:56 ---> Running in 47bebfa6b6bc 17:36:56 Removing intermediate container 47bebfa6b6bc 17:36:56 ---> b896198d35ef 17:36:56 Step 9/36 : COPY go.mod vendor* ./ 17:36:57 ---> 0b93b6aea331 17:36:57 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:57 ---> Running in 5aa08866a2b3 17:37:00 Removing intermediate container 5aa08866a2b3 17:37:00 ---> 432eb064cfc3 17:37:00 Step 11/36 : COPY . . 17:37:00 ---> abf0dccea60d 17:37:00 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:37:00 ---> Running in 409cd68481e7 17:37:01   % Total % Received % Xferd Average Speed Time Time Time Current 17:37:01 Dload Upload Total Spent Left Speed 17:37:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5156 0 --:--:-- --:--:-- --:--:-- 5156 17:37:02 Removing intermediate container 409cd68481e7 17:37:02 ---> 2fc4ee342f60 17:37:02 Step 13/36 : RUN ${MAKE} 17:37:02 ---> Running in ceb271165dae 17:37:03 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.25" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:39:10 Removing intermediate container ceb271165dae 17:39:10 ---> 72014bb733df 17:39:10 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:39:10 v0.21.6: Pulling from aler9/rtsp-simple-server 17:39:10 8766b47fe142: Pulling fs layer 17:39:10 8766b47fe142: Download complete 17:39:10 8766b47fe142: Pull complete 17:39:10 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:39:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:39:10 ---> 69d40e2cb93c 17:39:10 Step 15/36 : FROM alpine:3.18 17:39:10 3.18: Pulling from library/alpine 17:39:10 9fda8d8052c6: Already exists 17:39:10 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:39:10 Status: Downloaded newer image for alpine:3.18 17:39:10 ---> f6648c04cd6c 17:39:10 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 17:39:10 ---> Running in 52f0f54628ad 17:39:10 Removing intermediate container 52f0f54628ad 17:39:10 ---> 2d83a08f268e 17:39:10 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:39:10 ---> Running in 27ac92a500f5 17:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:39:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:39:12 (1/104) Installing dumb-init (1.2.5-r2) 17:39:12 (2/104) Installing sdl2 (2.26.5-r0) 17:39:12 (3/104) Installing svt-av1-libs (1.6.0-r0) 17:39:12 (4/104) Installing aom-libs (3.6.1-r0) 17:39:12 (5/104) Installing libxau (1.0.11-r2) 17:39:12 (6/104) Installing libmd (1.0.4-r2) 17:39:12 (7/104) Installing libbsd (0.11.7-r1) 17:39:12 (8/104) Installing libxdmcp (1.1.4-r2) 17:39:12 (9/104) Installing libxcb (1.15-r1) 17:39:12 (10/104) Installing libx11 (1.8.4-r4) 17:39:12 (11/104) Installing libdrm (2.4.115-r4) 17:39:12 (12/104) Installing libxext (1.3.5-r2) 17:39:12 (13/104) Installing libxfixes (6.0.1-r2) 17:39:12 (14/104) Installing libffi (3.4.4-r2) 17:39:12 (15/104) Installing wayland-libs-client (1.22.0-r2) 17:39:12 (16/104) Installing libva (2.18.0-r1) 17:39:12 (17/104) Installing libvdpau (1.5-r1) 17:39:12 (18/104) Installing ffmpeg-libavutil (6.0-r15) 17:39:12 (19/104) Installing libdav1d (1.2.1-r0) 17:39:12 (20/104) Installing brotli-libs (1.0.9-r14) 17:39:12 (21/104) Installing libgcc (12.2.1_git20220924-r10) 17:39:12 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 17:39:12 (23/104) Installing libhwy (1.0.4-r1) 17:39:12 (24/104) Installing lcms2 (2.15-r2) 17:39:12 (25/104) Installing libjxl (0.8.2-r0) 17:39:12 (26/104) Installing lame-libs (3.100-r5) 17:39:12 (27/104) Installing opus (1.4-r0) 17:39:12 (28/104) Installing libgomp (12.2.1_git20220924-r10) 17:39:12 (29/104) Installing soxr (0.1.3-r5) 17:39:12 (30/104) Installing ffmpeg-libswresample (6.0-r15) 17:39:12 (31/104) Installing libogg (1.3.5-r4) 17:39:12 (32/104) Installing libtheora (1.1.1-r17) 17:39:12 (33/104) Installing libvorbis (1.3.7-r1) 17:39:12 (34/104) Installing libvpx (1.13.0-r1) 17:39:12 (35/104) Installing libwebp (1.3.2-r0) 17:39:13 (36/104) Installing x264-libs (0.164_git20220602-r1) 17:39:13 (37/104) Installing numactl (2.0.16-r4) 17:39:13 (38/104) Installing x265-libs (3.5-r4) 17:39:13 (39/104) Installing xvidcore (1.3.7-r1) 17:39:13 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 17:39:13 (41/104) Installing alsa-lib (1.2.9-r1) 17:39:13 (42/104) Installing libexpat (2.5.0-r1) 17:39:13 (43/104) Installing libbz2 (1.0.8-r5) 17:39:13 (44/104) Installing libpng (1.6.39-r3) 17:39:13 (45/104) Installing freetype (2.13.0-r5) 17:39:13 (46/104) Installing fontconfig (2.14.2-r3) 17:39:13 (47/104) Installing fribidi (1.0.13-r0) 17:39:13 (48/104) Installing libintl (0.21.1-r7) 17:39:13 (49/104) Installing libblkid (2.38.1-r8) 17:39:13 (50/104) Installing libmount (2.38.1-r8) 17:39:14 (51/104) Installing pcre2 (10.42-r1) 17:39:14 (52/104) Installing glib (2.76.4-r0) 17:39:14 (53/104) Installing graphite2 (1.3.14-r5) 17:39:14 (54/104) Installing harfbuzz (7.3.0-r0) 17:39:14 (55/104) Installing libunibreak (5.1-r0) 17:39:14 (56/104) Installing libass (0.17.1-r0) 17:39:14 (57/104) Installing libbluray (1.3.4-r0) 17:39:14 (58/104) Installing gmp (6.2.1-r3) 17:39:14 (59/104) Installing nettle (3.8.1-r2) 17:39:14 (60/104) Installing libunistring (1.1-r1) 17:39:14 (61/104) Installing libidn2 (2.3.4-r1) 17:39:14 (62/104) Installing p11-kit (0.24.1-r2) 17:39:14 (63/104) Installing libtasn1 (4.19.0-r1) 17:39:14 (64/104) Installing gnutls (3.8.0-r2) 17:39:14 (65/104) Installing mpg123-libs (1.31.3-r1) 17:39:14 (66/104) Installing libopenmpt (0.7.2-r0) 17:39:14 (67/104) Installing cjson (1.7.15-r4) 17:39:14 (68/104) Installing mbedtls (2.28.4-r0) 17:39:14 (69/104) Installing librist (0.2.7-r0) 17:39:14 (70/104) Installing libsrt (1.5.2-r0) 17:39:14 (71/104) Installing libssh (0.10.5-r0) 17:39:14 (72/104) Installing xz-libs (5.4.3-r0) 17:39:14 (73/104) Installing libxml2 (2.11.4-r0) 17:39:14 (74/104) Installing libsodium (1.0.18-r3) 17:39:14 (75/104) Installing libzmq (4.3.4-r4) 17:39:14 (76/104) Installing ffmpeg-libavformat (6.0-r15) 17:39:14 (77/104) Installing glslang-libs (1.3.243.0-r1) 17:39:14 (78/104) Installing spirv-tools (1.3.243.0-r1) 17:39:14 (79/104) Installing shaderc (2023.3-r1) 17:39:14 (80/104) Installing vulkan-loader (1.3.243.0-r1) 17:39:14 (81/104) Installing libplacebo (5.264.1-r1) 17:39:14 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 17:39:14 (83/104) Installing ffmpeg-libswscale (6.0-r15) 17:39:15 (84/104) Installing vidstab (1.1.1-r0) 17:39:15 (85/104) Installing zimg (3.0.5-r0) 17:39:15 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 17:39:15 (87/104) Installing libasyncns (0.8-r1) 17:39:15 (88/104) Installing dbus-libs (1.14.8-r0) 17:39:15 (89/104) Installing libltdl (2.4.7-r2) 17:39:15 (90/104) Installing orc (0.4.34-r0) 17:39:15 (91/104) Installing flac-libs (1.4.3-r0) 17:39:15 (92/104) Installing libsndfile (1.2.0-r2) 17:39:15 (93/104) Installing speexdsp (1.2.1-r1) 17:39:15 (94/104) Installing tdb-libs (1.4.8-r1) 17:39:15 (95/104) Installing libpulse (16.1-r10) 17:39:15 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 17:39:15 (97/104) Installing v4l-utils-libs (1.24.1-r0) 17:39:15 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 17:39:15 (99/104) Installing ffmpeg (6.0-r15) 17:39:15 (100/104) Installing udev-init-scripts (35-r1) 17:39:15 (101/104) Installing eudev-libs (3.2.11-r8) 17:39:15 (102/104) Installing zstd-libs (1.5.5-r4) 17:39:15 (103/104) Installing kmod-libs (30-r3) 17:39:15 (104/104) Installing eudev (3.2.11-r8) 17:39:15 Executing busybox-1.36.1-r2.trigger 17:39:15 Executing glib-2.76.4-r0.trigger 17:39:15 Executing eudev-3.2.11-r8.trigger 17:39:15 OK: 110 MiB in 119 packages 17:39:19 Removing intermediate container 27ac92a500f5 17:39:19 ---> 4078979f15c0 17:39:19 Step 18/36 : WORKDIR / 17:39:19 ---> Running in 28839d0edf1f 17:39:19 Removing intermediate container 28839d0edf1f 17:39:19 ---> a44721a64120 17:39:19 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:39:23 ---> 101d344225ca 17:39:23 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:39:23 ---> fcc011145eda 17:39:23 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:39:24 ---> 9c6ba3715350 17:39:24 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:39:24 ---> 3e0c354a6ac9 17:39:24 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:39:25 ---> 7ebda656696c 17:39:25 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:39:25 ---> 68442247031b 17:39:25 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:39:27 ---> fc488bfb7da9 17:39:27 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:39:27 ---> Running in 6fe1aed988ae 17:39:28 Removing intermediate container 6fe1aed988ae 17:39:28 ---> 37bfd998435a 17:39:28 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:39:28 ---> Running in c43c803467f0 17:39:30 Removing intermediate container c43c803467f0 17:39:30 ---> 258b6876c3bf 17:39:30 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:39:30 ---> Running in a0d2bf98ec75 17:39:31 Removing intermediate container a0d2bf98ec75 17:39:31 ---> c80ff8d07cce 17:39:31 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:39:31 ---> Running in a7c6f2ce8b53 17:39:33 Removing intermediate container a7c6f2ce8b53 17:39:33 ---> 4c3a3cd606f8 17:39:33 Step 30/36 : EXPOSE 59983 17:39:33 ---> Running in cc5f8e32b00b 17:39:33 Removing intermediate container cc5f8e32b00b 17:39:33 ---> a398e383aeed 17:39:33 Step 31/36 : EXPOSE 8554 17:39:33 ---> Running in 6a514ad6c59a 17:39:33 Removing intermediate container 6a514ad6c59a 17:39:33 ---> 439c25d5bb58 17:39:33 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:39:34 ---> Running in 1803db432e0d 17:39:34 Removing intermediate container 1803db432e0d 17:39:34 ---> 5dc5d369501f 17:39:34 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:39:34 ---> Running in cc555d333182 17:39:34 Removing intermediate container cc555d333182 17:39:34 ---> cb9938e6d224 17:39:34 Step 34/36 : LABEL arch=arm64 17:39:34 ---> Running in cbf2ea1bf04b 17:39:34 Removing intermediate container cbf2ea1bf04b 17:39:34 ---> a1653902f4a0 17:39:34 Step 35/36 : LABEL git_sha=fa3c60d7a690b3e821474cb16a5706590015ca97 17:39:35 ---> Running in abf66b2880be 17:39:35 Removing intermediate container abf66b2880be 17:39:35 ---> cb985455e63a 17:39:35 Step 36/36 : LABEL version=3.1.0-dev.22 17:39:35 ---> Running in 7b272db004ae 17:39:35 Removing intermediate container 7b272db004ae 17:39:35 ---> e097892d1117 17:39:35 [Warning] One or more build-args [ARCH] were not consumed 17:39:35 Successfully built e097892d1117 17:39:35 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:35 provisioning config files... 17:39:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/147@tmp/config11752241171415910315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:36 ---> docker-login.sh 17:39:36 nexus3.edgexfoundry.org:10001 17:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:36 Configure a credential helper to remove this warning. See 17:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:36 17:39:36 Login Succeeded 17:39:36 nexus3.edgexfoundry.org:10002 17:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:36 Configure a credential helper to remove this warning. See 17:39:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:36 17:39:36 Login Succeeded 17:39:36 nexus3.edgexfoundry.org:10003 17:39:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 nexus3.edgexfoundry.org:10004 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:37 Configure a credential helper to remove this warning. See 17:39:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:37 17:39:37 Login Succeeded 17:39:37 docker.io 17:39:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:38 Configure a credential helper to remove this warning. See 17:39:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:38 17:39:38 Login Succeeded 17:39:38 ---> docker-login.sh ends [Pipeline] } 17:39:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:39:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:38 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:39:38 fa3c60d7a690b3e821474cb16a5706590015ca97 17:39:38 latest 17:39:38 3.1.0-dev.22 17:39:38 fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:39:38 main 17:39:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:38 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97 17:39:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:39:38 7e6c79a1a2b7: Preparing 17:39:38 bd47f20a4ce6: Preparing 17:39:38 6d57b78efb3f: Preparing 17:39:38 245261f292d4: Preparing 17:39:38 608d194cb50c: Preparing 17:39:38 acc83c6ca332: Preparing 17:39:38 9a0f814c6fa0: Preparing 17:39:38 acc83c6ca332: Waiting 17:39:38 b35d1640e426: Preparing 17:39:38 b32f18a08411: Preparing 17:39:38 ca75f93f6e1d: Preparing 17:39:38 9f62f538bfff: Preparing 17:39:38 eb74aceb6998: Preparing 17:39:38 b2191e2be29d: Preparing 17:39:38 9a0f814c6fa0: Waiting 17:39:38 b35d1640e426: Waiting 17:39:38 b32f18a08411: Waiting 17:39:38 ca75f93f6e1d: Waiting 17:39:38 9f62f538bfff: Waiting 17:39:38 eb74aceb6998: Waiting 17:39:38 b2191e2be29d: Waiting 17:39:39 7e6c79a1a2b7: Pushed 17:39:39 245261f292d4: Pushed 17:39:39 6d57b78efb3f: Pushed 17:39:39 bd47f20a4ce6: Pushed 17:39:39 acc83c6ca332: Pushed 17:39:39 9a0f814c6fa0: Pushed 17:39:39 b32f18a08411: Pushed 17:39:39 b35d1640e426: Pushed 17:39:39 b2191e2be29d: Layer already exists 17:39:39 ca75f93f6e1d: Pushed 17:39:44 608d194cb50c: Pushed 17:39:44 9f62f538bfff: Pushed 17:40:03 eb74aceb6998: Pushed 17:40:03 fa3c60d7a690b3e821474cb16a5706590015ca97: digest: sha256:24e4e8ef4db01550bf170a92ab0f5c9cf6023b24c4ba80507ec41e4d6f74c42c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:03 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:03 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:40:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:40:03 7e6c79a1a2b7: Preparing 17:40:03 bd47f20a4ce6: Preparing 17:40:03 6d57b78efb3f: Preparing 17:40:03 245261f292d4: Preparing 17:40:03 608d194cb50c: Preparing 17:40:03 acc83c6ca332: Preparing 17:40:03 9a0f814c6fa0: Preparing 17:40:03 b35d1640e426: Preparing 17:40:03 b32f18a08411: Preparing 17:40:03 ca75f93f6e1d: Preparing 17:40:03 9f62f538bfff: Preparing 17:40:03 eb74aceb6998: Preparing 17:40:03 b2191e2be29d: Preparing 17:40:03 acc83c6ca332: Waiting 17:40:03 b32f18a08411: Waiting 17:40:03 ca75f93f6e1d: Waiting 17:40:03 9f62f538bfff: Waiting 17:40:03 9a0f814c6fa0: Waiting 17:40:03 eb74aceb6998: Waiting 17:40:03 b35d1640e426: Waiting 17:40:03 b2191e2be29d: Waiting 17:40:03 6d57b78efb3f: Layer already exists 17:40:03 245261f292d4: Layer already exists 17:40:03 7e6c79a1a2b7: Layer already exists 17:40:03 bd47f20a4ce6: Layer already exists 17:40:03 608d194cb50c: Layer already exists 17:40:03 b32f18a08411: Layer already exists 17:40:03 b35d1640e426: Layer already exists 17:40:03 9a0f814c6fa0: Layer already exists 17:40:03 acc83c6ca332: Layer already exists 17:40:03 ca75f93f6e1d: Layer already exists 17:40:03 9f62f538bfff: Layer already exists 17:40:03 eb74aceb6998: Layer already exists 17:40:03 b2191e2be29d: Layer already exists 17:40:04 latest: digest: sha256:24e4e8ef4db01550bf170a92ab0f5c9cf6023b24c4ba80507ec41e4d6f74c42c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:04 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.22 17:40:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:40:04 7e6c79a1a2b7: Preparing 17:40:04 bd47f20a4ce6: Preparing 17:40:04 6d57b78efb3f: Preparing 17:40:04 245261f292d4: Preparing 17:40:04 608d194cb50c: Preparing 17:40:04 acc83c6ca332: Preparing 17:40:04 9a0f814c6fa0: Preparing 17:40:04 b35d1640e426: Preparing 17:40:04 b32f18a08411: Preparing 17:40:04 ca75f93f6e1d: Preparing 17:40:04 9f62f538bfff: Preparing 17:40:04 eb74aceb6998: Preparing 17:40:04 b2191e2be29d: Preparing 17:40:04 acc83c6ca332: Waiting 17:40:04 9a0f814c6fa0: Waiting 17:40:04 b35d1640e426: Waiting 17:40:04 b32f18a08411: Waiting 17:40:04 ca75f93f6e1d: Waiting 17:40:04 9f62f538bfff: Waiting 17:40:04 b2191e2be29d: Waiting 17:40:04 eb74aceb6998: Waiting 17:40:04 608d194cb50c: Layer already exists 17:40:04 bd47f20a4ce6: Layer already exists 17:40:04 6d57b78efb3f: Layer already exists 17:40:04 7e6c79a1a2b7: Layer already exists 17:40:04 245261f292d4: Layer already exists 17:40:04 9a0f814c6fa0: Layer already exists 17:40:04 acc83c6ca332: Layer already exists 17:40:04 b32f18a08411: Layer already exists 17:40:04 b35d1640e426: Layer already exists 17:40:04 ca75f93f6e1d: Layer already exists 17:40:04 9f62f538bfff: Layer already exists 17:40:04 eb74aceb6998: Layer already exists 17:40:04 b2191e2be29d: Layer already exists 17:40:04 3.1.0-dev.22: digest: sha256:24e4e8ef4db01550bf170a92ab0f5c9cf6023b24c4ba80507ec41e4d6f74c42c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:05 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:40:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:40:05 7e6c79a1a2b7: Preparing 17:40:05 bd47f20a4ce6: Preparing 17:40:05 6d57b78efb3f: Preparing 17:40:05 245261f292d4: Preparing 17:40:05 608d194cb50c: Preparing 17:40:05 acc83c6ca332: Preparing 17:40:05 9a0f814c6fa0: Preparing 17:40:05 b35d1640e426: Preparing 17:40:05 b32f18a08411: Preparing 17:40:05 ca75f93f6e1d: Preparing 17:40:05 9f62f538bfff: Preparing 17:40:05 eb74aceb6998: Preparing 17:40:05 b2191e2be29d: Preparing 17:40:05 acc83c6ca332: Waiting 17:40:05 9a0f814c6fa0: Waiting 17:40:05 b35d1640e426: Waiting 17:40:05 b32f18a08411: Waiting 17:40:05 9f62f538bfff: Waiting 17:40:05 ca75f93f6e1d: Waiting 17:40:05 eb74aceb6998: Waiting 17:40:05 b2191e2be29d: Waiting 17:40:05 245261f292d4: Layer already exists 17:40:05 7e6c79a1a2b7: Layer already exists 17:40:05 bd47f20a4ce6: Layer already exists 17:40:05 6d57b78efb3f: Layer already exists 17:40:05 608d194cb50c: Layer already exists 17:40:05 9a0f814c6fa0: Layer already exists 17:40:05 acc83c6ca332: Layer already exists 17:40:05 b35d1640e426: Layer already exists 17:40:05 b32f18a08411: Layer already exists 17:40:05 ca75f93f6e1d: Layer already exists 17:40:05 eb74aceb6998: Layer already exists 17:40:05 9f62f538bfff: Layer already exists 17:40:05 b2191e2be29d: Layer already exists 17:40:05 fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22: digest: sha256:24e4e8ef4db01550bf170a92ab0f5c9cf6023b24c4ba80507ec41e4d6f74c42c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:06 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 17:40:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:40:06 7e6c79a1a2b7: Preparing 17:40:06 bd47f20a4ce6: Preparing 17:40:06 6d57b78efb3f: Preparing 17:40:06 245261f292d4: Preparing 17:40:06 608d194cb50c: Preparing 17:40:06 acc83c6ca332: Preparing 17:40:06 9a0f814c6fa0: Preparing 17:40:06 b35d1640e426: Preparing 17:40:06 b32f18a08411: Preparing 17:40:06 ca75f93f6e1d: Preparing 17:40:06 9f62f538bfff: Preparing 17:40:06 eb74aceb6998: Preparing 17:40:06 b2191e2be29d: Preparing 17:40:06 acc83c6ca332: Waiting 17:40:06 ca75f93f6e1d: Waiting 17:40:06 9a0f814c6fa0: Waiting 17:40:06 b35d1640e426: Waiting 17:40:06 b32f18a08411: Waiting 17:40:06 9f62f538bfff: Waiting 17:40:06 eb74aceb6998: Waiting 17:40:06 b2191e2be29d: Waiting 17:40:06 bd47f20a4ce6: Layer already exists 17:40:06 245261f292d4: Layer already exists 17:40:06 6d57b78efb3f: Layer already exists 17:40:06 7e6c79a1a2b7: Layer already exists 17:40:06 608d194cb50c: Layer already exists 17:40:06 b35d1640e426: Layer already exists 17:40:06 acc83c6ca332: Layer already exists 17:40:06 9a0f814c6fa0: Layer already exists 17:40:06 ca75f93f6e1d: Layer already exists 17:40:06 b32f18a08411: Layer already exists 17:40:06 eb74aceb6998: Layer already exists 17:40:06 9f62f538bfff: Layer already exists 17:40:06 b2191e2be29d: Layer already exists 17:40:06 main: digest: sha256:24e4e8ef4db01550bf170a92ab0f5c9cf6023b24c4ba80507ec41e4d6f74c42c size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:40:06 ===================================================== [Pipeline] echo 17:40:06 taggedImages: 17:40:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97 17:40:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:40:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.22 17:40:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:fa3c60d7a690b3e821474cb16a5706590015ca97-3.1.0-dev.22 17:40:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:07 17:40:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:07 arm64: Pulling from edgex-lftools-log-publisher 17:40:07 8998bd30e6a1: Pulling fs layer 17:40:07 04944245beec: Pulling fs layer 17:40:07 699f458cf7ca: Pulling fs layer 17:40:07 765212b225bb: Pulling fs layer 17:40:07 f23df028b6ca: Pulling fs layer 17:40:07 d65c8cfc05b1: Pulling fs layer 17:40:07 2437ff75d9bd: Pulling fs layer 17:40:07 f23df028b6ca: Waiting 17:40:07 d65c8cfc05b1: Waiting 17:40:07 2437ff75d9bd: Waiting 17:40:07 765212b225bb: Waiting 17:40:07 04944245beec: Verifying Checksum 17:40:07 04944245beec: Download complete 17:40:07 765212b225bb: Verifying Checksum 17:40:07 765212b225bb: Download complete 17:40:07 f23df028b6ca: Verifying Checksum 17:40:07 f23df028b6ca: Download complete 17:40:07 d65c8cfc05b1: Verifying Checksum 17:40:07 d65c8cfc05b1: Download complete 17:40:07 699f458cf7ca: Verifying Checksum 17:40:07 699f458cf7ca: Download complete 17:40:08 8998bd30e6a1: Verifying Checksum 17:40:08 8998bd30e6a1: Download complete 17:40:10 2437ff75d9bd: Verifying Checksum 17:40:10 2437ff75d9bd: Download complete 17:40:12 8998bd30e6a1: Pull complete 17:40:12 04944245beec: Pull complete 17:40:13 699f458cf7ca: Pull complete 17:40:14 765212b225bb: Pull complete 17:40:14 f23df028b6ca: Pull complete 17:40:15 d65c8cfc05b1: Pull complete 17:40:30 2437ff75d9bd: Pull complete 17:40:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:30 prd-ubuntu20.04-docker-arm64-4c-16g-6592 does not seem to be running inside a container 17:40:30 $ 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/147 -v /w/workspace/device-usb-camera/147:/w/workspace/device-usb-camera/147:rw,z -v /w/workspace/device-usb-camera/147@tmp:/w/workspace/device-usb-camera/147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:40:32 $ docker top 37024e5525367230e89064901162d48eb9304f9291182dc1f11139b096c87ec9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:33 ---> job-cost.sh 17:40:33 lf-activate-venv: SKIPPING 17:40:33 INFO: No Stack... 17:40:33 INFO: Retrieving Pricing Info for: v3-standard-4 17:40:34 INFO: Archiving Costs [Pipeline] sh 17:40:35 + cat /w/workspace/device-usb-camera/147/archives/cost.csv 17:40:35 + cut -d, -f6 [Pipeline] lock 17:40:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] 17:40:35 Resource [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] did not exist. Created. 17:40:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:35 /w/workspace/device-usb-camera/147@tmp/durable-8566bb7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:40:35 + echo total: 0.10999999940395355 [Pipeline] stash 17:40:35 Warning: overwriting stash ‘stack-cost’ 17:40:35 Stashed 1 file(s) [Pipeline] } 17:40:35 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-147-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:35 $ docker stop --time=1 37024e5525367230e89064901162d48eb9304f9291182dc1f11139b096c87ec9 17:40:37 $ docker rm -f --volumes 37024e5525367230e89064901162d48eb9304f9291182dc1f11139b096c87ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:40:37 provisioning config files... 17:40:37 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3010549549828724286tmp [Pipeline] { [Pipeline] sh 17:40:38 + set +x 17:40:38 + bash -s -- 17:40:38 + curl -s https://codecov.io/bash 17:40:38 17:40:38 _____ _ 17:40:38 / ____| | | 17:40:38 | | ___ __| | ___ ___ _____ __ 17:40:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:40:38 | |___| (_) | (_| | __/ (_| (_) \ V / 17:40:38 \_____\___/ \__,_|\___|\___\___/ \_/ 17:40:38 Bash-1.0.6 17:40:38 17:40:38 17:40:38 ==> git version 2.25.1 found 17:40:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:40:38 Release-Date: 2020-01-08 17:40:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:40:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:40:38 ==> Jenkins CI detected. 17:40:38 current dir:  /w/workspace/exfoundry_device-usb-camera_main 17:40:38 project root: . 17:40:38 --> token set from env 17:40:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:40:38 ==> Running gcov in . (disable via -X gcov) 17:40:38 ==> Python coveragepy not found 17:40:38 ==> Searching for coverage reports in: 17:40:38 + . 17:40:38 -> Found 1 reports 17:40:38 ==> Detecting git/mercurial file structure 17:40:38 ==> Reading reports 17:40:38 + ./coverage.out bytes=54703 17:40:38 ==> Appending adjustments 17:40:38 https://docs.codecov.io/docs/fixing-reports 17:40:38 + Found adjustments 17:40:38 ==> Gzipping contents 17:40:38 8.0K /tmp/codecov.2yZrIO.gz 17:40:38 ==> Uploading reports 17:40:38 url: https://codecov.io 17:40:38 query: branch=main&commit=fa3c60d7a690b3e821474cb16a5706590015ca97&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:40:38 -> Pinging Codecov 17:40:38 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=fa3c60d7a690b3e821474cb16a5706590015ca97&build=147&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F147%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:40:38 -> Uploading to 17:40:38 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/73D8F5FF140700D3E01443B452E23636/fa3c60d7a690b3e821474cb16a5706590015ca97/668b41c4-a601-41f2-92ca-1dfd1dc45176.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T174038Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=669258f24bbaa227408beb2617ff2b0a89a820455f3b4df1bb34b8313c1d4851 17:40:38 % Total % Received % Xferd Average Speed Time Time Time Current 17:40:38 Dload Upload Total Spent Left Speed 17:40:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6996 0 0 100 6996 0 30417 --:--:-- --:--:-- --:--:-- 30550 17:40:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] } 17:40:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:40:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:40:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:39 17:40:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:40:39 df9b9388f04a: Pulling fs layer 17:40:39 52dc419b0ee2: Pulling fs layer 17:40:39 25bc292e5bac: Pulling fs layer 17:40:39 114826534d7a: Pulling fs layer 17:40:39 4657fd5d0bcf: Pulling fs layer 17:40:39 6ad1cebc031e: Pulling fs layer 17:40:39 8a3aa393b2d8: Pulling fs layer 17:40:39 114826534d7a: Waiting 17:40:39 4657fd5d0bcf: Waiting 17:40:39 6ad1cebc031e: Waiting 17:40:39 8a3aa393b2d8: Waiting 17:40:39 25bc292e5bac: Verifying Checksum 17:40:39 25bc292e5bac: Download complete 17:40:39 52dc419b0ee2: Verifying Checksum 17:40:39 52dc419b0ee2: Download complete 17:40:39 4657fd5d0bcf: Verifying Checksum 17:40:39 4657fd5d0bcf: Download complete 17:40:39 df9b9388f04a: Download complete 17:40:39 6ad1cebc031e: Verifying Checksum 17:40:39 6ad1cebc031e: Download complete 17:40:39 df9b9388f04a: Pull complete 17:40:39 52dc419b0ee2: Pull complete 17:40:39 25bc292e5bac: Pull complete 17:40:40 114826534d7a: Verifying Checksum 17:40:40 114826534d7a: Download complete 17:40:40 8a3aa393b2d8: Verifying Checksum 17:40:40 8a3aa393b2d8: Download complete 17:40:43 114826534d7a: Pull complete 17:40:43 4657fd5d0bcf: Pull complete 17:40:43 6ad1cebc031e: Pull complete 17:40:46 8a3aa393b2d8: Pull complete 17:40:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:46 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:40:51 $ docker top 070c82f90e2b5edeecec0b5cd8f793d9c03c614ce4fc804b439b7d3f90276eda -eo pid,comm [Pipeline] { [Pipeline] echo 17:40:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 17:40:51 + set -o pipefail 17:40:51 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 17:40:57 17:40:57 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 17:40:57 17:40:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/c0120435-d4fe-4c51-abbf-415f4a13f280 17:40:57 17:40:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:40:57 17:40:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:40:57 17:40:57 17:40:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:40:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:40:57 More details here: https://snyk.co/ue1NS [Pipeline] } 17:40:57 $ docker stop --time=1 070c82f90e2b5edeecec0b5cd8f793d9c03c614ce4fc804b439b7d3f90276eda 17:41:01 $ docker rm -f --volumes 070c82f90e2b5edeecec0b5cd8f793d9c03c614ce4fc804b439b7d3f90276eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:02 + git log --format=format:%s -1 fa3c60d7a690b3e821474cb16a5706590015ca97 [Pipeline] sh 17:41:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:02 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:03 $ docker top 2de93c88b992d084d2c717755923b7095561c041567a24942ea4a6f99ab6e801 -eo pid,comm 17:41:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:41:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:03 [ssh-agent] Looking for ssh-agent implementation... 17:41:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:03 $ docker exec 2de93c88b992d084d2c717755923b7095561c041567a24942ea4a6f99ab6e801 ssh-agent 17:41:03 SSH_AUTH_SOCK=/tmp/ssh-vNVBikfqLax4/agent.32 17:41:03 SSH_AGENT_PID=38 17:41:03 Running ssh-add (command line suppressed) 17:41:03 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10516214322516384912.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10516214322516384912.key) 17:41:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:04 + git semver tag 17:41:04 2023-09-19 17:41:04,238 [run_tag] DEBUG tag force:False 17:41:04 2023-09-19 17:41:04,238 [check_head_tag] DEBUG check head tag 17:41:04 2023-09-19 17:41:04,241 [execute] INFO git cat-file --batch-check 17:41:04 2023-09-19 17:41:04,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:41:04 2023-09-19 17:41:04,245 [execute] INFO git cat-file --batch 17:41:04 2023-09-19 17:41:04,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:41:04 2023-09-19 17:41:04,278 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:04 2023-09-19 17:41:04,278 [execute] INFO git tag -a v3.1.0-dev.22 -m v3.1.0-dev.22 17:41:04 2023-09-19 17:41:04,279 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.22', '-m', 'v3.1.0-dev.22'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:41:04 2023-09-19 17:41:04,283 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:04 3.1.0-dev.22 [Pipeline] } 17:41:04 $ docker exec --env ******** --env ******** 2de93c88b992d084d2c717755923b7095561c041567a24942ea4a6f99ab6e801 ssh-agent -k 17:41:04 unset SSH_AUTH_SOCK; 17:41:04 unset SSH_AGENT_PID; 17:41:04 echo Agent pid 38 killed; 17:41:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:04 + git semver [Pipeline] } 17:41:05 $ docker stop --time=1 2de93c88b992d084d2c717755923b7095561c041567a24942ea4a6f99ab6e801 17:41:06 $ docker rm -f --volumes 2de93c88b992d084d2c717755923b7095561c041567a24942ea4a6f99ab6e801 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:06 17:41:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:06 0.23.1-centos7: Pulling from edgex-lftools 17:41:06 ab5ef0e58194: Pulling fs layer 17:41:06 9712f1f96733: Pulling fs layer 17:41:06 63f879dbbcfc: Pulling fs layer 17:41:06 0d9ebad4ef96: Pulling fs layer 17:41:06 e9a5061849ea: Pulling fs layer 17:41:06 d747dcd14b5f: Pulling fs layer 17:41:06 2de7ff778b66: Pulling fs layer 17:41:06 0d9ebad4ef96: Waiting 17:41:06 d747dcd14b5f: Waiting 17:41:06 2de7ff778b66: Waiting 17:41:06 e9a5061849ea: Waiting 17:41:06 9712f1f96733: Verifying Checksum 17:41:06 9712f1f96733: Download complete 17:41:07 63f879dbbcfc: Verifying Checksum 17:41:07 63f879dbbcfc: Download complete 17:41:07 e9a5061849ea: Verifying Checksum 17:41:07 e9a5061849ea: Download complete 17:41:07 d747dcd14b5f: Download complete 17:41:07 ab5ef0e58194: Verifying Checksum 17:41:07 0d9ebad4ef96: Verifying Checksum 17:41:07 0d9ebad4ef96: Download complete 17:41:07 2de7ff778b66: Verifying Checksum 17:41:07 2de7ff778b66: Download complete 17:41:10 ab5ef0e58194: Pull complete 17:41:10 9712f1f96733: Pull complete 17:41:10 63f879dbbcfc: Pull complete 17:41:14 0d9ebad4ef96: Pull complete 17:41:14 e9a5061849ea: Pull complete 17:41:14 d747dcd14b5f: Pull complete 17:41:15 2de7ff778b66: Pull complete 17:41:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:15 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:41:22 $ docker top db4155c60d16a5f95a4b4a8b527e4ac0329f9e5d8b978491419d767b14db4bdc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:41:22 provisioning config files... 17:41:22 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17179319817733166858tmp 17:41:22 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18262495808566069938tmp 17:41:22 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6639885856135745148tmp [Pipeline] { [Pipeline] echo 17:41:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:41:23 ---> sigul-configuration.sh 17:41:23 gpg: directory `/root/.gnupg' created 17:41:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:41:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:41:23 gpg: keyring `/root/.gnupg/secring.gpg' created 17:41:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:41:23 gpg: CAST5 encrypted data 17:41:23 gpg: encrypted with 1 passphrase 17:41:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:41:23 + mkdir /home/jenkins 17:41:23 + mkdir /home/jenkins/sigul [Pipeline] sh 17:41:23 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:41:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:41:24 ---> sigul-install.sh 17:41:24 Sigul already installed; skipping installation. [Pipeline] sh 17:41:24 + git tag --list 17:41:24 v0.0.0 17:41:24 v0.0.1-dev.1 17:41:24 v0.0.1-dev.10 17:41:24 v0.0.1-dev.11 17:41:24 v0.0.1-dev.12 17:41:24 v0.0.1-dev.13 17:41:24 v0.0.1-dev.14 17:41:24 v0.0.1-dev.15 17:41:24 v0.0.1-dev.16 17:41:24 v0.0.1-dev.2 17:41:24 v0.0.1-dev.3 17:41:24 v0.0.1-dev.4 17:41:24 v0.0.1-dev.5 17:41:24 v0.0.1-dev.6 17:41:24 v0.0.1-dev.7 17:41:24 v0.0.1-dev.8 17:41:24 v0.0.1-dev.9 17:41:24 v2.2.0 17:41:24 v2.2.0-dev.17 17:41:24 v2.2.0-dev.18 17:41:24 v2.2.0-dev.19 17:41:24 v2.2.0-dev.20 17:41:24 v2.2.0-dev.21 17:41:24 v2.2.0-dev.22 17:41:24 v2.2.0-dev.23 17:41:24 v2.2.0-dev.24 17:41:24 v2.2.0-dev.25 17:41:24 v2.2.0-dev.26 17:41:24 v2.2.0-dev.27 17:41:24 v2.3.0 17:41:24 v2.3.0-dev.1 17:41:24 v2.3.0-dev.10 17:41:24 v2.3.0-dev.11 17:41:24 v2.3.0-dev.12 17:41:24 v2.3.0-dev.13 17:41:24 v2.3.0-dev.14 17:41:24 v2.3.0-dev.15 17:41:24 v2.3.0-dev.16 17:41:24 v2.3.0-dev.17 17:41:24 v2.3.0-dev.18 17:41:24 v2.3.0-dev.19 17:41:24 v2.3.0-dev.2 17:41:24 v2.3.0-dev.20 17:41:24 v2.3.0-dev.21 17:41:24 v2.3.0-dev.22 17:41:24 v2.3.0-dev.23 17:41:24 v2.3.0-dev.24 17:41:24 v2.3.0-dev.25 17:41:24 v2.3.0-dev.26 17:41:24 v2.3.0-dev.27 17:41:24 v2.3.0-dev.28 17:41:24 v2.3.0-dev.3 17:41:24 v2.3.0-dev.4 17:41:24 v2.3.0-dev.5 17:41:24 v2.3.0-dev.6 17:41:24 v2.3.0-dev.7 17:41:24 v2.3.0-dev.8 17:41:24 v2.3.0-dev.9 17:41:24 v2.3.1 17:41:24 v2.3.1-dev.4 17:41:24 v2.3.1-dev.5 17:41:24 v2.3.1-dev.6 17:41:24 v3.0 17:41:24 v3.0.0 17:41:24 v3.0.0-dev.1 17:41:24 v3.0.0-dev.10 17:41:24 v3.0.0-dev.11 17:41:24 v3.0.0-dev.12 17:41:24 v3.0.0-dev.13 17:41:24 v3.0.0-dev.14 17:41:24 v3.0.0-dev.15 17:41:24 v3.0.0-dev.16 17:41:24 v3.0.0-dev.17 17:41:24 v3.0.0-dev.18 17:41:24 v3.0.0-dev.19 17:41:24 v3.0.0-dev.2 17:41:24 v3.0.0-dev.20 17:41:24 v3.0.0-dev.21 17:41:24 v3.0.0-dev.22 17:41:24 v3.0.0-dev.23 17:41:24 v3.0.0-dev.24 17:41:24 v3.0.0-dev.25 17:41:24 v3.0.0-dev.26 17:41:24 v3.0.0-dev.27 17:41:24 v3.0.0-dev.28 17:41:24 v3.0.0-dev.29 17:41:24 v3.0.0-dev.3 17:41:24 v3.0.0-dev.30 17:41:24 v3.0.0-dev.31 17:41:24 v3.0.0-dev.32 17:41:24 v3.0.0-dev.33 17:41:24 v3.0.0-dev.34 17:41:24 v3.0.0-dev.35 17:41:24 v3.0.0-dev.36 17:41:24 v3.0.0-dev.37 17:41:24 v3.0.0-dev.38 17:41:24 v3.0.0-dev.39 17:41:24 v3.0.0-dev.4 17:41:24 v3.0.0-dev.40 17:41:24 v3.0.0-dev.41 17:41:24 v3.0.0-dev.42 17:41:24 v3.0.0-dev.43 17:41:24 v3.0.0-dev.44 17:41:24 v3.0.0-dev.45 17:41:24 v3.0.0-dev.46 17:41:24 v3.0.0-dev.47 17:41:24 v3.0.0-dev.48 17:41:24 v3.0.0-dev.49 17:41:24 v3.0.0-dev.5 17:41:24 v3.0.0-dev.50 17:41:24 v3.0.0-dev.51 17:41:24 v3.0.0-dev.6 17:41:24 v3.0.0-dev.7 17:41:24 v3.0.0-dev.8 17:41:24 v3.0.0-dev.9 17:41:24 v3.1.0-dev.1 17:41:24 v3.1.0-dev.10 17:41:24 v3.1.0-dev.11 17:41:24 v3.1.0-dev.12 17:41:24 v3.1.0-dev.13 17:41:24 v3.1.0-dev.14 17:41:24 v3.1.0-dev.15 17:41:24 v3.1.0-dev.16 17:41:24 v3.1.0-dev.17 17:41:24 v3.1.0-dev.18 17:41:24 v3.1.0-dev.19 17:41:24 v3.1.0-dev.2 17:41:24 v3.1.0-dev.20 17:41:24 v3.1.0-dev.21 17:41:24 v3.1.0-dev.22 17:41:24 v3.1.0-dev.3 17:41:24 v3.1.0-dev.4 17:41:24 v3.1.0-dev.5 17:41:24 v3.1.0-dev.6 17:41:24 v3.1.0-dev.7 17:41:24 v3.1.0-dev.8 17:41:24 v3.1.0-dev.9 [Pipeline] sh 17:41:24 + lftools sign git-tag v3.1.0-dev.22 17:41:25 Signing Git tag with Sigul... 17:41:25 Signing v3.1.0-dev.22 [Pipeline] echo 17:41:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:41:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:41:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:41:25 $ docker stop --time=1 db4155c60d16a5f95a4b4a8b527e4ac0329f9e5d8b978491419d767b14db4bdc 17:41:27 $ docker rm -f --volumes db4155c60d16a5f95a4b4a8b527e4ac0329f9e5d8b978491419d767b14db4bdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:41:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:27 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:41:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:28 $ docker top 1f790216e9fe8c01cab8ce21d52f7002fb6dc8395ac271c516da7d530b3fff07 -eo pid,comm 17:41:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:41:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:28 [ssh-agent] Looking for ssh-agent implementation... 17:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:28 $ docker exec 1f790216e9fe8c01cab8ce21d52f7002fb6dc8395ac271c516da7d530b3fff07 ssh-agent 17:41:28 SSH_AUTH_SOCK=/tmp/ssh-tu32RrLQNyuD/agent.32 17:41:28 SSH_AGENT_PID=38 17:41:28 Running ssh-add (command line suppressed) 17:41:28 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5556956445705892399.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5556956445705892399.key) 17:41:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:28 + git semver bump pre 17:41:29 2023-09-19 17:41:29,063 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:29 2023-09-19 17:41:29,063 [bump_version] DEBUG bumping version:3.1.0-dev.22 on axis:pre with prefix:dev 17:41:29 2023-09-19 17:41:29,063 [bump_version] DEBUG bumped version:3.1.0-dev.23 17:41:29 2023-09-19 17:41:29,063 [write_version] DEBUG write version:3.1.0-dev.23 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 17:41:29 2023-09-19 17:41:29,063 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:29 2023-09-19 17:41:29,064 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:29 2023-09-19 17:41:29,065 [execute] INFO git cat-file --batch-check 17:41:29 2023-09-19 17:41:29,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:29 2023-09-19 17:41:29,071 [execute] INFO git cat-file --batch 17:41:29 2023-09-19 17:41:29,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:29 2023-09-19 17:41:29,077 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:29 3.1.0-dev.23 [Pipeline] } 17:41:29 $ docker exec --env ******** --env ******** 1f790216e9fe8c01cab8ce21d52f7002fb6dc8395ac271c516da7d530b3fff07 ssh-agent -k 17:41:29 unset SSH_AUTH_SOCK; 17:41:29 unset SSH_AGENT_PID; 17:41:29 echo Agent pid 38 killed; 17:41:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:29 + git semver [Pipeline] } 17:41:29 $ docker stop --time=1 1f790216e9fe8c01cab8ce21d52f7002fb6dc8395ac271c516da7d530b3fff07 17:41:31 $ docker rm -f --volumes 1f790216e9fe8c01cab8ce21d52f7002fb6dc8395ac271c516da7d530b3fff07 [Pipeline] // withDockerContainer [Pipeline] sh 17:41:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:31 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:32 $ docker top 01eabff50070cac5a255b3727621e8b5ed2e6a1619f7c13eb0ee052aabbf7c01 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:32 [ssh-agent] Looking for ssh-agent implementation... 17:41:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:32 $ docker exec 01eabff50070cac5a255b3727621e8b5ed2e6a1619f7c13eb0ee052aabbf7c01 ssh-agent 17:41:32 SSH_AUTH_SOCK=/tmp/ssh-08cL0ylODH50/agent.33 17:41:32 SSH_AGENT_PID=39 17:41:32 Running ssh-add (command line suppressed) 17:41:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14490944881838714122.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14490944881838714122.key) 17:41:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:32 + git semver push 17:41:33 2023-09-19 17:41:33,136 [run_push] DEBUG push 17:41:33 2023-09-19 17:41:33,136 [execute] INFO git cat-file --batch-check 17:41:33 2023-09-19 17:41:33,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:33 2023-09-19 17:41:33,141 [execute] INFO git rev-list 6e47cc0d4944aafd3c56d356ad335b845b0f1884 -- 17:41:33 2023-09-19 17:41:33,141 [execute] DEBUG Popen(['git', 'rev-list', '6e47cc0d4944aafd3c56d356ad335b845b0f1884', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:41:33 2023-09-19 17:41:33,149 [execute] INFO git fetch -v origin 17:41:33 2023-09-19 17:41:33,149 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:41:33 2023-09-19 17:41:33,606 [run_push] DEBUG no remote changes detected 17:41:33 2023-09-19 17:41:33,606 [execute] INFO git push origin semver 17:41:33 2023-09-19 17:41:33,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:41:34 2023-09-19 17:41:34,378 [run_push] DEBUG push all version tags 17:41:34 2023-09-19 17:41:34,379 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:41:34 2023-09-19 17:41:34,379 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:41:35 2023-09-19 17:41:35,498 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:41:35 3.1.0-dev.23 [Pipeline] } 17:41:35 $ docker exec --env ******** --env ******** 01eabff50070cac5a255b3727621e8b5ed2e6a1619f7c13eb0ee052aabbf7c01 ssh-agent -k 17:41:36 unset SSH_AUTH_SOCK; 17:41:36 unset SSH_AGENT_PID; 17:41:36 echo Agent pid 39 killed; 17:41:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:36 + git semver [Pipeline] } 17:41:36 $ docker stop --time=1 01eabff50070cac5a255b3727621e8b5ed2e6a1619f7c13eb0ee052aabbf7c01 17:41:37 $ docker rm -f --volumes 01eabff50070cac5a255b3727621e8b5ed2e6a1619f7c13eb0ee052aabbf7c01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:41:38 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 17:41:38 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:41:38 total 16 17:41:38 drwxr-xr-x 3 root root 4096 Sep 19 17:32 . 17:41:38 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 17:41 .. 17:41:38 drwxr-xr-x 2 root root 4096 Sep 19 17:32 cost 17:41:38 -rw-r--r-- 1 root root 89 Sep 19 17:32 cost.csv 17:41:38 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 17:41:38 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:41:38 total 16 17:41:38 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 17:32 . 17:41:38 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 17:41 .. 17:41:38 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 17:32 cost 17:41:38 -rw-r--r-- 1 jenkins jenkins 89 Sep 19 17:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:41:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:41:39 ---> package-listing.sh 17:41:39 ++ facter osfamily 17:41:39 ++ tr '[:upper:]' '[:lower:]' 17:41:39 + OS_FAMILY=debian 17:41:39 + workspace=/w/workspace/exfoundry_device-usb-camera_main 17:41:39 + START_PACKAGES=/tmp/packages_start.txt 17:41:39 + END_PACKAGES=/tmp/packages_end.txt 17:41:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:41:39 + PACKAGES=/tmp/packages_start.txt 17:41:39 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:41:39 + PACKAGES=/tmp/packages_end.txt 17:41:39 + case "${OS_FAMILY}" in 17:41:39 + dpkg -l 17:41:39 + grep '^ii' 17:41:39 + '[' -f /tmp/packages_start.txt ']' 17:41:39 + '[' -f /tmp/packages_end.txt ']' 17:41:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:41:39 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:41:39 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 17:41:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 17:41:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:41:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:40 prd-ubuntu20.04-docker-8c-8g-6590 does not seem to be running inside a container 17:41:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:41:40 $ docker top 007e8ea17e1a0b9211f57a4d80ffe0de99f48af2aff5f8f3f8485a5d311a5d3e -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:41 + touch /tmp/pre-build-complete [Pipeline] sh 17:41:41 + mkdir -p /var/log/sysstat [Pipeline] sh 17:41:41 + ls /var/log/sa-host 17:41:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:41 provisioning config files... 17:41:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9022150528889109409tmp [Pipeline] { [Pipeline] echo 17:41:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:41:42 ---> create-netrc.sh [Pipeline] } 17:41:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:41:42 ---> python-tools-install.sh [Pipeline] echo 17:41:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:41:42 ---> sudo-logs.sh 17:41:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:41:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:41:43 ---> job-cost.sh 17:41:43 lf-activate-venv: SKIPPING 17:41:43 DEBUG: total: 0.2199999988079071 17:41:43 INFO: Retrieving Stack Cost... 17:41:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:41:44 INFO: Archiving Costs [Pipeline] echo 17:41:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:41:44 ---> logs-deploy.sh 17:41:44 lf-activate-venv: SKIPPING 17:41:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/147 17:41:44 INFO: archiving workspace using pattern(s): 17:41:45 Archives upload complete. 17:41:45 INFO: archiving logs to Nexus