Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d0f5938560965a72cdd41116a6cc710ba42503af 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-ssh14028536689915406186.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-ssh16583616720302125521.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-ssh3394348057718789280.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-ssh12096308790004539145.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-ssh3413366244410233229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17407 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 d0f5938560965a72cdd41116a6cc710ba42503af (main) Commit message: "Merge pull request #259 from EdgeX-Camera-Management/changelog-v3" > 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 d0f5938560965a72cdd41116a6cc710ba42503af # timeout=10 > git rev-list --no-walk 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:22:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:22:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:22:29 ========================================================= 00:22:29 EdgeX Global Pipelines Version Info 00:22:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:22:30 ------------------- 00:22:30 stable info: 00:22:30 ------------------- 00:22:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:22:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:22:30 Message: update stable to v1.0.249 00:22:30 ------------------- 00:22:30 experimental info: 00:22:30 ------------------- 00:22:30 Commited By: **** collab-it+edgex@linuxfoundation.org 00:22:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:22:30 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:22:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:22:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:22:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:22:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:22:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0f5938 [Pipeline] echo 00:22:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:31 provisioning config files... 00:22:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17670986498146838745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:31 ---> docker-login.sh 00:22:31 nexus3.edgexfoundry.org:10001 00:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:31 Configure a credential helper to remove this warning. See 00:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:31 00:22:31 Login Succeeded 00:22:31 nexus3.edgexfoundry.org:10002 00:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:32 Configure a credential helper to remove this warning. See 00:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:32 00:22:32 Login Succeeded 00:22:32 nexus3.edgexfoundry.org:10003 00:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:32 Configure a credential helper to remove this warning. See 00:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:32 00:22:32 Login Succeeded 00:22:32 nexus3.edgexfoundry.org:10004 00:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:32 Configure a credential helper to remove this warning. See 00:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:32 00:22:32 Login Succeeded 00:22:32 docker.io 00:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:32 Configure a credential helper to remove this warning. See 00:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:32 00:22:32 Login Succeeded 00:22:32 ---> docker-login.sh ends [Pipeline] } 00:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:22:32 + git rev-list -1 --merges d0f5938560965a72cdd41116a6cc710ba42503af~1..d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] echo 00:22:32 -----------> git rev-list -1 --merges d0f5938560965a72cdd41116a6cc710ba42503af~1..d0f5938560965a72cdd41116a6cc710ba42503af d0f5938560965a72cdd41116a6cc710ba42503af 00:22:32 d0f5938560965a72cdd41116a6cc710ba42503af [false] [Pipeline] sh 00:22:33 + git log --format=format:%s -1 d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] echo 00:22:33 ========================================================= 00:22:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:22:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:33 + git log --format=format:%s -1 d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] echo 00:22:33 [semverPrep] GIT_COMMIT: d0f5938560965a72cdd41116a6cc710ba42503af, Commit Message: Merge pull request #259 from EdgeX-Camera-Management/changelog-v3 [Pipeline] echo 00:22:33 [semverPrep] This is not a build commit. [Pipeline] sh 00:22:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:22:33 + grep -v github /etc/ssh/ssh_known_hosts 00:22:33 + [ -e /tmp/ssh_known_hosts ] 00:22:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:22:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:22:33 + sudo tee -a /etc/ssh/ssh_known_hosts 00:22:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:34 00:22:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:34 0.1.4: Pulling from edgex-devops/py-git-semver 00:22:34 b85a868b505f: Pulling fs layer 00:22:34 e2be974225ed: Pulling fs layer 00:22:34 339a4e72a1f5: Pulling fs layer 00:22:34 988bab9f4d93: Pulling fs layer 00:22:34 1469e6f7b9e6: Pulling fs layer 00:22:34 eaf3925da568: Pulling fs layer 00:22:34 bab4dde63d76: Pulling fs layer 00:22:34 bde34c3a00c8: Pulling fs layer 00:22:34 b352a97aabf1: Pulling fs layer 00:22:34 4872d77fe225: Pulling fs layer 00:22:34 5851b861e8e6: Pulling fs layer 00:22:34 988bab9f4d93: Waiting 00:22:34 1469e6f7b9e6: Waiting 00:22:34 eaf3925da568: Waiting 00:22:34 bab4dde63d76: Waiting 00:22:34 bde34c3a00c8: Waiting 00:22:34 b352a97aabf1: Waiting 00:22:34 4872d77fe225: Waiting 00:22:34 5851b861e8e6: Waiting 00:22:34 e2be974225ed: Verifying Checksum 00:22:34 e2be974225ed: Download complete 00:22:34 988bab9f4d93: Download complete 00:22:34 1469e6f7b9e6: Verifying Checksum 00:22:34 1469e6f7b9e6: Download complete 00:22:34 339a4e72a1f5: Verifying Checksum 00:22:34 339a4e72a1f5: Download complete 00:22:34 eaf3925da568: Verifying Checksum 00:22:34 eaf3925da568: Download complete 00:22:34 bde34c3a00c8: Verifying Checksum 00:22:34 bde34c3a00c8: Download complete 00:22:34 b352a97aabf1: Verifying Checksum 00:22:34 b352a97aabf1: Download complete 00:22:34 b85a868b505f: Verifying Checksum 00:22:34 b85a868b505f: Download complete 00:22:34 4872d77fe225: Download complete 00:22:34 5851b861e8e6: Verifying Checksum 00:22:34 5851b861e8e6: Download complete 00:22:35 bab4dde63d76: Verifying Checksum 00:22:35 bab4dde63d76: Download complete 00:22:36 b85a868b505f: Pull complete 00:22:36 e2be974225ed: Pull complete 00:22:36 339a4e72a1f5: Pull complete 00:22:36 988bab9f4d93: Pull complete 00:22:36 1469e6f7b9e6: Pull complete 00:22:36 eaf3925da568: Pull complete 00:22:38 bab4dde63d76: Pull complete 00:22:38 bde34c3a00c8: Pull complete 00:22:38 b352a97aabf1: Pull complete 00:22:38 4872d77fe225: Pull complete 00:22:38 5851b861e8e6: Pull complete 00:22:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:22:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:22:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:39 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:22:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:22:43 $ docker top 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 -eo pid,comm 00:22: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). 00:22:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:22:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:43 [ssh-agent] Looking for ssh-agent implementation... 00:22:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:44 $ docker exec 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 ssh-agent 00:22:44 SSH_AUTH_SOCK=/tmp/ssh-Nb1HJcVAVOVS/agent.21 00:22:44 SSH_AGENT_PID=38 00:22:44 Running ssh-add (command line suppressed) 00:22:44 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6113516211396192158.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6113516211396192158.key) 00:22:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:44 + git tag --points-at HEAD [Pipeline] } 00:22:44 $ docker exec --env ******** --env ******** 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 ssh-agent -k 00:22:44 unset SSH_AUTH_SOCK; 00:22:44 unset SSH_AGENT_PID; 00:22:44 echo Agent pid 38 killed; 00:22:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:22:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:22:44 [ssh-agent] Looking for ssh-agent implementation... 00:22:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:22:44 $ docker exec 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 ssh-agent 00:22:44 SSH_AUTH_SOCK=/tmp/ssh-raOHE5MsNORS/agent.70 00:22:44 SSH_AGENT_PID=76 00:22:44 Running ssh-add (command line suppressed) 00:22:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_388304443471453717.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_388304443471453717.key) 00:22:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:22:45 + git semver init 00:22:45 2023-05-31 00:22:45,587 [run_init] DEBUG init version:0.0.0 force:False 00:22:45 2023-05-31 00:22:45,589 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:22:45 2023-05-31 00:22:45,590 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:22:45 2023-05-31 00:22:45,590 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:22:46 2023-05-31 00:22:46,314 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:22:46 2023-05-31 00:22:46,315 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:22:46 2023-05-31 00:22:46,315 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:22:46 2023-05-31 00:22:46,315 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:22:46 3.0.0-dev.50 [Pipeline] } 00:22:46 $ docker exec --env ******** --env ******** 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 ssh-agent -k 00:22:46 unset SSH_AUTH_SOCK; 00:22:46 unset SSH_AGENT_PID; 00:22:46 echo Agent pid 76 killed; 00:22:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:22:46 + git semver [Pipeline] } 00:22:47 $ docker stop --time=1 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 00:22:48 $ docker rm -f --volumes 46199b63c569db7420e0950fe0c51d8fae2b339e6a5866ee283b0343f9ed9054 [Pipeline] // withDockerContainer [Pipeline] sh 00:22:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:22:49 Stashed 1 file(s) [Pipeline] echo 00:22:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.50 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:49 provisioning config files... 00:22:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11791904562330369663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:49 ---> docker-login.sh 00:22:49 nexus3.edgexfoundry.org:10001 00:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:49 Configure a credential helper to remove this warning. See 00:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:49 00:22:49 Login Succeeded 00:22:49 nexus3.edgexfoundry.org:10002 00:22:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:49 Configure a credential helper to remove this warning. See 00:22:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:49 00:22:49 Login Succeeded 00:22:49 nexus3.edgexfoundry.org:10003 00:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:50 Configure a credential helper to remove this warning. See 00:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:50 00:22:50 Login Succeeded 00:22:50 nexus3.edgexfoundry.org:10004 00:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:50 Configure a credential helper to remove this warning. See 00:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:50 00:22:50 Login Succeeded 00:22:50 docker.io 00:22:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:50 Configure a credential helper to remove this warning. See 00:22:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:50 00:22:50 Login Succeeded 00:22:50 ---> docker-login.sh ends [Pipeline] } 00:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:22:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:50 ========================================================= 00:22:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:22:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:22:50 Sending build context to Docker daemon 1.954MB 00:22:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:22:50 Step 2/13 : FROM ${BASE} AS builder 00:22:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:22:50 f56be85fc22e: Pulling fs layer 00:22:50 85791d961cd3: Pulling fs layer 00:22:50 d694b5ae8c79: Pulling fs layer 00:22:50 9f32a84ed3da: Pulling fs layer 00:22:50 4d19c01a9841: Pulling fs layer 00:22:50 9325e15d5711: Pulling fs layer 00:22:50 556b6ee489ea: Pulling fs layer 00:22:50 c5a4b2cf53e6: Pulling fs layer 00:22:50 c5a4b2cf53e6: Waiting 00:22:50 556b6ee489ea: Waiting 00:22:50 4d19c01a9841: Waiting 00:22:50 9325e15d5711: Waiting 00:22:50 9f32a84ed3da: Waiting 00:22:50 85791d961cd3: Verifying Checksum 00:22:50 85791d961cd3: Download complete 00:22:50 9f32a84ed3da: Verifying Checksum 00:22:50 9f32a84ed3da: Download complete 00:22:50 4d19c01a9841: Verifying Checksum 00:22:50 4d19c01a9841: Download complete 00:22:51 f56be85fc22e: Verifying Checksum 00:22:51 f56be85fc22e: Download complete 00:22:51 9325e15d5711: Verifying Checksum 00:22:51 9325e15d5711: Download complete 00:22:51 f56be85fc22e: Pull complete 00:22:51 85791d961cd3: Pull complete 00:22:51 c5a4b2cf53e6: Verifying Checksum 00:22:51 c5a4b2cf53e6: Download complete 00:22:51 d694b5ae8c79: Verifying Checksum 00:22:51 d694b5ae8c79: Download complete 00:22:51 556b6ee489ea: Verifying Checksum 00:22:51 556b6ee489ea: Download complete 00:22:56 d694b5ae8c79: Pull complete 00:22:56 9f32a84ed3da: Pull complete 00:22:56 4d19c01a9841: Pull complete 00:22:56 9325e15d5711: Pull complete 00:22:57 556b6ee489ea: Pull complete 00:22:58 c5a4b2cf53e6: Pull complete 00:22:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:22:58 ---> c4be618373d6 00:22:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:23:04 ---> Running in b7229b626978 00:23:04 Removing intermediate container b7229b626978 00:23:04 ---> b59ab1456882 00:23:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:23:04 ---> Running in 9c65487ca502 00:23:04 Still waiting to schedule task 00:23:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:23:04 Removing intermediate container 9c65487ca502 00:23:04 ---> 6cc2a034ae3e 00:23:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:23:04 ---> Running in 3cfb5a052ffb 00:23:05 Removing intermediate container 3cfb5a052ffb 00:23:05 ---> d1e0f78bf62d 00:23:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:23:05 ---> Running in bca80ccb994f 00:23:05 Removing intermediate container bca80ccb994f 00:23:05 ---> 510c07075a2a 00:23:05 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:23:05 ---> Running in 4ee2db8bdec9 00:23:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:23:08 (1/14) Installing libintl (0.21.1-r1) 00:23:08 (2/14) Installing eudev-libs (3.2.11-r4) 00:23:08 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:23:08 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:23:08 (5/14) Installing v4l-utils (1.22.1-r2) 00:23:08 (6/14) Installing udev-init-scripts (35-r1) 00:23:08 (7/14) Installing libblkid (2.38.1-r1) 00:23:08 (8/14) Installing xz-libs (5.2.9-r0) 00:23:08 (9/14) Installing zstd-libs (1.5.5-r0) 00:23:09 (10/14) Installing kmod-libs (30-r1) 00:23:09 (11/14) Installing eudev (3.2.11-r4) 00:23:09 (12/14) Installing eudev-dev (3.2.11-r4) 00:23:09 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:23:09 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:23:09 Executing busybox-1.35.0-r29.trigger 00:23:09 Executing eudev-3.2.11-r4.trigger 00:23:09 OK: 272 MiB in 67 packages 00:23:09 Removing intermediate container 4ee2db8bdec9 00:23:09 ---> 120a4f5cbfaa 00:23:09 Step 8/13 : WORKDIR /device-usb-camera 00:23:09 ---> Running in 35d163d6dea8 00:23:09 Removing intermediate container 35d163d6dea8 00:23:09 ---> 3d09f3e9f980 00:23:09 Step 9/13 : COPY go.mod vendor* ./ 00:23:09 ---> 3876dba7cec4 00:23:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:09 ---> Running in 631871a8f440 00:23:42 Removing intermediate container 631871a8f440 00:23:42 ---> 9e8557f5852f 00:23:42 Step 11/13 : COPY . . 00:23:42 ---> 0e495807b97b 00:23:42 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:23:42 ---> Running in 1fa00390020f 00:23:42  % Total % Received % Xferd Average Speed Time Time Time Current 00:23:42 Dload Upload Total Spent Left Speed 00:23:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8008 0 --:--:-- --:--:-- --:--:-- 8045 00:23:42 Removing intermediate container 1fa00390020f 00:23:42 ---> 4103f0b40d02 00:23:42 Step 13/13 : RUN ${MAKE} 00:23:42 ---> Running in b85cd454ecab 00:23:42 noop 00:23:42 Removing intermediate container b85cd454ecab 00:23:42 ---> 20808ee1ee02 00:23:42 Successfully built 20808ee1ee02 00:23:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:42 + docker inspect -f . ci-base-image-x86_64 00:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:42 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:23:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:23:42 $ docker top 664e145e34d4852c2981981eb57b6977bde225526e359a215f7aa2b0f992bacd -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:43 + go version 00:23:43 go version go1.20.2 linux/amd64 [Pipeline] } 00:23:43 $ docker stop --time=1 664e145e34d4852c2981981eb57b6977bde225526e359a215f7aa2b0f992bacd 00:23:44 $ docker rm -f --volumes 664e145e34d4852c2981981eb57b6977bde225526e359a215f7aa2b0f992bacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:44 + docker inspect -f . ci-base-image-x86_64 00:23:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:44 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:23:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:23:45 $ docker top 7bb9b633c3624aee787a6826c8b1925b2193893aac79f3a0841910c2f35a6dbe -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:45 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:23:45 + make test 00:23:45 go test ./... -coverprofile=coverage.out ./... 00:23:51 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:24:01 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:24:01 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.6% of statements 00:24:07 go vet ./... 00:24:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:24:11 $ docker stop --time=1 7bb9b633c3624aee787a6826c8b1925b2193893aac79f3a0841910c2f35a6dbe 00:24:15 $ docker rm -f --volumes 7bb9b633c3624aee787a6826c8b1925b2193893aac79f3a0841910c2f35a6dbe [Pipeline] // withDockerContainer [Pipeline] sh 00:24:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:16 + ls -al . 00:24:16 total 196 00:24:16 drwxrwxr-x 10 jenkins jenkins 4096 May 31 00:23 . 00:24:16 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:22 .. 00:24:16 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:22 .git 00:24:16 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:22 .github 00:24:16 -rw-rw-r-- 1 jenkins jenkins 414 May 31 00:22 .gitignore 00:24:16 -rw-rw-r-- 1 jenkins jenkins 45 May 31 00:22 .golangci.yml 00:24:16 -rw-rw-r-- 1 jenkins jenkins 77 May 31 00:22 .hadolint.yml 00:24:16 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:22 .semver 00:24:16 -rw-rw-r-- 1 jenkins jenkins 9665 May 31 00:22 Attribution.txt 00:24:16 -rw-rw-r-- 1 jenkins jenkins 11903 May 31 00:22 CHANGELOG.md 00:24:16 -rw-rw-r-- 1 jenkins jenkins 2453 May 31 00:22 Dockerfile 00:24:16 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:22 GOVERNANCE.md 00:24:16 -rw-rw-r-- 1 jenkins jenkins 659 May 31 00:22 Jenkinsfile 00:24:16 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 00:22 LICENSE 00:24:16 -rw-rw-r-- 1 jenkins jenkins 2364 May 31 00:22 Makefile 00:24:16 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:22 OWNERS.md 00:24:16 -rw-rw-r-- 1 jenkins jenkins 2477 May 31 00:22 README.md 00:24:16 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:22 VERSION 00:24:16 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:22 bin 00:24:16 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:22 cmd 00:24:16 -rw-r--r-- 1 jenkins jenkins 35569 May 31 00:24 coverage.out 00:24:16 -rwxrwxr-x 1 jenkins jenkins 140 May 31 00:22 docker-entrypoint.sh 00:24:16 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:22 docs 00:24:16 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 00:22 go.mod 00:24:16 -rw-rw-r-- 1 jenkins jenkins 31392 May 31 00:22 go.sum 00:24:16 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:22 internal 00:24:16 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:22 snap 00:24:16 -rw-rw-r-- 1 jenkins jenkins 231 May 31 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24: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=d0f5938560965a72cdd41116a6cc710ba42503af --label arch=amd64 --label version=3.0.0-dev.50 . 00:24:17 Sending build context to Docker daemon 1.991MB 00:24:17 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:24:17 Step 2/36 : FROM ${BASE} AS builder 00:24:17 ---> 20808ee1ee02 00:24:17 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:24:17 ---> Running in 837e7568b610 00:24:17 Removing intermediate container 837e7568b610 00:24:17 ---> 2aa1d7fa5751 00:24:17 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:17 ---> Running in 0eb7322987e3 00:24:17 Removing intermediate container 0eb7322987e3 00:24:17 ---> 368ce0e70bb1 00:24:17 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:24:17 ---> Running in 294deb365261 00:24:17 Removing intermediate container 294deb365261 00:24:17 ---> 262e76a37aaf 00:24:17 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:24:17 ---> Running in bc4a6339241e 00:24:17 Removing intermediate container bc4a6339241e 00:24:17 ---> cfc89e69cf9b 00:24:17 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:24:17 ---> Running in 3781f0e04606 00:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:24:18 OK: 272 MiB in 67 packages 00:24:19 Removing intermediate container 3781f0e04606 00:24:19 ---> 42f29df67bf8 00:24:19 Step 8/36 : WORKDIR /device-usb-camera 00:24:19 ---> Running in 355a7c0eec41 00:24:19 Removing intermediate container 355a7c0eec41 00:24:19 ---> 134e119d23e4 00:24:19 Step 9/36 : COPY go.mod vendor* ./ 00:24:19 ---> c3ebd1f98f11 00:24:19 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:19 ---> Running in fc00eeb481d9 00:24:21 Removing intermediate container fc00eeb481d9 00:24:21 ---> 3097c796c6d7 00:24:21 Step 11/36 : COPY . . 00:24:21 ---> ee0557d380c6 00:24:21 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:24:21 ---> Running in 14c964cc3da7 00:24:22  % Total % Received % Xferd Average Speed Time Time Time Current 00:24:22 Dload Upload Total Spent Left Speed 00:24:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21044 0 --:--:-- --:--:-- --:--:-- 21240 00:24:22 Removing intermediate container 14c964cc3da7 00:24:22 ---> c27babbd9cd5 00:24:22 Step 13/36 : RUN ${MAKE} 00:24:22 ---> Running in 6558c80c78ad 00:24:22 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:24:44 Removing intermediate container 6558c80c78ad 00:24:44 ---> 0665b46927d5 00:24:44 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:24:45 v0.21.6: Pulling from aler9/rtsp-simple-server 00:24:45 4acc49c71d14: Pulling fs layer 00:24:45 4acc49c71d14: Verifying Checksum 00:24:45 4acc49c71d14: Download complete 00:24:45 4acc49c71d14: Pull complete 00:24:46 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:24:46 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:24:46 ---> 01a2bd3e5fff 00:24:46 Step 15/36 : FROM alpine:3.17 00:24:46 3.17: Pulling from library/alpine 00:24:46 f56be85fc22e: Already exists 00:24:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:24:46 Status: Downloaded newer image for alpine:3.17 00:24:46 ---> 9ed4aefc74f6 00:24:46 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:24:47 ---> Running in 59ca92243400 00:24:47 Removing intermediate container 59ca92243400 00:24:47 ---> 24a50d997a93 00:24:47 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:24:47 ---> Running in 24517095bada 00:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:24:48 (1/86) Installing dumb-init (1.2.5-r2) 00:24:48 (2/86) Installing sdl2 (2.26.5-r0) 00:24:48 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:24:48 (4/86) Installing libxau (1.0.10-r0) 00:24:48 (5/86) Installing libmd (1.0.4-r0) 00:24:48 (6/86) Installing libbsd (0.11.7-r0) 00:24:48 (7/86) Installing libxdmcp (1.1.4-r0) 00:24:48 (8/86) Installing libxcb (1.15-r0) 00:24:48 (9/86) Installing libx11 (1.8.4-r0) 00:24:48 (10/86) Installing aom-libs (3.5.0-r0) 00:24:48 (11/86) Installing alsa-lib (1.2.8-r0) 00:24:48 (12/86) Installing libexpat (2.5.0-r0) 00:24:48 (13/86) Installing brotli-libs (1.0.9-r9) 00:24:48 (14/86) Installing libbz2 (1.0.8-r4) 00:24:48 (15/86) Installing libpng (1.6.38-r0) 00:24:48 (16/86) Installing freetype (2.12.1-r0) 00:24:48 (17/86) Installing fontconfig (2.14.1-r0) 00:24:48 (18/86) Installing fribidi (1.0.12-r0) 00:24:48 (19/86) Installing libffi (3.4.4-r0) 00:24:48 (20/86) Installing libintl (0.21.1-r1) 00:24:48 (21/86) Installing libblkid (2.38.1-r1) 00:24:48 (22/86) Installing libmount (2.38.1-r1) 00:24:48 (23/86) Installing pcre2 (10.42-r0) 00:24:48 (24/86) Installing glib (2.74.7-r0) 00:24:48 (25/86) Installing graphite2 (1.3.14-r2) 00:24:48 (26/86) Installing harfbuzz (5.3.1-r1) 00:24:48 (27/86) Installing libass (0.16.0-r1) 00:24:48 (28/86) Installing libdav1d (1.0.0-r2) 00:24:48 (29/86) Installing hwdata-pci (0.364-r0) 00:24:48 (30/86) Installing libpciaccess (0.17-r0) 00:24:48 (31/86) Installing libdrm (2.4.114-r0) 00:24:48 (32/86) Installing gmp (6.2.1-r2) 00:24:48 (33/86) Installing nettle (3.8.1-r0) 00:24:48 (34/86) Installing p11-kit (0.24.1-r1) 00:24:48 (35/86) Installing libtasn1 (4.19.0-r0) 00:24:48 (36/86) Installing libunistring (1.1-r0) 00:24:48 (37/86) Installing gnutls (3.7.8-r3) 00:24:48 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:24:48 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 00:24:48 (40/86) Installing lame (3.100-r2) 00:24:48 (41/86) Installing opus (1.3.1-r1) 00:24:48 (42/86) Installing libasyncns (0.8-r1) 00:24:48 (43/86) Installing dbus-libs (1.14.4-r0) 00:24:48 (44/86) Installing libltdl (2.4.7-r1) 00:24:48 (45/86) Installing orc (0.4.33-r0) 00:24:48 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:24:48 (47/86) Installing libogg (1.3.5-r2) 00:24:48 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:24:48 (49/86) Installing flac-libs (1.4.2-r0) 00:24:48 (50/86) Installing libvorbis (1.3.7-r0) 00:24:48 (51/86) Installing libsndfile (1.1.0-r2) 00:24:48 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:24:48 (53/86) Installing soxr (0.1.3-r3) 00:24:48 (54/86) Installing speexdsp (1.2.1-r0) 00:24:48 (55/86) Installing tdb-libs (1.4.6-r0) 00:24:48 (56/86) Installing libpulse (16.1-r6) 00:24:48 (57/86) Installing cjson (1.7.15-r3) 00:24:49 (58/86) Installing mbedtls (2.28.3-r0) 00:24:49 (59/86) Installing librist (0.2.7-r0) 00:24:49 (60/86) Installing libsrt (1.5.1-r0) 00:24:49 (61/86) Installing libssh (0.10.5-r0) 00:24:49 (62/86) Installing libtheora (1.1.1-r16) 00:24:49 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:24:49 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:24:49 (65/86) Installing libxext (1.3.5-r0) 00:24:49 (66/86) Installing libxfixes (6.0.0-r0) 00:24:49 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:24:49 (68/86) Installing libva (2.16.0-r0) 00:24:49 (69/86) Installing libvdpau (1.5-r0) 00:24:49 (70/86) Installing vidstab (1.1.0-r2) 00:24:49 (71/86) Installing libvpx (1.12.0-r1) 00:24:49 (72/86) Installing libwebp (1.2.4-r2) 00:24:49 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:24:49 (74/86) Installing numactl (2.0.16-r1) 00:24:49 (75/86) Installing x265-libs (3.5-r3) 00:24:49 (76/86) Installing xvidcore (1.3.7-r1) 00:24:49 (77/86) Installing libsodium (1.0.18-r2) 00:24:49 (78/86) Installing libzmq (4.3.4-r1) 00:24:49 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:24:49 (80/86) Installing ffmpeg (5.1.3-r0) 00:24:49 (81/86) Installing udev-init-scripts (35-r1) 00:24:49 (82/86) Installing eudev-libs (3.2.11-r4) 00:24:49 (83/86) Installing xz-libs (5.2.9-r0) 00:24:49 (84/86) Installing zstd-libs (1.5.5-r0) 00:24:49 (85/86) Installing kmod-libs (30-r1) 00:24:49 (86/86) Installing eudev (3.2.11-r4) 00:24:49 Executing busybox-1.35.0-r29.trigger 00:24:49 Executing eudev-3.2.11-r4.trigger 00:24:49 OK: 112 MiB in 101 packages 00:24:53 Removing intermediate container 24517095bada 00:24:53 ---> b4155905e5f1 00:24:53 Step 18/36 : WORKDIR / 00:24:53 ---> Running in ea4d452894ea 00:24:53 Removing intermediate container ea4d452894ea 00:24:53 ---> f6906a949a5c 00:24:53 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:24:53 ---> cc2f6b10b65b 00:24:53 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:24:53 ---> 9857324c5c36 00:24:53 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:24:53 ---> 732899e4356d 00:24:53 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:24:53 ---> 5886eb23a27f 00:24:53 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:24:53 ---> 38b04e1bbfe4 00:24:53 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:24:54 ---> 69c2c67fe08a 00:24:54 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:24:54 ---> e764018b3b4b 00:24:54 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:24:54 ---> Running in b46b80af52b8 00:24:55 Removing intermediate container b46b80af52b8 00:24:55 ---> c1c7c85709d9 00:24:55 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:24:55 ---> Running in db71e61f75ca 00:24:55 Removing intermediate container db71e61f75ca 00:24:55 ---> 409a7c43a32b 00:24:55 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:24:55 ---> Running in ff7efab0cde2 00:24:56 Removing intermediate container ff7efab0cde2 00:24:56 ---> 0796edbd28e3 00:24:56 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:24:56 ---> Running in ea530549e8ee 00:24:57 Removing intermediate container ea530549e8ee 00:24:57 ---> b0ddc204566f 00:24:57 Step 30/36 : EXPOSE 59983 00:24:57 ---> Running in 6e1a29559073 00:24:57 Removing intermediate container 6e1a29559073 00:24:57 ---> af6179a5053d 00:24:57 Step 31/36 : EXPOSE 8554 00:24:57 ---> Running in 32335bf512ff 00:24:57 Removing intermediate container 32335bf512ff 00:24:57 ---> fc1ef3f1d06a 00:24:57 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:24:57 ---> Running in d11640be8bf1 00:24:57 Removing intermediate container d11640be8bf1 00:24:57 ---> 922e764f087a 00:24:57 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:24:57 ---> Running in cad778a28bf0 00:24:57 Removing intermediate container cad778a28bf0 00:24:57 ---> 8e3ce9dcedd8 00:24:57 Step 34/36 : LABEL arch=amd64 00:24:57 ---> Running in 49f2a2c882e3 00:24:57 Removing intermediate container 49f2a2c882e3 00:24:57 ---> 8e2ad5448499 00:24:57 Step 35/36 : LABEL git_sha=d0f5938560965a72cdd41116a6cc710ba42503af 00:24:57 ---> Running in 76c39b26cc45 00:24:57 Removing intermediate container 76c39b26cc45 00:24:57 ---> 03294d51d8c4 00:24:57 Step 36/36 : LABEL version=3.0.0-dev.50 00:24:57 ---> Running in d674fe2a40f7 00:24:57 Removing intermediate container d674fe2a40f7 00:24:57 ---> 0786832179cb 00:24:57 [Warning] One or more build-args [ARCH] were not consumed 00:24:57 Successfully built 0786832179cb 00:24:57 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:24:57 provisioning config files... 00:24:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1830021085279792196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:58 ---> docker-login.sh 00:24:58 nexus3.edgexfoundry.org:10001 00:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:58 Configure a credential helper to remove this warning. See 00:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:58 00:24:58 Login Succeeded 00:24:58 nexus3.edgexfoundry.org:10002 00:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:58 Configure a credential helper to remove this warning. See 00:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:58 00:24:58 Login Succeeded 00:24:58 nexus3.edgexfoundry.org:10003 00:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:58 Configure a credential helper to remove this warning. See 00:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:58 00:24:58 Login Succeeded 00:24:58 nexus3.edgexfoundry.org:10004 00:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:58 Configure a credential helper to remove this warning. See 00:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:58 00:24:58 Login Succeeded 00:24:58 docker.io 00:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:58 Configure a credential helper to remove this warning. See 00:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:58 00:24:58 Login Succeeded 00:24:58 ---> docker-login.sh ends [Pipeline] } 00:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:59 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:24:59 d0f5938560965a72cdd41116a6cc710ba42503af 00:24:59 latest 00:24:59 3.0.0-dev.50 00:24:59 d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:24:59 main 00:24:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:59 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af 00:24:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:24:59 02c3b8d75ba5: Preparing 00:24:59 7538fdb2038a: Preparing 00:24:59 734a74e6075f: Preparing 00:24:59 c2af6a4d52da: Preparing 00:24:59 3827b5b91e75: Preparing 00:24:59 acc83c6ca332: Preparing 00:24:59 766e73094c87: Preparing 00:24:59 cd2b5d601551: Preparing 00:24:59 e00a945c8815: Preparing 00:24:59 550a32aaafe7: Preparing 00:24:59 62c1d78b0d84: Preparing 00:24:59 a3850d3d020a: Preparing 00:24:59 f1417ff83b31: Preparing 00:24:59 e00a945c8815: Waiting 00:24:59 a3850d3d020a: Waiting 00:24:59 550a32aaafe7: Waiting 00:24:59 62c1d78b0d84: Waiting 00:24:59 f1417ff83b31: Waiting 00:24:59 acc83c6ca332: Waiting 00:24:59 766e73094c87: Waiting 00:24:59 cd2b5d601551: Waiting 00:24:59 7538fdb2038a: Pushed 00:24:59 c2af6a4d52da: Pushed 00:24:59 734a74e6075f: Pushed 00:24:59 02c3b8d75ba5: Pushed 00:24:59 acc83c6ca332: Pushed 00:24:59 e00a945c8815: Pushed 00:24:59 cd2b5d601551: Pushed 00:25:00 766e73094c87: Pushed 00:25:00 f1417ff83b31: Layer already exists 00:25:00 550a32aaafe7: Pushed 00:25:02 3827b5b91e75: Pushed 00:25:02 62c1d78b0d84: Pushed 00:25:10 a3850d3d020a: Pushed 00:25:10 d0f5938560965a72cdd41116a6cc710ba42503af: digest: sha256:04c2c34d494a154f75612d2b03612096ecc5272ad8f908e4dfaaa053a2fa7a55 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:11 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:25:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:25:11 02c3b8d75ba5: Preparing 00:25:11 7538fdb2038a: Preparing 00:25:11 734a74e6075f: Preparing 00:25:11 c2af6a4d52da: Preparing 00:25:11 3827b5b91e75: Preparing 00:25:11 acc83c6ca332: Preparing 00:25:11 766e73094c87: Preparing 00:25:11 cd2b5d601551: Preparing 00:25:11 e00a945c8815: Preparing 00:25:11 550a32aaafe7: Preparing 00:25:11 62c1d78b0d84: Preparing 00:25:11 a3850d3d020a: Preparing 00:25:11 f1417ff83b31: Preparing 00:25:11 cd2b5d601551: Waiting 00:25:11 acc83c6ca332: Waiting 00:25:11 e00a945c8815: Waiting 00:25:11 550a32aaafe7: Waiting 00:25:11 766e73094c87: Waiting 00:25:11 f1417ff83b31: Waiting 00:25:11 62c1d78b0d84: Waiting 00:25:11 a3850d3d020a: Waiting 00:25:11 7538fdb2038a: Layer already exists 00:25:11 734a74e6075f: Layer already exists 00:25:11 c2af6a4d52da: Layer already exists 00:25:11 3827b5b91e75: Layer already exists 00:25:11 02c3b8d75ba5: Layer already exists 00:25:11 acc83c6ca332: Layer already exists 00:25:11 766e73094c87: Layer already exists 00:25:11 550a32aaafe7: Layer already exists 00:25:11 cd2b5d601551: Layer already exists 00:25:11 e00a945c8815: Layer already exists 00:25:11 62c1d78b0d84: Layer already exists 00:25:11 f1417ff83b31: Layer already exists 00:25:11 a3850d3d020a: Layer already exists 00:25:11 latest: digest: sha256:04c2c34d494a154f75612d2b03612096ecc5272ad8f908e4dfaaa053a2fa7a55 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.50 00:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:25:12 02c3b8d75ba5: Preparing 00:25:12 7538fdb2038a: Preparing 00:25:12 734a74e6075f: Preparing 00:25:12 c2af6a4d52da: Preparing 00:25:12 3827b5b91e75: Preparing 00:25:12 acc83c6ca332: Preparing 00:25:12 766e73094c87: Preparing 00:25:12 cd2b5d601551: Preparing 00:25:12 e00a945c8815: Preparing 00:25:12 550a32aaafe7: Preparing 00:25:12 62c1d78b0d84: Preparing 00:25:12 a3850d3d020a: Preparing 00:25:12 f1417ff83b31: Preparing 00:25:12 acc83c6ca332: Waiting 00:25:12 766e73094c87: Waiting 00:25:12 cd2b5d601551: Waiting 00:25:12 e00a945c8815: Waiting 00:25:12 550a32aaafe7: Waiting 00:25:12 62c1d78b0d84: Waiting 00:25:12 f1417ff83b31: Waiting 00:25:12 a3850d3d020a: Waiting 00:25:12 c2af6a4d52da: Layer already exists 00:25:12 7538fdb2038a: Layer already exists 00:25:12 3827b5b91e75: Layer already exists 00:25:12 734a74e6075f: Layer already exists 00:25:12 02c3b8d75ba5: Layer already exists 00:25:12 acc83c6ca332: Layer already exists 00:25:12 766e73094c87: Layer already exists 00:25:12 550a32aaafe7: Layer already exists 00:25:12 cd2b5d601551: Layer already exists 00:25:12 e00a945c8815: Layer already exists 00:25:12 62c1d78b0d84: Layer already exists 00:25:12 a3850d3d020a: Layer already exists 00:25:12 f1417ff83b31: Layer already exists 00:25:12 3.0.0-dev.50: digest: sha256:04c2c34d494a154f75612d2b03612096ecc5272ad8f908e4dfaaa053a2fa7a55 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:25:12 02c3b8d75ba5: Preparing 00:25:12 7538fdb2038a: Preparing 00:25:12 734a74e6075f: Preparing 00:25:12 c2af6a4d52da: Preparing 00:25:12 3827b5b91e75: Preparing 00:25:12 acc83c6ca332: Preparing 00:25:12 766e73094c87: Preparing 00:25:12 cd2b5d601551: Preparing 00:25:12 e00a945c8815: Preparing 00:25:12 550a32aaafe7: Preparing 00:25:12 62c1d78b0d84: Preparing 00:25:12 a3850d3d020a: Preparing 00:25:12 f1417ff83b31: Preparing 00:25:12 cd2b5d601551: Waiting 00:25:12 e00a945c8815: Waiting 00:25:12 766e73094c87: Waiting 00:25:12 a3850d3d020a: Waiting 00:25:12 f1417ff83b31: Waiting 00:25:12 550a32aaafe7: Waiting 00:25:12 acc83c6ca332: Waiting 00:25:12 62c1d78b0d84: Waiting 00:25:12 02c3b8d75ba5: Layer already exists 00:25:12 734a74e6075f: Layer already exists 00:25:12 c2af6a4d52da: Layer already exists 00:25:12 7538fdb2038a: Layer already exists 00:25:12 3827b5b91e75: Layer already exists 00:25:12 acc83c6ca332: Layer already exists 00:25:12 766e73094c87: Layer already exists 00:25:12 550a32aaafe7: Layer already exists 00:25:12 e00a945c8815: Layer already exists 00:25:12 cd2b5d601551: Layer already exists 00:25:12 a3850d3d020a: Layer already exists 00:25:12 62c1d78b0d84: Layer already exists 00:25:12 f1417ff83b31: Layer already exists 00:25:12 d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50: digest: sha256:04c2c34d494a154f75612d2b03612096ecc5272ad8f908e4dfaaa053a2fa7a55 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:13 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:25:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:25:13 02c3b8d75ba5: Preparing 00:25:13 7538fdb2038a: Preparing 00:25:13 734a74e6075f: Preparing 00:25:13 c2af6a4d52da: Preparing 00:25:13 3827b5b91e75: Preparing 00:25:13 acc83c6ca332: Preparing 00:25:13 766e73094c87: Preparing 00:25:13 cd2b5d601551: Preparing 00:25:13 e00a945c8815: Preparing 00:25:13 550a32aaafe7: Preparing 00:25:13 62c1d78b0d84: Preparing 00:25:13 a3850d3d020a: Preparing 00:25:13 f1417ff83b31: Preparing 00:25:13 cd2b5d601551: Waiting 00:25:13 e00a945c8815: Waiting 00:25:13 550a32aaafe7: Waiting 00:25:13 62c1d78b0d84: Waiting 00:25:13 a3850d3d020a: Waiting 00:25:13 f1417ff83b31: Waiting 00:25:13 acc83c6ca332: Waiting 00:25:13 766e73094c87: Waiting 00:25:13 3827b5b91e75: Layer already exists 00:25:13 c2af6a4d52da: Layer already exists 00:25:13 734a74e6075f: Layer already exists 00:25:13 7538fdb2038a: Layer already exists 00:25:13 02c3b8d75ba5: Layer already exists 00:25:13 acc83c6ca332: Layer already exists 00:25:13 cd2b5d601551: Layer already exists 00:25:13 766e73094c87: Layer already exists 00:25:13 e00a945c8815: Layer already exists 00:25:13 550a32aaafe7: Layer already exists 00:25:13 a3850d3d020a: Layer already exists 00:25:13 62c1d78b0d84: Layer already exists 00:25:13 f1417ff83b31: Layer already exists 00:25:13 main: digest: sha256:04c2c34d494a154f75612d2b03612096ecc5272ad8f908e4dfaaa053a2fa7a55 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:25:13 ===================================================== [Pipeline] echo 00:25:13 taggedImages: 00:25:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af 00:25:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:25:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.50 00:25:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:25:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:13 00:25:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:14 latest: Pulling from edgex-lftools-log-publisher 00:25:14 5eb5b503b376: Pulling fs layer 00:25:14 5c69ac0246d0: Pulling fs layer 00:25:14 ec43610c2a17: Pulling fs layer 00:25:14 3a2ae6a8a46f: Pulling fs layer 00:25:14 33b1e0a273af: Pulling fs layer 00:25:14 5d3b04190fa2: Pulling fs layer 00:25:14 2f39f015ded8: Pulling fs layer 00:25:14 5d3b04190fa2: Waiting 00:25:14 2f39f015ded8: Waiting 00:25:14 3a2ae6a8a46f: Waiting 00:25:14 33b1e0a273af: Waiting 00:25:14 5c69ac0246d0: Verifying Checksum 00:25:14 5c69ac0246d0: Download complete 00:25:14 3a2ae6a8a46f: Download complete 00:25:14 33b1e0a273af: Verifying Checksum 00:25:14 33b1e0a273af: Download complete 00:25:14 5d3b04190fa2: Verifying Checksum 00:25:14 5d3b04190fa2: Download complete 00:25:14 ec43610c2a17: Verifying Checksum 00:25:14 ec43610c2a17: Download complete 00:25:14 5eb5b503b376: Verifying Checksum 00:25:14 5eb5b503b376: Download complete 00:25:14 2f39f015ded8: Download complete 00:25:15 5eb5b503b376: Pull complete 00:25:15 5c69ac0246d0: Pull complete 00:25:16 ec43610c2a17: Pull complete 00:25:16 3a2ae6a8a46f: Pull complete 00:25:16 33b1e0a273af: Pull complete 00:25:16 5d3b04190fa2: Pull complete 00:25:21 2f39f015ded8: Pull complete 00:25:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:25:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:21 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:25:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:25:25 $ docker top 26b3d5c00916e3462f5d9afbff0b0ef270aea881010bdbe36653df30c9df1a3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:26 ---> job-cost.sh 00:25:26 lf-activate-venv: SKIPPING 00:25:26 INFO: No Stack... 00:25:26 INFO: Retrieving Pricing Info for: v3-standard-8 00:25:27 INFO: Archiving Costs [Pipeline] sh 00:25:27 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:25:27 + cut -d, -f6 [Pipeline] lock 00:25:27 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] 00:25:27 Resource [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] did not exist. Created. 00:25:27 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:27 + echo total: 0.2199999988079071 [Pipeline] stash 00:25:27 Stashed 1 file(s) [Pipeline] } 00:25:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:27 $ docker stop --time=1 26b3d5c00916e3462f5d9afbff0b0ef270aea881010bdbe36653df30c9df1a3f 00:25:29 $ docker rm -f --volumes 26b3d5c00916e3462f5d9afbff0b0ef270aea881010bdbe36653df30c9df1a3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17413 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:25:42 Running in /w/workspace/device-usb-camera/122 [Pipeline] { [Pipeline] checkout 00:25:42 Selected Git installation does not exist. Using Default 00:25:42 The recommended git tool is: NONE 00:25:48 using credential edgex-jenkins-ssh 00:25:48 Cloning the remote Git repository 00:25:48 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:25:48 > git init /w/workspace/device-usb-camera/122 # timeout=10 00:25:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:25:49 > git --version # timeout=10 00:25:49 > git --version # 'git version 2.25.1' 00:25:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:25:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:25:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:25:51 Avoid second fetch 00:25:51 Checking out Revision d0f5938560965a72cdd41116a6cc710ba42503af (main) 00:25:51 Commit message: "Merge pull request #259 from EdgeX-Camera-Management/changelog-v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:51 > git config core.sparsecheckout # timeout=10 00:25:51 > git checkout -f d0f5938560965a72cdd41116a6cc710ba42503af # timeout=10 00:25:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:25:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:52 Dload Upload Total Spent Left Speed 00:25:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 00:25:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:25:54 + sudo tee /etc/docker/daemon.new 00:25:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:25:54 { 00:25:54 "registry-mirrors": [ 00:25:54 "https://nexus3.edgexfoundry.org:10001" 00:25:54 ], 00:25:54 "bip": "10.250.0.254/24", 00:25:54 "hosts": [ 00:25:54 "tcp://0.0.0.0:5555", 00:25:54 "unix:///var/run/docker.sock" 00:25:54 ], 00:25:54 "mtu": 1458, 00:25:54 "selinux-enabled": true, 00:25:54 "seccomp-profile": "/etc/docker/seccomp.json" 00:25:54 } [Pipeline] sh 00:25:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:25:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:13 provisioning config files... 00:26:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/122@tmp/config6767202316356982658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:26:13 ---> docker-login.sh 00:26:13 nexus3.edgexfoundry.org:10001 00:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:14 Configure a credential helper to remove this warning. See 00:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:14 00:26:14 Login Succeeded 00:26:14 nexus3.edgexfoundry.org:10002 00:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:14 Configure a credential helper to remove this warning. See 00:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:14 00:26:14 Login Succeeded 00:26:14 nexus3.edgexfoundry.org:10003 00:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:14 Configure a credential helper to remove this warning. See 00:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:14 00:26:14 Login Succeeded 00:26:14 nexus3.edgexfoundry.org:10004 00:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:15 Configure a credential helper to remove this warning. See 00:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:15 00:26:15 Login Succeeded 00:26:15 docker.io 00:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:26:16 Configure a credential helper to remove this warning. See 00:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:26:16 00:26:16 Login Succeeded 00:26:16 ---> docker-login.sh ends [Pipeline] } 00:26:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:26:16 ========================================================= 00:26:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:26:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:26:17 Sending build context to Docker daemon 1.156MB 00:26:17 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:26:17 Step 2/13 : FROM ${BASE} AS builder 00:26:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:26:17 c41833b44d91: Pulling fs layer 00:26:17 ed15518f5707: Pulling fs layer 00:26:17 feae8fd75edb: Pulling fs layer 00:26:17 242c74f7c9fa: Pulling fs layer 00:26:17 3cdef696dda3: Pulling fs layer 00:26:17 2ced38df9373: Pulling fs layer 00:26:17 58f1dce35555: Pulling fs layer 00:26:17 242c74f7c9fa: Waiting 00:26:17 2ced38df9373: Waiting 00:26:17 3cdef696dda3: Waiting 00:26:17 58f1dce35555: Waiting 00:26:17 ed15518f5707: Verifying Checksum 00:26:17 ed15518f5707: Download complete 00:26:17 242c74f7c9fa: Verifying Checksum 00:26:17 242c74f7c9fa: Download complete 00:26:17 3cdef696dda3: Verifying Checksum 00:26:17 3cdef696dda3: Download complete 00:26:17 c41833b44d91: Verifying Checksum 00:26:18 58f1dce35555: Verifying Checksum 00:26:18 58f1dce35555: Download complete 00:26:19 c41833b44d91: Pull complete 00:26:19 feae8fd75edb: Verifying Checksum 00:26:19 feae8fd75edb: Download complete 00:26:19 2ced38df9373: Verifying Checksum 00:26:19 2ced38df9373: Download complete 00:26:19 ed15518f5707: Pull complete 00:26:30 feae8fd75edb: Pull complete 00:26:30 242c74f7c9fa: Pull complete 00:26:30 3cdef696dda3: Pull complete 00:26:37 2ced38df9373: Pull complete 00:26:39 58f1dce35555: Pull complete 00:26:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:26:39 ---> fadd8f120f05 00:26:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:26:41 ---> Running in 7629f72531af 00:26:41 Removing intermediate container 7629f72531af 00:26:41 ---> f48660500e2c 00:26:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:26:41 ---> Running in 75eb6cea75ba 00:26:42 Removing intermediate container 75eb6cea75ba 00:26:42 ---> da46e53e0125 00:26:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:26:42 ---> Running in b0424de57611 00:26:42 Removing intermediate container b0424de57611 00:26:42 ---> 90df339d25fa 00:26:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:26:42 ---> Running in 43dad6f2af94 00:26:42 Removing intermediate container 43dad6f2af94 00:26:42 ---> cd7d5345c130 00:26:42 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:26:43 ---> Running in 11609f8bf3f8 00:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:26:46 (1/14) Installing libintl (0.21.1-r1) 00:26:46 (2/14) Installing eudev-libs (3.2.11-r4) 00:26:46 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:26:46 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:26:46 (5/14) Installing v4l-utils (1.22.1-r2) 00:26:46 (6/14) Installing udev-init-scripts (35-r1) 00:26:46 (7/14) Installing libblkid (2.38.1-r1) 00:26:46 (8/14) Installing xz-libs (5.2.9-r0) 00:26:46 (9/14) Installing zstd-libs (1.5.5-r0) 00:26:46 (10/14) Installing kmod-libs (30-r1) 00:26:46 (11/14) Installing eudev (3.2.11-r4) 00:26:46 (12/14) Installing eudev-dev (3.2.11-r4) 00:26:46 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:26:46 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:26:46 Executing busybox-1.35.0-r29.trigger 00:26:46 Executing eudev-3.2.11-r4.trigger 00:26:46 OK: 271 MiB in 67 packages 00:26:48 Removing intermediate container 11609f8bf3f8 00:26:48 ---> 4ae63929f861 00:26:48 Step 8/13 : WORKDIR /device-usb-camera 00:26:48 ---> Running in bf428c31cc81 00:26:48 Removing intermediate container bf428c31cc81 00:26:48 ---> 593ce94518f9 00:26:48 Step 9/13 : COPY go.mod vendor* ./ 00:26:49 ---> 00e0b55340ac 00:26:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:26:49 ---> Running in 2633aa01ad8f 00:27:57 Removing intermediate container 2633aa01ad8f 00:27:57 ---> 05be7be12a5b 00:27:57 Step 11/13 : COPY . . 00:27:57 ---> e51e2edf258d 00:27:57 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:27:57 ---> Running in 0ca912aa7758 00:27:57  % Total % Received % Xferd Average Speed Time Time Time Current 00:27:57 Dload Upload Total Spent Left Speed 00:27:57 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2942 0 --:--:-- --:--:-- --:--:-- 2950 00:27:58 Removing intermediate container 0ca912aa7758 00:27:58 ---> e0ee3918bb8b 00:27:58 Step 13/13 : RUN ${MAKE} 00:27:58 ---> Running in b83b04c784d2 00:27:59 noop 00:28:00 Removing intermediate container b83b04c784d2 00:28:00 ---> a61f2c70df0d 00:28:00 Successfully built a61f2c70df0d 00:28:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:00 + docker inspect -f . ci-base-image-arm64 00:28:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:01 prd-ubuntu20.04-docker-arm64-4c-16g-17413 does not seem to be running inside a container 00:28:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/122 -v /w/workspace/device-usb-camera/122:/w/workspace/device-usb-camera/122:rw,z -v /w/workspace/device-usb-camera/122@tmp:/w/workspace/device-usb-camera/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:28:02 $ docker top d127d4240a62104aafe1d8899125f4902026665bcaa25937d8e848c4f91f3ada -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:03 + go version 00:28:03 go version go1.20.2 linux/arm64 [Pipeline] } 00:28:03 $ docker stop --time=1 d127d4240a62104aafe1d8899125f4902026665bcaa25937d8e848c4f91f3ada 00:28:05 $ docker rm -f --volumes d127d4240a62104aafe1d8899125f4902026665bcaa25937d8e848c4f91f3ada [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:05 + docker inspect -f . ci-base-image-arm64 00:28:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:06 prd-ubuntu20.04-docker-arm64-4c-16g-17413 does not seem to be running inside a container 00:28:06 $ 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/122 -v /w/workspace/device-usb-camera/122:/w/workspace/device-usb-camera/122:rw,z -v /w/workspace/device-usb-camera/122@tmp:/w/workspace/device-usb-camera/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:28:07 $ docker top c5108a2354bb842fe3aad01dcb24d5a6e27495bb1b61d72a855427a81e382485 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:08 + git config --global --add safe.directory /w/workspace/device-usb-camera/122 [Pipeline] fileExists [Pipeline] sh 00:28:08 + make test 00:28:08 go test ./... -coverprofile=coverage.out ./... 00:28:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:31:24 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:31:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.085s coverage: 1.6% of statements 00:31:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:31:30 go vet ./... 00:32:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:32:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:32:02 ./bin/test-attribution-txt.sh [Pipeline] echo 00:32:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:32:02 $ docker stop --time=1 c5108a2354bb842fe3aad01dcb24d5a6e27495bb1b61d72a855427a81e382485 00:32:04 $ docker rm -f --volumes c5108a2354bb842fe3aad01dcb24d5a6e27495bb1b61d72a855427a81e382485 [Pipeline] // withDockerContainer [Pipeline] sh 00:32:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:32:06 Warning: overwriting stash ‘coverage-report’ 00:32:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:32:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:32:07 + ls -al . 00:32:07 total 192 00:32:07 drwxrwxr-x 9 jenkins jenkins 4096 May 31 00:28 . 00:32:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:25 .. 00:32:07 drwxrwxr-x 8 jenkins jenkins 4096 May 31 00:25 .git 00:32:07 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:25 .github 00:32:07 -rw-rw-r-- 1 jenkins jenkins 414 May 31 00:25 .gitignore 00:32:07 -rw-rw-r-- 1 jenkins jenkins 45 May 31 00:25 .golangci.yml 00:32:07 -rw-rw-r-- 1 jenkins jenkins 77 May 31 00:25 .hadolint.yml 00:32:07 -rw-rw-r-- 1 jenkins jenkins 9665 May 31 00:25 Attribution.txt 00:32:07 -rw-rw-r-- 1 jenkins jenkins 11903 May 31 00:25 CHANGELOG.md 00:32:07 -rw-rw-r-- 1 jenkins jenkins 2453 May 31 00:25 Dockerfile 00:32:07 -rw-rw-r-- 1 jenkins jenkins 678 May 31 00:25 GOVERNANCE.md 00:32:07 -rw-rw-r-- 1 jenkins jenkins 659 May 31 00:25 Jenkinsfile 00:32:07 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 00:25 LICENSE 00:32:07 -rw-rw-r-- 1 jenkins jenkins 2364 May 31 00:25 Makefile 00:32:07 -rw-rw-r-- 1 jenkins jenkins 622 May 31 00:25 OWNERS.md 00:32:07 -rw-rw-r-- 1 jenkins jenkins 2477 May 31 00:25 README.md 00:32:07 -rw-rw-r-- 1 jenkins jenkins 12 May 31 00:22 VERSION 00:32:07 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:25 bin 00:32:07 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:25 cmd 00:32:07 -rw-r--r-- 1 jenkins jenkins 35569 May 31 00:31 coverage.out 00:32:07 -rwxrwxr-x 1 jenkins jenkins 140 May 31 00:25 docker-entrypoint.sh 00:32:07 drwxrwxr-x 2 jenkins jenkins 4096 May 31 00:25 docs 00:32:07 -rw-rw-r-- 1 jenkins jenkins 3371 May 31 00:25 go.mod 00:32:07 -rw-rw-r-- 1 jenkins jenkins 31392 May 31 00:25 go.sum 00:32:07 drwxrwxr-x 3 jenkins jenkins 4096 May 31 00:25 internal 00:32:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 00:25 snap 00:32:07 -rw-rw-r-- 1 jenkins jenkins 231 May 31 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:07 + 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=d0f5938560965a72cdd41116a6cc710ba42503af --label arch=arm64 --label version=3.0.0-dev.50 . 00:32:08 Sending build context to Docker daemon 1.192MB 00:32:08 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:32:08 Step 2/36 : FROM ${BASE} AS builder 00:32:08 ---> a61f2c70df0d 00:32:08 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:32:08 ---> Running in 5d3fe5d14d62 00:32:08 Removing intermediate container 5d3fe5d14d62 00:32:08 ---> abc042567dcd 00:32:08 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:32:08 ---> Running in 1ec1bc9fec88 00:32:09 Removing intermediate container 1ec1bc9fec88 00:32:09 ---> 8b16a4c46cc1 00:32:09 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:32:09 ---> Running in e171bf5de8ff 00:32:11 Removing intermediate container e171bf5de8ff 00:32:11 ---> dcdde364014a 00:32:11 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:32:11 ---> Running in eea6be59a249 00:32:11 Removing intermediate container eea6be59a249 00:32:11 ---> 8227cfe3e6c7 00:32:11 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:32:11 ---> Running in 809eacffe21e 00:32:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:32:14 OK: 271 MiB in 67 packages 00:32:15 Removing intermediate container 809eacffe21e 00:32:15 ---> e5476acd173a 00:32:15 Step 8/36 : WORKDIR /device-usb-camera 00:32:15 ---> Running in f6c8d627b1df 00:32:16 Removing intermediate container f6c8d627b1df 00:32:16 ---> cda4074ae0d9 00:32:16 Step 9/36 : COPY go.mod vendor* ./ 00:32:16 ---> 5182d06eb748 00:32:16 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:32:16 ---> Running in 19cc366787e1 00:32:20 Removing intermediate container 19cc366787e1 00:32:20 ---> 2440d5d0b1c3 00:32:20 Step 11/36 : COPY . . 00:32:20 ---> e7ba53a88568 00:32:20 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:32:20 ---> Running in 99c8eb81f280 00:32:22  % Total % Received % Xferd Average Speed Time Time Time Current 00:32:22  Dload Upload Total Spent Left Speed 00:32:22 0 0 0  0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2261 0 --:--:-- --:--:-- --:--:-- 2269 00:32:23 Removing intermediate container 99c8eb81f280 00:32:23 ---> 067540a343cc 00:32:23 Step 13/36 : RUN ${MAKE} 00:32:23 ---> Running in f96593b27069 00:32:24 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.50" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:35:31 Removing intermediate container f96593b27069 00:35:31 ---> b0f727c0af0f 00:35:31 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:35:31 v0.21.6: Pulling from aler9/rtsp-simple-server 00:35:31 8766b47fe142: Pulling fs layer 00:35:31 8766b47fe142: Verifying Checksum 00:35:31 8766b47fe142: Download complete 00:35:31 8766b47fe142: Pull complete 00:35:31 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:35:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:35:31 ---> 69d40e2cb93c 00:35:31 Step 15/36 : FROM alpine:3.17 00:35:31 3.17: Pulling from library/alpine 00:35:31 c41833b44d91: Already exists 00:35:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:35:31 Status: Downloaded newer image for alpine:3.17 00:35:31 ---> 51e60588ff2c 00:35:31 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:35:31 ---> Running in 79230ee2fa67 00:35:31 Removing intermediate container 79230ee2fa67 00:35:31 ---> 0430238a01e6 00:35:31 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:35:31 ---> Running in 55e21df54ef8 00:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:35:31 (1/83) Installing dumb-init (1.2.5-r2) 00:35:31 (2/83) Installing sdl2 (2.26.5-r0) 00:35:31 (3/83) Installing libxau (1.0.10-r0) 00:35:31 (4/83) Installing libmd (1.0.4-r0) 00:35:31 (5/83) Installing libbsd (0.11.7-r0) 00:35:31 (6/83) Installing libxdmcp (1.1.4-r0) 00:35:31 (7/83) Installing libxcb (1.15-r0) 00:35:31 (8/83) Installing libx11 (1.8.4-r0) 00:35:31 (9/83) Installing aom-libs (3.5.0-r0) 00:35:31 (10/83) Installing alsa-lib (1.2.8-r0) 00:35:31 (11/83) Installing libexpat (2.5.0-r0) 00:35:31 (12/83) Installing brotli-libs (1.0.9-r9) 00:35:31 (13/83) Installing libbz2 (1.0.8-r4) 00:35:31 (14/83) Installing libpng (1.6.38-r0) 00:35:31 (15/83) Installing freetype (2.12.1-r0) 00:35:31 (16/83) Installing fontconfig (2.14.1-r0) 00:35:31 (17/83) Installing fribidi (1.0.12-r0) 00:35:31 (18/83) Installing libffi (3.4.4-r0) 00:35:31 (19/83) Installing libintl (0.21.1-r1) 00:35:31 (20/83) Installing libblkid (2.38.1-r1) 00:35:31 (21/83) Installing libmount (2.38.1-r1) 00:35:31 (22/83) Installing pcre2 (10.42-r0) 00:35:31 (23/83) Installing glib (2.74.7-r0) 00:35:31 (24/83) Installing graphite2 (1.3.14-r2) 00:35:31 (25/83) Installing harfbuzz (5.3.1-r1) 00:35:31 (26/83) Installing libass (0.16.0-r1) 00:35:31 (27/83) Installing libdav1d (1.0.0-r2) 00:35:31 (28/83) Installing libdrm (2.4.114-r0) 00:35:31 (29/83) Installing gmp (6.2.1-r2) 00:35:31 (30/83) Installing nettle (3.8.1-r0) 00:35:31 (31/83) Installing p11-kit (0.24.1-r1) 00:35:31 (32/83) Installing libtasn1 (4.19.0-r0) 00:35:31 (33/83) Installing libunistring (1.1-r0) 00:35:31 (34/83) Installing gnutls (3.7.8-r3) 00:35:31 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:35:31 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 00:35:31 (37/83) Installing lame (3.100-r2) 00:35:31 (38/83) Installing opus (1.3.1-r1) 00:35:31 (39/83) Installing libasyncns (0.8-r1) 00:35:31 (40/83) Installing dbus-libs (1.14.4-r0) 00:35:31 (41/83) Installing libltdl (2.4.7-r1) 00:35:31 (42/83) Installing orc (0.4.33-r0) 00:35:31 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:35:31 (44/83) Installing libogg (1.3.5-r2) 00:35:31 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:35:31 (46/83) Installing flac-libs (1.4.2-r0) 00:35:31 (47/83) Installing libvorbis (1.3.7-r0) 00:35:31 (48/83) Installing libsndfile (1.1.0-r2) 00:35:31 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:35:31 (50/83) Installing soxr (0.1.3-r3) 00:35:31 (51/83) Installing speexdsp (1.2.1-r0) 00:35:31 (52/83) Installing tdb-libs (1.4.6-r0) 00:35:31 (53/83) Installing libpulse (16.1-r6) 00:35:31 (54/83) Installing cjson (1.7.15-r3) 00:35:31 (55/83) Installing mbedtls (2.28.3-r0) 00:35:31 (56/83) Installing librist (0.2.7-r0) 00:35:31 (57/83) Installing libsrt (1.5.1-r0) 00:35:31 (58/83) Installing libssh (0.10.5-r0) 00:35:31 (59/83) Installing libtheora (1.1.1-r16) 00:35:31 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:35:31 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:35:31 (62/83) Installing libxext (1.3.5-r0) 00:35:31 (63/83) Installing libxfixes (6.0.0-r0) 00:35:31 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:35:31 (65/83) Installing libva (2.16.0-r0) 00:35:31 (66/83) Installing libvdpau (1.5-r0) 00:35:31 (67/83) Installing vidstab (1.1.0-r2) 00:35:31 (68/83) Installing libvpx (1.12.0-r1) 00:35:31 (69/83) Installing libwebp (1.2.4-r2) 00:35:31 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:35:31 (71/83) Installing numactl (2.0.16-r1) 00:35:31 (72/83) Installing x265-libs (3.5-r3) 00:35:31 (73/83) Installing xvidcore (1.3.7-r1) 00:35:31 (74/83) Installing libsodium (1.0.18-r2) 00:35:31 (75/83) Installing libzmq (4.3.4-r1) 00:35:31 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:35:31 (77/83) Installing ffmpeg (5.1.3-r0) 00:35:31 (78/83) Installing udev-init-scripts (35-r1) 00:35:31 (79/83) Installing eudev-libs (3.2.11-r4) 00:35:31 (80/83) Installing xz-libs (5.2.9-r0) 00:35:31 (81/83) Installing zstd-libs (1.5.5-r0) 00:35:31 (82/83) Installing kmod-libs (30-r1) 00:35:31 (83/83) Installing eudev (3.2.11-r4) 00:35:31 Executing busybox-1.35.0-r29.trigger 00:35:31 Executing eudev-3.2.11-r4.trigger 00:35:31 OK: 86 MiB in 98 packages 00:35:34 Removing intermediate container 55e21df54ef8 00:35:34 ---> dac5c66ad1bd 00:35:34 Step 18/36 : WORKDIR / 00:35:34 ---> Running in df9fb4699156 00:35:35 Removing intermediate container df9fb4699156 00:35:35 ---> 87fb2ad181ef 00:35:35 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:35:36 ---> d7197ac43582 00:35:36 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:35:37 ---> 83f5fde6b32c 00:35:37 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:35:37 ---> 1d67a4089f70 00:35:37 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:35:38 ---> 5180a3ba3492 00:35:38 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:35:38 ---> 589000db004e 00:35:38 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:35:39 ---> 1b3c47b734d7 00:35:39 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:35:41 ---> 9f758042bf31 00:35:41 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:35:42 ---> Running in fbc7d0fd4ea3 00:35:44 Removing intermediate container fbc7d0fd4ea3 00:35:44 ---> 6747f9c35ef1 00:35:44 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:35:44 ---> Running in 1428a5a39976 00:35:45 Removing intermediate container 1428a5a39976 00:35:45 ---> 3c7c0cc38429 00:35:45 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:35:45 ---> Running in cc641d418041 00:35:47 Removing intermediate container cc641d418041 00:35:47 ---> 0813e735fb81 00:35:47 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:35:47 ---> Running in 4ceab3780645 00:35:49 Removing intermediate container 4ceab3780645 00:35:49 ---> a3fbc375b399 00:35:49 Step 30/36 : EXPOSE 59983 00:35:49 ---> Running in 99a42134be3d 00:35:49 Removing intermediate container 99a42134be3d 00:35:49 ---> 94b9d2fcbfb3 00:35:49 Step 31/36 : EXPOSE 8554 00:35:49 ---> Running in be68451d33fa 00:35:49 Removing intermediate container be68451d33fa 00:35:49 ---> 0effb1a096cd 00:35:49 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:35:49 ---> Running in e3c87cfcfa28 00:35:50 Removing intermediate container e3c87cfcfa28 00:35:50 ---> fb75de03d1c9 00:35:50 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:35:50 ---> Running in 10e7c579d4c1 00:35:50 Removing intermediate container 10e7c579d4c1 00:35:50 ---> 048aeb44482f 00:35:50 Step 34/36 : LABEL arch=arm64 00:35:50 ---> Running in 140198fe342e 00:35:51 Removing intermediate container 140198fe342e 00:35:51 ---> f690ceabe6dd 00:35:51 Step 35/36 : LABEL git_sha=d0f5938560965a72cdd41116a6cc710ba42503af 00:35:51 ---> Running in 90e9e53c362d 00:35:51 Removing intermediate container 90e9e53c362d 00:35:51 ---> 3dd17df5f0d3 00:35:51 Step 36/36 : LABEL version=3.0.0-dev.50 00:35:51 ---> Running in fdd8d0f7d150 00:35:52 Removing intermediate container fdd8d0f7d150 00:35:52 ---> 5e2c3466bee3 00:35:52 [Warning] One or more build-args [ARCH] were not consumed 00:35:52 Successfully built 5e2c3466bee3 00:35:52 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:35:52 provisioning config files... 00:35:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/122@tmp/config17524610597293595418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:52 ---> docker-login.sh 00:35:52 nexus3.edgexfoundry.org:10001 00:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:52 Configure a credential helper to remove this warning. See 00:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:52 00:35:52 Login Succeeded 00:35:52 nexus3.edgexfoundry.org:10002 00:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:53 Configure a credential helper to remove this warning. See 00:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:53 00:35:53 Login Succeeded 00:35:53 nexus3.edgexfoundry.org:10003 00:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:53 Configure a credential helper to remove this warning. See 00:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:53 00:35:53 Login Succeeded 00:35:53 nexus3.edgexfoundry.org:10004 00:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:54 Configure a credential helper to remove this warning. See 00:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:54 00:35:54 Login Succeeded 00:35:54 docker.io 00:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:54 Configure a credential helper to remove this warning. See 00:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:54 00:35:54 Login Succeeded 00:35:54 ---> docker-login.sh ends [Pipeline] } 00:35:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:35:54 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:35:54 d0f5938560965a72cdd41116a6cc710ba42503af 00:35:54 latest 00:35:54 3.0.0-dev.50 00:35:54 d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:35:54 main 00:35:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:55 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af 00:35:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:35:55 cd44faa661d2: Preparing 00:35:55 58585771923e: Preparing 00:35:55 3b82281d7ba1: Preparing 00:35:55 1fad09c6f238: Preparing 00:35:55 608d194cb50c: Preparing 00:35:55 acc83c6ca332: Preparing 00:35:55 0d2bf6a92875: Preparing 00:35:55 5f3462892761: Preparing 00:35:55 e52d3d55da6b: Preparing 00:35:55 477069304aca: Preparing 00:35:55 fe5c59a5daaa: Preparing 00:35:55 dcaa00384f54: Preparing 00:35:55 26cbea5cba74: Preparing 00:35:55 0d2bf6a92875: Waiting 00:35:55 5f3462892761: Waiting 00:35:55 e52d3d55da6b: Waiting 00:35:55 477069304aca: Waiting 00:35:55 fe5c59a5daaa: Waiting 00:35:55 dcaa00384f54: Waiting 00:35:55 26cbea5cba74: Waiting 00:35:55 acc83c6ca332: Waiting 00:35:55 3b82281d7ba1: Pushed 00:35:55 1fad09c6f238: Pushed 00:35:55 58585771923e: Pushed 00:35:55 cd44faa661d2: Pushed 00:35:56 acc83c6ca332: Pushed 00:35:56 e52d3d55da6b: Pushed 00:35:56 0d2bf6a92875: Pushed 00:35:56 477069304aca: Pushed 00:35:56 5f3462892761: Pushed 00:35:56 26cbea5cba74: Layer already exists 00:36:01 608d194cb50c: Pushed 00:36:02 fe5c59a5daaa: Pushed 00:36:14 dcaa00384f54: Pushed 00:36:14 d0f5938560965a72cdd41116a6cc710ba42503af: digest: sha256:3691bd55c48203af143cb49929af8c7a6f651db7f34725f52adf14a17f88d5a0 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:14 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:36:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:36:15 cd44faa661d2: Preparing 00:36:15 58585771923e: Preparing 00:36:15 3b82281d7ba1: Preparing 00:36:15 1fad09c6f238: Preparing 00:36:15 608d194cb50c: Preparing 00:36:15 acc83c6ca332: Preparing 00:36:15 0d2bf6a92875: Preparing 00:36:15 5f3462892761: Preparing 00:36:15 e52d3d55da6b: Preparing 00:36:15 477069304aca: Preparing 00:36:15 fe5c59a5daaa: Preparing 00:36:15 dcaa00384f54: Preparing 00:36:15 26cbea5cba74: Preparing 00:36:15 acc83c6ca332: Waiting 00:36:15 0d2bf6a92875: Waiting 00:36:15 5f3462892761: Waiting 00:36:15 26cbea5cba74: Waiting 00:36:15 dcaa00384f54: Waiting 00:36:15 e52d3d55da6b: Waiting 00:36:15 477069304aca: Waiting 00:36:15 fe5c59a5daaa: Waiting 00:36:15 58585771923e: Layer already exists 00:36:15 1fad09c6f238: Layer already exists 00:36:15 3b82281d7ba1: Layer already exists 00:36:15 608d194cb50c: Layer already exists 00:36:15 cd44faa661d2: Layer already exists 00:36:15 acc83c6ca332: Layer already exists 00:36:15 477069304aca: Layer already exists 00:36:15 0d2bf6a92875: Layer already exists 00:36:15 e52d3d55da6b: Layer already exists 00:36:15 5f3462892761: Layer already exists 00:36:15 dcaa00384f54: Layer already exists 00:36:15 fe5c59a5daaa: Layer already exists 00:36:15 26cbea5cba74: Layer already exists 00:36:15 latest: digest: sha256:3691bd55c48203af143cb49929af8c7a6f651db7f34725f52adf14a17f88d5a0 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.50 00:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:36:16 cd44faa661d2: Preparing 00:36:16 58585771923e: Preparing 00:36:16 3b82281d7ba1: Preparing 00:36:16 1fad09c6f238: Preparing 00:36:16 608d194cb50c: Preparing 00:36:16 acc83c6ca332: Preparing 00:36:16 0d2bf6a92875: Preparing 00:36:16 5f3462892761: Preparing 00:36:16 e52d3d55da6b: Preparing 00:36:16 477069304aca: Preparing 00:36:16 fe5c59a5daaa: Preparing 00:36:16 dcaa00384f54: Preparing 00:36:16 26cbea5cba74: Preparing 00:36:16 acc83c6ca332: Waiting 00:36:16 0d2bf6a92875: Waiting 00:36:16 5f3462892761: Waiting 00:36:16 477069304aca: Waiting 00:36:16 e52d3d55da6b: Waiting 00:36:16 fe5c59a5daaa: Waiting 00:36:16 26cbea5cba74: Waiting 00:36:16 dcaa00384f54: Waiting 00:36:16 608d194cb50c: Layer already exists 00:36:16 58585771923e: Layer already exists 00:36:16 3b82281d7ba1: Layer already exists 00:36:16 cd44faa661d2: Layer already exists 00:36:16 1fad09c6f238: Layer already exists 00:36:16 0d2bf6a92875: Layer already exists 00:36:16 e52d3d55da6b: Layer already exists 00:36:16 477069304aca: Layer already exists 00:36:16 5f3462892761: Layer already exists 00:36:16 acc83c6ca332: Layer already exists 00:36:16 dcaa00384f54: Layer already exists 00:36:16 fe5c59a5daaa: Layer already exists 00:36:16 26cbea5cba74: Layer already exists 00:36:16 3.0.0-dev.50: digest: sha256:3691bd55c48203af143cb49929af8c7a6f651db7f34725f52adf14a17f88d5a0 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:36:16 cd44faa661d2: Preparing 00:36:16 58585771923e: Preparing 00:36:16 3b82281d7ba1: Preparing 00:36:16 1fad09c6f238: Preparing 00:36:16 608d194cb50c: Preparing 00:36:16 acc83c6ca332: Preparing 00:36:16 0d2bf6a92875: Preparing 00:36:16 5f3462892761: Preparing 00:36:16 e52d3d55da6b: Preparing 00:36:16 477069304aca: Preparing 00:36:16 fe5c59a5daaa: Preparing 00:36:16 dcaa00384f54: Preparing 00:36:16 26cbea5cba74: Preparing 00:36:16 acc83c6ca332: Waiting 00:36:16 477069304aca: Waiting 00:36:16 0d2bf6a92875: Waiting 00:36:16 fe5c59a5daaa: Waiting 00:36:16 5f3462892761: Waiting 00:36:16 e52d3d55da6b: Waiting 00:36:16 dcaa00384f54: Waiting 00:36:16 26cbea5cba74: Waiting 00:36:16 1fad09c6f238: Layer already exists 00:36:16 608d194cb50c: Layer already exists 00:36:16 cd44faa661d2: Layer already exists 00:36:16 58585771923e: Layer already exists 00:36:16 3b82281d7ba1: Layer already exists 00:36:16 acc83c6ca332: Layer already exists 00:36:16 0d2bf6a92875: Layer already exists 00:36:16 5f3462892761: Layer already exists 00:36:16 477069304aca: Layer already exists 00:36:16 e52d3d55da6b: Layer already exists 00:36:16 dcaa00384f54: Layer already exists 00:36:16 fe5c59a5daaa: Layer already exists 00:36:16 26cbea5cba74: Layer already exists 00:36:17 d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50: digest: sha256:3691bd55c48203af143cb49929af8c7a6f651db7f34725f52adf14a17f88d5a0 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:17 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:36:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:36:17 cd44faa661d2: Preparing 00:36:17 58585771923e: Preparing 00:36:17 3b82281d7ba1: Preparing 00:36:17 1fad09c6f238: Preparing 00:36:17 608d194cb50c: Preparing 00:36:17 acc83c6ca332: Preparing 00:36:17 0d2bf6a92875: Preparing 00:36:17 5f3462892761: Preparing 00:36:17 e52d3d55da6b: Preparing 00:36:17 477069304aca: Preparing 00:36:17 fe5c59a5daaa: Preparing 00:36:17 dcaa00384f54: Preparing 00:36:17 26cbea5cba74: Preparing 00:36:17 e52d3d55da6b: Waiting 00:36:17 477069304aca: Waiting 00:36:17 dcaa00384f54: Waiting 00:36:17 26cbea5cba74: Waiting 00:36:17 acc83c6ca332: Waiting 00:36:17 0d2bf6a92875: Waiting 00:36:17 fe5c59a5daaa: Waiting 00:36:17 5f3462892761: Waiting 00:36:17 cd44faa661d2: Layer already exists 00:36:17 608d194cb50c: Layer already exists 00:36:17 3b82281d7ba1: Layer already exists 00:36:17 1fad09c6f238: Layer already exists 00:36:17 58585771923e: Layer already exists 00:36:17 0d2bf6a92875: Layer already exists 00:36:17 e52d3d55da6b: Layer already exists 00:36:17 acc83c6ca332: Layer already exists 00:36:17 5f3462892761: Layer already exists 00:36:17 477069304aca: Layer already exists 00:36:17 fe5c59a5daaa: Layer already exists 00:36:17 26cbea5cba74: Layer already exists 00:36:17 dcaa00384f54: Layer already exists 00:36:18 main: digest: sha256:3691bd55c48203af143cb49929af8c7a6f651db7f34725f52adf14a17f88d5a0 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:18 ===================================================== [Pipeline] echo 00:36:18 taggedImages: 00:36:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af 00:36:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:36:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.50 00:36:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d0f5938560965a72cdd41116a6cc710ba42503af-3.0.0-dev.50 00:36:18 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:18 00:36:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:18 arm64: Pulling from edgex-lftools-log-publisher 00:36:18 8998bd30e6a1: Pulling fs layer 00:36:18 04944245beec: Pulling fs layer 00:36:18 699f458cf7ca: Pulling fs layer 00:36:18 765212b225bb: Pulling fs layer 00:36:18 f23df028b6ca: Pulling fs layer 00:36:18 d65c8cfc05b1: Pulling fs layer 00:36:18 2437ff75d9bd: Pulling fs layer 00:36:18 f23df028b6ca: Waiting 00:36:18 765212b225bb: Waiting 00:36:18 d65c8cfc05b1: Waiting 00:36:18 2437ff75d9bd: Waiting 00:36:19 04944245beec: Verifying Checksum 00:36:19 04944245beec: Download complete 00:36:19 765212b225bb: Verifying Checksum 00:36:19 765212b225bb: Download complete 00:36:19 f23df028b6ca: Verifying Checksum 00:36:19 f23df028b6ca: Download complete 00:36:19 d65c8cfc05b1: Verifying Checksum 00:36:19 d65c8cfc05b1: Download complete 00:36:19 699f458cf7ca: Verifying Checksum 00:36:19 699f458cf7ca: Download complete 00:36:19 8998bd30e6a1: Verifying Checksum 00:36:19 8998bd30e6a1: Download complete 00:36:22 2437ff75d9bd: Verifying Checksum 00:36:22 2437ff75d9bd: Download complete 00:36:23 8998bd30e6a1: Pull complete 00:36:24 04944245beec: Pull complete 00:36:25 699f458cf7ca: Pull complete 00:36:25 765212b225bb: Pull complete 00:36:26 f23df028b6ca: Pull complete 00:36:26 d65c8cfc05b1: Pull complete 00:36:41 2437ff75d9bd: Pull complete 00:36:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:36:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:41 prd-ubuntu20.04-docker-arm64-4c-16g-17413 does not seem to be running inside a container 00:36:42 $ 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/122 -v /w/workspace/device-usb-camera/122:/w/workspace/device-usb-camera/122:rw,z -v /w/workspace/device-usb-camera/122@tmp:/w/workspace/device-usb-camera/122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:36:45 $ docker top 7455fd26febdf5975f3585514452ecf6764da69d530776df9aeab0e51fc36f97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:45 ---> job-cost.sh 00:36:45 lf-activate-venv: SKIPPING 00:36:45 INFO: No Stack... 00:36:46 INFO: Retrieving Pricing Info for: v3-standard-4 00:36:47 INFO: Archiving Costs [Pipeline] sh 00:36:47 + + cut -d, -f6 00:36:47 cat /w/workspace/device-usb-camera/122/archives/cost.csv [Pipeline] lock 00:36:47 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] 00:36:47 Resource [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] did not exist. Created. 00:36:47 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:48 /w/workspace/device-usb-camera/122@tmp/durable-4d99d5e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:36:49 + echo total: 0.10999999940395355 [Pipeline] stash 00:36:49 Warning: overwriting stash ‘stack-cost’ 00:36:49 Stashed 1 file(s) [Pipeline] } 00:36:49 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-122-stack-cost] [Pipeline] // lock [Pipeline] } 00:36:49 $ docker stop --time=1 7455fd26febdf5975f3585514452ecf6764da69d530776df9aeab0e51fc36f97 00:36:51 $ docker rm -f --volumes 7455fd26febdf5975f3585514452ecf6764da69d530776df9aeab0e51fc36f97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:36:51 provisioning config files... 00:36:51 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7333991186842763092tmp [Pipeline] { [Pipeline] sh 00:36:52 + set +x 00:36:52 + + bash -s -- 00:36:52 curl -s https://codecov.io/bash 00:36:52 00:36:52 _____ _ 00:36:52 / ____| | | 00:36:52 | | ___ __| | ___ ___ _____ __ 00:36:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:36:52 | |___| (_) | (_| | __/ (_| (_) \ V / 00:36:52 \_____\___/ \__,_|\___|\___\___/ \_/ 00:36:52 Bash-1.0.6 00:36:52 00:36:52 00:36:52 ==> git version 2.25.1 found 00:36:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:36:52 Release-Date: 2020-01-08 00:36:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:36:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:36:52 ==> Jenkins CI detected. 00:36:52 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:36:52 project root: . 00:36:52 --> token set from env 00:36:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:36:52 ==> Running gcov in . (disable via -X gcov) 00:36:52 ==> Python coveragepy not found 00:36:52 ==> Searching for coverage reports in: 00:36:52 + . 00:36:52 -> Found 1 reports 00:36:52 ==> Detecting git/mercurial file structure 00:36:52 ==> Reading reports 00:36:52 + ./coverage.out bytes=35569 00:36:52 ==> Appending adjustments 00:36:52 https://docs.codecov.io/docs/fixing-reports 00:36:52 + Found adjustments 00:36:52 ==> Gzipping contents 00:36:52 8.0K /tmp/codecov.VkrvwC.gz 00:36:52 ==> Uploading reports 00:36:52 url: https://codecov.io 00:36:52 query: branch=main&commit=d0f5938560965a72cdd41116a6cc710ba42503af&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:36:52 -> Pinging Codecov 00:36:52 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=d0f5938560965a72cdd41116a6cc710ba42503af&build=122&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F122%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:36:52 -> Uploading to 00:36:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/73D8F5FF140700D3E01443B452E23636/d0f5938560965a72cdd41116a6cc710ba42503af/cea87f63-e963-47d2-be26-0451148ea09a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T003652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80c46da7e8f85b71b66a4652bc11b8ae74f9dffbec1fb243af100384e8a79d02 00:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:36:52 Dload Upload Total Spent Left Speed 00:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4860 0 0 100 4860 0 21990 --:--:-- --:--:-- --:--:-- 21990 00:36:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] } 00:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:36:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:36:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:36:53 00:36:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:36:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:36:53 df9b9388f04a: Pulling fs layer 00:36:53 52dc419b0ee2: Pulling fs layer 00:36:53 25bc292e5bac: Pulling fs layer 00:36:53 114826534d7a: Pulling fs layer 00:36:53 4657fd5d0bcf: Pulling fs layer 00:36:53 6ad1cebc031e: Pulling fs layer 00:36:53 8a3aa393b2d8: Pulling fs layer 00:36:53 114826534d7a: Waiting 00:36:53 8a3aa393b2d8: Waiting 00:36:53 6ad1cebc031e: Waiting 00:36:53 25bc292e5bac: Verifying Checksum 00:36:53 25bc292e5bac: Download complete 00:36:53 52dc419b0ee2: Download complete 00:36:53 4657fd5d0bcf: Verifying Checksum 00:36:53 4657fd5d0bcf: Download complete 00:36:53 df9b9388f04a: Verifying Checksum 00:36:53 df9b9388f04a: Download complete 00:36:53 df9b9388f04a: Pull complete 00:36:53 6ad1cebc031e: Verifying Checksum 00:36:53 52dc419b0ee2: Pull complete 00:36:53 25bc292e5bac: Pull complete 00:36:54 114826534d7a: Verifying Checksum 00:36:54 114826534d7a: Download complete 00:36:54 8a3aa393b2d8: Verifying Checksum 00:36:54 8a3aa393b2d8: Download complete 00:36:57 114826534d7a: Pull complete 00:36:57 4657fd5d0bcf: Pull complete 00:36:57 6ad1cebc031e: Pull complete 00:37:00 8a3aa393b2d8: Pull complete 00:37:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:37:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:00 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:37:04 $ docker top e15278bc2c524c44ff67bcefa68c25676f3a611049181c1bf29eda0ae41ca0b4 -eo pid,comm [Pipeline] { [Pipeline] echo 00:37:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:37:04 + set -o pipefail 00:37:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:37:09 00:37:09 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:37:09 00:37:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/b7eff9a3-a4f7-4679-aafa-6f021fe38e43 00:37:09 00:37:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:37:09 00:37:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:37:09 00:37:09 00:37:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:37:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:37:09 More details here: https://snyk.co/ue1NS [Pipeline] } 00:37:09 $ docker stop --time=1 e15278bc2c524c44ff67bcefa68c25676f3a611049181c1bf29eda0ae41ca0b4 00:37:12 $ docker rm -f --volumes e15278bc2c524c44ff67bcefa68c25676f3a611049181c1bf29eda0ae41ca0b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:13 + git log --format=format:%s -1 d0f5938560965a72cdd41116a6cc710ba42503af [Pipeline] sh 00:37:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:13 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:14 $ docker top fae501b4b094d583340d437baf0754c260f305a9600a01897bf90209dc15e7c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:14 [ssh-agent] Looking for ssh-agent implementation... 00:37:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:14 $ docker exec fae501b4b094d583340d437baf0754c260f305a9600a01897bf90209dc15e7c2 ssh-agent 00:37:14 SSH_AUTH_SOCK=/tmp/ssh-u3lVyPRUY9Oa/agent.32 00:37:14 SSH_AGENT_PID=38 00:37:14 Running ssh-add (command line suppressed) 00:37:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1939597603568620425.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1939597603568620425.key) 00:37:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:14 + git semver tag 00:37:15 2023-05-31 00:37:15,083 [run_tag] DEBUG tag force:False 00:37:15 2023-05-31 00:37:15,083 [check_head_tag] DEBUG check head tag 00:37:15 2023-05-31 00:37:15,085 [execute] INFO git cat-file --batch-check 00:37:15 2023-05-31 00:37:15,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:37:15 2023-05-31 00:37:15,089 [execute] INFO git cat-file --batch 00:37:15 2023-05-31 00:37:15,089 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:37:15 2023-05-31 00:37:15,117 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:15 2023-05-31 00:37:15,117 [execute] INFO git tag -a v3.0.0-dev.50 -m v3.0.0-dev.50 00:37:15 2023-05-31 00:37:15,117 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.50', '-m', 'v3.0.0-dev.50'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:37:15 2023-05-31 00:37:15,122 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:15 3.0.0-dev.50 [Pipeline] } 00:37:15 $ docker exec --env ******** --env ******** fae501b4b094d583340d437baf0754c260f305a9600a01897bf90209dc15e7c2 ssh-agent -k 00:37:15 unset SSH_AUTH_SOCK; 00:37:15 unset SSH_AGENT_PID; 00:37:15 echo Agent pid 38 killed; 00:37:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:15 + git semver [Pipeline] } 00:37:15 $ docker stop --time=1 fae501b4b094d583340d437baf0754c260f305a9600a01897bf90209dc15e7c2 00:37:17 $ docker rm -f --volumes fae501b4b094d583340d437baf0754c260f305a9600a01897bf90209dc15e7c2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:17 00:37:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:17 0.23.1-centos7: Pulling from edgex-lftools 00:37:17 ab5ef0e58194: Pulling fs layer 00:37:17 9712f1f96733: Pulling fs layer 00:37:17 63f879dbbcfc: Pulling fs layer 00:37:17 0d9ebad4ef96: Pulling fs layer 00:37:17 e9a5061849ea: Pulling fs layer 00:37:17 d747dcd14b5f: Pulling fs layer 00:37:17 2de7ff778b66: Pulling fs layer 00:37:17 e9a5061849ea: Waiting 00:37:17 d747dcd14b5f: Waiting 00:37:17 2de7ff778b66: Waiting 00:37:17 0d9ebad4ef96: Waiting 00:37:18 63f879dbbcfc: Verifying Checksum 00:37:18 63f879dbbcfc: Download complete 00:37:18 e9a5061849ea: Verifying Checksum 00:37:18 e9a5061849ea: Download complete 00:37:18 d747dcd14b5f: Verifying Checksum 00:37:18 d747dcd14b5f: Download complete 00:37:18 0d9ebad4ef96: Verifying Checksum 00:37:18 0d9ebad4ef96: Download complete 00:37:18 ab5ef0e58194: Verifying Checksum 00:37:18 ab5ef0e58194: Download complete 00:37:18 2de7ff778b66: Verifying Checksum 00:37:18 2de7ff778b66: Download complete 00:37:20 ab5ef0e58194: Pull complete 00:37:20 9712f1f96733: Pull complete 00:37:21 63f879dbbcfc: Pull complete 00:37:26 0d9ebad4ef96: Pull complete 00:37:26 e9a5061849ea: Pull complete 00:37:26 d747dcd14b5f: Pull complete 00:37:27 2de7ff778b66: Pull complete 00:37:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:37:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:37:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:27 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:37:33 $ docker top 2631ec52dbc65f0764ee6fa6bcc630f85f25effe360c10db62015d4a4b871edb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:37:33 provisioning config files... 00:37:33 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config633632936483261339tmp 00:37:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3357666643210138682tmp 00:37:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3208218998612763163tmp [Pipeline] { [Pipeline] echo 00:37:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:37:33 ---> sigul-configuration.sh 00:37:33 gpg: directory `/root/.gnupg' created 00:37:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:37:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:37:33 gpg: keyring `/root/.gnupg/secring.gpg' created 00:37:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:37:33 gpg: CAST5 encrypted data 00:37:33 gpg: encrypted with 1 passphrase 00:37:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:37:33 + mkdir /home/jenkins 00:37:33 + mkdir /home/jenkins/sigul [Pipeline] sh 00:37: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 00:37:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:37:34 ---> sigul-install.sh 00:37:34 Sigul already installed; skipping installation. [Pipeline] sh 00:37:34 + git tag --list 00:37:34 v0.0.0 00:37:34 v0.0.1-dev.1 00:37:34 v0.0.1-dev.10 00:37:34 v0.0.1-dev.11 00:37:34 v0.0.1-dev.12 00:37:34 v0.0.1-dev.13 00:37:34 v0.0.1-dev.14 00:37:34 v0.0.1-dev.15 00:37:34 v0.0.1-dev.16 00:37:34 v0.0.1-dev.2 00:37:34 v0.0.1-dev.3 00:37:34 v0.0.1-dev.4 00:37:34 v0.0.1-dev.5 00:37:34 v0.0.1-dev.6 00:37:34 v0.0.1-dev.7 00:37:34 v0.0.1-dev.8 00:37:34 v0.0.1-dev.9 00:37:34 v2.2.0 00:37:34 v2.2.0-dev.17 00:37:34 v2.2.0-dev.18 00:37:34 v2.2.0-dev.19 00:37:34 v2.2.0-dev.20 00:37:34 v2.2.0-dev.21 00:37:34 v2.2.0-dev.22 00:37:34 v2.2.0-dev.23 00:37:34 v2.2.0-dev.24 00:37:34 v2.2.0-dev.25 00:37:34 v2.2.0-dev.26 00:37:34 v2.2.0-dev.27 00:37:34 v2.3.0 00:37:34 v2.3.0-dev.1 00:37:34 v2.3.0-dev.10 00:37:34 v2.3.0-dev.11 00:37:34 v2.3.0-dev.12 00:37:34 v2.3.0-dev.13 00:37:34 v2.3.0-dev.14 00:37:34 v2.3.0-dev.15 00:37:34 v2.3.0-dev.16 00:37:34 v2.3.0-dev.17 00:37:34 v2.3.0-dev.18 00:37:34 v2.3.0-dev.19 00:37:34 v2.3.0-dev.2 00:37:34 v2.3.0-dev.20 00:37:34 v2.3.0-dev.21 00:37:34 v2.3.0-dev.22 00:37:34 v2.3.0-dev.23 00:37:34 v2.3.0-dev.24 00:37:34 v2.3.0-dev.25 00:37:34 v2.3.0-dev.26 00:37:34 v2.3.0-dev.27 00:37:34 v2.3.0-dev.28 00:37:34 v2.3.0-dev.3 00:37:34 v2.3.0-dev.4 00:37:34 v2.3.0-dev.5 00:37:34 v2.3.0-dev.6 00:37:34 v2.3.0-dev.7 00:37:34 v2.3.0-dev.8 00:37:34 v2.3.0-dev.9 00:37:34 v2.3.1 00:37:34 v2.3.1-dev.4 00:37:34 v2.3.1-dev.5 00:37:34 v2.3.1-dev.6 00:37:34 v3.0.0-dev.1 00:37:34 v3.0.0-dev.10 00:37:34 v3.0.0-dev.11 00:37:34 v3.0.0-dev.12 00:37:34 v3.0.0-dev.13 00:37:34 v3.0.0-dev.14 00:37:34 v3.0.0-dev.15 00:37:34 v3.0.0-dev.16 00:37:34 v3.0.0-dev.17 00:37:34 v3.0.0-dev.18 00:37:34 v3.0.0-dev.19 00:37:34 v3.0.0-dev.2 00:37:34 v3.0.0-dev.20 00:37:34 v3.0.0-dev.21 00:37:34 v3.0.0-dev.22 00:37:34 v3.0.0-dev.23 00:37:34 v3.0.0-dev.24 00:37:34 v3.0.0-dev.25 00:37:34 v3.0.0-dev.26 00:37:34 v3.0.0-dev.27 00:37:34 v3.0.0-dev.28 00:37:34 v3.0.0-dev.29 00:37:34 v3.0.0-dev.3 00:37:34 v3.0.0-dev.30 00:37:34 v3.0.0-dev.31 00:37:34 v3.0.0-dev.32 00:37:34 v3.0.0-dev.33 00:37:34 v3.0.0-dev.34 00:37:34 v3.0.0-dev.35 00:37:34 v3.0.0-dev.36 00:37:34 v3.0.0-dev.37 00:37:34 v3.0.0-dev.38 00:37:34 v3.0.0-dev.39 00:37:34 v3.0.0-dev.4 00:37:34 v3.0.0-dev.40 00:37:34 v3.0.0-dev.41 00:37:34 v3.0.0-dev.42 00:37:34 v3.0.0-dev.43 00:37:34 v3.0.0-dev.44 00:37:34 v3.0.0-dev.45 00:37:34 v3.0.0-dev.46 00:37:34 v3.0.0-dev.47 00:37:34 v3.0.0-dev.48 00:37:34 v3.0.0-dev.49 00:37:34 v3.0.0-dev.5 00:37:34 v3.0.0-dev.50 00:37:34 v3.0.0-dev.6 00:37:34 v3.0.0-dev.7 00:37:34 v3.0.0-dev.8 00:37:34 v3.0.0-dev.9 [Pipeline] sh 00:37:35 + lftools sign git-tag v3.0.0-dev.50 00:37:36 Signing Git tag with Sigul... 00:37:36 Signing v3.0.0-dev.50 [Pipeline] echo 00:37:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:37:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:37:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:37:36 $ docker stop --time=1 2631ec52dbc65f0764ee6fa6bcc630f85f25effe360c10db62015d4a4b871edb 00:37:37 $ docker rm -f --volumes 2631ec52dbc65f0764ee6fa6bcc630f85f25effe360c10db62015d4a4b871edb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:37:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:38 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:39 $ docker top a73ba95b425d4d31a13d76425f42752a26c39cbbef830be7dfb40c318cbbd654 -eo pid,comm 00:37: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). 00:37:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:39 [ssh-agent] Looking for ssh-agent implementation... 00:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:39 $ docker exec a73ba95b425d4d31a13d76425f42752a26c39cbbef830be7dfb40c318cbbd654 ssh-agent 00:37:39 SSH_AUTH_SOCK=/tmp/ssh-lpgtkcyPsYqO/agent.31 00:37:39 SSH_AGENT_PID=37 00:37:39 Running ssh-add (command line suppressed) 00:37:39 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9113646701590060629.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9113646701590060629.key) 00:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:39 + git semver bump pre 00:37:40 2023-05-31 00:37:40,097 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:40 2023-05-31 00:37:40,097 [bump_version] DEBUG bumping version:3.0.0-dev.50 on axis:pre with prefix:dev 00:37:40 2023-05-31 00:37:40,097 [bump_version] DEBUG bumped version:3.0.0-dev.51 00:37:40 2023-05-31 00:37:40,097 [write_version] DEBUG write version:3.0.0-dev.51 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:37:40 2023-05-31 00:37:40,098 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:40 2023-05-31 00:37:40,098 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:40 2023-05-31 00:37:40,099 [execute] INFO git cat-file --batch-check 00:37:40 2023-05-31 00:37:40,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:40 2023-05-31 00:37:40,104 [execute] INFO git cat-file --batch 00:37:40 2023-05-31 00:37:40,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:40 2023-05-31 00:37:40,108 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:40 3.0.0-dev.51 [Pipeline] } 00:37:40 $ docker exec --env ******** --env ******** a73ba95b425d4d31a13d76425f42752a26c39cbbef830be7dfb40c318cbbd654 ssh-agent -k 00:37:40 unset SSH_AUTH_SOCK; 00:37:40 unset SSH_AGENT_PID; 00:37:40 echo Agent pid 37 killed; 00:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:40 + git semver [Pipeline] } 00:37:40 $ docker stop --time=1 a73ba95b425d4d31a13d76425f42752a26c39cbbef830be7dfb40c318cbbd654 00:37:42 $ docker rm -f --volumes a73ba95b425d4d31a13d76425f42752a26c39cbbef830be7dfb40c318cbbd654 [Pipeline] // withDockerContainer [Pipeline] sh 00:37:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:37:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:37:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:42 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:37:43 $ docker top 67074e9fe119f63a7377848ed126b2d053087027e20b655640c60ded7013eacd -eo pid,comm 00:37: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). 00:37:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:37:43 [ssh-agent] Looking for ssh-agent implementation... 00:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:37:43 $ docker exec 67074e9fe119f63a7377848ed126b2d053087027e20b655640c60ded7013eacd ssh-agent 00:37:43 SSH_AUTH_SOCK=/tmp/ssh-3FH0zjsAFw9y/agent.31 00:37:43 SSH_AGENT_PID=38 00:37:43 Running ssh-add (command line suppressed) 00:37:43 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11319653512692436573.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11319653512692436573.key) 00:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:37:44 + git semver push 00:37:44 2023-05-31 00:37:44,223 [run_push] DEBUG push 00:37:44 2023-05-31 00:37:44,224 [execute] INFO git cat-file --batch-check 00:37:44 2023-05-31 00:37:44,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:37:44 2023-05-31 00:37:44,228 [execute] INFO git rev-list 722a09ade61bcc94f6468efec6d9dfca65e457fa -- 00:37:44 2023-05-31 00:37:44,228 [execute] DEBUG Popen(['git', 'rev-list', '722a09ade61bcc94f6468efec6d9dfca65e457fa', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:44 2023-05-31 00:37:44,236 [execute] INFO git fetch -v origin 00:37:44 2023-05-31 00:37:44,237 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:37:44 2023-05-31 00:37:44,708 [run_push] DEBUG no remote changes detected 00:37:44 2023-05-31 00:37:44,708 [execute] INFO git push origin semver 00:37:44 2023-05-31 00:37:44,708 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:37:45 2023-05-31 00:37:45,435 [run_push] DEBUG push all version tags 00:37:45 2023-05-31 00:37:45,435 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:37:45 2023-05-31 00:37:45,436 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:37:46 2023-05-31 00:37:46,170 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:37:46 3.0.0-dev.51 [Pipeline] } 00:37:46 $ docker exec --env ******** --env ******** 67074e9fe119f63a7377848ed126b2d053087027e20b655640c60ded7013eacd ssh-agent -k 00:37:46 unset SSH_AUTH_SOCK; 00:37:46 unset SSH_AGENT_PID; 00:37:46 echo Agent pid 38 killed; 00:37:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:37:46 + git semver [Pipeline] } 00:37:47 $ docker stop --time=1 67074e9fe119f63a7377848ed126b2d053087027e20b655640c60ded7013eacd 00:37:48 $ docker rm -f --volumes 67074e9fe119f63a7377848ed126b2d053087027e20b655640c60ded7013eacd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:37:48 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:37:48 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:37:48 total 16 00:37:48 drwxr-xr-x 3 root root 4096 May 31 00:25 . 00:37:48 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:37 .. 00:37:48 drwxr-xr-x 2 root root 4096 May 31 00:25 cost 00:37:48 -rw-r--r-- 1 root root 89 May 31 00:25 cost.csv 00:37:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:37:48 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:37:48 total 16 00:37:48 drwxr-xr-x 3 jenkins jenkins 4096 May 31 00:25 . 00:37:48 drwxrwxr-x 11 jenkins jenkins 4096 May 31 00:37 .. 00:37:48 drwxr-xr-x 2 jenkins jenkins 4096 May 31 00:25 cost 00:37:48 -rw-r--r-- 1 jenkins jenkins 89 May 31 00:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:37:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:37:50 ---> package-listing.sh 00:37:50 ++ facter osfamily 00:37:50 ++ tr '[:upper:]' '[:lower:]' 00:37:50 + OS_FAMILY=debian 00:37:50 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:37:50 + START_PACKAGES=/tmp/packages_start.txt 00:37:50 + END_PACKAGES=/tmp/packages_end.txt 00:37:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:37:50 + PACKAGES=/tmp/packages_start.txt 00:37:50 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:37:50 + PACKAGES=/tmp/packages_end.txt 00:37:50 + case "${OS_FAMILY}" in 00:37:50 + dpkg -l 00:37:50 + grep '^ii' 00:37:50 + '[' -f /tmp/packages_start.txt ']' 00:37:50 + '[' -f /tmp/packages_end.txt ']' 00:37:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:37:50 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:37:50 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:37: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 00:37: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 00:37:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:51 prd-ubuntu20.04-docker-8c-8g-17407 does not seem to be running inside a container 00:37: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:37:51 $ docker top 07b0bcab8e72a4307cf3de4ad77cd92f4a74f8ad69dd4fbde37b8f75913a1f3c -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:37:52 + mkdir -p /var/log/sysstat [Pipeline] sh 00:37:52 + ls /var/log/sa-host 00:37:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:52 provisioning config files... 00:37:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4211587896483356776tmp [Pipeline] { [Pipeline] echo 00:37:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:37:53 ---> create-netrc.sh [Pipeline] } 00:37:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:37:53 ---> python-tools-install.sh [Pipeline] echo 00:37:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:37:53 ---> sudo-logs.sh 00:37:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:37:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:37:54 ---> job-cost.sh 00:37:54 lf-activate-venv: SKIPPING 00:37:54 DEBUG: total: 0.2199999988079071 00:37:54 INFO: Retrieving Stack Cost... 00:37:54 INFO: Retrieving Pricing Info for: v3-standard-8 00:37:54 INFO: Archiving Costs [Pipeline] echo 00:37:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:37:55 ---> logs-deploy.sh 00:37:55 lf-activate-venv: SKIPPING 00:37:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/122 00:37:55 INFO: archiving workspace using pattern(s): 00:37:56 Archives upload complete. 00:37:56 INFO: archiving logs to Nexus