Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05403b6a683e6ef1b05fd0156b4e25393cee8eba 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-ssh16771206012882729794.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-ssh2050396140257299659.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-ssh4558538502404248182.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-ssh367770968508761864.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-ssh596427936450564119.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17422 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 05403b6a683e6ef1b05fd0156b4e25393cee8eba (main) Commit message: "Merge pull request #260 from lenny-intel/update-main-warning" > 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 05403b6a683e6ef1b05fd0156b4e25393cee8eba # timeout=10 > git rev-list --no-walk d0f5938560965a72cdd41116a6cc710ba42503af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:03 ========================================================= 00:42:03 EdgeX Global Pipelines Version Info 00:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:04 ------------------- 00:42:04 stable info: 00:42:04 ------------------- 00:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:42:04 Message: update stable to v1.0.249 00:42:05 ------------------- 00:42:05 experimental info: 00:42:05 ------------------- 00:42:05 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:42:05 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05403b6 [Pipeline] echo 00:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:05 provisioning config files... 00:42:05 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15292901324670938527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:06 ---> docker-login.sh 00:42:06 nexus3.edgexfoundry.org:10001 00:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:06 Configure a credential helper to remove this warning. See 00:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:06 00:42:06 Login Succeeded 00:42:06 nexus3.edgexfoundry.org:10002 00:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:06 Configure a credential helper to remove this warning. See 00:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:06 00:42:06 Login Succeeded 00:42:06 nexus3.edgexfoundry.org:10003 00:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:06 Configure a credential helper to remove this warning. See 00:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:06 00:42:06 Login Succeeded 00:42:06 nexus3.edgexfoundry.org:10004 00:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:06 Configure a credential helper to remove this warning. See 00:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:06 00:42:06 Login Succeeded 00:42:06 docker.io 00:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:06 Configure a credential helper to remove this warning. See 00:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:06 00:42:06 Login Succeeded 00:42:06 ---> docker-login.sh ends [Pipeline] } 00:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:42:07 + git rev-list -1 --merges 05403b6a683e6ef1b05fd0156b4e25393cee8eba~1..05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] echo 00:42:07 -----------> git rev-list -1 --merges 05403b6a683e6ef1b05fd0156b4e25393cee8eba~1..05403b6a683e6ef1b05fd0156b4e25393cee8eba 05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:42:07 05403b6a683e6ef1b05fd0156b4e25393cee8eba [false] [Pipeline] sh 00:42:07 + git log --format=format:%s -1 05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] echo 00:42:07 ========================================================= 00:42:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:42:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:42:07 + git log --format=format:%s -1 05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] echo 00:42:07 [semverPrep] GIT_COMMIT: 05403b6a683e6ef1b05fd0156b4e25393cee8eba, Commit Message: Merge pull request #260 from lenny-intel/update-main-warning [Pipeline] echo 00:42:07 [semverPrep] This is not a build commit. [Pipeline] sh 00:42:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:08 + grep -v github /etc/ssh/ssh_known_hosts 00:42:08 + [ -e /tmp/ssh_known_hosts ] 00:42:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:42:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:42:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:42:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:08 00:42:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:08 0.1.4: Pulling from edgex-devops/py-git-semver 00:42:08 b85a868b505f: Pulling fs layer 00:42:08 e2be974225ed: Pulling fs layer 00:42:08 339a4e72a1f5: Pulling fs layer 00:42:08 988bab9f4d93: Pulling fs layer 00:42:08 1469e6f7b9e6: Pulling fs layer 00:42:08 eaf3925da568: Pulling fs layer 00:42:08 bab4dde63d76: Pulling fs layer 00:42:08 bde34c3a00c8: Pulling fs layer 00:42:08 b352a97aabf1: Pulling fs layer 00:42:08 4872d77fe225: Pulling fs layer 00:42:08 5851b861e8e6: Pulling fs layer 00:42:08 bab4dde63d76: Waiting 00:42:08 bde34c3a00c8: Waiting 00:42:08 b352a97aabf1: Waiting 00:42:08 4872d77fe225: Waiting 00:42:08 5851b861e8e6: Waiting 00:42:08 988bab9f4d93: Waiting 00:42:08 1469e6f7b9e6: Waiting 00:42:08 eaf3925da568: Waiting 00:42:08 e2be974225ed: Download complete 00:42:08 988bab9f4d93: Download complete 00:42:09 339a4e72a1f5: Verifying Checksum 00:42:09 339a4e72a1f5: Download complete 00:42:09 eaf3925da568: Verifying Checksum 00:42:09 eaf3925da568: Download complete 00:42:09 1469e6f7b9e6: Verifying Checksum 00:42:09 1469e6f7b9e6: Download complete 00:42:09 bde34c3a00c8: Download complete 00:42:09 b85a868b505f: Verifying Checksum 00:42:09 b85a868b505f: Download complete 00:42:09 b352a97aabf1: Verifying Checksum 00:42:09 b352a97aabf1: Download complete 00:42:09 4872d77fe225: Verifying Checksum 00:42:09 4872d77fe225: Download complete 00:42:09 5851b861e8e6: Download complete 00:42:09 bab4dde63d76: Verifying Checksum 00:42:09 bab4dde63d76: Download complete 00:42:10 b85a868b505f: Pull complete 00:42:10 e2be974225ed: Pull complete 00:42:11 339a4e72a1f5: Pull complete 00:42:11 988bab9f4d93: Pull complete 00:42:11 1469e6f7b9e6: Pull complete 00:42:11 eaf3925da568: Pull complete 00:42:13 bab4dde63d76: Pull complete 00:42:13 bde34c3a00c8: Pull complete 00:42:13 b352a97aabf1: Pull complete 00:42:13 4872d77fe225: Pull complete 00:42:13 5851b861e8e6: Pull complete 00:42:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:13 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:42:16 $ docker top ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 -eo pid,comm 00:42:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:42:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:16 [ssh-agent] Looking for ssh-agent implementation... 00:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:17 $ docker exec ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 ssh-agent 00:42:17 SSH_AUTH_SOCK=/tmp/ssh-wDgooH8VHIsE/agent.33 00:42:17 SSH_AGENT_PID=39 00:42:17 Running ssh-add (command line suppressed) 00:42:17 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6417538603171595683.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6417538603171595683.key) 00:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:17 + git tag --points-at HEAD [Pipeline] } 00:42:17 $ docker exec --env ******** --env ******** ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 ssh-agent -k 00:42:17 unset SSH_AUTH_SOCK; 00:42:17 unset SSH_AGENT_PID; 00:42:17 echo Agent pid 39 killed; 00:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:17 [ssh-agent] Looking for ssh-agent implementation... 00:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:17 $ docker exec ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 ssh-agent 00:42:17 SSH_AUTH_SOCK=/tmp/ssh-lvB5HFh1h39b/agent.71 00:42:17 SSH_AGENT_PID=77 00:42:17 Running ssh-add (command line suppressed) 00:42:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9155223011486175827.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9155223011486175827.key) 00:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:18 + git semver init 00:42:18 2023-05-31 00:42:18,558 [run_init] DEBUG init version:0.0.0 force:False 00:42:18 2023-05-31 00:42:18,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:42:18 2023-05-31 00:42:18,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:42:18 2023-05-31 00:42:18,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:42:19 2023-05-31 00:42:19,254 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:42:19 2023-05-31 00:42:19,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:42:19 2023-05-31 00:42:19,255 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:42:19 2023-05-31 00:42:19,255 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:42:19 3.0.0-dev.51 [Pipeline] } 00:42:19 $ docker exec --env ******** --env ******** ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 ssh-agent -k 00:42:19 unset SSH_AUTH_SOCK; 00:42:19 unset SSH_AGENT_PID; 00:42:19 echo Agent pid 77 killed; 00:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:20 + git semver [Pipeline] } 00:42:20 $ docker stop --time=1 ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 00:42:21 $ docker rm -f --volumes ed745dbd978ef0a719f186e7abcf3f1d943e856a0f305712e4df17baf07906d6 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:22 Stashed 1 file(s) [Pipeline] echo 00:42:22 [edgeXSemver]: initialized semver on version 3.0.0-dev.51 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:22 provisioning config files... 00:42:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15424554513997263012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:22 ---> docker-login.sh 00:42:22 nexus3.edgexfoundry.org:10001 00:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:22 Configure a credential helper to remove this warning. See 00:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:22 00:42:22 Login Succeeded 00:42:22 nexus3.edgexfoundry.org:10002 00:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:22 Configure a credential helper to remove this warning. See 00:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:22 00:42:22 Login Succeeded 00:42:22 nexus3.edgexfoundry.org:10003 00:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:22 Configure a credential helper to remove this warning. See 00:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:22 00:42:22 Login Succeeded 00:42:22 nexus3.edgexfoundry.org:10004 00:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:22 Configure a credential helper to remove this warning. See 00:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:22 00:42:22 Login Succeeded 00:42:22 docker.io 00:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:23 Configure a credential helper to remove this warning. See 00:42:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:23 00:42:23 Login Succeeded 00:42:23 ---> docker-login.sh ends [Pipeline] } 00:42:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:23 ========================================================= 00:42:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:42:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:42:23 Sending build context to Docker daemon 1.959MB 00:42:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:42:23 Step 2/13 : FROM ${BASE} AS builder 00:42:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:23 f56be85fc22e: Pulling fs layer 00:42:23 85791d961cd3: Pulling fs layer 00:42:23 d694b5ae8c79: Pulling fs layer 00:42:23 9f32a84ed3da: Pulling fs layer 00:42:23 4d19c01a9841: Pulling fs layer 00:42:23 9f32a84ed3da: Waiting 00:42:23 9325e15d5711: Pulling fs layer 00:42:23 4d19c01a9841: Waiting 00:42:23 556b6ee489ea: Pulling fs layer 00:42:23 c5a4b2cf53e6: Pulling fs layer 00:42:23 556b6ee489ea: Waiting 00:42:23 c5a4b2cf53e6: Waiting 00:42:23 85791d961cd3: Download complete 00:42:23 9f32a84ed3da: Verifying Checksum 00:42:23 9f32a84ed3da: Download complete 00:42:23 4d19c01a9841: Verifying Checksum 00:42:23 4d19c01a9841: Download complete 00:42:23 f56be85fc22e: Verifying Checksum 00:42:23 f56be85fc22e: Download complete 00:42:23 9325e15d5711: Verifying Checksum 00:42:23 9325e15d5711: Download complete 00:42:23 f56be85fc22e: Pull complete 00:42:23 85791d961cd3: Pull complete 00:42:24 c5a4b2cf53e6: Verifying Checksum 00:42:24 c5a4b2cf53e6: Download complete 00:42:24 d694b5ae8c79: Verifying Checksum 00:42:24 d694b5ae8c79: Download complete 00:42:24 556b6ee489ea: Verifying Checksum 00:42:24 556b6ee489ea: Download complete 00:42:27 d694b5ae8c79: Pull complete 00:42:27 9f32a84ed3da: Pull complete 00:42:27 4d19c01a9841: Pull complete 00:42:27 9325e15d5711: Pull complete 00:42:30 556b6ee489ea: Pull complete 00:42:30 c5a4b2cf53e6: Pull complete 00:42:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:42:30 ---> c4be618373d6 00:42:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:42:34 ---> Running in 1f87001b19fe 00:42:34 Removing intermediate container 1f87001b19fe 00:42:34 ---> 049182608d19 00:42:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:42:34 ---> Running in a908e362468b 00:42:35 Removing intermediate container a908e362468b 00:42:35 ---> 0a12cc5d6319 00:42:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:42:35 ---> Running in 41b042e11088 00:42:35 Removing intermediate container 41b042e11088 00:42:35 ---> 190c7a7eb214 00:42:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:42:35 ---> Running in 35ee8f678ab7 00:42:35 Removing intermediate container 35ee8f678ab7 00:42:35 ---> 06cf1313ddc5 00:42:35 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:35 ---> Running in cced5fd7370f 00:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:42:35 (1/14) Installing libintl (0.21.1-r1) 00:42:35 (2/14) Installing eudev-libs (3.2.11-r4) 00:42:35 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:42:35 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:42:35 (5/14) Installing v4l-utils (1.22.1-r2) 00:42:35 (6/14) Installing udev-init-scripts (35-r1) 00:42:35 (7/14) Installing libblkid (2.38.1-r1) 00:42:35 (8/14) Installing xz-libs (5.2.9-r0) 00:42:35 (9/14) Installing zstd-libs (1.5.5-r0) 00:42:35 (10/14) Installing kmod-libs (30-r1) 00:42:35 (11/14) Installing eudev (3.2.11-r4) 00:42:35 (12/14) Installing eudev-dev (3.2.11-r4) 00:42:35 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:42:36 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:42:36 Executing busybox-1.35.0-r29.trigger 00:42:36 Executing eudev-3.2.11-r4.trigger 00:42:36 OK: 272 MiB in 67 packages 00:42:36 Removing intermediate container cced5fd7370f 00:42:36 ---> b7622676675a 00:42:36 Step 8/13 : WORKDIR /device-usb-camera 00:42:36 ---> Running in 4731c95067dc 00:42:36 Removing intermediate container 4731c95067dc 00:42:36 ---> a397be7b0ccf 00:42:36 Step 9/13 : COPY go.mod vendor* ./ 00:42:36 ---> bbd65de17f87 00:42:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:36 ---> Running in 571be20922bf 00:42:37 Still waiting to schedule task 00:42:37 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:43:03 Removing intermediate container 571be20922bf 00:43:03 ---> 9e1f0032819c 00:43:03 Step 11/13 : COPY . . 00:43:03 ---> b152461cd03b 00:43:03 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:43:03 ---> Running in 00db4e289e7d 00:43:03  % Total % Received % Xferd Average Speed Time Time Time Current 00:43:03 Dload Upload Total Spent Left Speed 00:43:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0   8810      0 --:--:-- --:--:-- --:--:--  8850 00:43:03 Removing intermediate container 00db4e289e7d 00:43:03 ---> 2e9dbfe976f5 00:43:03 Step 13/13 : RUN ${MAKE} 00:43:03 ---> Running in 195c231d3d6e 00:43:04 noop 00:43:04 Removing intermediate container 195c231d3d6e 00:43:04 ---> 35eb5c558f50 00:43:04 Successfully built 35eb5c558f50 00:43:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:04 + docker inspect -f . ci-base-image-x86_64 00:43:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:04 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:43:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:05 $ docker top e0105cb692c4ba0f51608bc9837be6442fd3fa7f7429ac92ef364f4b47a290d8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:05 + go version 00:43:05 go version go1.20.2 linux/amd64 [Pipeline] } 00:43:05 $ docker stop --time=1 e0105cb692c4ba0f51608bc9837be6442fd3fa7f7429ac92ef364f4b47a290d8 00:43:06 $ docker rm -f --volumes e0105cb692c4ba0f51608bc9837be6442fd3fa7f7429ac92ef364f4b47a290d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:07 + docker inspect -f . ci-base-image-x86_64 00:43:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:07 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:43:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:07 $ docker top d9dab1d95ab15c2c7116ac2ac8a31565a27ea1fd2b1c565a9f609dd89f8e5ee0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:07 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:43:08 + make test 00:43:08 go test ./... -coverprofile=coverage.out ./... 00:43:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:43:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:43:23 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 1.6% of statements 00:43:30 go vet ./... 00:43:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:34 ./bin/test-attribution-txt.sh [Pipeline] echo 00:43:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:43:34 $ docker stop --time=1 d9dab1d95ab15c2c7116ac2ac8a31565a27ea1fd2b1c565a9f609dd89f8e5ee0 00:43:37 $ docker rm -f --volumes d9dab1d95ab15c2c7116ac2ac8a31565a27ea1fd2b1c565a9f609dd89f8e5ee0 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:43:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:39 + ls -al . 00:43:39 total 196 00:43:39 drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:43 . 00:43:39 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:42 .. 00:43:39 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:42 .git 00:43:39 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:42 .github 00:43:39 -rw-rw-r-- 1 jenkins jenkins 414 May 31 00:42 .gitignore 00:43:39 -rw-rw-r-- 1 jenkins jenkins 45 May 31 00:42 .golangci.yml 00:43:39 -rw-rw-r-- 1 jenkins jenkins 77 May 31 00:42 .hadolint.yml 00:43:39 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:42 .semver 00:43:39 -rw-rw-r-- 1 jenkins jenkins 9665 May 31 00:42 Attribution.txt 00:43:39 -rw-rw-r-- 1 jenkins jenkins 11903 May 31 00:42 CHANGELOG.md 00:43:39 -rw-rw-r-- 1 jenkins jenkins 2453 May 31 00:42 Dockerfile 00:43:39 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:42 GOVERNANCE.md 00:43:39 -rw-rw-r-- 1 jenkins jenkins 659 May 31 00:42 Jenkinsfile 00:43:39 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 00:42 LICENSE 00:43:39 -rw-rw-r-- 1 jenkins jenkins 2364 May 31 00:42 Makefile 00:43:39 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:42 OWNERS.md 00:43:39 -rw-rw-r-- 1 jenkins jenkins 2575 May 31 00:42 README.md 00:43:39 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:42 VERSION 00:43:39 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:42 bin 00:43:39 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:42 cmd 00:43:39 -rw-r--r-- 1 jenkins jenkins 35569 May 31 00:43 coverage.out 00:43:39 -rwxrwxr-x 1 jenkins jenkins 140 May 31 00:42 docker-entrypoint.sh 00:43:39 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:42 docs 00:43:39 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 00:42 go.mod 00:43:39 -rw-rw-r-- 1 jenkins jenkins 31392 May 31 00:42 go.sum 00:43:39 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:42 internal 00:43:39 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:42 snap 00:43:39 -rw-rw-r-- 1 jenkins jenkins 231 May 31 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:39 + 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=05403b6a683e6ef1b05fd0156b4e25393cee8eba --label arch=amd64 --label version=3.0.0-dev.51 . 00:43:39 Sending build context to Docker daemon 1.995MB 00:43:39 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:43:39 Step 2/36 : FROM ${BASE} AS builder 00:43:39 ---> 35eb5c558f50 00:43:39 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:43:39 ---> Running in 7556e0fcc2a8 00:43:39 Removing intermediate container 7556e0fcc2a8 00:43:39 ---> a4adb8eccacc 00:43:39 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:43:39 ---> Running in b7939c96a667 00:43:39 Removing intermediate container b7939c96a667 00:43:39 ---> 638518537a4f 00:43:39 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:43:39 ---> Running in f8b972539c6d 00:43:39 Removing intermediate container f8b972539c6d 00:43:39 ---> fd980b13bc2d 00:43:39 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:43:39 ---> Running in 74fb3a9c2f38 00:43:39 Removing intermediate container 74fb3a9c2f38 00:43:39 ---> 3688a9974a2c 00:43:39 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:39 ---> Running in f1516958487a 00:43:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:43:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:43:40 OK: 272 MiB in 67 packages 00:43:40 Removing intermediate container f1516958487a 00:43:40 ---> 6c6e51435dbe 00:43:40 Step 8/36 : WORKDIR /device-usb-camera 00:43:40 ---> Running in 8a9556376b94 00:43:40 Removing intermediate container 8a9556376b94 00:43:40 ---> 567763e020d3 00:43:40 Step 9/36 : COPY go.mod vendor* ./ 00:43:40 ---> 9e3ee8cb3683 00:43:40 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:40 ---> Running in 44c4a6751f75 00:43:41 Removing intermediate container 44c4a6751f75 00:43:41 ---> 36b68a23252c 00:43:41 Step 11/36 : COPY . . 00:43:41 ---> fe471b1ceb17 00:43:41 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:43:41 ---> Running in 80b51c5bd716 00:43:42  % Total % Received % Xferd Average Speed Time Time Time Current 00:43:42 Dload Upload Total Spent Left Speed 00:43:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 22038 0 --:--:-- --:--:-- --:--:-- 22595 00:43:42 Removing intermediate container 80b51c5bd716 00:43:42 ---> c9ff549360a4 00:43:42 Step 13/36 : RUN ${MAKE} 00:43:42 ---> Running in 924af4e66c98 00:43:42 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:44:04 Removing intermediate container 924af4e66c98 00:44:04 ---> 425d33c1a8b7 00:44:04 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:44:04 v0.21.6: Pulling from aler9/rtsp-simple-server 00:44:04 4acc49c71d14: Pulling fs layer 00:44:04 4acc49c71d14: Verifying Checksum 00:44:04 4acc49c71d14: Download complete 00:44:04 4acc49c71d14: Pull complete 00:44:04 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:44:04 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:44:04 ---> 01a2bd3e5fff 00:44:04 Step 15/36 : FROM alpine:3.17 00:44:05 3.17: Pulling from library/alpine 00:44:05 f56be85fc22e: Already exists 00:44:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:44:05 Status: Downloaded newer image for alpine:3.17 00:44:05 ---> 9ed4aefc74f6 00:44:05 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:44:05 ---> Running in 65b6a8f768c1 00:44:05 Removing intermediate container 65b6a8f768c1 00:44:05 ---> c345fe4eae5e 00:44:05 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:44:05 ---> Running in 1fdf01fcf8ac 00:44:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:44:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:44:06 (1/86) Installing dumb-init (1.2.5-r2) 00:44:06 (2/86) Installing sdl2 (2.26.5-r0) 00:44:06 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:44:06 (4/86) Installing libxau (1.0.10-r0) 00:44:06 (5/86) Installing libmd (1.0.4-r0) 00:44:06 (6/86) Installing libbsd (0.11.7-r0) 00:44:06 (7/86) Installing libxdmcp (1.1.4-r0) 00:44:06 (8/86) Installing libxcb (1.15-r0) 00:44:06 (9/86) Installing libx11 (1.8.4-r0) 00:44:06 (10/86) Installing aom-libs (3.5.0-r0) 00:44:06 (11/86) Installing alsa-lib (1.2.8-r0) 00:44:06 (12/86) Installing libexpat (2.5.0-r0) 00:44:06 (13/86) Installing brotli-libs (1.0.9-r9) 00:44:06 (14/86) Installing libbz2 (1.0.8-r4) 00:44:06 (15/86) Installing libpng (1.6.38-r0) 00:44:06 (16/86) Installing freetype (2.12.1-r0) 00:44:06 (17/86) Installing fontconfig (2.14.1-r0) 00:44:06 (18/86) Installing fribidi (1.0.12-r0) 00:44:06 (19/86) Installing libffi (3.4.4-r0) 00:44:06 (20/86) Installing libintl (0.21.1-r1) 00:44:06 (21/86) Installing libblkid (2.38.1-r1) 00:44:06 (22/86) Installing libmount (2.38.1-r1) 00:44:06 (23/86) Installing pcre2 (10.42-r0) 00:44:06 (24/86) Installing glib (2.74.7-r0) 00:44:06 (25/86) Installing graphite2 (1.3.14-r2) 00:44:06 (26/86) Installing harfbuzz (5.3.1-r1) 00:44:06 (27/86) Installing libass (0.16.0-r1) 00:44:06 (28/86) Installing libdav1d (1.0.0-r2) 00:44:06 (29/86) Installing hwdata-pci (0.364-r0) 00:44:06 (30/86) Installing libpciaccess (0.17-r0) 00:44:06 (31/86) Installing libdrm (2.4.114-r0) 00:44:06 (32/86) Installing gmp (6.2.1-r2) 00:44:06 (33/86) Installing nettle (3.8.1-r0) 00:44:06 (34/86) Installing p11-kit (0.24.1-r1) 00:44:06 (35/86) Installing libtasn1 (4.19.0-r0) 00:44:06 (36/86) Installing libunistring (1.1-r0) 00:44:06 (37/86) Installing gnutls (3.7.8-r3) 00:44:06 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:44:06 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 00:44:06 (40/86) Installing lame (3.100-r2) 00:44:07 (41/86) Installing opus (1.3.1-r1) 00:44:07 (42/86) Installing libasyncns (0.8-r1) 00:44:07 (43/86) Installing dbus-libs (1.14.4-r0) 00:44:07 (44/86) Installing libltdl (2.4.7-r1) 00:44:07 (45/86) Installing orc (0.4.33-r0) 00:44:07 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:44:07 (47/86) Installing libogg (1.3.5-r2) 00:44:07 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:44:07 (49/86) Installing flac-libs (1.4.2-r0) 00:44:07 (50/86) Installing libvorbis (1.3.7-r0) 00:44:07 (51/86) Installing libsndfile (1.1.0-r2) 00:44:07 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:44:07 (53/86) Installing soxr (0.1.3-r3) 00:44:07 (54/86) Installing speexdsp (1.2.1-r0) 00:44:07 (55/86) Installing tdb-libs (1.4.6-r0) 00:44:07 (56/86) Installing libpulse (16.1-r6) 00:44:07 (57/86) Installing cjson (1.7.15-r3) 00:44:07 (58/86) Installing mbedtls (2.28.3-r0) 00:44:07 (59/86) Installing librist (0.2.7-r0) 00:44:07 (60/86) Installing libsrt (1.5.1-r0) 00:44:07 (61/86) Installing libssh (0.10.5-r0) 00:44:07 (62/86) Installing libtheora (1.1.1-r16) 00:44:07 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:44:07 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:44:07 (65/86) Installing libxext (1.3.5-r0) 00:44:07 (66/86) Installing libxfixes (6.0.0-r0) 00:44:07 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:44:07 (68/86) Installing libva (2.16.0-r0) 00:44:07 (69/86) Installing libvdpau (1.5-r0) 00:44:07 (70/86) Installing vidstab (1.1.0-r2) 00:44:07 (71/86) Installing libvpx (1.12.0-r1) 00:44:07 (72/86) Installing libwebp (1.2.4-r2) 00:44:07 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:44:07 (74/86) Installing numactl (2.0.16-r1) 00:44:07 (75/86) Installing x265-libs (3.5-r3) 00:44:07 (76/86) Installing xvidcore (1.3.7-r1) 00:44:07 (77/86) Installing libsodium (1.0.18-r2) 00:44:07 (78/86) Installing libzmq (4.3.4-r1) 00:44:07 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:44:07 (80/86) Installing ffmpeg (5.1.3-r0) 00:44:07 (81/86) Installing udev-init-scripts (35-r1) 00:44:07 (82/86) Installing eudev-libs (3.2.11-r4) 00:44:07 (83/86) Installing xz-libs (5.2.9-r0) 00:44:07 (84/86) Installing zstd-libs (1.5.5-r0) 00:44:07 (85/86) Installing kmod-libs (30-r1) 00:44:07 (86/86) Installing eudev (3.2.11-r4) 00:44:07 Executing busybox-1.35.0-r29.trigger 00:44:07 Executing eudev-3.2.11-r4.trigger 00:44:07 OK: 112 MiB in 101 packages 00:44:10 Removing intermediate container 1fdf01fcf8ac 00:44:10 ---> 30518c5dbb9e 00:44:10 Step 18/36 : WORKDIR / 00:44:10 ---> Running in 434f98b15cae 00:44:10 Removing intermediate container 434f98b15cae 00:44:10 ---> edd5c4a8ef70 00:44:10 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:44:11 ---> c86dbbe9c013 00:44:11 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:44:11 ---> 2a73fa2629fe 00:44:11 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:44:11 ---> 5373257a65f2 00:44:11 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:44:11 ---> 95e862e8e75f 00:44:11 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:44:11 ---> d14a35f28ae1 00:44:11 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:44:11 ---> 0cd284353692 00:44:11 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:44:12 ---> bbd18ccb0d17 00:44:12 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:44:12 ---> Running in 7aa206b596e5 00:44:13 Removing intermediate container 7aa206b596e5 00:44:13 ---> 3c7b3eeab285 00:44:13 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:44:13 ---> Running in fca7ca8a75c9 00:44:13 Removing intermediate container fca7ca8a75c9 00:44:13 ---> 9613a4e45938 00:44:13 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:44:13 ---> Running in a2cb98df76c6 00:44:14 Removing intermediate container a2cb98df76c6 00:44:14 ---> ae46e4ce7fdb 00:44:14 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:44:14 ---> Running in d8417383e169 00:44:14 Removing intermediate container d8417383e169 00:44:14 ---> 35e0fdff7daa 00:44:14 Step 30/36 : EXPOSE 59983 00:44:14 ---> Running in fa07a7365a57 00:44:14 Removing intermediate container fa07a7365a57 00:44:14 ---> 1ae87ef4a023 00:44:14 Step 31/36 : EXPOSE 8554 00:44:14 ---> Running in 01679877fe93 00:44:14 Removing intermediate container 01679877fe93 00:44:14 ---> 5defc8c3b50a 00:44:14 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:44:14 ---> Running in 199f4b39ef55 00:44:14 Removing intermediate container 199f4b39ef55 00:44:14 ---> 0e057692594a 00:44:14 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:44:14 ---> Running in 7fbac73a2d69 00:44:15 Removing intermediate container 7fbac73a2d69 00:44:15 ---> aa344544e15a 00:44:15 Step 34/36 : LABEL arch=amd64 00:44:15 ---> Running in e4cd1a7fc8bd 00:44:15 Removing intermediate container e4cd1a7fc8bd 00:44:15 ---> 0e1f7e4e1c42 00:44:15 Step 35/36 : LABEL git_sha=05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:44:15 ---> Running in c4780dd95563 00:44:15 Removing intermediate container c4780dd95563 00:44:15 ---> 3da7560822d1 00:44:15 Step 36/36 : LABEL version=3.0.0-dev.51 00:44:15 ---> Running in 679c4a4e014a 00:44:15 Removing intermediate container 679c4a4e014a 00:44:15 ---> 1eac0c25bf9a 00:44:15 [Warning] One or more build-args [ARCH] were not consumed 00:44:15 Successfully built 1eac0c25bf9a 00:44:15 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:44:15 provisioning config files... 00:44:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4603240209783888190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:15 ---> docker-login.sh 00:44:15 nexus3.edgexfoundry.org:10001 00:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:15 Configure a credential helper to remove this warning. See 00:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:15 00:44:15 Login Succeeded 00:44:15 nexus3.edgexfoundry.org:10002 00:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:15 Configure a credential helper to remove this warning. See 00:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:15 00:44:15 Login Succeeded 00:44:15 nexus3.edgexfoundry.org:10003 00:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:15 Configure a credential helper to remove this warning. See 00:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:15 00:44:15 Login Succeeded 00:44:15 nexus3.edgexfoundry.org:10004 00:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:15 Configure a credential helper to remove this warning. See 00:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:15 00:44:15 Login Succeeded 00:44:15 docker.io 00:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:16 Configure a credential helper to remove this warning. See 00:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:16 00:44:16 Login Succeeded 00:44:16 ---> docker-login.sh ends [Pipeline] } 00:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:44:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:44:16 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:44:16 05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:44:16 latest 00:44:16 3.0.0-dev.51 00:44:16 05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:44:16 main 00:44:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:44:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:44:16 85966c0135d2: Preparing 00:44:16 39b893dcaa5e: Preparing 00:44:16 48b5626ed083: Preparing 00:44:16 41ba157c46b5: Preparing 00:44:16 3827b5b91e75: Preparing 00:44:16 acc83c6ca332: Preparing 00:44:16 485a88fd1210: Preparing 00:44:16 4271a62beb5c: Preparing 00:44:16 a6b1b26833df: Preparing 00:44:16 cc0de9508810: Preparing 00:44:16 8e8b2c2a7f0d: Preparing 00:44:16 523c57d07102: Preparing 00:44:16 f1417ff83b31: Preparing 00:44:16 acc83c6ca332: Waiting 00:44:16 485a88fd1210: Waiting 00:44:16 4271a62beb5c: Waiting 00:44:16 a6b1b26833df: Waiting 00:44:16 cc0de9508810: Waiting 00:44:16 8e8b2c2a7f0d: Waiting 00:44:16 523c57d07102: Waiting 00:44:16 f1417ff83b31: Waiting 00:44:16 48b5626ed083: Pushed 00:44:16 41ba157c46b5: Pushed 00:44:16 39b893dcaa5e: Pushed 00:44:16 85966c0135d2: Pushed 00:44:16 acc83c6ca332: Pushed 00:44:17 485a88fd1210: Pushed 00:44:17 a6b1b26833df: Pushed 00:44:17 4271a62beb5c: Pushed 00:44:17 f1417ff83b31: Layer already exists 00:44:17 cc0de9508810: Pushed 00:44:19 3827b5b91e75: Pushed 00:44:19 8e8b2c2a7f0d: Pushed 00:44:27 523c57d07102: Pushed 00:44:27 05403b6a683e6ef1b05fd0156b4e25393cee8eba: digest: sha256:cca969d4fbb1018bdcbd73f8880879bdf46afe90ca8f1040dbda03ec0007e58f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:28 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:44:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:44:28 85966c0135d2: Preparing 00:44:28 39b893dcaa5e: Preparing 00:44:28 48b5626ed083: Preparing 00:44:28 41ba157c46b5: Preparing 00:44:28 3827b5b91e75: Preparing 00:44:28 acc83c6ca332: Preparing 00:44:28 acc83c6ca332: Waiting 00:44:28 485a88fd1210: Preparing 00:44:28 4271a62beb5c: Preparing 00:44:28 a6b1b26833df: Preparing 00:44:28 cc0de9508810: Preparing 00:44:28 8e8b2c2a7f0d: Preparing 00:44:28 523c57d07102: Preparing 00:44:28 a6b1b26833df: Waiting 00:44:28 f1417ff83b31: Preparing 00:44:28 cc0de9508810: Waiting 00:44:28 8e8b2c2a7f0d: Waiting 00:44:28 f1417ff83b31: Waiting 00:44:28 485a88fd1210: Waiting 00:44:28 4271a62beb5c: Waiting 00:44:28 523c57d07102: Waiting 00:44:28 3827b5b91e75: Layer already exists 00:44:28 48b5626ed083: Layer already exists 00:44:28 85966c0135d2: Layer already exists 00:44:28 39b893dcaa5e: Layer already exists 00:44:28 41ba157c46b5: Layer already exists 00:44:28 acc83c6ca332: Layer already exists 00:44:28 485a88fd1210: Layer already exists 00:44:28 4271a62beb5c: Layer already exists 00:44:28 a6b1b26833df: Layer already exists 00:44:28 cc0de9508810: Layer already exists 00:44:28 8e8b2c2a7f0d: Layer already exists 00:44:28 523c57d07102: Layer already exists 00:44:28 f1417ff83b31: Layer already exists 00:44:28 latest: digest: sha256:cca969d4fbb1018bdcbd73f8880879bdf46afe90ca8f1040dbda03ec0007e58f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:28 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.51 00:44:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:44:29 85966c0135d2: Preparing 00:44:29 39b893dcaa5e: Preparing 00:44:29 48b5626ed083: Preparing 00:44:29 41ba157c46b5: Preparing 00:44:29 3827b5b91e75: Preparing 00:44:29 acc83c6ca332: Preparing 00:44:29 485a88fd1210: Preparing 00:44:29 4271a62beb5c: Preparing 00:44:29 a6b1b26833df: Preparing 00:44:29 cc0de9508810: Preparing 00:44:29 8e8b2c2a7f0d: Preparing 00:44:29 523c57d07102: Preparing 00:44:29 f1417ff83b31: Preparing 00:44:29 485a88fd1210: Waiting 00:44:29 4271a62beb5c: Waiting 00:44:29 a6b1b26833df: Waiting 00:44:29 cc0de9508810: Waiting 00:44:29 8e8b2c2a7f0d: Waiting 00:44:29 523c57d07102: Waiting 00:44:29 acc83c6ca332: Waiting 00:44:29 3827b5b91e75: Layer already exists 00:44:29 85966c0135d2: Layer already exists 00:44:29 39b893dcaa5e: Layer already exists 00:44:29 48b5626ed083: Layer already exists 00:44:29 41ba157c46b5: Layer already exists 00:44:29 acc83c6ca332: Layer already exists 00:44:29 485a88fd1210: Layer already exists 00:44:29 cc0de9508810: Layer already exists 00:44:29 4271a62beb5c: Layer already exists 00:44:29 a6b1b26833df: Layer already exists 00:44:29 8e8b2c2a7f0d: Layer already exists 00:44:29 523c57d07102: Layer already exists 00:44:29 f1417ff83b31: Layer already exists 00:44:29 3.0.0-dev.51: digest: sha256:cca969d4fbb1018bdcbd73f8880879bdf46afe90ca8f1040dbda03ec0007e58f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:44:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:44:29 85966c0135d2: Preparing 00:44:29 39b893dcaa5e: Preparing 00:44:29 48b5626ed083: Preparing 00:44:29 41ba157c46b5: Preparing 00:44:29 3827b5b91e75: Preparing 00:44:29 acc83c6ca332: Preparing 00:44:29 485a88fd1210: Preparing 00:44:29 4271a62beb5c: Preparing 00:44:29 a6b1b26833df: Preparing 00:44:29 cc0de9508810: Preparing 00:44:29 8e8b2c2a7f0d: Preparing 00:44:29 523c57d07102: Preparing 00:44:29 485a88fd1210: Waiting 00:44:29 cc0de9508810: Waiting 00:44:29 4271a62beb5c: Waiting 00:44:29 a6b1b26833df: Waiting 00:44:29 acc83c6ca332: Waiting 00:44:29 8e8b2c2a7f0d: Waiting 00:44:29 f1417ff83b31: Preparing 00:44:29 523c57d07102: Waiting 00:44:29 85966c0135d2: Layer already exists 00:44:29 41ba157c46b5: Layer already exists 00:44:29 39b893dcaa5e: Layer already exists 00:44:29 3827b5b91e75: Layer already exists 00:44:29 48b5626ed083: Layer already exists 00:44:29 acc83c6ca332: Layer already exists 00:44:29 485a88fd1210: Layer already exists 00:44:29 a6b1b26833df: Layer already exists 00:44:29 4271a62beb5c: Layer already exists 00:44:29 cc0de9508810: Layer already exists 00:44:29 523c57d07102: Layer already exists 00:44:29 8e8b2c2a7f0d: Layer already exists 00:44:29 f1417ff83b31: Layer already exists 00:44:29 05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51: digest: sha256:cca969d4fbb1018bdcbd73f8880879bdf46afe90ca8f1040dbda03ec0007e58f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:44:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:44:30 85966c0135d2: Preparing 00:44:30 39b893dcaa5e: Preparing 00:44:30 48b5626ed083: Preparing 00:44:30 41ba157c46b5: Preparing 00:44:30 3827b5b91e75: Preparing 00:44:30 acc83c6ca332: Preparing 00:44:30 485a88fd1210: Preparing 00:44:30 4271a62beb5c: Preparing 00:44:30 a6b1b26833df: Preparing 00:44:30 cc0de9508810: Preparing 00:44:30 8e8b2c2a7f0d: Preparing 00:44:30 523c57d07102: Preparing 00:44:30 f1417ff83b31: Preparing 00:44:30 acc83c6ca332: Waiting 00:44:30 485a88fd1210: Waiting 00:44:30 4271a62beb5c: Waiting 00:44:30 a6b1b26833df: Waiting 00:44:30 cc0de9508810: Waiting 00:44:30 8e8b2c2a7f0d: Waiting 00:44:30 523c57d07102: Waiting 00:44:30 f1417ff83b31: Waiting 00:44:30 41ba157c46b5: Layer already exists 00:44:30 48b5626ed083: Layer already exists 00:44:30 85966c0135d2: Layer already exists 00:44:30 39b893dcaa5e: Layer already exists 00:44:30 3827b5b91e75: Layer already exists 00:44:30 acc83c6ca332: Layer already exists 00:44:30 485a88fd1210: Layer already exists 00:44:30 a6b1b26833df: Layer already exists 00:44:30 4271a62beb5c: Layer already exists 00:44:30 523c57d07102: Layer already exists 00:44:30 cc0de9508810: Layer already exists 00:44:30 8e8b2c2a7f0d: Layer already exists 00:44:30 f1417ff83b31: Layer already exists 00:44:30 main: digest: sha256:cca969d4fbb1018bdcbd73f8880879bdf46afe90ca8f1040dbda03ec0007e58f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:44:30 ===================================================== [Pipeline] echo 00:44:30 taggedImages: 00:44:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:44:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:44:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.51 00:44:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:44:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:30 00:44:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:30 latest: Pulling from edgex-lftools-log-publisher 00:44:30 5eb5b503b376: Pulling fs layer 00:44:30 5c69ac0246d0: Pulling fs layer 00:44:30 ec43610c2a17: Pulling fs layer 00:44:30 3a2ae6a8a46f: Pulling fs layer 00:44:30 33b1e0a273af: Pulling fs layer 00:44:30 5d3b04190fa2: Pulling fs layer 00:44:30 2f39f015ded8: Pulling fs layer 00:44:30 2f39f015ded8: Waiting 00:44:30 5d3b04190fa2: Waiting 00:44:30 3a2ae6a8a46f: Waiting 00:44:30 33b1e0a273af: Waiting 00:44:30 5c69ac0246d0: Verifying Checksum 00:44:30 5c69ac0246d0: Download complete 00:44:30 3a2ae6a8a46f: Verifying Checksum 00:44:30 3a2ae6a8a46f: Download complete 00:44:30 33b1e0a273af: Verifying Checksum 00:44:30 33b1e0a273af: Download complete 00:44:30 5d3b04190fa2: Download complete 00:44:30 ec43610c2a17: Verifying Checksum 00:44:30 ec43610c2a17: Download complete 00:44:31 5eb5b503b376: Verifying Checksum 00:44:31 5eb5b503b376: Download complete 00:44:31 2f39f015ded8: Download complete 00:44:32 5eb5b503b376: Pull complete 00:44:32 5c69ac0246d0: Pull complete 00:44:33 ec43610c2a17: Pull complete 00:44:33 3a2ae6a8a46f: Pull complete 00:44:33 33b1e0a273af: Pull complete 00:44:33 5d3b04190fa2: Pull complete 00:44:38 2f39f015ded8: Pull complete 00:44:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:38 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:42 $ docker top 8cf904ca9f03224c02c35143fec631431f09deb21b485b6dee789670301a0160 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:42 ---> job-cost.sh 00:44:42 lf-activate-venv: SKIPPING 00:44:42 INFO: No Stack... 00:44:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:43 INFO: Archiving Costs [Pipeline] sh 00:44:43 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:44:43 + cut -d, -f6 [Pipeline] lock 00:44:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] 00:44:43 Resource [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] did not exist. Created. 00:44:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:44 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:44 Stashed 1 file(s) [Pipeline] } 00:44:44 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:44 $ docker stop --time=1 8cf904ca9f03224c02c35143fec631431f09deb21b485b6dee789670301a0160 00:44:45 $ docker rm -f --volumes 8cf904ca9f03224c02c35143fec631431f09deb21b485b6dee789670301a0160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17423 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:46:06 Running in /w/workspace/device-usb-camera/123 [Pipeline] { [Pipeline] checkout 00:46:06 Selected Git installation does not exist. Using Default 00:46:06 The recommended git tool is: NONE 00:46:11 using credential edgex-jenkins-ssh 00:46:12 Cloning the remote Git repository 00:46:12 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:46:12 > git init /w/workspace/device-usb-camera/123 # timeout=10 00:46:12 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:46:12 > git --version # timeout=10 00:46:12 > git --version # 'git version 2.25.1' 00:46:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:46:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:14 Avoid second fetch 00:46:14 Checking out Revision 05403b6a683e6ef1b05fd0156b4e25393cee8eba (main) 00:46:14 Commit message: "Merge pull request #260 from lenny-intel/update-main-warning" 00:46:14 > git config core.sparsecheckout # timeout=10 00:46:14 > git checkout -f 05403b6a683e6ef1b05fd0156b4e25393cee8eba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:46:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:15 Dload Upload Total Spent Left Speed 00:46:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 00:46:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:46:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:46:16 + sudo tee /etc/docker/daemon.new 00:46:16 { 00:46:16 "registry-mirrors": [ 00:46:16 "https://nexus3.edgexfoundry.org:10001" 00:46:16 ], 00:46:16 "bip": "10.250.0.254/24", 00:46:16 "hosts": [ 00:46:16 "tcp://0.0.0.0:5555", 00:46:16 "unix:///var/run/docker.sock" 00:46:16 ], 00:46:16 "mtu": 1458, 00:46:16 "selinux-enabled": true, 00:46:16 "seccomp-profile": "/etc/docker/seccomp.json" 00:46:16 } [Pipeline] sh 00:46:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:46:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:36 provisioning config files... 00:46:36 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/123@tmp/config4523720973556127286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:36 ---> docker-login.sh 00:46:36 nexus3.edgexfoundry.org:10001 00:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:38 Configure a credential helper to remove this warning. See 00:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:38 00:46:38 Login Succeeded 00:46:38 nexus3.edgexfoundry.org:10002 00:46:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:39 Configure a credential helper to remove this warning. See 00:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:39 00:46:39 Login Succeeded 00:46:39 nexus3.edgexfoundry.org:10003 00:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:39 Configure a credential helper to remove this warning. See 00:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:39 00:46:39 Login Succeeded 00:46:39 nexus3.edgexfoundry.org:10004 00:46:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:39 Configure a credential helper to remove this warning. See 00:46:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:39 00:46:39 Login Succeeded 00:46:39 docker.io 00:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:40 Configure a credential helper to remove this warning. See 00:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:40 00:46:40 Login Succeeded 00:46:40 ---> docker-login.sh ends [Pipeline] } 00:46:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:40 ========================================================= 00:46:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:46:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:46:41 Sending build context to Docker daemon 1.156MB 00:46:41 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:46:41 Step 2/13 : FROM ${BASE} AS builder 00:46:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:41 c41833b44d91: Pulling fs layer 00:46:41 ed15518f5707: Pulling fs layer 00:46:41 feae8fd75edb: Pulling fs layer 00:46:41 242c74f7c9fa: Pulling fs layer 00:46:41 3cdef696dda3: Pulling fs layer 00:46:41 2ced38df9373: Pulling fs layer 00:46:41 58f1dce35555: Pulling fs layer 00:46:41 2ced38df9373: Waiting 00:46:41 242c74f7c9fa: Waiting 00:46:41 3cdef696dda3: Waiting 00:46:41 58f1dce35555: Waiting 00:46:41 ed15518f5707: Verifying Checksum 00:46:41 ed15518f5707: Download complete 00:46:41 242c74f7c9fa: Verifying Checksum 00:46:41 242c74f7c9fa: Download complete 00:46:41 3cdef696dda3: Verifying Checksum 00:46:41 3cdef696dda3: Download complete 00:46:41 c41833b44d91: Verifying Checksum 00:46:42 c41833b44d91: Pull complete 00:46:42 58f1dce35555: Verifying Checksum 00:46:42 58f1dce35555: Download complete 00:46:43 ed15518f5707: Pull complete 00:46:44 feae8fd75edb: Verifying Checksum 00:46:44 feae8fd75edb: Download complete 00:46:44 2ced38df9373: Verifying Checksum 00:46:44 2ced38df9373: Download complete 00:46:56 feae8fd75edb: Pull complete 00:46:56 242c74f7c9fa: Pull complete 00:46:56 3cdef696dda3: Pull complete 00:47:03 2ced38df9373: Pull complete 00:47:04 58f1dce35555: Pull complete 00:47:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:47:04 ---> fadd8f120f05 00:47:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:47:06 ---> Running in 292efa0e556c 00:47:06 Removing intermediate container 292efa0e556c 00:47:06 ---> 96342a919e67 00:47:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:47:06 ---> Running in 68c3eaffc68c 00:47:07 Removing intermediate container 68c3eaffc68c 00:47:07 ---> efb8c7b85942 00:47:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:47:07 ---> Running in d29b2c6f4760 00:47:07 Removing intermediate container d29b2c6f4760 00:47:07 ---> 5f25db52f9cf 00:47:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:47:07 ---> Running in 386bac9bd925 00:47:07 Removing intermediate container 386bac9bd925 00:47:07 ---> 75cdb0bc1fe4 00:47:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:07 ---> Running in 7fe58dcef803 00:47:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:47:10 (1/14) Installing libintl (0.21.1-r1) 00:47:10 (2/14) Installing eudev-libs (3.2.11-r4) 00:47:10 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:47:10 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:47:10 (5/14) Installing v4l-utils (1.22.1-r2) 00:47:10 (6/14) Installing udev-init-scripts (35-r1) 00:47:10 (7/14) Installing libblkid (2.38.1-r1) 00:47:10 (8/14) Installing xz-libs (5.2.9-r0) 00:47:10 (9/14) Installing zstd-libs (1.5.5-r0) 00:47:10 (10/14) Installing kmod-libs (30-r1) 00:47:10 (11/14) Installing eudev (3.2.11-r4) 00:47:10 (12/14) Installing eudev-dev (3.2.11-r4) 00:47:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:47:10 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:47:10 Executing busybox-1.35.0-r29.trigger 00:47:10 Executing eudev-3.2.11-r4.trigger 00:47:10 OK: 271 MiB in 67 packages 00:47:12 Removing intermediate container 7fe58dcef803 00:47:12 ---> 76920c746192 00:47:12 Step 8/13 : WORKDIR /device-usb-camera 00:47:12 ---> Running in 4f284ff1fdaa 00:47:12 Removing intermediate container 4f284ff1fdaa 00:47:12 ---> 3800b2b27688 00:47:12 Step 9/13 : COPY go.mod vendor* ./ 00:47:13 ---> a8b0abef1445 00:47:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:13 ---> Running in dff176288922 00:48:21 Removing intermediate container dff176288922 00:48:21 ---> dabae69305ca 00:48:21 Step 11/13 : COPY . . 00:48:21 ---> e7e02a5f6190 00:48:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:48:21 ---> Running in 342dfd7bc4a0 00:48:21  % Total % Received % Xferd Average Speed Time Time Time Current 00:48:21 Dload Upload Total Spent Left Speed 00:48:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3157 0 --:--:-- --:--:-- --:--:-- 3170 00:48:21 Removing intermediate container 342dfd7bc4a0 00:48:21 ---> d1152af17e3e 00:48:21 Step 13/13 : RUN ${MAKE} 00:48:21 ---> Running in 4272ca1df4a9 00:48:21 noop 00:48:21 Removing intermediate container 4272ca1df4a9 00:48:21 ---> c95d3873de83 00:48:21 Successfully built c95d3873de83 00:48:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:21 + docker inspect -f . ci-base-image-arm64 00:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:22 prd-ubuntu20.04-docker-arm64-4c-16g-17423 does not seem to be running inside a container 00:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/123 -v /w/workspace/device-usb-camera/123:/w/workspace/device-usb-camera/123:rw,z -v /w/workspace/device-usb-camera/123@tmp:/w/workspace/device-usb-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:48:23 $ docker top e6fed25988716ac78d8e20b9f99646a756348ae868a3b082c4f31a9a18e18a48 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:24 + go version 00:48:24 go version go1.20.2 linux/arm64 [Pipeline] } 00:48:24 $ docker stop --time=1 e6fed25988716ac78d8e20b9f99646a756348ae868a3b082c4f31a9a18e18a48 00:48:25 $ docker rm -f --volumes e6fed25988716ac78d8e20b9f99646a756348ae868a3b082c4f31a9a18e18a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:26 + docker inspect -f . ci-base-image-arm64 00:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:26 prd-ubuntu20.04-docker-arm64-4c-16g-17423 does not seem to be running inside a container 00:48:26 $ 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/123 -v /w/workspace/device-usb-camera/123:/w/workspace/device-usb-camera/123:rw,z -v /w/workspace/device-usb-camera/123@tmp:/w/workspace/device-usb-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:48:27 $ docker top 6b78b916a9959862bd33baa2142e323f280a71d2d8bf2edebbe7080052877feb -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/123 [Pipeline] fileExists [Pipeline] sh 00:48:29 + make test 00:48:29 go test ./... -coverprofile=coverage.out ./... 00:49:01 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:51:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:51:08 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.073s coverage: 1.6% of statements 00:51:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:51:08 go vet ./... 00:51:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:51:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:51:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:51:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:51:41 $ docker stop --time=1 6b78b916a9959862bd33baa2142e323f280a71d2d8bf2edebbe7080052877feb 00:51:43 $ docker rm -f --volumes 6b78b916a9959862bd33baa2142e323f280a71d2d8bf2edebbe7080052877feb [Pipeline] // withDockerContainer [Pipeline] sh 00:51:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:51:44 Warning: overwriting stash ‘coverage-report’ 00:51:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:51:45 + ls -al . 00:51:45 total 192 00:51:45 drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:48 . 00:51:45 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:46 .. 00:51:45 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:46 .git 00:51:45 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:46 .github 00:51:45 -rw-rw-r-- 1 jenkins jenkins 414 May 31 00:46 .gitignore 00:51:45 -rw-rw-r-- 1 jenkins jenkins 45 May 31 00:46 .golangci.yml 00:51:45 -rw-rw-r-- 1 jenkins jenkins 77 May 31 00:46 .hadolint.yml 00:51:45 -rw-rw-r-- 1 jenkins jenkins 9665 May 31 00:46 Attribution.txt 00:51:45 -rw-rw-r-- 1 jenkins jenkins 11903 May 31 00:46 CHANGELOG.md 00:51:45 -rw-rw-r-- 1 jenkins jenkins 2453 May 31 00:46 Dockerfile 00:51:45 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:46 GOVERNANCE.md 00:51:45 -rw-rw-r-- 1 jenkins jenkins 659 May 31 00:46 Jenkinsfile 00:51:45 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 00:46 LICENSE 00:51:45 -rw-rw-r-- 1 jenkins jenkins 2364 May 31 00:46 Makefile 00:51:45 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:46 OWNERS.md 00:51:45 -rw-rw-r-- 1 jenkins jenkins 2575 May 31 00:46 README.md 00:51:45 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:42 VERSION 00:51:45 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:46 bin 00:51:45 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:46 cmd 00:51:45 -rw-r--r-- 1 jenkins jenkins 35569 May 31 00:51 coverage.out 00:51:45 -rwxrwxr-x 1 jenkins jenkins 140 May 31 00:46 docker-entrypoint.sh 00:51:45 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:46 docs 00:51:45 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 00:46 go.mod 00:51:45 -rw-rw-r-- 1 jenkins jenkins 31392 May 31 00:46 go.sum 00:51:45 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:46 internal 00:51:45 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:46 snap 00:51:45 -rw-rw-r-- 1 jenkins jenkins 231 May 31 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:46 + 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=05403b6a683e6ef1b05fd0156b4e25393cee8eba --label arch=arm64 --label version=3.0.0-dev.51 . 00:51:46 Sending build context to Docker daemon 1.192MB 00:51:46 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:51:46 Step 2/36 : FROM ${BASE} AS builder 00:51:46 ---> c95d3873de83 00:51:46 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:51:46 ---> Running in 7825140b63c3 00:51:46 Removing intermediate container 7825140b63c3 00:51:46 ---> c8a63ab12fe1 00:51:46 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:46 ---> Running in 7383a5c4efab 00:51:47 Removing intermediate container 7383a5c4efab 00:51:47 ---> d0e2a12907d6 00:51:47 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:51:47 ---> Running in 00d001e7949c 00:51:47 Removing intermediate container 00d001e7949c 00:51:47 ---> 1811e080fad7 00:51:47 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:51:47 ---> Running in 7bab44d738f6 00:51:47 Removing intermediate container 7bab44d738f6 00:51:47 ---> c96accc7ba34 00:51:47 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:47 ---> Running in 7cbf88081b83 00:51:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:51:50 OK: 271 MiB in 67 packages 00:51:51 Removing intermediate container 7cbf88081b83 00:51:51 ---> 87c16512f502 00:51:51 Step 8/36 : WORKDIR /device-usb-camera 00:51:51 ---> Running in cf19c0bcf963 00:51:51 Removing intermediate container cf19c0bcf963 00:51:51 ---> ceaeb06a2279 00:51:51 Step 9/36 : COPY go.mod vendor* ./ 00:51:52 ---> 1a7e49a6e009 00:51:52 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:52 ---> Running in 83b0f59f303c 00:51:54 Removing intermediate container 83b0f59f303c 00:51:54 ---> 899234204144 00:51:54 Step 11/36 : COPY . . 00:51:55 ---> bbc64fb5ad63 00:51:55 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:51:55 ---> Running in 5335ca017cbe 00:51:56  % Total % Received % Xferd Average Speed Time Time Time Current 00:51:56 Dload Upload Total Spent Left Speed 00:51:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4019 0 --:--:-- --:--:-- --:--:-- 4038 00:51:57 Removing intermediate container 5335ca017cbe 00:51:57 ---> ca7d42337b10 00:51:57 Step 13/36 : RUN ${MAKE} 00:51:57 ---> Running in fe53a9cdc017 00:51:58 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.51" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:54:34 Removing intermediate container fe53a9cdc017 00:54:34 ---> 7bb42f0f5a9d 00:54:34 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:54:34 v0.21.6: Pulling from aler9/rtsp-simple-server 00:54:34 8766b47fe142: Pulling fs layer 00:54:34 8766b47fe142: Verifying Checksum 00:54:34 8766b47fe142: Download complete 00:54:34 8766b47fe142: Pull complete 00:54:34 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:54:34 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:54:34 ---> 69d40e2cb93c 00:54:34 Step 15/36 : FROM alpine:3.17 00:54:34 3.17: Pulling from library/alpine 00:54:34 c41833b44d91: Already exists 00:54:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:54:34 Status: Downloaded newer image for alpine:3.17 00:54:34 ---> 51e60588ff2c 00:54:34 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:54:34 ---> Running in 48542d5b74ca 00:54:34 Removing intermediate container 48542d5b74ca 00:54:34 ---> b4b1116b7126 00:54:34 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:54:34 ---> Running in e330f698c2a1 00:54:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:54:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:54:34 (1/83) Installing dumb-init (1.2.5-r2) 00:54:34 (2/83) Installing sdl2 (2.26.5-r0) 00:54:34 (3/83) Installing libxau (1.0.10-r0) 00:54:34 (4/83) Installing libmd (1.0.4-r0) 00:54:34 (5/83) Installing libbsd (0.11.7-r0) 00:54:34 (6/83) Installing libxdmcp (1.1.4-r0) 00:54:34 (7/83) Installing libxcb (1.15-r0) 00:54:34 (8/83) Installing libx11 (1.8.4-r0) 00:54:34 (9/83) Installing aom-libs (3.5.0-r0) 00:54:34 (10/83) Installing alsa-lib (1.2.8-r0) 00:54:34 (11/83) Installing libexpat (2.5.0-r0) 00:54:34 (12/83) Installing brotli-libs (1.0.9-r9) 00:54:34 (13/83) Installing libbz2 (1.0.8-r4) 00:54:34 (14/83) Installing libpng (1.6.38-r0) 00:54:34 (15/83) Installing freetype (2.12.1-r0) 00:54:34 (16/83) Installing fontconfig (2.14.1-r0) 00:54:34 (17/83) Installing fribidi (1.0.12-r0) 00:54:34 (18/83) Installing libffi (3.4.4-r0) 00:54:34 (19/83) Installing libintl (0.21.1-r1) 00:54:34 (20/83) Installing libblkid (2.38.1-r1) 00:54:34 (21/83) Installing libmount (2.38.1-r1) 00:54:34 (22/83) Installing pcre2 (10.42-r0) 00:54:34 (23/83) Installing glib (2.74.7-r0) 00:54:34 (24/83) Installing graphite2 (1.3.14-r2) 00:54:34 (25/83) Installing harfbuzz (5.3.1-r1) 00:54:34 (26/83) Installing libass (0.16.0-r1) 00:54:34 (27/83) Installing libdav1d (1.0.0-r2) 00:54:34 (28/83) Installing libdrm (2.4.114-r0) 00:54:34 (29/83) Installing gmp (6.2.1-r2) 00:54:34 (30/83) Installing nettle (3.8.1-r0) 00:54:34 (31/83) Installing p11-kit (0.24.1-r1) 00:54:34 (32/83) Installing libtasn1 (4.19.0-r0) 00:54:34 (33/83) Installing libunistring (1.1-r0) 00:54:34 (34/83) Installing gnutls (3.7.8-r3) 00:54:34 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:54:34 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 00:54:34 (37/83) Installing lame (3.100-r2) 00:54:34 (38/83) Installing opus (1.3.1-r1) 00:54:34 (39/83) Installing libasyncns (0.8-r1) 00:54:34 (40/83) Installing dbus-libs (1.14.4-r0) 00:54:34 (41/83) Installing libltdl (2.4.7-r1) 00:54:34 (42/83) Installing orc (0.4.33-r0) 00:54:34 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:54:34 (44/83) Installing libogg (1.3.5-r2) 00:54:34 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:54:34 (46/83) Installing flac-libs (1.4.2-r0) 00:54:34 (47/83) Installing libvorbis (1.3.7-r0) 00:54:34 (48/83) Installing libsndfile (1.1.0-r2) 00:54:34 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:54:34 (50/83) Installing soxr (0.1.3-r3) 00:54:34 (51/83) Installing speexdsp (1.2.1-r0) 00:54:34 (52/83) Installing tdb-libs (1.4.6-r0) 00:54:34 (53/83) Installing libpulse (16.1-r6) 00:54:34 (54/83) Installing cjson (1.7.15-r3) 00:54:34 (55/83) Installing mbedtls (2.28.3-r0) 00:54:34 (56/83) Installing librist (0.2.7-r0) 00:54:34 (57/83) Installing libsrt (1.5.1-r0) 00:54:34 (58/83) Installing libssh (0.10.5-r0) 00:54:34 (59/83) Installing libtheora (1.1.1-r16) 00:54:34 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:54:34 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:54:34 (62/83) Installing libxext (1.3.5-r0) 00:54:34 (63/83) Installing libxfixes (6.0.0-r0) 00:54:34 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:54:34 (65/83) Installing libva (2.16.0-r0) 00:54:34 (66/83) Installing libvdpau (1.5-r0) 00:54:34 (67/83) Installing vidstab (1.1.0-r2) 00:54:34 (68/83) Installing libvpx (1.12.0-r1) 00:54:34 (69/83) Installing libwebp (1.2.4-r2) 00:54:34 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:54:34 (71/83) Installing numactl (2.0.16-r1) 00:54:34 (72/83) Installing x265-libs (3.5-r3) 00:54:34 (73/83) Installing xvidcore (1.3.7-r1) 00:54:34 (74/83) Installing libsodium (1.0.18-r2) 00:54:34 (75/83) Installing libzmq (4.3.4-r1) 00:54:34 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:54:34 (77/83) Installing ffmpeg (5.1.3-r0) 00:54:34 (78/83) Installing udev-init-scripts (35-r1) 00:54:34 (79/83) Installing eudev-libs (3.2.11-r4) 00:54:34 (80/83) Installing xz-libs (5.2.9-r0) 00:54:34 (81/83) Installing zstd-libs (1.5.5-r0) 00:54:34 (82/83) Installing kmod-libs (30-r1) 00:54:34 (83/83) Installing eudev (3.2.11-r4) 00:54:34 Executing busybox-1.35.0-r29.trigger 00:54:34 Executing eudev-3.2.11-r4.trigger 00:54:34 OK: 86 MiB in 98 packages 00:54:35 Removing intermediate container e330f698c2a1 00:54:35 ---> 376b9f1a33be 00:54:35 Step 18/36 : WORKDIR / 00:54:35 ---> Running in 13e1666d9bb1 00:54:36 Removing intermediate container 13e1666d9bb1 00:54:36 ---> 6765638c951e 00:54:36 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:54:40 ---> 1fee1ee80a99 00:54:40 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:54:40 ---> 83f6373978c7 00:54:40 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:54:41 ---> ee6196afdfcd 00:54:41 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:54:41 ---> a23d49a8293b 00:54:41 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:54:42 ---> 9c76c0405908 00:54:42 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:54:43 ---> 463c8748ad58 00:54:43 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:54:44 ---> 4291880213f5 00:54:44 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:54:44 ---> Running in 84f65acf6351 00:54:46 Removing intermediate container 84f65acf6351 00:54:46 ---> 50affdb5d359 00:54:46 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:54:46 ---> Running in bb99b6c2ebfa 00:54:47 Removing intermediate container bb99b6c2ebfa 00:54:47 ---> cf953f520a35 00:54:47 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:54:47 ---> Running in 8bcf59d54502 00:54:49 Removing intermediate container 8bcf59d54502 00:54:49 ---> 5592055ee002 00:54:49 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:54:49 ---> Running in d6f7d0c86428 00:54:51 Removing intermediate container d6f7d0c86428 00:54:51 ---> 490ddb66aeaa 00:54:51 Step 30/36 : EXPOSE 59983 00:54:51 ---> Running in 07112ca6b9f5 00:54:51 Removing intermediate container 07112ca6b9f5 00:54:51 ---> d065fcd4569d 00:54:51 Step 31/36 : EXPOSE 8554 00:54:51 ---> Running in 4eb33fd4a709 00:54:51 Removing intermediate container 4eb33fd4a709 00:54:51 ---> 4ff8a64e002d 00:54:51 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:54:51 ---> Running in a6d17b304738 00:54:52 Removing intermediate container a6d17b304738 00:54:52 ---> d78027655aa5 00:54:52 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:54:52 ---> Running in 0c3fe96e1ee0 00:54:52 Removing intermediate container 0c3fe96e1ee0 00:54:52 ---> 07cc83b6cdb7 00:54:52 Step 34/36 : LABEL arch=arm64 00:54:52 ---> Running in 2f6600509b26 00:54:52 Removing intermediate container 2f6600509b26 00:54:52 ---> 30425c43306f 00:54:52 Step 35/36 : LABEL git_sha=05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:54:53 ---> Running in 3f72faf4ecc6 00:54:53 Removing intermediate container 3f72faf4ecc6 00:54:53 ---> fd63fbfa498f 00:54:53 Step 36/36 : LABEL version=3.0.0-dev.51 00:54:53 ---> Running in 0dcaf51b592d 00:54:53 Removing intermediate container 0dcaf51b592d 00:54:53 ---> 8b7916985cca 00:54:53 [Warning] One or more build-args [ARCH] were not consumed 00:54:53 Successfully built 8b7916985cca 00:54:53 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:53 provisioning config files... 00:54:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/123@tmp/config5301082646622874608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:54 ---> docker-login.sh 00:54:54 nexus3.edgexfoundry.org:10001 00:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:54 Configure a credential helper to remove this warning. See 00:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:54 00:54:54 Login Succeeded 00:54:54 nexus3.edgexfoundry.org:10002 00:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:54 Configure a credential helper to remove this warning. See 00:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:54 00:54:54 Login Succeeded 00:54:54 nexus3.edgexfoundry.org:10003 00:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 nexus3.edgexfoundry.org:10004 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 docker.io 00:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:55 Configure a credential helper to remove this warning. See 00:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:55 00:54:55 Login Succeeded 00:54:55 ---> docker-login.sh ends [Pipeline] } 00:54:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:55 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:54:55 05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:54:55 latest 00:54:55 3.0.0-dev.51 00:54:55 05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:54:55 main 00:54:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:54:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:54:56 4bf6629b6bc3: Preparing 00:54:56 4caf2f4cdbd4: Preparing 00:54:56 d491b0e86efd: Preparing 00:54:56 6c48ed953ea6: Preparing 00:54:56 608d194cb50c: Preparing 00:54:56 acc83c6ca332: Preparing 00:54:56 9d44b09dd5b4: Preparing 00:54:56 206b80cd281b: Preparing 00:54:56 663d33b33c76: Preparing 00:54:56 b7239c3d9442: Preparing 00:54:56 7b49541e810c: Preparing 00:54:56 aa0ebb1ea2f4: Preparing 00:54:56 26cbea5cba74: Preparing 00:54:56 663d33b33c76: Waiting 00:54:56 b7239c3d9442: Waiting 00:54:56 7b49541e810c: Waiting 00:54:56 acc83c6ca332: Waiting 00:54:56 aa0ebb1ea2f4: Waiting 00:54:56 9d44b09dd5b4: Waiting 00:54:56 26cbea5cba74: Waiting 00:54:56 4caf2f4cdbd4: Pushed 00:54:56 6c48ed953ea6: Pushed 00:54:56 4bf6629b6bc3: Pushed 00:54:56 d491b0e86efd: Pushed 00:54:57 206b80cd281b: Pushed 00:54:57 663d33b33c76: Pushed 00:54:57 acc83c6ca332: Pushed 00:54:57 9d44b09dd5b4: Pushed 00:54:57 26cbea5cba74: Layer already exists 00:54:57 b7239c3d9442: Pushed 00:55:02 608d194cb50c: Pushed 00:55:03 7b49541e810c: Pushed 00:55:13 aa0ebb1ea2f4: Pushed 00:55:13 05403b6a683e6ef1b05fd0156b4e25393cee8eba: digest: sha256:39355b1c207b58b5a064e9d83007305398850c32d9722ef45cc24aa9eaa87dc5 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:13 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:14 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:55:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:55:14 4bf6629b6bc3: Preparing 00:55:14 4caf2f4cdbd4: Preparing 00:55:14 d491b0e86efd: Preparing 00:55:14 6c48ed953ea6: Preparing 00:55:14 608d194cb50c: Preparing 00:55:14 acc83c6ca332: Preparing 00:55:14 9d44b09dd5b4: Preparing 00:55:14 206b80cd281b: Preparing 00:55:14 663d33b33c76: Preparing 00:55:14 b7239c3d9442: Preparing 00:55:14 7b49541e810c: Preparing 00:55:14 aa0ebb1ea2f4: Preparing 00:55:14 26cbea5cba74: Preparing 00:55:14 663d33b33c76: Waiting 00:55:14 b7239c3d9442: Waiting 00:55:14 7b49541e810c: Waiting 00:55:14 26cbea5cba74: Waiting 00:55:14 acc83c6ca332: Waiting 00:55:14 aa0ebb1ea2f4: Waiting 00:55:14 9d44b09dd5b4: Waiting 00:55:14 206b80cd281b: Waiting 00:55:14 608d194cb50c: Layer already exists 00:55:14 6c48ed953ea6: Layer already exists 00:55:14 4bf6629b6bc3: Layer already exists 00:55:14 4caf2f4cdbd4: Layer already exists 00:55:14 d491b0e86efd: Layer already exists 00:55:14 9d44b09dd5b4: Layer already exists 00:55:14 206b80cd281b: Layer already exists 00:55:14 acc83c6ca332: Layer already exists 00:55:14 663d33b33c76: Layer already exists 00:55:14 b7239c3d9442: Layer already exists 00:55:14 7b49541e810c: Layer already exists 00:55:14 aa0ebb1ea2f4: Layer already exists 00:55:14 26cbea5cba74: Layer already exists 00:55:14 latest: digest: sha256:39355b1c207b58b5a064e9d83007305398850c32d9722ef45cc24aa9eaa87dc5 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:14 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.51 00:55:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:55:15 4bf6629b6bc3: Preparing 00:55:15 4caf2f4cdbd4: Preparing 00:55:15 d491b0e86efd: Preparing 00:55:15 6c48ed953ea6: Preparing 00:55:15 608d194cb50c: Preparing 00:55:15 acc83c6ca332: Preparing 00:55:15 9d44b09dd5b4: Preparing 00:55:15 206b80cd281b: Preparing 00:55:15 663d33b33c76: Preparing 00:55:15 b7239c3d9442: Preparing 00:55:15 7b49541e810c: Preparing 00:55:15 aa0ebb1ea2f4: Preparing 00:55:15 26cbea5cba74: Preparing 00:55:15 663d33b33c76: Waiting 00:55:15 aa0ebb1ea2f4: Waiting 00:55:15 26cbea5cba74: Waiting 00:55:15 acc83c6ca332: Waiting 00:55:15 9d44b09dd5b4: Waiting 00:55:15 b7239c3d9442: Waiting 00:55:15 206b80cd281b: Waiting 00:55:15 7b49541e810c: Waiting 00:55:15 4caf2f4cdbd4: Layer already exists 00:55:15 d491b0e86efd: Layer already exists 00:55:15 6c48ed953ea6: Layer already exists 00:55:15 608d194cb50c: Layer already exists 00:55:15 4bf6629b6bc3: Layer already exists 00:55:15 acc83c6ca332: Layer already exists 00:55:15 9d44b09dd5b4: Layer already exists 00:55:15 206b80cd281b: Layer already exists 00:55:15 b7239c3d9442: Layer already exists 00:55:15 663d33b33c76: Layer already exists 00:55:15 26cbea5cba74: Layer already exists 00:55:15 7b49541e810c: Layer already exists 00:55:15 aa0ebb1ea2f4: Layer already exists 00:55:15 3.0.0-dev.51: digest: sha256:39355b1c207b58b5a064e9d83007305398850c32d9722ef45cc24aa9eaa87dc5 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:55:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:55:16 4bf6629b6bc3: Preparing 00:55:16 4caf2f4cdbd4: Preparing 00:55:16 d491b0e86efd: Preparing 00:55:16 6c48ed953ea6: Preparing 00:55:16 608d194cb50c: Preparing 00:55:16 acc83c6ca332: Preparing 00:55:16 9d44b09dd5b4: Preparing 00:55:16 206b80cd281b: Preparing 00:55:16 663d33b33c76: Preparing 00:55:16 b7239c3d9442: Preparing 00:55:16 7b49541e810c: Preparing 00:55:16 aa0ebb1ea2f4: Preparing 00:55:16 26cbea5cba74: Preparing 00:55:16 acc83c6ca332: Waiting 00:55:16 9d44b09dd5b4: Waiting 00:55:16 206b80cd281b: Waiting 00:55:16 7b49541e810c: Waiting 00:55:16 663d33b33c76: Waiting 00:55:16 b7239c3d9442: Waiting 00:55:16 26cbea5cba74: Waiting 00:55:16 aa0ebb1ea2f4: Waiting 00:55:16 d491b0e86efd: Layer already exists 00:55:16 4caf2f4cdbd4: Layer already exists 00:55:16 608d194cb50c: Layer already exists 00:55:16 4bf6629b6bc3: Layer already exists 00:55:16 6c48ed953ea6: Layer already exists 00:55:16 acc83c6ca332: Layer already exists 00:55:16 206b80cd281b: Layer already exists 00:55:16 9d44b09dd5b4: Layer already exists 00:55:16 b7239c3d9442: Layer already exists 00:55:16 663d33b33c76: Layer already exists 00:55:16 7b49541e810c: Layer already exists 00:55:16 26cbea5cba74: Layer already exists 00:55:16 aa0ebb1ea2f4: Layer already exists 00:55:16 05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51: digest: sha256:39355b1c207b58b5a064e9d83007305398850c32d9722ef45cc24aa9eaa87dc5 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:16 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:55:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:55:17 4bf6629b6bc3: Preparing 00:55:17 4caf2f4cdbd4: Preparing 00:55:17 d491b0e86efd: Preparing 00:55:17 6c48ed953ea6: Preparing 00:55:17 608d194cb50c: Preparing 00:55:17 acc83c6ca332: Preparing 00:55:17 9d44b09dd5b4: Preparing 00:55:17 206b80cd281b: Preparing 00:55:17 663d33b33c76: Preparing 00:55:17 b7239c3d9442: Preparing 00:55:17 7b49541e810c: Preparing 00:55:17 aa0ebb1ea2f4: Preparing 00:55:17 26cbea5cba74: Preparing 00:55:17 acc83c6ca332: Waiting 00:55:17 663d33b33c76: Waiting 00:55:17 b7239c3d9442: Waiting 00:55:17 9d44b09dd5b4: Waiting 00:55:17 206b80cd281b: Waiting 00:55:17 aa0ebb1ea2f4: Waiting 00:55:17 7b49541e810c: Waiting 00:55:17 26cbea5cba74: Waiting 00:55:17 6c48ed953ea6: Layer already exists 00:55:17 d491b0e86efd: Layer already exists 00:55:17 4caf2f4cdbd4: Layer already exists 00:55:17 608d194cb50c: Layer already exists 00:55:17 4bf6629b6bc3: Layer already exists 00:55:17 206b80cd281b: Layer already exists 00:55:17 9d44b09dd5b4: Layer already exists 00:55:17 acc83c6ca332: Layer already exists 00:55:17 b7239c3d9442: Layer already exists 00:55:17 663d33b33c76: Layer already exists 00:55:17 7b49541e810c: Layer already exists 00:55:17 26cbea5cba74: Layer already exists 00:55:17 aa0ebb1ea2f4: Layer already exists 00:55:17 main: digest: sha256:39355b1c207b58b5a064e9d83007305398850c32d9722ef45cc24aa9eaa87dc5 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:55:17 ===================================================== [Pipeline] echo 00:55:17 taggedImages: 00:55:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba 00:55:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:55:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.51 00:55:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:05403b6a683e6ef1b05fd0156b4e25393cee8eba-3.0.0-dev.51 00:55:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:17 00:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:18 arm64: Pulling from edgex-lftools-log-publisher 00:55:18 8998bd30e6a1: Pulling fs layer 00:55:18 04944245beec: Pulling fs layer 00:55:18 699f458cf7ca: Pulling fs layer 00:55:18 765212b225bb: Pulling fs layer 00:55:18 f23df028b6ca: Pulling fs layer 00:55:18 d65c8cfc05b1: Pulling fs layer 00:55:18 2437ff75d9bd: Pulling fs layer 00:55:18 f23df028b6ca: Waiting 00:55:18 d65c8cfc05b1: Waiting 00:55:18 2437ff75d9bd: Waiting 00:55:18 765212b225bb: Waiting 00:55:18 04944245beec: Verifying Checksum 00:55:18 04944245beec: Download complete 00:55:18 765212b225bb: Verifying Checksum 00:55:18 765212b225bb: Download complete 00:55:18 f23df028b6ca: Verifying Checksum 00:55:18 f23df028b6ca: Download complete 00:55:18 d65c8cfc05b1: Verifying Checksum 00:55:18 d65c8cfc05b1: Download complete 00:55:18 699f458cf7ca: Verifying Checksum 00:55:18 699f458cf7ca: Download complete 00:55:18 8998bd30e6a1: Verifying Checksum 00:55:18 8998bd30e6a1: Download complete 00:55:21 2437ff75d9bd: Verifying Checksum 00:55:21 2437ff75d9bd: Download complete 00:55:22 8998bd30e6a1: Pull complete 00:55:23 04944245beec: Pull complete 00:55:24 699f458cf7ca: Pull complete 00:55:24 765212b225bb: Pull complete 00:55:25 f23df028b6ca: Pull complete 00:55:25 d65c8cfc05b1: Pull complete 00:55:40 2437ff75d9bd: Pull complete 00:55:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:55:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:41 prd-ubuntu20.04-docker-arm64-4c-16g-17423 does not seem to be running inside a container 00:55:41 $ 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/123 -v /w/workspace/device-usb-camera/123:/w/workspace/device-usb-camera/123:rw,z -v /w/workspace/device-usb-camera/123@tmp:/w/workspace/device-usb-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:55:43 $ docker top db5ee2587c01acd9d48ef917543a74d73d797fb0b2f88ea8b21587c2440815ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:44 ---> job-cost.sh 00:55:44 lf-activate-venv: SKIPPING 00:55:44 INFO: No Stack... 00:55:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:55:46 INFO: Archiving Costs [Pipeline] sh 00:55:46 + cat /w/workspace/device-usb-camera/123/archives/cost.csv 00:55:46 + cut -d, -f6 [Pipeline] lock 00:55:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] 00:55:46 Resource [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] did not exist. Created. 00:55:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:55:47 /w/workspace/device-usb-camera/123@tmp/durable-f8d5f425/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:55:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:55:48 Warning: overwriting stash ‘stack-cost’ 00:55:48 Stashed 1 file(s) [Pipeline] } 00:55:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 00:55:48 $ docker stop --time=1 db5ee2587c01acd9d48ef917543a74d73d797fb0b2f88ea8b21587c2440815ac 00:55:50 $ docker rm -f --volumes db5ee2587c01acd9d48ef917543a74d73d797fb0b2f88ea8b21587c2440815ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:55:51 provisioning config files... 00:55:51 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config681628923667973232tmp [Pipeline] { [Pipeline] sh 00:55:51 + set +x 00:55:51 + bash -s -- 00:55:51 + curl -s https://codecov.io/bash 00:55:51 00:55:51 _____ _ 00:55:51 / ____| | | 00:55:51 | | ___ __| | ___ ___ _____ __ 00:55:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:55:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:55:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:55:51 Bash-1.0.6 00:55:51 00:55:51 00:55:51 ==> git version 2.25.1 found 00:55:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:55:51 Release-Date: 2020-01-08 00:55:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:55:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:55:51 ==> Jenkins CI detected. 00:55:51 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:55:51 project root: . 00:55:51 --> token set from env 00:55:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:55:51 ==> Running gcov in . (disable via -X gcov) 00:55:51 ==> Python coveragepy not found 00:55:51 ==> Searching for coverage reports in: 00:55:51 + . 00:55:51 -> Found 1 reports 00:55:51 ==> Detecting git/mercurial file structure 00:55:51 ==> Reading reports 00:55:51 + ./coverage.out bytes=35569 00:55:51 ==> Appending adjustments 00:55:51 https://docs.codecov.io/docs/fixing-reports 00:55:51 + Found adjustments 00:55:51 ==> Gzipping contents 00:55:51 8.0K /tmp/codecov.VLNd6h.gz 00:55:51 ==> Uploading reports 00:55:51 url: https://codecov.io 00:55:51 query: branch=main&commit=05403b6a683e6ef1b05fd0156b4e25393cee8eba&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:55:51 -> Pinging Codecov 00:55:51 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=05403b6a683e6ef1b05fd0156b4e25393cee8eba&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:55:51 -> Uploading to 00:55:51 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/73D8F5FF140700D3E01443B452E23636/05403b6a683e6ef1b05fd0156b4e25393cee8eba/088353e4-2093-4ba0-b4e8-cc06a464f0f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T005551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=308cf3c07e02c4d6c1e95a41bf6298824d4db038939cfbfcfc147ee02398e1ca 00:55:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:55:51 Dload Upload Total Spent Left Speed 00:55:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4860 0 0 100 4860 0 25989 --:--:-- --:--:-- --:--:-- 25989 00:55:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] } 00:55:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:55:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:55:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:55:52 00:55:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:55:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:55:52 df9b9388f04a: Pulling fs layer 00:55:52 52dc419b0ee2: Pulling fs layer 00:55:52 25bc292e5bac: Pulling fs layer 00:55:52 114826534d7a: Pulling fs layer 00:55:52 4657fd5d0bcf: Pulling fs layer 00:55:52 6ad1cebc031e: Pulling fs layer 00:55:52 8a3aa393b2d8: Pulling fs layer 00:55:52 4657fd5d0bcf: Waiting 00:55:52 6ad1cebc031e: Waiting 00:55:52 8a3aa393b2d8: Waiting 00:55:52 114826534d7a: Waiting 00:55:52 25bc292e5bac: Verifying Checksum 00:55:52 25bc292e5bac: Download complete 00:55:52 52dc419b0ee2: Verifying Checksum 00:55:52 52dc419b0ee2: Download complete 00:55:52 4657fd5d0bcf: Verifying Checksum 00:55:52 4657fd5d0bcf: Download complete 00:55:52 df9b9388f04a: Download complete 00:55:53 6ad1cebc031e: Verifying Checksum 00:55:53 6ad1cebc031e: Download complete 00:55:53 df9b9388f04a: Pull complete 00:55:53 52dc419b0ee2: Pull complete 00:55:53 25bc292e5bac: Pull complete 00:55:53 114826534d7a: Verifying Checksum 00:55:53 114826534d7a: Download complete 00:55:53 8a3aa393b2d8: Verifying Checksum 00:55:53 8a3aa393b2d8: Download complete 00:55:56 114826534d7a: Pull complete 00:55:56 4657fd5d0bcf: Pull complete 00:55:57 6ad1cebc031e: Pull complete 00:55:59 8a3aa393b2d8: Pull complete 00:55:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:55:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:55:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:59 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:55:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:56:03 $ docker top e670b8083c1e02d527b37890f7a853057667dada6acc5ee6adab3775675e49a1 -eo pid,comm [Pipeline] { [Pipeline] echo 00:56:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:56:03 + set -o pipefail 00:56:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:56:07 00:56:07 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:56:07 00:56:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/80b6cee4-838e-42af-aa1f-99deaae1d8ab 00:56:07 00:56:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:56:07 00:56:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:56:07 00:56:07 00:56:07 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:56:07 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:56:07 More details here: https://snyk.co/ue1NS [Pipeline] } 00:56:07 $ docker stop --time=1 e670b8083c1e02d527b37890f7a853057667dada6acc5ee6adab3775675e49a1 00:56:10 $ docker rm -f --volumes e670b8083c1e02d527b37890f7a853057667dada6acc5ee6adab3775675e49a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:11 + git log --format=format:%s -1 05403b6a683e6ef1b05fd0156b4e25393cee8eba [Pipeline] sh 00:56:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:56:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:56:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:12 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:56:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:56:12 $ docker top c86e58ff754edaa873e5b4886bae3e6393bb9d9ad9ea1da2c46e3008fb997a5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:12 [ssh-agent] Looking for ssh-agent implementation... 00:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:12 $ docker exec c86e58ff754edaa873e5b4886bae3e6393bb9d9ad9ea1da2c46e3008fb997a5e ssh-agent 00:56:12 SSH_AUTH_SOCK=/tmp/ssh-6gP7a4iea8fy/agent.32 00:56:12 SSH_AGENT_PID=38 00:56:12 Running ssh-add (command line suppressed) 00:56:13 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5563837597890809954.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5563837597890809954.key) 00:56:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:13 + git semver tag 00:56:13 2023-05-31 00:56:13,531 [run_tag] DEBUG tag force:False 00:56:13 2023-05-31 00:56:13,531 [check_head_tag] DEBUG check head tag 00:56:13 2023-05-31 00:56:13,533 [execute] INFO git cat-file --batch-check 00:56:13 2023-05-31 00:56:13,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:56:13 2023-05-31 00:56:13,537 [execute] INFO git cat-file --batch 00:56:13 2023-05-31 00:56:13,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:56:13 2023-05-31 00:56:13,568 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:13 2023-05-31 00:56:13,568 [execute] INFO git tag -a v3.0.0-dev.51 -m v3.0.0-dev.51 00:56:13 2023-05-31 00:56:13,569 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.51', '-m', 'v3.0.0-dev.51'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:56:13 2023-05-31 00:56:13,573 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:13 3.0.0-dev.51 [Pipeline] } 00:56:13 $ docker exec --env ******** --env ******** c86e58ff754edaa873e5b4886bae3e6393bb9d9ad9ea1da2c46e3008fb997a5e ssh-agent -k 00:56:13 unset SSH_AUTH_SOCK; 00:56:13 unset SSH_AGENT_PID; 00:56:13 echo Agent pid 38 killed; 00:56:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:14 + git semver [Pipeline] } 00:56:14 $ docker stop --time=1 c86e58ff754edaa873e5b4886bae3e6393bb9d9ad9ea1da2c46e3008fb997a5e 00:56:15 $ docker rm -f --volumes c86e58ff754edaa873e5b4886bae3e6393bb9d9ad9ea1da2c46e3008fb997a5e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:15 00:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:16 0.23.1-centos7: Pulling from edgex-lftools 00:56:16 ab5ef0e58194: Pulling fs layer 00:56:16 9712f1f96733: Pulling fs layer 00:56:16 63f879dbbcfc: Pulling fs layer 00:56:16 0d9ebad4ef96: Pulling fs layer 00:56:16 e9a5061849ea: Pulling fs layer 00:56:16 d747dcd14b5f: Pulling fs layer 00:56:16 2de7ff778b66: Pulling fs layer 00:56:16 0d9ebad4ef96: Waiting 00:56:16 e9a5061849ea: Waiting 00:56:16 2de7ff778b66: Waiting 00:56:16 d747dcd14b5f: Waiting 00:56:16 9712f1f96733: Download complete 00:56:16 63f879dbbcfc: Verifying Checksum 00:56:16 63f879dbbcfc: Download complete 00:56:16 e9a5061849ea: Verifying Checksum 00:56:16 e9a5061849ea: Download complete 00:56:16 d747dcd14b5f: Verifying Checksum 00:56:16 d747dcd14b5f: Download complete 00:56:16 ab5ef0e58194: Verifying Checksum 00:56:16 ab5ef0e58194: Download complete 00:56:16 0d9ebad4ef96: Verifying Checksum 00:56:16 0d9ebad4ef96: Download complete 00:56:17 2de7ff778b66: Verifying Checksum 00:56:17 2de7ff778b66: Download complete 00:56:19 ab5ef0e58194: Pull complete 00:56:19 9712f1f96733: Pull complete 00:56:19 63f879dbbcfc: Pull complete 00:56:23 0d9ebad4ef96: Pull complete 00:56:23 e9a5061849ea: Pull complete 00:56:23 d747dcd14b5f: Pull complete 00:56:24 2de7ff778b66: Pull complete 00:56:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:56:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:56:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:24 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:56:28 $ docker top 4ae08c92af1cf618de88e9006ebf72c8a6609ff48e636074d3edb51d7acce0cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:56:28 provisioning config files... 00:56:28 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1006826078842968267tmp 00:56:28 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14086037506131148970tmp 00:56:28 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13677679355518084044tmp [Pipeline] { [Pipeline] echo 00:56:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:56:28 ---> sigul-configuration.sh 00:56:28 gpg: directory `/root/.gnupg' created 00:56:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:56:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:56:28 gpg: keyring `/root/.gnupg/secring.gpg' created 00:56:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:56:28 gpg: CAST5 encrypted data 00:56:28 gpg: encrypted with 1 passphrase 00:56:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:56:29 + mkdir /home/jenkins 00:56:29 + mkdir /home/jenkins/sigul [Pipeline] sh 00:56:29 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:56:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:56:29 ---> sigul-install.sh 00:56:29 Sigul already installed; skipping installation. [Pipeline] sh 00:56:29 + git tag --list 00:56:29 v0.0.0 00:56:29 v0.0.1-dev.1 00:56:29 v0.0.1-dev.10 00:56:29 v0.0.1-dev.11 00:56:29 v0.0.1-dev.12 00:56:29 v0.0.1-dev.13 00:56:29 v0.0.1-dev.14 00:56:29 v0.0.1-dev.15 00:56:29 v0.0.1-dev.16 00:56:29 v0.0.1-dev.2 00:56:29 v0.0.1-dev.3 00:56:29 v0.0.1-dev.4 00:56:29 v0.0.1-dev.5 00:56:29 v0.0.1-dev.6 00:56:29 v0.0.1-dev.7 00:56:29 v0.0.1-dev.8 00:56:29 v0.0.1-dev.9 00:56:29 v2.2.0 00:56:29 v2.2.0-dev.17 00:56:29 v2.2.0-dev.18 00:56:29 v2.2.0-dev.19 00:56:29 v2.2.0-dev.20 00:56:29 v2.2.0-dev.21 00:56:29 v2.2.0-dev.22 00:56:29 v2.2.0-dev.23 00:56:29 v2.2.0-dev.24 00:56:29 v2.2.0-dev.25 00:56:29 v2.2.0-dev.26 00:56:29 v2.2.0-dev.27 00:56:29 v2.3.0 00:56:29 v2.3.0-dev.1 00:56:29 v2.3.0-dev.10 00:56:29 v2.3.0-dev.11 00:56:29 v2.3.0-dev.12 00:56:29 v2.3.0-dev.13 00:56:29 v2.3.0-dev.14 00:56:29 v2.3.0-dev.15 00:56:29 v2.3.0-dev.16 00:56:29 v2.3.0-dev.17 00:56:29 v2.3.0-dev.18 00:56:29 v2.3.0-dev.19 00:56:29 v2.3.0-dev.2 00:56:29 v2.3.0-dev.20 00:56:29 v2.3.0-dev.21 00:56:29 v2.3.0-dev.22 00:56:29 v2.3.0-dev.23 00:56:29 v2.3.0-dev.24 00:56:29 v2.3.0-dev.25 00:56:29 v2.3.0-dev.26 00:56:29 v2.3.0-dev.27 00:56:29 v2.3.0-dev.28 00:56:29 v2.3.0-dev.3 00:56:29 v2.3.0-dev.4 00:56:29 v2.3.0-dev.5 00:56:29 v2.3.0-dev.6 00:56:29 v2.3.0-dev.7 00:56:29 v2.3.0-dev.8 00:56:29 v2.3.0-dev.9 00:56:29 v2.3.1 00:56:29 v2.3.1-dev.4 00:56:29 v2.3.1-dev.5 00:56:29 v2.3.1-dev.6 00:56:29 v3.0.0-dev.1 00:56:29 v3.0.0-dev.10 00:56:29 v3.0.0-dev.11 00:56:29 v3.0.0-dev.12 00:56:29 v3.0.0-dev.13 00:56:29 v3.0.0-dev.14 00:56:29 v3.0.0-dev.15 00:56:29 v3.0.0-dev.16 00:56:29 v3.0.0-dev.17 00:56:29 v3.0.0-dev.18 00:56:29 v3.0.0-dev.19 00:56:29 v3.0.0-dev.2 00:56:29 v3.0.0-dev.20 00:56:29 v3.0.0-dev.21 00:56:29 v3.0.0-dev.22 00:56:29 v3.0.0-dev.23 00:56:29 v3.0.0-dev.24 00:56:29 v3.0.0-dev.25 00:56:29 v3.0.0-dev.26 00:56:29 v3.0.0-dev.27 00:56:29 v3.0.0-dev.28 00:56:29 v3.0.0-dev.29 00:56:29 v3.0.0-dev.3 00:56:29 v3.0.0-dev.30 00:56:29 v3.0.0-dev.31 00:56:29 v3.0.0-dev.32 00:56:29 v3.0.0-dev.33 00:56:29 v3.0.0-dev.34 00:56:29 v3.0.0-dev.35 00:56:29 v3.0.0-dev.36 00:56:29 v3.0.0-dev.37 00:56:29 v3.0.0-dev.38 00:56:29 v3.0.0-dev.39 00:56:29 v3.0.0-dev.4 00:56:29 v3.0.0-dev.40 00:56:29 v3.0.0-dev.41 00:56:29 v3.0.0-dev.42 00:56:29 v3.0.0-dev.43 00:56:29 v3.0.0-dev.44 00:56:29 v3.0.0-dev.45 00:56:29 v3.0.0-dev.46 00:56:29 v3.0.0-dev.47 00:56:29 v3.0.0-dev.48 00:56:29 v3.0.0-dev.49 00:56:29 v3.0.0-dev.5 00:56:29 v3.0.0-dev.50 00:56:29 v3.0.0-dev.51 00:56:29 v3.0.0-dev.6 00:56:29 v3.0.0-dev.7 00:56:29 v3.0.0-dev.8 00:56:29 v3.0.0-dev.9 [Pipeline] sh 00:56:30 + lftools sign git-tag v3.0.0-dev.51 00:56:30 Signing Git tag with Sigul... 00:56:30 Signing v3.0.0-dev.51 [Pipeline] echo 00:56:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:56:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:56:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:56:31 $ docker stop --time=1 4ae08c92af1cf618de88e9006ebf72c8a6609ff48e636074d3edb51d7acce0cd 00:56:32 $ docker rm -f --volumes 4ae08c92af1cf618de88e9006ebf72c8a6609ff48e636074d3edb51d7acce0cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:56:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:56:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:56:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:33 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:56:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:56:33 $ docker top 5e9a5609ca6244e9f9e8bfca56c73099aed6d37d88a4a83c9ec769ad63c56e40 -eo pid,comm 00:56:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:56:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:33 [ssh-agent] Looking for ssh-agent implementation... 00:56:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:33 $ docker exec 5e9a5609ca6244e9f9e8bfca56c73099aed6d37d88a4a83c9ec769ad63c56e40 ssh-agent 00:56:33 SSH_AUTH_SOCK=/tmp/ssh-EHTPDMK4NlV0/agent.31 00:56:33 SSH_AGENT_PID=37 00:56:33 Running ssh-add (command line suppressed) 00:56:34 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12928623754631916169.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12928623754631916169.key) 00:56:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:34 + git semver bump pre 00:56:34 2023-05-31 00:56:34,525 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:34 2023-05-31 00:56:34,525 [bump_version] DEBUG bumping version:3.0.0-dev.51 on axis:pre with prefix:dev 00:56:34 2023-05-31 00:56:34,526 [bump_version] DEBUG bumped version:3.0.0-dev.52 00:56:34 2023-05-31 00:56:34,526 [write_version] DEBUG write version:3.0.0-dev.52 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:56:34 2023-05-31 00:56:34,526 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:34 2023-05-31 00:56:34,526 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:34 2023-05-31 00:56:34,529 [execute] INFO git cat-file --batch-check 00:56:34 2023-05-31 00:56:34,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:56:34 2023-05-31 00:56:34,534 [execute] INFO git cat-file --batch 00:56:34 2023-05-31 00:56:34,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:56:34 2023-05-31 00:56:34,538 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:34 3.0.0-dev.52 [Pipeline] } 00:56:34 $ docker exec --env ******** --env ******** 5e9a5609ca6244e9f9e8bfca56c73099aed6d37d88a4a83c9ec769ad63c56e40 ssh-agent -k 00:56:34 unset SSH_AUTH_SOCK; 00:56:34 unset SSH_AGENT_PID; 00:56:34 echo Agent pid 37 killed; 00:56:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:35 + git semver [Pipeline] } 00:56:35 $ docker stop --time=1 5e9a5609ca6244e9f9e8bfca56c73099aed6d37d88a4a83c9ec769ad63c56e40 00:56:36 $ docker rm -f --volumes 5e9a5609ca6244e9f9e8bfca56c73099aed6d37d88a4a83c9ec769ad63c56e40 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:56:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:56:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:37 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:56:37 $ docker top 5866ffa37c9d3164c5bfd0a1acca0fed8dda7f113a726043914f7db83dd72c89 -eo pid,comm 00:56:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:56:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:37 [ssh-agent] Looking for ssh-agent implementation... 00:56:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:37 $ docker exec 5866ffa37c9d3164c5bfd0a1acca0fed8dda7f113a726043914f7db83dd72c89 ssh-agent 00:56:37 SSH_AUTH_SOCK=/tmp/ssh-VgglbLwb8fH7/agent.32 00:56:37 SSH_AGENT_PID=38 00:56:37 Running ssh-add (command line suppressed) 00:56:37 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11822152241656957860.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11822152241656957860.key) 00:56:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:38 + git semver push 00:56:38 2023-05-31 00:56:38,493 [run_push] DEBUG push 00:56:38 2023-05-31 00:56:38,494 [execute] INFO git cat-file --batch-check 00:56:38 2023-05-31 00:56:38,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:56:38 2023-05-31 00:56:38,498 [execute] INFO git rev-list f02af28443a9b8d39ba72f5240e00270394f9dd3 -- 00:56:38 2023-05-31 00:56:38,498 [execute] DEBUG Popen(['git', 'rev-list', 'f02af28443a9b8d39ba72f5240e00270394f9dd3', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:56:38 2023-05-31 00:56:38,505 [execute] INFO git fetch -v origin 00:56:38 2023-05-31 00:56:38,506 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:56:39 2023-05-31 00:56:38,975 [run_push] DEBUG no remote changes detected 00:56:39 2023-05-31 00:56:38,975 [execute] INFO git push origin semver 00:56:39 2023-05-31 00:56:38,975 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:56:39 2023-05-31 00:56:39,694 [run_push] DEBUG push all version tags 00:56:39 2023-05-31 00:56:39,695 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:56:39 2023-05-31 00:56:39,695 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:56:40 2023-05-31 00:56:40,405 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:56:40 3.0.0-dev.52 [Pipeline] } 00:56:40 $ docker exec --env ******** --env ******** 5866ffa37c9d3164c5bfd0a1acca0fed8dda7f113a726043914f7db83dd72c89 ssh-agent -k 00:56:40 unset SSH_AUTH_SOCK; 00:56:40 unset SSH_AGENT_PID; 00:56:40 echo Agent pid 38 killed; 00:56:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:40 + git semver [Pipeline] } 00:56:41 $ docker stop --time=1 5866ffa37c9d3164c5bfd0a1acca0fed8dda7f113a726043914f7db83dd72c89 00:56:42 $ docker rm -f --volumes 5866ffa37c9d3164c5bfd0a1acca0fed8dda7f113a726043914f7db83dd72c89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:56:42 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:56:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:56:42 total 16 00:56:42 drwxr-xr-x 3 root root 4096 May 31 00:44 . 00:56:42 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:56 .. 00:56:42 drwxr-xr-x 2 root root 4096 May 31 00:44 cost 00:56:42 -rw-r--r-- 1 root root 89 May 31 00:44 cost.csv 00:56:42 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:56:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:56:42 total 16 00:56:42 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:44 . 00:56:42 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:56 .. 00:56:42 drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:44 cost 00:56:42 -rw-r--r-- 1 jenkins jenkins 89 May 31 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:56:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:44 ---> package-listing.sh 00:56:44 ++ facter osfamily 00:56:44 ++ tr '[:upper:]' '[:lower:]' 00:56:44 + OS_FAMILY=debian 00:56:44 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:56:44 + START_PACKAGES=/tmp/packages_start.txt 00:56:44 + END_PACKAGES=/tmp/packages_end.txt 00:56:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:44 + PACKAGES=/tmp/packages_start.txt 00:56:44 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:56:44 + PACKAGES=/tmp/packages_end.txt 00:56:44 + case "${OS_FAMILY}" in 00:56:44 + dpkg -l 00:56:44 + grep '^ii' 00:56:44 + '[' -f /tmp/packages_start.txt ']' 00:56:44 + '[' -f /tmp/packages_end.txt ']' 00:56:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:44 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:56:44 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:56:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:56:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:56:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:45 prd-ubuntu20.04-docker-8c-8g-17422 does not seem to be running inside a container 00:56:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:45 $ docker top f0188238617a65e044b6a65dbfb4023f62ce2a83f2bcbf4c1e2a5008af5ae370 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:45 + touch /tmp/pre-build-complete [Pipeline] sh 00:56:46 + mkdir -p /var/log/sysstat [Pipeline] sh 00:56:46 + ls /var/log/sa-host 00:56:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:46 provisioning config files... 00:56:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9622510280490175045tmp [Pipeline] { [Pipeline] echo 00:56:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:56:46 ---> create-netrc.sh [Pipeline] } 00:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:56:47 ---> python-tools-install.sh [Pipeline] echo 00:56:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:56:47 ---> sudo-logs.sh 00:56:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:56:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:56:47 ---> job-cost.sh 00:56:47 lf-activate-venv: SKIPPING 00:56:47 DEBUG: total: 0.2199999988079071 00:56:47 INFO: Retrieving Stack Cost... 00:56:48 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:48 INFO: Archiving Costs [Pipeline] echo 00:56:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:49 ---> logs-deploy.sh 00:56:49 lf-activate-venv: SKIPPING 00:56:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/123 00:56:49 INFO: archiving workspace using pattern(s): 00:56:50 Archives upload complete. 00:56:50 INFO: archiving logs to Nexus