Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b62b64e9680a6df61e12b3c0a704648afc4bcdc 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-ssh1293871109942086373.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8436140946083942051.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11830160690686597701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh723359479293983666.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-ssh9232406880117107867.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7754’ Running on prd-ubuntu20.04-docker-8c-8g-7756 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 8b62b64e9680a6df61e12b3c0a704648afc4bcdc (main) Commit message: "Merge pull request #161 from lenny-intel/common-config" > 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 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 > git rev-list --no-walk d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:54:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:54:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:54:22 ========================================================= 16:54:22 EdgeX Global Pipelines Version Info 16:54:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:54:22 ------------------- 16:54:22 stable info: 16:54:22 ------------------- 16:54:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:54:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:54:22 Message: update stable to v1.0.244 16:54:23 ------------------- 16:54:23 experimental info: 16:54:23 ------------------- 16:54:23 Commited By: **** collab-it+edgex@linuxfoundation.org 16:54:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:54:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b62b64 [Pipeline] echo 16:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:24 provisioning config files... 16:54:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5224364478078140244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:24 ---> docker-login.sh 16:54:24 nexus3.edgexfoundry.org:10001 16:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:25 Configure a credential helper to remove this warning. See 16:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:25 16:54:25 Login Succeeded 16:54:25 nexus3.edgexfoundry.org:10002 16:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:25 Configure a credential helper to remove this warning. See 16:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:25 16:54:25 Login Succeeded 16:54:25 nexus3.edgexfoundry.org:10003 16:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:25 Configure a credential helper to remove this warning. See 16:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:25 16:54:25 Login Succeeded 16:54:25 nexus3.edgexfoundry.org:10004 16:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:26 Configure a credential helper to remove this warning. See 16:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:26 16:54:26 Login Succeeded 16:54:26 docker.io 16:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:26 Configure a credential helper to remove this warning. See 16:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:26 16:54:26 Login Succeeded 16:54:26 ---> docker-login.sh ends [Pipeline] } 16:54:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:54:26 + git rev-list -1 --merges 8b62b64e9680a6df61e12b3c0a704648afc4bcdc~1..8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] echo 16:54:26 -----------> git rev-list -1 --merges 8b62b64e9680a6df61e12b3c0a704648afc4bcdc~1..8b62b64e9680a6df61e12b3c0a704648afc4bcdc 8b62b64e9680a6df61e12b3c0a704648afc4bcdc 16:54:26 8b62b64e9680a6df61e12b3c0a704648afc4bcdc [false] [Pipeline] sh 16:54:27 + git log --format=format:%s -1 8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] echo 16:54:27 ========================================================= 16:54:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:54:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:27 + git log --format=format:%s -1 8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] echo 16:54:27 [semverPrep] GIT_COMMIT: 8b62b64e9680a6df61e12b3c0a704648afc4bcdc, Commit Message: Merge pull request #161 from lenny-intel/common-config [Pipeline] echo 16:54:27 [semverPrep] This is not a build commit. [Pipeline] sh 16:54:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:27 + grep -v github /etc/ssh/ssh_known_hosts 16:54:27 + [ -e /tmp/ssh_known_hosts ] 16:54:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:54:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:54:27 + sudo tee -a /etc/ssh/ssh_known_hosts 16:54:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:28 16:54:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:28 0.1.4: Pulling from edgex-devops/py-git-semver 16:54:28 b85a868b505f: Pulling fs layer 16:54:28 e2be974225ed: Pulling fs layer 16:54:28 339a4e72a1f5: Pulling fs layer 16:54:28 988bab9f4d93: Pulling fs layer 16:54:28 1469e6f7b9e6: Pulling fs layer 16:54:28 eaf3925da568: Pulling fs layer 16:54:28 bab4dde63d76: Pulling fs layer 16:54:28 bde34c3a00c8: Pulling fs layer 16:54:28 b352a97aabf1: Pulling fs layer 16:54:28 4872d77fe225: Pulling fs layer 16:54:28 5851b861e8e6: Pulling fs layer 16:54:28 eaf3925da568: Waiting 16:54:28 bab4dde63d76: Waiting 16:54:28 1469e6f7b9e6: Waiting 16:54:28 bde34c3a00c8: Waiting 16:54:28 b352a97aabf1: Waiting 16:54:28 4872d77fe225: Waiting 16:54:28 5851b861e8e6: Waiting 16:54:28 988bab9f4d93: Waiting 16:54:28 e2be974225ed: Download complete 16:54:28 988bab9f4d93: Verifying Checksum 16:54:28 988bab9f4d93: Download complete 16:54:28 1469e6f7b9e6: Verifying Checksum 16:54:28 1469e6f7b9e6: Download complete 16:54:28 339a4e72a1f5: Verifying Checksum 16:54:28 339a4e72a1f5: Download complete 16:54:28 eaf3925da568: Download complete 16:54:28 bde34c3a00c8: Download complete 16:54:28 b352a97aabf1: Download complete 16:54:28 4872d77fe225: Download complete 16:54:28 5851b861e8e6: Download complete 16:54:28 b85a868b505f: Download complete 16:54:29 bab4dde63d76: Verifying Checksum 16:54:29 bab4dde63d76: Download complete 16:54:30 b85a868b505f: Pull complete 16:54:30 e2be974225ed: Pull complete 16:54:30 339a4e72a1f5: Pull complete 16:54:31 988bab9f4d93: Pull complete 16:54:31 1469e6f7b9e6: Pull complete 16:54:31 eaf3925da568: Pull complete 16:54:33 bab4dde63d76: Pull complete 16:54:33 bde34c3a00c8: Pull complete 16:54:33 b352a97aabf1: Pull complete 16:54:33 4872d77fe225: Pull complete 16:54:33 5851b861e8e6: Pull complete 16:54:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:54:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:33 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 16:54:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:54:35 $ docker top ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a -eo pid,comm 16:54:35 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). 16:54:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:35 [ssh-agent] Looking for ssh-agent implementation... 16:54:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:35 $ docker exec ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a ssh-agent 16:54:35 SSH_AUTH_SOCK=/tmp/ssh-xYkbdR0LxabO/agent.32 16:54:35 SSH_AGENT_PID=38 16:54:35 Running ssh-add (command line suppressed) 16:54:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10443352495952794110.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10443352495952794110.key) 16:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:35 + git tag --points-at HEAD [Pipeline] } 16:54:35 $ docker exec --env ******** --env ******** ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a ssh-agent -k 16:54:36 unset SSH_AUTH_SOCK; 16:54:36 unset SSH_AGENT_PID; 16:54:36 echo Agent pid 38 killed; 16:54:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:54:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:36 [ssh-agent] Looking for ssh-agent implementation... 16:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:36 $ docker exec ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a ssh-agent 16:54:36 SSH_AUTH_SOCK=/tmp/ssh-o9dDxz5JkIOQ/agent.70 16:54:36 SSH_AGENT_PID=76 16:54:36 Running ssh-add (command line suppressed) 16:54:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_627394146791115133.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_627394146791115133.key) 16:54:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:36 + git semver init 16:54:36 2023-02-28 16:54:36,918 [run_init] DEBUG init version:0.0.0 force:False 16:54:36 2023-02-28 16:54:36,919 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 16:54:36 2023-02-28 16:54:36,919 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 16:54:36 2023-02-28 16:54:36,919 [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) 16:54:37 2023-02-28 16:54:37,747 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 16:54:37 2023-02-28 16:54:37,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 16:54:37 2023-02-28 16:54:37,748 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:54:37 2023-02-28 16:54:37,748 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:54:37 3.0.0-dev.8 [Pipeline] } 16:54:37 $ docker exec --env ******** --env ******** ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a ssh-agent -k 16:54:38 unset SSH_AUTH_SOCK; 16:54:38 unset SSH_AGENT_PID; 16:54:38 echo Agent pid 76 killed; 16:54:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:38 + git semver [Pipeline] } 16:54:38 $ docker stop --time=1 ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a 16:54:39 $ docker rm -f --volumes ed858224e2c1c2b7f7fbb4b4c6410c1cc929911f60156f5fecb5cab8c2102f0a [Pipeline] // withDockerContainer [Pipeline] sh 16:54:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:54:40 Stashed 1 file(s) [Pipeline] echo 16:54:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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 16:54:40 provisioning config files... 16:54:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18270718499884375175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:41 ---> docker-login.sh 16:54:41 nexus3.edgexfoundry.org:10001 16:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:41 Configure a credential helper to remove this warning. See 16:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:41 16:54:41 Login Succeeded 16:54:41 nexus3.edgexfoundry.org:10002 16:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:41 Configure a credential helper to remove this warning. See 16:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:41 16:54:41 Login Succeeded 16:54:41 nexus3.edgexfoundry.org:10003 16:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:41 Configure a credential helper to remove this warning. See 16:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:41 16:54:41 Login Succeeded 16:54:41 nexus3.edgexfoundry.org:10004 16:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:41 Configure a credential helper to remove this warning. See 16:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:41 16:54:41 Login Succeeded 16:54:41 docker.io 16:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:41 Configure a credential helper to remove this warning. See 16:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:41 16:54:41 Login Succeeded 16:54:41 ---> docker-login.sh ends [Pipeline] } 16:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:41 ========================================================= 16:54:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:54:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:54:41 Sending build context to Docker daemon 1.734MB 16:54:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:54:41 Step 2/13 : FROM ${BASE} AS builder 16:54:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:54:41 213ec9aee27d: Pulling fs layer 16:54:41 4583459ba037: Pulling fs layer 16:54:41 93c1e223e6f2: Pulling fs layer 16:54:41 53926ce57604: Pulling fs layer 16:54:41 21b2b0c7a3f4: Pulling fs layer 16:54:41 22ff95d597cd: Pulling fs layer 16:54:41 12d6caf4c0d1: Pulling fs layer 16:54:41 96b7cbca73a9: Pulling fs layer 16:54:41 a7acece74701: Pulling fs layer 16:54:41 12d6caf4c0d1: Waiting 16:54:41 21b2b0c7a3f4: Waiting 16:54:41 96b7cbca73a9: Waiting 16:54:41 53926ce57604: Waiting 16:54:41 93c1e223e6f2: Verifying Checksum 16:54:41 93c1e223e6f2: Download complete 16:54:41 4583459ba037: Download complete 16:54:41 21b2b0c7a3f4: Verifying Checksum 16:54:41 21b2b0c7a3f4: Download complete 16:54:41 22ff95d597cd: Download complete 16:54:42 213ec9aee27d: Download complete 16:54:42 12d6caf4c0d1: Download complete 16:54:42 213ec9aee27d: Pull complete 16:54:42 4583459ba037: Pull complete 16:54:42 93c1e223e6f2: Pull complete 16:54:42 a7acece74701: Verifying Checksum 16:54:42 96b7cbca73a9: Verifying Checksum 16:54:42 96b7cbca73a9: Download complete 16:54:42 53926ce57604: Verifying Checksum 16:54:42 53926ce57604: Download complete 16:54:47 53926ce57604: Pull complete 16:54:47 21b2b0c7a3f4: Pull complete 16:54:47 22ff95d597cd: Pull complete 16:54:47 12d6caf4c0d1: Pull complete 16:54:49 96b7cbca73a9: Pull complete 16:54:50 a7acece74701: Pull complete 16:54:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:54:50 ---> db6d94c90886 16:54:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:54:51 ---> Running in a08393d3103d 16:54:51 Removing intermediate container a08393d3103d 16:54:51 ---> 66d5b6238a3f 16:54:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:52 ---> Running in 5a276ecae244 16:54:52 Removing intermediate container 5a276ecae244 16:54:52 ---> af0f8bb1c4f8 16:54:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:54:52 ---> Running in 9550b0ac79dc 16:54:52 Removing intermediate container 9550b0ac79dc 16:54:52 ---> 178b9b257940 16:54:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:54:52 ---> Running in 701129b67002 16:54:52 Removing intermediate container 701129b67002 16:54:52 ---> faefb52ce3c3 16:54:52 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:52 ---> Running in 90236cf638f9 16:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:54:53 (1/80) Installing mesa (21.3.9-r0) 16:54:53 (2/80) Installing libxau (1.0.9-r0) 16:54:53 (3/80) Installing libxdmcp (1.1.3-r0) 16:54:53 (4/80) Installing libxcb (1.15-r0) 16:54:53 (5/80) Installing libx11 (1.8-r0) 16:54:53 (6/80) Installing libxext (1.3.4-r0) 16:54:53 (7/80) Installing libxfixes (6.0.0-r0) 16:54:53 (8/80) Installing libxxf86vm (1.1.4-r2) 16:54:53 (9/80) Installing libpciaccess (0.16-r0) 16:54:53 (10/80) Installing libdrm (2.4.110-r0) 16:54:53 (11/80) Installing mesa-glapi (21.3.9-r0) 16:54:53 (12/80) Installing libxshmfence (1.3-r1) 16:54:53 (13/80) Installing mesa-gl (21.3.9-r0) 16:54:53 (14/80) Installing icu-data-full (71.1-r2) 16:54:53 (15/80) Installing libice (1.0.10-r0) 16:54:53 (16/80) Installing libuuid (2.38-r1) 16:54:53 (17/80) Installing libsm (1.2.3-r0) 16:54:53 (18/80) Installing libxt (1.2.1-r0) 16:54:53 (19/80) Installing libxmu (1.1.3-r0) 16:54:53 (20/80) Installing xset (1.2.4-r0) 16:54:53 (21/80) Installing xprop (1.2.5-r0) 16:54:53 (22/80) Installing xdg-utils (1.1.3-r3) 16:54:53 (23/80) Installing dbus-libs (1.14.4-r0) 16:54:53 (24/80) Installing libffi (3.4.2-r1) 16:54:53 (25/80) Installing libintl (0.21-r2) 16:54:53 (26/80) Installing libblkid (2.38-r1) 16:54:53 (27/80) Installing libmount (2.38-r1) 16:54:53 (28/80) Installing pcre (8.45-r2) 16:54:53 (29/80) Installing glib (2.72.1-r0) 16:54:53 (30/80) Installing icu-libs (71.1-r2) 16:54:53 (31/80) Installing libpcre2-16 (10.40-r0) 16:54:53 (32/80) Installing zstd-libs (1.5.2-r1) 16:54:53 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:54:53 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:54:53 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:54:53 (36/80) Installing mesa-gbm (21.3.9-r0) 16:54:53 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:54:53 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:54:53 (39/80) Installing libxcomposite (0.4.5-r0) 16:54:53 (40/80) Installing libbz2 (1.0.8-r1) 16:54:53 (41/80) Installing libpng (1.6.37-r1) 16:54:53 (42/80) Installing freetype (2.12.1-r0) 16:54:53 (43/80) Installing fontconfig (2.14.0-r0) 16:54:53 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:54:53 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:54:53 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:54:53 (47/80) Installing xz-libs (5.2.5-r1) 16:54:53 (48/80) Installing libxml2 (2.9.14-r2) 16:54:53 (49/80) Installing libxkbcommon (1.4.1-r0) 16:54:53 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:54:53 (51/80) Installing mesa-egl (21.3.9-r0) 16:54:53 (52/80) Installing avahi-libs (0.8-r6) 16:54:53 (53/80) Installing nettle (3.7.3-r0) 16:54:53 (54/80) Installing p11-kit (0.24.1-r0) 16:54:53 (55/80) Installing libtasn1 (4.18.0-r1) 16:54:53 (56/80) Installing libunistring (1.0-r0) 16:54:53 (57/80) Installing gnutls (3.7.7-r1) 16:54:53 (58/80) Installing cups-libs (2.4.2-r0) 16:54:53 (59/80) Installing graphite2 (1.3.14-r1) 16:54:53 (60/80) Installing harfbuzz (4.3.0-r0) 16:54:53 (61/80) Installing libevdev (1.12.1-r0) 16:54:53 (62/80) Installing mtdev (1.1.6-r0) 16:54:53 (63/80) Installing eudev-libs (3.2.11-r0) 16:54:53 (64/80) Installing libinput-libs (1.20.1-r0) 16:54:54 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:54:54 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:54:54 (67/80) Installing xcb-util (0.4.0-r3) 16:54:54 (68/80) Installing xcb-util-image (0.4.0-r1) 16:54:54 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:54:54 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:54:54 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:54:54 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:54:54 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:54:54 (74/80) Installing v4l-utils (1.22.1-r1) 16:54:54 (75/80) Installing udev-init-scripts (35-r0) 16:54:54 Executing udev-init-scripts-35-r0.post-install 16:54:54 (76/80) Installing kmod-libs (29-r2) 16:54:54 (77/80) Installing eudev (3.2.11-r0) 16:54:54 (78/80) Installing eudev-dev (3.2.11-r0) 16:54:54 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:54:54 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:54:54 Executing busybox-1.35.0-r17.trigger 16:54:54 Executing eudev-3.2.11-r0.trigger 16:54:54 OK: 331 MiB in 131 packages 16:54:55 Still waiting to schedule task 16:54:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7755’ is offline 16:54:56 Removing intermediate container 90236cf638f9 16:54:56 ---> 0c15b6bbf2e5 16:54:56 Step 8/13 : WORKDIR /device-usb-camera 16:54:56 ---> Running in 2506df89dcc3 16:54:56 Removing intermediate container 2506df89dcc3 16:54:56 ---> 6fbf7ca1b7ee 16:54:56 Step 9/13 : COPY go.mod vendor* ./ 16:54:56 ---> 602ba0df7dc3 16:54:56 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:56 ---> Running in 9542c13ef169 16:55:23 Removing intermediate container 9542c13ef169 16:55:23 ---> 3ee1a00cd31f 16:55:23 Step 11/13 : COPY . . 16:55:23 ---> 75d844368f5a 16:55:23 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:55:23 ---> Running in 3d5ee750196a 16:55:23  % Total % Received % Xferd Average Speed Time Time Time Current 16:55:23 Dload Upload Total Spent Left Speed 16:55:23  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10867 0 --:--:-- --:--:-- --:--:-- 10948 16:55:23 Removing intermediate container 3d5ee750196a 16:55:23 ---> 92da313e5d06 16:55:23 Step 13/13 : RUN ${MAKE} 16:55:23 ---> Running in 718cffb29047 16:55:23 noop 16:55:23 Removing intermediate container 718cffb29047 16:55:23 ---> 0ebf86100f1c 16:55:23 Successfully built 0ebf86100f1c 16:55:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:23 + docker inspect -f . ci-base-image-x86_64 16:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:23 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 16:55:23 $ 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 16:55:23 $ docker top c804e5024554dc58b7b76e5b1a962c217d8d7b218af79574c89b16120c19c90b -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:24 + go version 16:55:24 go version go1.18.7 linux/amd64 [Pipeline] } 16:55:24 $ docker stop --time=1 c804e5024554dc58b7b76e5b1a962c217d8d7b218af79574c89b16120c19c90b 16:55:25 $ docker rm -f --volumes c804e5024554dc58b7b76e5b1a962c217d8d7b218af79574c89b16120c19c90b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:26 + docker inspect -f . ci-base-image-x86_64 16:55:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:26 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 16:55:26 $ 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 16:55:26 $ docker top c0eb6183aab1e171ba58200956348f5c304c2f2da62b5095436bdb2d5deb7817 -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:26 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 16:55:27 + make test 16:55:27 go test ./... -coverprofile=coverage.out ./... 16:55:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:55:37 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:55:38 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 16:55:46 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:55:46 go vet ./... 16:55:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:55:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:55:49 ./bin/test-attribution-txt.sh 16:55:49 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 16:55:49 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 16:55:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:55:49 $ docker stop --time=1 c0eb6183aab1e171ba58200956348f5c304c2f2da62b5095436bdb2d5deb7817 16:55:50 $ docker rm -f --volumes c0eb6183aab1e171ba58200956348f5c304c2f2da62b5095436bdb2d5deb7817 [Pipeline] // withDockerContainer [Pipeline] sh 16:55:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:55:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:55:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:52 + ls -al . 16:55:52 total 196 16:55:52 drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 16:55 . 16:55:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:54 .. 16:55:52 drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 16:55 .git 16:55:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:54 .github 16:55:52 -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 16:54 .gitignore 16:55:52 -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 16:54 .golangci.yml 16:55:52 -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 16:54 .hadolint.yml 16:55:52 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 16:54 .semver 16:55:52 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 28 16:54 Attribution.txt 16:55:52 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 16:54 CHANGELOG.md 16:55:52 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 16:54 Dockerfile 16:55:52 -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 16:54 GOVERNANCE.md 16:55:52 -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 16:54 Jenkinsfile 16:55:52 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 16:54 LICENSE 16:55:52 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 16:54 Makefile 16:55:52 -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 16:54 OWNERS.md 16:55:52 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 16:54 README.md 16:55:52 -rw-rw-r-- 1 jenkins jenkins 11 Feb 28 16:54 VERSION 16:55:52 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 16:54 bin 16:55:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:54 cmd 16:55:52 -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 16:55 coverage.out 16:55:52 -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 16:54 docker-entrypoint.sh 16:55:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:54 docs 16:55:52 -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 16:54 go.mod 16:55:52 -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 16:54 go.sum 16:55:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:54 internal 16:55:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:54 snap 16:55:52 -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 16:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:52 + 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=8b62b64e9680a6df61e12b3c0a704648afc4bcdc --label arch=amd64 --label version=3.0.0-dev.8 . 16:55:52 Sending build context to Docker daemon 1.765MB 16:55:52 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:55:52 Step 2/35 : FROM ${BASE} AS builder 16:55:52 ---> 0ebf86100f1c 16:55:52 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:55:52 ---> Running in 9ed50e0f5faf 16:55:52 Removing intermediate container 9ed50e0f5faf 16:55:52 ---> 972750c46551 16:55:52 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:55:52 ---> Running in 3c39766b6438 16:55:52 Removing intermediate container 3c39766b6438 16:55:52 ---> 88499a30caf0 16:55:52 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:55:52 ---> Running in 94db24f5291e 16:55:52 Removing intermediate container 94db24f5291e 16:55:52 ---> cfc6009adbd9 16:55:52 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:55:52 ---> Running in 0daf4fbbad15 16:55:53 Removing intermediate container 0daf4fbbad15 16:55:53 ---> 49e24a4a2fef 16:55:53 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:53 ---> Running in dc6b670b99ee 16:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:55:53 OK: 331 MiB in 131 packages 16:55:53 Removing intermediate container dc6b670b99ee 16:55:53 ---> 97c784c19745 16:55:53 Step 8/35 : WORKDIR /device-usb-camera 16:55:53 ---> Running in 9e4ec7d0ec9b 16:55:54 Removing intermediate container 9e4ec7d0ec9b 16:55:54 ---> 9ea345e8cedf 16:55:54 Step 9/35 : COPY go.mod vendor* ./ 16:55:54 ---> 3525a8f383f9 16:55:54 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:54 ---> Running in 1f4310c4594a 16:55:54 Removing intermediate container 1f4310c4594a 16:55:54 ---> 709f772c4f05 16:55:54 Step 11/35 : COPY . . 16:55:55 ---> 26016e8046a0 16:55:55 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:55:55 ---> Running in 3652672751e4 16:55:55  % Total % Received % Xferd Average Speed Time Time Time Current 16:55:55 Dload Upload Total Spent Left Speed 16:55:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45593 0 --:--:-- --:--:-- --:--:-- 46173 16:55:55 Removing intermediate container 3652672751e4 16:55:55 ---> 366992f2da72 16:55:55 Step 13/35 : RUN ${MAKE} 16:55:56 ---> Running in 5e62dfaa61b8 16:55:56 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 16:56:18 Removing intermediate container 5e62dfaa61b8 16:56:18 ---> d771e36eee2b 16:56:18 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:56:18 v0.18.4: Pulling from aler9/rtsp-simple-server 16:56:18 af6660deedbd: Pulling fs layer 16:56:18 97cd0a44c592: Pulling fs layer 16:56:18 af6660deedbd: Verifying Checksum 16:56:18 af6660deedbd: Download complete 16:56:18 af6660deedbd: Pull complete 16:56:18 97cd0a44c592: Pull complete 16:56:18 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:56:18 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:56:18 ---> fea57e182299 16:56:18 Step 15/35 : FROM alpine:3.16 16:56:18 3.16: Pulling from library/alpine 16:56:18 ef5531b6e74e: Pulling fs layer 16:56:18 ef5531b6e74e: Verifying Checksum 16:56:18 ef5531b6e74e: Download complete 16:56:18 ef5531b6e74e: Pull complete 16:56:18 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:56:18 Status: Downloaded newer image for alpine:3.16 16:56:18 ---> dfd21b5a31f5 16:56:18 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:56:18 ---> Running in a3622e5fcbe1 16:56:18 Removing intermediate container a3622e5fcbe1 16:56:18 ---> a99ca542acf6 16:56:18 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 16:56:18 ---> Running in 5a7b08c560be 16:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:56:18 (1/80) Installing dumb-init (1.2.5-r1) 16:56:18 (2/80) Installing sdl2 (2.0.22-r0) 16:56:18 (3/80) Installing libxau (1.0.9-r0) 16:56:18 (4/80) Installing libxdmcp (1.1.3-r0) 16:56:18 (5/80) Installing libxcb (1.15-r0) 16:56:18 (6/80) Installing libx11 (1.8-r0) 16:56:18 (7/80) Installing aom-libs (3.3.0-r0) 16:56:18 (8/80) Installing alsa-lib (1.2.7.2-r0) 16:56:18 (9/80) Installing expat (2.5.0-r0) 16:56:18 (10/80) Installing brotli-libs (1.0.9-r6) 16:56:18 (11/80) Installing libbz2 (1.0.8-r1) 16:56:18 (12/80) Installing libpng (1.6.37-r1) 16:56:18 (13/80) Installing freetype (2.12.1-r0) 16:56:18 (14/80) Installing fontconfig (2.14.0-r0) 16:56:18 (15/80) Installing fribidi (1.0.12-r0) 16:56:18 (16/80) Installing libffi (3.4.2-r1) 16:56:18 (17/80) Installing libintl (0.21-r2) 16:56:18 (18/80) Installing libblkid (2.38-r1) 16:56:18 (19/80) Installing libmount (2.38-r1) 16:56:18 (20/80) Installing pcre (8.45-r2) 16:56:18 (21/80) Installing glib (2.72.1-r0) 16:56:18 (22/80) Installing graphite2 (1.3.14-r1) 16:56:18 (23/80) Installing harfbuzz (4.3.0-r0) 16:56:18 (24/80) Installing libass (0.16.0-r0) 16:56:18 (25/80) Installing libdav1d (1.0.0-r0) 16:56:18 (26/80) Installing libpciaccess (0.16-r0) 16:56:18 (27/80) Installing libdrm (2.4.110-r0) 16:56:18 (28/80) Installing gmp (6.2.1-r2) 16:56:18 (29/80) Installing nettle (3.7.3-r0) 16:56:18 (30/80) Installing p11-kit (0.24.1-r0) 16:56:18 (31/80) Installing libtasn1 (4.18.0-r1) 16:56:18 (32/80) Installing libunistring (1.0-r0) 16:56:18 (33/80) Installing gnutls (3.7.7-r1) 16:56:18 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:56:18 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 16:56:18 (36/80) Installing lame (3.100-r0) 16:56:18 (37/80) Installing opus (1.3.1-r1) 16:56:18 (38/80) Installing libasyncns (0.8-r1) 16:56:18 (39/80) Installing dbus-libs (1.14.4-r0) 16:56:18 (40/80) Installing libltdl (2.4.7-r0) 16:56:18 (41/80) Installing orc (0.4.32-r0) 16:56:18 (42/80) Installing libgcc (11.2.1_git20220219-r2) 16:56:18 (43/80) Installing libogg (1.3.5-r1) 16:56:18 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 16:56:18 (45/80) Installing flac (1.3.4-r0) 16:56:18 (46/80) Installing libvorbis (1.3.7-r0) 16:56:18 (47/80) Installing libsndfile (1.1.0-r0) 16:56:18 (48/80) Installing libgomp (11.2.1_git20220219-r2) 16:56:18 (49/80) Installing soxr (0.1.3-r2) 16:56:18 (50/80) Installing speexdsp (1.2.0-r0) 16:56:18 (51/80) Installing tdb-libs (1.4.6-r0) 16:56:18 (52/80) Installing libpulse (15.0-r2) 16:56:18 (53/80) Installing cjson (1.7.15-r3) 16:56:19 (54/80) Installing mbedtls (2.28.2-r0) 16:56:19 (55/80) Installing librist (0.2.6-r1) 16:56:19 (56/80) Installing libsrt (1.4.4-r0) 16:56:19 (57/80) Installing libssh (0.9.6-r1) 16:56:19 (58/80) Installing libtheora (1.1.1-r16) 16:56:19 (59/80) Installing libjpeg-turbo (2.1.3-r1) 16:56:19 (60/80) Installing v4l-utils-libs (1.22.1-r1) 16:56:19 (61/80) Installing libxext (1.3.4-r0) 16:56:19 (62/80) Installing libxfixes (6.0.0-r0) 16:56:19 (63/80) Installing wayland-libs-client (1.20.0-r0) 16:56:19 (64/80) Installing libva (2.14.0-r0) 16:56:19 (65/80) Installing libvdpau (1.5-r0) 16:56:19 (66/80) Installing vidstab (1.1.0-r1) 16:56:19 (67/80) Installing libvpx (1.11.0-r1) 16:56:19 (68/80) Installing libwebp (1.2.3-r0) 16:56:19 (69/80) Installing x264-libs (0.163_git20210613-r0) 16:56:19 (70/80) Installing numactl (2.0.14-r0) 16:56:19 (71/80) Installing x265-libs (3.5-r3) 16:56:19 (72/80) Installing xvidcore (1.3.7-r1) 16:56:19 (73/80) Installing ffmpeg-libs (5.0.1-r1) 16:56:19 (74/80) Installing ffmpeg (5.0.1-r1) 16:56:19 (75/80) Installing udev-init-scripts (35-r0) 16:56:19 Executing udev-init-scripts-35-r0.post-install 16:56:19 (76/80) Installing eudev-libs (3.2.11-r0) 16:56:19 (77/80) Installing xz-libs (5.2.5-r1) 16:56:19 (78/80) Installing zstd-libs (1.5.2-r1) 16:56:19 (79/80) Installing kmod-libs (29-r2) 16:56:19 (80/80) Installing eudev (3.2.11-r0) 16:56:19 Executing busybox-1.35.0-r17.trigger 16:56:19 Executing eudev-3.2.11-r0.trigger 16:56:19 OK: 100 MiB in 94 packages 16:56:21 Removing intermediate container 5a7b08c560be 16:56:21 ---> 10e48d842376 16:56:21 Step 18/35 : WORKDIR / 16:56:21 ---> Running in 6dce4f604ea7 16:56:21 Removing intermediate container 6dce4f604ea7 16:56:21 ---> 367ecde377a7 16:56:21 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:56:22 ---> fb1a98b7bd8e 16:56:22 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:56:22 ---> 86f7dac806e1 16:56:22 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:56:22 ---> 6743089bfc87 16:56:22 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:56:22 ---> a8c02be4d6d9 16:56:22 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:56:22 ---> ec0f759d2267 16:56:22 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:56:22 ---> 4f2341e567fc 16:56:22 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:56:23 ---> fa3e05ddd28e 16:56:23 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:56:23 ---> Running in bff0d882ac51 16:56:23 Removing intermediate container bff0d882ac51 16:56:23 ---> a1a5967960ca 16:56:23 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:56:23 ---> Running in 7590c0d936f2 16:56:24 Removing intermediate container 7590c0d936f2 16:56:24 ---> 5856f6c41139 16:56:24 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:56:24 ---> Running in 5efb1697c13e 16:56:24 Removing intermediate container 5efb1697c13e 16:56:24 ---> da30fbd06202 16:56:24 Step 29/35 : EXPOSE 59983 16:56:24 ---> Running in bcc14c6eaa19 16:56:24 Removing intermediate container bcc14c6eaa19 16:56:24 ---> 008886a342e8 16:56:24 Step 30/35 : EXPOSE 8554 16:56:24 ---> Running in b287413a0284 16:56:24 Removing intermediate container b287413a0284 16:56:24 ---> 591c7ccd705a 16:56:24 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:56:24 ---> Running in cf0f0eb64f69 16:56:25 Removing intermediate container cf0f0eb64f69 16:56:25 ---> 3accba4371df 16:56:25 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 16:56:25 ---> Running in e76fd9643cce 16:56:25 Removing intermediate container e76fd9643cce 16:56:25 ---> 8179d42fcf2c 16:56:25 Step 33/35 : LABEL arch=amd64 16:56:25 ---> Running in 618f15bd5c07 16:56:25 Removing intermediate container 618f15bd5c07 16:56:25 ---> 7b274ca356d6 16:56:25 Step 34/35 : LABEL git_sha=8b62b64e9680a6df61e12b3c0a704648afc4bcdc 16:56:25 ---> Running in 271feece1512 16:56:25 Removing intermediate container 271feece1512 16:56:25 ---> 48e0bc4fd150 16:56:25 Step 35/35 : LABEL version=3.0.0-dev.8 16:56:25 ---> Running in d39b208846fb 16:56:25 Removing intermediate container d39b208846fb 16:56:25 ---> 21b19cbe0fc8 16:56:25 [Warning] One or more build-args [ARCH] were not consumed 16:56:25 Successfully built 21b19cbe0fc8 16:56:25 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 16:56:25 provisioning config files... 16:56:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7595035288267853944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:26 ---> docker-login.sh 16:56:26 nexus3.edgexfoundry.org:10001 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:26 Configure a credential helper to remove this warning. See 16:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:26 16:56:26 Login Succeeded 16:56:26 nexus3.edgexfoundry.org:10002 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:26 Configure a credential helper to remove this warning. See 16:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:26 16:56:26 Login Succeeded 16:56:26 nexus3.edgexfoundry.org:10003 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:26 Configure a credential helper to remove this warning. See 16:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:26 16:56:26 Login Succeeded 16:56:26 nexus3.edgexfoundry.org:10004 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:26 Configure a credential helper to remove this warning. See 16:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:26 16:56:26 Login Succeeded 16:56:26 docker.io 16:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:56:26 Configure a credential helper to remove this warning. See 16:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:56:26 16:56:26 Login Succeeded 16:56:26 ---> docker-login.sh ends [Pipeline] } 16:56:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:56:26 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:56:26 8b62b64e9680a6df61e12b3c0a704648afc4bcdc 16:56:26 latest 16:56:26 3.0.0-dev.8 16:56:26 8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 16:56:26 main 16:56:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:27 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc 16:56:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:56:27 ba45f0972750: Preparing 16:56:27 d7b3a3e1cbcf: Preparing 16:56:27 d51b3c5fa586: Preparing 16:56:27 550e596c6d0e: Preparing 16:56:27 1207169bf42c: Preparing 16:56:27 dd76828bc46a: Preparing 16:56:27 fe14dcd96a78: Preparing 16:56:27 d5ef91fbe4c6: Preparing 16:56:27 6694693fd04e: Preparing 16:56:27 dc3eb08f209d: Preparing 16:56:27 8023acc7a358: Preparing 16:56:27 aa5968d388b8: Preparing 16:56:27 fe14dcd96a78: Waiting 16:56:27 d5ef91fbe4c6: Waiting 16:56:27 6694693fd04e: Waiting 16:56:27 aa5968d388b8: Waiting 16:56:27 8023acc7a358: Waiting 16:56:27 dc3eb08f209d: Waiting 16:56:27 dd76828bc46a: Waiting 16:56:27 1207169bf42c: Pushed 16:56:27 ba45f0972750: Pushed 16:56:27 d51b3c5fa586: Pushed 16:56:27 d7b3a3e1cbcf: Pushed 16:56:27 dd76828bc46a: Pushed 16:56:27 6694693fd04e: Pushed 16:56:27 fe14dcd96a78: Pushed 16:56:27 d5ef91fbe4c6: Pushed 16:56:27 aa5968d388b8: Layer already exists 16:56:30 550e596c6d0e: Pushed 16:56:31 dc3eb08f209d: Pushed 16:56:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7761 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 16:56:33 Running in /w/workspace/device-usb-camera/79 [Pipeline] { [Pipeline] checkout 16:56:33 Selected Git installation does not exist. Using Default 16:56:33 The recommended git tool is: NONE 16:56:36 8023acc7a358: Pushed 16:56:36 8b62b64e9680a6df61e12b3c0a704648afc4bcdc: digest: sha256:995b52b89902cb5496a98ae85460d21902f49b6849f3f0ff73a3d3d476037a56 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:36 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:56:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:56:37 ba45f0972750: Preparing 16:56:37 d7b3a3e1cbcf: Preparing 16:56:37 d51b3c5fa586: Preparing 16:56:37 550e596c6d0e: Preparing 16:56:37 1207169bf42c: Preparing 16:56:37 dd76828bc46a: Preparing 16:56:37 fe14dcd96a78: Preparing 16:56:37 d5ef91fbe4c6: Preparing 16:56:37 6694693fd04e: Preparing 16:56:37 dc3eb08f209d: Preparing 16:56:37 8023acc7a358: Preparing 16:56:37 aa5968d388b8: Preparing 16:56:37 dc3eb08f209d: Waiting 16:56:37 6694693fd04e: Waiting 16:56:37 d5ef91fbe4c6: Waiting 16:56:37 dd76828bc46a: Waiting 16:56:37 8023acc7a358: Waiting 16:56:37 aa5968d388b8: Waiting 16:56:37 fe14dcd96a78: Waiting 16:56:37 d51b3c5fa586: Layer already exists 16:56:37 ba45f0972750: Layer already exists 16:56:37 550e596c6d0e: Layer already exists 16:56:37 1207169bf42c: Layer already exists 16:56:37 d7b3a3e1cbcf: Layer already exists 16:56:37 dd76828bc46a: Layer already exists 16:56:37 d5ef91fbe4c6: Layer already exists 16:56:37 dc3eb08f209d: Layer already exists 16:56:37 fe14dcd96a78: Layer already exists 16:56:37 6694693fd04e: Layer already exists 16:56:37 8023acc7a358: Layer already exists 16:56:37 aa5968d388b8: Layer already exists 16:56:37 latest: digest: sha256:995b52b89902cb5496a98ae85460d21902f49b6849f3f0ff73a3d3d476037a56 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.8 16:56:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:56:37 ba45f0972750: Preparing 16:56:37 d7b3a3e1cbcf: Preparing 16:56:37 d51b3c5fa586: Preparing 16:56:37 550e596c6d0e: Preparing 16:56:37 1207169bf42c: Preparing 16:56:37 dd76828bc46a: Preparing 16:56:37 fe14dcd96a78: Preparing 16:56:37 d5ef91fbe4c6: Preparing 16:56:37 6694693fd04e: Preparing 16:56:37 dc3eb08f209d: Preparing 16:56:37 8023acc7a358: Preparing 16:56:37 aa5968d388b8: Preparing 16:56:37 fe14dcd96a78: Waiting 16:56:37 d5ef91fbe4c6: Waiting 16:56:37 6694693fd04e: Waiting 16:56:37 dc3eb08f209d: Waiting 16:56:37 8023acc7a358: Waiting 16:56:37 aa5968d388b8: Waiting 16:56:37 dd76828bc46a: Waiting 16:56:37 1207169bf42c: Layer already exists 16:56:37 d51b3c5fa586: Layer already exists 16:56:37 d7b3a3e1cbcf: Layer already exists 16:56:37 550e596c6d0e: Layer already exists 16:56:37 ba45f0972750: Layer already exists 16:56:37 fe14dcd96a78: Layer already exists 16:56:37 6694693fd04e: Layer already exists 16:56:37 dd76828bc46a: Layer already exists 16:56:37 d5ef91fbe4c6: Layer already exists 16:56:37 dc3eb08f209d: Layer already exists 16:56:37 8023acc7a358: Layer already exists 16:56:37 aa5968d388b8: Layer already exists 16:56:37 3.0.0-dev.8: digest: sha256:995b52b89902cb5496a98ae85460d21902f49b6849f3f0ff73a3d3d476037a56 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 16:56:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:56:38 ba45f0972750: Preparing 16:56:38 d7b3a3e1cbcf: Preparing 16:56:38 d51b3c5fa586: Preparing 16:56:38 550e596c6d0e: Preparing 16:56:38 1207169bf42c: Preparing 16:56:38 dd76828bc46a: Preparing 16:56:38 fe14dcd96a78: Preparing 16:56:38 d5ef91fbe4c6: Preparing 16:56:38 6694693fd04e: Preparing 16:56:38 dc3eb08f209d: Preparing 16:56:38 8023acc7a358: Preparing 16:56:38 aa5968d388b8: Preparing 16:56:38 fe14dcd96a78: Waiting 16:56:38 d5ef91fbe4c6: Waiting 16:56:38 6694693fd04e: Waiting 16:56:38 dc3eb08f209d: Waiting 16:56:38 8023acc7a358: Waiting 16:56:38 aa5968d388b8: Waiting 16:56:38 dd76828bc46a: Waiting 16:56:38 ba45f0972750: Layer already exists 16:56:38 d7b3a3e1cbcf: Layer already exists 16:56:38 d51b3c5fa586: Layer already exists 16:56:38 1207169bf42c: Layer already exists 16:56:38 550e596c6d0e: Layer already exists 16:56:38 fe14dcd96a78: Layer already exists 16:56:38 6694693fd04e: Layer already exists 16:56:38 d5ef91fbe4c6: Layer already exists 16:56:38 dd76828bc46a: Layer already exists 16:56:38 dc3eb08f209d: Layer already exists 16:56:38 8023acc7a358: Layer already exists 16:56:38 aa5968d388b8: Layer already exists 16:56:38 8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8: digest: sha256:995b52b89902cb5496a98ae85460d21902f49b6849f3f0ff73a3d3d476037a56 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:38 using credential edgex-jenkins-ssh 16:56:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } 16:56:38 Cloning the remote Git repository [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 16:56:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:56:39 ba45f0972750: Preparing 16:56:39 d7b3a3e1cbcf: Preparing 16:56:39 d51b3c5fa586: Preparing 16:56:39 550e596c6d0e: Preparing 16:56:39 1207169bf42c: Preparing 16:56:39 dd76828bc46a: Preparing 16:56:39 fe14dcd96a78: Preparing 16:56:39 d5ef91fbe4c6: Preparing 16:56:39 6694693fd04e: Preparing 16:56:39 dc3eb08f209d: Preparing 16:56:39 8023acc7a358: Preparing 16:56:39 aa5968d388b8: Preparing 16:56:39 d5ef91fbe4c6: Waiting 16:56:39 6694693fd04e: Waiting 16:56:39 dc3eb08f209d: Waiting 16:56:39 8023acc7a358: Waiting 16:56:39 aa5968d388b8: Waiting 16:56:39 dd76828bc46a: Waiting 16:56:39 d7b3a3e1cbcf: Layer already exists 16:56:39 1207169bf42c: Layer already exists 16:56:39 550e596c6d0e: Layer already exists 16:56:39 d51b3c5fa586: Layer already exists 16:56:39 ba45f0972750: Layer already exists 16:56:39 fe14dcd96a78: Layer already exists 16:56:39 dc3eb08f209d: Layer already exists 16:56:39 d5ef91fbe4c6: Layer already exists 16:56:39 6694693fd04e: Layer already exists 16:56:39 dd76828bc46a: Layer already exists 16:56:39 8023acc7a358: Layer already exists 16:56:39 aa5968d388b8: Layer already exists 16:56:39 main: digest: sha256:995b52b89902cb5496a98ae85460d21902f49b6849f3f0ff73a3d3d476037a56 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:56:39 ===================================================== [Pipeline] echo 16:56:39 taggedImages: 16:56:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc 16:56:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:56:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.8 16:56:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 16:56:39 - 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 16:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:39 16:56:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:38 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:56:38 > git init /w/workspace/device-usb-camera/79 # timeout=10 16:56:39 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:56:39 > git --version # timeout=10 16:56:39 > git --version # 'git version 2.25.1' 16:56:39 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:39 latest: Pulling from edgex-lftools-log-publisher 16:56:39 5eb5b503b376: Pulling fs layer 16:56:39 5c69ac0246d0: Pulling fs layer 16:56:39 ec43610c2a17: Pulling fs layer 16:56:39 3a2ae6a8a46f: Pulling fs layer 16:56:39 33b1e0a273af: Pulling fs layer 16:56:39 5d3b04190fa2: Pulling fs layer 16:56:39 2f39f015ded8: Pulling fs layer 16:56:39 5d3b04190fa2: Waiting 16:56:39 2f39f015ded8: Waiting 16:56:39 33b1e0a273af: Waiting 16:56:39 3a2ae6a8a46f: Waiting 16:56:39 5c69ac0246d0: Verifying Checksum 16:56:39 5c69ac0246d0: Download complete 16:56:39 3a2ae6a8a46f: Verifying Checksum 16:56:39 3a2ae6a8a46f: Download complete 16:56:40 33b1e0a273af: Verifying Checksum 16:56:40 33b1e0a273af: Download complete 16:56:40 ec43610c2a17: Verifying Checksum 16:56:40 ec43610c2a17: Download complete 16:56:40 5d3b04190fa2: Download complete 16:56:40 5eb5b503b376: Verifying Checksum 16:56:40 5eb5b503b376: Download complete 16:56:40 Avoid second fetch 16:56:40 Checking out Revision 8b62b64e9680a6df61e12b3c0a704648afc4bcdc (main) 16:56:41 2f39f015ded8: Download complete 16:56:40 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:56:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:40 > git config core.sparsecheckout # timeout=10 16:56:40 > git checkout -f 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 16:56:41 5eb5b503b376: Pull complete 16:56:41 5c69ac0246d0: Pull complete 16:56:41 Commit message: "Merge pull request #161 from lenny-intel/common-config" 16:56:41 16:56:41 GitHub has been notified of this commit’s build result 16:56:41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:41 ec43610c2a17: Pull complete 16:56:41 3a2ae6a8a46f: Pull complete 16:56:42 33b1e0a273af: Pull complete 16:56:42 5d3b04190fa2: Pull complete 16:56:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:56:42 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:42 Dload Upload Total Spent Left Speed 16:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 16:56:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:56:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:56:43 + sudo tee /etc/docker/daemon.new 16:56:43 { 16:56:43 "registry-mirrors": [ 16:56:43 "https://nexus3.edgexfoundry.org:10001" 16:56:43 ], 16:56:43 "bip": "10.250.0.254/24", 16:56:43 "hosts": [ 16:56:43 "tcp://0.0.0.0:5555", 16:56:43 "unix:///var/run/docker.sock" 16:56:43 ], 16:56:43 "mtu": 1458, 16:56:43 "selinux-enabled": true, 16:56:43 "seccomp-profile": "/etc/docker/seccomp.json" 16:56:43 } [Pipeline] sh 16:56:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:56:44 + sudo service docker restart 16:56:46 2f39f015ded8: Pull complete 16:56:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:46 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 16:56:46 $ 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 16:56:47 $ docker top 05221c63eae3380935b23056f510e7d1315cf01099c27510b279322c0b1d59c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:48 ---> job-cost.sh 16:56:48 lf-activate-venv: SKIPPING 16:56:48 INFO: No Stack... 16:56:48 INFO: Retrieving Pricing Info for: v3-standard-8 16:56:48 INFO: Archiving Costs [Pipeline] sh 16:56:49 + cut -d, -f6 16:56:49 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 16:56:49 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] 16:56:49 Resource [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] did not exist. Created. 16:56:49 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:56:49 + echo total: 0.2199999988079071 [Pipeline] stash 16:56:49 Stashed 1 file(s) [Pipeline] } 16:56:49 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 16:56:49 $ docker stop --time=1 05221c63eae3380935b23056f510e7d1315cf01099c27510b279322c0b1d59c6 16:56:50 $ docker rm -f --volumes 05221c63eae3380935b23056f510e7d1315cf01099c27510b279322c0b1d59c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:02 provisioning config files... 16:57:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/79@tmp/config13964849751190125774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:02 ---> docker-login.sh 16:57:02 nexus3.edgexfoundry.org:10001 16:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:03 Configure a credential helper to remove this warning. See 16:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:03 16:57:03 Login Succeeded 16:57:03 nexus3.edgexfoundry.org:10002 16:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:03 Configure a credential helper to remove this warning. See 16:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:03 16:57:03 Login Succeeded 16:57:03 nexus3.edgexfoundry.org:10003 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 nexus3.edgexfoundry.org:10004 16:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:04 Configure a credential helper to remove this warning. See 16:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:04 16:57:04 Login Succeeded 16:57:04 docker.io 16:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:05 Configure a credential helper to remove this warning. See 16:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:05 16:57:05 Login Succeeded 16:57:05 ---> docker-login.sh ends [Pipeline] } 16:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:05 ========================================================= 16:57:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:57:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:57:06 Sending build context to Docker daemon 1.126MB 16:57:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:57:06 Step 2/13 : FROM ${BASE} AS builder 16:57:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:57:06 9b18e9b68314: Pulling fs layer 16:57:06 35d82f9e3411: Pulling fs layer 16:57:06 e16973657156: Pulling fs layer 16:57:06 fc693d55d65f: Pulling fs layer 16:57:06 7e9fc2657dce: Pulling fs layer 16:57:06 dda99020689f: Pulling fs layer 16:57:06 db1c61fa0a46: Pulling fs layer 16:57:06 891c053d2c06: Pulling fs layer 16:57:06 dda99020689f: Waiting 16:57:06 db1c61fa0a46: Waiting 16:57:06 891c053d2c06: Waiting 16:57:06 fc693d55d65f: Waiting 16:57:06 7e9fc2657dce: Waiting 16:57:06 e16973657156: Verifying Checksum 16:57:06 e16973657156: Download complete 16:57:06 35d82f9e3411: Download complete 16:57:06 7e9fc2657dce: Verifying Checksum 16:57:06 7e9fc2657dce: Download complete 16:57:06 9b18e9b68314: Verifying Checksum 16:57:06 9b18e9b68314: Download complete 16:57:06 dda99020689f: Verifying Checksum 16:57:06 dda99020689f: Download complete 16:57:08 9b18e9b68314: Pull complete 16:57:08 891c053d2c06: Verifying Checksum 16:57:08 891c053d2c06: Download complete 16:57:08 35d82f9e3411: Pull complete 16:57:09 e16973657156: Pull complete 16:57:09 db1c61fa0a46: Verifying Checksum 16:57:09 db1c61fa0a46: Download complete 16:57:09 fc693d55d65f: Verifying Checksum 16:57:09 fc693d55d65f: Download complete 16:57:20 fc693d55d65f: Pull complete 16:57:20 7e9fc2657dce: Pull complete 16:57:20 dda99020689f: Pull complete 16:57:25 db1c61fa0a46: Pull complete 16:57:27 891c053d2c06: Pull complete 16:57:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:57:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:57:27 ---> f96f9c87975a 16:57:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:57:29 ---> Running in 05e64cdc5f3b 16:57:30 Removing intermediate container 05e64cdc5f3b 16:57:30 ---> cf73ddb1a22b 16:57:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:57:30 ---> Running in 9c485c6c5ec2 16:57:30 Removing intermediate container 9c485c6c5ec2 16:57:30 ---> 6897ef1082d9 16:57:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 16:57:30 ---> Running in c68dbfd515a2 16:57:31 Removing intermediate container c68dbfd515a2 16:57:31 ---> 6bfced01524e 16:57:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:57:31 ---> Running in 80c84a9b3d0c 16:57:31 Removing intermediate container 80c84a9b3d0c 16:57:31 ---> 83114d6d9ffb 16:57:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:31 ---> Running in bf028fa4d398 16:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:57:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:57:33 (1/14) Installing libintl (0.21-r2) 16:57:33 (2/14) Installing eudev-libs (3.2.11-r0) 16:57:33 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:57:33 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:57:33 (5/14) Installing v4l-utils (1.22.1-r1) 16:57:33 (6/14) Installing udev-init-scripts (35-r0) 16:57:33 Executing udev-init-scripts-35-r0.post-install 16:57:33 (7/14) Installing libblkid (2.38-r1) 16:57:33 (8/14) Installing xz-libs (5.2.5-r1) 16:57:33 (9/14) Installing zstd-libs (1.5.2-r1) 16:57:33 (10/14) Installing kmod-libs (29-r2) 16:57:33 (11/14) Installing eudev (3.2.11-r0) 16:57:33 (12/14) Installing eudev-dev (3.2.11-r0) 16:57:33 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:57:33 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:57:34 Executing busybox-1.35.0-r17.trigger 16:57:34 Executing eudev-3.2.11-r0.trigger 16:57:34 OK: 228 MiB in 65 packages 16:57:35 Removing intermediate container bf028fa4d398 16:57:35 ---> 1f7c846f7913 16:57:35 Step 8/13 : WORKDIR /device-usb-camera 16:57:35 ---> Running in e68630771d4c 16:57:35 Removing intermediate container e68630771d4c 16:57:35 ---> bcb7135618b7 16:57:35 Step 9/13 : COPY go.mod vendor* ./ 16:57:36 ---> b03cad97d781 16:57:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:36 ---> Running in c15f16544549 16:58:44 Removing intermediate container c15f16544549 16:58:44 ---> 91ef54bffb61 16:58:44 Step 11/13 : COPY . . 16:58:44 ---> e9d123dde330 16:58:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:58:44 ---> Running in 8f0f48cfbe13 16:58:44  % Total % Received % Xferd Average Speed Time Time Time Current 16:58:44 Dload Upload Total Spent Left Speed 16:58:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13136 0 --:--:-- --:--:-- --:--:-- 13275 16:58:44 Removing intermediate container 8f0f48cfbe13 16:58:44 ---> 141a41bbd786 16:58:44 Step 13/13 : RUN ${MAKE} 16:58:44 ---> Running in 12013bb0f68a 16:58:45 noop 16:58:46 Removing intermediate container 12013bb0f68a 16:58:46 ---> 96f40e91c0ef 16:58:46 Successfully built 96f40e91c0ef 16:58:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:46 + docker inspect -f . ci-base-image-arm64 16:58:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:46 prd-ubuntu20.04-docker-arm64-4c-16g-7761 does not seem to be running inside a container 16:58:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/79 -v /w/workspace/device-usb-camera/79:/w/workspace/device-usb-camera/79:rw,z -v /w/workspace/device-usb-camera/79@tmp:/w/workspace/device-usb-camera/79@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 16:58:48 $ docker top f9da79c84ea7422376d6a142a11ef8419da784b06599645940062fb64bacde76 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:48 + go version 16:58:48 go version go1.18.7 linux/arm64 [Pipeline] } 16:58:49 $ docker stop --time=1 f9da79c84ea7422376d6a142a11ef8419da784b06599645940062fb64bacde76 16:58:50 $ docker rm -f --volumes f9da79c84ea7422376d6a142a11ef8419da784b06599645940062fb64bacde76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:51 + docker inspect -f . ci-base-image-arm64 16:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:51 prd-ubuntu20.04-docker-arm64-4c-16g-7761 does not seem to be running inside a container 16:58:51 $ 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/79 -v /w/workspace/device-usb-camera/79:/w/workspace/device-usb-camera/79:rw,z -v /w/workspace/device-usb-camera/79@tmp:/w/workspace/device-usb-camera/79@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 16:58:52 $ docker top f78d4bd08f38fa959f9b77a3ef12cf926778ee58a4bd6b3e0f9bafe2b550d157 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:53 + git config --global --add safe.directory /w/workspace/device-usb-camera/79 [Pipeline] fileExists [Pipeline] sh 16:58:54 + make test 16:58:54 go test ./... -coverprofile=coverage.out ./... 16:58:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:00:33 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:00:36 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.073s coverage: 1.9% of statements 17:00:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:00:36 go vet ./... 17:01:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:01:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:01:08 ./bin/test-attribution-txt.sh 17:01:08 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 17:01:08 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 17:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:01:09 $ docker stop --time=1 f78d4bd08f38fa959f9b77a3ef12cf926778ee58a4bd6b3e0f9bafe2b550d157 17:01:11 $ docker rm -f --volumes f78d4bd08f38fa959f9b77a3ef12cf926778ee58a4bd6b3e0f9bafe2b550d157 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:01:12 Warning: overwriting stash ‘coverage-report’ 17:01:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:01:14 + ls -al . 17:01:14 total 192 17:01:14 drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 16:58 . 17:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:56 .. 17:01:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 16:56 .git 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:56 .github 17:01:14 -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 16:56 .gitignore 17:01:14 -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 16:56 .golangci.yml 17:01:14 -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 16:56 .hadolint.yml 17:01:14 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 28 16:56 Attribution.txt 17:01:14 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 16:56 CHANGELOG.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 16:56 Dockerfile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 16:56 GOVERNANCE.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 16:56 Jenkinsfile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 16:56 LICENSE 17:01:14 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 16:56 Makefile 17:01:14 -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 16:56 OWNERS.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 16:56 README.md 17:01:14 -rw-rw-r-- 1 jenkins jenkins 11 Feb 28 16:54 VERSION 17:01:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 16:56 bin 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:56 cmd 17:01:14 -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 17:00 coverage.out 17:01:14 -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 16:56 docker-entrypoint.sh 17:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:56 docs 17:01:14 -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 16:56 go.mod 17:01:14 -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 16:56 go.sum 17:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 16:56 internal 17:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 16:56 snap 17:01:14 -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:14 + 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=8b62b64e9680a6df61e12b3c0a704648afc4bcdc --label arch=arm64 --label version=3.0.0-dev.8 . 17:01:15 Sending build context to Docker daemon 1.158MB 17:01:15 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:01:15 Step 2/35 : FROM ${BASE} AS builder 17:01:15 ---> 96f40e91c0ef 17:01:15 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:01:15 ---> Running in 4435f40f8819 17:01:15 Removing intermediate container 4435f40f8819 17:01:15 ---> 1728ac085f56 17:01:15 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:01:15 ---> Running in 1f7f48ff5a1a 17:01:16 Removing intermediate container 1f7f48ff5a1a 17:01:16 ---> 388a2907dcca 17:01:16 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:01:16 ---> Running in d8976674a726 17:01:16 Removing intermediate container d8976674a726 17:01:16 ---> cc541b54b384 17:01:16 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:01:16 ---> Running in 635ff43275b2 17:01:17 Removing intermediate container 635ff43275b2 17:01:17 ---> 76264508e9cf 17:01:17 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:17 ---> Running in 20b4d78bad43 17:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:20 OK: 228 MiB in 65 packages 17:01:21 Removing intermediate container 20b4d78bad43 17:01:21 ---> cab901b6aee7 17:01:21 Step 8/35 : WORKDIR /device-usb-camera 17:01:21 ---> Running in ff88d4ba7b35 17:01:21 Removing intermediate container ff88d4ba7b35 17:01:21 ---> 907e5c56e62a 17:01:21 Step 9/35 : COPY go.mod vendor* ./ 17:01:22 ---> 0d832c8ea00c 17:01:22 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:22 ---> Running in 37b07e1f3bf9 17:01:25 Removing intermediate container 37b07e1f3bf9 17:01:25 ---> d9ecf7a5773e 17:01:25 Step 11/35 : COPY . . 17:01:26 ---> e671f3d7b9bc 17:01:26 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:01:26 ---> Running in 5b262fd6c8ce 17:01:27  % Total  % Received % Xferd Average Speed Time Time Time Current 17:01:27 Dload Upload Total Spent Left Speed 17:01:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 12017 0 --:--:-- --:--:-- --:--:-- 12206 17:01:28 Removing intermediate container 5b262fd6c8ce 17:01:28 ---> ff3cc76fddc9 17:01:28 Step 13/35 : RUN ${MAKE} 17:01:28 ---> Running in 391bb477bf28 17:01:31 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:04:38 Removing intermediate container 391bb477bf28 17:04:38 ---> 9e59fe64e61d 17:04:38 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:04:38 v0.18.4: Pulling from aler9/rtsp-simple-server 17:04:38 eab2503cf8f4: Pulling fs layer 17:04:38 97cd0a44c592: Pulling fs layer 17:04:38 97cd0a44c592: Verifying Checksum 17:04:38 97cd0a44c592: Download complete 17:04:38 eab2503cf8f4: Verifying Checksum 17:04:38 eab2503cf8f4: Download complete 17:04:38 eab2503cf8f4: Pull complete 17:04:38 97cd0a44c592: Pull complete 17:04:38 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:04:38 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:04:38 ---> 7f763cca56b3 17:04:38 Step 15/35 : FROM alpine:3.16 17:04:38 3.16: Pulling from library/alpine 17:04:38 3760b48202b3: Pulling fs layer 17:04:38 3760b48202b3: Verifying Checksum 17:04:38 3760b48202b3: Download complete 17:04:38 3760b48202b3: Pull complete 17:04:38 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:04:38 Status: Downloaded newer image for alpine:3.16 17:04:38 ---> 4c81e5bf8899 17:04:38 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:04:38 ---> Running in 27cf89f017cf 17:04:38 Removing intermediate container 27cf89f017cf 17:04:38 ---> 5faf5eaf1d5f 17:04:38 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:04:38 ---> Running in 2f03c3123f8e 17:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:04:38 (1/79) Installing dumb-init (1.2.5-r1) 17:04:38 (2/79) Installing sdl2 (2.0.22-r0) 17:04:38 (3/79) Installing libxau (1.0.9-r0) 17:04:38 (4/79) Installing libxdmcp (1.1.3-r0) 17:04:38 (5/79) Installing libxcb (1.15-r0) 17:04:38 (6/79) Installing libx11 (1.8-r0) 17:04:38 (7/79) Installing aom-libs (3.3.0-r0) 17:04:38 (8/79) Installing alsa-lib (1.2.7.2-r0) 17:04:38 (9/79) Installing expat (2.5.0-r0) 17:04:38 (10/79) Installing brotli-libs (1.0.9-r6) 17:04:38 (11/79) Installing libbz2 (1.0.8-r1) 17:04:38 (12/79) Installing libpng (1.6.37-r1) 17:04:38 (13/79) Installing freetype (2.12.1-r0) 17:04:38 (14/79) Installing fontconfig (2.14.0-r0) 17:04:38 (15/79) Installing fribidi (1.0.12-r0) 17:04:38 (16/79) Installing libffi (3.4.2-r1) 17:04:38 (17/79) Installing libintl (0.21-r2) 17:04:38 (18/79) Installing libblkid (2.38-r1) 17:04:38 (19/79) Installing libmount (2.38-r1) 17:04:38 (20/79) Installing pcre (8.45-r2) 17:04:38 (21/79) Installing glib (2.72.1-r0) 17:04:38 (22/79) Installing graphite2 (1.3.14-r1) 17:04:38 (23/79) Installing harfbuzz (4.3.0-r0) 17:04:38 (24/79) Installing libass (0.16.0-r0) 17:04:38 (25/79) Installing libdav1d (1.0.0-r0) 17:04:38 (26/79) Installing libdrm (2.4.110-r0) 17:04:38 (27/79) Installing gmp (6.2.1-r2) 17:04:38 (28/79) Installing nettle (3.7.3-r0) 17:04:38 (29/79) Installing p11-kit (0.24.1-r0) 17:04:38 (30/79) Installing libtasn1 (4.18.0-r1) 17:04:38 (31/79) Installing libunistring (1.0-r0) 17:04:38 (32/79) Installing gnutls (3.7.7-r1) 17:04:38 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:04:38 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 17:04:38 (35/79) Installing lame (3.100-r0) 17:04:38 (36/79) Installing opus (1.3.1-r1) 17:04:38 (37/79) Installing libasyncns (0.8-r1) 17:04:38 (38/79) Installing dbus-libs (1.14.4-r0) 17:04:38 (39/79) Installing libltdl (2.4.7-r0) 17:04:38 (40/79) Installing orc (0.4.32-r0) 17:04:38 (41/79) Installing libgcc (11.2.1_git20220219-r2) 17:04:38 (42/79) Installing libogg (1.3.5-r1) 17:04:38 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 17:04:38 (44/79) Installing flac (1.3.4-r0) 17:04:38 (45/79) Installing libvorbis (1.3.7-r0) 17:04:38 (46/79) Installing libsndfile (1.1.0-r0) 17:04:38 (47/79) Installing libgomp (11.2.1_git20220219-r2) 17:04:38 (48/79) Installing soxr (0.1.3-r2) 17:04:38 (49/79) Installing speexdsp (1.2.0-r0) 17:04:38 (50/79) Installing tdb-libs (1.4.6-r0) 17:04:38 (51/79) Installing libpulse (15.0-r2) 17:04:38 (52/79) Installing cjson (1.7.15-r3) 17:04:38 (53/79) Installing mbedtls (2.28.2-r0) 17:04:38 (54/79) Installing librist (0.2.6-r1) 17:04:38 (55/79) Installing libsrt (1.4.4-r0) 17:04:38 (56/79) Installing libssh (0.9.6-r1) 17:04:38 (57/79) Installing libtheora (1.1.1-r16) 17:04:38 (58/79) Installing libjpeg-turbo (2.1.3-r1) 17:04:38 (59/79) Installing v4l-utils-libs (1.22.1-r1) 17:04:38 (60/79) Installing libxext (1.3.4-r0) 17:04:38 (61/79) Installing libxfixes (6.0.0-r0) 17:04:38 (62/79) Installing wayland-libs-client (1.20.0-r0) 17:04:38 (63/79) Installing libva (2.14.0-r0) 17:04:38 (64/79) Installing libvdpau (1.5-r0) 17:04:38 (65/79) Installing vidstab (1.1.0-r1) 17:04:38 (66/79) Installing libvpx (1.11.0-r1) 17:04:38 (67/79) Installing libwebp (1.2.3-r0) 17:04:38 (68/79) Installing x264-libs (0.163_git20210613-r0) 17:04:38 (69/79) Installing numactl (2.0.14-r0) 17:04:38 (70/79) Installing x265-libs (3.5-r3) 17:04:38 (71/79) Installing xvidcore (1.3.7-r1) 17:04:38 (72/79) Installing ffmpeg-libs (5.0.1-r1) 17:04:38 (73/79) Installing ffmpeg (5.0.1-r1) 17:04:38 (74/79) Installing udev-init-scripts (35-r0) 17:04:38 Executing udev-init-scripts-35-r0.post-install 17:04:38 (75/79) Installing eudev-libs (3.2.11-r0) 17:04:38 (76/79) Installing xz-libs (5.2.5-r1) 17:04:38 (77/79) Installing zstd-libs (1.5.2-r1) 17:04:38 (78/79) Installing kmod-libs (29-r2) 17:04:38 (79/79) Installing eudev (3.2.11-r0) 17:04:38 Executing busybox-1.35.0-r17.trigger 17:04:38 Executing eudev-3.2.11-r0.trigger 17:04:38 OK: 77 MiB in 93 packages 17:04:38 Removing intermediate container 2f03c3123f8e 17:04:38 ---> 7b7c3de1761a 17:04:38 Step 18/35 : WORKDIR / 17:04:38 ---> Running in 99ca038a16cd 17:04:38 Removing intermediate container 99ca038a16cd 17:04:38 ---> cf2acc91b812 17:04:38 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:04:38 ---> 6fcaced48f40 17:04:38 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:04:39 ---> bea30c499338 17:04:39 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:04:40 ---> 3ae78b575c13 17:04:40 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:04:40 ---> 89ca04b711a7 17:04:40 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:04:41 ---> 3df6ba70e066 17:04:41 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:04:41 ---> 00ff1182d409 17:04:41 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:04:46 ---> 14880723cbe4 17:04:46 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:04:46 ---> Running in 80becde7e57d 17:04:47 Removing intermediate container 80becde7e57d 17:04:47 ---> 39e696a53234 17:04:47 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:04:47 ---> Running in 144145449c0c 17:04:49 Removing intermediate container 144145449c0c 17:04:49 ---> 338a5f138a6a 17:04:49 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:04:49 ---> Running in 68270c5294c6 17:04:50 Removing intermediate container 68270c5294c6 17:04:50 ---> 572f58582e59 17:04:50 Step 29/35 : EXPOSE 59983 17:04:50 ---> Running in 2a33daff82c7 17:04:50 Removing intermediate container 2a33daff82c7 17:04:50 ---> 63296d3ba2e9 17:04:50 Step 30/35 : EXPOSE 8554 17:04:51 ---> Running in 7c61d996818a 17:04:51 Removing intermediate container 7c61d996818a 17:04:51 ---> a5153648d163 17:04:51 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:04:51 ---> Running in 8458ecf4ffa3 17:04:51 Removing intermediate container 8458ecf4ffa3 17:04:51 ---> 1c40b1cd2427 17:04:51 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:04:51 ---> Running in 33eab73b1ea7 17:04:51 Removing intermediate container 33eab73b1ea7 17:04:51 ---> e3383c508398 17:04:51 Step 33/35 : LABEL arch=arm64 17:04:52 ---> Running in 9a1c207332d0 17:04:52 Removing intermediate container 9a1c207332d0 17:04:52 ---> 3f198755c9ec 17:04:52 Step 34/35 : LABEL git_sha=8b62b64e9680a6df61e12b3c0a704648afc4bcdc 17:04:52 ---> Running in c8dc950f74e2 17:04:52 Removing intermediate container c8dc950f74e2 17:04:52 ---> e5a89fac9f56 17:04:52 Step 35/35 : LABEL version=3.0.0-dev.8 17:04:53 ---> Running in 552d3fb9f98a 17:04:53 Removing intermediate container 552d3fb9f98a 17:04:53 ---> 1c519fb5fd72 17:04:53 [Warning] One or more build-args [ARCH] were not consumed 17:04:53 Successfully built 1c519fb5fd72 17:04:53 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:04:53 provisioning config files... 17:04:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/79@tmp/config166387702075443798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:53 ---> docker-login.sh 17:04:53 nexus3.edgexfoundry.org:10001 17:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:54 Configure a credential helper to remove this warning. See 17:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:54 17:04:54 Login Succeeded 17:04:54 nexus3.edgexfoundry.org:10002 17:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:54 Configure a credential helper to remove this warning. See 17:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:54 17:04:54 Login Succeeded 17:04:54 nexus3.edgexfoundry.org:10003 17:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:54 Configure a credential helper to remove this warning. See 17:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:54 17:04:54 Login Succeeded 17:04:54 nexus3.edgexfoundry.org:10004 17:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:55 Configure a credential helper to remove this warning. See 17:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:55 17:04:55 Login Succeeded 17:04:55 docker.io 17:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:55 Configure a credential helper to remove this warning. See 17:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:55 17:04:55 Login Succeeded 17:04:56 ---> docker-login.sh ends [Pipeline] } 17:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:04:56 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:04:56 8b62b64e9680a6df61e12b3c0a704648afc4bcdc 17:04:56 latest 17:04:56 3.0.0-dev.8 17:04:56 8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 17:04:56 main 17:04:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc 17:04:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:04:56 778814769ede: Preparing 17:04:56 11b7bf8703ae: Preparing 17:04:56 11ae16471e1d: Preparing 17:04:56 a43932d1df72: Preparing 17:04:56 1207169bf42c: Preparing 17:04:56 129b3c2dfb15: Preparing 17:04:56 d03fa9b919f3: Preparing 17:04:56 869d2c0cf972: Preparing 17:04:56 6a730a824e1c: Preparing 17:04:56 89c40499c7e2: Preparing 17:04:56 2e1a4e627d2e: Preparing 17:04:56 f70ee36035b9: Preparing 17:04:56 869d2c0cf972: Waiting 17:04:56 6a730a824e1c: Waiting 17:04:56 89c40499c7e2: Waiting 17:04:56 2e1a4e627d2e: Waiting 17:04:56 129b3c2dfb15: Waiting 17:04:56 d03fa9b919f3: Waiting 17:04:56 f70ee36035b9: Waiting 17:04:57 778814769ede: Pushed 17:04:57 1207169bf42c: Pushed 17:04:57 11ae16471e1d: Pushed 17:04:57 11b7bf8703ae: Pushed 17:04:57 129b3c2dfb15: Pushed 17:04:57 d03fa9b919f3: Pushed 17:04:59 869d2c0cf972: Pushed 17:04:59 6a730a824e1c: Pushed 17:04:59 f70ee36035b9: Layer already exists 17:05:01 a43932d1df72: Pushed 17:05:05 89c40499c7e2: Pushed 17:05:17 2e1a4e627d2e: Pushed 17:05:17 8b62b64e9680a6df61e12b3c0a704648afc4bcdc: digest: sha256:f9f3aa7640d20b176473db7d747f5a778bbbfb3f139380a2eb0e80f653e3e381 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + 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 17:05:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:05:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:05:18 778814769ede: Preparing 17:05:18 11b7bf8703ae: Preparing 17:05:18 11ae16471e1d: Preparing 17:05:18 a43932d1df72: Preparing 17:05:18 1207169bf42c: Preparing 17:05:18 129b3c2dfb15: Preparing 17:05:18 d03fa9b919f3: Preparing 17:05:18 869d2c0cf972: Preparing 17:05:18 6a730a824e1c: Preparing 17:05:18 89c40499c7e2: Preparing 17:05:18 2e1a4e627d2e: Preparing 17:05:18 f70ee36035b9: Preparing 17:05:18 129b3c2dfb15: Waiting 17:05:18 d03fa9b919f3: Waiting 17:05:18 6a730a824e1c: Waiting 17:05:18 869d2c0cf972: Waiting 17:05:18 89c40499c7e2: Waiting 17:05:18 f70ee36035b9: Waiting 17:05:18 2e1a4e627d2e: Waiting 17:05:18 11ae16471e1d: Layer already exists 17:05:18 778814769ede: Layer already exists 17:05:18 a43932d1df72: Layer already exists 17:05:18 11b7bf8703ae: Layer already exists 17:05:18 1207169bf42c: Layer already exists 17:05:18 869d2c0cf972: Layer already exists 17:05:18 d03fa9b919f3: Layer already exists 17:05:18 129b3c2dfb15: Layer already exists 17:05:18 89c40499c7e2: Layer already exists 17:05:18 6a730a824e1c: Layer already exists 17:05:18 2e1a4e627d2e: Layer already exists 17:05:18 f70ee36035b9: Layer already exists 17:05:18 latest: digest: sha256:f9f3aa7640d20b176473db7d747f5a778bbbfb3f139380a2eb0e80f653e3e381 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.8 17:05:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:05:19 778814769ede: Preparing 17:05:19 11b7bf8703ae: Preparing 17:05:19 11ae16471e1d: Preparing 17:05:19 a43932d1df72: Preparing 17:05:19 1207169bf42c: Preparing 17:05:19 129b3c2dfb15: Preparing 17:05:19 d03fa9b919f3: Preparing 17:05:19 869d2c0cf972: Preparing 17:05:19 6a730a824e1c: Preparing 17:05:19 89c40499c7e2: Preparing 17:05:19 2e1a4e627d2e: Preparing 17:05:19 f70ee36035b9: Preparing 17:05:19 869d2c0cf972: Waiting 17:05:19 6a730a824e1c: Waiting 17:05:19 89c40499c7e2: Waiting 17:05:19 129b3c2dfb15: Waiting 17:05:19 d03fa9b919f3: Waiting 17:05:19 f70ee36035b9: Waiting 17:05:19 2e1a4e627d2e: Waiting 17:05:19 11b7bf8703ae: Layer already exists 17:05:19 778814769ede: Layer already exists 17:05:19 11ae16471e1d: Layer already exists 17:05:19 a43932d1df72: Layer already exists 17:05:19 1207169bf42c: Layer already exists 17:05:19 129b3c2dfb15: Layer already exists 17:05:19 d03fa9b919f3: Layer already exists 17:05:19 869d2c0cf972: Layer already exists 17:05:19 89c40499c7e2: Layer already exists 17:05:19 6a730a824e1c: Layer already exists 17:05:19 f70ee36035b9: Layer already exists 17:05:19 2e1a4e627d2e: Layer already exists 17:05:19 3.0.0-dev.8: digest: sha256:f9f3aa7640d20b176473db7d747f5a778bbbfb3f139380a2eb0e80f653e3e381 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:19 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 17:05:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:05:20 778814769ede: Preparing 17:05:20 11b7bf8703ae: Preparing 17:05:20 11ae16471e1d: Preparing 17:05:20 a43932d1df72: Preparing 17:05:20 1207169bf42c: Preparing 17:05:20 129b3c2dfb15: Preparing 17:05:20 d03fa9b919f3: Preparing 17:05:20 869d2c0cf972: Preparing 17:05:20 6a730a824e1c: Preparing 17:05:20 89c40499c7e2: Preparing 17:05:20 2e1a4e627d2e: Preparing 17:05:20 f70ee36035b9: Preparing 17:05:20 6a730a824e1c: Waiting 17:05:20 89c40499c7e2: Waiting 17:05:20 2e1a4e627d2e: Waiting 17:05:20 f70ee36035b9: Waiting 17:05:20 129b3c2dfb15: Waiting 17:05:20 d03fa9b919f3: Waiting 17:05:20 869d2c0cf972: Waiting 17:05:20 11ae16471e1d: Layer already exists 17:05:20 11b7bf8703ae: Layer already exists 17:05:20 1207169bf42c: Layer already exists 17:05:20 a43932d1df72: Layer already exists 17:05:20 778814769ede: Layer already exists 17:05:20 129b3c2dfb15: Layer already exists 17:05:20 6a730a824e1c: Layer already exists 17:05:20 869d2c0cf972: Layer already exists 17:05:20 d03fa9b919f3: Layer already exists 17:05:20 89c40499c7e2: Layer already exists 17:05:20 f70ee36035b9: Layer already exists 17:05:20 2e1a4e627d2e: Layer already exists 17:05:20 8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8: digest: sha256:f9f3aa7640d20b176473db7d747f5a778bbbfb3f139380a2eb0e80f653e3e381 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:20 + 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 17:05:21 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 17:05:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:05:21 778814769ede: Preparing 17:05:21 11b7bf8703ae: Preparing 17:05:21 11ae16471e1d: Preparing 17:05:21 a43932d1df72: Preparing 17:05:21 1207169bf42c: Preparing 17:05:21 129b3c2dfb15: Preparing 17:05:21 d03fa9b919f3: Preparing 17:05:21 869d2c0cf972: Preparing 17:05:21 6a730a824e1c: Preparing 17:05:21 89c40499c7e2: Preparing 17:05:21 2e1a4e627d2e: Preparing 17:05:21 f70ee36035b9: Preparing 17:05:21 129b3c2dfb15: Waiting 17:05:21 6a730a824e1c: Waiting 17:05:21 89c40499c7e2: Waiting 17:05:21 2e1a4e627d2e: Waiting 17:05:21 f70ee36035b9: Waiting 17:05:21 d03fa9b919f3: Waiting 17:05:21 869d2c0cf972: Waiting 17:05:21 11ae16471e1d: Layer already exists 17:05:21 778814769ede: Layer already exists 17:05:21 11b7bf8703ae: Layer already exists 17:05:21 1207169bf42c: Layer already exists 17:05:21 a43932d1df72: Layer already exists 17:05:21 129b3c2dfb15: Layer already exists 17:05:21 869d2c0cf972: Layer already exists 17:05:21 d03fa9b919f3: Layer already exists 17:05:21 6a730a824e1c: Layer already exists 17:05:21 89c40499c7e2: Layer already exists 17:05:21 f70ee36035b9: Layer already exists 17:05:21 2e1a4e627d2e: Layer already exists 17:05:21 main: digest: sha256:f9f3aa7640d20b176473db7d747f5a778bbbfb3f139380a2eb0e80f653e3e381 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:05:21 ===================================================== [Pipeline] echo 17:05:21 taggedImages: 17:05:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc 17:05:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:05:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.8 17:05:21 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:8b62b64e9680a6df61e12b3c0a704648afc4bcdc-3.0.0-dev.8 17:05:21 - 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 17:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:21 17:05:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:22 arm64: Pulling from edgex-lftools-log-publisher 17:05:22 8998bd30e6a1: Pulling fs layer 17:05:22 04944245beec: Pulling fs layer 17:05:22 699f458cf7ca: Pulling fs layer 17:05:22 765212b225bb: Pulling fs layer 17:05:22 f23df028b6ca: Pulling fs layer 17:05:22 d65c8cfc05b1: Pulling fs layer 17:05:22 2437ff75d9bd: Pulling fs layer 17:05:22 765212b225bb: Waiting 17:05:22 f23df028b6ca: Waiting 17:05:22 d65c8cfc05b1: Waiting 17:05:22 2437ff75d9bd: Waiting 17:05:22 04944245beec: Verifying Checksum 17:05:22 04944245beec: Download complete 17:05:22 765212b225bb: Verifying Checksum 17:05:22 765212b225bb: Download complete 17:05:22 f23df028b6ca: Verifying Checksum 17:05:22 f23df028b6ca: Download complete 17:05:22 d65c8cfc05b1: Verifying Checksum 17:05:22 d65c8cfc05b1: Download complete 17:05:22 699f458cf7ca: Verifying Checksum 17:05:22 699f458cf7ca: Download complete 17:05:23 8998bd30e6a1: Verifying Checksum 17:05:23 8998bd30e6a1: Download complete 17:05:25 2437ff75d9bd: Verifying Checksum 17:05:25 2437ff75d9bd: Download complete 17:05:27 8998bd30e6a1: Pull complete 17:05:27 04944245beec: Pull complete 17:05:29 699f458cf7ca: Pull complete 17:05:29 765212b225bb: Pull complete 17:05:30 f23df028b6ca: Pull complete 17:05:30 d65c8cfc05b1: Pull complete 17:05:45 2437ff75d9bd: Pull complete 17:05:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:45 prd-ubuntu20.04-docker-arm64-4c-16g-7761 does not seem to be running inside a container 17:05:45 $ 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/79 -v /w/workspace/device-usb-camera/79:/w/workspace/device-usb-camera/79:rw,z -v /w/workspace/device-usb-camera/79@tmp:/w/workspace/device-usb-camera/79@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 17:05:48 $ docker top 80c5358c5e24dd366d90cd3ca2994518e3ee11ad2a4fe5b45db40f85b51f0b4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:49 ---> job-cost.sh 17:05:49 lf-activate-venv: SKIPPING 17:05:49 INFO: No Stack... 17:05:49 INFO: Retrieving Pricing Info for: v3-standard-4 17:05:50 INFO: Archiving Costs [Pipeline] sh 17:05:51 + + cat /w/workspace/device-usb-camera/79/archives/cost.csvcut 17:05:51 -d, -f6 [Pipeline] lock 17:05:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] 17:05:51 Resource [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] did not exist. Created. 17:05:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:05:51 /w/workspace/device-usb-camera/79@tmp/durable-6a18ec83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:05:52 + echo total: 0.10999999940395355 [Pipeline] stash 17:05:52 Warning: overwriting stash ‘stack-cost’ 17:05:52 Stashed 1 file(s) [Pipeline] } 17:05:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 17:05:52 $ docker stop --time=1 80c5358c5e24dd366d90cd3ca2994518e3ee11ad2a4fe5b45db40f85b51f0b4e 17:05:54 $ docker rm -f --volumes 80c5358c5e24dd366d90cd3ca2994518e3ee11ad2a4fe5b45db40f85b51f0b4e [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 17:05:55 provisioning config files... 17:05:55 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8445084871074054158tmp [Pipeline] { [Pipeline] sh 17:05:55 + set +x 17:05:55 + curl -s https://codecov.io/bash 17:05:55 + bash -s -- 17:05:55 17:05:55 _____ _ 17:05:55 / ____| | | 17:05:55 | | ___ __| | ___ ___ _____ __ 17:05:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:05:55 | |___| (_) | (_| | __/ (_| (_) \ V / 17:05:55 \_____\___/ \__,_|\___|\___\___/ \_/ 17:05:55 Bash-1.0.6 17:05:55 17:05:55 17:05:55 ==> git version 2.25.1 found 17:05:55 ==> 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 17:05:55 Release-Date: 2020-01-08 17:05:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:05:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:05:55 ==> Jenkins CI detected. 17:05:55 current dir:  /w/workspace/exfoundry_device-usb-camera_main 17:05:55 project root: . 17:05:55 --> token set from env 17:05:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:05:55 ==> Running gcov in . (disable via -X gcov) 17:05:55 ==> Python coveragepy not found 17:05:55 ==> Searching for coverage reports in: 17:05:55 + . 17:05:55 -> Found 1 reports 17:05:55 ==> Detecting git/mercurial file structure 17:05:55 ==> Reading reports 17:05:55 + ./coverage.out bytes=30666 17:05:55 ==> Appending adjustments 17:05:55 https://docs.codecov.io/docs/fixing-reports 17:05:55 + Found adjustments 17:05:55 ==> Gzipping contents 17:05:55 8.0K /tmp/codecov.Bkvjzq.gz 17:05:55 ==> Uploading reports 17:05:55 url: https://codecov.io 17:05:55 query: branch=main&commit=8b62b64e9680a6df61e12b3c0a704648afc4bcdc&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:05:55 -> Pinging Codecov 17:05:55 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=8b62b64e9680a6df61e12b3c0a704648afc4bcdc&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:05:55 -> Uploading to 17:05:55 https://storage.googleapis.com/codecov/v4/raw/2023-02-28/73D8F5FF140700D3E01443B452E23636/8b62b64e9680a6df61e12b3c0a704648afc4bcdc/e2d77ce7-95dd-40cd-84b7-de799dc431ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T170555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=225f029bc59ceecbaebf2286719a0bf88ab48405f740d2f01da5dea0c517d976 17:05:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:05:55 Dload Upload Total Spent Left Speed 17:05:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4290 0 0 100 4290 0 15159 --:--:-- --:--:-- --:--:-- 15159 17:05:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] } 17:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:05:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:05:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:05:56 17:05:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:05:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:05:56 df9b9388f04a: Pulling fs layer 17:05:56 52dc419b0ee2: Pulling fs layer 17:05:56 25bc292e5bac: Pulling fs layer 17:05:56 114826534d7a: Pulling fs layer 17:05:56 4657fd5d0bcf: Pulling fs layer 17:05:56 6ad1cebc031e: Pulling fs layer 17:05:56 8a3aa393b2d8: Pulling fs layer 17:05:56 114826534d7a: Waiting 17:05:56 4657fd5d0bcf: Waiting 17:05:56 6ad1cebc031e: Waiting 17:05:56 8a3aa393b2d8: Waiting 17:05:56 25bc292e5bac: Download complete 17:05:56 52dc419b0ee2: Download complete 17:05:56 4657fd5d0bcf: Verifying Checksum 17:05:56 4657fd5d0bcf: Download complete 17:05:56 df9b9388f04a: Verifying Checksum 17:05:57 df9b9388f04a: Pull complete 17:05:57 52dc419b0ee2: Pull complete 17:05:57 6ad1cebc031e: Verifying Checksum 17:05:57 6ad1cebc031e: Download complete 17:05:57 25bc292e5bac: Pull complete 17:05:57 114826534d7a: Verifying Checksum 17:05:57 114826534d7a: Download complete 17:05:57 8a3aa393b2d8: Verifying Checksum 17:05:57 8a3aa393b2d8: Download complete 17:06:01 114826534d7a: Pull complete 17:06:01 4657fd5d0bcf: Pull complete 17:06:01 6ad1cebc031e: Pull complete 17:06:03 8a3aa393b2d8: Pull complete 17:06:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:06:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:06:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:03 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06:03 $ 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 17:06:05 $ docker top da91bc055b82e31ceb030e2e5be424689d82c672f1bfa6f15451a2cc245179fa -eo pid,comm [Pipeline] { [Pipeline] echo 17:06:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 17:06:05 + set -o pipefail 17:06:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 17:06:11 17:06:11 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 17:06:11 17:06:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/b0d63b0b-2488-47c5-88a3-f5d126444591 17:06:11 17:06:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:06:11 17:06:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:06:11 17:06:11 17:06:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:06:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:06:11 More details here: https://snyk.co/ue1NS [Pipeline] } 17:06:11 $ docker stop --time=1 da91bc055b82e31ceb030e2e5be424689d82c672f1bfa6f15451a2cc245179fa 17:06:13 $ docker rm -f --volumes da91bc055b82e31ceb030e2e5be424689d82c672f1bfa6f15451a2cc245179fa [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 17:06:13 + git log --format=format:%s -1 8b62b64e9680a6df61e12b3c0a704648afc4bcdc [Pipeline] sh 17:06:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:06:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:14 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06:14 $ 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 17:06:14 $ docker top 6c15f94d94232e6fe67b81f2dabd5f89221470a17a9c2b4c7e8e243c794eb60a -eo pid,comm 17:06:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:06:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:06:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:14 [ssh-agent] Looking for ssh-agent implementation... 17:06:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:14 $ docker exec 6c15f94d94232e6fe67b81f2dabd5f89221470a17a9c2b4c7e8e243c794eb60a ssh-agent 17:06:15 SSH_AUTH_SOCK=/tmp/ssh-oB2FQjHyg6O8/agent.31 17:06:15 SSH_AGENT_PID=37 17:06:15 Running ssh-add (command line suppressed) 17:06:15 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8985575669757991098.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8985575669757991098.key) 17:06:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:15 + git semver tag 17:06:15 2023-02-28 17:06:15,658 [run_tag] DEBUG tag force:False 17:06:15 2023-02-28 17:06:15,658 [check_head_tag] DEBUG check head tag 17:06:15 2023-02-28 17:06:15,659 [execute] INFO git cat-file --batch-check 17:06:15 2023-02-28 17:06:15,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:06:15 2023-02-28 17:06:15,662 [execute] INFO git cat-file --batch 17:06:15 2023-02-28 17:06:15,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 17:06:15 2023-02-28 17:06:15,681 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:15 2023-02-28 17:06:15,681 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 17:06:15 2023-02-28 17:06:15,682 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 17:06:15 2023-02-28 17:06:15,684 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:15 3.0.0-dev.8 [Pipeline] } 17:06:15 $ docker exec --env ******** --env ******** 6c15f94d94232e6fe67b81f2dabd5f89221470a17a9c2b4c7e8e243c794eb60a ssh-agent -k 17:06:15 unset SSH_AUTH_SOCK; 17:06:15 unset SSH_AGENT_PID; 17:06:15 echo Agent pid 37 killed; 17:06:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:06:16 + git semver [Pipeline] } 17:06:16 $ docker stop --time=1 6c15f94d94232e6fe67b81f2dabd5f89221470a17a9c2b4c7e8e243c794eb60a 17:06:17 $ docker rm -f --volumes 6c15f94d94232e6fe67b81f2dabd5f89221470a17a9c2b4c7e8e243c794eb60a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:06:18 17:06:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:06:18 0.23.1-centos7: Pulling from edgex-lftools 17:06:18 ab5ef0e58194: Pulling fs layer 17:06:18 9712f1f96733: Pulling fs layer 17:06:18 63f879dbbcfc: Pulling fs layer 17:06:18 0d9ebad4ef96: Pulling fs layer 17:06:18 e9a5061849ea: Pulling fs layer 17:06:18 d747dcd14b5f: Pulling fs layer 17:06:18 2de7ff778b66: Pulling fs layer 17:06:18 d747dcd14b5f: Waiting 17:06:18 e9a5061849ea: Waiting 17:06:18 2de7ff778b66: Waiting 17:06:18 0d9ebad4ef96: Waiting 17:06:18 9712f1f96733: Verifying Checksum 17:06:18 63f879dbbcfc: Verifying Checksum 17:06:18 63f879dbbcfc: Download complete 17:06:18 e9a5061849ea: Verifying Checksum 17:06:18 e9a5061849ea: Download complete 17:06:18 d747dcd14b5f: Download complete 17:06:19 ab5ef0e58194: Download complete 17:06:19 0d9ebad4ef96: Verifying Checksum 17:06:19 0d9ebad4ef96: Download complete 17:06:19 2de7ff778b66: Verifying Checksum 17:06:19 2de7ff778b66: Download complete 17:06:22 ab5ef0e58194: Pull complete 17:06:22 9712f1f96733: Pull complete 17:06:22 63f879dbbcfc: Pull complete 17:06:25 0d9ebad4ef96: Pull complete 17:06:26 e9a5061849ea: Pull complete 17:06:26 d747dcd14b5f: Pull complete 17:06:27 2de7ff778b66: Pull complete 17:06:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:06:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:27 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06: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 17:06:29 $ docker top df76b1f4f6ffb1826aba2cd6997368a6da91f21621d3c0f8be378234d929cbe3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:06:29 provisioning config files... 17:06:29 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4197734541028253176tmp 17:06:29 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12488732839611918655tmp 17:06:29 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3204009340711955647tmp [Pipeline] { [Pipeline] echo 17:06:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:06:29 ---> sigul-configuration.sh 17:06:29 gpg: directory `/root/.gnupg' created 17:06:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:06:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:06:29 gpg: keyring `/root/.gnupg/secring.gpg' created 17:06:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:06:29 gpg: CAST5 encrypted data 17:06:29 gpg: encrypted with 1 passphrase 17:06:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:06:30 + mkdir /home/jenkins 17:06:30 + mkdir /home/jenkins/sigul [Pipeline] sh 17:06:30 + 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 17:06:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:06:30 ---> sigul-install.sh 17:06:30 Sigul already installed; skipping installation. [Pipeline] sh 17:06:31 + git tag --list 17:06:31 v0.0.0 17:06:31 v0.0.1-dev.1 17:06:31 v0.0.1-dev.10 17:06:31 v0.0.1-dev.11 17:06:31 v0.0.1-dev.12 17:06:31 v0.0.1-dev.13 17:06:31 v0.0.1-dev.14 17:06:31 v0.0.1-dev.15 17:06:31 v0.0.1-dev.16 17:06:31 v0.0.1-dev.2 17:06:31 v0.0.1-dev.3 17:06:31 v0.0.1-dev.4 17:06:31 v0.0.1-dev.5 17:06:31 v0.0.1-dev.6 17:06:31 v0.0.1-dev.7 17:06:31 v0.0.1-dev.8 17:06:31 v0.0.1-dev.9 17:06:31 v2.2.0 17:06:31 v2.2.0-dev.17 17:06:31 v2.2.0-dev.18 17:06:31 v2.2.0-dev.19 17:06:31 v2.2.0-dev.20 17:06:31 v2.2.0-dev.21 17:06:31 v2.2.0-dev.22 17:06:31 v2.2.0-dev.23 17:06:31 v2.2.0-dev.24 17:06:31 v2.2.0-dev.25 17:06:31 v2.2.0-dev.26 17:06:31 v2.2.0-dev.27 17:06:31 v2.3.0 17:06:31 v2.3.0-dev.1 17:06:31 v2.3.0-dev.10 17:06:31 v2.3.0-dev.11 17:06:31 v2.3.0-dev.12 17:06:31 v2.3.0-dev.13 17:06:31 v2.3.0-dev.14 17:06:31 v2.3.0-dev.15 17:06:31 v2.3.0-dev.16 17:06:31 v2.3.0-dev.17 17:06:31 v2.3.0-dev.18 17:06:31 v2.3.0-dev.19 17:06:31 v2.3.0-dev.2 17:06:31 v2.3.0-dev.20 17:06:31 v2.3.0-dev.21 17:06:31 v2.3.0-dev.22 17:06:31 v2.3.0-dev.23 17:06:31 v2.3.0-dev.24 17:06:31 v2.3.0-dev.25 17:06:31 v2.3.0-dev.26 17:06:31 v2.3.0-dev.27 17:06:31 v2.3.0-dev.28 17:06:31 v2.3.0-dev.3 17:06:31 v2.3.0-dev.4 17:06:31 v2.3.0-dev.5 17:06:31 v2.3.0-dev.6 17:06:31 v2.3.0-dev.7 17:06:31 v2.3.0-dev.8 17:06:31 v2.3.0-dev.9 17:06:31 v3.0.0-dev.1 17:06:31 v3.0.0-dev.2 17:06:31 v3.0.0-dev.3 17:06:31 v3.0.0-dev.4 17:06:31 v3.0.0-dev.5 17:06:31 v3.0.0-dev.6 17:06:31 v3.0.0-dev.7 17:06:31 v3.0.0-dev.8 [Pipeline] sh 17:06:31 + lftools sign git-tag v3.0.0-dev.8 17:06:31 Signing Git tag with Sigul... 17:06:31 Signing v3.0.0-dev.8 [Pipeline] echo 17:06:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:06:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:06:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:06:32 $ docker stop --time=1 df76b1f4f6ffb1826aba2cd6997368a6da91f21621d3c0f8be378234d929cbe3 17:06:33 $ docker rm -f --volumes df76b1f4f6ffb1826aba2cd6997368a6da91f21621d3c0f8be378234d929cbe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:06:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:06:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:34 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06:34 $ 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 17:06:34 $ docker top 68d2697d2f1da1a754b54b3300e0b4f6f6e5c0eede4dc2d65736264ae80ad238 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:06:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:35 [ssh-agent] Looking for ssh-agent implementation... 17:06:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:35 $ docker exec 68d2697d2f1da1a754b54b3300e0b4f6f6e5c0eede4dc2d65736264ae80ad238 ssh-agent 17:06:35 SSH_AUTH_SOCK=/tmp/ssh-S5WNB7FMAptH/agent.32 17:06:35 SSH_AGENT_PID=38 17:06:35 Running ssh-add (command line suppressed) 17:06:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14555600066317430718.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14555600066317430718.key) 17:06:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:35 + git semver bump pre 17:06:35 2023-02-28 17:06:35,854 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:35 2023-02-28 17:06:35,854 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev 17:06:35 2023-02-28 17:06:35,854 [bump_version] DEBUG bumped version:3.0.0-dev.9 17:06:35 2023-02-28 17:06:35,854 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 17:06:35 2023-02-28 17:06:35,854 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:35 2023-02-28 17:06:35,854 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:35 2023-02-28 17:06:35,856 [execute] INFO git cat-file --batch-check 17:06:35 2023-02-28 17:06:35,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:06:35 2023-02-28 17:06:35,861 [execute] INFO git cat-file --batch 17:06:35 2023-02-28 17:06:35,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:06:35 2023-02-28 17:06:35,866 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:35 3.0.0-dev.9 [Pipeline] } 17:06:35 $ docker exec --env ******** --env ******** 68d2697d2f1da1a754b54b3300e0b4f6f6e5c0eede4dc2d65736264ae80ad238 ssh-agent -k 17:06:36 unset SSH_AUTH_SOCK; 17:06:36 unset SSH_AGENT_PID; 17:06:36 echo Agent pid 38 killed; 17:06:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:06:36 + git semver [Pipeline] } 17:06:36 $ docker stop --time=1 68d2697d2f1da1a754b54b3300e0b4f6f6e5c0eede4dc2d65736264ae80ad238 17:06:37 $ docker rm -f --volumes 68d2697d2f1da1a754b54b3300e0b4f6f6e5c0eede4dc2d65736264ae80ad238 [Pipeline] // withDockerContainer [Pipeline] sh 17:06:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:06:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:38 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06: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 17:06:39 $ docker top f7951bb64a0662978330d09feea31794975b9201768603af1f22fe67bcf270f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:06:39 [ssh-agent] Looking for ssh-agent implementation... 17:06:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:39 $ docker exec f7951bb64a0662978330d09feea31794975b9201768603af1f22fe67bcf270f5 ssh-agent 17:06:39 SSH_AUTH_SOCK=/tmp/ssh-h9ewoRYnfHkb/agent.32 17:06:39 SSH_AGENT_PID=38 17:06:39 Running ssh-add (command line suppressed) 17:06:39 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17650588635285871036.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17650588635285871036.key) 17:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:06:39 + git semver push 17:06:40 2023-02-28 17:06:40,005 [run_push] DEBUG push 17:06:40 2023-02-28 17:06:40,006 [execute] INFO git cat-file --batch-check 17:06:40 2023-02-28 17:06:40,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:06:40 2023-02-28 17:06:40,010 [execute] INFO git rev-list c79741e4783a507b43b903421ab233a286df30c3 -- 17:06:40 2023-02-28 17:06:40,011 [execute] DEBUG Popen(['git', 'rev-list', 'c79741e4783a507b43b903421ab233a286df30c3', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:06:40 2023-02-28 17:06:40,018 [execute] INFO git fetch -v origin 17:06:40 2023-02-28 17:06:40,019 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:06:40 2023-02-28 17:06:40,617 [run_push] DEBUG no remote changes detected 17:06:40 2023-02-28 17:06:40,617 [execute] INFO git push origin semver 17:06:40 2023-02-28 17:06:40,618 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:06:41 2023-02-28 17:06:41,402 [run_push] DEBUG push all version tags 17:06:41 2023-02-28 17:06:41,402 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:06:41 2023-02-28 17:06:41,403 [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) 17:06:42 2023-02-28 17:06:42,218 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:06:42 3.0.0-dev.9 [Pipeline] } 17:06:42 $ docker exec --env ******** --env ******** f7951bb64a0662978330d09feea31794975b9201768603af1f22fe67bcf270f5 ssh-agent -k 17:06:42 unset SSH_AUTH_SOCK; 17:06:42 unset SSH_AGENT_PID; 17:06:42 echo Agent pid 38 killed; 17:06:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:06:42 + git semver [Pipeline] } 17:06:43 $ docker stop --time=1 f7951bb64a0662978330d09feea31794975b9201768603af1f22fe67bcf270f5 17:06:44 $ docker rm -f --volumes f7951bb64a0662978330d09feea31794975b9201768603af1f22fe67bcf270f5 [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 17:06:45 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 17:06:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:06:45 total 16 17:06:45 drwxr-xr-x 3 root root 4096 Feb 28 16:56 . 17:06:45 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:06 .. 17:06:45 drwxr-xr-x 2 root root 4096 Feb 28 16:56 cost 17:06:45 -rw-r--r-- 1 root root 88 Feb 28 16:56 cost.csv 17:06:45 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 17:06:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 17:06:45 total 16 17:06:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 16:56 . 17:06:45 drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:06 .. 17:06:45 drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 16:56 cost 17:06:45 -rw-r--r-- 1 jenkins jenkins 88 Feb 28 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:06:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:06:46 ---> package-listing.sh 17:06:46 ++ facter osfamily 17:06:46 ++ tr '[:upper:]' '[:lower:]' 17:06:46 + OS_FAMILY=debian 17:06:46 + workspace=/w/workspace/exfoundry_device-usb-camera_main 17:06:46 + START_PACKAGES=/tmp/packages_start.txt 17:06:46 + END_PACKAGES=/tmp/packages_end.txt 17:06:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:06:46 + PACKAGES=/tmp/packages_start.txt 17:06:46 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:06:46 + PACKAGES=/tmp/packages_end.txt 17:06:46 + case "${OS_FAMILY}" in 17:06:46 + grep '^ii' 17:06:46 + dpkg -l 17:06:46 + '[' -f /tmp/packages_start.txt ']' 17:06:46 + '[' -f /tmp/packages_end.txt ']' 17:06:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:06:46 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 17:06:46 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 17:06:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 17:06:46 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 17:06:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:47 prd-ubuntu20.04-docker-8c-8g-7756 does not seem to be running inside a container 17:06:47 $ 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 17:06:47 $ docker top c1cb82719a7db72c7117f8e7202dd8c9fa2f4ac5718a5fd44d7e4376ffa6e5a6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:06:48 + mkdir -p /var/log/sysstat [Pipeline] sh 17:06:48 + ls /var/log/sa-host 17:06:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:48 provisioning config files... 17:06:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config157453906567128230tmp [Pipeline] { [Pipeline] echo 17:06:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:06:49 ---> create-netrc.sh [Pipeline] } 17:06:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:06:49 ---> python-tools-install.sh [Pipeline] echo 17:06:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:06:49 ---> sudo-logs.sh 17:06:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:06:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:06:49 ---> job-cost.sh 17:06:49 lf-activate-venv: SKIPPING 17:06:49 DEBUG: total: 0.2199999988079071 17:06:49 INFO: Retrieving Stack Cost... 17:06:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:06:50 INFO: Archiving Costs [Pipeline] echo 17:06:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:06:51 ---> logs-deploy.sh 17:06:51 lf-activate-venv: SKIPPING 17:06:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/79 17:06:51 INFO: archiving workspace using pattern(s): 17:06:52 Archives upload complete. 17:06:52 INFO: archiving logs to Nexus