Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 158cf72183c0870f436f0f492b637675d1f9df70 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-ssh690907439388281585.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15977307469711660596.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4564500776325807624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6943425455639988849.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-ssh17551390834494885534.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16977 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 158cf72183c0870f436f0f492b637675d1f9df70 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#257)" > 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 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 > git rev-list --no-walk e4cb32a3b63344217ab92f1c3d9ac6e4bff05449 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:50:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:50:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:50:48 ========================================================= 20:50:48 EdgeX Global Pipelines Version Info 20:50:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:50:49 ------------------- 20:50:49 stable info: 20:50:49 ------------------- 20:50:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:50:49 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:50:49 Message: update stable to v1.0.249 20:50:50 ------------------- 20:50:50 experimental info: 20:50:50 ------------------- 20:50:50 Commited By: **** collab-it+edgex@linuxfoundation.org 20:50:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:50:50 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 158cf72 [Pipeline] echo 20:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:50 provisioning config files... 20:50:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2602558638426299269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:51 ---> docker-login.sh 20:50:51 nexus3.edgexfoundry.org:10001 20:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:51 Configure a credential helper to remove this warning. See 20:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:51 20:50:51 Login Succeeded 20:50:51 nexus3.edgexfoundry.org:10002 20:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:51 Configure a credential helper to remove this warning. See 20:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:51 20:50:51 Login Succeeded 20:50:51 nexus3.edgexfoundry.org:10003 20:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:51 Configure a credential helper to remove this warning. See 20:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:51 20:50:51 Login Succeeded 20:50:51 nexus3.edgexfoundry.org:10004 20:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:51 Configure a credential helper to remove this warning. See 20:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:51 20:50:51 Login Succeeded 20:50:51 docker.io 20:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:50:52 Configure a credential helper to remove this warning. See 20:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:50:52 20:50:52 Login Succeeded 20:50:52 ---> docker-login.sh ends [Pipeline] } 20:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:50:52 + git rev-list -1 --merges 158cf72183c0870f436f0f492b637675d1f9df70~1..158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] echo 20:50:52 -----------> git rev-list -1 --merges 158cf72183c0870f436f0f492b637675d1f9df70~1..158cf72183c0870f436f0f492b637675d1f9df70 158cf72183c0870f436f0f492b637675d1f9df70 [false] [Pipeline] sh 20:50:52 + git log --format=format:%s -1 158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] echo 20:50:52 ========================================================= 20:50:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:50:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:53 + git log --format=format:%s -1 158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] echo 20:50:53 [semverPrep] GIT_COMMIT: 158cf72183c0870f436f0f492b637675d1f9df70, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#257) [Pipeline] echo 20:50:53 [semverPrep] This is not a build commit. [Pipeline] sh 20:50:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:50:53 + grep -v github /etc/ssh/ssh_known_hosts 20:50:53 + [ -e /tmp/ssh_known_hosts ] 20:50:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:50:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:50:53 + sudo tee -a /etc/ssh/ssh_known_hosts 20:50:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:54 20:50:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:54 0.1.4: Pulling from edgex-devops/py-git-semver 20:50:54 b85a868b505f: Pulling fs layer 20:50:54 e2be974225ed: Pulling fs layer 20:50:54 339a4e72a1f5: Pulling fs layer 20:50:54 988bab9f4d93: Pulling fs layer 20:50:54 1469e6f7b9e6: Pulling fs layer 20:50:54 eaf3925da568: Pulling fs layer 20:50:54 bab4dde63d76: Pulling fs layer 20:50:54 bde34c3a00c8: Pulling fs layer 20:50:54 b352a97aabf1: Pulling fs layer 20:50:54 4872d77fe225: Pulling fs layer 20:50:54 5851b861e8e6: Pulling fs layer 20:50:54 1469e6f7b9e6: Waiting 20:50:54 4872d77fe225: Waiting 20:50:54 b352a97aabf1: Waiting 20:50:54 eaf3925da568: Waiting 20:50:54 bde34c3a00c8: Waiting 20:50:54 5851b861e8e6: Waiting 20:50:54 bab4dde63d76: Waiting 20:50:54 988bab9f4d93: Waiting 20:50:54 e2be974225ed: Download complete 20:50:54 988bab9f4d93: Verifying Checksum 20:50:54 1469e6f7b9e6: Verifying Checksum 20:50:54 1469e6f7b9e6: Download complete 20:50:54 339a4e72a1f5: Download complete 20:50:54 eaf3925da568: Verifying Checksum 20:50:54 eaf3925da568: Download complete 20:50:54 bde34c3a00c8: Verifying Checksum 20:50:54 bde34c3a00c8: Download complete 20:50:54 b352a97aabf1: Download complete 20:50:54 4872d77fe225: Verifying Checksum 20:50:54 4872d77fe225: Download complete 20:50:54 5851b861e8e6: Verifying Checksum 20:50:54 5851b861e8e6: Download complete 20:50:54 b85a868b505f: Verifying Checksum 20:50:54 b85a868b505f: Download complete 20:50:54 bab4dde63d76: Verifying Checksum 20:50:54 bab4dde63d76: Download complete 20:50:55 b85a868b505f: Pull complete 20:50:56 e2be974225ed: Pull complete 20:50:56 339a4e72a1f5: Pull complete 20:50:56 988bab9f4d93: Pull complete 20:50:56 1469e6f7b9e6: Pull complete 20:50:56 eaf3925da568: Pull complete 20:50:58 bab4dde63d76: Pull complete 20:50:58 bde34c3a00c8: Pull complete 20:50:59 b352a97aabf1: Pull complete 20:50:59 4872d77fe225: Pull complete 20:50:59 5851b861e8e6: Pull complete 20:50:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:50:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:50:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:59 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 20:50:59 $ 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:51:01 $ docker top c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 -eo pid,comm 20:51:01 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:51:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:51:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:01 [ssh-agent] Looking for ssh-agent implementation... 20:51:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:01 $ docker exec c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 ssh-agent 20:51:01 SSH_AUTH_SOCK=/tmp/ssh-hKEzKzwBZiQr/agent.32 20:51:01 SSH_AGENT_PID=38 20:51:01 Running ssh-add (command line suppressed) 20:51:01 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6489474326910758708.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6489474326910758708.key) 20:51:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:01 + git tag --points-at HEAD [Pipeline] } 20:51:01 $ docker exec --env ******** --env ******** c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 ssh-agent -k 20:51:01 unset SSH_AUTH_SOCK; 20:51:01 unset SSH_AGENT_PID; 20:51:01 echo Agent pid 38 killed; 20:51:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:51:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:02 [ssh-agent] Looking for ssh-agent implementation... 20:51:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:02 $ docker exec c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 ssh-agent 20:51:02 SSH_AUTH_SOCK=/tmp/ssh-c47TwNyt7IT8/agent.71 20:51:02 SSH_AGENT_PID=77 20:51:02 Running ssh-add (command line suppressed) 20:51:02 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17967079841072250753.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17967079841072250753.key) 20:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:02 + git semver init 20:51:02 2023-05-25 20:51:02,892 [run_init] DEBUG init version:0.0.0 force:False 20:51:02 2023-05-25 20:51:02,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:51:02 2023-05-25 20:51:02,894 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:51:02 2023-05-25 20:51:02,894 [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:51:03 2023-05-25 20:51:03,589 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:51:03 2023-05-25 20:51:03,590 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:51:03 2023-05-25 20:51:03,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:51:03 2023-05-25 20:51:03,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:51:03 3.0.0-dev.49 [Pipeline] } 20:51:03 $ docker exec --env ******** --env ******** c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 ssh-agent -k 20:51:03 unset SSH_AUTH_SOCK; 20:51:03 unset SSH_AGENT_PID; 20:51:03 echo Agent pid 77 killed; 20:51:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:04 + git semver [Pipeline] } 20:51:04 $ docker stop --time=1 c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 20:51:05 $ docker rm -f --volumes c7ba4060fc8c6cb67ac85b1e316e0092adfd7e5769f010aec31aaa7f65df2c47 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:51:06 Stashed 1 file(s) [Pipeline] echo 20:51:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.49 [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:51:06 provisioning config files... 20:51:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config481050553462207159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:06 ---> docker-login.sh 20:51:06 nexus3.edgexfoundry.org:10001 20:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:06 Configure a credential helper to remove this warning. See 20:51:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:06 20:51:06 Login Succeeded 20:51:06 nexus3.edgexfoundry.org:10002 20:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:06 Configure a credential helper to remove this warning. See 20:51:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:06 20:51:06 Login Succeeded 20:51:06 nexus3.edgexfoundry.org:10003 20:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:07 Configure a credential helper to remove this warning. See 20:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:07 20:51:07 Login Succeeded 20:51:07 nexus3.edgexfoundry.org:10004 20:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:07 Configure a credential helper to remove this warning. See 20:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:07 20:51:07 Login Succeeded 20:51:07 docker.io 20:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:07 Configure a credential helper to remove this warning. See 20:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:07 20:51:07 Login Succeeded 20:51:07 ---> docker-login.sh ends [Pipeline] } 20:51:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:07 ========================================================= 20:51:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:51:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:51:07 Sending build context to Docker daemon 1.935MB 20:51:07 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:51:07 Step 2/13 : FROM ${BASE} AS builder 20:51:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:51:07 f56be85fc22e: Pulling fs layer 20:51:07 85791d961cd3: Pulling fs layer 20:51:07 d694b5ae8c79: Pulling fs layer 20:51:07 9f32a84ed3da: Pulling fs layer 20:51:07 4d19c01a9841: Pulling fs layer 20:51:07 9325e15d5711: Pulling fs layer 20:51:07 556b6ee489ea: Pulling fs layer 20:51:07 c5a4b2cf53e6: Pulling fs layer 20:51:07 4d19c01a9841: Waiting 20:51:07 9325e15d5711: Waiting 20:51:07 556b6ee489ea: Waiting 20:51:07 c5a4b2cf53e6: Waiting 20:51:07 9f32a84ed3da: Waiting 20:51:07 85791d961cd3: Verifying Checksum 20:51:07 85791d961cd3: Download complete 20:51:07 9f32a84ed3da: Verifying Checksum 20:51:07 9f32a84ed3da: Download complete 20:51:07 4d19c01a9841: Verifying Checksum 20:51:07 4d19c01a9841: Download complete 20:51:07 f56be85fc22e: Download complete 20:51:08 9325e15d5711: Verifying Checksum 20:51:08 9325e15d5711: Download complete 20:51:08 f56be85fc22e: Pull complete 20:51:08 85791d961cd3: Pull complete 20:51:08 c5a4b2cf53e6: Download complete 20:51:08 d694b5ae8c79: Download complete 20:51:08 556b6ee489ea: Verifying Checksum 20:51:08 556b6ee489ea: Download complete 20:51:12 d694b5ae8c79: Pull complete 20:51:12 9f32a84ed3da: Pull complete 20:51:12 4d19c01a9841: Pull complete 20:51:12 9325e15d5711: Pull complete 20:51:14 556b6ee489ea: Pull complete 20:51:15 c5a4b2cf53e6: Pull complete 20:51:15 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:51:15 ---> c4be618373d6 20:51:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:51:17 ---> Running in f7233b8cd15f 20:51:17 Removing intermediate container f7233b8cd15f 20:51:17 ---> d1b6f0404b07 20:51:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:17 ---> Running in f74112f58a8c 20:51:17 Removing intermediate container f74112f58a8c 20:51:17 ---> 7c21003a4717 20:51:17 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:51:17 ---> Running in eb8dd46281ec 20:51:17 Removing intermediate container eb8dd46281ec 20:51:17 ---> dce44cdd7182 20:51:17 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:51:17 ---> Running in 5b1c101995be 20:51:17 Removing intermediate container 5b1c101995be 20:51:17 ---> c53c276c9b1a 20:51:17 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:18 ---> Running in 36e92db7c1d2 20:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:51:18 (1/14) Installing libintl (0.21.1-r1) 20:51:18 (2/14) Installing eudev-libs (3.2.11-r4) 20:51:18 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:51:18 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:51:18 (5/14) Installing v4l-utils (1.22.1-r2) 20:51:18 (6/14) Installing udev-init-scripts (35-r1) 20:51:18 (7/14) Installing libblkid (2.38.1-r1) 20:51:18 (8/14) Installing xz-libs (5.2.9-r0) 20:51:18 (9/14) Installing zstd-libs (1.5.5-r0) 20:51:18 (10/14) Installing kmod-libs (30-r1) 20:51:18 (11/14) Installing eudev (3.2.11-r4) 20:51:18 (12/14) Installing eudev-dev (3.2.11-r4) 20:51:18 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:51:18 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:51:18 Executing busybox-1.35.0-r29.trigger 20:51:18 Executing eudev-3.2.11-r4.trigger 20:51:19 OK: 272 MiB in 67 packages 20:51:19 Removing intermediate container 36e92db7c1d2 20:51:19 ---> 9c92db1d9246 20:51:19 Step 8/13 : WORKDIR /device-usb-camera 20:51:19 ---> Running in 4a3f8bde2ba3 20:51:19 Removing intermediate container 4a3f8bde2ba3 20:51:19 ---> 7288cdbdb782 20:51:19 Step 9/13 : COPY go.mod vendor* ./ 20:51:19 ---> 19526b1076ca 20:51:19 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:19 ---> Running in 644c7fb48e59 20:51:21 Still waiting to schedule task 20:51:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:51:51 Removing intermediate container 644c7fb48e59 20:51:51 ---> ed5a0fd8ee9a 20:51:51 Step 11/13 : COPY . . 20:51:51 ---> 039335b0326b 20:51:51 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:51:51 ---> Running in fb9fe0a304c8 20:51:51  % Total % Received % Xferd Average Speed Time Time Time Current 20:51:51 Dload Upload Total Spent Left Speed 20:51:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0     0   7035     0 --:--:-- --:--:-- --:--:--  7080 20:51:51 Removing intermediate container fb9fe0a304c8 20:51:51 ---> 84bbdc15dc91 20:51:51 Step 13/13 : RUN ${MAKE} 20:51:51 ---> Running in baab48bdffda 20:51:51 noop 20:51:51 Removing intermediate container baab48bdffda 20:51:51 ---> 2f1aa4a043e0 20:51:51 Successfully built 2f1aa4a043e0 20:51:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:51 + docker inspect -f . ci-base-image-x86_64 20:51:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:52 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 20:51:52 $ 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:51:52 $ docker top 3c8c3b29991cf20e8278c36fe8e5569e1d0efa1ff77e6cfd2c9a9bd2d00a9698 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:52 + go version 20:51:52 go version go1.20.2 linux/amd64 [Pipeline] } 20:51:52 $ docker stop --time=1 3c8c3b29991cf20e8278c36fe8e5569e1d0efa1ff77e6cfd2c9a9bd2d00a9698 20:51:54 $ docker rm -f --volumes 3c8c3b29991cf20e8278c36fe8e5569e1d0efa1ff77e6cfd2c9a9bd2d00a9698 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:54 + docker inspect -f . ci-base-image-x86_64 20:51:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:54 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 20:51:54 $ 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:51:54 $ docker top 1475f7054446f57a1d854c8ecc62771f4d8259de713012c427c8a1f2eb66bc90 -eo pid,comm [Pipeline] { [Pipeline] sh 20:51:55 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:51:55 + make test 20:51:55 go test ./... -coverprofile=coverage.out ./... 20:52:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:52:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:52:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.6% of statements 20:52:19 go vet ./... 20:52:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:52:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:52:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:52:22 $ docker stop --time=1 1475f7054446f57a1d854c8ecc62771f4d8259de713012c427c8a1f2eb66bc90 20:52:26 $ docker rm -f --volumes 1475f7054446f57a1d854c8ecc62771f4d8259de713012c427c8a1f2eb66bc90 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:52:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:52:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:52:27 + ls -al . 20:52:27 total 192 20:52:27 drwxrwxr-x 10 jenkins jenkins 4096 May 25 20:51 . 20:52:27 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:50 .. 20:52:27 drwxrwxr-x 8 jenkins jenkins 4096 May 25 20:51 .git 20:52:27 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:50 .github 20:52:27 -rw-rw-r-- 1 jenkins jenkins 414 May 25 20:50 .gitignore 20:52:27 -rw-rw-r-- 1 jenkins jenkins 45 May 25 20:50 .golangci.yml 20:52:27 -rw-rw-r-- 1 jenkins jenkins 77 May 25 20:50 .hadolint.yml 20:52:27 drwxr-xr-x 3 jenkins jenkins 4096 May 25 20:51 .semver 20:52:27 -rw-rw-r-- 1 jenkins jenkins 9665 May 25 20:50 Attribution.txt 20:52:27 -rw-rw-r-- 1 jenkins jenkins 6219 May 25 20:50 CHANGELOG.md 20:52:27 -rw-rw-r-- 1 jenkins jenkins 2453 May 25 20:50 Dockerfile 20:52:27 -rw-rw-r-- 1 jenkins jenkins 678 May 25 20:50 GOVERNANCE.md 20:52:27 -rw-rw-r-- 1 jenkins jenkins 659 May 25 20:50 Jenkinsfile 20:52:27 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 20:50 LICENSE 20:52:27 -rw-rw-r-- 1 jenkins jenkins 2364 May 25 20:50 Makefile 20:52:27 -rw-rw-r-- 1 jenkins jenkins 622 May 25 20:50 OWNERS.md 20:52:27 -rw-rw-r-- 1 jenkins jenkins 2477 May 25 20:50 README.md 20:52:27 -rw-rw-r-- 1 jenkins jenkins 12 May 25 20:51 VERSION 20:52:27 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:50 bin 20:52:27 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:50 cmd 20:52:27 -rw-r--r-- 1 jenkins jenkins 35569 May 25 20:52 coverage.out 20:52:27 -rwxrwxr-x 1 jenkins jenkins 140 May 25 20:50 docker-entrypoint.sh 20:52:27 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:50 docs 20:52:27 -rw-rw-r-- 1 jenkins jenkins 3371 May 25 20:50 go.mod 20:52:27 -rw-rw-r-- 1 jenkins jenkins 31392 May 25 20:50 go.sum 20:52:27 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:50 internal 20:52:27 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:50 snap 20:52:27 -rw-rw-r-- 1 jenkins jenkins 231 May 25 20:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:28 + 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=158cf72183c0870f436f0f492b637675d1f9df70 --label arch=amd64 --label version=3.0.0-dev.49 . 20:52:28 Sending build context to Docker daemon 1.972MB 20:52:28 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:52:28 Step 2/36 : FROM ${BASE} AS builder 20:52:28 ---> 2f1aa4a043e0 20:52:28 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:52:28 ---> Running in 9c04380e4c79 20:52:28 Removing intermediate container 9c04380e4c79 20:52:28 ---> f52285ba388b 20:52:28 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:28 ---> Running in eea50a6e3f76 20:52:28 Removing intermediate container eea50a6e3f76 20:52:28 ---> 8ebb4462cd5e 20:52:28 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:52:28 ---> Running in 5c76020f88e0 20:52:28 Removing intermediate container 5c76020f88e0 20:52:28 ---> 60e925746386 20:52:28 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:52:28 ---> Running in 1fe7456cca2c 20:52:28 Removing intermediate container 1fe7456cca2c 20:52:28 ---> 704810f12fbf 20:52:28 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:28 ---> Running in 0331b108eca2 20:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:52:29 OK: 272 MiB in 67 packages 20:52:29 Removing intermediate container 0331b108eca2 20:52:29 ---> 24d886189d6c 20:52:29 Step 8/36 : WORKDIR /device-usb-camera 20:52:29 ---> Running in e952caed1a5b 20:52:29 Removing intermediate container e952caed1a5b 20:52:29 ---> dfaf181455ce 20:52:29 Step 9/36 : COPY go.mod vendor* ./ 20:52:30 ---> 5f7f80428083 20:52:30 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:30 ---> Running in deb52169960f 20:52:31 Removing intermediate container deb52169960f 20:52:31 ---> 93c6a5213d08 20:52:31 Step 11/36 : COPY . . 20:52:31 ---> 8c1db484c73e 20:52:31 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:52:31 ---> Running in c56944fe3cb7 20:52:31  % Total % Received % Xferd Average Speed Time Time Time Current 20:52:31 Dload Upload Total Spent Left Speed 20:52:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100 1062   0    0  17015     0 --:--:-- --:--:-- --:--:-- 17129 20:52:31 Removing intermediate container c56944fe3cb7 20:52:31 ---> 0a45f6be0145 20:52:31 Step 13/36 : RUN ${MAKE} 20:52:31 ---> Running in a97f60fef6be 20:52:32 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.49" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:52:58 Removing intermediate container a97f60fef6be 20:52:58 ---> e03e73671c99 20:52:58 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:52:58 v0.21.6: Pulling from aler9/rtsp-simple-server 20:52:58 4acc49c71d14: Pulling fs layer 20:52:58 4acc49c71d14: Verifying Checksum 20:52:58 4acc49c71d14: Download complete 20:52:58 4acc49c71d14: Pull complete 20:52:58 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:52:58 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:52:58 ---> 01a2bd3e5fff 20:52:58 Step 15/36 : FROM alpine:3.17 20:52:58 3.17: Pulling from library/alpine 20:52:58 f56be85fc22e: Already exists 20:52:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:52:58 Status: Downloaded newer image for alpine:3.17 20:52:58 ---> 9ed4aefc74f6 20:52:58 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:52:58 ---> Running in d1c6fca508fb 20:52:58 Removing intermediate container d1c6fca508fb 20:52:58 ---> 3f12267a753a 20:52:58 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:52:58 ---> Running in f8f7035d4a8f 20:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:52:58 (1/86) Installing dumb-init (1.2.5-r2) 20:52:58 (2/86) Installing sdl2 (2.26.5-r0) 20:52:58 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:52:58 (4/86) Installing libxau (1.0.10-r0) 20:52:58 (5/86) Installing libmd (1.0.4-r0) 20:52:58 (6/86) Installing libbsd (0.11.7-r0) 20:52:58 (7/86) Installing libxdmcp (1.1.4-r0) 20:52:58 (8/86) Installing libxcb (1.15-r0) 20:52:58 (9/86) Installing libx11 (1.8.4-r0) 20:52:58 (10/86) Installing aom-libs (3.5.0-r0) 20:52:58 (11/86) Installing alsa-lib (1.2.8-r0) 20:52:58 (12/86) Installing libexpat (2.5.0-r0) 20:52:58 (13/86) Installing brotli-libs (1.0.9-r9) 20:52:59 (14/86) Installing libbz2 (1.0.8-r4) 20:52:59 (15/86) Installing libpng (1.6.38-r0) 20:52:59 (16/86) Installing freetype (2.12.1-r0) 20:52:59 (17/86) Installing fontconfig (2.14.1-r0) 20:52:59 (18/86) Installing fribidi (1.0.12-r0) 20:52:59 (19/86) Installing libffi (3.4.4-r0) 20:52:59 (20/86) Installing libintl (0.21.1-r1) 20:52:59 (21/86) Installing libblkid (2.38.1-r1) 20:52:59 (22/86) Installing libmount (2.38.1-r1) 20:52:59 (23/86) Installing pcre2 (10.42-r0) 20:52:59 (24/86) Installing glib (2.74.7-r0) 20:52:59 (25/86) Installing graphite2 (1.3.14-r2) 20:52:59 (26/86) Installing harfbuzz (5.3.1-r1) 20:52:59 (27/86) Installing libass (0.16.0-r1) 20:52:59 (28/86) Installing libdav1d (1.0.0-r2) 20:52:59 (29/86) Installing hwdata-pci (0.364-r0) 20:52:59 (30/86) Installing libpciaccess (0.17-r0) 20:52:59 (31/86) Installing libdrm (2.4.114-r0) 20:52:59 (32/86) Installing gmp (6.2.1-r2) 20:52:59 (33/86) Installing nettle (3.8.1-r0) 20:52:59 (34/86) Installing p11-kit (0.24.1-r1) 20:52:59 (35/86) Installing libtasn1 (4.19.0-r0) 20:52:59 (36/86) Installing libunistring (1.1-r0) 20:52:59 (37/86) Installing gnutls (3.7.8-r3) 20:52:59 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 20:52:59 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 20:52:59 (40/86) Installing lame (3.100-r2) 20:52:59 (41/86) Installing opus (1.3.1-r1) 20:52:59 (42/86) Installing libasyncns (0.8-r1) 20:52:59 (43/86) Installing dbus-libs (1.14.4-r0) 20:52:59 (44/86) Installing libltdl (2.4.7-r1) 20:52:59 (45/86) Installing orc (0.4.33-r0) 20:52:59 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:52:59 (47/86) Installing libogg (1.3.5-r2) 20:52:59 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:52:59 (49/86) Installing flac-libs (1.4.2-r0) 20:52:59 (50/86) Installing libvorbis (1.3.7-r0) 20:52:59 (51/86) Installing libsndfile (1.1.0-r2) 20:52:59 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:52:59 (53/86) Installing soxr (0.1.3-r3) 20:52:59 (54/86) Installing speexdsp (1.2.1-r0) 20:52:59 (55/86) Installing tdb-libs (1.4.6-r0) 20:52:59 (56/86) Installing libpulse (16.1-r6) 20:52:59 (57/86) Installing cjson (1.7.15-r3) 20:52:59 (58/86) Installing mbedtls (2.28.3-r0) 20:52:59 (59/86) Installing librist (0.2.7-r0) 20:52:59 (60/86) Installing libsrt (1.5.1-r0) 20:52:59 (61/86) Installing libssh (0.10.5-r0) 20:52:59 (62/86) Installing libtheora (1.1.1-r16) 20:52:59 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:52:59 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:52:59 (65/86) Installing libxext (1.3.5-r0) 20:52:59 (66/86) Installing libxfixes (6.0.0-r0) 20:52:59 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:52:59 (68/86) Installing libva (2.16.0-r0) 20:52:59 (69/86) Installing libvdpau (1.5-r0) 20:52:59 (70/86) Installing vidstab (1.1.0-r2) 20:52:59 (71/86) Installing libvpx (1.12.0-r1) 20:52:59 (72/86) Installing libwebp (1.2.4-r2) 20:52:59 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:52:59 (74/86) Installing numactl (2.0.16-r1) 20:52:59 (75/86) Installing x265-libs (3.5-r3) 20:52:59 (76/86) Installing xvidcore (1.3.7-r1) 20:52:59 (77/86) Installing libsodium (1.0.18-r2) 20:52:59 (78/86) Installing libzmq (4.3.4-r1) 20:52:59 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:52:59 (80/86) Installing ffmpeg (5.1.3-r0) 20:52:59 (81/86) Installing udev-init-scripts (35-r1) 20:52:59 (82/86) Installing eudev-libs (3.2.11-r4) 20:52:59 (83/86) Installing xz-libs (5.2.9-r0) 20:52:59 (84/86) Installing zstd-libs (1.5.5-r0) 20:52:59 (85/86) Installing kmod-libs (30-r1) 20:52:59 (86/86) Installing eudev (3.2.11-r4) 20:52:59 Executing busybox-1.35.0-r29.trigger 20:52:59 Executing eudev-3.2.11-r4.trigger 20:52:59 OK: 112 MiB in 101 packages 20:53:04 Removing intermediate container f8f7035d4a8f 20:53:04 ---> 0c1fc76a99ad 20:53:04 Step 18/36 : WORKDIR / 20:53:04 ---> Running in 108c294de299 20:53:04 Removing intermediate container 108c294de299 20:53:04 ---> f65b163cab5b 20:53:04 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:53:04 ---> 795bb63ea842 20:53:04 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:53:04 ---> 58330167a5a2 20:53:04 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:53:04 ---> 183732e63e9c 20:53:04 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:53:05 ---> 8e871e2c579b 20:53:05 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:53:05 ---> 24593db26fa4 20:53:05 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:53:05 ---> d1c596950b24 20:53:05 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:53:06 ---> 566a2b9c6dbd 20:53:06 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:53:06 ---> Running in 9c8a7ef3c683 20:53:07 Removing intermediate container 9c8a7ef3c683 20:53:07 ---> 793e57a675d8 20:53:07 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:53:07 ---> Running in ec77b6efa017 20:53:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16980 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:53:07 Running in /w/workspace/device-usb-camera/121 [Pipeline] { [Pipeline] checkout 20:53:07 Selected Git installation does not exist. Using Default 20:53:07 The recommended git tool is: NONE 20:53:07 Removing intermediate container ec77b6efa017 20:53:07 ---> 5978e730cabf 20:53:07 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:53:07 ---> Running in c27c182c5438 20:53:08 Removing intermediate container c27c182c5438 20:53:08 ---> 742fc29ad901 20:53:08 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:53:08 ---> Running in d23b504c8a54 20:53:09 Removing intermediate container d23b504c8a54 20:53:09 ---> 5760ffae0081 20:53:09 Step 30/36 : EXPOSE 59983 20:53:09 ---> Running in 38481a9004b3 20:53:09 Removing intermediate container 38481a9004b3 20:53:09 ---> db18f6e1e75c 20:53:09 Step 31/36 : EXPOSE 8554 20:53:09 ---> Running in 97ca10f950ad 20:53:09 Removing intermediate container 97ca10f950ad 20:53:09 ---> 51c1b079c0a0 20:53:09 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:53:09 ---> Running in d2cf39afa005 20:53:09 Removing intermediate container d2cf39afa005 20:53:09 ---> 3294ef9c082e 20:53:09 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:53:09 ---> Running in 6e996e4bd498 20:53:09 Removing intermediate container 6e996e4bd498 20:53:09 ---> 8fda8cd37036 20:53:09 Step 34/36 : LABEL arch=amd64 20:53:09 ---> Running in 5dacdd7efd74 20:53:09 Removing intermediate container 5dacdd7efd74 20:53:09 ---> 56eea4b11bda 20:53:09 Step 35/36 : LABEL git_sha=158cf72183c0870f436f0f492b637675d1f9df70 20:53:10 ---> Running in 3c412cc8b977 20:53:10 Removing intermediate container 3c412cc8b977 20:53:10 ---> 21ac1ccaa4eb 20:53:10 Step 36/36 : LABEL version=3.0.0-dev.49 20:53:10 ---> Running in 3a364e4cb3c2 20:53:10 Removing intermediate container 3a364e4cb3c2 20:53:10 ---> fe5989100de2 20:53:10 [Warning] One or more build-args [ARCH] were not consumed 20:53:10 Successfully built fe5989100de2 20:53:10 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:53:10 provisioning config files... 20:53:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11298933482731218634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:10 ---> docker-login.sh 20:53:10 nexus3.edgexfoundry.org:10001 20:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:10 Configure a credential helper to remove this warning. See 20:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:10 20:53:10 Login Succeeded 20:53:10 nexus3.edgexfoundry.org:10002 20:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:10 Configure a credential helper to remove this warning. See 20:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:10 20:53:10 Login Succeeded 20:53:10 nexus3.edgexfoundry.org:10003 20:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:11 Configure a credential helper to remove this warning. See 20:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:11 20:53:11 Login Succeeded 20:53:11 nexus3.edgexfoundry.org:10004 20:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:11 Configure a credential helper to remove this warning. See 20:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:11 20:53:11 Login Succeeded 20:53:11 docker.io 20:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:11 Configure a credential helper to remove this warning. See 20:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:11 20:53:11 Login Succeeded 20:53:11 ---> docker-login.sh ends [Pipeline] } 20:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:11 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:53:11 158cf72183c0870f436f0f492b637675d1f9df70 20:53:11 latest 20:53:11 3.0.0-dev.49 20:53:11 158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 20:53:11 main 20:53:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:11 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70 20:53:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:53:11 44317e7cf813: Preparing 20:53:11 63ba951c624b: Preparing 20:53:11 450ba7ee18b7: Preparing 20:53:11 11c3be5873a3: Preparing 20:53:11 3827b5b91e75: Preparing 20:53:11 acc83c6ca332: Preparing 20:53:11 db8b16a6eb31: Preparing 20:53:11 0c78832b2371: Preparing 20:53:11 65abc65b70a9: Preparing 20:53:11 0dcba8276a95: Preparing 20:53:11 3c2e6ed38cb4: Preparing 20:53:11 6e743172abce: Preparing 20:53:11 f1417ff83b31: Preparing 20:53:11 acc83c6ca332: Waiting 20:53:11 db8b16a6eb31: Waiting 20:53:11 0c78832b2371: Waiting 20:53:11 65abc65b70a9: Waiting 20:53:11 0dcba8276a95: Waiting 20:53:11 3c2e6ed38cb4: Waiting 20:53:11 6e743172abce: Waiting 20:53:11 f1417ff83b31: Waiting 20:53:11 11c3be5873a3: Pushed 20:53:11 450ba7ee18b7: Pushed 20:53:11 44317e7cf813: Pushed 20:53:11 63ba951c624b: Pushed 20:53:12 0c78832b2371: Pushed 20:53:12 acc83c6ca332: Pushed 20:53:12 65abc65b70a9: Pushed 20:53:12 db8b16a6eb31: Pushed 20:53:12 f1417ff83b31: Layer already exists 20:53:12 0dcba8276a95: Pushed 20:53:14 using credential edgex-jenkins-ssh 20:53:14 Cloning the remote Git repository 20:53:14 3827b5b91e75: Pushed 20:53:14 3c2e6ed38cb4: Pushed 20:53:14 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:53:14 > git init /w/workspace/device-usb-camera/121 # timeout=10 20:53:15 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:53:15 > git --version # timeout=10 20:53:15 > git --version # 'git version 2.25.1' 20:53:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:53:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:16 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:53:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:53:17 Avoid second fetch 20:53:17 Checking out Revision 158cf72183c0870f436f0f492b637675d1f9df70 (main) 20:53:17 > git config core.sparsecheckout # timeout=10 20:53:17 > git checkout -f 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 20:53:18 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#257)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:53:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:20 Dload Upload Total Spent Left Speed 20:53:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 20:53:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:53:21 + + sudo tee /etc/docker/daemon.new 20:53:21 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:53:21 { 20:53:21 "registry-mirrors": [ 20:53:21 "https://nexus3.edgexfoundry.org:10001" 20:53:21 ], 20:53:21 "bip": "10.250.0.254/24", 20:53:21 "hosts": [ 20:53:21 "tcp://0.0.0.0:5555", 20:53:21 "unix:///var/run/docker.sock" 20:53:21 ], 20:53:21 "mtu": 1458, 20:53:21 "selinux-enabled": true, 20:53:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:53:21 } [Pipeline] sh 20:53:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:53:22 + sudo service docker restart 20:53:23 6e743172abce: Pushed 20:53:23 158cf72183c0870f436f0f492b637675d1f9df70: digest: sha256:744831d02bd5475412571ada98a05eb436771033e3bd5b9e7b50a0460d2c312f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:53:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:53:23 44317e7cf813: Preparing 20:53:23 63ba951c624b: Preparing 20:53:23 450ba7ee18b7: Preparing 20:53:23 11c3be5873a3: Preparing 20:53:23 3827b5b91e75: Preparing 20:53:23 acc83c6ca332: Preparing 20:53:23 db8b16a6eb31: Preparing 20:53:23 0c78832b2371: Preparing 20:53:23 65abc65b70a9: Preparing 20:53:23 0dcba8276a95: Preparing 20:53:23 3c2e6ed38cb4: Preparing 20:53:23 6e743172abce: Preparing 20:53:23 f1417ff83b31: Preparing 20:53:23 acc83c6ca332: Waiting 20:53:23 db8b16a6eb31: Waiting 20:53:23 0c78832b2371: Waiting 20:53:23 65abc65b70a9: Waiting 20:53:23 0dcba8276a95: Waiting 20:53:23 3c2e6ed38cb4: Waiting 20:53:23 6e743172abce: Waiting 20:53:23 f1417ff83b31: Waiting 20:53:23 11c3be5873a3: Layer already exists 20:53:23 44317e7cf813: Layer already exists 20:53:23 3827b5b91e75: Layer already exists 20:53:23 63ba951c624b: Layer already exists 20:53:23 450ba7ee18b7: Layer already exists 20:53:23 acc83c6ca332: Layer already exists 20:53:23 0c78832b2371: Layer already exists 20:53:23 db8b16a6eb31: Layer already exists 20:53:23 65abc65b70a9: Layer already exists 20:53:23 0dcba8276a95: Layer already exists 20:53:23 6e743172abce: Layer already exists 20:53:23 3c2e6ed38cb4: Layer already exists 20:53:23 f1417ff83b31: Layer already exists 20:53:23 latest: digest: sha256:744831d02bd5475412571ada98a05eb436771033e3bd5b9e7b50a0460d2c312f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.49 20:53:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:53:24 44317e7cf813: Preparing 20:53:24 63ba951c624b: Preparing 20:53:24 450ba7ee18b7: Preparing 20:53:24 11c3be5873a3: Preparing 20:53:24 3827b5b91e75: Preparing 20:53:24 acc83c6ca332: Preparing 20:53:24 db8b16a6eb31: Preparing 20:53:24 0c78832b2371: Preparing 20:53:24 65abc65b70a9: Preparing 20:53:24 0dcba8276a95: Preparing 20:53:24 3c2e6ed38cb4: Preparing 20:53:24 6e743172abce: Preparing 20:53:24 acc83c6ca332: Waiting 20:53:24 f1417ff83b31: Preparing 20:53:24 65abc65b70a9: Waiting 20:53:24 0c78832b2371: Waiting 20:53:24 0dcba8276a95: Waiting 20:53:24 3c2e6ed38cb4: Waiting 20:53:24 f1417ff83b31: Waiting 20:53:24 db8b16a6eb31: Waiting 20:53:24 63ba951c624b: Layer already exists 20:53:24 3827b5b91e75: Layer already exists 20:53:24 44317e7cf813: Layer already exists 20:53:24 11c3be5873a3: Layer already exists 20:53:24 450ba7ee18b7: Layer already exists 20:53:24 acc83c6ca332: Layer already exists 20:53:24 db8b16a6eb31: Layer already exists 20:53:24 0dcba8276a95: Layer already exists 20:53:24 0c78832b2371: Layer already exists 20:53:24 65abc65b70a9: Layer already exists 20:53:24 3c2e6ed38cb4: Layer already exists 20:53:24 6e743172abce: Layer already exists 20:53:24 f1417ff83b31: Layer already exists 20:53:24 3.0.0-dev.49: digest: sha256:744831d02bd5475412571ada98a05eb436771033e3bd5b9e7b50a0460d2c312f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:24 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 20:53:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:53:25 44317e7cf813: Preparing 20:53:25 63ba951c624b: Preparing 20:53:25 450ba7ee18b7: Preparing 20:53:25 11c3be5873a3: Preparing 20:53:25 3827b5b91e75: Preparing 20:53:25 acc83c6ca332: Preparing 20:53:25 db8b16a6eb31: Preparing 20:53:25 0c78832b2371: Preparing 20:53:25 65abc65b70a9: Preparing 20:53:25 0c78832b2371: Waiting 20:53:25 db8b16a6eb31: Waiting 20:53:25 0dcba8276a95: Preparing 20:53:25 3c2e6ed38cb4: Preparing 20:53:25 6e743172abce: Preparing 20:53:25 f1417ff83b31: Preparing 20:53:25 6e743172abce: Waiting 20:53:25 3c2e6ed38cb4: Waiting 20:53:25 0dcba8276a95: Waiting 20:53:25 f1417ff83b31: Waiting 20:53:25 44317e7cf813: Layer already exists 20:53:25 450ba7ee18b7: Layer already exists 20:53:25 3827b5b91e75: Layer already exists 20:53:25 11c3be5873a3: Layer already exists 20:53:25 63ba951c624b: Layer already exists 20:53:25 acc83c6ca332: Layer already exists 20:53:25 db8b16a6eb31: Layer already exists 20:53:25 65abc65b70a9: Layer already exists 20:53:25 0c78832b2371: Layer already exists 20:53:25 6e743172abce: Layer already exists 20:53:25 0dcba8276a95: Layer already exists 20:53:25 3c2e6ed38cb4: Layer already exists 20:53:25 f1417ff83b31: Layer already exists 20:53:25 158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49: digest: sha256:744831d02bd5475412571ada98a05eb436771033e3bd5b9e7b50a0460d2c312f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:25 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:53:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:53:25 44317e7cf813: Preparing 20:53:25 63ba951c624b: Preparing 20:53:25 450ba7ee18b7: Preparing 20:53:25 11c3be5873a3: Preparing 20:53:25 3827b5b91e75: Preparing 20:53:25 acc83c6ca332: Preparing 20:53:25 db8b16a6eb31: Preparing 20:53:25 0c78832b2371: Preparing 20:53:25 65abc65b70a9: Preparing 20:53:25 0dcba8276a95: Preparing 20:53:25 3c2e6ed38cb4: Preparing 20:53:25 6e743172abce: Preparing 20:53:25 f1417ff83b31: Preparing 20:53:25 65abc65b70a9: Waiting 20:53:25 0dcba8276a95: Waiting 20:53:25 6e743172abce: Waiting 20:53:25 3c2e6ed38cb4: Waiting 20:53:25 f1417ff83b31: Waiting 20:53:25 db8b16a6eb31: Waiting 20:53:25 0c78832b2371: Waiting 20:53:25 44317e7cf813: Layer already exists 20:53:25 63ba951c624b: Layer already exists 20:53:25 3827b5b91e75: Layer already exists 20:53:25 450ba7ee18b7: Layer already exists 20:53:25 11c3be5873a3: Layer already exists 20:53:25 db8b16a6eb31: Layer already exists 20:53:25 65abc65b70a9: Layer already exists 20:53:25 0dcba8276a95: Layer already exists 20:53:25 acc83c6ca332: Layer already exists 20:53:25 0c78832b2371: Layer already exists 20:53:25 3c2e6ed38cb4: Layer already exists 20:53:25 6e743172abce: Layer already exists 20:53:25 f1417ff83b31: Layer already exists 20:53:25 main: digest: sha256:744831d02bd5475412571ada98a05eb436771033e3bd5b9e7b50a0460d2c312f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:53:25 ===================================================== [Pipeline] echo 20:53:25 taggedImages: 20:53:25 - nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70 20:53:25 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:53:25 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.49 20:53:25 - nexus3.edgexfoundry.org:10004/device-usb-camera:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 20:53:25 - 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:53:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:26 20:53:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:26 latest: Pulling from edgex-lftools-log-publisher 20:53:26 5eb5b503b376: Pulling fs layer 20:53:26 5c69ac0246d0: Pulling fs layer 20:53:26 ec43610c2a17: Pulling fs layer 20:53:26 3a2ae6a8a46f: Pulling fs layer 20:53:26 33b1e0a273af: Pulling fs layer 20:53:26 5d3b04190fa2: Pulling fs layer 20:53:26 2f39f015ded8: Pulling fs layer 20:53:26 3a2ae6a8a46f: Waiting 20:53:26 33b1e0a273af: Waiting 20:53:26 5d3b04190fa2: Waiting 20:53:26 2f39f015ded8: Waiting 20:53:26 5c69ac0246d0: Verifying Checksum 20:53:26 5c69ac0246d0: Download complete 20:53:26 3a2ae6a8a46f: Verifying Checksum 20:53:26 3a2ae6a8a46f: Download complete 20:53:26 ec43610c2a17: Verifying Checksum 20:53:26 ec43610c2a17: Download complete 20:53:26 33b1e0a273af: Verifying Checksum 20:53:26 33b1e0a273af: Download complete 20:53:26 5d3b04190fa2: Download complete 20:53:26 5eb5b503b376: Verifying Checksum 20:53:26 5eb5b503b376: Download complete 20:53:27 2f39f015ded8: Download complete 20:53:27 5eb5b503b376: Pull complete 20:53:27 5c69ac0246d0: Pull complete 20:53:28 ec43610c2a17: Pull complete 20:53:28 3a2ae6a8a46f: Pull complete 20:53:28 33b1e0a273af: Pull complete 20:53:28 5d3b04190fa2: Pull complete 20:53:32 2f39f015ded8: Pull complete 20:53:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:32 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 20:53:32 $ 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:53:39 $ docker top f8c4c1f3870eeba0bf27f1f36519e100c60432f252a6fb2e264ccb310f444ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:39 ---> job-cost.sh 20:53:39 lf-activate-venv: SKIPPING 20:53:39 INFO: No Stack... 20:53:40 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:40 provisioning config files... 20:53:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/121@tmp/config7353801338555252866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:40 INFO: Archiving Costs [Pipeline] sh 20:53:40 ---> docker-login.sh 20:53:40 nexus3.edgexfoundry.org:10001 20:53:40 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 20:53:40 + cut -d, -f6 [Pipeline] lock 20:53:41 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] 20:53:41 Resource [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] did not exist. Created. 20:53:41 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:53:41 + echo total: 0.2199999988079071 [Pipeline] stash 20:53:41 Stashed 1 file(s) [Pipeline] } 20:53:41 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 20:53:41 $ docker stop --time=1 f8c4c1f3870eeba0bf27f1f36519e100c60432f252a6fb2e264ccb310f444ab4 20:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:41 Configure a credential helper to remove this warning. See 20:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:41 20:53:41 Login Succeeded 20:53:41 nexus3.edgexfoundry.org:10002 20:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:42 Configure a credential helper to remove this warning. See 20:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:42 20:53:42 Login Succeeded 20:53:42 nexus3.edgexfoundry.org:10003 20:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:42 Configure a credential helper to remove this warning. See 20:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:42 20:53:42 Login Succeeded 20:53:42 nexus3.edgexfoundry.org:10004 20:53:42 $ docker rm -f --volumes f8c4c1f3870eeba0bf27f1f36519e100c60432f252a6fb2e264ccb310f444ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:42 Configure a credential helper to remove this warning. See 20:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:42 20:53:42 Login Succeeded 20:53:42 docker.io 20:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:43 Configure a credential helper to remove this warning. See 20:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:43 20:53:43 Login Succeeded 20:53:43 ---> docker-login.sh ends [Pipeline] } 20:53:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:43 ========================================================= 20:53:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:53:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:53:44 Sending build context to Docker daemon 1.142MB 20:53:44 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:53:44 Step 2/13 : FROM ${BASE} AS builder 20:53:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:53:46 c41833b44d91: Pulling fs layer 20:53:46 ed15518f5707: Pulling fs layer 20:53:46 feae8fd75edb: Pulling fs layer 20:53:46 242c74f7c9fa: Pulling fs layer 20:53:46 3cdef696dda3: Pulling fs layer 20:53:46 2ced38df9373: Pulling fs layer 20:53:46 58f1dce35555: Pulling fs layer 20:53:46 242c74f7c9fa: Waiting 20:53:46 2ced38df9373: Waiting 20:53:46 58f1dce35555: Waiting 20:53:46 3cdef696dda3: Waiting 20:53:46 ed15518f5707: Verifying Checksum 20:53:46 ed15518f5707: Download complete 20:53:46 242c74f7c9fa: Verifying Checksum 20:53:46 242c74f7c9fa: Download complete 20:53:46 3cdef696dda3: Verifying Checksum 20:53:46 3cdef696dda3: Download complete 20:53:46 c41833b44d91: Verifying Checksum 20:53:46 c41833b44d91: Download complete 20:53:47 c41833b44d91: Pull complete 20:53:47 58f1dce35555: Verifying Checksum 20:53:47 58f1dce35555: Download complete 20:53:48 ed15518f5707: Pull complete 20:53:49 feae8fd75edb: Verifying Checksum 20:53:49 feae8fd75edb: Download complete 20:53:49 2ced38df9373: Verifying Checksum 20:53:49 2ced38df9373: Download complete 20:54:01 feae8fd75edb: Pull complete 20:54:01 242c74f7c9fa: Pull complete 20:54:01 3cdef696dda3: Pull complete 20:54:06 2ced38df9373: Pull complete 20:54:09 58f1dce35555: Pull complete 20:54:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:54:09 ---> fadd8f120f05 20:54:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:54:11 ---> Running in c065b9b5c881 20:54:11 Removing intermediate container c065b9b5c881 20:54:11 ---> b378f33f4835 20:54:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:12 ---> Running in a5c37bf1b212 20:54:12 Removing intermediate container a5c37bf1b212 20:54:12 ---> 06a6e80a1260 20:54:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:54:12 ---> Running in 57c9a92f39e7 20:54:12 Removing intermediate container 57c9a92f39e7 20:54:12 ---> d9144f20ec62 20:54:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:54:12 ---> Running in 1ab16a2703ba 20:54:13 Removing intermediate container 1ab16a2703ba 20:54:13 ---> a3de6618c7b7 20:54:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:13 ---> Running in 9dcb3fdbfb04 20:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:54:16 (1/14) Installing libintl (0.21.1-r1) 20:54:16 (2/14) Installing eudev-libs (3.2.11-r4) 20:54:16 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:54:16 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:54:16 (5/14) Installing v4l-utils (1.22.1-r2) 20:54:16 (6/14) Installing udev-init-scripts (35-r1) 20:54:16 (7/14) Installing libblkid (2.38.1-r1) 20:54:16 (8/14) Installing xz-libs (5.2.9-r0) 20:54:16 (9/14) Installing zstd-libs (1.5.5-r0) 20:54:16 (10/14) Installing kmod-libs (30-r1) 20:54:16 (11/14) Installing eudev (3.2.11-r4) 20:54:16 (12/14) Installing eudev-dev (3.2.11-r4) 20:54:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:54:16 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:54:16 Executing busybox-1.35.0-r29.trigger 20:54:16 Executing eudev-3.2.11-r4.trigger 20:54:16 OK: 271 MiB in 67 packages 20:54:17 Removing intermediate container 9dcb3fdbfb04 20:54:17 ---> 4eb7a2e4f5f8 20:54:17 Step 8/13 : WORKDIR /device-usb-camera 20:54:17 ---> Running in bae0b8b076d1 20:54:17 Removing intermediate container bae0b8b076d1 20:54:17 ---> c27afea3a0f3 20:54:17 Step 9/13 : COPY go.mod vendor* ./ 20:54:18 ---> f0ebc37b439b 20:54:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:18 ---> Running in 71dff0fdc294 20:55:26 Removing intermediate container 71dff0fdc294 20:55:26 ---> 0cb033ce734f 20:55:26 Step 11/13 : COPY . . 20:55:26 ---> eabbcb9a4cd6 20:55:26 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:55:26 ---> Running in 3675aa757bcd 20:55:26  % Total % Received % Xferd Average Speed Time Time Time Current 20:55:26  Dload Upload Total Spent Left Speed 20:55:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4349 0 --:--:-- --:--:-- --:--:-- 4352 20:55:26 Removing intermediate container 3675aa757bcd 20:55:26 ---> 04867b6ba48a 20:55:26 Step 13/13 : RUN ${MAKE} 20:55:26 ---> Running in 64f84378908c 20:55:26 noop 20:55:26 Removing intermediate container 64f84378908c 20:55:26 ---> b284498f2023 20:55:26 Successfully built b284498f2023 20:55:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:26 + docker inspect -f . ci-base-image-arm64 20:55:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:26 prd-ubuntu20.04-docker-arm64-4c-16g-16980 does not seem to be running inside a container 20:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/121 -v /w/workspace/device-usb-camera/121:/w/workspace/device-usb-camera/121:rw,z -v /w/workspace/device-usb-camera/121@tmp:/w/workspace/device-usb-camera/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:55:28 $ docker top 602813d81b2c4fa66e37af20dff7cc5da084ee792ed3e432ee54fc30d7fbf06c -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:28 + go version 20:55:28 go version go1.20.2 linux/arm64 [Pipeline] } 20:55:28 $ docker stop --time=1 602813d81b2c4fa66e37af20dff7cc5da084ee792ed3e432ee54fc30d7fbf06c 20:55:30 $ docker rm -f --volumes 602813d81b2c4fa66e37af20dff7cc5da084ee792ed3e432ee54fc30d7fbf06c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:31 + docker inspect -f . ci-base-image-arm64 20:55:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:31 prd-ubuntu20.04-docker-arm64-4c-16g-16980 does not seem to be running inside a container 20:55:31 $ 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/121 -v /w/workspace/device-usb-camera/121:/w/workspace/device-usb-camera/121:rw,z -v /w/workspace/device-usb-camera/121@tmp:/w/workspace/device-usb-camera/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:55:34 $ docker top 175057467d5dc13921c6d79023d94083776c33da91b528c5b9ef029b2cd7fb94 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:35 + git config --global --add safe.directory /w/workspace/device-usb-camera/121 [Pipeline] fileExists [Pipeline] sh 20:55:35 + make test 20:55:35 go test ./... -coverprofile=coverage.out ./... 20:56:14 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:58:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:58:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 1.6% of statements 20:58:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:58:21 go vet ./... 20:58:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:48 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:58:48 $ docker stop --time=1 175057467d5dc13921c6d79023d94083776c33da91b528c5b9ef029b2cd7fb94 20:58:49 $ docker rm -f --volumes 175057467d5dc13921c6d79023d94083776c33da91b528c5b9ef029b2cd7fb94 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:51 Warning: overwriting stash ‘coverage-report’ 20:58:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:52 + ls -al . 20:58:52 total 188 20:58:52 drwxrwxr-x 9 jenkins jenkins 4096 May 25 20:55 . 20:58:52 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:53 .. 20:58:52 drwxrwxr-x 8 jenkins jenkins 4096 May 25 20:53 .git 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:53 .github 20:58:52 -rw-rw-r-- 1 jenkins jenkins 414 May 25 20:53 .gitignore 20:58:52 -rw-rw-r-- 1 jenkins jenkins 45 May 25 20:53 .golangci.yml 20:58:52 -rw-rw-r-- 1 jenkins jenkins 77 May 25 20:53 .hadolint.yml 20:58:52 -rw-rw-r-- 1 jenkins jenkins 9665 May 25 20:53 Attribution.txt 20:58:52 -rw-rw-r-- 1 jenkins jenkins 6219 May 25 20:53 CHANGELOG.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 2453 May 25 20:53 Dockerfile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 678 May 25 20:53 GOVERNANCE.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 659 May 25 20:53 Jenkinsfile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 11348 May 25 20:53 LICENSE 20:58:52 -rw-rw-r-- 1 jenkins jenkins 2364 May 25 20:53 Makefile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 622 May 25 20:53 OWNERS.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 2477 May 25 20:53 README.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 12 May 25 20:51 VERSION 20:58:52 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:53 bin 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:53 cmd 20:58:52 -rw-r--r-- 1 jenkins jenkins 35569 May 25 20:58 coverage.out 20:58:52 -rwxrwxr-x 1 jenkins jenkins 140 May 25 20:53 docker-entrypoint.sh 20:58:52 drwxrwxr-x 2 jenkins jenkins 4096 May 25 20:53 docs 20:58:52 -rw-rw-r-- 1 jenkins jenkins 3371 May 25 20:53 go.mod 20:58:52 -rw-rw-r-- 1 jenkins jenkins 31392 May 25 20:53 go.sum 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 20:53 internal 20:58:52 drwxrwxr-x 4 jenkins jenkins 4096 May 25 20:53 snap 20:58:52 -rw-rw-r-- 1 jenkins jenkins 231 May 25 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:52 + 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=158cf72183c0870f436f0f492b637675d1f9df70 --label arch=arm64 --label version=3.0.0-dev.49 . 20:58:53 Sending build context to Docker daemon 1.179MB 20:58:53 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 20:58:53 Step 2/36 : FROM ${BASE} AS builder 20:58:53 ---> b284498f2023 20:58:53 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:58:53 ---> Running in aacd5e6e9f28 20:58:53 Removing intermediate container aacd5e6e9f28 20:58:53 ---> ed3672d9cb10 20:58:53 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:53 ---> Running in 018b1fbd5359 20:58:54 Removing intermediate container 018b1fbd5359 20:58:54 ---> 70e32eca8ad7 20:58:54 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:58:54 ---> Running in 049ec011fb22 20:58:54 Removing intermediate container 049ec011fb22 20:58:54 ---> e3a1a065d42b 20:58:54 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:58:54 ---> Running in d77850dd6138 20:58:54 Removing intermediate container d77850dd6138 20:58:54 ---> e8ccb8f3ea30 20:58:54 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:55 ---> Running in ef034bb11058 20:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:58:58 OK: 271 MiB in 67 packages 20:59:00 Removing intermediate container ef034bb11058 20:59:00 ---> c4057e60066d 20:59:00 Step 8/36 : WORKDIR /device-usb-camera 20:59:00 ---> Running in 603225837bed 20:59:00 Removing intermediate container 603225837bed 20:59:00 ---> 46fcbcf08ca0 20:59:00 Step 9/36 : COPY go.mod vendor* ./ 20:59:01 ---> ad3a2fa44dec 20:59:01 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:01 ---> Running in fafd8ef653b5 20:59:04 Removing intermediate container fafd8ef653b5 20:59:04 ---> deda5babed6a 20:59:04 Step 11/36 : COPY . . 20:59:05 ---> 063725b4db19 20:59:05 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:59:05 ---> Running in f90fed7a12e9 20:59:06  % Total % Received % Xferd Average Speed Time Time Time Current 20:59:06 Dload Upload Total Spent Left Speed 20:59:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3642 0 --:--:-- --:--:-- --:--:-- 3662 20:59:07 Removing intermediate container f90fed7a12e9 20:59:07 ---> f2267577c0d2 20:59:07 Step 13/36 : RUN ${MAKE} 20:59:07 ---> Running in 52160fbe98ad 20:59:08 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.49" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:02:15 Removing intermediate container 52160fbe98ad 21:02:15 ---> a2361bb0db41 21:02:15 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:02:15 v0.21.6: Pulling from aler9/rtsp-simple-server 21:02:15 8766b47fe142: Pulling fs layer 21:02:15 8766b47fe142: Verifying Checksum 21:02:15 8766b47fe142: Download complete 21:02:15 8766b47fe142: Pull complete 21:02:15 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:02:15 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:02:15 ---> 69d40e2cb93c 21:02:15 Step 15/36 : FROM alpine:3.17 21:02:15 3.17: Pulling from library/alpine 21:02:15 c41833b44d91: Already exists 21:02:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:02:15 Status: Downloaded newer image for alpine:3.17 21:02:15 ---> 51e60588ff2c 21:02:15 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:02:15 ---> Running in 7ca6510c0ef5 21:02:15 Removing intermediate container 7ca6510c0ef5 21:02:15 ---> 2a4cb68eccc2 21:02:15 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:02:15 ---> Running in 2e5c03b80c0d 21:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:15 (1/83) Installing dumb-init (1.2.5-r2) 21:02:15 (2/83) Installing sdl2 (2.26.5-r0) 21:02:15 (3/83) Installing libxau (1.0.10-r0) 21:02:15 (4/83) Installing libmd (1.0.4-r0) 21:02:15 (5/83) Installing libbsd (0.11.7-r0) 21:02:15 (6/83) Installing libxdmcp (1.1.4-r0) 21:02:15 (7/83) Installing libxcb (1.15-r0) 21:02:15 (8/83) Installing libx11 (1.8.4-r0) 21:02:15 (9/83) Installing aom-libs (3.5.0-r0) 21:02:15 (10/83) Installing alsa-lib (1.2.8-r0) 21:02:15 (11/83) Installing libexpat (2.5.0-r0) 21:02:15 (12/83) Installing brotli-libs (1.0.9-r9) 21:02:15 (13/83) Installing libbz2 (1.0.8-r4) 21:02:15 (14/83) Installing libpng (1.6.38-r0) 21:02:15 (15/83) Installing freetype (2.12.1-r0) 21:02:15 (16/83) Installing fontconfig (2.14.1-r0) 21:02:15 (17/83) Installing fribidi (1.0.12-r0) 21:02:15 (18/83) Installing libffi (3.4.4-r0) 21:02:15 (19/83) Installing libintl (0.21.1-r1) 21:02:15 (20/83) Installing libblkid (2.38.1-r1) 21:02:15 (21/83) Installing libmount (2.38.1-r1) 21:02:15 (22/83) Installing pcre2 (10.42-r0) 21:02:15 (23/83) Installing glib (2.74.7-r0) 21:02:15 (24/83) Installing graphite2 (1.3.14-r2) 21:02:15 (25/83) Installing harfbuzz (5.3.1-r1) 21:02:15 (26/83) Installing libass (0.16.0-r1) 21:02:15 (27/83) Installing libdav1d (1.0.0-r2) 21:02:15 (28/83) Installing libdrm (2.4.114-r0) 21:02:15 (29/83) Installing gmp (6.2.1-r2) 21:02:15 (30/83) Installing nettle (3.8.1-r0) 21:02:15 (31/83) Installing p11-kit (0.24.1-r1) 21:02:15 (32/83) Installing libtasn1 (4.19.0-r0) 21:02:15 (33/83) Installing libunistring (1.1-r0) 21:02:15 (34/83) Installing gnutls (3.7.8-r3) 21:02:15 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:02:15 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 21:02:15 (37/83) Installing lame (3.100-r2) 21:02:15 (38/83) Installing opus (1.3.1-r1) 21:02:15 (39/83) Installing libasyncns (0.8-r1) 21:02:15 (40/83) Installing dbus-libs (1.14.4-r0) 21:02:15 (41/83) Installing libltdl (2.4.7-r1) 21:02:15 (42/83) Installing orc (0.4.33-r0) 21:02:15 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:02:15 (44/83) Installing libogg (1.3.5-r2) 21:02:15 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:02:15 (46/83) Installing flac-libs (1.4.2-r0) 21:02:15 (47/83) Installing libvorbis (1.3.7-r0) 21:02:15 (48/83) Installing libsndfile (1.1.0-r2) 21:02:15 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:02:15 (50/83) Installing soxr (0.1.3-r3) 21:02:15 (51/83) Installing speexdsp (1.2.1-r0) 21:02:15 (52/83) Installing tdb-libs (1.4.6-r0) 21:02:15 (53/83) Installing libpulse (16.1-r6) 21:02:15 (54/83) Installing cjson (1.7.15-r3) 21:02:15 (55/83) Installing mbedtls (2.28.3-r0) 21:02:15 (56/83) Installing librist (0.2.7-r0) 21:02:15 (57/83) Installing libsrt (1.5.1-r0) 21:02:15 (58/83) Installing libssh (0.10.5-r0) 21:02:15 (59/83) Installing libtheora (1.1.1-r16) 21:02:15 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:02:15 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:02:15 (62/83) Installing libxext (1.3.5-r0) 21:02:15 (63/83) Installing libxfixes (6.0.0-r0) 21:02:15 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:02:15 (65/83) Installing libva (2.16.0-r0) 21:02:15 (66/83) Installing libvdpau (1.5-r0) 21:02:15 (67/83) Installing vidstab (1.1.0-r2) 21:02:15 (68/83) Installing libvpx (1.12.0-r1) 21:02:15 (69/83) Installing libwebp (1.2.4-r2) 21:02:15 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:02:15 (71/83) Installing numactl (2.0.16-r1) 21:02:15 (72/83) Installing x265-libs (3.5-r3) 21:02:15 (73/83) Installing xvidcore (1.3.7-r1) 21:02:15 (74/83) Installing libsodium (1.0.18-r2) 21:02:15 (75/83) Installing libzmq (4.3.4-r1) 21:02:15 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:02:15 (77/83) Installing ffmpeg (5.1.3-r0) 21:02:15 (78/83) Installing udev-init-scripts (35-r1) 21:02:15 (79/83) Installing eudev-libs (3.2.11-r4) 21:02:15 (80/83) Installing xz-libs (5.2.9-r0) 21:02:15 (81/83) Installing zstd-libs (1.5.5-r0) 21:02:15 (82/83) Installing kmod-libs (30-r1) 21:02:15 (83/83) Installing eudev (3.2.11-r4) 21:02:15 Executing busybox-1.35.0-r29.trigger 21:02:15 Executing eudev-3.2.11-r4.trigger 21:02:15 OK: 86 MiB in 98 packages 21:02:16 Removing intermediate container 2e5c03b80c0d 21:02:16 ---> 5b56a1d0b409 21:02:16 Step 18/36 : WORKDIR / 21:02:16 ---> Running in 8ca20db6781f 21:02:16 Removing intermediate container 8ca20db6781f 21:02:16 ---> 3fac2edd05bd 21:02:16 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:02:18 ---> 8f0c36e74d42 21:02:18 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:02:18 ---> fe05158dce77 21:02:18 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:02:18 ---> 24a81d899890 21:02:18 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:02:19 ---> 74940135b226 21:02:19 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:02:20 ---> 92ea9832037d 21:02:20 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:02:20 ---> 8bffc17803c6 21:02:20 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:02:24 ---> 8eff7a11f686 21:02:24 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:02:24 ---> Running in 50b7802ea807 21:02:26 Removing intermediate container 50b7802ea807 21:02:26 ---> 2dfb53b24a02 21:02:26 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:02:26 ---> Running in fd4071c86bf1 21:02:28 Removing intermediate container fd4071c86bf1 21:02:28 ---> 3fa8626f6e7e 21:02:28 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:02:28 ---> Running in dde17af86daa 21:02:29 Removing intermediate container dde17af86daa 21:02:29 ---> ad467192ec05 21:02:29 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:02:30 ---> Running in 22fd20c801ce 21:02:31 Removing intermediate container 22fd20c801ce 21:02:31 ---> f3c48aa307e8 21:02:31 Step 30/36 : EXPOSE 59983 21:02:31 ---> Running in 0a274b2dfde9 21:02:31 Removing intermediate container 0a274b2dfde9 21:02:31 ---> d6f6239c1b54 21:02:31 Step 31/36 : EXPOSE 8554 21:02:31 ---> Running in 153840daf07a 21:02:32 Removing intermediate container 153840daf07a 21:02:32 ---> 1cee9118d0b1 21:02:32 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:02:32 ---> Running in d0394c16b9e4 21:02:32 Removing intermediate container d0394c16b9e4 21:02:32 ---> adcc018eff28 21:02:32 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:02:32 ---> Running in d8aeedb79add 21:02:33 Removing intermediate container d8aeedb79add 21:02:33 ---> 7ef066626042 21:02:33 Step 34/36 : LABEL arch=arm64 21:02:33 ---> Running in 0f52af8fbd1a 21:02:33 Removing intermediate container 0f52af8fbd1a 21:02:33 ---> e919d5d4aacb 21:02:33 Step 35/36 : LABEL git_sha=158cf72183c0870f436f0f492b637675d1f9df70 21:02:33 ---> Running in eb11829ecf6c 21:02:33 Removing intermediate container eb11829ecf6c 21:02:33 ---> 4ceb67b8ab53 21:02:33 Step 36/36 : LABEL version=3.0.0-dev.49 21:02:33 ---> Running in ef49ca20bc13 21:02:34 Removing intermediate container ef49ca20bc13 21:02:34 ---> deefdcde42fd 21:02:34 [Warning] One or more build-args [ARCH] were not consumed 21:02:34 Successfully built deefdcde42fd 21:02:34 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:02:34 provisioning config files... 21:02:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/121@tmp/config8833287362639481635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:34 ---> docker-login.sh 21:02:34 nexus3.edgexfoundry.org:10001 21:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:35 Configure a credential helper to remove this warning. See 21:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:35 21:02:35 Login Succeeded 21:02:35 nexus3.edgexfoundry.org:10002 21:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:35 Configure a credential helper to remove this warning. See 21:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:35 21:02:35 Login Succeeded 21:02:35 nexus3.edgexfoundry.org:10003 21:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:35 Configure a credential helper to remove this warning. See 21:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:35 21:02:35 Login Succeeded 21:02:35 nexus3.edgexfoundry.org:10004 21:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:36 Configure a credential helper to remove this warning. See 21:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:36 21:02:36 Login Succeeded 21:02:36 docker.io 21:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:36 Configure a credential helper to remove this warning. See 21:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:36 21:02:36 Login Succeeded 21:02:36 ---> docker-login.sh ends [Pipeline] } 21:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:37 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 21:02:37 158cf72183c0870f436f0f492b637675d1f9df70 21:02:37 latest 21:02:37 3.0.0-dev.49 21:02:37 158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 21:02:37 main 21:02:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:37 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70 21:02:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:02:37 6b8c61e96614: Preparing 21:02:37 000bd0ee932e: Preparing 21:02:37 efd58c5c9509: Preparing 21:02:37 5e35f108b3bf: Preparing 21:02:37 608d194cb50c: Preparing 21:02:37 acc83c6ca332: Preparing 21:02:37 aeb073561be3: Preparing 21:02:37 74c815d79ac8: Preparing 21:02:37 87f35984dd4b: Preparing 21:02:37 b5db499ead0a: Preparing 21:02:37 85a514752c7a: Preparing 21:02:37 6df1eb800109: Preparing 21:02:37 26cbea5cba74: Preparing 21:02:37 74c815d79ac8: Waiting 21:02:37 87f35984dd4b: Waiting 21:02:37 b5db499ead0a: Waiting 21:02:37 85a514752c7a: Waiting 21:02:37 6df1eb800109: Waiting 21:02:37 26cbea5cba74: Waiting 21:02:37 acc83c6ca332: Waiting 21:02:37 aeb073561be3: Waiting 21:02:38 000bd0ee932e: Pushed 21:02:38 efd58c5c9509: Pushed 21:02:38 5e35f108b3bf: Pushed 21:02:38 6b8c61e96614: Pushed 21:02:38 acc83c6ca332: Pushed 21:02:38 74c815d79ac8: Pushed 21:02:38 87f35984dd4b: Pushed 21:02:38 aeb073561be3: Pushed 21:02:38 b5db499ead0a: Pushed 21:02:38 26cbea5cba74: Layer already exists 21:02:43 608d194cb50c: Pushed 21:02:44 85a514752c7a: Pushed 21:02:56 6df1eb800109: Pushed 21:02:56 158cf72183c0870f436f0f492b637675d1f9df70: digest: sha256:0a71462533ef54c11eb15bfe77f53dd590e93bad314c7ec8c1b3536710da9ba6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:56 + 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:02:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:02:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:02:57 6b8c61e96614: Preparing 21:02:57 000bd0ee932e: Preparing 21:02:57 efd58c5c9509: Preparing 21:02:57 5e35f108b3bf: Preparing 21:02:57 608d194cb50c: Preparing 21:02:57 acc83c6ca332: Preparing 21:02:57 aeb073561be3: Preparing 21:02:57 74c815d79ac8: Preparing 21:02:57 87f35984dd4b: Preparing 21:02:57 b5db499ead0a: Preparing 21:02:57 85a514752c7a: Preparing 21:02:57 6df1eb800109: Preparing 21:02:57 26cbea5cba74: Preparing 21:02:57 87f35984dd4b: Waiting 21:02:57 acc83c6ca332: Waiting 21:02:57 b5db499ead0a: Waiting 21:02:57 aeb073561be3: Waiting 21:02:57 74c815d79ac8: Waiting 21:02:57 85a514752c7a: Waiting 21:02:57 6df1eb800109: Waiting 21:02:57 26cbea5cba74: Waiting 21:02:57 000bd0ee932e: Layer already exists 21:02:57 6b8c61e96614: Layer already exists 21:02:57 608d194cb50c: Layer already exists 21:02:57 efd58c5c9509: Layer already exists 21:02:57 5e35f108b3bf: Layer already exists 21:02:57 acc83c6ca332: Layer already exists 21:02:57 aeb073561be3: Layer already exists 21:02:57 87f35984dd4b: Layer already exists 21:02:57 74c815d79ac8: Layer already exists 21:02:57 b5db499ead0a: Layer already exists 21:02:57 6df1eb800109: Layer already exists 21:02:57 85a514752c7a: Layer already exists 21:02:57 26cbea5cba74: Layer already exists 21:02:57 latest: digest: sha256:0a71462533ef54c11eb15bfe77f53dd590e93bad314c7ec8c1b3536710da9ba6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.49 21:02:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:02:58 6b8c61e96614: Preparing 21:02:58 000bd0ee932e: Preparing 21:02:58 efd58c5c9509: Preparing 21:02:58 5e35f108b3bf: Preparing 21:02:58 608d194cb50c: Preparing 21:02:58 acc83c6ca332: Preparing 21:02:58 aeb073561be3: Preparing 21:02:58 74c815d79ac8: Preparing 21:02:58 87f35984dd4b: Preparing 21:02:58 b5db499ead0a: Preparing 21:02:58 85a514752c7a: Preparing 21:02:58 6df1eb800109: Preparing 21:02:58 26cbea5cba74: Preparing 21:02:58 87f35984dd4b: Waiting 21:02:58 b5db499ead0a: Waiting 21:02:58 85a514752c7a: Waiting 21:02:58 6df1eb800109: Waiting 21:02:58 26cbea5cba74: Waiting 21:02:58 aeb073561be3: Waiting 21:02:58 74c815d79ac8: Waiting 21:02:58 acc83c6ca332: Waiting 21:02:58 efd58c5c9509: Layer already exists 21:02:58 000bd0ee932e: Layer already exists 21:02:58 6b8c61e96614: Layer already exists 21:02:58 608d194cb50c: Layer already exists 21:02:58 5e35f108b3bf: Layer already exists 21:02:58 74c815d79ac8: Layer already exists 21:02:58 b5db499ead0a: Layer already exists 21:02:58 aeb073561be3: Layer already exists 21:02:58 acc83c6ca332: Layer already exists 21:02:58 87f35984dd4b: Layer already exists 21:02:58 85a514752c7a: Layer already exists 21:02:58 6df1eb800109: Layer already exists 21:02:58 26cbea5cba74: Layer already exists 21:02:58 3.0.0-dev.49: digest: sha256:0a71462533ef54c11eb15bfe77f53dd590e93bad314c7ec8c1b3536710da9ba6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:58 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 21:02:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:02:59 6b8c61e96614: Preparing 21:02:59 000bd0ee932e: Preparing 21:02:59 efd58c5c9509: Preparing 21:02:59 5e35f108b3bf: Preparing 21:02:59 608d194cb50c: Preparing 21:02:59 acc83c6ca332: Preparing 21:02:59 aeb073561be3: Preparing 21:02:59 74c815d79ac8: Preparing 21:02:59 87f35984dd4b: Preparing 21:02:59 b5db499ead0a: Preparing 21:02:59 85a514752c7a: Preparing 21:02:59 6df1eb800109: Preparing 21:02:59 26cbea5cba74: Preparing 21:02:59 acc83c6ca332: Waiting 21:02:59 aeb073561be3: Waiting 21:02:59 74c815d79ac8: Waiting 21:02:59 87f35984dd4b: Waiting 21:02:59 6df1eb800109: Waiting 21:02:59 b5db499ead0a: Waiting 21:02:59 85a514752c7a: Waiting 21:02:59 26cbea5cba74: Waiting 21:02:59 608d194cb50c: Layer already exists 21:02:59 6b8c61e96614: Layer already exists 21:02:59 000bd0ee932e: Layer already exists 21:02:59 5e35f108b3bf: Layer already exists 21:02:59 efd58c5c9509: Layer already exists 21:02:59 87f35984dd4b: Layer already exists 21:02:59 74c815d79ac8: Layer already exists 21:02:59 aeb073561be3: Layer already exists 21:02:59 acc83c6ca332: Layer already exists 21:02:59 b5db499ead0a: Layer already exists 21:02:59 85a514752c7a: Layer already exists 21:02:59 6df1eb800109: Layer already exists 21:02:59 26cbea5cba74: Layer already exists 21:02:59 158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49: digest: sha256:0a71462533ef54c11eb15bfe77f53dd590e93bad314c7ec8c1b3536710da9ba6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:59 + 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:03:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 21:03:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:03:00 6b8c61e96614: Preparing 21:03:00 000bd0ee932e: Preparing 21:03:00 efd58c5c9509: Preparing 21:03:00 5e35f108b3bf: Preparing 21:03:00 608d194cb50c: Preparing 21:03:00 acc83c6ca332: Preparing 21:03:00 aeb073561be3: Preparing 21:03:00 acc83c6ca332: Waiting 21:03:00 74c815d79ac8: Preparing 21:03:00 87f35984dd4b: Preparing 21:03:00 b5db499ead0a: Preparing 21:03:00 85a514752c7a: Preparing 21:03:00 6df1eb800109: Preparing 21:03:00 26cbea5cba74: Preparing 21:03:00 aeb073561be3: Waiting 21:03:00 74c815d79ac8: Waiting 21:03:00 87f35984dd4b: Waiting 21:03:00 b5db499ead0a: Waiting 21:03:00 85a514752c7a: Waiting 21:03:00 6df1eb800109: Waiting 21:03:00 26cbea5cba74: Waiting 21:03:00 608d194cb50c: Layer already exists 21:03:00 5e35f108b3bf: Layer already exists 21:03:00 efd58c5c9509: Layer already exists 21:03:00 000bd0ee932e: Layer already exists 21:03:00 6b8c61e96614: Layer already exists 21:03:00 acc83c6ca332: Layer already exists 21:03:00 74c815d79ac8: Layer already exists 21:03:00 aeb073561be3: Layer already exists 21:03:00 87f35984dd4b: Layer already exists 21:03:00 b5db499ead0a: Layer already exists 21:03:00 6df1eb800109: Layer already exists 21:03:00 85a514752c7a: Layer already exists 21:03:00 26cbea5cba74: Layer already exists 21:03:00 main: digest: sha256:0a71462533ef54c11eb15bfe77f53dd590e93bad314c7ec8c1b3536710da9ba6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:03:00 ===================================================== [Pipeline] echo 21:03:00 taggedImages: 21:03:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70 21:03:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:03:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.49 21:03:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:158cf72183c0870f436f0f492b637675d1f9df70-3.0.0-dev.49 21:03:00 - 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:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:00 21:03:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:01 arm64: Pulling from edgex-lftools-log-publisher 21:03:01 8998bd30e6a1: Pulling fs layer 21:03:01 04944245beec: Pulling fs layer 21:03:01 699f458cf7ca: Pulling fs layer 21:03:01 765212b225bb: Pulling fs layer 21:03:01 f23df028b6ca: Pulling fs layer 21:03:01 d65c8cfc05b1: Pulling fs layer 21:03:01 2437ff75d9bd: Pulling fs layer 21:03:01 765212b225bb: Waiting 21:03:01 f23df028b6ca: Waiting 21:03:01 d65c8cfc05b1: Waiting 21:03:01 2437ff75d9bd: Waiting 21:03:01 04944245beec: Verifying Checksum 21:03:01 04944245beec: Download complete 21:03:01 765212b225bb: Verifying Checksum 21:03:01 765212b225bb: Download complete 21:03:01 f23df028b6ca: Download complete 21:03:01 d65c8cfc05b1: Verifying Checksum 21:03:01 d65c8cfc05b1: Download complete 21:03:01 699f458cf7ca: Verifying Checksum 21:03:01 699f458cf7ca: Download complete 21:03:02 8998bd30e6a1: Download complete 21:03:04 2437ff75d9bd: Download complete 21:03:06 8998bd30e6a1: Pull complete 21:03:06 04944245beec: Pull complete 21:03:08 699f458cf7ca: Pull complete 21:03:08 765212b225bb: Pull complete 21:03:08 f23df028b6ca: Pull complete 21:03:09 d65c8cfc05b1: Pull complete 21:03:21 2437ff75d9bd: Pull complete 21:03:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:03:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:21 prd-ubuntu20.04-docker-arm64-4c-16g-16980 does not seem to be running inside a container 21:03:21 $ 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/121 -v /w/workspace/device-usb-camera/121:/w/workspace/device-usb-camera/121:rw,z -v /w/workspace/device-usb-camera/121@tmp:/w/workspace/device-usb-camera/121@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:03:24 $ docker top 38c61622b4f6ad31cdeab13eab38037a099e1aa0952661fda99c09ed54c99136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:24 ---> job-cost.sh 21:03:25 lf-activate-venv: SKIPPING 21:03:25 INFO: No Stack... 21:03:25 INFO: Retrieving Pricing Info for: v3-standard-4 21:03:26 INFO: Archiving Costs [Pipeline] sh 21:03:27 + + cut -d,cat -f6 /w/workspace/device-usb-camera/121/archives/cost.csv 21:03:27 [Pipeline] lock 21:03:27 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] 21:03:27 Resource [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] did not exist. Created. 21:03:27 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:27 /w/workspace/device-usb-camera/121@tmp/durable-5f50ea78/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:03:28 + echo total: 0.10999999940395355 [Pipeline] stash 21:03:28 Warning: overwriting stash ‘stack-cost’ 21:03:28 Stashed 1 file(s) [Pipeline] } 21:03:28 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:28 $ docker stop --time=1 38c61622b4f6ad31cdeab13eab38037a099e1aa0952661fda99c09ed54c99136 21:03:30 $ docker rm -f --volumes 38c61622b4f6ad31cdeab13eab38037a099e1aa0952661fda99c09ed54c99136 [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:03:30 provisioning config files... 21:03:30 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6272308749173244421tmp [Pipeline] { [Pipeline] sh 21:03:30 + set +x 21:03:30 + curl -s https://codecov.io/bash 21:03:30 + bash -s -- 21:03:30 21:03:30 _____ _ 21:03:30 / ____| | | 21:03:30 | | ___ __| | ___ ___ _____ __ 21:03:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:03:30 | |___| (_) | (_| | __/ (_| (_) \ V / 21:03:30 \_____\___/ \__,_|\___|\___\___/ \_/ 21:03:30 Bash-1.0.6 21:03:30 21:03:30 21:03:30 ==> git version 2.25.1 found 21:03: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:03:30 Release-Date: 2020-01-08 21:03: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:03:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:03:30 ==> Jenkins CI detected. 21:03:30 current dir:  /w/workspace/exfoundry_device-usb-camera_main 21:03:30 project root: . 21:03:30 --> token set from env 21:03:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:03:30 ==> Running gcov in . (disable via -X gcov) 21:03:30 ==> Python coveragepy not found 21:03:30 ==> Searching for coverage reports in: 21:03:30 + . 21:03:30 -> Found 1 reports 21:03:30 ==> Detecting git/mercurial file structure 21:03:31 ==> Reading reports 21:03:31 + ./coverage.out bytes=35569 21:03:31 ==> Appending adjustments 21:03:31 https://docs.codecov.io/docs/fixing-reports 21:03:31 + Found adjustments 21:03:31 ==> Gzipping contents 21:03:31 8.0K /tmp/codecov.OrRpKQ.gz 21:03:31 ==> Uploading reports 21:03:31 url: https://codecov.io 21:03:31 query: branch=main&commit=158cf72183c0870f436f0f492b637675d1f9df70&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:31 -> Pinging Codecov 21:03:31 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=158cf72183c0870f436f0f492b637675d1f9df70&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:03:31 -> Uploading to 21:03:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/73D8F5FF140700D3E01443B452E23636/158cf72183c0870f436f0f492b637675d1f9df70/64f08759-8e8c-4ac2-b39c-6903650d872a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T210330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=052828907e6bd7eb0d4f2588a63fefddb462b271b55cf3deea45658349b8dc3b 21:03:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:31 Dload Upload Total Spent Left Speed 21:03:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4860 0 0 100 4860 0 18910 --:--:-- --:--:-- --:--:-- 18910 21:03:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] } 21:03:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:03:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:03:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:32 21:03:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:03:32 df9b9388f04a: Pulling fs layer 21:03:32 52dc419b0ee2: Pulling fs layer 21:03:32 25bc292e5bac: Pulling fs layer 21:03:32 114826534d7a: Pulling fs layer 21:03:32 4657fd5d0bcf: Pulling fs layer 21:03:32 6ad1cebc031e: Pulling fs layer 21:03:32 8a3aa393b2d8: Pulling fs layer 21:03:32 4657fd5d0bcf: Waiting 21:03:32 6ad1cebc031e: Waiting 21:03:32 114826534d7a: Waiting 21:03:32 25bc292e5bac: Download complete 21:03:32 52dc419b0ee2: Download complete 21:03:32 4657fd5d0bcf: Verifying Checksum 21:03:32 4657fd5d0bcf: Download complete 21:03:32 df9b9388f04a: Verifying Checksum 21:03:32 df9b9388f04a: Download complete 21:03:32 6ad1cebc031e: Verifying Checksum 21:03:32 6ad1cebc031e: Download complete 21:03:32 df9b9388f04a: Pull complete 21:03:32 52dc419b0ee2: Pull complete 21:03:32 25bc292e5bac: Pull complete 21:03:33 114826534d7a: Verifying Checksum 21:03:33 114826534d7a: Download complete 21:03:33 8a3aa393b2d8: Verifying Checksum 21:03:33 8a3aa393b2d8: Download complete 21:03:36 114826534d7a: Pull complete 21:03:36 4657fd5d0bcf: Pull complete 21:03:37 6ad1cebc031e: Pull complete 21:03:39 8a3aa393b2d8: Pull complete 21:03:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:03:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:03:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:39 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:03:39 $ 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:03:43 $ docker top 819149365d7649c3100b61870fdbcb2434c9ae9c5592bc6da07bc26327ce30cb -eo pid,comm [Pipeline] { [Pipeline] echo 21:03:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 21:03:43 + set -o pipefail 21:03:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 21:03:48 21:03:48 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 21:03:48 21:03:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/7d1621a3-f321-4f19-bb6d-570d2d6f8c83 21:03:48 21:03:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:03:48 21:03:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:03:48 21:03:48 21:03:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:03:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:03:48 More details here: https://snyk.co/ue1NS [Pipeline] } 21:03:48 $ docker stop --time=1 819149365d7649c3100b61870fdbcb2434c9ae9c5592bc6da07bc26327ce30cb 21:03:51 $ docker rm -f --volumes 819149365d7649c3100b61870fdbcb2434c9ae9c5592bc6da07bc26327ce30cb [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:03:52 + git log --format=format:%s -1 158cf72183c0870f436f0f492b637675d1f9df70 [Pipeline] sh 21:03:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:03:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:52 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:03:52 $ 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:03:53 $ docker top 28a3319678e01ed6546f38fdb57d70edc3bbd8620c3d5da5c900073058c0e2bf -eo pid,comm 21:03:53 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:03:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:53 [ssh-agent] Looking for ssh-agent implementation... 21:03:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:53 $ docker exec 28a3319678e01ed6546f38fdb57d70edc3bbd8620c3d5da5c900073058c0e2bf ssh-agent 21:03:53 SSH_AUTH_SOCK=/tmp/ssh-xawadVvHZ9CU/agent.32 21:03:53 SSH_AGENT_PID=38 21:03:53 Running ssh-add (command line suppressed) 21:03:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11576226540738267097.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11576226540738267097.key) 21:03:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:54 + git semver tag 21:03:54 2023-05-25 21:03:54,256 [run_tag] DEBUG tag force:False 21:03:54 2023-05-25 21:03:54,256 [check_head_tag] DEBUG check head tag 21:03:54 2023-05-25 21:03:54,259 [execute] INFO git cat-file --batch-check 21:03:54 2023-05-25 21:03:54,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:03:54 2023-05-25 21:03:54,262 [execute] INFO git cat-file --batch 21:03:54 2023-05-25 21:03:54,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:03:54 2023-05-25 21:03:54,292 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:03:54 2023-05-25 21:03:54,292 [execute] INFO git tag -a v3.0.0-dev.49 -m v3.0.0-dev.49 21:03:54 2023-05-25 21:03:54,292 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.49', '-m', 'v3.0.0-dev.49'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:03:54 2023-05-25 21:03:54,297 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:03:54 3.0.0-dev.49 [Pipeline] } 21:03:54 $ docker exec --env ******** --env ******** 28a3319678e01ed6546f38fdb57d70edc3bbd8620c3d5da5c900073058c0e2bf ssh-agent -k 21:03:54 unset SSH_AUTH_SOCK; 21:03:54 unset SSH_AGENT_PID; 21:03:54 echo Agent pid 38 killed; 21:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:54 + git semver [Pipeline] } 21:03:55 $ docker stop --time=1 28a3319678e01ed6546f38fdb57d70edc3bbd8620c3d5da5c900073058c0e2bf 21:03:56 $ docker rm -f --volumes 28a3319678e01ed6546f38fdb57d70edc3bbd8620c3d5da5c900073058c0e2bf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:03:56 21:03:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:03:57 0.23.1-centos7: Pulling from edgex-lftools 21:03:57 ab5ef0e58194: Pulling fs layer 21:03:57 9712f1f96733: Pulling fs layer 21:03:57 63f879dbbcfc: Pulling fs layer 21:03:57 0d9ebad4ef96: Pulling fs layer 21:03:57 e9a5061849ea: Pulling fs layer 21:03:57 d747dcd14b5f: Pulling fs layer 21:03:57 2de7ff778b66: Pulling fs layer 21:03:57 0d9ebad4ef96: Waiting 21:03:57 e9a5061849ea: Waiting 21:03:57 2de7ff778b66: Waiting 21:03:57 d747dcd14b5f: Waiting 21:03:57 9712f1f96733: Verifying Checksum 21:03:57 9712f1f96733: Download complete 21:03:57 63f879dbbcfc: Verifying Checksum 21:03:57 63f879dbbcfc: Download complete 21:03:57 e9a5061849ea: Verifying Checksum 21:03:57 e9a5061849ea: Download complete 21:03:57 d747dcd14b5f: Verifying Checksum 21:03:57 d747dcd14b5f: Download complete 21:03:57 ab5ef0e58194: Verifying Checksum 21:03:57 ab5ef0e58194: Download complete 21:03:57 2de7ff778b66: Verifying Checksum 21:03:57 2de7ff778b66: Download complete 21:03:57 0d9ebad4ef96: Verifying Checksum 21:03:57 0d9ebad4ef96: Download complete 21:04:00 ab5ef0e58194: Pull complete 21:04:00 9712f1f96733: Pull complete 21:04:00 63f879dbbcfc: Pull complete 21:04:05 0d9ebad4ef96: Pull complete 21:04:05 e9a5061849ea: Pull complete 21:04:05 d747dcd14b5f: Pull complete 21:04:06 2de7ff778b66: Pull complete 21:04:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:04:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:06 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:04:06 $ 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:04:10 $ docker top f414d19f573be62c391628213946e52874b492a2d66f16343a7db6425e87adc7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:04:10 provisioning config files... 21:04:10 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7308939634256197766tmp 21:04:10 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7291235494566726101tmp 21:04:10 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12155927114623182201tmp [Pipeline] { [Pipeline] echo 21:04:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:04:10 ---> sigul-configuration.sh 21:04:10 gpg: directory `/root/.gnupg' created 21:04:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:04:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:04:10 gpg: keyring `/root/.gnupg/secring.gpg' created 21:04:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:04:10 gpg: CAST5 encrypted data 21:04:10 gpg: encrypted with 1 passphrase 21:04:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:04:10 + mkdir /home/jenkins 21:04:10 + mkdir /home/jenkins/sigul [Pipeline] sh 21:04:11 + 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:04:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:04:11 ---> sigul-install.sh 21:04:11 Sigul already installed; skipping installation. [Pipeline] sh 21:04:11 + git tag --list 21:04:11 v0.0.0 21:04:11 v0.0.1-dev.1 21:04:11 v0.0.1-dev.10 21:04:11 v0.0.1-dev.11 21:04:11 v0.0.1-dev.12 21:04:11 v0.0.1-dev.13 21:04:11 v0.0.1-dev.14 21:04:11 v0.0.1-dev.15 21:04:11 v0.0.1-dev.16 21:04:11 v0.0.1-dev.2 21:04:11 v0.0.1-dev.3 21:04:11 v0.0.1-dev.4 21:04:11 v0.0.1-dev.5 21:04:11 v0.0.1-dev.6 21:04:11 v0.0.1-dev.7 21:04:11 v0.0.1-dev.8 21:04:11 v0.0.1-dev.9 21:04:11 v2.2.0 21:04:11 v2.2.0-dev.17 21:04:11 v2.2.0-dev.18 21:04:11 v2.2.0-dev.19 21:04:11 v2.2.0-dev.20 21:04:11 v2.2.0-dev.21 21:04:11 v2.2.0-dev.22 21:04:11 v2.2.0-dev.23 21:04:11 v2.2.0-dev.24 21:04:11 v2.2.0-dev.25 21:04:11 v2.2.0-dev.26 21:04:11 v2.2.0-dev.27 21:04:11 v2.3.0 21:04:11 v2.3.0-dev.1 21:04:11 v2.3.0-dev.10 21:04:11 v2.3.0-dev.11 21:04:11 v2.3.0-dev.12 21:04:11 v2.3.0-dev.13 21:04:11 v2.3.0-dev.14 21:04:11 v2.3.0-dev.15 21:04:11 v2.3.0-dev.16 21:04:11 v2.3.0-dev.17 21:04:11 v2.3.0-dev.18 21:04:11 v2.3.0-dev.19 21:04:11 v2.3.0-dev.2 21:04:11 v2.3.0-dev.20 21:04:11 v2.3.0-dev.21 21:04:11 v2.3.0-dev.22 21:04:11 v2.3.0-dev.23 21:04:11 v2.3.0-dev.24 21:04:11 v2.3.0-dev.25 21:04:11 v2.3.0-dev.26 21:04:11 v2.3.0-dev.27 21:04:11 v2.3.0-dev.28 21:04:11 v2.3.0-dev.3 21:04:11 v2.3.0-dev.4 21:04:11 v2.3.0-dev.5 21:04:11 v2.3.0-dev.6 21:04:11 v2.3.0-dev.7 21:04:11 v2.3.0-dev.8 21:04:11 v2.3.0-dev.9 21:04:11 v2.3.1 21:04:11 v2.3.1-dev.4 21:04:11 v2.3.1-dev.5 21:04:11 v2.3.1-dev.6 21:04:11 v3.0.0-dev.1 21:04:11 v3.0.0-dev.10 21:04:11 v3.0.0-dev.11 21:04:11 v3.0.0-dev.12 21:04:11 v3.0.0-dev.13 21:04:11 v3.0.0-dev.14 21:04:11 v3.0.0-dev.15 21:04:11 v3.0.0-dev.16 21:04:11 v3.0.0-dev.17 21:04:11 v3.0.0-dev.18 21:04:11 v3.0.0-dev.19 21:04:11 v3.0.0-dev.2 21:04:11 v3.0.0-dev.20 21:04:11 v3.0.0-dev.21 21:04:11 v3.0.0-dev.22 21:04:11 v3.0.0-dev.23 21:04:11 v3.0.0-dev.24 21:04:11 v3.0.0-dev.25 21:04:11 v3.0.0-dev.26 21:04:11 v3.0.0-dev.27 21:04:11 v3.0.0-dev.28 21:04:11 v3.0.0-dev.29 21:04:11 v3.0.0-dev.3 21:04:11 v3.0.0-dev.30 21:04:11 v3.0.0-dev.31 21:04:11 v3.0.0-dev.32 21:04:11 v3.0.0-dev.33 21:04:11 v3.0.0-dev.34 21:04:11 v3.0.0-dev.35 21:04:11 v3.0.0-dev.36 21:04:11 v3.0.0-dev.37 21:04:11 v3.0.0-dev.38 21:04:11 v3.0.0-dev.39 21:04:11 v3.0.0-dev.4 21:04:11 v3.0.0-dev.40 21:04:11 v3.0.0-dev.41 21:04:11 v3.0.0-dev.42 21:04:11 v3.0.0-dev.43 21:04:11 v3.0.0-dev.44 21:04:11 v3.0.0-dev.45 21:04:11 v3.0.0-dev.46 21:04:11 v3.0.0-dev.47 21:04:11 v3.0.0-dev.48 21:04:11 v3.0.0-dev.49 21:04:11 v3.0.0-dev.5 21:04:11 v3.0.0-dev.6 21:04:11 v3.0.0-dev.7 21:04:11 v3.0.0-dev.8 21:04:11 v3.0.0-dev.9 [Pipeline] sh 21:04:12 + lftools sign git-tag v3.0.0-dev.49 21:04:12 Signing Git tag with Sigul... 21:04:12 Signing v3.0.0-dev.49 [Pipeline] echo 21:04:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:04:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:04:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:04:13 $ docker stop --time=1 f414d19f573be62c391628213946e52874b492a2d66f16343a7db6425e87adc7 21:04:14 $ docker rm -f --volumes f414d19f573be62c391628213946e52874b492a2d66f16343a7db6425e87adc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:04:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:15 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:15 $ docker top 10e778be3321c9146455561a6b90674c3499e5b1a60a896bd7df6dfe755b0497 -eo pid,comm 21:04:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:04:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:16 [ssh-agent] Looking for ssh-agent implementation... 21:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:16 $ docker exec 10e778be3321c9146455561a6b90674c3499e5b1a60a896bd7df6dfe755b0497 ssh-agent 21:04:16 SSH_AUTH_SOCK=/tmp/ssh-fUD0MlJyMbWe/agent.33 21:04:16 SSH_AGENT_PID=39 21:04:16 Running ssh-add (command line suppressed) 21:04:16 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16261438746409247530.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16261438746409247530.key) 21:04:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:16 + git semver bump pre 21:04:16 2023-05-25 21:04:16,883 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:04:16 2023-05-25 21:04:16,883 [bump_version] DEBUG bumping version:3.0.0-dev.49 on axis:pre with prefix:dev 21:04:16 2023-05-25 21:04:16,883 [bump_version] DEBUG bumped version:3.0.0-dev.50 21:04:16 2023-05-25 21:04:16,884 [write_version] DEBUG write version:3.0.0-dev.50 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 21:04:16 2023-05-25 21:04:16,884 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:04:16 2023-05-25 21:04:16,884 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:04:16 2023-05-25 21:04:16,885 [execute] INFO git cat-file --batch-check 21:04:16 2023-05-25 21:04:16,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:16 2023-05-25 21:04:16,891 [execute] INFO git cat-file --batch 21:04:16 2023-05-25 21:04:16,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:16 2023-05-25 21:04:16,897 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:04:16 3.0.0-dev.50 [Pipeline] } 21:04:16 $ docker exec --env ******** --env ******** 10e778be3321c9146455561a6b90674c3499e5b1a60a896bd7df6dfe755b0497 ssh-agent -k 21:04:17 unset SSH_AUTH_SOCK; 21:04:17 unset SSH_AGENT_PID; 21:04:17 echo Agent pid 39 killed; 21:04:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:17 + git semver [Pipeline] } 21:04:17 $ docker stop --time=1 10e778be3321c9146455561a6b90674c3499e5b1a60a896bd7df6dfe755b0497 21:04:18 $ docker rm -f --volumes 10e778be3321c9146455561a6b90674c3499e5b1a60a896bd7df6dfe755b0497 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:19 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:20 $ docker top 492f11fb7398b48e396ba39b69fb31d3eb025f07af9ca3c6ab4826b475d4b944 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:20 [ssh-agent] Looking for ssh-agent implementation... 21:04:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:20 $ docker exec 492f11fb7398b48e396ba39b69fb31d3eb025f07af9ca3c6ab4826b475d4b944 ssh-agent 21:04:20 SSH_AUTH_SOCK=/tmp/ssh-qh4s4q3faYFa/agent.32 21:04:20 SSH_AGENT_PID=39 21:04:20 Running ssh-add (command line suppressed) 21:04:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2043261940173639575.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2043261940173639575.key) 21:04:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:20 + git semver push 21:04:21 2023-05-25 21:04:21,155 [run_push] DEBUG push 21:04:21 2023-05-25 21:04:21,156 [execute] INFO git cat-file --batch-check 21:04:21 2023-05-25 21:04:21,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:04:21 2023-05-25 21:04:21,161 [execute] INFO git rev-list 23f51d8879b508db4a772b0a406c4665c41263ad -- 21:04:21 2023-05-25 21:04:21,161 [execute] DEBUG Popen(['git', 'rev-list', '23f51d8879b508db4a772b0a406c4665c41263ad', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:21 2023-05-25 21:04:21,169 [execute] INFO git fetch -v origin 21:04:21 2023-05-25 21:04:21,169 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:04:21 2023-05-25 21:04:21,667 [run_push] DEBUG no remote changes detected 21:04:21 2023-05-25 21:04:21,667 [execute] INFO git push origin semver 21:04:21 2023-05-25 21:04:21,668 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:04:22 2023-05-25 21:04:22,461 [run_push] DEBUG push all version tags 21:04:22 2023-05-25 21:04:22,461 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:04:22 2023-05-25 21:04:22,462 [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:04:23 2023-05-25 21:04:23,188 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:04:23 3.0.0-dev.50 [Pipeline] } 21:04:23 $ docker exec --env ******** --env ******** 492f11fb7398b48e396ba39b69fb31d3eb025f07af9ca3c6ab4826b475d4b944 ssh-agent -k 21:04:23 unset SSH_AUTH_SOCK; 21:04:23 unset SSH_AGENT_PID; 21:04:23 echo Agent pid 39 killed; 21:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:23 + git semver [Pipeline] } 21:04:24 $ docker stop --time=1 492f11fb7398b48e396ba39b69fb31d3eb025f07af9ca3c6ab4826b475d4b944 21:04:25 $ docker rm -f --volumes 492f11fb7398b48e396ba39b69fb31d3eb025f07af9ca3c6ab4826b475d4b944 [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:04:25 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 21:04:25 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:04:25 total 16 21:04:25 drwxr-xr-x 3 root root 4096 May 25 20:53 . 21:04:25 drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:04 .. 21:04:25 drwxr-xr-x 2 root root 4096 May 25 20:53 cost 21:04:25 -rw-r--r-- 1 root root 89 May 25 20:53 cost.csv 21:04:25 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 21:04:25 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:04:25 total 16 21:04:25 drwxr-xr-x 3 jenkins jenkins 4096 May 25 20:53 . 21:04:25 drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:04 .. 21:04:25 drwxr-xr-x 2 jenkins jenkins 4096 May 25 20:53 cost 21:04:25 -rw-r--r-- 1 jenkins jenkins 89 May 25 20:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:04:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:04:27 ---> package-listing.sh 21:04:27 ++ facter osfamily 21:04:27 ++ tr '[:upper:]' '[:lower:]' 21:04:27 + OS_FAMILY=debian 21:04:27 + workspace=/w/workspace/exfoundry_device-usb-camera_main 21:04:27 + START_PACKAGES=/tmp/packages_start.txt 21:04:27 + END_PACKAGES=/tmp/packages_end.txt 21:04:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:04:27 + PACKAGES=/tmp/packages_start.txt 21:04:27 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:04:27 + PACKAGES=/tmp/packages_end.txt 21:04:27 + case "${OS_FAMILY}" in 21:04:27 + dpkg -l 21:04:27 + grep '^ii' 21:04:27 + '[' -f /tmp/packages_start.txt ']' 21:04:27 + '[' -f /tmp/packages_end.txt ']' 21:04:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:04:27 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:04:27 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 21:04:27 + 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:04:27 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:04:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:04:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:28 prd-ubuntu20.04-docker-8c-8g-16977 does not seem to be running inside a container 21:04:28 $ 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:04:28 $ docker top eb87c7c6ec52708f2127f06b854b731ddc99fd3a9d3e1a99ca32e0d4c0476b45 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:28 + touch /tmp/pre-build-complete [Pipeline] sh 21:04:29 + mkdir -p /var/log/sysstat [Pipeline] sh 21:04:29 + ls /var/log/sa-host 21:04:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:29 provisioning config files... 21:04:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3216395986336857808tmp [Pipeline] { [Pipeline] echo 21:04:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:04:29 ---> create-netrc.sh [Pipeline] } 21:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:04:30 ---> python-tools-install.sh [Pipeline] echo 21:04:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:04:30 ---> sudo-logs.sh 21:04:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:04:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:04:30 ---> job-cost.sh 21:04:30 lf-activate-venv: SKIPPING 21:04:30 DEBUG: total: 0.2199999988079071 21:04:30 INFO: Retrieving Stack Cost... 21:04:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:04:31 INFO: Archiving Costs [Pipeline] echo 21:04:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:04:31 ---> logs-deploy.sh 21:04:31 lf-activate-venv: SKIPPING 21:04:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/121 21:04:31 INFO: archiving workspace using pattern(s): 21:04:32 Archives upload complete. 21:04:32 INFO: archiving logs to Nexus