Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3541083dc0aa512bb01a466ff2ab5369f3e38532 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-ssh10725638904080000504.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-ssh2866368283881209092.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-ssh1607086740558454764.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-ssh14442264273310164834.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-ssh17421802847309937471.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 ‘prd-ubuntu20.04-docker-8c-8g-15756’ Running on prd-ubuntu20.04-docker-8c-8g-15759 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 3541083dc0aa512bb01a466ff2ab5369f3e38532 (main) Commit message: "fix: add return on empty user/pass, and do not send superfluous 200 OK (#247)" > 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 3541083dc0aa512bb01a466ff2ab5369f3e38532 # timeout=10 > git rev-list --no-walk 8bb3237301cd1e7ba1226b3bd0aaf265b839229f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:30 ========================================================= 17:49:30 EdgeX Global Pipelines Version Info 17:49:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:49:31 ------------------- 17:49:31 stable info: 17:49:31 ------------------- 17:49:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:49:31 Message: update stable to v1.0.249 17:49:32 ------------------- 17:49:32 experimental info: 17:49:32 ------------------- 17:49:32 Commited By: **** collab-it+edgex@linuxfoundation.org 17:49:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:49:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3541083 [Pipeline] echo 17:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:32 provisioning config files... 17:49:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3297927527695755376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:33 ---> docker-login.sh 17:49:33 nexus3.edgexfoundry.org:10001 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 nexus3.edgexfoundry.org:10002 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 nexus3.edgexfoundry.org:10003 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 nexus3.edgexfoundry.org:10004 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 docker.io 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:34 Configure a credential helper to remove this warning. See 17:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:34 17:49:34 Login Succeeded 17:49:34 ---> docker-login.sh ends [Pipeline] } 17:49:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:49:34 + git rev-list -1 --merges 3541083dc0aa512bb01a466ff2ab5369f3e38532~1..3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] echo 17:49:34 -----------> git rev-list -1 --merges 3541083dc0aa512bb01a466ff2ab5369f3e38532~1..3541083dc0aa512bb01a466ff2ab5369f3e38532 3541083dc0aa512bb01a466ff2ab5369f3e38532 [false] [Pipeline] sh 17:49:34 + git log --format=format:%s -1 3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] echo 17:49:34 ========================================================= 17:49:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:35 + git log --format=format:%s -1 3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] echo 17:49:35 [semverPrep] GIT_COMMIT: 3541083dc0aa512bb01a466ff2ab5369f3e38532, Commit Message: fix: add return on empty user/pass, and do not send superfluous 200 OK (#247) [Pipeline] echo 17:49:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:49:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:35 + grep -v github /etc/ssh/ssh_known_hosts 17:49:35 + [ -e /tmp/ssh_known_hosts ] 17:49:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:49:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:49:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:49:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:36 17:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:36 0.1.4: Pulling from edgex-devops/py-git-semver 17:49:36 b85a868b505f: Pulling fs layer 17:49:36 e2be974225ed: Pulling fs layer 17:49:36 339a4e72a1f5: Pulling fs layer 17:49:36 988bab9f4d93: Pulling fs layer 17:49:36 1469e6f7b9e6: Pulling fs layer 17:49:36 eaf3925da568: Pulling fs layer 17:49:36 bab4dde63d76: Pulling fs layer 17:49:36 bde34c3a00c8: Pulling fs layer 17:49:36 b352a97aabf1: Pulling fs layer 17:49:36 4872d77fe225: Pulling fs layer 17:49:36 5851b861e8e6: Pulling fs layer 17:49:36 b352a97aabf1: Waiting 17:49:36 4872d77fe225: Waiting 17:49:36 bde34c3a00c8: Waiting 17:49:36 1469e6f7b9e6: Waiting 17:49:36 eaf3925da568: Waiting 17:49:36 bab4dde63d76: Waiting 17:49:36 988bab9f4d93: Waiting 17:49:36 e2be974225ed: Download complete 17:49:36 988bab9f4d93: Download complete 17:49:36 1469e6f7b9e6: Verifying Checksum 17:49:36 1469e6f7b9e6: Download complete 17:49:36 339a4e72a1f5: Verifying Checksum 17:49:36 339a4e72a1f5: Download complete 17:49:36 eaf3925da568: Verifying Checksum 17:49:36 eaf3925da568: Download complete 17:49:36 bde34c3a00c8: Download complete 17:49:36 b352a97aabf1: Download complete 17:49:36 4872d77fe225: Verifying Checksum 17:49:36 4872d77fe225: Download complete 17:49:36 5851b861e8e6: Verifying Checksum 17:49:36 5851b861e8e6: Download complete 17:49:36 b85a868b505f: Verifying Checksum 17:49:36 b85a868b505f: Download complete 17:49:36 bab4dde63d76: Verifying Checksum 17:49:36 bab4dde63d76: Download complete 17:49:38 b85a868b505f: Pull complete 17:49:38 e2be974225ed: Pull complete 17:49:38 339a4e72a1f5: Pull complete 17:49:38 988bab9f4d93: Pull complete 17:49:39 1469e6f7b9e6: Pull complete 17:49:39 eaf3925da568: Pull complete 17:49:40 bab4dde63d76: Pull complete 17:49:40 bde34c3a00c8: Pull complete 17:49:41 b352a97aabf1: Pull complete 17:49:41 4872d77fe225: Pull complete 17:49:41 5851b861e8e6: Pull complete 17:49:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:41 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 17:49:41 $ 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 17:49:45 $ docker top ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 -eo pid,comm 17:49:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:49:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:45 [ssh-agent] Looking for ssh-agent implementation... 17:49:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:45 $ docker exec ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 ssh-agent 17:49:45 SSH_AUTH_SOCK=/tmp/ssh-i9iHoGG9CtuD/agent.31 17:49:45 SSH_AGENT_PID=37 17:49:45 Running ssh-add (command line suppressed) 17:49:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10430574638007226349.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10430574638007226349.key) 17:49:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:45 + git tag --points-at HEAD [Pipeline] } 17:49:45 $ docker exec --env ******** --env ******** ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 ssh-agent -k 17:49:46 unset SSH_AUTH_SOCK; 17:49:46 unset SSH_AGENT_PID; 17:49:46 echo Agent pid 37 killed; 17:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:46 [ssh-agent] Looking for ssh-agent implementation... 17:49:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:46 $ docker exec ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 ssh-agent 17:49:46 SSH_AUTH_SOCK=/tmp/ssh-RSiuE6trfhGI/agent.69 17:49:46 SSH_AGENT_PID=75 17:49:46 Running ssh-add (command line suppressed) 17:49:46 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2025965271778394453.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2025965271778394453.key) 17:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:46 + git semver init 17:49:46 2023-05-16 17:49:46,933 [run_init] DEBUG init version:0.0.0 force:False 17:49:46 2023-05-16 17:49:46,934 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:49:46 2023-05-16 17:49:46,934 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:49:46 2023-05-16 17:49:46,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:49:47 2023-05-16 17:49:47,616 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:49:47 2023-05-16 17:49:47,617 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:49:47 2023-05-16 17:49:47,617 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:47 2023-05-16 17:49:47,617 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:49:47 3.0.0-dev.43 [Pipeline] } 17:49:47 $ docker exec --env ******** --env ******** ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 ssh-agent -k 17:49:48 unset SSH_AUTH_SOCK; 17:49:48 unset SSH_AGENT_PID; 17:49:48 echo Agent pid 75 killed; 17:49:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:48 + git semver [Pipeline] } 17:49:48 $ docker stop --time=1 ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 17:49:49 $ docker rm -f --volumes ea385c642fe0421f0b26bdb78e71425c2b400f5c3c0114e754935d153a649289 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:50 Stashed 1 file(s) [Pipeline] echo 17:49:50 [edgeXSemver]: initialized semver on version 3.0.0-dev.43 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:50 provisioning config files... 17:49:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7565114779175228108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:50 ---> docker-login.sh 17:49:50 nexus3.edgexfoundry.org:10001 17:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:50 Configure a credential helper to remove this warning. See 17:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:50 17:49:50 Login Succeeded 17:49:50 nexus3.edgexfoundry.org:10002 17:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:50 Configure a credential helper to remove this warning. See 17:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:50 17:49:50 Login Succeeded 17:49:50 nexus3.edgexfoundry.org:10003 17:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:51 Configure a credential helper to remove this warning. See 17:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:51 17:49:51 Login Succeeded 17:49:51 nexus3.edgexfoundry.org:10004 17:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:51 Configure a credential helper to remove this warning. See 17:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:51 17:49:51 Login Succeeded 17:49:51 docker.io 17:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:51 Configure a credential helper to remove this warning. See 17:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:51 17:49:51 Login Succeeded 17:49:51 ---> docker-login.sh ends [Pipeline] } 17:49:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:51 ========================================================= 17:49:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:49:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:51 + 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 . 17:49:51 Sending build context to Docker daemon 1.85MB 17:49:51 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:49:51 Step 2/13 : FROM ${BASE} AS builder 17:49:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:49:51 f56be85fc22e: Pulling fs layer 17:49:51 85791d961cd3: Pulling fs layer 17:49:51 d694b5ae8c79: Pulling fs layer 17:49:51 9f32a84ed3da: Pulling fs layer 17:49:51 4d19c01a9841: Pulling fs layer 17:49:51 9325e15d5711: Pulling fs layer 17:49:51 556b6ee489ea: Pulling fs layer 17:49:51 c5a4b2cf53e6: Pulling fs layer 17:49:51 9f32a84ed3da: Waiting 17:49:51 556b6ee489ea: Waiting 17:49:51 c5a4b2cf53e6: Waiting 17:49:51 9325e15d5711: Waiting 17:49:52 85791d961cd3: Download complete 17:49:52 9f32a84ed3da: Verifying Checksum 17:49:52 9f32a84ed3da: Download complete 17:49:52 4d19c01a9841: Verifying Checksum 17:49:52 4d19c01a9841: Download complete 17:49:52 f56be85fc22e: Download complete 17:49:52 9325e15d5711: Verifying Checksum 17:49:52 9325e15d5711: Download complete 17:49:52 f56be85fc22e: Pull complete 17:49:52 85791d961cd3: Pull complete 17:49:52 c5a4b2cf53e6: Verifying Checksum 17:49:52 c5a4b2cf53e6: Download complete 17:49:52 d694b5ae8c79: Verifying Checksum 17:49:52 d694b5ae8c79: Download complete 17:49:52 556b6ee489ea: Verifying Checksum 17:49:52 556b6ee489ea: Download complete 17:49:56 d694b5ae8c79: Pull complete 17:49:56 9f32a84ed3da: Pull complete 17:49:56 4d19c01a9841: Pull complete 17:49:56 9325e15d5711: Pull complete 17:49:59 556b6ee489ea: Pull complete 17:50:00 c5a4b2cf53e6: Pull complete 17:50:00 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:50:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:50:00 ---> c4be618373d6 17:50:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:50:05 Still waiting to schedule task 17:50:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15757’ 17:50:05 ---> Running in a16c4e963677 17:50:05 Removing intermediate container a16c4e963677 17:50:05 ---> 34551f1cdb39 17:50:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:50:05 ---> Running in 54655aa07ab8 17:50:05 Removing intermediate container 54655aa07ab8 17:50:05 ---> 67ce6160f5c5 17:50:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:50:05 ---> Running in b76e203d6ae6 17:50:05 Removing intermediate container b76e203d6ae6 17:50:05 ---> 936838676792 17:50:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:50:06 ---> Running in 6ad7fd7c67ce 17:50:06 Removing intermediate container 6ad7fd7c67ce 17:50:06 ---> 25868b14a174 17:50:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:06 ---> Running in befa7c3b9fa0 17:50:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:50:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:50:07 (1/14) Installing libintl (0.21.1-r1) 17:50:07 (2/14) Installing eudev-libs (3.2.11-r4) 17:50:07 (3/14) Installing libjpeg-turbo (2.1.4-r0) 17:50:07 (4/14) Installing v4l-utils-libs (1.22.1-r2) 17:50:07 (5/14) Installing v4l-utils (1.22.1-r2) 17:50:07 (6/14) Installing udev-init-scripts (35-r1) 17:50:07 (7/14) Installing libblkid (2.38.1-r1) 17:50:07 (8/14) Installing xz-libs (5.2.9-r0) 17:50:07 (9/14) Installing zstd-libs (1.5.5-r0) 17:50:07 (10/14) Installing kmod-libs (30-r1) 17:50:07 (11/14) Installing eudev (3.2.11-r4) 17:50:07 (12/14) Installing eudev-dev (3.2.11-r4) 17:50:07 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 17:50:07 (14/14) Installing v4l-utils-dev (1.22.1-r2) 17:50:07 Executing busybox-1.35.0-r29.trigger 17:50:07 Executing eudev-3.2.11-r4.trigger 17:50:07 OK: 272 MiB in 67 packages 17:50:07 Removing intermediate container befa7c3b9fa0 17:50:07 ---> 51ce2b95e693 17:50:07 Step 8/13 : WORKDIR /device-usb-camera 17:50:08 ---> Running in a432d743b45c 17:50:08 Removing intermediate container a432d743b45c 17:50:08 ---> 495aec7fc43c 17:50:08 Step 9/13 : COPY go.mod vendor* ./ 17:50:08 ---> 0300c8e49b9b 17:50:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:08 ---> Running in a7c229ab55e9 17:50:40 Removing intermediate container a7c229ab55e9 17:50:40 ---> e4ba9f1769fd 17:50:40 Step 11/13 : COPY . . 17:50:40 ---> ad38e5b38e74 17:50:40 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:50:40 ---> Running in 9032495a467c 17:50:40  % Total % Received % Xferd Average Speed Time Time Time Current 17:50:40 Dload Upload Total Spent Left Speed 17:50:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8032 0 --:--:-- --:--:-- --:--:-- 8106 17:50:40 Removing intermediate container 9032495a467c 17:50:40 ---> 65128ecacde4 17:50:40 Step 13/13 : RUN ${MAKE} 17:50:40 ---> Running in 3eec9dd8b853 17:50:40 noop 17:50:40 Removing intermediate container 3eec9dd8b853 17:50:40 ---> 7ccffa4beaa3 17:50:40 Successfully built 7ccffa4beaa3 17:50:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:40 + docker inspect -f . ci-base-image-x86_64 17:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:40 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 17:50:40 $ 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 17:50:41 $ docker top 80baa21809874c5ed7771ebbc5d693ea2b21b361515d5c974b3975d70ce076b8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:41 + go version 17:50:41 go version go1.20.2 linux/amd64 [Pipeline] } 17:50:41 $ docker stop --time=1 80baa21809874c5ed7771ebbc5d693ea2b21b361515d5c974b3975d70ce076b8 17:50:42 $ docker rm -f --volumes 80baa21809874c5ed7771ebbc5d693ea2b21b361515d5c974b3975d70ce076b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:43 + docker inspect -f . ci-base-image-x86_64 17:50:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:43 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 17:50:43 $ 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 17:50:43 $ docker top 28a7275e022d05734fda2e465f0e0430ea3bbe0b07e710b8a0a24cfd10648534 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:43 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:50:44 + make test 17:50:44 go test ./... -coverprofile=coverage.out ./... 17:50:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:50:59 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:50:59 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.8% of statements 17:51:06 go vet ./... 17:51:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:51:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:51:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:51:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:51:09 $ docker stop --time=1 28a7275e022d05734fda2e465f0e0430ea3bbe0b07e710b8a0a24cfd10648534 17:51:15 $ docker rm -f --volumes 28a7275e022d05734fda2e465f0e0430ea3bbe0b07e710b8a0a24cfd10648534 [Pipeline] // withDockerContainer [Pipeline] sh 17:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:51:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:51:17 + ls -al . 17:51:17 total 188 17:51:17 drwxrwxr-x 10 jenkins jenkins 4096 May 16 17:50 . 17:51:17 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:49 .. 17:51:17 drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:49 .git 17:51:17 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:49 .github 17:51:17 -rw-rw-r-- 1 jenkins jenkins 414 May 16 17:49 .gitignore 17:51:17 -rw-rw-r-- 1 jenkins jenkins 42 May 16 17:49 .golangci.yml 17:51:17 -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:49 .hadolint.yml 17:51:17 drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:49 .semver 17:51:17 -rw-rw-r-- 1 jenkins jenkins 9665 May 16 17:49 Attribution.txt 17:51:17 -rw-rw-r-- 1 jenkins jenkins 6219 May 16 17:49 CHANGELOG.md 17:51:17 -rw-rw-r-- 1 jenkins jenkins 2453 May 16 17:49 Dockerfile 17:51:17 -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:49 GOVERNANCE.md 17:51:17 -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:49 Jenkinsfile 17:51:17 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:49 LICENSE 17:51:17 -rw-rw-r-- 1 jenkins jenkins 2364 May 16 17:49 Makefile 17:51:17 -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:49 OWNERS.md 17:51:17 -rw-rw-r-- 1 jenkins jenkins 2477 May 16 17:49 README.md 17:51:17 -rw-rw-r-- 1 jenkins jenkins 12 May 16 17:49 VERSION 17:51:17 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:49 bin 17:51:17 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:49 cmd 17:51:17 -rw-r--r-- 1 jenkins jenkins 31522 May 16 17:50 coverage.out 17:51:17 -rwxrwxr-x 1 jenkins jenkins 140 May 16 17:49 docker-entrypoint.sh 17:51:17 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:49 docs 17:51:17 -rw-rw-r-- 1 jenkins jenkins 3419 May 16 17:49 go.mod 17:51:17 -rw-rw-r-- 1 jenkins jenkins 31488 May 16 17:49 go.sum 17:51:17 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:49 internal 17:51:17 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:49 snap 17:51:17 -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:17 + 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=3541083dc0aa512bb01a466ff2ab5369f3e38532 --label arch=amd64 --label version=3.0.0-dev.43 . 17:51:17 Sending build context to Docker daemon 1.882MB 17:51:17 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 17:51:17 Step 2/36 : FROM ${BASE} AS builder 17:51:17 ---> 7ccffa4beaa3 17:51:17 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:51:17 ---> Running in 83fd340452eb 17:51:17 Removing intermediate container 83fd340452eb 17:51:17 ---> 4bfe1bee85e7 17:51:17 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:17 ---> Running in c67054750417 17:51:17 Removing intermediate container c67054750417 17:51:17 ---> fcccea49cf07 17:51:17 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:51:17 ---> Running in 842465cc236f 17:51:18 Removing intermediate container 842465cc236f 17:51:18 ---> 3adad258110a 17:51:18 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:51:18 ---> Running in e7282eb93eb9 17:51:18 Removing intermediate container e7282eb93eb9 17:51:18 ---> 5d2bf02f6db6 17:51:18 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:18 ---> Running in 2c29a4c41e75 17:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:18 OK: 272 MiB in 67 packages 17:51:18 Removing intermediate container 2c29a4c41e75 17:51:18 ---> b05e31f2a167 17:51:18 Step 8/36 : WORKDIR /device-usb-camera 17:51:19 ---> Running in 8fc5ccef4b1b 17:51:19 Removing intermediate container 8fc5ccef4b1b 17:51:19 ---> ebbd64f152cc 17:51:19 Step 9/36 : COPY go.mod vendor* ./ 17:51:19 ---> dfaf4493fa47 17:51:19 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:19 ---> Running in 9a9b1c600b37 17:51:19 Removing intermediate container 9a9b1c600b37 17:51:19 ---> 81614863db7c 17:51:19 Step 11/36 : COPY . . 17:51:20 ---> 1663a9646479 17:51:20 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:51:20 ---> Running in d97b9c06f366 17:51:20  % Total % Received % Xferd Average Speed Time Time Time Current 17:51:20 Dload Upload Total Spent Left Speed 17:51:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16273 0 --:--:-- --:--:-- --:--:-- 16338 17:51:21 Removing intermediate container d97b9c06f366 17:51:21 ---> 61d8a91f2fbc 17:51:21 Step 13/36 : RUN ${MAKE} 17:51:21 ---> Running in 16fc2371df15 17:51:21 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:51:47 Removing intermediate container 16fc2371df15 17:51:47 ---> 3718f814b0f8 17:51:47 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:51:47 v0.21.6: Pulling from aler9/rtsp-simple-server 17:51:47 4acc49c71d14: Pulling fs layer 17:51:47 4acc49c71d14: Verifying Checksum 17:51:47 4acc49c71d14: Download complete 17:51:47 4acc49c71d14: Pull complete 17:51:47 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:51:47 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:51:47 ---> 01a2bd3e5fff 17:51:47 Step 15/36 : FROM alpine:3.17 17:51:47 3.17: Pulling from library/alpine 17:51:47 f56be85fc22e: Already exists 17:51:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:51:47 Status: Downloaded newer image for alpine:3.17 17:51:47 ---> 9ed4aefc74f6 17:51:47 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:51:48 ---> Running in c81242cadf11 17:51:49 Removing intermediate container c81242cadf11 17:51:49 ---> 203873151d56 17:51:49 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:51:49 ---> Running in d4026821d259 17:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:50 (1/86) Installing dumb-init (1.2.5-r2) 17:51:50 (2/86) Installing sdl2 (2.26.5-r0) 17:51:50 (3/86) Installing svt-av1-libs (1.3.0-r0) 17:51:50 (4/86) Installing libxau (1.0.10-r0) 17:51:50 (5/86) Installing libmd (1.0.4-r0) 17:51:50 (6/86) Installing libbsd (0.11.7-r0) 17:51:50 (7/86) Installing libxdmcp (1.1.4-r0) 17:51:50 (8/86) Installing libxcb (1.15-r0) 17:51:50 (9/86) Installing libx11 (1.8.4-r0) 17:51:50 (10/86) Installing aom-libs (3.5.0-r0) 17:51:50 (11/86) Installing alsa-lib (1.2.8-r0) 17:51:50 (12/86) Installing libexpat (2.5.0-r0) 17:51:50 (13/86) Installing brotli-libs (1.0.9-r9) 17:51:50 (14/86) Installing libbz2 (1.0.8-r4) 17:51:50 (15/86) Installing libpng (1.6.38-r0) 17:51:50 (16/86) Installing freetype (2.12.1-r0) 17:51:50 (17/86) Installing fontconfig (2.14.1-r0) 17:51:50 (18/86) Installing fribidi (1.0.12-r0) 17:51:50 (19/86) Installing libffi (3.4.4-r0) 17:51:50 (20/86) Installing libintl (0.21.1-r1) 17:51:50 (21/86) Installing libblkid (2.38.1-r1) 17:51:50 (22/86) Installing libmount (2.38.1-r1) 17:51:50 (23/86) Installing pcre2 (10.42-r0) 17:51:50 (24/86) Installing glib (2.74.6-r0) 17:51:50 (25/86) Installing graphite2 (1.3.14-r2) 17:51:50 (26/86) Installing harfbuzz (5.3.1-r1) 17:51:50 (27/86) Installing libass (0.16.0-r1) 17:51:50 (28/86) Installing libdav1d (1.0.0-r2) 17:51:50 (29/86) Installing hwdata-pci (0.364-r0) 17:51:50 (30/86) Installing libpciaccess (0.17-r0) 17:51:50 (31/86) Installing libdrm (2.4.114-r0) 17:51:50 (32/86) Installing gmp (6.2.1-r2) 17:51:50 (33/86) Installing nettle (3.8.1-r0) 17:51:50 (34/86) Installing p11-kit (0.24.1-r1) 17:51:50 (35/86) Installing libtasn1 (4.19.0-r0) 17:51:50 (36/86) Installing libunistring (1.1-r0) 17:51:50 (37/86) Installing gnutls (3.7.8-r3) 17:51:50 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 17:51:50 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 17:51:50 (40/86) Installing lame (3.100-r2) 17:51:50 (41/86) Installing opus (1.3.1-r1) 17:51:50 (42/86) Installing libasyncns (0.8-r1) 17:51:50 (43/86) Installing dbus-libs (1.14.4-r0) 17:51:50 (44/86) Installing libltdl (2.4.7-r1) 17:51:50 (45/86) Installing orc (0.4.33-r0) 17:51:50 (46/86) Installing libgcc (12.2.1_git20220924-r4) 17:51:50 (47/86) Installing libogg (1.3.5-r2) 17:51:50 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 17:51:50 (49/86) Installing flac-libs (1.4.2-r0) 17:51:50 (50/86) Installing libvorbis (1.3.7-r0) 17:51:50 (51/86) Installing libsndfile (1.1.0-r2) 17:51:50 (52/86) Installing libgomp (12.2.1_git20220924-r4) 17:51:50 (53/86) Installing soxr (0.1.3-r3) 17:51:50 (54/86) Installing speexdsp (1.2.1-r0) 17:51:50 (55/86) Installing tdb-libs (1.4.6-r0) 17:51:50 (56/86) Installing libpulse (16.1-r6) 17:51:50 (57/86) Installing cjson (1.7.15-r3) 17:51:50 (58/86) Installing mbedtls (2.28.3-r0) 17:51:50 (59/86) Installing librist (0.2.7-r0) 17:51:50 (60/86) Installing libsrt (1.5.1-r0) 17:51:50 (61/86) Installing libssh (0.10.5-r0) 17:51:50 (62/86) Installing libtheora (1.1.1-r16) 17:51:50 (63/86) Installing libjpeg-turbo (2.1.4-r0) 17:51:50 (64/86) Installing v4l-utils-libs (1.22.1-r2) 17:51:50 (65/86) Installing libxext (1.3.5-r0) 17:51:50 (66/86) Installing libxfixes (6.0.0-r0) 17:51:50 (67/86) Installing wayland-libs-client (1.21.0-r1) 17:51:50 (68/86) Installing libva (2.16.0-r0) 17:51:50 (69/86) Installing libvdpau (1.5-r0) 17:51:50 (70/86) Installing vidstab (1.1.0-r2) 17:51:50 (71/86) Installing libvpx (1.12.0-r1) 17:51:50 (72/86) Installing libwebp (1.2.4-r1) 17:51:50 (73/86) Installing x264-libs (0.164_git20220602-r0) 17:51:50 (74/86) Installing numactl (2.0.16-r1) 17:51:50 (75/86) Installing x265-libs (3.5-r3) 17:51:51 (76/86) Installing xvidcore (1.3.7-r1) 17:51:51 (77/86) Installing libsodium (1.0.18-r2) 17:51:51 (78/86) Installing libzmq (4.3.4-r1) 17:51:51 (79/86) Installing ffmpeg-libs (5.1.3-r0) 17:51:51 (80/86) Installing ffmpeg (5.1.3-r0) 17:51:51 (81/86) Installing udev-init-scripts (35-r1) 17:51:51 (82/86) Installing eudev-libs (3.2.11-r4) 17:51:51 (83/86) Installing xz-libs (5.2.9-r0) 17:51:51 (84/86) Installing zstd-libs (1.5.5-r0) 17:51:51 (85/86) Installing kmod-libs (30-r1) 17:51:51 (86/86) Installing eudev (3.2.11-r4) 17:51:51 Executing busybox-1.35.0-r29.trigger 17:51:51 Executing eudev-3.2.11-r4.trigger 17:51:51 OK: 112 MiB in 101 packages 17:51:56 Removing intermediate container d4026821d259 17:51:56 ---> f13cc0ac28a1 17:51:56 Step 18/36 : WORKDIR / 17:51:56 ---> Running in 711ae4baf935 17:51:57 Removing intermediate container 711ae4baf935 17:51:57 ---> 6e59a7d24bca 17:51:57 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:51:57 ---> 9173768847cd 17:51:57 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:51:57 ---> 977ce415122a 17:51:57 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:51:57 ---> 40946560da53 17:51:57 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:51:58 ---> 7d41c96f33ae 17:51:58 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:51:58 ---> 3ac652f8b489 17:51:58 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:51:58 ---> 885fe21135b7 17:51:58 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:52:00 ---> 121b05cf9f8b 17:52:00 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:52:00 ---> Running in e2ae6b173306 17:52:00 Removing intermediate container e2ae6b173306 17:52:00 ---> 02bc22cc7502 17:52:00 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:52:00 ---> Running in 1384fffe3054 17:52:01 Removing intermediate container 1384fffe3054 17:52:01 ---> 15b495d29718 17:52:01 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:52:01 ---> Running in 29f141a04a6e 17:52:01 Removing intermediate container 29f141a04a6e 17:52:01 ---> 37547110a224 17:52:01 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:52:01 ---> Running in d4aefbf21451 17:52:02 Removing intermediate container d4aefbf21451 17:52:02 ---> b591fdd098e1 17:52:02 Step 30/36 : EXPOSE 59983 17:52:02 ---> Running in ec474dbe283f 17:52:02 Removing intermediate container ec474dbe283f 17:52:02 ---> 725ab4141622 17:52:02 Step 31/36 : EXPOSE 8554 17:52:02 ---> Running in 88fa1e45efff 17:52:02 Removing intermediate container 88fa1e45efff 17:52:02 ---> 228512584c8c 17:52:02 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:52:02 ---> Running in e7f0a17c17de 17:52:02 Removing intermediate container e7f0a17c17de 17:52:02 ---> fc65c95ffcff 17:52:02 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:52:03 ---> Running in 1ea9aac7d7c0 17:52:03 Removing intermediate container 1ea9aac7d7c0 17:52:03 ---> 08fb2dd65123 17:52:03 Step 34/36 : LABEL arch=amd64 17:52:03 ---> Running in 077c4500def1 17:52:03 Removing intermediate container 077c4500def1 17:52:03 ---> 21954118fc96 17:52:03 Step 35/36 : LABEL git_sha=3541083dc0aa512bb01a466ff2ab5369f3e38532 17:52:03 ---> Running in d08e8c3bfa08 17:52:03 Removing intermediate container d08e8c3bfa08 17:52:03 ---> 5f8049035685 17:52:03 Step 36/36 : LABEL version=3.0.0-dev.43 17:52:03 ---> Running in 9c95cbc9a980 17:52:03 Removing intermediate container 9c95cbc9a980 17:52:03 ---> bf535264e44b 17:52:03 [Warning] One or more build-args [ARCH] were not consumed 17:52:03 Successfully built bf535264e44b 17:52:03 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:03 provisioning config files... 17:52:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config715099850476407560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:04 ---> docker-login.sh 17:52:04 nexus3.edgexfoundry.org:10001 17:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 nexus3.edgexfoundry.org:10002 17:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 nexus3.edgexfoundry.org:10003 17:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 nexus3.edgexfoundry.org:10004 17:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 docker.io 17:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:04 Configure a credential helper to remove this warning. See 17:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:04 17:52:04 Login Succeeded 17:52:04 ---> docker-login.sh ends [Pipeline] } 17:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:52:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:04 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:52:04 3541083dc0aa512bb01a466ff2ab5369f3e38532 17:52:04 latest 17:52:04 3.0.0-dev.43 17:52:04 3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 17:52:04 main 17:52:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:05 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532 17:52:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:52:05 97ef492eba90: Preparing 17:52:05 b2085a12366c: Preparing 17:52:05 587d3f7b25a3: Preparing 17:52:05 33934007d823: Preparing 17:52:05 3827b5b91e75: Preparing 17:52:05 acc83c6ca332: Preparing 17:52:05 94cec512eb78: Preparing 17:52:05 563ddc8f3e37: Preparing 17:52:05 ee1c425e6d51: Preparing 17:52:05 3ae3c9df9bcb: Preparing 17:52:05 a7e58698dc85: Preparing 17:52:05 0761fe0fc702: Preparing 17:52:05 f1417ff83b31: Preparing 17:52:05 acc83c6ca332: Waiting 17:52:05 a7e58698dc85: Waiting 17:52:05 94cec512eb78: Waiting 17:52:05 563ddc8f3e37: Waiting 17:52:05 f1417ff83b31: Waiting 17:52:05 0761fe0fc702: Waiting 17:52:05 3ae3c9df9bcb: Waiting 17:52:05 ee1c425e6d51: Waiting 17:52:05 587d3f7b25a3: Pushed 17:52:05 97ef492eba90: Pushed 17:52:05 33934007d823: Pushed 17:52:05 b2085a12366c: Pushed 17:52:05 acc83c6ca332: Pushed 17:52:05 563ddc8f3e37: Pushed 17:52:05 94cec512eb78: Pushed 17:52:05 ee1c425e6d51: Pushed 17:52:05 f1417ff83b31: Layer already exists 17:52:05 3ae3c9df9bcb: Pushed 17:52:08 3827b5b91e75: Pushed 17:52:08 a7e58698dc85: Pushed 17:52:16 0761fe0fc702: Pushed 17:52:16 3541083dc0aa512bb01a466ff2ab5369f3e38532: digest: sha256:27db3d9fb9e6576bc58c9aaf46183365cc6ffc4caff07648ca12765fd79aa41f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:52:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:52:17 97ef492eba90: Preparing 17:52:17 b2085a12366c: Preparing 17:52:17 587d3f7b25a3: Preparing 17:52:17 33934007d823: Preparing 17:52:17 3827b5b91e75: Preparing 17:52:17 acc83c6ca332: Preparing 17:52:17 94cec512eb78: Preparing 17:52:17 563ddc8f3e37: Preparing 17:52:17 ee1c425e6d51: Preparing 17:52:17 3ae3c9df9bcb: Preparing 17:52:17 a7e58698dc85: Preparing 17:52:17 0761fe0fc702: Preparing 17:52:17 f1417ff83b31: Preparing 17:52:17 acc83c6ca332: Waiting 17:52:17 94cec512eb78: Waiting 17:52:17 563ddc8f3e37: Waiting 17:52:17 ee1c425e6d51: Waiting 17:52:17 0761fe0fc702: Waiting 17:52:17 3ae3c9df9bcb: Waiting 17:52:17 f1417ff83b31: Waiting 17:52:17 a7e58698dc85: Waiting 17:52:17 587d3f7b25a3: Layer already exists 17:52:17 97ef492eba90: Layer already exists 17:52:17 3827b5b91e75: Layer already exists 17:52:17 33934007d823: Layer already exists 17:52:17 b2085a12366c: Layer already exists 17:52:17 acc83c6ca332: Layer already exists 17:52:17 ee1c425e6d51: Layer already exists 17:52:17 563ddc8f3e37: Layer already exists 17:52:17 3ae3c9df9bcb: Layer already exists 17:52:17 94cec512eb78: Layer already exists 17:52:17 a7e58698dc85: Layer already exists 17:52:17 0761fe0fc702: Layer already exists 17:52:17 f1417ff83b31: Layer already exists 17:52:17 latest: digest: sha256:27db3d9fb9e6576bc58c9aaf46183365cc6ffc4caff07648ca12765fd79aa41f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.43 17:52:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:52:17 97ef492eba90: Preparing 17:52:17 b2085a12366c: Preparing 17:52:17 587d3f7b25a3: Preparing 17:52:17 33934007d823: Preparing 17:52:17 3827b5b91e75: Preparing 17:52:17 acc83c6ca332: Preparing 17:52:17 94cec512eb78: Preparing 17:52:17 563ddc8f3e37: Preparing 17:52:17 ee1c425e6d51: Preparing 17:52:17 3ae3c9df9bcb: Preparing 17:52:17 a7e58698dc85: Preparing 17:52:17 0761fe0fc702: Preparing 17:52:17 f1417ff83b31: Preparing 17:52:17 563ddc8f3e37: Waiting 17:52:17 a7e58698dc85: Waiting 17:52:17 ee1c425e6d51: Waiting 17:52:17 3ae3c9df9bcb: Waiting 17:52:17 0761fe0fc702: Waiting 17:52:17 f1417ff83b31: Waiting 17:52:17 94cec512eb78: Waiting 17:52:17 acc83c6ca332: Waiting 17:52:17 587d3f7b25a3: Layer already exists 17:52:17 97ef492eba90: Layer already exists 17:52:17 b2085a12366c: Layer already exists 17:52:17 3827b5b91e75: Layer already exists 17:52:17 33934007d823: Layer already exists 17:52:17 acc83c6ca332: Layer already exists 17:52:17 563ddc8f3e37: Layer already exists 17:52:17 94cec512eb78: Layer already exists 17:52:17 3ae3c9df9bcb: Layer already exists 17:52:17 ee1c425e6d51: Layer already exists 17:52:17 a7e58698dc85: Layer already exists 17:52:17 0761fe0fc702: Layer already exists 17:52:17 f1417ff83b31: Layer already exists 17:52:17 3.0.0-dev.43: digest: sha256:27db3d9fb9e6576bc58c9aaf46183365cc6ffc4caff07648ca12765fd79aa41f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 17:52:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:52:18 97ef492eba90: Preparing 17:52:18 b2085a12366c: Preparing 17:52:18 587d3f7b25a3: Preparing 17:52:18 33934007d823: Preparing 17:52:18 3827b5b91e75: Preparing 17:52:18 acc83c6ca332: Preparing 17:52:18 94cec512eb78: Preparing 17:52:18 563ddc8f3e37: Preparing 17:52:18 ee1c425e6d51: Preparing 17:52:18 3ae3c9df9bcb: Preparing 17:52:18 a7e58698dc85: Preparing 17:52:18 0761fe0fc702: Preparing 17:52:18 f1417ff83b31: Preparing 17:52:18 acc83c6ca332: Waiting 17:52:18 94cec512eb78: Waiting 17:52:18 a7e58698dc85: Waiting 17:52:18 0761fe0fc702: Waiting 17:52:18 563ddc8f3e37: Waiting 17:52:18 f1417ff83b31: Waiting 17:52:18 ee1c425e6d51: Waiting 17:52:18 3ae3c9df9bcb: Waiting 17:52:18 587d3f7b25a3: Layer already exists 17:52:18 97ef492eba90: Layer already exists 17:52:18 3827b5b91e75: Layer already exists 17:52:18 b2085a12366c: Layer already exists 17:52:18 33934007d823: Layer already exists 17:52:18 acc83c6ca332: Layer already exists 17:52:18 563ddc8f3e37: Layer already exists 17:52:18 ee1c425e6d51: Layer already exists 17:52:18 94cec512eb78: Layer already exists 17:52:18 3ae3c9df9bcb: Layer already exists 17:52:18 a7e58698dc85: Layer already exists 17:52:18 0761fe0fc702: Layer already exists 17:52:18 f1417ff83b31: Layer already exists 17:52:18 3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43: digest: sha256:27db3d9fb9e6576bc58c9aaf46183365cc6ffc4caff07648ca12765fd79aa41f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:52:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:52:19 97ef492eba90: Preparing 17:52:19 b2085a12366c: Preparing 17:52:19 587d3f7b25a3: Preparing 17:52:19 33934007d823: Preparing 17:52:19 3827b5b91e75: Preparing 17:52:19 acc83c6ca332: Preparing 17:52:19 94cec512eb78: Preparing 17:52:19 563ddc8f3e37: Preparing 17:52:19 ee1c425e6d51: Preparing 17:52:19 3ae3c9df9bcb: Preparing 17:52:19 a7e58698dc85: Preparing 17:52:19 0761fe0fc702: Preparing 17:52:19 f1417ff83b31: Preparing 17:52:19 acc83c6ca332: Waiting 17:52:19 3ae3c9df9bcb: Waiting 17:52:19 94cec512eb78: Waiting 17:52:19 a7e58698dc85: Waiting 17:52:19 0761fe0fc702: Waiting 17:52:19 f1417ff83b31: Waiting 17:52:19 563ddc8f3e37: Waiting 17:52:19 ee1c425e6d51: Waiting 17:52:19 587d3f7b25a3: Layer already exists 17:52:19 b2085a12366c: Layer already exists 17:52:19 33934007d823: Layer already exists 17:52:19 97ef492eba90: Layer already exists 17:52:19 3827b5b91e75: Layer already exists 17:52:19 acc83c6ca332: Layer already exists 17:52:19 94cec512eb78: Layer already exists 17:52:19 ee1c425e6d51: Layer already exists 17:52:19 563ddc8f3e37: Layer already exists 17:52:19 3ae3c9df9bcb: Layer already exists 17:52:19 a7e58698dc85: Layer already exists 17:52:19 0761fe0fc702: Layer already exists 17:52:19 f1417ff83b31: Layer already exists 17:52:19 main: digest: sha256:27db3d9fb9e6576bc58c9aaf46183365cc6ffc4caff07648ca12765fd79aa41f size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:52:19 ===================================================== [Pipeline] echo 17:52:19 taggedImages: 17:52:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532 17:52:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:52:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.43 17:52:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 17:52:19 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:19 17:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:19 latest: Pulling from edgex-lftools-log-publisher 17:52:19 5eb5b503b376: Pulling fs layer 17:52:19 5c69ac0246d0: Pulling fs layer 17:52:19 ec43610c2a17: Pulling fs layer 17:52:19 3a2ae6a8a46f: Pulling fs layer 17:52:19 33b1e0a273af: Pulling fs layer 17:52:19 5d3b04190fa2: Pulling fs layer 17:52:19 2f39f015ded8: Pulling fs layer 17:52:19 33b1e0a273af: Waiting 17:52:19 5d3b04190fa2: Waiting 17:52:19 3a2ae6a8a46f: Waiting 17:52:19 5c69ac0246d0: Verifying Checksum 17:52:19 5c69ac0246d0: Download complete 17:52:19 3a2ae6a8a46f: Download complete 17:52:19 33b1e0a273af: Verifying Checksum 17:52:19 33b1e0a273af: Download complete 17:52:19 5d3b04190fa2: Download complete 17:52:19 ec43610c2a17: Verifying Checksum 17:52:19 ec43610c2a17: Download complete 17:52:20 5eb5b503b376: Verifying Checksum 17:52:20 5eb5b503b376: Download complete 17:52:20 2f39f015ded8: Download complete 17:52:21 5eb5b503b376: Pull complete 17:52:21 5c69ac0246d0: Pull complete 17:52:21 ec43610c2a17: Pull complete 17:52:21 3a2ae6a8a46f: Pull complete 17:52:22 33b1e0a273af: Pull complete 17:52:22 5d3b04190fa2: Pull complete 17:52:26 2f39f015ded8: Pull complete 17:52:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:52:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:26 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 17:52:26 $ 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 17:52:32 $ docker top 7d646a5c8081ffd6b2687a40995aa2aa1c0b7b6cb2a0a95a829fd24a16aac5da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:33 ---> job-cost.sh 17:52:33 lf-activate-venv: SKIPPING 17:52:33 INFO: No Stack... 17:52:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:52:33 INFO: Archiving Costs [Pipeline] sh 17:52:33 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:52:33 + cut -d, -f6 [Pipeline] lock 17:52:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] 17:52:33 Resource [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] did not exist. Created. 17:52:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:52:34 + echo total: 0.2199999988079071 [Pipeline] stash 17:52:34 Stashed 1 file(s) [Pipeline] } 17:52:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 17:52:34 $ docker stop --time=1 7d646a5c8081ffd6b2687a40995aa2aa1c0b7b6cb2a0a95a829fd24a16aac5da 17:52:35 $ docker rm -f --volumes 7d646a5c8081ffd6b2687a40995aa2aa1c0b7b6cb2a0a95a829fd24a16aac5da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:53:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15761 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:53:13 Running in /w/workspace/device-usb-camera/115 [Pipeline] { [Pipeline] checkout 17:53:14 Selected Git installation does not exist. Using Default 17:53:14 The recommended git tool is: NONE 17:53:20 using credential edgex-jenkins-ssh 17:53:20 Cloning the remote Git repository 17:53:20 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:53:20 > git init /w/workspace/device-usb-camera/115 # timeout=10 17:53:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:53:20 > git --version # timeout=10 17:53:20 > git --version # 'git version 2.25.1' 17:53:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:21 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:53:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:22 Avoid second fetch 17:53:22 Checking out Revision 3541083dc0aa512bb01a466ff2ab5369f3e38532 (main) 17:53:22 > git config core.sparsecheckout # timeout=10 17:53:22 > git checkout -f 3541083dc0aa512bb01a466ff2ab5369f3e38532 # timeout=10 17:53:22 Commit message: "fix: add return on empty user/pass, and do not send superfluous 200 OK (#247)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:53:23 % Total % Received % Xferd Average Speed Time Time Time Current 17:53:23 Dload Upload Total Spent Left Speed 17:53:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 17:53:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:53:24 + sudo tee+ /etc/docker/daemon.new 17:53:24 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:53:24 { 17:53:24 "registry-mirrors": [ 17:53:24 "https://nexus3.edgexfoundry.org:10001" 17:53:24 ], 17:53:24 "bip": "10.250.0.254/24", 17:53:24 "hosts": [ 17:53:24 "tcp://0.0.0.0:5555", 17:53:24 "unix:///var/run/docker.sock" 17:53:24 ], 17:53:24 "mtu": 1458, 17:53:24 "selinux-enabled": true, 17:53:24 "seccomp-profile": "/etc/docker/seccomp.json" 17:53:24 } [Pipeline] sh 17:53:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:53:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:43 provisioning config files... 17:53:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/115@tmp/config5339103771717995651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:44 ---> docker-login.sh 17:53:44 nexus3.edgexfoundry.org:10001 17:53:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:44 Configure a credential helper to remove this warning. See 17:53:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:44 17:53:44 Login Succeeded 17:53:44 nexus3.edgexfoundry.org:10002 17:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:45 Configure a credential helper to remove this warning. See 17:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:45 17:53:45 Login Succeeded 17:53:45 nexus3.edgexfoundry.org:10003 17:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:45 Configure a credential helper to remove this warning. See 17:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:45 17:53:45 Login Succeeded 17:53:45 nexus3.edgexfoundry.org:10004 17:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:45 Configure a credential helper to remove this warning. See 17:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:45 17:53:45 Login Succeeded 17:53:45 docker.io 17:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:46 Configure a credential helper to remove this warning. See 17:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:46 17:53:46 Login Succeeded 17:53:46 ---> docker-login.sh ends [Pipeline] } 17:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:47 ========================================================= 17:53:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:53:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:47 + 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 . 17:53:47 Sending build context to Docker daemon 1.086MB 17:53:47 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:53:47 Step 2/13 : FROM ${BASE} AS builder 17:53:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:47 c41833b44d91: Pulling fs layer 17:53:47 ed15518f5707: Pulling fs layer 17:53:47 feae8fd75edb: Pulling fs layer 17:53:47 242c74f7c9fa: Pulling fs layer 17:53:47 3cdef696dda3: Pulling fs layer 17:53:47 2ced38df9373: Pulling fs layer 17:53:47 58f1dce35555: Pulling fs layer 17:53:47 3cdef696dda3: Waiting 17:53:47 2ced38df9373: Waiting 17:53:47 58f1dce35555: Waiting 17:53:47 242c74f7c9fa: Waiting 17:53:47 ed15518f5707: Verifying Checksum 17:53:47 ed15518f5707: Download complete 17:53:47 242c74f7c9fa: Verifying Checksum 17:53:47 242c74f7c9fa: Download complete 17:53:47 3cdef696dda3: Download complete 17:53:47 c41833b44d91: Verifying Checksum 17:53:49 c41833b44d91: Pull complete 17:53:49 58f1dce35555: Verifying Checksum 17:53:49 58f1dce35555: Download complete 17:53:49 ed15518f5707: Pull complete 17:53:50 feae8fd75edb: Download complete 17:53:50 2ced38df9373: Verifying Checksum 17:53:50 2ced38df9373: Download complete 17:54:03 feae8fd75edb: Pull complete 17:54:03 242c74f7c9fa: Pull complete 17:54:03 3cdef696dda3: Pull complete 17:54:08 2ced38df9373: Pull complete 17:54:12 58f1dce35555: Pull complete 17:54:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:54:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:54:12 ---> fadd8f120f05 17:54:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:54:14 ---> Running in f08dedeb428d 17:54:14 Removing intermediate container f08dedeb428d 17:54:14 ---> e3b007528939 17:54:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:14 ---> Running in f1c714005d9e 17:54:14 Removing intermediate container f1c714005d9e 17:54:14 ---> 863f36edc2d1 17:54:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:54:14 ---> Running in cb5f32a35462 17:54:14 Removing intermediate container cb5f32a35462 17:54:14 ---> 8711ef17dba2 17:54:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:54:14 ---> Running in af5a4a2ceced 17:54:15 Removing intermediate container af5a4a2ceced 17:54:15 ---> 085ed6fe44e7 17:54:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:15 ---> Running in fb1d5ae243fb 17:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:54:18 (1/14) Installing libintl (0.21.1-r1) 17:54:18 (2/14) Installing eudev-libs (3.2.11-r4) 17:54:18 (3/14) Installing libjpeg-turbo (2.1.4-r0) 17:54:18 (4/14) Installing v4l-utils-libs (1.22.1-r2) 17:54:18 (5/14) Installing v4l-utils (1.22.1-r2) 17:54:18 (6/14) Installing udev-init-scripts (35-r1) 17:54:18 (7/14) Installing libblkid (2.38.1-r1) 17:54:18 (8/14) Installing xz-libs (5.2.9-r0) 17:54:18 (9/14) Installing zstd-libs (1.5.5-r0) 17:54:18 (10/14) Installing kmod-libs (30-r1) 17:54:18 (11/14) Installing eudev (3.2.11-r4) 17:54:18 (12/14) Installing eudev-dev (3.2.11-r4) 17:54:18 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 17:54:18 (14/14) Installing v4l-utils-dev (1.22.1-r2) 17:54:18 Executing busybox-1.35.0-r29.trigger 17:54:18 Executing eudev-3.2.11-r4.trigger 17:54:18 OK: 271 MiB in 67 packages 17:54:20 Removing intermediate container fb1d5ae243fb 17:54:20 ---> 6f4493a635e1 17:54:20 Step 8/13 : WORKDIR /device-usb-camera 17:54:20 ---> Running in da02c07234f0 17:54:20 Removing intermediate container da02c07234f0 17:54:20 ---> a13e63c4e2ed 17:54:20 Step 9/13 : COPY go.mod vendor* ./ 17:54:20 ---> 77dcb880eba2 17:54:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:20 ---> Running in a47ce906efa2 17:55:28 Removing intermediate container a47ce906efa2 17:55:28 ---> 599ade95072c 17:55:28 Step 11/13 : COPY . . 17:55:28 ---> 1a4d8a1c6357 17:55:28 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:55:28 ---> Running in 93e404647723 17:55:28  % Total % Received % Xferd Average Speed  Time Time Time Current 17:55:28 Dload Upload Total Spent Left Speed 17:55:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4013 0 --:--:-- --:--:-- --:--:-- 4038 17:55:28 Removing intermediate container 93e404647723 17:55:28 ---> 711e68137e8c 17:55:28 Step 13/13 : RUN ${MAKE} 17:55:28 ---> Running in 2eb8580fc3a0 17:55:28 noop 17:55:28 Removing intermediate container 2eb8580fc3a0 17:55:28 ---> 1d945c757f2d 17:55:28 Successfully built 1d945c757f2d 17:55:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:29 + docker inspect -f . ci-base-image-arm64 17:55:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:29 prd-ubuntu20.04-docker-arm64-4c-16g-15761 does not seem to be running inside a container 17:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/115 -v /w/workspace/device-usb-camera/115:/w/workspace/device-usb-camera/115:rw,z -v /w/workspace/device-usb-camera/115@tmp:/w/workspace/device-usb-camera/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:55:30 $ docker top 64770f6c648647f7ec25f42e15d21a952a6709b237aefc02094b37fbda4fcd27 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:31 + go version 17:55:31 go version go1.20.2 linux/arm64 [Pipeline] } 17:55:31 $ docker stop --time=1 64770f6c648647f7ec25f42e15d21a952a6709b237aefc02094b37fbda4fcd27 17:55:33 $ docker rm -f --volumes 64770f6c648647f7ec25f42e15d21a952a6709b237aefc02094b37fbda4fcd27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:33 + docker inspect -f . ci-base-image-arm64 17:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:33 prd-ubuntu20.04-docker-arm64-4c-16g-15761 does not seem to be running inside a container 17:55:34 $ 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/115 -v /w/workspace/device-usb-camera/115:/w/workspace/device-usb-camera/115:rw,z -v /w/workspace/device-usb-camera/115@tmp:/w/workspace/device-usb-camera/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:55:35 $ docker top 5d29e1e5ffa119ab04dc1aeaf1ddcdb790aef07ca54802d43d42aeca6de9f308 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:35 + git config --global --add safe.directory /w/workspace/device-usb-camera/115 [Pipeline] fileExists [Pipeline] sh 17:55:36 + make test 17:55:36 go test ./... -coverprofile=coverage.out ./... 17:56:08 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:58:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:58:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.8% of statements 17:58:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:58:30 go vet ./... 17:58:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:58:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:58:56 ./bin/test-attribution-txt.sh [Pipeline] echo 17:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:58:56 $ docker stop --time=1 5d29e1e5ffa119ab04dc1aeaf1ddcdb790aef07ca54802d43d42aeca6de9f308 17:58:58 $ docker rm -f --volumes 5d29e1e5ffa119ab04dc1aeaf1ddcdb790aef07ca54802d43d42aeca6de9f308 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:58:59 Warning: overwriting stash ‘coverage-report’ 17:59:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:01 + ls -al . 17:59:01 total 184 17:59:01 drwxrwxr-x 9 jenkins jenkins 4096 May 16 17:55 . 17:59:01 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:53 .. 17:59:01 drwxrwxr-x 8 jenkins jenkins 4096 May 16 17:53 .git 17:59:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:53 .github 17:59:01 -rw-rw-r-- 1 jenkins jenkins 414 May 16 17:53 .gitignore 17:59:01 -rw-rw-r-- 1 jenkins jenkins 42 May 16 17:53 .golangci.yml 17:59:01 -rw-rw-r-- 1 jenkins jenkins 77 May 16 17:53 .hadolint.yml 17:59:01 -rw-rw-r-- 1 jenkins jenkins 9665 May 16 17:53 Attribution.txt 17:59:01 -rw-rw-r-- 1 jenkins jenkins 6219 May 16 17:53 CHANGELOG.md 17:59:01 -rw-rw-r-- 1 jenkins jenkins 2453 May 16 17:53 Dockerfile 17:59:01 -rw-rw-r-- 1 jenkins jenkins 678 May 16 17:53 GOVERNANCE.md 17:59:01 -rw-rw-r-- 1 jenkins jenkins 659 May 16 17:53 Jenkinsfile 17:59:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 17:53 LICENSE 17:59:01 -rw-rw-r-- 1 jenkins jenkins 2364 May 16 17:53 Makefile 17:59:01 -rw-rw-r-- 1 jenkins jenkins 622 May 16 17:53 OWNERS.md 17:59:01 -rw-rw-r-- 1 jenkins jenkins 2477 May 16 17:53 README.md 17:59:01 -rw-rw-r-- 1 jenkins jenkins 12 May 16 17:49 VERSION 17:59:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:53 bin 17:59:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:53 cmd 17:59:01 -rw-r--r-- 1 jenkins jenkins 31522 May 16 17:58 coverage.out 17:59:01 -rwxrwxr-x 1 jenkins jenkins 140 May 16 17:53 docker-entrypoint.sh 17:59:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 17:53 docs 17:59:01 -rw-rw-r-- 1 jenkins jenkins 3419 May 16 17:53 go.mod 17:59:01 -rw-rw-r-- 1 jenkins jenkins 31488 May 16 17:53 go.sum 17:59:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 17:53 internal 17:59:01 drwxrwxr-x 4 jenkins jenkins 4096 May 16 17:53 snap 17:59:01 -rw-rw-r-- 1 jenkins jenkins 231 May 16 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:01 + 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=3541083dc0aa512bb01a466ff2ab5369f3e38532 --label arch=arm64 --label version=3.0.0-dev.43 . 17:59:01 Sending build context to Docker daemon 1.118MB 17:59:01 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 17:59:01 Step 2/36 : FROM ${BASE} AS builder 17:59:01 ---> 1d945c757f2d 17:59:01 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:59:02 ---> Running in e0655219594d 17:59:02 Removing intermediate container e0655219594d 17:59:02 ---> 4a61bfc94413 17:59:02 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:02 ---> Running in 6d34ee712e84 17:59:02 Removing intermediate container 6d34ee712e84 17:59:02 ---> 5859efde430d 17:59:02 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:59:02 ---> Running in 581d8cdfef67 17:59:03 Removing intermediate container 581d8cdfef67 17:59:03 ---> 222570dee2eb 17:59:03 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:59:03 ---> Running in 42499e524ce9 17:59:03 Removing intermediate container 42499e524ce9 17:59:03 ---> eb9ee9b517e1 17:59:03 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:03 ---> Running in 23cf8ed41be6 17:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:59:06 OK: 271 MiB in 67 packages 17:59:06 Removing intermediate container 23cf8ed41be6 17:59:06 ---> c7e8213d5f45 17:59:06 Step 8/36 : WORKDIR /device-usb-camera 17:59:06 ---> Running in 1040e3632960 17:59:07 Removing intermediate container 1040e3632960 17:59:07 ---> bbe52aad16a9 17:59:07 Step 9/36 : COPY go.mod vendor* ./ 17:59:07 ---> 294237267b5e 17:59:07 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:08 ---> Running in c5c41caa24fb 17:59:10 Removing intermediate container c5c41caa24fb 17:59:10 ---> 127b64f10b92 17:59:10 Step 11/36 : COPY . . 17:59:11 ---> ea514efef052 17:59:11 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:59:11 ---> Running in 2b14eae38fd6 17:59:12  % Total % Received % Xferd Average Speed Time Time Time Current 17:59:12 Dload Upload Total  Spent Left Speed 17:59:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2857 0 --:--:-- --:--:-- --:--:-- 2870 17:59:13 Removing intermediate container 2b14eae38fd6 17:59:13 ---> 4250257c0e11 17:59:13 Step 13/36 : RUN ${MAKE} 17:59:13 ---> Running in a12837b4c5c4 17:59:14 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.43" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:02:06 Removing intermediate container a12837b4c5c4 18:02:06 ---> ef66285a0787 18:02:06 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:02:06 v0.21.6: Pulling from aler9/rtsp-simple-server 18:02:06 8766b47fe142: Pulling fs layer 18:02:06 8766b47fe142: Verifying Checksum 18:02:06 8766b47fe142: Download complete 18:02:06 8766b47fe142: Pull complete 18:02:06 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:02:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:02:06 ---> 69d40e2cb93c 18:02:06 Step 15/36 : FROM alpine:3.17 18:02:06 3.17: Pulling from library/alpine 18:02:06 c41833b44d91: Already exists 18:02:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:02:06 Status: Downloaded newer image for alpine:3.17 18:02:06 ---> 51e60588ff2c 18:02:06 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:02:06 ---> Running in 28422c22990e 18:02:06 Removing intermediate container 28422c22990e 18:02:06 ---> f74add2dd307 18:02:06 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:02:06 ---> Running in debcd2f6078e 18:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:02:06 (1/83) Installing dumb-init (1.2.5-r2) 18:02:06 (2/83) Installing sdl2 (2.26.5-r0) 18:02:06 (3/83) Installing libxau (1.0.10-r0) 18:02:06 (4/83) Installing libmd (1.0.4-r0) 18:02:06 (5/83) Installing libbsd (0.11.7-r0) 18:02:06 (6/83) Installing libxdmcp (1.1.4-r0) 18:02:06 (7/83) Installing libxcb (1.15-r0) 18:02:06 (8/83) Installing libx11 (1.8.4-r0) 18:02:06 (9/83) Installing aom-libs (3.5.0-r0) 18:02:06 (10/83) Installing alsa-lib (1.2.8-r0) 18:02:06 (11/83) Installing libexpat (2.5.0-r0) 18:02:06 (12/83) Installing brotli-libs (1.0.9-r9) 18:02:06 (13/83) Installing libbz2 (1.0.8-r4) 18:02:06 (14/83) Installing libpng (1.6.38-r0) 18:02:06 (15/83) Installing freetype (2.12.1-r0) 18:02:06 (16/83) Installing fontconfig (2.14.1-r0) 18:02:06 (17/83) Installing fribidi (1.0.12-r0) 18:02:06 (18/83) Installing libffi (3.4.4-r0) 18:02:06 (19/83) Installing libintl (0.21.1-r1) 18:02:06 (20/83) Installing libblkid (2.38.1-r1) 18:02:06 (21/83) Installing libmount (2.38.1-r1) 18:02:06 (22/83) Installing pcre2 (10.42-r0) 18:02:06 (23/83) Installing glib (2.74.6-r0) 18:02:06 (24/83) Installing graphite2 (1.3.14-r2) 18:02:06 (25/83) Installing harfbuzz (5.3.1-r1) 18:02:06 (26/83) Installing libass (0.16.0-r1) 18:02:06 (27/83) Installing libdav1d (1.0.0-r2) 18:02:06 (28/83) Installing libdrm (2.4.114-r0) 18:02:06 (29/83) Installing gmp (6.2.1-r2) 18:02:06 (30/83) Installing nettle (3.8.1-r0) 18:02:06 (31/83) Installing p11-kit (0.24.1-r1) 18:02:06 (32/83) Installing libtasn1 (4.19.0-r0) 18:02:06 (33/83) Installing libunistring (1.1-r0) 18:02:06 (34/83) Installing gnutls (3.7.8-r3) 18:02:06 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:02:06 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 18:02:06 (37/83) Installing lame (3.100-r2) 18:02:06 (38/83) Installing opus (1.3.1-r1) 18:02:06 (39/83) Installing libasyncns (0.8-r1) 18:02:06 (40/83) Installing dbus-libs (1.14.4-r0) 18:02:06 (41/83) Installing libltdl (2.4.7-r1) 18:02:06 (42/83) Installing orc (0.4.33-r0) 18:02:06 (43/83) Installing libgcc (12.2.1_git20220924-r4) 18:02:06 (44/83) Installing libogg (1.3.5-r2) 18:02:06 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 18:02:06 (46/83) Installing flac-libs (1.4.2-r0) 18:02:06 (47/83) Installing libvorbis (1.3.7-r0) 18:02:06 (48/83) Installing libsndfile (1.1.0-r2) 18:02:06 (49/83) Installing libgomp (12.2.1_git20220924-r4) 18:02:06 (50/83) Installing soxr (0.1.3-r3) 18:02:06 (51/83) Installing speexdsp (1.2.1-r0) 18:02:06 (52/83) Installing tdb-libs (1.4.6-r0) 18:02:06 (53/83) Installing libpulse (16.1-r6) 18:02:06 (54/83) Installing cjson (1.7.15-r3) 18:02:06 (55/83) Installing mbedtls (2.28.3-r0) 18:02:06 (56/83) Installing librist (0.2.7-r0) 18:02:06 (57/83) Installing libsrt (1.5.1-r0) 18:02:06 (58/83) Installing libssh (0.10.5-r0) 18:02:06 (59/83) Installing libtheora (1.1.1-r16) 18:02:06 (60/83) Installing libjpeg-turbo (2.1.4-r0) 18:02:06 (61/83) Installing v4l-utils-libs (1.22.1-r2) 18:02:06 (62/83) Installing libxext (1.3.5-r0) 18:02:06 (63/83) Installing libxfixes (6.0.0-r0) 18:02:06 (64/83) Installing wayland-libs-client (1.21.0-r1) 18:02:06 (65/83) Installing libva (2.16.0-r0) 18:02:06 (66/83) Installing libvdpau (1.5-r0) 18:02:06 (67/83) Installing vidstab (1.1.0-r2) 18:02:06 (68/83) Installing libvpx (1.12.0-r1) 18:02:06 (69/83) Installing libwebp (1.2.4-r1) 18:02:06 (70/83) Installing x264-libs (0.164_git20220602-r0) 18:02:06 (71/83) Installing numactl (2.0.16-r1) 18:02:06 (72/83) Installing x265-libs (3.5-r3) 18:02:06 (73/83) Installing xvidcore (1.3.7-r1) 18:02:06 (74/83) Installing libsodium (1.0.18-r2) 18:02:06 (75/83) Installing libzmq (4.3.4-r1) 18:02:06 (76/83) Installing ffmpeg-libs (5.1.3-r0) 18:02:06 (77/83) Installing ffmpeg (5.1.3-r0) 18:02:06 (78/83) Installing udev-init-scripts (35-r1) 18:02:06 (79/83) Installing eudev-libs (3.2.11-r4) 18:02:06 (80/83) Installing xz-libs (5.2.9-r0) 18:02:06 (81/83) Installing zstd-libs (1.5.5-r0) 18:02:06 (82/83) Installing kmod-libs (30-r1) 18:02:06 (83/83) Installing eudev (3.2.11-r4) 18:02:06 Executing busybox-1.35.0-r29.trigger 18:02:06 Executing eudev-3.2.11-r4.trigger 18:02:06 OK: 86 MiB in 98 packages 18:02:06 Removing intermediate container debcd2f6078e 18:02:06 ---> de3a9ac463f0 18:02:06 Step 18/36 : WORKDIR / 18:02:06 ---> Running in 033868e15c74 18:02:06 Removing intermediate container 033868e15c74 18:02:06 ---> 2b6936e7f861 18:02:06 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:02:06 ---> 7688dbb708d7 18:02:06 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:02:07 ---> abf2a247d6a2 18:02:07 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:02:07 ---> 0352ee328f56 18:02:07 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:02:08 ---> 125b92bf5d67 18:02:08 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:02:08 ---> 3e114a885f4a 18:02:08 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:02:09 ---> d679917ce455 18:02:09 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:02:10 ---> 9e65b790695a 18:02:10 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:02:10 ---> Running in 89ecc35b46dc 18:02:12 Removing intermediate container 89ecc35b46dc 18:02:12 ---> d141383c81f8 18:02:12 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:02:12 ---> Running in c2060db5b965 18:02:14 Removing intermediate container c2060db5b965 18:02:14 ---> 20372b319153 18:02:14 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:02:14 ---> Running in 48902c9d6fb9 18:02:15 Removing intermediate container 48902c9d6fb9 18:02:15 ---> 88d1d200ebbd 18:02:15 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:02:15 ---> Running in 8cb7d82ae0d2 18:02:19 Removing intermediate container 8cb7d82ae0d2 18:02:19 ---> ba50bf2f7cf3 18:02:19 Step 30/36 : EXPOSE 59983 18:02:19 ---> Running in 7e634ad5080a 18:02:19 Removing intermediate container 7e634ad5080a 18:02:19 ---> 05f0669e8699 18:02:19 Step 31/36 : EXPOSE 8554 18:02:19 ---> Running in b3e8af7e87d6 18:02:19 Removing intermediate container b3e8af7e87d6 18:02:19 ---> e310fb4cc655 18:02:19 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:02:19 ---> Running in af592da78931 18:02:20 Removing intermediate container af592da78931 18:02:20 ---> 21a71406a01a 18:02:20 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:02:20 ---> Running in e8c4a75c1f60 18:02:20 Removing intermediate container e8c4a75c1f60 18:02:20 ---> 1307eadce5d4 18:02:20 Step 34/36 : LABEL arch=arm64 18:02:20 ---> Running in d2af6127d9db 18:02:20 Removing intermediate container d2af6127d9db 18:02:20 ---> d9ed7692c626 18:02:20 Step 35/36 : LABEL git_sha=3541083dc0aa512bb01a466ff2ab5369f3e38532 18:02:21 ---> Running in 9e740c23e97f 18:02:21 Removing intermediate container 9e740c23e97f 18:02:21 ---> 5ded84f1415c 18:02:21 Step 36/36 : LABEL version=3.0.0-dev.43 18:02:21 ---> Running in ecd2c718e5f1 18:02:21 Removing intermediate container ecd2c718e5f1 18:02:21 ---> 20d38bcbf0af 18:02:21 [Warning] One or more build-args [ARCH] were not consumed 18:02:21 Successfully built 20d38bcbf0af 18:02:21 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 18:02:21 provisioning config files... 18:02:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/115@tmp/config2212378604422448583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:22 ---> docker-login.sh 18:02:22 nexus3.edgexfoundry.org:10001 18:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:22 Configure a credential helper to remove this warning. See 18:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:22 18:02:22 Login Succeeded 18:02:22 nexus3.edgexfoundry.org:10002 18:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:23 Configure a credential helper to remove this warning. See 18:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:23 18:02:23 Login Succeeded 18:02:23 nexus3.edgexfoundry.org:10003 18:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:23 Configure a credential helper to remove this warning. See 18:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:23 18:02:23 Login Succeeded 18:02:23 nexus3.edgexfoundry.org:10004 18:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:23 Configure a credential helper to remove this warning. See 18:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:23 18:02:23 Login Succeeded 18:02:23 docker.io 18:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:24 Configure a credential helper to remove this warning. See 18:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:24 18:02:24 Login Succeeded 18:02:24 ---> docker-login.sh ends [Pipeline] } 18:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:24 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 18:02:24 3541083dc0aa512bb01a466ff2ab5369f3e38532 18:02:24 latest 18:02:24 3.0.0-dev.43 18:02:24 3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 18:02:24 main 18:02:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:24 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532 18:02:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:02:25 b487217c396b: Preparing 18:02:25 b3a3c9ecebe7: Preparing 18:02:25 3bc70186ee7d: Preparing 18:02:25 e13a0b8ef52e: Preparing 18:02:25 608d194cb50c: Preparing 18:02:25 acc83c6ca332: Preparing 18:02:25 fc700803ece8: Preparing 18:02:25 8e7ff3a76638: Preparing 18:02:25 6ef820ac36f3: Preparing 18:02:25 3c222766bef0: Preparing 18:02:25 e4794a764c51: Preparing 18:02:25 671c67793fbf: Preparing 18:02:25 26cbea5cba74: Preparing 18:02:25 acc83c6ca332: Waiting 18:02:25 fc700803ece8: Waiting 18:02:25 8e7ff3a76638: Waiting 18:02:25 6ef820ac36f3: Waiting 18:02:25 3c222766bef0: Waiting 18:02:25 26cbea5cba74: Waiting 18:02:25 e4794a764c51: Waiting 18:02:25 671c67793fbf: Waiting 18:02:25 b487217c396b: Pushed 18:02:25 e13a0b8ef52e: Pushed 18:02:25 b3a3c9ecebe7: Pushed 18:02:25 3bc70186ee7d: Pushed 18:02:25 acc83c6ca332: Pushed 18:02:25 fc700803ece8: Pushed 18:02:25 6ef820ac36f3: Pushed 18:02:25 8e7ff3a76638: Pushed 18:02:26 26cbea5cba74: Layer already exists 18:02:26 3c222766bef0: Pushed 18:02:31 608d194cb50c: Pushed 18:02:31 e4794a764c51: Pushed 18:02:41 671c67793fbf: Pushed 18:02:41 3541083dc0aa512bb01a466ff2ab5369f3e38532: digest: sha256:5e53027a6bf29d59ffee7da9e254b01b5f16c015161f865ae4633020a27b64c6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:42 + 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 18:02:42 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:02:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:02:42 b487217c396b: Preparing 18:02:42 b3a3c9ecebe7: Preparing 18:02:42 3bc70186ee7d: Preparing 18:02:42 e13a0b8ef52e: Preparing 18:02:42 608d194cb50c: Preparing 18:02:42 acc83c6ca332: Preparing 18:02:42 fc700803ece8: Preparing 18:02:42 8e7ff3a76638: Preparing 18:02:42 6ef820ac36f3: Preparing 18:02:42 3c222766bef0: Preparing 18:02:42 e4794a764c51: Preparing 18:02:42 671c67793fbf: Preparing 18:02:42 26cbea5cba74: Preparing 18:02:42 fc700803ece8: Waiting 18:02:42 8e7ff3a76638: Waiting 18:02:42 6ef820ac36f3: Waiting 18:02:42 3c222766bef0: Waiting 18:02:42 e4794a764c51: Waiting 18:02:42 671c67793fbf: Waiting 18:02:42 26cbea5cba74: Waiting 18:02:42 acc83c6ca332: Waiting 18:02:42 b3a3c9ecebe7: Layer already exists 18:02:42 608d194cb50c: Layer already exists 18:02:42 b487217c396b: Layer already exists 18:02:42 3bc70186ee7d: Layer already exists 18:02:42 fc700803ece8: Layer already exists 18:02:42 acc83c6ca332: Layer already exists 18:02:42 6ef820ac36f3: Layer already exists 18:02:42 8e7ff3a76638: Layer already exists 18:02:42 e13a0b8ef52e: Layer already exists 18:02:42 e4794a764c51: Layer already exists 18:02:42 26cbea5cba74: Layer already exists 18:02:42 671c67793fbf: Layer already exists 18:02:42 3c222766bef0: Layer already exists 18:02:42 latest: digest: sha256:5e53027a6bf29d59ffee7da9e254b01b5f16c015161f865ae4633020a27b64c6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:43 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:43 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.43 18:02:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:02:43 b487217c396b: Preparing 18:02:43 b3a3c9ecebe7: Preparing 18:02:43 3bc70186ee7d: Preparing 18:02:43 e13a0b8ef52e: Preparing 18:02:43 608d194cb50c: Preparing 18:02:43 acc83c6ca332: Preparing 18:02:43 fc700803ece8: Preparing 18:02:43 8e7ff3a76638: Preparing 18:02:43 6ef820ac36f3: Preparing 18:02:43 3c222766bef0: Preparing 18:02:43 e4794a764c51: Preparing 18:02:43 671c67793fbf: Preparing 18:02:43 26cbea5cba74: Preparing 18:02:43 acc83c6ca332: Waiting 18:02:43 fc700803ece8: Waiting 18:02:43 8e7ff3a76638: Waiting 18:02:43 6ef820ac36f3: Waiting 18:02:43 3c222766bef0: Waiting 18:02:43 e4794a764c51: Waiting 18:02:43 671c67793fbf: Waiting 18:02:43 26cbea5cba74: Waiting 18:02:43 608d194cb50c: Layer already exists 18:02:43 e13a0b8ef52e: Layer already exists 18:02:43 3bc70186ee7d: Layer already exists 18:02:43 b3a3c9ecebe7: Layer already exists 18:02:43 6ef820ac36f3: Layer already exists 18:02:43 fc700803ece8: Layer already exists 18:02:43 8e7ff3a76638: Layer already exists 18:02:43 b487217c396b: Layer already exists 18:02:43 e4794a764c51: Layer already exists 18:02:43 26cbea5cba74: Layer already exists 18:02:43 acc83c6ca332: Layer already exists 18:02:43 3c222766bef0: Layer already exists 18:02:43 671c67793fbf: Layer already exists 18:02:43 3.0.0-dev.43: digest: sha256:5e53027a6bf29d59ffee7da9e254b01b5f16c015161f865ae4633020a27b64c6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:44 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 18:02:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:02:45 b487217c396b: Preparing 18:02:45 b3a3c9ecebe7: Preparing 18:02:45 3bc70186ee7d: Preparing 18:02:45 e13a0b8ef52e: Preparing 18:02:45 608d194cb50c: Preparing 18:02:45 acc83c6ca332: Preparing 18:02:45 fc700803ece8: Preparing 18:02:45 8e7ff3a76638: Preparing 18:02:45 6ef820ac36f3: Preparing 18:02:45 3c222766bef0: Preparing 18:02:45 e4794a764c51: Preparing 18:02:45 671c67793fbf: Preparing 18:02:45 26cbea5cba74: Preparing 18:02:45 6ef820ac36f3: Waiting 18:02:45 671c67793fbf: Waiting 18:02:45 3c222766bef0: Waiting 18:02:45 e4794a764c51: Waiting 18:02:45 26cbea5cba74: Waiting 18:02:45 acc83c6ca332: Waiting 18:02:45 fc700803ece8: Waiting 18:02:45 8e7ff3a76638: Waiting 18:02:45 608d194cb50c: Layer already exists 18:02:45 3bc70186ee7d: Layer already exists 18:02:45 b3a3c9ecebe7: Layer already exists 18:02:45 b487217c396b: Layer already exists 18:02:45 e13a0b8ef52e: Layer already exists 18:02:45 acc83c6ca332: Layer already exists 18:02:45 fc700803ece8: Layer already exists 18:02:45 6ef820ac36f3: Layer already exists 18:02:45 e4794a764c51: Layer already exists 18:02:45 671c67793fbf: Layer already exists 18:02:45 26cbea5cba74: Layer already exists 18:02:45 8e7ff3a76638: Layer already exists 18:02:45 3c222766bef0: Layer already exists 18:02:46 3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43: digest: sha256:5e53027a6bf29d59ffee7da9e254b01b5f16c015161f865ae4633020a27b64c6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:46 + 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 18:02:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 18:02:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:02:46 b487217c396b: Preparing 18:02:46 b3a3c9ecebe7: Preparing 18:02:46 3bc70186ee7d: Preparing 18:02:46 e13a0b8ef52e: Preparing 18:02:46 608d194cb50c: Preparing 18:02:46 acc83c6ca332: Preparing 18:02:46 fc700803ece8: Preparing 18:02:46 8e7ff3a76638: Preparing 18:02:46 6ef820ac36f3: Preparing 18:02:46 3c222766bef0: Preparing 18:02:46 e4794a764c51: Preparing 18:02:46 671c67793fbf: Preparing 18:02:46 26cbea5cba74: Preparing 18:02:46 6ef820ac36f3: Waiting 18:02:46 3c222766bef0: Waiting 18:02:46 e4794a764c51: Waiting 18:02:46 671c67793fbf: Waiting 18:02:46 26cbea5cba74: Waiting 18:02:46 acc83c6ca332: Waiting 18:02:46 8e7ff3a76638: Waiting 18:02:46 fc700803ece8: Waiting 18:02:46 b487217c396b: Layer already exists 18:02:46 608d194cb50c: Layer already exists 18:02:46 3bc70186ee7d: Layer already exists 18:02:46 b3a3c9ecebe7: Layer already exists 18:02:46 e13a0b8ef52e: Layer already exists 18:02:46 fc700803ece8: Layer already exists 18:02:46 8e7ff3a76638: Layer already exists 18:02:46 acc83c6ca332: Layer already exists 18:02:46 3c222766bef0: Layer already exists 18:02:47 e4794a764c51: Layer already exists 18:02:47 671c67793fbf: Layer already exists 18:02:47 26cbea5cba74: Layer already exists 18:02:47 6ef820ac36f3: Layer already exists 18:02:47 main: digest: sha256:5e53027a6bf29d59ffee7da9e254b01b5f16c015161f865ae4633020a27b64c6 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:47 ===================================================== [Pipeline] echo 18:02:47 taggedImages: 18:02:47 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532 18:02:47 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:02:47 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.43 18:02:47 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3541083dc0aa512bb01a466ff2ab5369f3e38532-3.0.0-dev.43 18:02:47 - 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 18:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:47 18:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:47 arm64: Pulling from edgex-lftools-log-publisher 18:02:47 8998bd30e6a1: Pulling fs layer 18:02:47 04944245beec: Pulling fs layer 18:02:47 699f458cf7ca: Pulling fs layer 18:02:47 765212b225bb: Pulling fs layer 18:02:47 f23df028b6ca: Pulling fs layer 18:02:47 d65c8cfc05b1: Pulling fs layer 18:02:47 2437ff75d9bd: Pulling fs layer 18:02:47 765212b225bb: Waiting 18:02:47 f23df028b6ca: Waiting 18:02:47 d65c8cfc05b1: Waiting 18:02:47 2437ff75d9bd: Waiting 18:02:48 04944245beec: Verifying Checksum 18:02:48 04944245beec: Download complete 18:02:48 765212b225bb: Verifying Checksum 18:02:48 765212b225bb: Download complete 18:02:48 f23df028b6ca: Verifying Checksum 18:02:48 f23df028b6ca: Download complete 18:02:48 d65c8cfc05b1: Verifying Checksum 18:02:48 d65c8cfc05b1: Download complete 18:02:48 699f458cf7ca: Verifying Checksum 18:02:48 699f458cf7ca: Download complete 18:02:48 8998bd30e6a1: Verifying Checksum 18:02:48 8998bd30e6a1: Download complete 18:02:50 2437ff75d9bd: Verifying Checksum 18:02:50 2437ff75d9bd: Download complete 18:02:52 8998bd30e6a1: Pull complete 18:02:52 04944245beec: Pull complete 18:02:53 699f458cf7ca: Pull complete 18:02:54 765212b225bb: Pull complete 18:02:54 f23df028b6ca: Pull complete 18:02:54 d65c8cfc05b1: Pull complete 18:03:07 2437ff75d9bd: Pull complete 18:03:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:07 prd-ubuntu20.04-docker-arm64-4c-16g-15761 does not seem to be running inside a container 18:03:07 $ 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/115 -v /w/workspace/device-usb-camera/115:/w/workspace/device-usb-camera/115:rw,z -v /w/workspace/device-usb-camera/115@tmp:/w/workspace/device-usb-camera/115@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 18:03:09 $ docker top 977788b3334d129216273ad57b859d06792498dd3009c73bae59a7d012406b26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:10 ---> job-cost.sh 18:03:10 lf-activate-venv: SKIPPING 18:03:10 INFO: No Stack... 18:03:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:03:12 INFO: Archiving Costs [Pipeline] sh 18:03:12 + cat /w/workspace/device-usb-camera/115/archives/cost.csv 18:03:12 + cut -d, -f6 [Pipeline] lock 18:03:12 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] 18:03:12 Resource [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] did not exist. Created. 18:03:12 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:12 /w/workspace/device-usb-camera/115@tmp/durable-c5aeeef8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:03:13 + echo total: 0.10999999940395355 [Pipeline] stash 18:03:13 Warning: overwriting stash ‘stack-cost’ 18:03:13 Stashed 1 file(s) [Pipeline] } 18:03:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 18:03:13 $ docker stop --time=1 977788b3334d129216273ad57b859d06792498dd3009c73bae59a7d012406b26 18:03:14 $ docker rm -f --volumes 977788b3334d129216273ad57b859d06792498dd3009c73bae59a7d012406b26 [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 18:03:15 provisioning config files... 18:03:15 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10935295965796406520tmp [Pipeline] { [Pipeline] sh 18:03:15 + set +x 18:03:15 + curl+ -s https://codecov.io/bash 18:03:15 bash -s -- 18:03:15 18:03:15 _____ _ 18:03:15 / ____| | | 18:03:15 | | ___ __| | ___ ___ _____ __ 18:03:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:03:15 | |___| (_) | (_| | __/ (_| (_) \ V / 18:03:15 \_____\___/ \__,_|\___|\___\___/ \_/ 18:03:15 Bash-1.0.6 18:03:15 18:03:15 18:03:15 ==> git version 2.25.1 found 18:03:15 ==> 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 18:03:15 Release-Date: 2020-01-08 18:03:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:03:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:03:15 ==> Jenkins CI detected. 18:03:15 current dir:  /w/workspace/exfoundry_device-usb-camera_main 18:03:15 project root: . 18:03:15 --> token set from env 18:03:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:03:15 ==> Running gcov in . (disable via -X gcov) 18:03:15 ==> Python coveragepy not found 18:03:15 ==> Searching for coverage reports in: 18:03:15 + . 18:03:15 -> Found 1 reports 18:03:15 ==> Detecting git/mercurial file structure 18:03:15 ==> Reading reports 18:03:15 + ./coverage.out bytes=31522 18:03:15 ==> Appending adjustments 18:03:15 https://docs.codecov.io/docs/fixing-reports 18:03:15 + Found adjustments 18:03:15 ==> Gzipping contents 18:03:15 8.0K /tmp/codecov.NU5Vi9.gz 18:03:15 ==> Uploading reports 18:03:15 url: https://codecov.io 18:03:15 query: branch=main&commit=3541083dc0aa512bb01a466ff2ab5369f3e38532&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:03:15 -> Pinging Codecov 18:03:15 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=3541083dc0aa512bb01a466ff2ab5369f3e38532&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:03:42 -> Uploading to 18:03:42 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/73D8F5FF140700D3E01443B452E23636/3541083dc0aa512bb01a466ff2ab5369f3e38532/116ec8ea-1b06-4a89-959e-9291473bacf6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T180340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8d952f893a2c7c0b34a3182b826584ebbb7709c42f748d2237ca6b4ec258be8 18:03:42 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:42 Dload Upload Total Spent Left Speed 18:03:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 26030 --:--:-- --:--:-- --:--:-- 26030 18:03:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] } 18:03:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:03:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:03:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:42 18:03:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:03:43 df9b9388f04a: Pulling fs layer 18:03:43 52dc419b0ee2: Pulling fs layer 18:03:43 25bc292e5bac: Pulling fs layer 18:03:43 114826534d7a: Pulling fs layer 18:03:43 4657fd5d0bcf: Pulling fs layer 18:03:43 6ad1cebc031e: Pulling fs layer 18:03:43 8a3aa393b2d8: Pulling fs layer 18:03:43 114826534d7a: Waiting 18:03:43 4657fd5d0bcf: Waiting 18:03:43 6ad1cebc031e: Waiting 18:03:43 52dc419b0ee2: Download complete 18:03:43 df9b9388f04a: Verifying Checksum 18:03:43 df9b9388f04a: Download complete 18:03:43 25bc292e5bac: Verifying Checksum 18:03:43 25bc292e5bac: Download complete 18:03:43 4657fd5d0bcf: Verifying Checksum 18:03:43 4657fd5d0bcf: Download complete 18:03:43 6ad1cebc031e: Verifying Checksum 18:03:43 6ad1cebc031e: Download complete 18:03:43 df9b9388f04a: Pull complete 18:03:44 52dc419b0ee2: Pull complete 18:03:44 25bc292e5bac: Pull complete 18:03:45 8a3aa393b2d8: Verifying Checksum 18:03:45 8a3aa393b2d8: Download complete 18:03:45 114826534d7a: Download complete 18:03:48 114826534d7a: Pull complete 18:03:48 4657fd5d0bcf: Pull complete 18:03:48 6ad1cebc031e: Pull complete 18:03:51 8a3aa393b2d8: Pull complete 18:03:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:51 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:03:51 $ 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 18:04:01 $ docker top 246263c45546d9ebf992ec23cfbdea224de0c8d3a326a15ad253baefdf5a9f29 -eo pid,comm [Pipeline] { [Pipeline] echo 18:04:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 18:04:01 + set -o pipefail 18:04:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 18:04:05 18:04:05 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 18:04:05 18:04:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/2f42990d-e5fe-4b39-824e-55652b601663 18:04:05 18:04:05 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:04:05 18:04:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:04:05 18:04:06 18:04:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:04:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:04:06 More details here: https://snyk.co/ue1NS [Pipeline] } 18:04:06 $ docker stop --time=1 246263c45546d9ebf992ec23cfbdea224de0c8d3a326a15ad253baefdf5a9f29 18:04:10 $ docker rm -f --volumes 246263c45546d9ebf992ec23cfbdea224de0c8d3a326a15ad253baefdf5a9f29 [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 18:04:10 + git log --format=format:%s -1 3541083dc0aa512bb01a466ff2ab5369f3e38532 [Pipeline] sh 18:04:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:11 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:04:11 $ 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 18:04:13 $ docker top 909ad5d8fd0ec6fb068ed1b273d5be9a2fbfb3d7454c12fca215479a47ef001b -eo pid,comm 18:04:13 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). 18:04:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:13 [ssh-agent] Looking for ssh-agent implementation... 18:04:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:13 $ docker exec 909ad5d8fd0ec6fb068ed1b273d5be9a2fbfb3d7454c12fca215479a47ef001b ssh-agent 18:04:13 SSH_AUTH_SOCK=/tmp/ssh-jZm3SnpXyzDv/agent.13 18:04:13 SSH_AGENT_PID=19 18:04:13 Running ssh-add (command line suppressed) 18:04:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17015748207361554281.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17015748207361554281.key) 18:04:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:14 + git semver tag 18:04:14 2023-05-16 18:04:14,614 [run_tag] DEBUG tag force:False 18:04:14 2023-05-16 18:04:14,614 [check_head_tag] DEBUG check head tag 18:04:14 2023-05-16 18:04:14,616 [execute] INFO git cat-file --batch-check 18:04:14 2023-05-16 18:04:14,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:04:14 2023-05-16 18:04:14,620 [execute] INFO git cat-file --batch 18:04:14 2023-05-16 18:04:14,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:04:14 2023-05-16 18:04:14,646 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:14 2023-05-16 18:04:14,651 [execute] INFO git tag -a v3.0.0-dev.43 -m v3.0.0-dev.43 18:04:14 2023-05-16 18:04:14,651 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.43', '-m', 'v3.0.0-dev.43'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:04:14 2023-05-16 18:04:14,656 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:14 3.0.0-dev.43 [Pipeline] } 18:04:14 $ docker exec --env ******** --env ******** 909ad5d8fd0ec6fb068ed1b273d5be9a2fbfb3d7454c12fca215479a47ef001b ssh-agent -k 18:04:15 unset SSH_AUTH_SOCK; 18:04:15 unset SSH_AGENT_PID; 18:04:15 echo Agent pid 19 killed; 18:04:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:15 + git semver [Pipeline] } 18:04:15 $ docker stop --time=1 909ad5d8fd0ec6fb068ed1b273d5be9a2fbfb3d7454c12fca215479a47ef001b 18:04:17 $ docker rm -f --volumes 909ad5d8fd0ec6fb068ed1b273d5be9a2fbfb3d7454c12fca215479a47ef001b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:17 18:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:18 0.23.1-centos7: Pulling from edgex-lftools 18:04:18 ab5ef0e58194: Pulling fs layer 18:04:18 9712f1f96733: Pulling fs layer 18:04:18 63f879dbbcfc: Pulling fs layer 18:04:18 0d9ebad4ef96: Pulling fs layer 18:04:18 e9a5061849ea: Pulling fs layer 18:04:18 d747dcd14b5f: Pulling fs layer 18:04:18 2de7ff778b66: Pulling fs layer 18:04:18 0d9ebad4ef96: Waiting 18:04:18 e9a5061849ea: Waiting 18:04:18 d747dcd14b5f: Waiting 18:04:18 2de7ff778b66: Waiting 18:04:18 9712f1f96733: Verifying Checksum 18:04:18 9712f1f96733: Download complete 18:04:18 63f879dbbcfc: Verifying Checksum 18:04:18 63f879dbbcfc: Download complete 18:04:18 0d9ebad4ef96: Verifying Checksum 18:04:18 0d9ebad4ef96: Download complete 18:04:18 d747dcd14b5f: Verifying Checksum 18:04:18 d747dcd14b5f: Download complete 18:04:18 e9a5061849ea: Verifying Checksum 18:04:18 e9a5061849ea: Download complete 18:04:18 ab5ef0e58194: Verifying Checksum 18:04:18 ab5ef0e58194: Download complete 18:04:18 2de7ff778b66: Verifying Checksum 18:04:18 2de7ff778b66: Download complete 18:04:21 ab5ef0e58194: Pull complete 18:04:21 9712f1f96733: Pull complete 18:04:22 63f879dbbcfc: Pull complete 18:04:25 0d9ebad4ef96: Pull complete 18:04:26 e9a5061849ea: Pull complete 18:04:26 d747dcd14b5f: Pull complete 18:04:27 2de7ff778b66: Pull complete 18:04:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:27 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:04:27 $ 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 18:04:33 $ docker top 9098b0230d0054c3458c5b5dfac26333b77cbdc54222c83dee889e29fe94b175 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:04:33 provisioning config files... 18:04:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config421610855312419100tmp 18:04:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3348740888948587691tmp 18:04:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16593821061389987351tmp [Pipeline] { [Pipeline] echo 18:04:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:04:34 ---> sigul-configuration.sh 18:04:34 gpg: directory `/root/.gnupg' created 18:04:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:04:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:04:34 gpg: keyring `/root/.gnupg/secring.gpg' created 18:04:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:04:34 gpg: CAST5 encrypted data 18:04:34 gpg: encrypted with 1 passphrase 18:04:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:04:34 + mkdir /home/jenkins 18:04:34 + mkdir /home/jenkins/sigul [Pipeline] sh 18:04:34 + 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 18:04:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:04:34 ---> sigul-install.sh 18:04:34 Sigul already installed; skipping installation. [Pipeline] sh 18:04:35 + git tag --list 18:04:35 v0.0.0 18:04:35 v0.0.1-dev.1 18:04:35 v0.0.1-dev.10 18:04:35 v0.0.1-dev.11 18:04:35 v0.0.1-dev.12 18:04:35 v0.0.1-dev.13 18:04:35 v0.0.1-dev.14 18:04:35 v0.0.1-dev.15 18:04:35 v0.0.1-dev.16 18:04:35 v0.0.1-dev.2 18:04:35 v0.0.1-dev.3 18:04:35 v0.0.1-dev.4 18:04:35 v0.0.1-dev.5 18:04:35 v0.0.1-dev.6 18:04:35 v0.0.1-dev.7 18:04:35 v0.0.1-dev.8 18:04:35 v0.0.1-dev.9 18:04:35 v2.2.0 18:04:35 v2.2.0-dev.17 18:04:35 v2.2.0-dev.18 18:04:35 v2.2.0-dev.19 18:04:35 v2.2.0-dev.20 18:04:35 v2.2.0-dev.21 18:04:35 v2.2.0-dev.22 18:04:35 v2.2.0-dev.23 18:04:35 v2.2.0-dev.24 18:04:35 v2.2.0-dev.25 18:04:35 v2.2.0-dev.26 18:04:35 v2.2.0-dev.27 18:04:35 v2.3.0 18:04:35 v2.3.0-dev.1 18:04:35 v2.3.0-dev.10 18:04:35 v2.3.0-dev.11 18:04:35 v2.3.0-dev.12 18:04:35 v2.3.0-dev.13 18:04:35 v2.3.0-dev.14 18:04:35 v2.3.0-dev.15 18:04:35 v2.3.0-dev.16 18:04:35 v2.3.0-dev.17 18:04:35 v2.3.0-dev.18 18:04:35 v2.3.0-dev.19 18:04:35 v2.3.0-dev.2 18:04:35 v2.3.0-dev.20 18:04:35 v2.3.0-dev.21 18:04:35 v2.3.0-dev.22 18:04:35 v2.3.0-dev.23 18:04:35 v2.3.0-dev.24 18:04:35 v2.3.0-dev.25 18:04:35 v2.3.0-dev.26 18:04:35 v2.3.0-dev.27 18:04:35 v2.3.0-dev.28 18:04:35 v2.3.0-dev.3 18:04:35 v2.3.0-dev.4 18:04:35 v2.3.0-dev.5 18:04:35 v2.3.0-dev.6 18:04:35 v2.3.0-dev.7 18:04:35 v2.3.0-dev.8 18:04:35 v2.3.0-dev.9 18:04:35 v2.3.1 18:04:35 v2.3.1-dev.4 18:04:35 v2.3.1-dev.5 18:04:35 v2.3.1-dev.6 18:04:35 v3.0.0-dev.1 18:04:35 v3.0.0-dev.10 18:04:35 v3.0.0-dev.11 18:04:35 v3.0.0-dev.12 18:04:35 v3.0.0-dev.13 18:04:35 v3.0.0-dev.14 18:04:35 v3.0.0-dev.15 18:04:35 v3.0.0-dev.16 18:04:35 v3.0.0-dev.17 18:04:35 v3.0.0-dev.18 18:04:35 v3.0.0-dev.19 18:04:35 v3.0.0-dev.2 18:04:35 v3.0.0-dev.20 18:04:35 v3.0.0-dev.21 18:04:35 v3.0.0-dev.22 18:04:35 v3.0.0-dev.23 18:04:35 v3.0.0-dev.24 18:04:35 v3.0.0-dev.25 18:04:35 v3.0.0-dev.26 18:04:35 v3.0.0-dev.27 18:04:35 v3.0.0-dev.28 18:04:35 v3.0.0-dev.29 18:04:35 v3.0.0-dev.3 18:04:35 v3.0.0-dev.30 18:04:35 v3.0.0-dev.31 18:04:35 v3.0.0-dev.32 18:04:35 v3.0.0-dev.33 18:04:35 v3.0.0-dev.34 18:04:35 v3.0.0-dev.35 18:04:35 v3.0.0-dev.36 18:04:35 v3.0.0-dev.37 18:04:35 v3.0.0-dev.38 18:04:35 v3.0.0-dev.39 18:04:35 v3.0.0-dev.4 18:04:35 v3.0.0-dev.40 18:04:35 v3.0.0-dev.41 18:04:35 v3.0.0-dev.42 18:04:35 v3.0.0-dev.43 18:04:35 v3.0.0-dev.5 18:04:35 v3.0.0-dev.6 18:04:35 v3.0.0-dev.7 18:04:35 v3.0.0-dev.8 18:04:35 v3.0.0-dev.9 [Pipeline] sh 18:04:35 + lftools sign git-tag v3.0.0-dev.43 18:04:36 Signing Git tag with Sigul... 18:04:36 Signing v3.0.0-dev.43 [Pipeline] echo 18:04:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:04:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:04:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:04:36 $ docker stop --time=1 9098b0230d0054c3458c5b5dfac26333b77cbdc54222c83dee889e29fe94b175 18:04:37 $ docker rm -f --volumes 9098b0230d0054c3458c5b5dfac26333b77cbdc54222c83dee889e29fe94b175 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:04:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:38 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:04:38 $ 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 18:04:39 $ docker top 88fe7be7c97fe0a960c9dc5581179f45f826e4e2a27b89d70e32d07882a5d341 -eo pid,comm 18:04:39 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). 18:04:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:39 [ssh-agent] Looking for ssh-agent implementation... 18:04:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:39 $ docker exec 88fe7be7c97fe0a960c9dc5581179f45f826e4e2a27b89d70e32d07882a5d341 ssh-agent 18:04:39 SSH_AUTH_SOCK=/tmp/ssh-d2XHnpsItqwa/agent.32 18:04:39 SSH_AGENT_PID=38 18:04:39 Running ssh-add (command line suppressed) 18:04:39 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11124756370595441707.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11124756370595441707.key) 18:04:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:39 + git semver bump pre 18:04:40 2023-05-16 18:04:39,976 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:40 2023-05-16 18:04:39,976 [bump_version] DEBUG bumping version:3.0.0-dev.43 on axis:pre with prefix:dev 18:04:40 2023-05-16 18:04:39,976 [bump_version] DEBUG bumped version:3.0.0-dev.44 18:04:40 2023-05-16 18:04:39,976 [write_version] DEBUG write version:3.0.0-dev.44 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 18:04:40 2023-05-16 18:04:39,977 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:40 2023-05-16 18:04:39,977 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:40 2023-05-16 18:04:39,978 [execute] INFO git cat-file --batch-check 18:04:40 2023-05-16 18:04:39,978 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:40 2023-05-16 18:04:39,983 [execute] INFO git cat-file --batch 18:04:40 2023-05-16 18:04:39,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:40 2023-05-16 18:04:39,988 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:40 3.0.0-dev.44 [Pipeline] } 18:04:40 $ docker exec --env ******** --env ******** 88fe7be7c97fe0a960c9dc5581179f45f826e4e2a27b89d70e32d07882a5d341 ssh-agent -k 18:04:40 unset SSH_AUTH_SOCK; 18:04:40 unset SSH_AGENT_PID; 18:04:40 echo Agent pid 38 killed; 18:04:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:40 + git semver [Pipeline] } 18:04:40 $ docker stop --time=1 88fe7be7c97fe0a960c9dc5581179f45f826e4e2a27b89d70e32d07882a5d341 18:04:42 $ docker rm -f --volumes 88fe7be7c97fe0a960c9dc5581179f45f826e4e2a27b89d70e32d07882a5d341 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:42 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:04:42 $ 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 18:04:43 $ docker top 22113336d0d20f408fe05ff288f640c81bab230b7bb687c42d42b4270faf4bef -eo pid,comm 18:04:43 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). 18:04:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:43 [ssh-agent] Looking for ssh-agent implementation... 18:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:43 $ docker exec 22113336d0d20f408fe05ff288f640c81bab230b7bb687c42d42b4270faf4bef ssh-agent 18:04:43 SSH_AUTH_SOCK=/tmp/ssh-52vUxtA5Cq3g/agent.21 18:04:43 SSH_AGENT_PID=38 18:04:43 Running ssh-add (command line suppressed) 18:04:43 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14719154617644712060.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14719154617644712060.key) 18:04:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:44 + git semver push 18:04:44 2023-05-16 18:04:44,361 [run_push] DEBUG push 18:04:44 2023-05-16 18:04:44,361 [execute] INFO git cat-file --batch-check 18:04:44 2023-05-16 18:04:44,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:44 2023-05-16 18:04:44,365 [execute] INFO git rev-list a87def48aadd4386dab272ec167b9d7076ec8132 -- 18:04:44 2023-05-16 18:04:44,366 [execute] DEBUG Popen(['git', 'rev-list', 'a87def48aadd4386dab272ec167b9d7076ec8132', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:04:44 2023-05-16 18:04:44,370 [execute] INFO git fetch -v origin 18:04:44 2023-05-16 18:04:44,370 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:04:45 2023-05-16 18:04:44,963 [run_push] DEBUG no remote changes detected 18:04:45 2023-05-16 18:04:44,964 [execute] INFO git push origin semver 18:04:45 2023-05-16 18:04:44,964 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:04:45 2023-05-16 18:04:45,714 [run_push] DEBUG push all version tags 18:04:45 2023-05-16 18:04:45,715 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:04:45 2023-05-16 18:04:45,715 [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) 18:04:46 2023-05-16 18:04:46,517 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:04:46 3.0.0-dev.44 [Pipeline] } 18:04:46 $ docker exec --env ******** --env ******** 22113336d0d20f408fe05ff288f640c81bab230b7bb687c42d42b4270faf4bef ssh-agent -k 18:04:46 unset SSH_AUTH_SOCK; 18:04:46 unset SSH_AGENT_PID; 18:04:46 echo Agent pid 38 killed; 18:04:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:47 + git semver [Pipeline] } 18:04:47 $ docker stop --time=1 22113336d0d20f408fe05ff288f640c81bab230b7bb687c42d42b4270faf4bef 18:04:48 $ docker rm -f --volumes 22113336d0d20f408fe05ff288f640c81bab230b7bb687c42d42b4270faf4bef [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 18:04:49 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 18:04:49 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:04:49 total 16 18:04:49 drwxr-xr-x 3 root root 4096 May 16 17:52 . 18:04:49 drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:04 .. 18:04:49 drwxr-xr-x 2 root root 4096 May 16 17:52 cost 18:04:49 -rw-r--r-- 1 root root 89 May 16 17:52 cost.csv 18:04:49 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 18:04:49 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:04:49 total 16 18:04:49 drwxr-xr-x 3 jenkins jenkins 4096 May 16 17:52 . 18:04:49 drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:04 .. 18:04:49 drwxr-xr-x 2 jenkins jenkins 4096 May 16 17:52 cost 18:04:49 -rw-r--r-- 1 jenkins jenkins 89 May 16 17:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:04:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:50 ---> package-listing.sh 18:04:50 ++ facter osfamily 18:04:50 ++ tr '[:upper:]' '[:lower:]' 18:04:50 + OS_FAMILY=debian 18:04:50 + workspace=/w/workspace/exfoundry_device-usb-camera_main 18:04:50 + START_PACKAGES=/tmp/packages_start.txt 18:04:50 + END_PACKAGES=/tmp/packages_end.txt 18:04:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:50 + PACKAGES=/tmp/packages_start.txt 18:04:50 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:04:50 + PACKAGES=/tmp/packages_end.txt 18:04:50 + case "${OS_FAMILY}" in 18:04:50 + dpkg -l 18:04:50 + grep '^ii' 18:04:50 + '[' -f /tmp/packages_start.txt ']' 18:04:50 + '[' -f /tmp/packages_end.txt ']' 18:04:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:50 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:04:50 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 18:04:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 18:04:50 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 18:04:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:51 prd-ubuntu20.04-docker-8c-8g-15759 does not seem to be running inside a container 18:04:51 $ 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 18:04:51 $ docker top 48bf5a0b75c1a4b260e3b2ca7740c6d800e28a185aa938753b6c6d345944159f -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:52 + ls /var/log/sa-host 18:04:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:52 provisioning config files... 18:04:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2329240297904774031tmp [Pipeline] { [Pipeline] echo 18:04:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:53 ---> create-netrc.sh [Pipeline] } 18:04:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:53 ---> python-tools-install.sh [Pipeline] echo 18:04:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:53 ---> sudo-logs.sh 18:04:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:04:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:54 ---> job-cost.sh 18:04:54 lf-activate-venv: SKIPPING 18:04:54 DEBUG: total: 0.2199999988079071 18:04:54 INFO: Retrieving Stack Cost... 18:04:54 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:55 INFO: Archiving Costs [Pipeline] echo 18:04:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:55 ---> logs-deploy.sh 18:04:55 lf-activate-venv: SKIPPING 18:04:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/115 18:04:55 INFO: archiving workspace using pattern(s): 18:04:56 Archives upload complete. 18:04:56 INFO: archiving logs to Nexus