Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 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-ssh12607103717168996389.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-ssh16758931588904094514.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-ssh9672229180222723097.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-ssh16741118091471428906.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-ssh7753262848438954038.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-5981 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 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 (main) Commit message: "Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.22" > 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 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 # timeout=10 > git rev-list --no-walk df8fee098ca8f8207e6b8a7bc916bcd179a74499 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:55:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:55:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:55:42 ========================================================= 20:55:42 EdgeX Global Pipelines Version Info 20:55:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:55:43 ------------------- 20:55:43 stable info: 20:55:43 ------------------- 20:55:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:55:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:55:43 Message: update stable to v1.0.254 20:55:43 ------------------- 20:55:43 experimental info: 20:55:43 ------------------- 20:55:43 Commited By: **** collab-it+edgex@linuxfoundation.org 20:55:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:55:43 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:55:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46c2a4d [Pipeline] echo 20:55:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:44 provisioning config files... 20:55:44 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3088471860280483589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:44 ---> docker-login.sh 20:55:44 nexus3.edgexfoundry.org:10001 20:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:45 Configure a credential helper to remove this warning. See 20:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:45 20:55:45 Login Succeeded 20:55:45 nexus3.edgexfoundry.org:10002 20:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:45 Configure a credential helper to remove this warning. See 20:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:45 20:55:45 Login Succeeded 20:55:45 nexus3.edgexfoundry.org:10003 20:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:45 Configure a credential helper to remove this warning. See 20:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:45 20:55:45 Login Succeeded 20:55:45 nexus3.edgexfoundry.org:10004 20:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:45 Configure a credential helper to remove this warning. See 20:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:45 20:55:45 Login Succeeded 20:55:45 docker.io 20:55:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:45 Configure a credential helper to remove this warning. See 20:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:45 20:55:45 Login Succeeded 20:55:45 ---> docker-login.sh ends [Pipeline] } 20:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:55:46 + git rev-list -1 --merges 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696~1..46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] echo 20:55:46 -----------> git rev-list -1 --merges 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696~1..46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 20:55:46 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [false] [Pipeline] sh 20:55:46 + git log --format=format:%s -1 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] echo 20:55:46 ========================================================= 20:55:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:55:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:46 + git log --format=format:%s -1 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] echo 20:55:46 [semverPrep] GIT_COMMIT: 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696, Commit Message: Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.22 [Pipeline] echo 20:55:46 [semverPrep] This is not a build commit. [Pipeline] sh 20:55:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:47 + grep -v github /etc/ssh/ssh_known_hosts 20:55:47 + [ -e /tmp/ssh_known_hosts ] 20:55:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:55:47 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:55:47 sudo tee -a /etc/ssh/ssh_known_hosts 20:55:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:47 20:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:48 0.1.4: Pulling from edgex-devops/py-git-semver 20:55:48 b85a868b505f: Pulling fs layer 20:55:48 e2be974225ed: Pulling fs layer 20:55:48 339a4e72a1f5: Pulling fs layer 20:55:48 988bab9f4d93: Pulling fs layer 20:55:48 1469e6f7b9e6: Pulling fs layer 20:55:48 eaf3925da568: Pulling fs layer 20:55:48 bab4dde63d76: Pulling fs layer 20:55:48 bde34c3a00c8: Pulling fs layer 20:55:48 988bab9f4d93: Waiting 20:55:48 eaf3925da568: Waiting 20:55:48 bab4dde63d76: Waiting 20:55:48 b352a97aabf1: Pulling fs layer 20:55:48 1469e6f7b9e6: Waiting 20:55:48 4872d77fe225: Pulling fs layer 20:55:48 bde34c3a00c8: Waiting 20:55:48 b352a97aabf1: Waiting 20:55:48 5851b861e8e6: Pulling fs layer 20:55:48 4872d77fe225: Waiting 20:55:48 5851b861e8e6: Waiting 20:55:48 e2be974225ed: Verifying Checksum 20:55:48 e2be974225ed: Download complete 20:55:48 988bab9f4d93: Verifying Checksum 20:55:48 988bab9f4d93: Download complete 20:55:48 1469e6f7b9e6: Verifying Checksum 20:55:48 1469e6f7b9e6: Download complete 20:55:48 eaf3925da568: Download complete 20:55:48 339a4e72a1f5: Download complete 20:55:48 bde34c3a00c8: Download complete 20:55:48 b352a97aabf1: Verifying Checksum 20:55:48 b352a97aabf1: Download complete 20:55:48 4872d77fe225: Verifying Checksum 20:55:48 4872d77fe225: Download complete 20:55:48 5851b861e8e6: Verifying Checksum 20:55:48 b85a868b505f: Verifying Checksum 20:55:48 b85a868b505f: Download complete 20:55:48 bab4dde63d76: Verifying Checksum 20:55:48 bab4dde63d76: Download complete 20:55:49 b85a868b505f: Pull complete 20:55:49 e2be974225ed: Pull complete 20:55:50 339a4e72a1f5: Pull complete 20:55:50 988bab9f4d93: Pull complete 20:55:50 1469e6f7b9e6: Pull complete 20:55:50 eaf3925da568: Pull complete 20:55:52 bab4dde63d76: Pull complete 20:55:52 bde34c3a00c8: Pull complete 20:55:52 b352a97aabf1: Pull complete 20:55:52 4872d77fe225: Pull complete 20:55:52 5851b861e8e6: Pull complete 20:55:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:53 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 20:55:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:55:55 $ docker top c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db -eo pid,comm 20:55:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:55:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:55 [ssh-agent] Looking for ssh-agent implementation... 20:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:55 $ docker exec c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db ssh-agent 20:55:55 SSH_AUTH_SOCK=/tmp/ssh-qySVbPBVGT5y/agent.32 20:55:55 SSH_AGENT_PID=38 20:55:55 Running ssh-add (command line suppressed) 20:55:56 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9881585587973822971.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9881585587973822971.key) 20:55:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:56 + git tag --points-at HEAD [Pipeline] } 20:55:56 $ docker exec --env ******** --env ******** c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db ssh-agent -k 20:55:56 unset SSH_AUTH_SOCK; 20:55:56 unset SSH_AGENT_PID; 20:55:56 echo Agent pid 38 killed; 20:55:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:55:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:56 [ssh-agent] Looking for ssh-agent implementation... 20:55:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:56 $ docker exec c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db ssh-agent 20:55:56 SSH_AUTH_SOCK=/tmp/ssh-JbXaDTyD6TOc/agent.70 20:55:56 SSH_AGENT_PID=76 20:55:56 Running ssh-add (command line suppressed) 20:55:56 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15754317384189230809.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15754317384189230809.key) 20:55:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:57 + git semver init 20:55:57 2023-09-12 20:55:57,311 [run_init] DEBUG init version:0.0.0 force:False 20:55:57 2023-09-12 20:55:57,312 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:55:57 2023-09-12 20:55:57,312 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:55:57 2023-09-12 20:55:57,312 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 20:55:58 2023-09-12 20:55:58,055 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:55:58 2023-09-12 20:55:58,056 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:55:58 2023-09-12 20:55:58,056 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:55:58 2023-09-12 20:55:58,056 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:55:58 3.1.0-dev.18 [Pipeline] } 20:55:58 $ docker exec --env ******** --env ******** c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db ssh-agent -k 20:55:58 unset SSH_AUTH_SOCK; 20:55:58 unset SSH_AGENT_PID; 20:55:58 echo Agent pid 76 killed; 20:55:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:58 + git semver [Pipeline] } 20:55:59 $ docker stop --time=1 c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db 20:56:00 $ docker rm -f --volumes c66a8c08351b8bc2bb3517a978fd944168d0e530a86ad277426ce9704fa669db [Pipeline] // withDockerContainer [Pipeline] sh 20:56:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:00 Stashed 1 file(s) [Pipeline] echo 20:56:00 [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:01 provisioning config files... 20:56:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15949108036225502959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:01 ---> docker-login.sh 20:56:01 nexus3.edgexfoundry.org:10001 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10002 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10003 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10004 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 docker.io 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:02 Configure a credential helper to remove this warning. See 20:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:02 20:56:02 Login Succeeded 20:56:02 ---> docker-login.sh ends [Pipeline] } 20:56:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:02 ========================================================= 20:56:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:56:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:02 + 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 . 20:56:02 Sending build context to Docker daemon 2.172MB 20:56:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:56:02 Step 2/13 : FROM ${BASE} AS builder 20:56:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:02 7264a8db6415: Pulling fs layer 20:56:02 c4d48a809fc2: Pulling fs layer 20:56:02 4f1c88b9dad5: Pulling fs layer 20:56:02 ad3a456e5733: Pulling fs layer 20:56:02 9e4f439ed901: Pulling fs layer 20:56:02 feaf6a47b606: Pulling fs layer 20:56:02 5e8b037d7d82: Pulling fs layer 20:56:02 8ac70367396e: Pulling fs layer 20:56:02 6db16350a2e2: Pulling fs layer 20:56:02 9250d5d63582: Pulling fs layer 20:56:02 feaf6a47b606: Waiting 20:56:02 5e8b037d7d82: Waiting 20:56:02 8ac70367396e: Waiting 20:56:02 6db16350a2e2: Waiting 20:56:02 9250d5d63582: Waiting 20:56:02 ad3a456e5733: Waiting 20:56:02 9e4f439ed901: Waiting 20:56:02 c4d48a809fc2: Download complete 20:56:02 ad3a456e5733: Verifying Checksum 20:56:02 ad3a456e5733: Download complete 20:56:02 9e4f439ed901: Verifying Checksum 20:56:02 9e4f439ed901: Download complete 20:56:02 7264a8db6415: Verifying Checksum 20:56:02 7264a8db6415: Download complete 20:56:02 feaf6a47b606: Verifying Checksum 20:56:02 feaf6a47b606: Download complete 20:56:02 7264a8db6415: Pull complete 20:56:03 c4d48a809fc2: Pull complete 20:56:03 8ac70367396e: Verifying Checksum 20:56:03 8ac70367396e: Download complete 20:56:03 4f1c88b9dad5: Verifying Checksum 20:56:03 4f1c88b9dad5: Download complete 20:56:03 6db16350a2e2: Verifying Checksum 20:56:03 6db16350a2e2: Download complete 20:56:03 5e8b037d7d82: Verifying Checksum 20:56:03 5e8b037d7d82: Download complete 20:56:03 9250d5d63582: Verifying Checksum 20:56:03 9250d5d63582: Download complete 20:56:06 4f1c88b9dad5: Pull complete 20:56:06 ad3a456e5733: Pull complete 20:56:06 9e4f439ed901: Pull complete 20:56:06 feaf6a47b606: Pull complete 20:56:09 5e8b037d7d82: Pull complete 20:56:09 8ac70367396e: Pull complete 20:56:09 6db16350a2e2: Pull complete 20:56:10 9250d5d63582: Pull complete 20:56:10 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:56:10 ---> fa269f55d9b9 20:56:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:56:14 ---> Running in 58dea2d5c08a 20:56:14 Removing intermediate container 58dea2d5c08a 20:56:14 ---> 5d235dcbd44e 20:56:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:15 ---> Running in da793498ef93 20:56:15 Removing intermediate container da793498ef93 20:56:15 ---> b32c67fcc5db 20:56:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:56:15 ---> Running in 72026c49c5ac 20:56:15 Removing intermediate container 72026c49c5ac 20:56:15 ---> 14e42631fec9 20:56:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:56:15 ---> Running in e91eda9fe16f 20:56:15 Removing intermediate container e91eda9fe16f 20:56:15 ---> be700615f692 20:56:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:15 ---> Running in 49729ac75096 20:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:56:15 (1/13) Installing libintl (0.21.1-r7) 20:56:15 (2/13) Installing eudev-libs (3.2.11-r8) 20:56:15 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 20:56:15 (4/13) Installing v4l-utils-libs (1.24.1-r0) 20:56:15 (5/13) Installing v4l-utils (1.24.1-r0) 20:56:15 (6/13) Installing libdvbv5 (1.24.1-r0) 20:56:15 (7/13) Installing udev-init-scripts (35-r1) 20:56:16 Still waiting to schedule task 20:56:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:16 (8/13) Installing libblkid (2.38.1-r8) 20:56:16 (9/13) Installing xz-libs (5.4.3-r0) 20:56:16 (10/13) Installing kmod-libs (30-r3) 20:56:16 (11/13) Installing eudev (3.2.11-r8) 20:56:16 (12/13) Installing eudev-dev (3.2.11-r8) 20:56:16 (13/13) Installing v4l-utils-dev (1.24.1-r0) 20:56:16 Executing busybox-1.36.1-r2.trigger 20:56:16 Executing eudev-3.2.11-r8.trigger 20:56:16 OK: 272 MiB in 69 packages 20:56:16 Removing intermediate container 49729ac75096 20:56:16 ---> 56c1fd319b5d 20:56:16 Step 8/13 : WORKDIR /device-usb-camera 20:56:16 ---> Running in 22484f17b557 20:56:16 Removing intermediate container 22484f17b557 20:56:16 ---> 6b61f67ba132 20:56:16 Step 9/13 : COPY go.mod vendor* ./ 20:56:16 ---> 26623d20e117 20:56:16 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:16 ---> Running in 10c9f872a28d 20:56:55 Removing intermediate container 10c9f872a28d 20:56:55 ---> 91acac7b53e0 20:56:55 Step 11/13 : COPY . . 20:56:55 ---> 46197ace9191 20:56:55 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:56:55 ---> Running in 8a66a24e9a78 20:56:55  % Total % Received % Xferd Average Speed Time Time Time Current 20:56:55 Dload Upload Total Spent Left Speed 20:56:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 11608 0 --:--:-- --:--:-- --:--:-- 11710 20:56:55 Removing intermediate container 8a66a24e9a78 20:56:55 ---> 0b26bad7aa30 20:56:55 Step 13/13 : RUN ${MAKE} 20:56:55 ---> Running in 97482784dab8 20:56:55 noop 20:56:55 Removing intermediate container 97482784dab8 20:56:55 ---> 17e0fa41f8b3 20:56:55 Successfully built 17e0fa41f8b3 20:56:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:55 + docker inspect -f . ci-base-image-x86_64 20:56:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:56 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 20:56:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:56:56 $ docker top 3c3be8b033153a9e5f73da3fc40d79d3531dfbb2d6e8654b7ddc555cb2bbaa58 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:56 + go version 20:56:56 go version go1.21.0 linux/amd64 [Pipeline] } 20:56:56 $ docker stop --time=1 3c3be8b033153a9e5f73da3fc40d79d3531dfbb2d6e8654b7ddc555cb2bbaa58 20:56:58 $ docker rm -f --volumes 3c3be8b033153a9e5f73da3fc40d79d3531dfbb2d6e8654b7ddc555cb2bbaa58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:59 + docker inspect -f . ci-base-image-x86_64 20:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:59 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 20:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:56:59 $ docker top 27661bf0c8e11dcfadb4b4dd2aec7b242a1264d2c0b20afe7b6e8d72e3ad4a8f -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:57:00 + make test 20:57:00 go test ./... -coverprofile=coverage.out ./... 20:57:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:57:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:57:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 4.4% of statements 20:57:18 go vet ./... 20:57:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:21 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:21 $ docker stop --time=1 27661bf0c8e11dcfadb4b4dd2aec7b242a1264d2c0b20afe7b6e8d72e3ad4a8f 20:57:25 $ docker rm -f --volumes 27661bf0c8e11dcfadb4b4dd2aec7b242a1264d2c0b20afe7b6e8d72e3ad4a8f [Pipeline] // withDockerContainer [Pipeline] sh 20:57:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:26 + ls -al . 20:57:26 total 220 20:57:26 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:57 . 20:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:55 .. 20:57:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:57 .git 20:57:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:55 .github 20:57:26 -rw-rw-r-- 1 jenkins jenkins 468 Sep 12 20:55 .gitignore 20:57:26 -rw-rw-r-- 1 jenkins jenkins 45 Sep 12 20:55 .golangci.yml 20:57:26 -rw-rw-r-- 1 jenkins jenkins 77 Sep 12 20:55 .hadolint.yml 20:57:26 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:55 .semver 20:57:26 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 12 20:55 Attribution.txt 20:57:26 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 12 20:55 CHANGELOG.md 20:57:26 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 12 20:55 Dockerfile 20:57:26 -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 20:55 GOVERNANCE.md 20:57:26 -rw-rw-r-- 1 jenkins jenkins 659 Sep 12 20:55 Jenkinsfile 20:57:26 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 20:55 LICENSE 20:57:26 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 12 20:55 Makefile 20:57:26 -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 20:55 OWNERS.md 20:57:26 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 12 20:55 README.md 20:57:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:56 VERSION 20:57:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:55 bin 20:57:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:55 cmd 20:57:26 -rw-r--r-- 1 jenkins jenkins 54378 Sep 12 20:57 coverage.out 20:57:26 -rwxrwxr-x 1 jenkins jenkins 84 Sep 12 20:55 docker-entrypoint.sh 20:57:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:55 docs 20:57:26 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 12 20:55 go.mod 20:57:26 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 12 20:55 go.sum 20:57:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:55 internal 20:57:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:55 snap 20:57:26 -rw-rw-r-- 1 jenkins jenkins 231 Sep 12 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:27 + 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=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 --label arch=amd64 --label version=3.1.0-dev.18 . 20:57:27 Sending build context to Docker daemon 2.227MB 20:57:27 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:57:27 Step 2/36 : FROM ${BASE} AS builder 20:57:27 ---> 17e0fa41f8b3 20:57:27 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:57:27 ---> Running in 48dac1780a80 20:57:27 Removing intermediate container 48dac1780a80 20:57:27 ---> ff8934ab7dcc 20:57:27 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:27 ---> Running in 16cd735eaf0f 20:57:27 Removing intermediate container 16cd735eaf0f 20:57:27 ---> 4e90c8d4d7ab 20:57:27 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:57:27 ---> Running in e2bf5ee4a1f5 20:57:27 Removing intermediate container e2bf5ee4a1f5 20:57:27 ---> 488955e4fab9 20:57:27 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:57:27 ---> Running in 18ffbe4a0547 20:57:27 Removing intermediate container 18ffbe4a0547 20:57:27 ---> c0d118aaeb77 20:57:27 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:27 ---> Running in 4cd47df64427 20:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:57:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:57:28 OK: 272 MiB in 69 packages 20:57:28 Removing intermediate container 4cd47df64427 20:57:28 ---> 35206282f30a 20:57:28 Step 8/36 : WORKDIR /device-usb-camera 20:57:28 ---> Running in 72e6091c8415 20:57:28 Removing intermediate container 72e6091c8415 20:57:28 ---> 5aafefa678a6 20:57:28 Step 9/36 : COPY go.mod vendor* ./ 20:57:29 ---> 11236656f5e2 20:57:29 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:29 ---> Running in 8a66a9ae82d8 20:57:30 Removing intermediate container 8a66a9ae82d8 20:57:30 ---> 67b0968ed77b 20:57:30 Step 11/36 : COPY . . 20:57:30 ---> db85d3294aea 20:57:30 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:57:30 ---> Running in 7be8be34caf4 20:57:30  % Total % Received % Xferd Average Speed Time Time Time Current 20:57:30 Dload Upload Total Spent Left  Speed 20:57:30  0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 40561 0 --:--:-- --:--:-- --:--:-- 41766 20:57:30 Removing intermediate container 7be8be34caf4 20:57:30 ---> af14d60b632c 20:57:30 Step 13/36 : RUN ${MAKE} 20:57:30 ---> Running in 4015f709218a 20:57:31 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:57:53 Removing intermediate container 4015f709218a 20:57:53 ---> 09ecf5918648 20:57:53 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:57:53 v0.21.6: Pulling from aler9/rtsp-simple-server 20:57:53 4acc49c71d14: Pulling fs layer 20:57:53 4acc49c71d14: Verifying Checksum 20:57:53 4acc49c71d14: Download complete 20:57:53 4acc49c71d14: Pull complete 20:57:53 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:57:53 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:57:53 ---> 01a2bd3e5fff 20:57:53 Step 15/36 : FROM alpine:3.17 20:57:53 3.17: Pulling from library/alpine 20:57:53 9398808236ff: Pulling fs layer 20:57:53 9398808236ff: Download complete 20:57:53 9398808236ff: Pull complete 20:57:53 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:57:53 Status: Downloaded newer image for alpine:3.17 20:57:53 ---> 1e0b8b5322fc 20:57:53 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:57:53 ---> Running in ec3b91ff4e15 20:57:53 Removing intermediate container ec3b91ff4e15 20:57:53 ---> fa3935785556 20:57:53 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:57:53 ---> Running in 330baf02b90b 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:57:53 (1/86) Installing dumb-init (1.2.5-r2) 20:57:53 (2/86) Installing sdl2 (2.26.5-r0) 20:57:53 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:57:54 (4/86) Installing libxau (1.0.10-r0) 20:57:54 (5/86) Installing libmd (1.0.4-r0) 20:57:54 (6/86) Installing libbsd (0.11.7-r0) 20:57:54 (7/86) Installing libxdmcp (1.1.4-r0) 20:57:54 (8/86) Installing libxcb (1.15-r0) 20:57:54 (9/86) Installing libx11 (1.8.4-r1) 20:57:54 (10/86) Installing aom-libs (3.5.0-r0) 20:57:54 (11/86) Installing alsa-lib (1.2.8-r0) 20:57:54 (12/86) Installing libexpat (2.5.0-r0) 20:57:54 (13/86) Installing brotli-libs (1.0.9-r9) 20:57:54 (14/86) Installing libbz2 (1.0.8-r4) 20:57:54 (15/86) Installing libpng (1.6.39-r0) 20:57:54 (16/86) Installing freetype (2.12.1-r0) 20:57:54 (17/86) Installing fontconfig (2.14.1-r0) 20:57:54 (18/86) Installing fribidi (1.0.12-r0) 20:57:54 (19/86) Installing libffi (3.4.4-r0) 20:57:54 (20/86) Installing libintl (0.21.1-r1) 20:57:54 (21/86) Installing libblkid (2.38.1-r1) 20:57:54 (22/86) Installing libmount (2.38.1-r1) 20:57:54 (23/86) Installing pcre2 (10.42-r0) 20:57:54 (24/86) Installing glib (2.74.7-r0) 20:57:54 (25/86) Installing graphite2 (1.3.14-r2) 20:57:54 (26/86) Installing harfbuzz (5.3.1-r1) 20:57:54 (27/86) Installing libass (0.16.0-r1) 20:57:54 (28/86) Installing libdav1d (1.0.0-r2) 20:57:54 (29/86) Installing hwdata-pci (0.364-r0) 20:57:54 (30/86) Installing libpciaccess (0.17-r0) 20:57:54 (31/86) Installing libdrm (2.4.114-r0) 20:57:54 (32/86) Installing gmp (6.2.1-r2) 20:57:54 (33/86) Installing nettle (3.8.1-r0) 20:57:54 (34/86) Installing p11-kit (0.24.1-r1) 20:57:54 (35/86) Installing libtasn1 (4.19.0-r0) 20:57:54 (36/86) Installing libunistring (1.1-r0) 20:57:54 (37/86) Installing gnutls (3.7.8-r3) 20:57:54 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 20:57:54 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 20:57:54 (40/86) Installing lame (3.100-r2) 20:57:54 (41/86) Installing opus (1.3.1-r1) 20:57:54 (42/86) Installing libasyncns (0.8-r1) 20:57:54 (43/86) Installing dbus-libs (1.14.8-r0) 20:57:54 (44/86) Installing libltdl (2.4.7-r1) 20:57:54 (45/86) Installing orc (0.4.33-r0) 20:57:54 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:57:54 (47/86) Installing libogg (1.3.5-r2) 20:57:54 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:57:54 (49/86) Installing flac-libs (1.4.2-r0) 20:57:54 (50/86) Installing libvorbis (1.3.7-r0) 20:57:54 (51/86) Installing libsndfile (1.1.0-r2) 20:57:54 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:57:54 (53/86) Installing soxr (0.1.3-r3) 20:57:54 (54/86) Installing speexdsp (1.2.1-r0) 20:57:54 (55/86) Installing tdb-libs (1.4.6-r0) 20:57:54 (56/86) Installing libpulse (16.1-r6) 20:57:54 (57/86) Installing cjson (1.7.15-r3) 20:57:54 (58/86) Installing mbedtls (2.28.4-r0) 20:57:54 (59/86) Installing librist (0.2.7-r0) 20:57:54 (60/86) Installing libsrt (1.5.1-r0) 20:57:54 (61/86) Installing libssh (0.10.5-r0) 20:57:54 (62/86) Installing libtheora (1.1.1-r16) 20:57:54 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:57:54 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:57:54 (65/86) Installing libxext (1.3.5-r0) 20:57:54 (66/86) Installing libxfixes (6.0.0-r0) 20:57:54 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:57:54 (68/86) Installing libva (2.16.0-r0) 20:57:54 (69/86) Installing libvdpau (1.5-r0) 20:57:54 (70/86) Installing vidstab (1.1.0-r2) 20:57:54 (71/86) Installing libvpx (1.12.0-r1) 20:57:54 (72/86) Installing libwebp (1.2.4-r2) 20:57:54 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:57:54 (74/86) Installing numactl (2.0.16-r1) 20:57:54 (75/86) Installing x265-libs (3.5-r3) 20:57:54 (76/86) Installing xvidcore (1.3.7-r1) 20:57:54 (77/86) Installing libsodium (1.0.18-r2) 20:57:54 (78/86) Installing libzmq (4.3.4-r1) 20:57:54 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:57:54 (80/86) Installing ffmpeg (5.1.3-r0) 20:57:54 (81/86) Installing udev-init-scripts (35-r1) 20:57:54 (82/86) Installing eudev-libs (3.2.11-r4) 20:57:55 (83/86) Installing xz-libs (5.2.9-r0) 20:57:55 (84/86) Installing zstd-libs (1.5.5-r0) 20:57:55 (85/86) Installing kmod-libs (30-r1) 20:57:55 (86/86) Installing eudev (3.2.11-r4) 20:57:55 Executing busybox-1.35.0-r29.trigger 20:57:55 Executing eudev-3.2.11-r4.trigger 20:57:55 OK: 112 MiB in 101 packages 20:57:57 Removing intermediate container 330baf02b90b 20:57:57 ---> 1c381f0fe8d8 20:57:57 Step 18/36 : WORKDIR / 20:57:57 ---> Running in 594acba73f51 20:57:57 Removing intermediate container 594acba73f51 20:57:57 ---> c23946df674a 20:57:57 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:57:58 ---> 72f1d30e48d4 20:57:58 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:57:58 ---> 70b8276e2d41 20:57:58 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:57:58 ---> 53e4892377f0 20:57:58 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:57:58 ---> e58cedc0b02b 20:57:58 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:57:58 ---> db463e719eb8 20:57:58 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:57:58 ---> 0b0e8f3fc8f6 20:57:58 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:57:59 ---> df4218318df8 20:57:59 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:57:59 ---> Running in 5df87793c94d 20:58:00 Removing intermediate container 5df87793c94d 20:58:00 ---> 2f043fbc2f93 20:58:00 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:58:00 ---> Running in dc5f5bdaaff5 20:58:00 Removing intermediate container dc5f5bdaaff5 20:58:00 ---> d68f1dd5eeb3 20:58:00 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:58:00 ---> Running in 89b49ee2d356 20:58:01 Removing intermediate container 89b49ee2d356 20:58:01 ---> 8d64e879e48e 20:58:01 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:58:01 ---> Running in 6272479532e9 20:58:02 Removing intermediate container 6272479532e9 20:58:02 ---> a7602bde6ec8 20:58:02 Step 30/36 : EXPOSE 59983 20:58:02 ---> Running in 3bdeddaf0a3c 20:58:02 Removing intermediate container 3bdeddaf0a3c 20:58:02 ---> f715800bb57e 20:58:02 Step 31/36 : EXPOSE 8554 20:58:02 ---> Running in 8397e9e025e1 20:58:02 Removing intermediate container 8397e9e025e1 20:58:02 ---> 218b20dbd412 20:58:02 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:58:02 ---> Running in a4a841fb36d1 20:58:02 Removing intermediate container a4a841fb36d1 20:58:02 ---> 299160c9f178 20:58:02 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:58:02 ---> Running in 8cb9bd3fc104 20:58:02 Removing intermediate container 8cb9bd3fc104 20:58:02 ---> 4e0d176193d8 20:58:02 Step 34/36 : LABEL arch=amd64 20:58:02 ---> Running in fde3262f196e 20:58:02 Removing intermediate container fde3262f196e 20:58:02 ---> 818cdb1c41e3 20:58:02 Step 35/36 : LABEL git_sha=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 20:58:02 ---> Running in 31efa01bb422 20:58:02 Removing intermediate container 31efa01bb422 20:58:02 ---> 0a1ceed35d6c 20:58:02 Step 36/36 : LABEL version=3.1.0-dev.18 20:58:02 ---> Running in f36e6aaf7ae6 20:58:02 Removing intermediate container f36e6aaf7ae6 20:58:02 ---> 41b71f40a6af 20:58:02 [Warning] One or more build-args [ARCH] were not consumed 20:58:02 Successfully built 41b71f40a6af 20:58:02 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:02 provisioning config files... 20:58:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2549886784932225494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:02 ---> docker-login.sh 20:58:02 nexus3.edgexfoundry.org:10001 20:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:02 Configure a credential helper to remove this warning. See 20:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:02 20:58:02 Login Succeeded 20:58:02 nexus3.edgexfoundry.org:10002 20:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:02 Configure a credential helper to remove this warning. See 20:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:02 20:58:02 Login Succeeded 20:58:02 nexus3.edgexfoundry.org:10003 20:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:03 Configure a credential helper to remove this warning. See 20:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:03 20:58:03 Login Succeeded 20:58:03 nexus3.edgexfoundry.org:10004 20:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:03 Configure a credential helper to remove this warning. See 20:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:03 20:58:03 Login Succeeded 20:58:03 docker.io 20:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:03 Configure a credential helper to remove this warning. See 20:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:03 20:58:03 Login Succeeded 20:58:03 ---> docker-login.sh ends [Pipeline] } 20:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:03 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:58:03 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 20:58:03 latest 20:58:03 3.1.0-dev.18 20:58:03 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 20:58:03 main 20:58:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:03 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 20:58:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:58:04 05193880b09a: Preparing 20:58:04 e64f4a76c6fe: Preparing 20:58:04 4aac927af809: Preparing 20:58:04 9b7c2f65cfe4: Preparing 20:58:04 3827b5b91e75: Preparing 20:58:04 acc83c6ca332: Preparing 20:58:04 67badef80d80: Preparing 20:58:04 333a2bb589ff: Preparing 20:58:04 6caa3234daa1: Preparing 20:58:04 863e64b6856e: Preparing 20:58:04 23974edfc889: Preparing 20:58:04 0c210208a668: Preparing 20:58:04 36b50b131297: Preparing 20:58:04 acc83c6ca332: Waiting 20:58:04 67badef80d80: Waiting 20:58:04 333a2bb589ff: Waiting 20:58:04 6caa3234daa1: Waiting 20:58:04 863e64b6856e: Waiting 20:58:04 23974edfc889: Waiting 20:58:04 0c210208a668: Waiting 20:58:04 36b50b131297: Waiting 20:58:04 e64f4a76c6fe: Pushed 20:58:04 05193880b09a: Pushed 20:58:04 9b7c2f65cfe4: Pushed 20:58:04 4aac927af809: Pushed 20:58:04 acc83c6ca332: Pushed 20:58:04 67badef80d80: Pushed 20:58:04 333a2bb589ff: Pushed 20:58:04 6caa3234daa1: Pushed 20:58:04 36b50b131297: Layer already exists 20:58:04 863e64b6856e: Pushed 20:58:07 3827b5b91e75: Pushed 20:58:07 23974edfc889: Pushed 20:58:15 0c210208a668: Pushed 20:58:15 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696: digest: sha256:e86b0048f91699fedadb92acacea3b394b98d0dcbc3bc0f915dbab16b2f5131d size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:15 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:58:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:58:15 05193880b09a: Preparing 20:58:15 e64f4a76c6fe: Preparing 20:58:15 4aac927af809: Preparing 20:58:15 9b7c2f65cfe4: Preparing 20:58:15 3827b5b91e75: Preparing 20:58:15 acc83c6ca332: Preparing 20:58:15 67badef80d80: Preparing 20:58:15 333a2bb589ff: Preparing 20:58:15 6caa3234daa1: Preparing 20:58:15 863e64b6856e: Preparing 20:58:15 23974edfc889: Preparing 20:58:15 0c210208a668: Preparing 20:58:15 36b50b131297: Preparing 20:58:15 67badef80d80: Waiting 20:58:15 333a2bb589ff: Waiting 20:58:15 6caa3234daa1: Waiting 20:58:15 863e64b6856e: Waiting 20:58:15 36b50b131297: Waiting 20:58:15 0c210208a668: Waiting 20:58:15 23974edfc889: Waiting 20:58:15 acc83c6ca332: Waiting 20:58:15 05193880b09a: Layer already exists 20:58:15 4aac927af809: Layer already exists 20:58:15 e64f4a76c6fe: Layer already exists 20:58:15 3827b5b91e75: Layer already exists 20:58:15 9b7c2f65cfe4: Layer already exists 20:58:15 333a2bb589ff: Layer already exists 20:58:15 acc83c6ca332: Layer already exists 20:58:15 67badef80d80: Layer already exists 20:58:15 863e64b6856e: Layer already exists 20:58:15 6caa3234daa1: Layer already exists 20:58:15 23974edfc889: Layer already exists 20:58:15 0c210208a668: Layer already exists 20:58:15 36b50b131297: Layer already exists 20:58:15 latest: digest: sha256:e86b0048f91699fedadb92acacea3b394b98d0dcbc3bc0f915dbab16b2f5131d size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.18 20:58:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:58:16 05193880b09a: Preparing 20:58:16 e64f4a76c6fe: Preparing 20:58:16 4aac927af809: Preparing 20:58:16 9b7c2f65cfe4: Preparing 20:58:16 3827b5b91e75: Preparing 20:58:16 acc83c6ca332: Preparing 20:58:16 67badef80d80: Preparing 20:58:16 333a2bb589ff: Preparing 20:58:16 6caa3234daa1: Preparing 20:58:16 863e64b6856e: Preparing 20:58:16 23974edfc889: Preparing 20:58:16 0c210208a668: Preparing 20:58:16 36b50b131297: Preparing 20:58:16 333a2bb589ff: Waiting 20:58:16 6caa3234daa1: Waiting 20:58:16 863e64b6856e: Waiting 20:58:16 23974edfc889: Waiting 20:58:16 0c210208a668: Waiting 20:58:16 67badef80d80: Waiting 20:58:16 9b7c2f65cfe4: Layer already exists 20:58:16 3827b5b91e75: Layer already exists 20:58:16 4aac927af809: Layer already exists 20:58:16 05193880b09a: Layer already exists 20:58:16 e64f4a76c6fe: Layer already exists 20:58:16 acc83c6ca332: Layer already exists 20:58:16 863e64b6856e: Layer already exists 20:58:16 6caa3234daa1: Layer already exists 20:58:16 67badef80d80: Layer already exists 20:58:16 333a2bb589ff: Layer already exists 20:58:16 23974edfc889: Layer already exists 20:58:16 0c210208a668: Layer already exists 20:58:16 36b50b131297: Layer already exists 20:58:16 3.1.0-dev.18: digest: sha256:e86b0048f91699fedadb92acacea3b394b98d0dcbc3bc0f915dbab16b2f5131d size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 20:58:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:58:17 05193880b09a: Preparing 20:58:17 e64f4a76c6fe: Preparing 20:58:17 4aac927af809: Preparing 20:58:17 9b7c2f65cfe4: Preparing 20:58:17 3827b5b91e75: Preparing 20:58:17 acc83c6ca332: Preparing 20:58:17 67badef80d80: Preparing 20:58:17 acc83c6ca332: Waiting 20:58:17 333a2bb589ff: Preparing 20:58:17 6caa3234daa1: Preparing 20:58:17 863e64b6856e: Preparing 20:58:17 23974edfc889: Preparing 20:58:17 0c210208a668: Preparing 20:58:17 36b50b131297: Preparing 20:58:17 863e64b6856e: Waiting 20:58:17 67badef80d80: Waiting 20:58:17 23974edfc889: Waiting 20:58:17 0c210208a668: Waiting 20:58:17 36b50b131297: Waiting 20:58:17 333a2bb589ff: Waiting 20:58:17 6caa3234daa1: Waiting 20:58:17 4aac927af809: Layer already exists 20:58:17 9b7c2f65cfe4: Layer already exists 20:58:17 e64f4a76c6fe: Layer already exists 20:58:17 3827b5b91e75: Layer already exists 20:58:17 05193880b09a: Layer already exists 20:58:17 acc83c6ca332: Layer already exists 20:58:17 67badef80d80: Layer already exists 20:58:17 333a2bb589ff: Layer already exists 20:58:17 6caa3234daa1: Layer already exists 20:58:17 23974edfc889: Layer already exists 20:58:17 863e64b6856e: Layer already exists 20:58:17 36b50b131297: Layer already exists 20:58:17 0c210208a668: Layer already exists 20:58:17 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18: digest: sha256:e86b0048f91699fedadb92acacea3b394b98d0dcbc3bc0f915dbab16b2f5131d size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:58:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:58:17 05193880b09a: Preparing 20:58:17 e64f4a76c6fe: Preparing 20:58:17 4aac927af809: Preparing 20:58:17 9b7c2f65cfe4: Preparing 20:58:17 3827b5b91e75: Preparing 20:58:17 acc83c6ca332: Preparing 20:58:17 67badef80d80: Preparing 20:58:17 333a2bb589ff: Preparing 20:58:17 acc83c6ca332: Waiting 20:58:17 67badef80d80: Waiting 20:58:17 6caa3234daa1: Preparing 20:58:17 333a2bb589ff: Waiting 20:58:17 863e64b6856e: Preparing 20:58:17 23974edfc889: Preparing 20:58:17 0c210208a668: Preparing 20:58:17 23974edfc889: Waiting 20:58:17 36b50b131297: Preparing 20:58:17 0c210208a668: Waiting 20:58:17 36b50b131297: Waiting 20:58:17 e64f4a76c6fe: Layer already exists 20:58:17 05193880b09a: Layer already exists 20:58:17 9b7c2f65cfe4: Layer already exists 20:58:17 3827b5b91e75: Layer already exists 20:58:17 4aac927af809: Layer already exists 20:58:17 acc83c6ca332: Layer already exists 20:58:17 6caa3234daa1: Layer already exists 20:58:17 67badef80d80: Layer already exists 20:58:17 333a2bb589ff: Layer already exists 20:58:17 863e64b6856e: Layer already exists 20:58:17 23974edfc889: Layer already exists 20:58:17 0c210208a668: Layer already exists 20:58:17 36b50b131297: Layer already exists 20:58:17 main: digest: sha256:e86b0048f91699fedadb92acacea3b394b98d0dcbc3bc0f915dbab16b2f5131d size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:17 ===================================================== [Pipeline] echo 20:58:17 taggedImages: 20:58:17 - nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 20:58:17 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:58:17 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.18 20:58:17 - nexus3.edgexfoundry.org:10004/device-usb-camera:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 20:58:17 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:18 20:58:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:18 latest: Pulling from edgex-lftools-log-publisher 20:58:18 5eb5b503b376: Pulling fs layer 20:58:18 5c69ac0246d0: Pulling fs layer 20:58:18 ec43610c2a17: Pulling fs layer 20:58:18 3a2ae6a8a46f: Pulling fs layer 20:58:18 3a2ae6a8a46f: Waiting 20:58:18 33b1e0a273af: Pulling fs layer 20:58:18 5d3b04190fa2: Pulling fs layer 20:58:18 2f39f015ded8: Pulling fs layer 20:58:18 5d3b04190fa2: Waiting 20:58:18 33b1e0a273af: Waiting 20:58:18 2f39f015ded8: Waiting 20:58:18 5c69ac0246d0: Verifying Checksum 20:58:18 5c69ac0246d0: Download complete 20:58:18 3a2ae6a8a46f: Download complete 20:58:18 33b1e0a273af: Verifying Checksum 20:58:18 33b1e0a273af: Download complete 20:58:18 5d3b04190fa2: Verifying Checksum 20:58:18 5d3b04190fa2: Download complete 20:58:18 ec43610c2a17: Download complete 20:58:18 5eb5b503b376: Download complete 20:58:19 2f39f015ded8: Verifying Checksum 20:58:19 2f39f015ded8: Download complete 20:58:19 5eb5b503b376: Pull complete 20:58:20 5c69ac0246d0: Pull complete 20:58:20 ec43610c2a17: Pull complete 20:58:20 3a2ae6a8a46f: Pull complete 20:58:20 33b1e0a273af: Pull complete 20:58:20 5d3b04190fa2: Pull complete 20:58:24 2f39f015ded8: Pull complete 20:58:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:24 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 20:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:27 $ docker top 9ef1235506922013e1b9c1faa367f1043481cadda1ee8489e15255bdc7ae1b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:28 ---> job-cost.sh 20:58:28 lf-activate-venv: SKIPPING 20:58:28 INFO: No Stack... 20:58:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:28 INFO: Archiving Costs [Pipeline] sh 20:58:29 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 20:58:29 + cut -d, -f6 [Pipeline] lock 20:58:29 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] 20:58:29 Resource [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] did not exist. Created. 20:58:29 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:29 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:29 Stashed 1 file(s) [Pipeline] } 20:58:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:29 $ docker stop --time=1 9ef1235506922013e1b9c1faa367f1043481cadda1ee8489e15255bdc7ae1b72 20:58:30 $ docker rm -f --volumes 9ef1235506922013e1b9c1faa367f1043481cadda1ee8489e15255bdc7ae1b72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5983 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:59:08 Running in /w/workspace/device-usb-camera/142 [Pipeline] { [Pipeline] checkout 20:59:08 Selected Git installation does not exist. Using Default 20:59:08 The recommended git tool is: NONE 20:59:13 using credential edgex-jenkins-ssh 20:59:13 Cloning the remote Git repository 20:59:13 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:59:13 > git init /w/workspace/device-usb-camera/142 # timeout=10 20:59:14 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:59:14 > git --version # timeout=10 20:59:14 > git --version # 'git version 2.25.1' 20:59:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:15 Avoid second fetch 20:59:15 Checking out Revision 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 (main) 20:59:15 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:59:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:15 > git config core.sparsecheckout # timeout=10 20:59:16 > git checkout -f 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 # timeout=10 20:59:16 Commit message: "Merge pull request #286 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.22" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:17 Dload Upload Total Spent Left Speed 20:59:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 20:59:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:18 + sudo tee /etc/docker/daemon.new 20:59:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:18 { 20:59:18 "registry-mirrors": [ 20:59:18 "https://nexus3.edgexfoundry.org:10001" 20:59:18 ], 20:59:18 "bip": "10.250.0.254/24", 20:59:18 "hosts": [ 20:59:18 "tcp://0.0.0.0:5555", 20:59:18 "unix:///var/run/docker.sock" 20:59:18 ], 20:59:18 "mtu": 1458, 20:59:18 "selinux-enabled": true, 20:59:18 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:18 } [Pipeline] sh 20:59:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:37 provisioning config files... 20:59:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/142@tmp/config15858124020217609019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:37 ---> docker-login.sh 20:59:37 nexus3.edgexfoundry.org:10001 20:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:38 Configure a credential helper to remove this warning. See 20:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:38 20:59:38 Login Succeeded 20:59:38 nexus3.edgexfoundry.org:10002 20:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:38 Configure a credential helper to remove this warning. See 20:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:38 20:59:38 Login Succeeded 20:59:38 nexus3.edgexfoundry.org:10003 20:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:38 Configure a credential helper to remove this warning. See 20:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:38 20:59:38 Login Succeeded 20:59:38 nexus3.edgexfoundry.org:10004 20:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:39 Configure a credential helper to remove this warning. See 20:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:39 20:59:39 Login Succeeded 20:59:39 docker.io 20:59:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:39 Configure a credential helper to remove this warning. See 20:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:39 20:59:39 Login Succeeded 20:59:39 ---> docker-login.sh ends [Pipeline] } 20:59:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:39 ========================================================= 20:59:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:59:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:40 + 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 . 20:59:40 Sending build context to Docker daemon 1.296MB 20:59:40 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:59:40 Step 2/13 : FROM ${BASE} AS builder 20:59:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:40 9fda8d8052c6: Pulling fs layer 20:59:40 5d54e960e981: Pulling fs layer 20:59:40 c4a7e357bf2a: Pulling fs layer 20:59:40 f0e02332f6b5: Pulling fs layer 20:59:40 66412af1f25a: Pulling fs layer 20:59:40 f0e02332f6b5: Waiting 20:59:40 1baf3a5c0e64: Pulling fs layer 20:59:40 66412af1f25a: Waiting 20:59:40 9a37bb91b891: Pulling fs layer 20:59:40 a29adfc67d43: Pulling fs layer 20:59:40 d5de9f91c1a4: Pulling fs layer 20:59:40 1baf3a5c0e64: Waiting 20:59:40 9a37bb91b891: Waiting 20:59:40 a29adfc67d43: Waiting 20:59:40 5d54e960e981: Verifying Checksum 20:59:40 5d54e960e981: Download complete 20:59:40 f0e02332f6b5: Verifying Checksum 20:59:40 f0e02332f6b5: Download complete 20:59:40 66412af1f25a: Verifying Checksum 20:59:40 66412af1f25a: Download complete 20:59:40 9fda8d8052c6: Verifying Checksum 20:59:40 9fda8d8052c6: Download complete 20:59:41 9a37bb91b891: Verifying Checksum 20:59:41 9a37bb91b891: Download complete 20:59:42 9fda8d8052c6: Pull complete 20:59:42 a29adfc67d43: Verifying Checksum 20:59:42 a29adfc67d43: Download complete 20:59:42 5d54e960e981: Pull complete 20:59:42 d5de9f91c1a4: Verifying Checksum 20:59:42 d5de9f91c1a4: Download complete 20:59:42 c4a7e357bf2a: Verifying Checksum 20:59:42 c4a7e357bf2a: Download complete 20:59:43 1baf3a5c0e64: Verifying Checksum 20:59:43 1baf3a5c0e64: Download complete 20:59:53 c4a7e357bf2a: Pull complete 20:59:53 f0e02332f6b5: Pull complete 20:59:53 66412af1f25a: Pull complete 20:59:59 1baf3a5c0e64: Pull complete 20:59:59 9a37bb91b891: Pull complete 21:00:01 a29adfc67d43: Pull complete 21:00:03 d5de9f91c1a4: Pull complete 21:00:03 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:00:03 ---> 746ca1b523b5 21:00:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:00:04 ---> Running in ccfd7615233e 21:00:04 Removing intermediate container ccfd7615233e 21:00:04 ---> 078ff2e221f0 21:00:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:05 ---> Running in ad78951f3e04 21:00:05 Removing intermediate container ad78951f3e04 21:00:05 ---> cdef68f328b5 21:00:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:00:05 ---> Running in 3a4a17dc593e 21:00:05 Removing intermediate container 3a4a17dc593e 21:00:05 ---> 55b2b7efd882 21:00:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:00:06 ---> Running in d26207cb257b 21:00:06 Removing intermediate container d26207cb257b 21:00:06 ---> 2d3e83d43802 21:00:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:06 ---> Running in aa59e186ed1e 21:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:09 (1/13) Installing libintl (0.21.1-r7) 21:00:09 (2/13) Installing eudev-libs (3.2.11-r8) 21:00:09 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 21:00:09 (4/13) Installing v4l-utils-libs (1.24.1-r0) 21:00:09 (5/13) Installing v4l-utils (1.24.1-r0) 21:00:09 (6/13) Installing libdvbv5 (1.24.1-r0) 21:00:09 (7/13) Installing udev-init-scripts (35-r1) 21:00:09 (8/13) Installing libblkid (2.38.1-r8) 21:00:09 (9/13) Installing xz-libs (5.4.3-r0) 21:00:09 (10/13) Installing kmod-libs (30-r3) 21:00:09 (11/13) Installing eudev (3.2.11-r8) 21:00:09 (12/13) Installing eudev-dev (3.2.11-r8) 21:00:09 (13/13) Installing v4l-utils-dev (1.24.1-r0) 21:00:09 Executing busybox-1.36.1-r2.trigger 21:00:09 Executing eudev-3.2.11-r8.trigger 21:00:09 OK: 275 MiB in 69 packages 21:00:10 Removing intermediate container aa59e186ed1e 21:00:10 ---> d7e707f5ac07 21:00:10 Step 8/13 : WORKDIR /device-usb-camera 21:00:10 ---> Running in b4fb72d398bf 21:00:10 Removing intermediate container b4fb72d398bf 21:00:10 ---> 059553600935 21:00:10 Step 9/13 : COPY go.mod vendor* ./ 21:00:11 ---> cf0b5289efd8 21:00:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:11 ---> Running in d7bbad8c0dc4 21:01:33 Removing intermediate container d7bbad8c0dc4 21:01:33 ---> 2b2520798e92 21:01:33 Step 11/13 : COPY . . 21:01:33 ---> c89231ab1d77 21:01:33 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:01:33 ---> Running in 3cf593496bda 21:01:33  % Total % Received % Xferd Average Speed Time Time Time Current 21:01:33 Dload Upload Total Spent Left Speed 21:01:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253  0 0 9623 0 --:--:-- --:--:-- --:--:-- 9713 21:01:33 Removing intermediate container 3cf593496bda 21:01:33 ---> 9cf11ae73b1e 21:01:33 Step 13/13 : RUN ${MAKE} 21:01:33 ---> Running in c23861297948 21:01:33 noop 21:01:33 Removing intermediate container c23861297948 21:01:33 ---> a9725565dce1 21:01:33 Successfully built a9725565dce1 21:01:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:33 + docker inspect -f . ci-base-image-arm64 21:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:33 prd-ubuntu20.04-docker-arm64-4c-16g-5983 does not seem to be running inside a container 21:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/142 -v /w/workspace/device-usb-camera/142:/w/workspace/device-usb-camera/142:rw,z -v /w/workspace/device-usb-camera/142@tmp:/w/workspace/device-usb-camera/142@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 21:01:34 $ docker top 12568cdc835bfa89f12062c6ffd99fc692f656693f9ae29f55d1bf85f3c1e9b4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:35 + go version 21:01:35 go version go1.21.0 linux/arm64 [Pipeline] } 21:01:35 $ docker stop --time=1 12568cdc835bfa89f12062c6ffd99fc692f656693f9ae29f55d1bf85f3c1e9b4 21:01:37 $ docker rm -f --volumes 12568cdc835bfa89f12062c6ffd99fc692f656693f9ae29f55d1bf85f3c1e9b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:37 + docker inspect -f . ci-base-image-arm64 21:01:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:38 prd-ubuntu20.04-docker-arm64-4c-16g-5983 does not seem to be running inside a container 21:01:38 $ 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/142 -v /w/workspace/device-usb-camera/142:/w/workspace/device-usb-camera/142:rw,z -v /w/workspace/device-usb-camera/142@tmp:/w/workspace/device-usb-camera/142@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 21:01:39 $ docker top e0fdfdf80c2e79905608750d5258617f7760729a10881b0538821b3a2dd8a0c5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:39 + git config --global --add safe.directory /w/workspace/device-usb-camera/142 [Pipeline] fileExists [Pipeline] sh 21:01:40 + make test 21:01:40 go test ./... -coverprofile=coverage.out ./... 21:01:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:03:36 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:03:40 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.082s coverage: 4.4% of statements 21:03:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:03:40 go vet ./... 21:04:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:07 $ docker stop --time=1 e0fdfdf80c2e79905608750d5258617f7760729a10881b0538821b3a2dd8a0c5 21:04:09 $ docker rm -f --volumes e0fdfdf80c2e79905608750d5258617f7760729a10881b0538821b3a2dd8a0c5 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:10 Warning: overwriting stash ‘coverage-report’ 21:04:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:11 + ls -al . 21:04:11 total 216 21:04:11 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:01 . 21:04:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:59 .. 21:04:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:59 .git 21:04:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:59 .github 21:04:11 -rw-rw-r-- 1 jenkins jenkins 468 Sep 12 20:59 .gitignore 21:04:11 -rw-rw-r-- 1 jenkins jenkins 45 Sep 12 20:59 .golangci.yml 21:04:11 -rw-rw-r-- 1 jenkins jenkins 77 Sep 12 20:59 .hadolint.yml 21:04:11 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 12 20:59 Attribution.txt 21:04:11 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 12 20:59 CHANGELOG.md 21:04:11 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 12 20:59 Dockerfile 21:04:11 -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 20:59 GOVERNANCE.md 21:04:11 -rw-rw-r-- 1 jenkins jenkins 659 Sep 12 20:59 Jenkinsfile 21:04:11 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 20:59 LICENSE 21:04:11 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 12 20:59 Makefile 21:04:11 -rw-rw-r-- 1 jenkins jenkins 622 Sep 12 20:59 OWNERS.md 21:04:11 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 12 20:59 README.md 21:04:11 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:56 VERSION 21:04:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:59 bin 21:04:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:59 cmd 21:04:11 -rw-r--r-- 1 jenkins jenkins 54378 Sep 12 21:03 coverage.out 21:04:11 -rwxrwxr-x 1 jenkins jenkins 84 Sep 12 20:59 docker-entrypoint.sh 21:04:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:59 docs 21:04:11 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 12 20:59 go.mod 21:04:11 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 12 20:59 go.sum 21:04:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:59 internal 21:04:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:59 snap 21:04:11 -rw-rw-r-- 1 jenkins jenkins 231 Sep 12 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:12 + 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=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 --label arch=arm64 --label version=3.1.0-dev.18 . 21:04:12 Sending build context to Docker daemon 1.352MB 21:04:12 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:04:12 Step 2/36 : FROM ${BASE} AS builder 21:04:12 ---> a9725565dce1 21:04:12 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:04:12 ---> Running in 8e7c5f2c502f 21:04:13 Removing intermediate container 8e7c5f2c502f 21:04:13 ---> b51a52a3d205 21:04:13 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:13 ---> Running in 0735c9d2712a 21:04:13 Removing intermediate container 0735c9d2712a 21:04:13 ---> d5e323898edd 21:04:13 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:04:13 ---> Running in 5c2caa0fea7f 21:04:13 Removing intermediate container 5c2caa0fea7f 21:04:13 ---> 9164b082dbb2 21:04:13 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:04:13 ---> Running in b17e626e445f 21:04:14 Removing intermediate container b17e626e445f 21:04:14 ---> 5f86f4e72974 21:04:14 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:14 ---> Running in babf9b8fc5c7 21:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:04:17 OK: 275 MiB in 69 packages 21:04:19 Removing intermediate container babf9b8fc5c7 21:04:19 ---> ac82a69451af 21:04:19 Step 8/36 : WORKDIR /device-usb-camera 21:04:19 ---> Running in ebfb3aea8643 21:04:20 Removing intermediate container ebfb3aea8643 21:04:20 ---> 0e5c8a34d684 21:04:20 Step 9/36 : COPY go.mod vendor* ./ 21:04:20 ---> 335d5d073a6e 21:04:20 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:21 ---> Running in 69f0e456259c 21:04:23 Removing intermediate container 69f0e456259c 21:04:23 ---> 790d4224f59d 21:04:23 Step 11/36 : COPY . . 21:04:25 ---> 69b8af11e6de 21:04:25 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:04:25 ---> Running in 0a0074816a00 21:04:26  % Total % Received % Xferd Average Speed Time Time Time Current 21:04:26 Dload Upload Total Spent Left Speed 21:04:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5670 0 --:--:-- --:--:-- --:--:-- 5695 21:04:27 Removing intermediate container 0a0074816a00 21:04:27 ---> b6e31ace3503 21:04:27 Step 13/36 : RUN ${MAKE} 21:04:27 ---> Running in b1ad2bfc24b0 21:04:29 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.22" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:07:06 Removing intermediate container b1ad2bfc24b0 21:07:06 ---> 6452e3c5123a 21:07:06 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:07:06 v0.21.6: Pulling from aler9/rtsp-simple-server 21:07:06 8766b47fe142: Pulling fs layer 21:07:06 8766b47fe142: Verifying Checksum 21:07:06 8766b47fe142: Download complete 21:07:06 8766b47fe142: Pull complete 21:07:06 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:07:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:07:06 ---> 69d40e2cb93c 21:07:06 Step 15/36 : FROM alpine:3.17 21:07:06 3.17: Pulling from library/alpine 21:07:06 4060ece20d7a: Pulling fs layer 21:07:06 4060ece20d7a: Download complete 21:07:06 4060ece20d7a: Pull complete 21:07:06 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:07:06 Status: Downloaded newer image for alpine:3.17 21:07:06 ---> 8650cd65339b 21:07:06 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:07:06 ---> Running in 6043952646c8 21:07:06 Removing intermediate container 6043952646c8 21:07:06 ---> 6a9098a41ccd 21:07:06 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:07:06 ---> Running in 33b79bb973c0 21:07:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:07:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:07:06 (1/83) Installing dumb-init (1.2.5-r2) 21:07:06 (2/83) Installing sdl2 (2.26.5-r0) 21:07:06 (3/83) Installing libxau (1.0.10-r0) 21:07:06 (4/83) Installing libmd (1.0.4-r0) 21:07:06 (5/83) Installing libbsd (0.11.7-r0) 21:07:06 (6/83) Installing libxdmcp (1.1.4-r0) 21:07:06 (7/83) Installing libxcb (1.15-r0) 21:07:06 (8/83) Installing libx11 (1.8.4-r1) 21:07:06 (9/83) Installing aom-libs (3.5.0-r0) 21:07:06 (10/83) Installing alsa-lib (1.2.8-r0) 21:07:06 (11/83) Installing libexpat (2.5.0-r0) 21:07:06 (12/83) Installing brotli-libs (1.0.9-r9) 21:07:06 (13/83) Installing libbz2 (1.0.8-r4) 21:07:06 (14/83) Installing libpng (1.6.39-r0) 21:07:06 (15/83) Installing freetype (2.12.1-r0) 21:07:06 (16/83) Installing fontconfig (2.14.1-r0) 21:07:06 (17/83) Installing fribidi (1.0.12-r0) 21:07:06 (18/83) Installing libffi (3.4.4-r0) 21:07:06 (19/83) Installing libintl (0.21.1-r1) 21:07:07 (20/83) Installing libblkid (2.38.1-r1) 21:07:07 (21/83) Installing libmount (2.38.1-r1) 21:07:07 (22/83) Installing pcre2 (10.42-r0) 21:07:07 (23/83) Installing glib (2.74.7-r0) 21:07:07 (24/83) Installing graphite2 (1.3.14-r2) 21:07:07 (25/83) Installing harfbuzz (5.3.1-r1) 21:07:07 (26/83) Installing libass (0.16.0-r1) 21:07:07 (27/83) Installing libdav1d (1.0.0-r2) 21:07:07 (28/83) Installing libdrm (2.4.114-r0) 21:07:07 (29/83) Installing gmp (6.2.1-r2) 21:07:07 (30/83) Installing nettle (3.8.1-r0) 21:07:07 (31/83) Installing p11-kit (0.24.1-r1) 21:07:07 (32/83) Installing libtasn1 (4.19.0-r0) 21:07:07 (33/83) Installing libunistring (1.1-r0) 21:07:07 (34/83) Installing gnutls (3.7.8-r3) 21:07:07 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:07:07 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:07:07 (37/83) Installing lame (3.100-r2) 21:07:07 (38/83) Installing opus (1.3.1-r1) 21:07:07 (39/83) Installing libasyncns (0.8-r1) 21:07:07 (40/83) Installing dbus-libs (1.14.8-r0) 21:07:07 (41/83) Installing libltdl (2.4.7-r1) 21:07:07 (42/83) Installing orc (0.4.33-r0) 21:07:07 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:07:07 (44/83) Installing libogg (1.3.5-r2) 21:07:07 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:07:07 (46/83) Installing flac-libs (1.4.2-r0) 21:07:07 (47/83) Installing libvorbis (1.3.7-r0) 21:07:07 (48/83) Installing libsndfile (1.1.0-r2) 21:07:07 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:07:07 (50/83) Installing soxr (0.1.3-r3) 21:07:07 (51/83) Installing speexdsp (1.2.1-r0) 21:07:07 (52/83) Installing tdb-libs (1.4.6-r0) 21:07:07 (53/83) Installing libpulse (16.1-r6) 21:07:07 (54/83) Installing cjson (1.7.15-r3) 21:07:07 (55/83) Installing mbedtls (2.28.4-r0) 21:07:07 (56/83) Installing librist (0.2.7-r0) 21:07:07 (57/83) Installing libsrt (1.5.1-r0) 21:07:07 (58/83) Installing libssh (0.10.5-r0) 21:07:07 (59/83) Installing libtheora (1.1.1-r16) 21:07:07 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:07:07 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:07:07 (62/83) Installing libxext (1.3.5-r0) 21:07:07 (63/83) Installing libxfixes (6.0.0-r0) 21:07:07 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:07:07 (65/83) Installing libva (2.16.0-r0) 21:07:07 (66/83) Installing libvdpau (1.5-r0) 21:07:07 (67/83) Installing vidstab (1.1.0-r2) 21:07:07 (68/83) Installing libvpx (1.12.0-r1) 21:07:08 (69/83) Installing libwebp (1.2.4-r2) 21:07:08 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:07:08 (71/83) Installing numactl (2.0.16-r1) 21:07:08 (72/83) Installing x265-libs (3.5-r3) 21:07:08 (73/83) Installing xvidcore (1.3.7-r1) 21:07:08 (74/83) Installing libsodium (1.0.18-r2) 21:07:08 (75/83) Installing libzmq (4.3.4-r1) 21:07:08 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:07:08 (77/83) Installing ffmpeg (5.1.3-r0) 21:07:08 (78/83) Installing udev-init-scripts (35-r1) 21:07:08 (79/83) Installing eudev-libs (3.2.11-r4) 21:07:08 (80/83) Installing xz-libs (5.2.9-r0) 21:07:08 (81/83) Installing zstd-libs (1.5.5-r0) 21:07:08 (82/83) Installing kmod-libs (30-r1) 21:07:08 (83/83) Installing eudev (3.2.11-r4) 21:07:08 Executing busybox-1.35.0-r29.trigger 21:07:08 Executing eudev-3.2.11-r4.trigger 21:07:08 OK: 86 MiB in 98 packages 21:07:14 Removing intermediate container 33b79bb973c0 21:07:14 ---> 0f212a9ebd7c 21:07:14 Step 18/36 : WORKDIR / 21:07:14 ---> Running in 7028fb9c2364 21:07:14 Removing intermediate container 7028fb9c2364 21:07:14 ---> 0f2be3d3f4cf 21:07:14 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:07:15 ---> 50ed8bda493b 21:07:15 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:07:15 ---> 53b7645a287e 21:07:15 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:07:16 ---> 60c6b83fe975 21:07:16 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:07:17 ---> d1a1e457d6d6 21:07:17 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:07:17 ---> aac3b6963f65 21:07:17 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:07:18 ---> 0146c179fb08 21:07:18 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:07:19 ---> 0a5ab4fe77b6 21:07:19 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:07:19 ---> Running in 79e4fb636b60 21:07:21 Removing intermediate container 79e4fb636b60 21:07:21 ---> 115b8ce4ee18 21:07:21 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:07:21 ---> Running in 0478a2728fff 21:07:23 Removing intermediate container 0478a2728fff 21:07:23 ---> 9a4e2768acee 21:07:23 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:07:23 ---> Running in 8153b62936ac 21:07:25 Removing intermediate container 8153b62936ac 21:07:25 ---> ae25dae97747 21:07:25 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:07:25 ---> Running in d598d7206872 21:07:27 Removing intermediate container d598d7206872 21:07:27 ---> 2a44bf1301e5 21:07:27 Step 30/36 : EXPOSE 59983 21:07:27 ---> Running in 4e7c42a86253 21:07:27 Removing intermediate container 4e7c42a86253 21:07:27 ---> 59ca428bbe5f 21:07:27 Step 31/36 : EXPOSE 8554 21:07:27 ---> Running in b1a0180df6d4 21:07:27 Removing intermediate container b1a0180df6d4 21:07:27 ---> 53c68eb77272 21:07:27 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:07:27 ---> Running in a2446d9a8ab4 21:07:28 Removing intermediate container a2446d9a8ab4 21:07:28 ---> 96406a55fb37 21:07:28 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:07:28 ---> Running in ed8335a56529 21:07:28 Removing intermediate container ed8335a56529 21:07:28 ---> 07440abfd0b2 21:07:28 Step 34/36 : LABEL arch=arm64 21:07:28 ---> Running in 8dc3798ac250 21:07:29 Removing intermediate container 8dc3798ac250 21:07:29 ---> be2f2bf4436f 21:07:29 Step 35/36 : LABEL git_sha=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 21:07:29 ---> Running in c9aa2f382d6a 21:07:29 Removing intermediate container c9aa2f382d6a 21:07:29 ---> 0259232fe104 21:07:29 Step 36/36 : LABEL version=3.1.0-dev.18 21:07:29 ---> Running in 14683170837b 21:07:29 Removing intermediate container 14683170837b 21:07:29 ---> 354c6609c914 21:07:29 [Warning] One or more build-args [ARCH] were not consumed 21:07:29 Successfully built 354c6609c914 21:07:29 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 21:07:29 provisioning config files... 21:07:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/142@tmp/config15176750909020331950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:30 ---> docker-login.sh 21:07:30 nexus3.edgexfoundry.org:10001 21:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:30 Configure a credential helper to remove this warning. See 21:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:30 21:07:30 Login Succeeded 21:07:30 nexus3.edgexfoundry.org:10002 21:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:30 Configure a credential helper to remove this warning. See 21:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:30 21:07:30 Login Succeeded 21:07:30 nexus3.edgexfoundry.org:10003 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 nexus3.edgexfoundry.org:10004 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:31 Configure a credential helper to remove this warning. See 21:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:31 21:07:31 Login Succeeded 21:07:31 docker.io 21:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 ---> docker-login.sh ends [Pipeline] } 21:07:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:32 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 21:07:32 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 21:07:32 latest 21:07:32 3.1.0-dev.18 21:07:32 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 21:07:32 main 21:07:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 21:07:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:07:33 49568af11660: Preparing 21:07:33 33651bba90c7: Preparing 21:07:33 bb61f74c19ce: Preparing 21:07:33 756c17320eb9: Preparing 21:07:33 608d194cb50c: Preparing 21:07:33 acc83c6ca332: Preparing 21:07:33 e06016221f4c: Preparing 21:07:33 e223b66b4c6f: Preparing 21:07:33 3d4bda2040af: Preparing 21:07:33 a2654b934312: Preparing 21:07:33 4ffcf855b54c: Preparing 21:07:33 9650624e2f14: Preparing 21:07:33 d2d9d24a8c2a: Preparing 21:07:33 acc83c6ca332: Waiting 21:07:33 e06016221f4c: Waiting 21:07:33 e223b66b4c6f: Waiting 21:07:33 3d4bda2040af: Waiting 21:07:33 a2654b934312: Waiting 21:07:33 4ffcf855b54c: Waiting 21:07:33 9650624e2f14: Waiting 21:07:33 d2d9d24a8c2a: Waiting 21:07:33 49568af11660: Pushed 21:07:33 756c17320eb9: Pushed 21:07:33 bb61f74c19ce: Pushed 21:07:33 33651bba90c7: Pushed 21:07:33 acc83c6ca332: Pushed 21:07:33 3d4bda2040af: Pushed 21:07:33 e06016221f4c: Pushed 21:07:33 e223b66b4c6f: Pushed 21:07:33 d2d9d24a8c2a: Layer already exists 21:07:33 a2654b934312: Pushed 21:07:38 608d194cb50c: Pushed 21:07:39 4ffcf855b54c: Pushed 21:07:52 9650624e2f14: Pushed 21:07:52 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696: digest: sha256:a51115fe9891b25c9301adab1d0ede225a4baae8886045f2ed0d11d46831ec87 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:52 + 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 21:07:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:07:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:07:52 49568af11660: Preparing 21:07:52 33651bba90c7: Preparing 21:07:52 bb61f74c19ce: Preparing 21:07:52 756c17320eb9: Preparing 21:07:52 608d194cb50c: Preparing 21:07:52 acc83c6ca332: Preparing 21:07:52 e06016221f4c: Preparing 21:07:52 e223b66b4c6f: Preparing 21:07:52 3d4bda2040af: Preparing 21:07:52 a2654b934312: Preparing 21:07:52 4ffcf855b54c: Preparing 21:07:52 9650624e2f14: Preparing 21:07:52 d2d9d24a8c2a: Preparing 21:07:52 acc83c6ca332: Waiting 21:07:52 e06016221f4c: Waiting 21:07:52 e223b66b4c6f: Waiting 21:07:52 4ffcf855b54c: Waiting 21:07:52 3d4bda2040af: Waiting 21:07:52 9650624e2f14: Waiting 21:07:52 a2654b934312: Waiting 21:07:52 d2d9d24a8c2a: Waiting 21:07:52 49568af11660: Layer already exists 21:07:52 bb61f74c19ce: Layer already exists 21:07:52 608d194cb50c: Layer already exists 21:07:52 756c17320eb9: Layer already exists 21:07:52 33651bba90c7: Layer already exists 21:07:52 e06016221f4c: Layer already exists 21:07:52 acc83c6ca332: Layer already exists 21:07:52 a2654b934312: Layer already exists 21:07:52 e223b66b4c6f: Layer already exists 21:07:52 3d4bda2040af: Layer already exists 21:07:52 9650624e2f14: Layer already exists 21:07:52 4ffcf855b54c: Layer already exists 21:07:52 d2d9d24a8c2a: Layer already exists 21:07:53 latest: digest: sha256:a51115fe9891b25c9301adab1d0ede225a4baae8886045f2ed0d11d46831ec87 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:53 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.18 21:07:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:07:53 49568af11660: Preparing 21:07:53 33651bba90c7: Preparing 21:07:53 bb61f74c19ce: Preparing 21:07:53 756c17320eb9: Preparing 21:07:53 608d194cb50c: Preparing 21:07:53 acc83c6ca332: Preparing 21:07:53 e06016221f4c: Preparing 21:07:53 e223b66b4c6f: Preparing 21:07:53 3d4bda2040af: Preparing 21:07:53 a2654b934312: Preparing 21:07:53 4ffcf855b54c: Preparing 21:07:53 9650624e2f14: Preparing 21:07:53 d2d9d24a8c2a: Preparing 21:07:53 e223b66b4c6f: Waiting 21:07:53 3d4bda2040af: Waiting 21:07:53 a2654b934312: Waiting 21:07:53 acc83c6ca332: Waiting 21:07:53 e06016221f4c: Waiting 21:07:53 4ffcf855b54c: Waiting 21:07:53 9650624e2f14: Waiting 21:07:53 d2d9d24a8c2a: Waiting 21:07:53 33651bba90c7: Layer already exists 21:07:53 608d194cb50c: Layer already exists 21:07:53 49568af11660: Layer already exists 21:07:53 756c17320eb9: Layer already exists 21:07:53 bb61f74c19ce: Layer already exists 21:07:53 e223b66b4c6f: Layer already exists 21:07:53 a2654b934312: Layer already exists 21:07:53 e06016221f4c: Layer already exists 21:07:53 acc83c6ca332: Layer already exists 21:07:53 3d4bda2040af: Layer already exists 21:07:53 d2d9d24a8c2a: Layer already exists 21:07:53 4ffcf855b54c: Layer already exists 21:07:53 9650624e2f14: Layer already exists 21:07:54 3.1.0-dev.18: digest: sha256:a51115fe9891b25c9301adab1d0ede225a4baae8886045f2ed0d11d46831ec87 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:54 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 21:07:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:07:54 49568af11660: Preparing 21:07:54 33651bba90c7: Preparing 21:07:54 bb61f74c19ce: Preparing 21:07:54 756c17320eb9: Preparing 21:07:54 608d194cb50c: Preparing 21:07:54 acc83c6ca332: Preparing 21:07:54 e06016221f4c: Preparing 21:07:54 e223b66b4c6f: Preparing 21:07:54 3d4bda2040af: Preparing 21:07:54 a2654b934312: Preparing 21:07:54 4ffcf855b54c: Preparing 21:07:54 9650624e2f14: Preparing 21:07:54 d2d9d24a8c2a: Preparing 21:07:54 3d4bda2040af: Waiting 21:07:54 acc83c6ca332: Waiting 21:07:54 a2654b934312: Waiting 21:07:54 4ffcf855b54c: Waiting 21:07:54 e06016221f4c: Waiting 21:07:54 e223b66b4c6f: Waiting 21:07:54 d2d9d24a8c2a: Waiting 21:07:54 33651bba90c7: Layer already exists 21:07:54 49568af11660: Layer already exists 21:07:54 608d194cb50c: Layer already exists 21:07:54 756c17320eb9: Layer already exists 21:07:54 bb61f74c19ce: Layer already exists 21:07:54 acc83c6ca332: Layer already exists 21:07:54 e06016221f4c: Layer already exists 21:07:54 e223b66b4c6f: Layer already exists 21:07:54 a2654b934312: Layer already exists 21:07:54 3d4bda2040af: Layer already exists 21:07:54 9650624e2f14: Layer already exists 21:07:54 4ffcf855b54c: Layer already exists 21:07:54 d2d9d24a8c2a: Layer already exists 21:07:55 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18: digest: sha256:a51115fe9891b25c9301adab1d0ede225a4baae8886045f2ed0d11d46831ec87 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:55 + 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 21:07:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 21:07:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:07:55 49568af11660: Preparing 21:07:55 33651bba90c7: Preparing 21:07:55 bb61f74c19ce: Preparing 21:07:55 756c17320eb9: Preparing 21:07:55 608d194cb50c: Preparing 21:07:55 acc83c6ca332: Preparing 21:07:55 e06016221f4c: Preparing 21:07:55 e223b66b4c6f: Preparing 21:07:55 3d4bda2040af: Preparing 21:07:55 a2654b934312: Preparing 21:07:55 4ffcf855b54c: Preparing 21:07:55 9650624e2f14: Preparing 21:07:55 d2d9d24a8c2a: Preparing 21:07:55 acc83c6ca332: Waiting 21:07:55 a2654b934312: Waiting 21:07:55 e06016221f4c: Waiting 21:07:55 e223b66b4c6f: Waiting 21:07:55 3d4bda2040af: Waiting 21:07:55 4ffcf855b54c: Waiting 21:07:55 9650624e2f14: Waiting 21:07:55 d2d9d24a8c2a: Waiting 21:07:55 bb61f74c19ce: Layer already exists 21:07:55 608d194cb50c: Layer already exists 21:07:55 49568af11660: Layer already exists 21:07:55 756c17320eb9: Layer already exists 21:07:55 33651bba90c7: Layer already exists 21:07:55 e223b66b4c6f: Layer already exists 21:07:55 acc83c6ca332: Layer already exists 21:07:55 3d4bda2040af: Layer already exists 21:07:55 e06016221f4c: Layer already exists 21:07:55 a2654b934312: Layer already exists 21:07:55 4ffcf855b54c: Layer already exists 21:07:55 9650624e2f14: Layer already exists 21:07:55 d2d9d24a8c2a: Layer already exists 21:07:56 main: digest: sha256:a51115fe9891b25c9301adab1d0ede225a4baae8886045f2ed0d11d46831ec87 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:56 ===================================================== [Pipeline] echo 21:07:56 taggedImages: 21:07:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 21:07:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:07:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.18 21:07:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:46c2a4d94fdeb4682a040f5654c6ab28c0ccb696-3.1.0-dev.18 21:07:56 - 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 21:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:56 21:07:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:56 arm64: Pulling from edgex-lftools-log-publisher 21:07:56 8998bd30e6a1: Pulling fs layer 21:07:56 04944245beec: Pulling fs layer 21:07:56 699f458cf7ca: Pulling fs layer 21:07:56 765212b225bb: Pulling fs layer 21:07:56 f23df028b6ca: Pulling fs layer 21:07:56 d65c8cfc05b1: Pulling fs layer 21:07:56 2437ff75d9bd: Pulling fs layer 21:07:56 765212b225bb: Waiting 21:07:56 f23df028b6ca: Waiting 21:07:56 d65c8cfc05b1: Waiting 21:07:56 2437ff75d9bd: Waiting 21:07:57 04944245beec: Verifying Checksum 21:07:57 04944245beec: Download complete 21:07:57 765212b225bb: Verifying Checksum 21:07:57 765212b225bb: Download complete 21:07:57 f23df028b6ca: Verifying Checksum 21:07:57 f23df028b6ca: Download complete 21:07:57 d65c8cfc05b1: Verifying Checksum 21:07:57 d65c8cfc05b1: Download complete 21:07:57 699f458cf7ca: Verifying Checksum 21:07:57 699f458cf7ca: Download complete 21:07:57 8998bd30e6a1: Verifying Checksum 21:07:57 8998bd30e6a1: Download complete 21:08:00 2437ff75d9bd: Verifying Checksum 21:08:00 2437ff75d9bd: Download complete 21:08:01 8998bd30e6a1: Pull complete 21:08:01 04944245beec: Pull complete 21:08:03 699f458cf7ca: Pull complete 21:08:03 765212b225bb: Pull complete 21:08:04 f23df028b6ca: Pull complete 21:08:04 d65c8cfc05b1: Pull complete 21:08:19 2437ff75d9bd: Pull complete 21:08:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:19 prd-ubuntu20.04-docker-arm64-4c-16g-5983 does not seem to be running inside a container 21:08:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/142 -v /w/workspace/device-usb-camera/142:/w/workspace/device-usb-camera/142:rw,z -v /w/workspace/device-usb-camera/142@tmp:/w/workspace/device-usb-camera/142@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 21:08:23 $ docker top 3d70eef74f615563d2660e13237e4dfe9df6eb65ca875f241fa1219c0e407e38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:24 ---> job-cost.sh 21:08:24 lf-activate-venv: SKIPPING 21:08:24 INFO: No Stack... 21:08:25 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:25 INFO: Archiving Costs [Pipeline] sh 21:08:26 + + catcut /w/workspace/device-usb-camera/142/archives/cost.csv -d, 21:08:26 -f6 [Pipeline] lock 21:08:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] 21:08:26 Resource [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] did not exist. Created. 21:08:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:27 /w/workspace/device-usb-camera/142@tmp/durable-fc731a76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:27 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:27 Warning: overwriting stash ‘stack-cost’ 21:08:28 Stashed 1 file(s) [Pipeline] } 21:08:28 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-142-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:28 $ docker stop --time=1 3d70eef74f615563d2660e13237e4dfe9df6eb65ca875f241fa1219c0e407e38 21:08:29 $ docker rm -f --volumes 3d70eef74f615563d2660e13237e4dfe9df6eb65ca875f241fa1219c0e407e38 [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 21:08:30 provisioning config files... 21:08:30 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8860683554963437212tmp [Pipeline] { [Pipeline] sh 21:08:30 + set +x 21:08:30 + + bash -scurl -- -s 21:08:30 https://codecov.io/bash 21:08:30 21:08:30 _____ _ 21:08:30 / ____| | | 21:08:30 | | ___ __| | ___ ___ _____ __ 21:08:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:30 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:30 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:30 Bash-1.0.6 21:08:30 21:08:30 21:08:30 ==> git version 2.25.1 found 21:08:30 ==> 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 21:08:30 Release-Date: 2020-01-08 21:08:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:08:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:30 ==> Jenkins CI detected. 21:08:30 current dir:  /w/workspace/exfoundry_device-usb-camera_main 21:08:30 project root: . 21:08:30 --> token set from env 21:08:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:30 ==> Running gcov in . (disable via -X gcov) 21:08:30 ==> Python coveragepy not found 21:08:30 ==> Searching for coverage reports in: 21:08:30 + . 21:08:30 -> Found 1 reports 21:08:30 ==> Detecting git/mercurial file structure 21:08:30 ==> Reading reports 21:08:30 + ./coverage.out bytes=54378 21:08:30 ==> Appending adjustments 21:08:30 https://docs.codecov.io/docs/fixing-reports 21:08:30 + Found adjustments 21:08:30 ==> Gzipping contents 21:08:30 8.0K /tmp/codecov.922tlw.gz 21:08:30 ==> Uploading reports 21:08:30 url: https://codecov.io 21:08:30 query: branch=main&commit=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:08:30 -> Pinging Codecov 21:08:30 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=46c2a4d94fdeb4682a040f5654c6ab28c0ccb696&build=142&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F142%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:08:30 -> Uploading to 21:08:30 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/73D8F5FF140700D3E01443B452E23636/46c2a4d94fdeb4682a040f5654c6ab28c0ccb696/ebaf116f-8bf1-4971-892f-c44b725545c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T210830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af9f507ced3c6b6b9a48e6afd92396a985371a231d8cb167d89ed8bb5e1bf456 21:08:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:30 Dload Upload Total Spent Left Speed 21:08:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6952 0 0 100 6952 0 22282 --:--:-- --:--:-- --:--:-- 22210 21:08:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] } 21:08:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:08:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:08:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:31 21:08:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:08:31 df9b9388f04a: Pulling fs layer 21:08:31 52dc419b0ee2: Pulling fs layer 21:08:31 25bc292e5bac: Pulling fs layer 21:08:31 114826534d7a: Pulling fs layer 21:08:31 4657fd5d0bcf: Pulling fs layer 21:08:31 6ad1cebc031e: Pulling fs layer 21:08:31 8a3aa393b2d8: Pulling fs layer 21:08:31 114826534d7a: Waiting 21:08:31 4657fd5d0bcf: Waiting 21:08:31 6ad1cebc031e: Waiting 21:08:31 8a3aa393b2d8: Waiting 21:08:31 25bc292e5bac: Verifying Checksum 21:08:31 25bc292e5bac: Download complete 21:08:31 52dc419b0ee2: Download complete 21:08:31 4657fd5d0bcf: Download complete 21:08:31 df9b9388f04a: Verifying Checksum 21:08:31 df9b9388f04a: Download complete 21:08:32 6ad1cebc031e: Verifying Checksum 21:08:32 6ad1cebc031e: Download complete 21:08:32 df9b9388f04a: Pull complete 21:08:32 52dc419b0ee2: Pull complete 21:08:32 25bc292e5bac: Pull complete 21:08:32 114826534d7a: Verifying Checksum 21:08:32 114826534d7a: Download complete 21:08:32 8a3aa393b2d8: Verifying Checksum 21:08:32 8a3aa393b2d8: Download complete 21:08:36 114826534d7a: Pull complete 21:08:36 4657fd5d0bcf: Pull complete 21:08:36 6ad1cebc031e: Pull complete 21:08:38 8a3aa393b2d8: Pull complete 21:08:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:38 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:08:38 $ 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 21:08:44 $ docker top 3872f288cc0e894f657ce53a533f33b2e7190c43d082b821a78319ac20da4cc6 -eo pid,comm [Pipeline] { [Pipeline] echo 21:08:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 21:08:44 + set -o pipefail 21:08:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 21:08:50 21:08:50 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 21:08:50 21:08:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/4b164629-9adc-4809-a1e5-36141bfda327 21:08:50 21:08:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:08:50 21:08:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:08:50 21:08:50 21:08:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:08:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:08:50 More details here: https://snyk.co/ue1NS 21:08:50 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:08:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:08:50 $ docker stop --time=1 3872f288cc0e894f657ce53a533f33b2e7190c43d082b821a78319ac20da4cc6 21:08:55 $ docker rm -f --volumes 3872f288cc0e894f657ce53a533f33b2e7190c43d082b821a78319ac20da4cc6 [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 21:08:56 + git log --format=format:%s -1 46c2a4d94fdeb4682a040f5654c6ab28c0ccb696 [Pipeline] sh 21:08:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:57 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:08:57 $ 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 21:08:57 $ docker top f76cd73c42c24d88c9ecff63d7472f44cb03a7604c02f69ea1f76d9bfbcef91e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:57 [ssh-agent] Looking for ssh-agent implementation... 21:08:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:57 $ docker exec f76cd73c42c24d88c9ecff63d7472f44cb03a7604c02f69ea1f76d9bfbcef91e ssh-agent 21:08:57 SSH_AUTH_SOCK=/tmp/ssh-4Vua10AOimNQ/agent.31 21:08:57 SSH_AGENT_PID=37 21:08:57 Running ssh-add (command line suppressed) 21:08:57 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_744072259166350962.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_744072259166350962.key) 21:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:58 + git semver tag 21:08:58 2023-09-12 21:08:58,297 [run_tag] DEBUG tag force:False 21:08:58 2023-09-12 21:08:58,297 [check_head_tag] DEBUG check head tag 21:08:58 2023-09-12 21:08:58,299 [execute] INFO git cat-file --batch-check 21:08:58 2023-09-12 21:08:58,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:08:58 2023-09-12 21:08:58,302 [execute] INFO git cat-file --batch 21:08:58 2023-09-12 21:08:58,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:08:58 2023-09-12 21:08:58,331 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:08:58 2023-09-12 21:08:58,331 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 21:08:58 2023-09-12 21:08:58,331 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:08:58 2023-09-12 21:08:58,335 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:08:58 3.1.0-dev.18 [Pipeline] } 21:08:58 $ docker exec --env ******** --env ******** f76cd73c42c24d88c9ecff63d7472f44cb03a7604c02f69ea1f76d9bfbcef91e ssh-agent -k 21:08:58 unset SSH_AUTH_SOCK; 21:08:58 unset SSH_AGENT_PID; 21:08:58 echo Agent pid 37 killed; 21:08:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:58 + git semver [Pipeline] } 21:08:59 $ docker stop --time=1 f76cd73c42c24d88c9ecff63d7472f44cb03a7604c02f69ea1f76d9bfbcef91e 21:09:00 $ docker rm -f --volumes f76cd73c42c24d88c9ecff63d7472f44cb03a7604c02f69ea1f76d9bfbcef91e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:00 21:09:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:01 0.23.1-centos7: Pulling from edgex-lftools 21:09:01 ab5ef0e58194: Pulling fs layer 21:09:01 9712f1f96733: Pulling fs layer 21:09:01 63f879dbbcfc: Pulling fs layer 21:09:01 0d9ebad4ef96: Pulling fs layer 21:09:01 e9a5061849ea: Pulling fs layer 21:09:01 d747dcd14b5f: Pulling fs layer 21:09:01 2de7ff778b66: Pulling fs layer 21:09:01 e9a5061849ea: Waiting 21:09:01 d747dcd14b5f: Waiting 21:09:01 2de7ff778b66: Waiting 21:09:01 0d9ebad4ef96: Waiting 21:09:01 9712f1f96733: Download complete 21:09:01 63f879dbbcfc: Verifying Checksum 21:09:01 63f879dbbcfc: Download complete 21:09:01 0d9ebad4ef96: Verifying Checksum 21:09:01 0d9ebad4ef96: Download complete 21:09:01 ab5ef0e58194: Verifying Checksum 21:09:01 ab5ef0e58194: Download complete 21:09:01 d747dcd14b5f: Verifying Checksum 21:09:01 d747dcd14b5f: Download complete 21:09:01 e9a5061849ea: Verifying Checksum 21:09:01 e9a5061849ea: Download complete 21:09:01 2de7ff778b66: Verifying Checksum 21:09:01 2de7ff778b66: Download complete 21:09:04 ab5ef0e58194: Pull complete 21:09:04 9712f1f96733: Pull complete 21:09:04 63f879dbbcfc: Pull complete 21:09:08 0d9ebad4ef96: Pull complete 21:09:08 e9a5061849ea: Pull complete 21:09:08 d747dcd14b5f: Pull complete 21:09:09 2de7ff778b66: Pull complete 21:09:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:09 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:09:09 $ 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 21:09:17 $ docker top ed02a1c74fd1656430c9957b82f5fd936182f2df61ad674fe92c23814d73d7f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:09:17 provisioning config files... 21:09:17 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4813832987724252785tmp 21:09:17 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18355736820229847815tmp 21:09:17 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2868620103598140248tmp [Pipeline] { [Pipeline] echo 21:09:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:09:18 ---> sigul-configuration.sh 21:09:18 gpg: directory `/root/.gnupg' created 21:09:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:09:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:09:18 gpg: keyring `/root/.gnupg/secring.gpg' created 21:09:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:09:18 gpg: CAST5 encrypted data 21:09:18 gpg: encrypted with 1 passphrase 21:09:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:09:18 + mkdir /home/jenkins 21:09:18 + mkdir /home/jenkins/sigul [Pipeline] sh 21:09:18 + 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 21:09:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:09:18 ---> sigul-install.sh 21:09:18 Sigul already installed; skipping installation. [Pipeline] sh 21:09:19 + git tag --list 21:09:19 v0.0.0 21:09:19 v0.0.1-dev.1 21:09:19 v0.0.1-dev.10 21:09:19 v0.0.1-dev.11 21:09:19 v0.0.1-dev.12 21:09:19 v0.0.1-dev.13 21:09:19 v0.0.1-dev.14 21:09:19 v0.0.1-dev.15 21:09:19 v0.0.1-dev.16 21:09:19 v0.0.1-dev.2 21:09:19 v0.0.1-dev.3 21:09:19 v0.0.1-dev.4 21:09:19 v0.0.1-dev.5 21:09:19 v0.0.1-dev.6 21:09:19 v0.0.1-dev.7 21:09:19 v0.0.1-dev.8 21:09:19 v0.0.1-dev.9 21:09:19 v2.2.0 21:09:19 v2.2.0-dev.17 21:09:19 v2.2.0-dev.18 21:09:19 v2.2.0-dev.19 21:09:19 v2.2.0-dev.20 21:09:19 v2.2.0-dev.21 21:09:19 v2.2.0-dev.22 21:09:19 v2.2.0-dev.23 21:09:19 v2.2.0-dev.24 21:09:19 v2.2.0-dev.25 21:09:19 v2.2.0-dev.26 21:09:19 v2.2.0-dev.27 21:09:19 v2.3.0 21:09:19 v2.3.0-dev.1 21:09:19 v2.3.0-dev.10 21:09:19 v2.3.0-dev.11 21:09:19 v2.3.0-dev.12 21:09:19 v2.3.0-dev.13 21:09:19 v2.3.0-dev.14 21:09:19 v2.3.0-dev.15 21:09:19 v2.3.0-dev.16 21:09:19 v2.3.0-dev.17 21:09:19 v2.3.0-dev.18 21:09:19 v2.3.0-dev.19 21:09:19 v2.3.0-dev.2 21:09:19 v2.3.0-dev.20 21:09:19 v2.3.0-dev.21 21:09:19 v2.3.0-dev.22 21:09:19 v2.3.0-dev.23 21:09:19 v2.3.0-dev.24 21:09:19 v2.3.0-dev.25 21:09:19 v2.3.0-dev.26 21:09:19 v2.3.0-dev.27 21:09:19 v2.3.0-dev.28 21:09:19 v2.3.0-dev.3 21:09:19 v2.3.0-dev.4 21:09:19 v2.3.0-dev.5 21:09:19 v2.3.0-dev.6 21:09:19 v2.3.0-dev.7 21:09:19 v2.3.0-dev.8 21:09:19 v2.3.0-dev.9 21:09:19 v2.3.1 21:09:19 v2.3.1-dev.4 21:09:19 v2.3.1-dev.5 21:09:19 v2.3.1-dev.6 21:09:19 v3.0 21:09:19 v3.0.0 21:09:19 v3.0.0-dev.1 21:09:19 v3.0.0-dev.10 21:09:19 v3.0.0-dev.11 21:09:19 v3.0.0-dev.12 21:09:19 v3.0.0-dev.13 21:09:19 v3.0.0-dev.14 21:09:19 v3.0.0-dev.15 21:09:19 v3.0.0-dev.16 21:09:19 v3.0.0-dev.17 21:09:19 v3.0.0-dev.18 21:09:19 v3.0.0-dev.19 21:09:19 v3.0.0-dev.2 21:09:19 v3.0.0-dev.20 21:09:19 v3.0.0-dev.21 21:09:19 v3.0.0-dev.22 21:09:19 v3.0.0-dev.23 21:09:19 v3.0.0-dev.24 21:09:19 v3.0.0-dev.25 21:09:19 v3.0.0-dev.26 21:09:19 v3.0.0-dev.27 21:09:19 v3.0.0-dev.28 21:09:19 v3.0.0-dev.29 21:09:19 v3.0.0-dev.3 21:09:19 v3.0.0-dev.30 21:09:19 v3.0.0-dev.31 21:09:19 v3.0.0-dev.32 21:09:19 v3.0.0-dev.33 21:09:19 v3.0.0-dev.34 21:09:19 v3.0.0-dev.35 21:09:19 v3.0.0-dev.36 21:09:19 v3.0.0-dev.37 21:09:19 v3.0.0-dev.38 21:09:19 v3.0.0-dev.39 21:09:19 v3.0.0-dev.4 21:09:19 v3.0.0-dev.40 21:09:19 v3.0.0-dev.41 21:09:19 v3.0.0-dev.42 21:09:19 v3.0.0-dev.43 21:09:19 v3.0.0-dev.44 21:09:19 v3.0.0-dev.45 21:09:19 v3.0.0-dev.46 21:09:19 v3.0.0-dev.47 21:09:19 v3.0.0-dev.48 21:09:19 v3.0.0-dev.49 21:09:19 v3.0.0-dev.5 21:09:19 v3.0.0-dev.50 21:09:19 v3.0.0-dev.51 21:09:19 v3.0.0-dev.6 21:09:19 v3.0.0-dev.7 21:09:19 v3.0.0-dev.8 21:09:19 v3.0.0-dev.9 21:09:19 v3.1.0-dev.1 21:09:19 v3.1.0-dev.10 21:09:19 v3.1.0-dev.11 21:09:19 v3.1.0-dev.12 21:09:19 v3.1.0-dev.13 21:09:19 v3.1.0-dev.14 21:09:19 v3.1.0-dev.15 21:09:19 v3.1.0-dev.16 21:09:19 v3.1.0-dev.17 21:09:19 v3.1.0-dev.18 21:09:19 v3.1.0-dev.2 21:09:19 v3.1.0-dev.3 21:09:19 v3.1.0-dev.4 21:09:19 v3.1.0-dev.5 21:09:19 v3.1.0-dev.6 21:09:19 v3.1.0-dev.7 21:09:19 v3.1.0-dev.8 21:09:19 v3.1.0-dev.9 [Pipeline] sh 21:09:19 + lftools sign git-tag v3.1.0-dev.18 21:09:20 Signing Git tag with Sigul... 21:09:20 Signing v3.1.0-dev.18 [Pipeline] echo 21:09:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:09:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:09:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:09:20 $ docker stop --time=1 ed02a1c74fd1656430c9957b82f5fd936182f2df61ad674fe92c23814d73d7f3 21:09:21 $ docker rm -f --volumes ed02a1c74fd1656430c9957b82f5fd936182f2df61ad674fe92c23814d73d7f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:09:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:22 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:09:22 $ 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 21:09:23 $ docker top 32cec738b254c4a9c4252b0d94320f5fb82347cac6c3436b7d3bc2cf50260036 -eo pid,comm 21:09:23 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). 21:09:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:23 [ssh-agent] Looking for ssh-agent implementation... 21:09:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:23 $ docker exec 32cec738b254c4a9c4252b0d94320f5fb82347cac6c3436b7d3bc2cf50260036 ssh-agent 21:09:23 SSH_AUTH_SOCK=/tmp/ssh-Rju2PGB2Ifub/agent.32 21:09:23 SSH_AGENT_PID=38 21:09:23 Running ssh-add (command line suppressed) 21:09:23 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10900750198078804584.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10900750198078804584.key) 21:09:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:23 + git semver bump pre 21:09:24 2023-09-12 21:09:24,045 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:09:24 2023-09-12 21:09:24,045 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev 21:09:24 2023-09-12 21:09:24,046 [bump_version] DEBUG bumped version:3.1.0-dev.19 21:09:24 2023-09-12 21:09:24,046 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 21:09:24 2023-09-12 21:09:24,046 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:09:24 2023-09-12 21:09:24,046 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:09:24 2023-09-12 21:09:24,050 [execute] INFO git cat-file --batch-check 21:09:24 2023-09-12 21:09:24,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:09:24 2023-09-12 21:09:24,057 [execute] INFO git cat-file --batch 21:09:24 2023-09-12 21:09:24,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:09:24 2023-09-12 21:09:24,062 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:09:24 3.1.0-dev.19 [Pipeline] } 21:09:24 $ docker exec --env ******** --env ******** 32cec738b254c4a9c4252b0d94320f5fb82347cac6c3436b7d3bc2cf50260036 ssh-agent -k 21:09:24 unset SSH_AUTH_SOCK; 21:09:24 unset SSH_AGENT_PID; 21:09:24 echo Agent pid 38 killed; 21:09:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:24 + git semver [Pipeline] } 21:09:24 $ docker stop --time=1 32cec738b254c4a9c4252b0d94320f5fb82347cac6c3436b7d3bc2cf50260036 21:09:26 $ docker rm -f --volumes 32cec738b254c4a9c4252b0d94320f5fb82347cac6c3436b7d3bc2cf50260036 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:26 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:09:26 $ 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 21:09:27 $ docker top 846832e0310ea04f3f9c64c452c950cc8a5db3381348115f334da0bf1adb4f53 -eo pid,comm 21:09:27 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). 21:09:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:27 [ssh-agent] Looking for ssh-agent implementation... 21:09:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:27 $ docker exec 846832e0310ea04f3f9c64c452c950cc8a5db3381348115f334da0bf1adb4f53 ssh-agent 21:09:27 SSH_AUTH_SOCK=/tmp/ssh-ktbVERbqCbnU/agent.32 21:09:27 SSH_AGENT_PID=38 21:09:27 Running ssh-add (command line suppressed) 21:09:27 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_477073560190841524.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_477073560190841524.key) 21:09:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:27 + git semver push 21:09:28 2023-09-12 21:09:27,972 [run_push] DEBUG push 21:09:28 2023-09-12 21:09:27,973 [execute] INFO git cat-file --batch-check 21:09:28 2023-09-12 21:09:27,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:09:28 2023-09-12 21:09:27,977 [execute] INFO git rev-list 93d12b79a4b174d2025ce9eb70ee572d71bc8396 -- 21:09:28 2023-09-12 21:09:27,977 [execute] DEBUG Popen(['git', 'rev-list', '93d12b79a4b174d2025ce9eb70ee572d71bc8396', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:09:28 2023-09-12 21:09:27,984 [execute] INFO git fetch -v origin 21:09:28 2023-09-12 21:09:27,985 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:09:28 2023-09-12 21:09:28,427 [run_push] DEBUG no remote changes detected 21:09:28 2023-09-12 21:09:28,427 [execute] INFO git push origin semver 21:09:28 2023-09-12 21:09:28,428 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:09:29 2023-09-12 21:09:29,221 [run_push] DEBUG push all version tags 21:09:29 2023-09-12 21:09:29,221 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:09:29 2023-09-12 21:09:29,222 [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) 21:09:30 2023-09-12 21:09:29,913 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:09:30 3.1.0-dev.19 [Pipeline] } 21:09:30 $ docker exec --env ******** --env ******** 846832e0310ea04f3f9c64c452c950cc8a5db3381348115f334da0bf1adb4f53 ssh-agent -k 21:09:30 unset SSH_AUTH_SOCK; 21:09:30 unset SSH_AGENT_PID; 21:09:30 echo Agent pid 38 killed; 21:09:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:30 + git semver [Pipeline] } 21:09:30 $ docker stop --time=1 846832e0310ea04f3f9c64c452c950cc8a5db3381348115f334da0bf1adb4f53 21:09:32 $ docker rm -f --volumes 846832e0310ea04f3f9c64c452c950cc8a5db3381348115f334da0bf1adb4f53 [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 21:09:32 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 21:09:32 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:09:32 total 16 21:09:32 drwxr-xr-x 3 root root 4096 Sep 12 20:58 . 21:09:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:09 .. 21:09:32 drwxr-xr-x 2 root root 4096 Sep 12 20:58 cost 21:09:32 -rw-r--r-- 1 root root 89 Sep 12 20:58 cost.csv 21:09:32 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 21:09:32 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:09:32 total 16 21:09:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:58 . 21:09:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:09 .. 21:09:32 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:58 cost 21:09:32 -rw-r--r-- 1 jenkins jenkins 89 Sep 12 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:33 ---> package-listing.sh 21:09:33 ++ facter osfamily 21:09:33 ++ tr '[:upper:]' '[:lower:]' 21:09:34 + OS_FAMILY=debian 21:09:34 + workspace=/w/workspace/exfoundry_device-usb-camera_main 21:09:34 + START_PACKAGES=/tmp/packages_start.txt 21:09:34 + END_PACKAGES=/tmp/packages_end.txt 21:09:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:34 + PACKAGES=/tmp/packages_start.txt 21:09:34 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:09:34 + PACKAGES=/tmp/packages_end.txt 21:09:34 + case "${OS_FAMILY}" in 21:09:34 + dpkg -l 21:09:34 + grep '^ii' 21:09:34 + '[' -f /tmp/packages_start.txt ']' 21:09:34 + '[' -f /tmp/packages_end.txt ']' 21:09:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:34 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:09:34 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 21:09:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 21:09:34 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 21:09:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:35 prd-ubuntu20.04-docker-8c-8g-5981 does not seem to be running inside a container 21:09:35 $ 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 21:09:35 $ docker top 835fcb7f4f094ab802d0f2ae42a30af788c88a7876915e2b8a38648c29d9f3b9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:36 + ls /var/log/sa-host 21:09:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:36 provisioning config files... 21:09:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17315367547587414910tmp [Pipeline] { [Pipeline] echo 21:09:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> create-netrc.sh [Pipeline] } 21:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> python-tools-install.sh [Pipeline] echo 21:09:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> sudo-logs.sh 21:09:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> job-cost.sh 21:09:37 lf-activate-venv: SKIPPING 21:09:37 DEBUG: total: 0.2199999988079071 21:09:37 INFO: Retrieving Stack Cost... 21:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:38 INFO: Archiving Costs [Pipeline] echo 21:09:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:38 ---> logs-deploy.sh 21:09:38 lf-activate-venv: SKIPPING 21:09:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/142 21:09:38 INFO: archiving workspace using pattern(s): 21:09:39 Archives upload complete. 21:09:39 INFO: archiving logs to Nexus