Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 059aeb0713fc4e07acd8c370d817b94cb81fd04d 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-ssh3906492051572828542.key Verifying host key using known hosts file > 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-ssh14842563038737808612.key Verifying host key using known hosts file > 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-ssh6323690820253505624.key Verifying host key using known hosts file > 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-ssh15744204035211762087.key Verifying host key using known hosts file > 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-ssh8432782709021619598.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118697 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d (main) Commit message: "Merge pull request #112 from lenny-intel/released-sdk" > 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 > git rev-list --no-walk b5dba24a46228f203616ae131b1222b337b95a5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:51:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:51:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:51:07 ========================================================= 23:51:07 EdgeX Global Pipelines Version Info 23:51:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:51:08 ------------------- 23:51:08 stable info: 23:51:08 ------------------- 23:51:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:51:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:51:08 Message: update stable to v1.0.244 23:51:09 ------------------- 23:51:09 experimental info: 23:51:09 ------------------- 23:51:09 Commited By: **** collab-it+edgex@linuxfoundation.org 23:51:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:51:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 059aeb0 [Pipeline] echo 23:51:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:09 provisioning config files... 23:51:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6263501336815285876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:10 ---> docker-login.sh 23:51:10 nexus3.edgexfoundry.org:10001 23:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:10 Configure a credential helper to remove this warning. See 23:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:10 23:51:10 Login Succeeded 23:51:10 nexus3.edgexfoundry.org:10002 23:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:10 Configure a credential helper to remove this warning. See 23:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:10 23:51:10 Login Succeeded 23:51:10 nexus3.edgexfoundry.org:10003 23:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:10 Configure a credential helper to remove this warning. See 23:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:10 23:51:10 Login Succeeded 23:51:10 nexus3.edgexfoundry.org:10004 23:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:10 Configure a credential helper to remove this warning. See 23:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:10 23:51:10 Login Succeeded 23:51:10 docker.io 23:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:11 Configure a credential helper to remove this warning. See 23:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:11 23:51:11 Login Succeeded 23:51:11 ---> docker-login.sh ends [Pipeline] } 23:51:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:51:11 + git rev-list -1 --merges 059aeb0713fc4e07acd8c370d817b94cb81fd04d~1..059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] echo 23:51:11 -----------> git rev-list -1 --merges 059aeb0713fc4e07acd8c370d817b94cb81fd04d~1..059aeb0713fc4e07acd8c370d817b94cb81fd04d 059aeb0713fc4e07acd8c370d817b94cb81fd04d 23:51:11 059aeb0713fc4e07acd8c370d817b94cb81fd04d [false] [Pipeline] sh 23:51:12 + git log --format=format:%s -1 059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] echo 23:51:12 ========================================================= 23:51:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:51:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:12 + git log --format=format:%s -1 059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] echo 23:51:12 [semverPrep] GIT_COMMIT: 059aeb0713fc4e07acd8c370d817b94cb81fd04d, Commit Message: Merge pull request #112 from lenny-intel/released-sdk [Pipeline] echo 23:51:12 [semverPrep] This is not a build commit. [Pipeline] sh 23:51:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:51:12 + grep -v github /etc/ssh/ssh_known_hosts 23:51:12 + [ -e /tmp/ssh_known_hosts ] 23:51:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:51:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:51:12 + sudo tee -a /etc/ssh/ssh_known_hosts 23:51:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:13 23:51:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:13 0.1.4: Pulling from edgex-devops/py-git-semver 23:51:13 b85a868b505f: Pulling fs layer 23:51:13 e2be974225ed: Pulling fs layer 23:51:13 339a4e72a1f5: Pulling fs layer 23:51:13 988bab9f4d93: Pulling fs layer 23:51:13 1469e6f7b9e6: Pulling fs layer 23:51:13 eaf3925da568: Pulling fs layer 23:51:13 bab4dde63d76: Pulling fs layer 23:51:13 bde34c3a00c8: Pulling fs layer 23:51:13 b352a97aabf1: Pulling fs layer 23:51:13 4872d77fe225: Pulling fs layer 23:51:13 5851b861e8e6: Pulling fs layer 23:51:13 988bab9f4d93: Waiting 23:51:13 b352a97aabf1: Waiting 23:51:13 eaf3925da568: Waiting 23:51:13 1469e6f7b9e6: Waiting 23:51:13 bde34c3a00c8: Waiting 23:51:13 bab4dde63d76: Waiting 23:51:13 5851b861e8e6: Waiting 23:51:13 e2be974225ed: Verifying Checksum 23:51:13 e2be974225ed: Download complete 23:51:13 988bab9f4d93: Download complete 23:51:13 1469e6f7b9e6: Verifying Checksum 23:51:13 1469e6f7b9e6: Download complete 23:51:13 339a4e72a1f5: Verifying Checksum 23:51:13 339a4e72a1f5: Download complete 23:51:13 eaf3925da568: Verifying Checksum 23:51:13 bde34c3a00c8: Download complete 23:51:13 b352a97aabf1: Download complete 23:51:13 4872d77fe225: Download complete 23:51:13 5851b861e8e6: Verifying Checksum 23:51:13 5851b861e8e6: Download complete 23:51:13 b85a868b505f: Verifying Checksum 23:51:13 b85a868b505f: Download complete 23:51:14 bab4dde63d76: Verifying Checksum 23:51:14 bab4dde63d76: Download complete 23:51:15 b85a868b505f: Pull complete 23:51:15 e2be974225ed: Pull complete 23:51:15 339a4e72a1f5: Pull complete 23:51:15 988bab9f4d93: Pull complete 23:51:16 1469e6f7b9e6: Pull complete 23:51:16 eaf3925da568: Pull complete 23:51:18 bab4dde63d76: Pull complete 23:51:18 bde34c3a00c8: Pull complete 23:51:18 b352a97aabf1: Pull complete 23:51:18 4872d77fe225: Pull complete 23:51:18 5851b861e8e6: Pull complete 23:51:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:18 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 23:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:51:20 $ docker top 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 -eo pid,comm 23:51:20 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). 23:51:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:51:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:20 [ssh-agent] Looking for ssh-agent implementation... 23:51:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:20 $ docker exec 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 ssh-agent 23:51:20 SSH_AUTH_SOCK=/tmp/ssh-NOdAAiFlfpL8/agent.32 23:51:20 SSH_AGENT_PID=38 23:51:20 Running ssh-add (command line suppressed) 23:51:21 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13821099316572299449.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13821099316572299449.key) 23:51:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:21 + git tag --points-at HEAD [Pipeline] } 23:51:21 $ docker exec --env ******** --env ******** 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 ssh-agent -k 23:51:21 unset SSH_AUTH_SOCK; 23:51:21 unset SSH_AGENT_PID; 23:51:21 echo Agent pid 38 killed; 23:51:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:51:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:21 [ssh-agent] Looking for ssh-agent implementation... 23:51:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:21 $ docker exec 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 ssh-agent 23:51:21 SSH_AUTH_SOCK=/tmp/ssh-1HgLJNsv3noi/agent.70 23:51:21 SSH_AGENT_PID=76 23:51:21 Running ssh-add (command line suppressed) 23:51:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4567438619499762593.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4567438619499762593.key) 23:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:22 + git semver init 23:51:22 2022-11-08 23:51:22,517 [run_init] DEBUG init version:0.0.0 force:False 23:51:22 2022-11-08 23:51:22,518 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 23:51:22 2022-11-08 23:51:22,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 23:51:22 2022-11-08 23:51:22,518 [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) 23:51:23 2022-11-08 23:51:23,319 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 23:51:23 2022-11-08 23:51:23,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 23:51:23 2022-11-08 23:51:23,319 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 23:51:23 2022-11-08 23:51:23,320 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 23:51:23 2.3.0-dev.21 [Pipeline] } 23:51:23 $ docker exec --env ******** --env ******** 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 ssh-agent -k 23:51:23 unset SSH_AUTH_SOCK; 23:51:23 unset SSH_AGENT_PID; 23:51:23 echo Agent pid 76 killed; 23:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:51:24 + git semver [Pipeline] } 23:51:24 $ docker stop --time=1 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 23:51:25 $ docker rm -f 862065d7492fc347f5def4dc8500786476764b9415a3803dfa32c02c5b9c7ae7 [Pipeline] // withDockerContainer [Pipeline] sh 23:51:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:51:26 Stashed 1 file(s) [Pipeline] echo 23:51:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 23:51:26 provisioning config files... 23:51:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1529628018671635256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:26 ---> docker-login.sh 23:51:26 nexus3.edgexfoundry.org:10001 23:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:26 Configure a credential helper to remove this warning. See 23:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:26 23:51:26 Login Succeeded 23:51:26 nexus3.edgexfoundry.org:10002 23:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:26 Configure a credential helper to remove this warning. See 23:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:26 23:51:26 Login Succeeded 23:51:26 nexus3.edgexfoundry.org:10003 23:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:26 Configure a credential helper to remove this warning. See 23:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:26 23:51:26 Login Succeeded 23:51:26 nexus3.edgexfoundry.org:10004 23:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:26 Configure a credential helper to remove this warning. See 23:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:26 23:51:26 Login Succeeded 23:51:26 docker.io 23:51:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:27 Configure a credential helper to remove this warning. See 23:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:27 23:51:27 Login Succeeded 23:51:27 ---> docker-login.sh ends [Pipeline] } 23:51:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:51:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:51:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:51:27 ========================================================= 23:51:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:51:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:27 + 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 . 23:51:27 Sending build context to Docker daemon 1.571MB 23:51:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:51:27 Step 2/13 : FROM ${BASE} AS builder 23:51:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:51:27 213ec9aee27d: Pulling fs layer 23:51:27 4583459ba037: Pulling fs layer 23:51:27 93c1e223e6f2: Pulling fs layer 23:51:27 53926ce57604: Pulling fs layer 23:51:27 21b2b0c7a3f4: Pulling fs layer 23:51:27 22ff95d597cd: Pulling fs layer 23:51:27 12d6caf4c0d1: Pulling fs layer 23:51:27 96b7cbca73a9: Pulling fs layer 23:51:27 a7acece74701: Pulling fs layer 23:51:27 12d6caf4c0d1: Waiting 23:51:27 22ff95d597cd: Waiting 23:51:27 21b2b0c7a3f4: Waiting 23:51:27 a7acece74701: Waiting 23:51:27 53926ce57604: Waiting 23:51:27 96b7cbca73a9: Waiting 23:51:27 93c1e223e6f2: Verifying Checksum 23:51:27 93c1e223e6f2: Download complete 23:51:27 4583459ba037: Download complete 23:51:27 22ff95d597cd: Download complete 23:51:27 213ec9aee27d: Verifying Checksum 23:51:27 213ec9aee27d: Download complete 23:51:28 12d6caf4c0d1: Verifying Checksum 23:51:28 12d6caf4c0d1: Download complete 23:51:28 213ec9aee27d: Pull complete 23:51:28 4583459ba037: Pull complete 23:51:28 93c1e223e6f2: Pull complete 23:51:28 a7acece74701: Verifying Checksum 23:51:28 a7acece74701: Download complete 23:51:28 96b7cbca73a9: Verifying Checksum 23:51:28 96b7cbca73a9: Download complete 23:51:28 53926ce57604: Verifying Checksum 23:51:28 53926ce57604: Download complete 23:51:33 53926ce57604: Pull complete 23:51:33 21b2b0c7a3f4: Pull complete 23:51:33 22ff95d597cd: Pull complete 23:51:33 12d6caf4c0d1: Pull complete 23:51:35 96b7cbca73a9: Pull complete 23:51:35 a7acece74701: Pull complete 23:51:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:51:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:51:36 ---> db6d94c90886 23:51:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:51:37 ---> Running in e8093e884c74 23:51:37 Removing intermediate container e8093e884c74 23:51:37 ---> e4d6490f950a 23:51:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:51:37 ---> Running in c552f3b52dda 23:51:37 Removing intermediate container c552f3b52dda 23:51:37 ---> 5b68e480f790 23:51:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:51:38 ---> Running in ba1319a7f115 23:51:38 Removing intermediate container ba1319a7f115 23:51:38 ---> ee4d26b2cb1a 23:51:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:51:38 ---> Running in 5f17d73cc923 23:51:38 Removing intermediate container 5f17d73cc923 23:51:38 ---> 59689fb80e66 23:51:38 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:51:38 ---> Running in 2dff946e1385 23:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:51:39 (1/80) Installing mesa (21.3.8-r2) 23:51:39 (2/80) Installing libxau (1.0.9-r0) 23:51:39 (3/80) Installing libxdmcp (1.1.3-r0) 23:51:39 (4/80) Installing libxcb (1.15-r0) 23:51:39 (5/80) Installing libx11 (1.8-r0) 23:51:39 (6/80) Installing libxext (1.3.4-r0) 23:51:39 (7/80) Installing libxfixes (6.0.0-r0) 23:51:39 (8/80) Installing libxxf86vm (1.1.4-r2) 23:51:39 (9/80) Installing libpciaccess (0.16-r0) 23:51:39 (10/80) Installing libdrm (2.4.110-r0) 23:51:39 (11/80) Installing mesa-glapi (21.3.8-r2) 23:51:39 (12/80) Installing libxshmfence (1.3-r1) 23:51:39 (13/80) Installing mesa-gl (21.3.8-r2) 23:51:39 (14/80) Installing icu-data-full (71.1-r2) 23:51:39 (15/80) Installing libice (1.0.10-r0) 23:51:39 (16/80) Installing libuuid (2.38-r1) 23:51:39 (17/80) Installing libsm (1.2.3-r0) 23:51:39 (18/80) Installing libxt (1.2.1-r0) 23:51:39 (19/80) Installing libxmu (1.1.3-r0) 23:51:39 (20/80) Installing xset (1.2.4-r0) 23:51:39 (21/80) Installing xprop (1.2.5-r0) 23:51:39 (22/80) Installing xdg-utils (1.1.3-r3) 23:51:39 (23/80) Installing dbus-libs (1.14.4-r0) 23:51:39 (24/80) Installing libffi (3.4.2-r1) 23:51:39 (25/80) Installing libintl (0.21-r2) 23:51:39 (26/80) Installing libblkid (2.38-r1) 23:51:39 (27/80) Installing libmount (2.38-r1) 23:51:39 (28/80) Installing pcre (8.45-r2) 23:51:39 (29/80) Installing glib (2.72.1-r0) 23:51:39 (30/80) Installing icu-libs (71.1-r2) 23:51:39 (31/80) Installing libpcre2-16 (10.40-r0) 23:51:39 (32/80) Installing zstd-libs (1.5.2-r1) 23:51:39 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 23:51:39 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:51:39 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:51:39 (36/80) Installing mesa-gbm (21.3.8-r2) 23:51:39 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:51:39 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 23:51:39 (39/80) Installing libxcomposite (0.4.5-r0) 23:51:39 (40/80) Installing libbz2 (1.0.8-r1) 23:51:39 (41/80) Installing libpng (1.6.37-r1) 23:51:39 (42/80) Installing freetype (2.12.1-r0) 23:51:39 (43/80) Installing fontconfig (2.14.0-r0) 23:51:39 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:51:39 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:51:39 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:51:39 (47/80) Installing xz-libs (5.2.5-r1) 23:51:39 (48/80) Installing libxml2 (2.9.14-r2) 23:51:39 (49/80) Installing libxkbcommon (1.4.1-r0) 23:51:39 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:51:39 (51/80) Installing mesa-egl (21.3.8-r2) 23:51:39 (52/80) Installing avahi-libs (0.8-r6) 23:51:39 (53/80) Installing nettle (3.7.3-r0) 23:51:39 (54/80) Installing p11-kit (0.24.1-r0) 23:51:39 (55/80) Installing libtasn1 (4.18.0-r0) 23:51:39 (56/80) Installing libunistring (1.0-r0) 23:51:39 (57/80) Installing gnutls (3.7.7-r0) 23:51:40 (58/80) Installing cups-libs (2.4.2-r0) 23:51:40 (59/80) Installing graphite2 (1.3.14-r1) 23:51:40 (60/80) Installing harfbuzz (4.3.0-r0) 23:51:40 (61/80) Installing libevdev (1.12.1-r0) 23:51:40 (62/80) Installing mtdev (1.1.6-r0) 23:51:40 (63/80) Installing eudev-libs (3.2.11-r0) 23:51:40 (64/80) Installing libinput-libs (1.20.1-r0) 23:51:40 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:51:40 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:51:40 (67/80) Installing xcb-util (0.4.0-r3) 23:51:40 (68/80) Installing xcb-util-image (0.4.0-r1) 23:51:40 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:51:40 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:51:40 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:51:40 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 23:51:40 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:51:40 (74/80) Installing v4l-utils (1.22.1-r1) 23:51:40 (75/80) Installing udev-init-scripts (35-r0) 23:51:40 Executing udev-init-scripts-35-r0.post-install 23:51:40 (76/80) Installing kmod-libs (29-r2) 23:51:40 (77/80) Installing eudev (3.2.11-r0) 23:51:40 (78/80) Installing eudev-dev (3.2.11-r0) 23:51:40 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:51:40 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:51:40 Executing busybox-1.35.0-r17.trigger 23:51:40 Executing eudev-3.2.11-r0.trigger 23:51:40 OK: 330 MiB in 131 packages 23:51:41 Still waiting to schedule task 23:51:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:51:42 Removing intermediate container 2dff946e1385 23:51:42 ---> 34aabc5a0755 23:51:42 Step 8/13 : WORKDIR /device-usb-camera 23:51:42 ---> Running in 6fa78c17535a 23:51:42 Removing intermediate container 6fa78c17535a 23:51:42 ---> fcb6c02d495c 23:51:42 Step 9/13 : COPY go.mod vendor* ./ 23:51:42 ---> 297f75af01ad 23:51:42 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:42 ---> Running in d4021d395660 23:52:04 Removing intermediate container d4021d395660 23:52:04 ---> 0e45170da258 23:52:04 Step 11/13 : COPY . . 23:52:04 ---> 03899b961aef 23:52:04 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:52:04 ---> Running in b5cbd7be3969 23:52:05  % Total % Received % Xferd Average Speed Time Time Time Current 23:52:05 Dload Upload Total Spent Left Speed 23:52:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6887 0 --:--:-- --:--:-- --:--:-- 6896 23:52:05 Removing intermediate container b5cbd7be3969 23:52:05 ---> a74eca4fdea1 23:52:05 Step 13/13 : RUN ${MAKE} 23:52:05 ---> Running in 6a82cd974bd7 23:52:05 noop 23:52:06 Removing intermediate container 6a82cd974bd7 23:52:06 ---> fca61ed293eb 23:52:06 Successfully built fca61ed293eb 23:52:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:06 + docker inspect -f . ci-base-image-x86_64 23:52:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:06 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 23:52:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:07 $ docker top 639dfc72b2c6b5ed26e0536449e2a2a019dc7e37a5c5c9b841ce787ca0e819d7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:07 + go version 23:52:07 go version go1.18.7 linux/amd64 [Pipeline] } 23:52:07 $ docker stop --time=1 639dfc72b2c6b5ed26e0536449e2a2a019dc7e37a5c5c9b841ce787ca0e819d7 23:52:08 $ docker rm -f 639dfc72b2c6b5ed26e0536449e2a2a019dc7e37a5c5c9b841ce787ca0e819d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:09 + docker inspect -f . ci-base-image-x86_64 23:52:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:09 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 23:52:09 $ 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 23:52:09 $ docker top b2fe52faa18cd14bcc0bac3c4e9ec8898fa53ec259d0befff4e2cf9ae8ca8d07 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:10 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 23:52:10 + make test 23:52:10 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:52:10 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:52:22 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:52:22 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 1.9% of statements 23:52:29 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." 23:52:29 CGO_ENABLED=1 go vet ./... 23:52:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:52:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:52:33 ./bin/test-attribution-txt.sh [Pipeline] echo 23:52:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:52:33 $ docker stop --time=1 b2fe52faa18cd14bcc0bac3c4e9ec8898fa53ec259d0befff4e2cf9ae8ca8d07 23:52:35 $ docker rm -f b2fe52faa18cd14bcc0bac3c4e9ec8898fa53ec259d0befff4e2cf9ae8ca8d07 [Pipeline] // withDockerContainer [Pipeline] sh 23:52:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:52:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:52:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:52:36 + ls -al . 23:52:36 total 200 23:52:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:52 . 23:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:51 .. 23:52:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:52 .git 23:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:51 .github 23:52:36 -rw-rw-r-- 1 jenkins jenkins 414 Nov 8 23:51 .gitignore 23:52:36 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 23:51 .golangci.yml 23:52:36 -rw-rw-r-- 1 jenkins jenkins 77 Nov 8 23:51 .hadolint.yml 23:52:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:51 .semver 23:52:36 -rw-rw-r-- 1 jenkins jenkins 9702 Nov 8 23:51 Attribution.txt 23:52:36 -rw-rw-r-- 1 jenkins jenkins 1206 Nov 8 23:51 CHANGELOG.md 23:52:36 -rw-rw-r-- 1 jenkins jenkins 2378 Nov 8 23:51 Dockerfile 23:52:36 -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:51 GOVERNANCE.md 23:52:36 -rw-rw-r-- 1 jenkins jenkins 659 Nov 8 23:51 Jenkinsfile 23:52:36 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 23:51 LICENSE 23:52:36 -rw-rw-r-- 1 jenkins jenkins 2554 Nov 8 23:51 Makefile 23:52:36 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 23:51 OWNERS.md 23:52:36 -rw-rw-r-- 1 jenkins jenkins 5773 Nov 8 23:51 README.md 23:52:36 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:51 VERSION 23:52:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:51 bin 23:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:51 cmd 23:52:36 -rw-r--r-- 1 jenkins jenkins 29387 Nov 8 23:52 coverage.out 23:52:36 -rwxrwxr-x 1 jenkins jenkins 140 Nov 8 23:51 docker-entrypoint.sh 23:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:51 docs 23:52:36 -rw-rw-r-- 1 jenkins jenkins 3573 Nov 8 23:51 go.mod 23:52:36 -rw-rw-r-- 1 jenkins jenkins 45026 Nov 8 23:51 go.sum 23:52:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:51 internal 23:52:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:51 snap 23:52:36 -rw-rw-r-- 1 jenkins jenkins 231 Nov 8 23:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:37 + 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=059aeb0713fc4e07acd8c370d817b94cb81fd04d --label arch=amd64 --label version=2.3.0-dev.21 . 23:52:37 Sending build context to Docker daemon 1.602MB 23:52:37 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:52:37 Step 2/35 : FROM ${BASE} AS builder 23:52:37 ---> fca61ed293eb 23:52:37 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:52:37 ---> Running in ad5c31e79e61 23:52:37 Removing intermediate container ad5c31e79e61 23:52:37 ---> d286e3665634 23:52:37 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:37 ---> Running in 3de64e3b4180 23:52:37 Removing intermediate container 3de64e3b4180 23:52:37 ---> 20471e14abe9 23:52:37 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:52:37 ---> Running in 5cb0aa1f4fb9 23:52:37 Removing intermediate container 5cb0aa1f4fb9 23:52:37 ---> 1fa4b0cbb10e 23:52:37 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:52:37 ---> Running in 998a9ce38550 23:52:37 Removing intermediate container 998a9ce38550 23:52:37 ---> 6ac04129ebae 23:52:37 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:37 ---> Running in 2dbbfcd1a716 23:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:52:38 OK: 330 MiB in 131 packages 23:52:39 Removing intermediate container 2dbbfcd1a716 23:52:39 ---> 5f215437c19f 23:52:39 Step 8/35 : WORKDIR /device-usb-camera 23:52:39 ---> Running in b164db317506 23:52:39 Removing intermediate container b164db317506 23:52:39 ---> 488af7b691b2 23:52:39 Step 9/35 : COPY go.mod vendor* ./ 23:52:39 ---> c9044ef96c9a 23:52:39 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:39 ---> Running in effbdc119f6c 23:52:40 Removing intermediate container effbdc119f6c 23:52:40 ---> 755b4043aeb9 23:52:40 Step 11/35 : COPY . . 23:52:40 ---> 3dac640198c4 23:52:40 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:52:40 ---> Running in 8082b6e07e29 23:52:40  % Total % Received % Xferd Average Speed Time Time Time Current 23:52:40 Dload Upload Total Spent Left Speed 23:52:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0     0  45299    0 --:--:-- --:--:-- --:--:-- 46173 23:52:41 Removing intermediate container 8082b6e07e29 23:52:41 ---> 429cfd82b514 23:52:41 Step 13/35 : RUN ${MAKE} 23:52:41 ---> Running in 066280df9b2f 23:52:41 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:53:03 Removing intermediate container 066280df9b2f 23:53:03 ---> c7ddbde0620c 23:53:03 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 23:53:03 v0.18.4: Pulling from aler9/rtsp-simple-server 23:53:04 af6660deedbd: Pulling fs layer 23:53:04 97cd0a44c592: Pulling fs layer 23:53:04 97cd0a44c592: Verifying Checksum 23:53:04 97cd0a44c592: Download complete 23:53:04 af6660deedbd: Verifying Checksum 23:53:04 af6660deedbd: Download complete 23:53:04 af6660deedbd: Pull complete 23:53:04 97cd0a44c592: Pull complete 23:53:04 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 23:53:04 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 23:53:04 ---> fea57e182299 23:53:04 Step 15/35 : FROM alpine:3.16 23:53:05 3.16: Pulling from library/alpine 23:53:05 213ec9aee27d: Already exists 23:53:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:53:05 Status: Downloaded newer image for alpine:3.16 23:53:05 ---> 9c6f07244728 23:53:05 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:53:05 ---> Running in fa11e8bc6b46 23:53:05 Removing intermediate container fa11e8bc6b46 23:53:05 ---> d35e988dce21 23:53:05 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:53:05 ---> Running in fc7be207467d 23:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:53:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:53:06 (1/83) Installing dumb-init (1.2.5-r1) 23:53:06 (2/83) Installing sdl2 (2.0.22-r0) 23:53:06 (3/83) Installing libxau (1.0.9-r0) 23:53:06 (4/83) Installing libxdmcp (1.1.3-r0) 23:53:06 (5/83) Installing libxcb (1.15-r0) 23:53:06 (6/83) Installing libx11 (1.8-r0) 23:53:06 (7/83) Installing aom-libs (3.3.0-r0) 23:53:06 (8/83) Installing alsa-lib (1.2.7.2-r0) 23:53:06 (9/83) Installing expat (2.5.0-r0) 23:53:06 (10/83) Installing brotli-libs (1.0.9-r6) 23:53:06 (11/83) Installing libbz2 (1.0.8-r1) 23:53:06 (12/83) Installing libpng (1.6.37-r1) 23:53:06 (13/83) Installing freetype (2.12.1-r0) 23:53:06 (14/83) Installing fontconfig (2.14.0-r0) 23:53:06 (15/83) Installing fribidi (1.0.12-r0) 23:53:06 (16/83) Installing libffi (3.4.2-r1) 23:53:06 (17/83) Installing libintl (0.21-r2) 23:53:06 (18/83) Installing libblkid (2.38-r1) 23:53:06 (19/83) Installing libmount (2.38-r1) 23:53:06 (20/83) Installing pcre (8.45-r2) 23:53:06 (21/83) Installing glib (2.72.1-r0) 23:53:06 (22/83) Installing graphite2 (1.3.14-r1) 23:53:06 (23/83) Installing harfbuzz (4.3.0-r0) 23:53:06 (24/83) Installing libass (0.16.0-r0) 23:53:06 (25/83) Installing libdav1d (1.0.0-r0) 23:53:06 (26/83) Installing libpciaccess (0.16-r0) 23:53:06 (27/83) Installing libdrm (2.4.110-r0) 23:53:06 (28/83) Installing gmp (6.2.1-r2) 23:53:06 (29/83) Installing nettle (3.7.3-r0) 23:53:06 (30/83) Installing p11-kit (0.24.1-r0) 23:53:06 (31/83) Installing libtasn1 (4.18.0-r0) 23:53:06 (32/83) Installing libunistring (1.0-r0) 23:53:06 (33/83) Installing gnutls (3.7.7-r0) 23:53:06 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 23:53:06 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 23:53:06 (36/83) Installing lame (3.100-r0) 23:53:06 (37/83) Installing opus (1.3.1-r1) 23:53:06 (38/83) Installing libasyncns (0.8-r1) 23:53:06 (39/83) Installing dbus-libs (1.14.4-r0) 23:53:06 (40/83) Installing libltdl (2.4.7-r0) 23:53:06 (41/83) Installing orc (0.4.32-r0) 23:53:06 (42/83) Installing libgcc (11.2.1_git20220219-r2) 23:53:06 (43/83) Installing libogg (1.3.5-r1) 23:53:06 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 23:53:06 (45/83) Installing flac (1.3.4-r0) 23:53:06 (46/83) Installing libvorbis (1.3.7-r0) 23:53:06 (47/83) Installing libsndfile (1.1.0-r0) 23:53:06 (48/83) Installing libgomp (11.2.1_git20220219-r2) 23:53:06 (49/83) Installing soxr (0.1.3-r2) 23:53:06 (50/83) Installing speexdsp (1.2.0-r0) 23:53:06 (51/83) Installing tdb-libs (1.4.6-r0) 23:53:06 (52/83) Installing libpulse (15.0-r2) 23:53:06 (53/83) Installing cjson (1.7.15-r3) 23:53:06 (54/83) Installing mbedtls (2.28.1-r0) 23:53:06 (55/83) Installing librist (0.2.6-r1) 23:53:06 (56/83) Installing libsrt (1.4.4-r0) 23:53:07 (57/83) Installing libssh (0.9.6-r1) 23:53:07 (58/83) Installing libtheora (1.1.1-r16) 23:53:07 (59/83) Installing libjpeg-turbo (2.1.3-r1) 23:53:07 (60/83) Installing v4l-utils-libs (1.22.1-r1) 23:53:07 (61/83) Installing libxext (1.3.4-r0) 23:53:07 (62/83) Installing libxfixes (6.0.0-r0) 23:53:07 (63/83) Installing wayland-libs-client (1.20.0-r0) 23:53:07 (64/83) Installing libva (2.14.0-r0) 23:53:07 (65/83) Installing libvdpau (1.5-r0) 23:53:07 (66/83) Installing vidstab (1.1.0-r1) 23:53:07 (67/83) Installing libvpx (1.11.0-r1) 23:53:07 (68/83) Installing libwebp (1.2.3-r0) 23:53:07 (69/83) Installing x264-libs (0.163_git20210613-r0) 23:53:07 (70/83) Installing numactl (2.0.14-r0) 23:53:07 (71/83) Installing x265-libs (3.5-r3) 23:53:07 (72/83) Installing xvidcore (1.3.7-r1) 23:53:07 (73/83) Installing ffmpeg-libs (5.0.1-r1) 23:53:07 (74/83) Installing ffmpeg (5.0.1-r1) 23:53:07 (75/83) Installing udev-init-scripts (35-r0) 23:53:07 Executing udev-init-scripts-35-r0.post-install 23:53:07 (76/83) Installing eudev-libs (3.2.11-r0) 23:53:07 (77/83) Installing xz-libs (5.2.5-r1) 23:53:07 (78/83) Installing zstd-libs (1.5.2-r1) 23:53:07 (79/83) Installing kmod-libs (29-r2) 23:53:07 (80/83) Installing eudev (3.2.11-r0) 23:53:07 (81/83) Installing libsodium (1.0.18-r0) 23:53:07 (82/83) Installing libzmq (4.3.4-r0) 23:53:07 (83/83) Installing zeromq (4.3.4-r0) 23:53:07 Executing busybox-1.35.0-r17.trigger 23:53:07 Executing eudev-3.2.11-r0.trigger 23:53:07 OK: 101 MiB in 97 packages 23:53:09 Removing intermediate container fc7be207467d 23:53:09 ---> 1b27bc6063b8 23:53:09 Step 18/35 : WORKDIR / 23:53:09 ---> Running in fa1556dac6fa 23:53:09 Removing intermediate container fa1556dac6fa 23:53:09 ---> 1efd856cbaf4 23:53:09 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 23:53:09 ---> 99358942d79c 23:53:09 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 23:53:10 ---> 603a98ad2d10 23:53:10 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:53:10 ---> 01701278026f 23:53:10 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:53:10 ---> a6dcdf4b3bd2 23:53:10 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:53:10 ---> 082473da685f 23:53:10 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 23:53:10 ---> d6d873bbc7c5 23:53:10 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 23:53:11 ---> 7b6da2a5eec2 23:53:11 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:53:11 ---> Running in 2f79f0ebb941 23:53:11 Removing intermediate container 2f79f0ebb941 23:53:11 ---> aeed8a57927f 23:53:11 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:53:11 ---> Running in bfa706b7c8e2 23:53:12 Removing intermediate container bfa706b7c8e2 23:53:12 ---> d1913bc12d52 23:53:12 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:53:12 ---> Running in da29f317716c 23:53:13 Removing intermediate container da29f317716c 23:53:13 ---> b6a67d031ff5 23:53:13 Step 29/35 : EXPOSE 59983 23:53:13 ---> Running in f9abc29f7c82 23:53:13 Removing intermediate container f9abc29f7c82 23:53:13 ---> 7b1eada284ee 23:53:13 Step 30/35 : EXPOSE 8554 23:53:13 ---> Running in 106573034f68 23:53:13 Removing intermediate container 106573034f68 23:53:13 ---> 885c30dfe422 23:53:13 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:53:13 ---> Running in dd1929a51075 23:53:13 Removing intermediate container dd1929a51075 23:53:13 ---> 309d9fc0fb3b 23:53:13 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:53:13 ---> Running in ce4a75351811 23:53:13 Removing intermediate container ce4a75351811 23:53:13 ---> 66b534bc2ff8 23:53:13 Step 33/35 : LABEL arch=amd64 23:53:13 ---> Running in 9f29f0ddec30 23:53:13 Removing intermediate container 9f29f0ddec30 23:53:13 ---> 581b82668b05 23:53:13 Step 34/35 : LABEL git_sha=059aeb0713fc4e07acd8c370d817b94cb81fd04d 23:53:14 ---> Running in 487e85305135 23:53:14 Removing intermediate container 487e85305135 23:53:14 ---> 5fb71cca2249 23:53:14 Step 35/35 : LABEL version=2.3.0-dev.21 23:53:14 ---> Running in 5c18ab2206d2 23:53:14 Removing intermediate container 5c18ab2206d2 23:53:14 ---> 97a287a2066f 23:53:14 [Warning] One or more build-args [ARCH] were not consumed 23:53:14 Successfully built 97a287a2066f 23:53:14 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 23:53:14 provisioning config files... 23:53:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16161548357313616157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118699 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 23:53:14 Running in /w/workspace/device-usb-camera/62 [Pipeline] { [Pipeline] checkout 23:53:14 ---> docker-login.sh 23:53:14 nexus3.edgexfoundry.org:10001 23:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:14 Configure a credential helper to remove this warning. See 23:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:14 23:53:14 Login Succeeded 23:53:14 nexus3.edgexfoundry.org:10002 23:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:14 Selected Git installation does not exist. Using Default 23:53:14 The recommended git tool is: NONE 23:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:15 Configure a credential helper to remove this warning. See 23:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:15 23:53:15 Login Succeeded 23:53:15 nexus3.edgexfoundry.org:10003 23:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:15 Configure a credential helper to remove this warning. See 23:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:15 23:53:15 Login Succeeded 23:53:15 nexus3.edgexfoundry.org:10004 23:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:15 Configure a credential helper to remove this warning. See 23:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:15 23:53:15 Login Succeeded 23:53:15 docker.io 23:53:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:16 Configure a credential helper to remove this warning. See 23:53:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:16 23:53:16 Login Succeeded 23:53:16 ---> docker-login.sh ends [Pipeline] } 23:53:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:16 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 23:53:16 059aeb0713fc4e07acd8c370d817b94cb81fd04d 23:53:16 latest 23:53:16 2.3.0-dev.21 23:53:16 059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 23:53:16 main 23:53:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d 23:53:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:53:17 98ddd0d6d0b2: Preparing 23:53:17 e9346fd04294: Preparing 23:53:17 d505a8ca6ca6: Preparing 23:53:17 550e596c6d0e: Preparing 23:53:17 1207169bf42c: Preparing 23:53:17 89f5f1d8186f: Preparing 23:53:17 6bdab5696b47: Preparing 23:53:17 fc2dc0a13a53: Preparing 23:53:17 059902cc2459: Preparing 23:53:17 63299566f54b: Preparing 23:53:17 52bc1f1a6f43: Preparing 23:53:17 994393dc58e7: Preparing 23:53:17 89f5f1d8186f: Waiting 23:53:17 6bdab5696b47: Waiting 23:53:17 52bc1f1a6f43: Waiting 23:53:17 994393dc58e7: Waiting 23:53:17 63299566f54b: Waiting 23:53:17 1207169bf42c: Pushed 23:53:17 d505a8ca6ca6: Pushed 23:53:17 e9346fd04294: Pushed 23:53:17 98ddd0d6d0b2: Pushed 23:53:17 89f5f1d8186f: Pushed 23:53:17 fc2dc0a13a53: Pushed 23:53:17 6bdab5696b47: Pushed 23:53:17 059902cc2459: Pushed 23:53:17 994393dc58e7: Layer already exists 23:53:19 550e596c6d0e: Pushed 23:53:20 63299566f54b: Pushed 23:53:20 using credential edgex-jenkins-ssh 23:53:20 Cloning the remote Git repository 23:53:20 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:53:20 > git init /w/workspace/device-usb-camera/62 # timeout=10 23:53:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:53:20 > git --version # timeout=10 23:53:21 > git --version # 'git version 2.25.1' 23:53:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:53:21 Verifying host key using known hosts file 23:53:21 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:53:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:53:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:23 Avoid second fetch 23:53:23 Checking out Revision 059aeb0713fc4e07acd8c370d817b94cb81fd04d (main) 23:53:24 Commit message: "Merge pull request #112 from lenny-intel/released-sdk" 23:53:23 > git config core.sparsecheckout # timeout=10 23:53:23 > git checkout -f 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:53:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:53:25 Dload Upload Total Spent Left Speed 23:53:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80267 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh 23:53:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:53:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 23:53:26 sudo tee /etc/docker/daemon.new 23:53:26 { 23:53:26 "registry-mirrors": [ 23:53:26 "https://nexus3.edgexfoundry.org:10001" 23:53:26 ], 23:53:26 "bip": "10.250.0.254/24", 23:53:26 "hosts": [ 23:53:26 "tcp://0.0.0.0:5555", 23:53:26 "unix:///var/run/docker.sock" 23:53:26 ], 23:53:26 "mtu": 1458, 23:53:26 "selinux-enabled": true, 23:53:26 "seccomp-profile": "/etc/docker/seccomp.json" 23:53:26 } [Pipeline] sh 23:53:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:53:27 + sudo service docker restart 23:53:27 52bc1f1a6f43: Pushed 23:53:27 059aeb0713fc4e07acd8c370d817b94cb81fd04d: digest: sha256:ddcd4d6677ab32a7645e876979226761be9ab89ec3a776412d3493cb650c242e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:27 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:53:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:53:28 98ddd0d6d0b2: Preparing 23:53:28 e9346fd04294: Preparing 23:53:28 d505a8ca6ca6: Preparing 23:53:28 550e596c6d0e: Preparing 23:53:28 1207169bf42c: Preparing 23:53:28 89f5f1d8186f: Preparing 23:53:28 6bdab5696b47: Preparing 23:53:28 fc2dc0a13a53: Preparing 23:53:28 059902cc2459: Preparing 23:53:28 63299566f54b: Preparing 23:53:28 52bc1f1a6f43: Preparing 23:53:28 994393dc58e7: Preparing 23:53:28 52bc1f1a6f43: Waiting 23:53:28 63299566f54b: Waiting 23:53:28 6bdab5696b47: Waiting 23:53:28 994393dc58e7: Waiting 23:53:28 fc2dc0a13a53: Waiting 23:53:28 059902cc2459: Waiting 23:53:28 89f5f1d8186f: Waiting 23:53:28 1207169bf42c: Layer already exists 23:53:28 98ddd0d6d0b2: Layer already exists 23:53:28 e9346fd04294: Layer already exists 23:53:28 550e596c6d0e: Layer already exists 23:53:28 d505a8ca6ca6: Layer already exists 23:53:28 89f5f1d8186f: Layer already exists 23:53:28 fc2dc0a13a53: Layer already exists 23:53:28 6bdab5696b47: Layer already exists 23:53:28 63299566f54b: Layer already exists 23:53:28 059902cc2459: Layer already exists 23:53:28 994393dc58e7: Layer already exists 23:53:28 52bc1f1a6f43: Layer already exists 23:53:28 latest: digest: sha256:ddcd4d6677ab32a7645e876979226761be9ab89ec3a776412d3493cb650c242e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:28 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.21 23:53:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:53:28 98ddd0d6d0b2: Preparing 23:53:28 e9346fd04294: Preparing 23:53:28 d505a8ca6ca6: Preparing 23:53:28 550e596c6d0e: Preparing 23:53:28 1207169bf42c: Preparing 23:53:28 89f5f1d8186f: Preparing 23:53:28 6bdab5696b47: Preparing 23:53:28 fc2dc0a13a53: Preparing 23:53:28 059902cc2459: Preparing 23:53:28 63299566f54b: Preparing 23:53:28 52bc1f1a6f43: Preparing 23:53:28 994393dc58e7: Preparing 23:53:28 89f5f1d8186f: Waiting 23:53:28 6bdab5696b47: Waiting 23:53:28 059902cc2459: Waiting 23:53:28 fc2dc0a13a53: Waiting 23:53:28 63299566f54b: Waiting 23:53:28 52bc1f1a6f43: Waiting 23:53:28 d505a8ca6ca6: Layer already exists 23:53:28 98ddd0d6d0b2: Layer already exists 23:53:28 550e596c6d0e: Layer already exists 23:53:28 1207169bf42c: Layer already exists 23:53:28 e9346fd04294: Layer already exists 23:53:28 6bdab5696b47: Layer already exists 23:53:28 059902cc2459: Layer already exists 23:53:28 89f5f1d8186f: Layer already exists 23:53:28 fc2dc0a13a53: Layer already exists 23:53:28 63299566f54b: Layer already exists 23:53:28 994393dc58e7: Layer already exists 23:53:28 52bc1f1a6f43: Layer already exists 23:53:28 2.3.0-dev.21: digest: sha256:ddcd4d6677ab32a7645e876979226761be9ab89ec3a776412d3493cb650c242e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 23:53:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:53:29 98ddd0d6d0b2: Preparing 23:53:29 e9346fd04294: Preparing 23:53:29 d505a8ca6ca6: Preparing 23:53:29 550e596c6d0e: Preparing 23:53:29 1207169bf42c: Preparing 23:53:29 89f5f1d8186f: Preparing 23:53:29 6bdab5696b47: Preparing 23:53:29 fc2dc0a13a53: Preparing 23:53:29 059902cc2459: Preparing 23:53:29 63299566f54b: Preparing 23:53:29 52bc1f1a6f43: Preparing 23:53:29 994393dc58e7: Preparing 23:53:29 6bdab5696b47: Waiting 23:53:29 059902cc2459: Waiting 23:53:29 fc2dc0a13a53: Waiting 23:53:29 63299566f54b: Waiting 23:53:29 89f5f1d8186f: Waiting 23:53:29 994393dc58e7: Waiting 23:53:29 98ddd0d6d0b2: Layer already exists 23:53:29 550e596c6d0e: Layer already exists 23:53:29 e9346fd04294: Layer already exists 23:53:29 d505a8ca6ca6: Layer already exists 23:53:29 1207169bf42c: Layer already exists 23:53:29 6bdab5696b47: Layer already exists 23:53:29 63299566f54b: Layer already exists 23:53:29 89f5f1d8186f: Layer already exists 23:53:29 059902cc2459: Layer already exists 23:53:29 fc2dc0a13a53: Layer already exists 23:53:29 52bc1f1a6f43: Layer already exists 23:53:29 994393dc58e7: Layer already exists 23:53:29 059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21: digest: sha256:ddcd4d6677ab32a7645e876979226761be9ab89ec3a776412d3493cb650c242e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:30 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 23:53:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:53:30 98ddd0d6d0b2: Preparing 23:53:30 e9346fd04294: Preparing 23:53:30 d505a8ca6ca6: Preparing 23:53:30 550e596c6d0e: Preparing 23:53:30 1207169bf42c: Preparing 23:53:30 89f5f1d8186f: Preparing 23:53:30 6bdab5696b47: Preparing 23:53:30 fc2dc0a13a53: Preparing 23:53:30 059902cc2459: Preparing 23:53:30 63299566f54b: Preparing 23:53:30 52bc1f1a6f43: Preparing 23:53:30 994393dc58e7: Preparing 23:53:30 6bdab5696b47: Waiting 23:53:30 89f5f1d8186f: Waiting 23:53:30 fc2dc0a13a53: Waiting 23:53:30 059902cc2459: Waiting 23:53:30 52bc1f1a6f43: Waiting 23:53:30 994393dc58e7: Waiting 23:53:30 63299566f54b: Waiting 23:53:30 550e596c6d0e: Layer already exists 23:53:30 e9346fd04294: Layer already exists 23:53:30 1207169bf42c: Layer already exists 23:53:30 d505a8ca6ca6: Layer already exists 23:53:30 98ddd0d6d0b2: Layer already exists 23:53:30 89f5f1d8186f: Layer already exists 23:53:30 63299566f54b: Layer already exists 23:53:30 fc2dc0a13a53: Layer already exists 23:53:30 6bdab5696b47: Layer already exists 23:53:30 059902cc2459: Layer already exists 23:53:30 52bc1f1a6f43: Layer already exists 23:53:30 994393dc58e7: Layer already exists 23:53:30 main: digest: sha256:ddcd4d6677ab32a7645e876979226761be9ab89ec3a776412d3493cb650c242e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:53:30 ===================================================== [Pipeline] echo 23:53:30 taggedImages: 23:53:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d 23:53:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:53:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.21 23:53:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 23:53:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:31 23:53:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:31 latest: Pulling from edgex-lftools-log-publisher 23:53:31 5eb5b503b376: Pulling fs layer 23:53:31 5c69ac0246d0: Pulling fs layer 23:53:31 ec43610c2a17: Pulling fs layer 23:53:31 3a2ae6a8a46f: Pulling fs layer 23:53:31 33b1e0a273af: Pulling fs layer 23:53:31 5d3b04190fa2: Pulling fs layer 23:53:31 2f39f015ded8: Pulling fs layer 23:53:31 3a2ae6a8a46f: Waiting 23:53:31 33b1e0a273af: Waiting 23:53:31 2f39f015ded8: Waiting 23:53:31 5d3b04190fa2: Waiting 23:53:31 5c69ac0246d0: Download complete 23:53:31 3a2ae6a8a46f: Download complete 23:53:32 33b1e0a273af: Verifying Checksum 23:53:32 33b1e0a273af: Download complete 23:53:32 5d3b04190fa2: Download complete 23:53:32 ec43610c2a17: Verifying Checksum 23:53:32 ec43610c2a17: Download complete 23:53:32 5eb5b503b376: Verifying Checksum 23:53:32 5eb5b503b376: Download complete 23:53:33 2f39f015ded8: Download complete 23:53:33 5eb5b503b376: Pull complete 23:53:33 5c69ac0246d0: Pull complete 23:53:34 ec43610c2a17: Pull complete 23:53:34 3a2ae6a8a46f: Pull complete 23:53:34 33b1e0a273af: Pull complete 23:53:34 5d3b04190fa2: Pull complete 23:53:39 2f39f015ded8: Pull complete 23:53:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:53:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:39 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 23:53:39 $ 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 23:53:41 $ docker top 7691e6abb93af98a671b45617358e3cb524a8bade894c97ec62f342b071ac736 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:41 ---> job-cost.sh 23:53:41 lf-activate-venv: SKIPPING 23:53:41 INFO: No Stack... 23:53:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:42 INFO: Archiving Costs [Pipeline] sh 23:53:42 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 23:53:42 + cut -d, -f6 [Pipeline] lock 23:53:42 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] 23:53:42 Resource [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] did not exist. Created. 23:53:42 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:43 + echo total: 0.2199999988079071 [Pipeline] stash 23:53:43 Stashed 1 file(s) [Pipeline] } 23:53:43 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 23:53:43 $ docker stop --time=1 7691e6abb93af98a671b45617358e3cb524a8bade894c97ec62f342b071ac736 23:53:44 $ docker rm -f 7691e6abb93af98a671b45617358e3cb524a8bade894c97ec62f342b071ac736 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:45 provisioning config files... 23:53:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/62@tmp/config4726589809111002041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:46 ---> docker-login.sh 23:53:46 nexus3.edgexfoundry.org:10001 23:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:46 Configure a credential helper to remove this warning. See 23:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:46 23:53:46 Login Succeeded 23:53:47 nexus3.edgexfoundry.org:10002 23:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:47 Configure a credential helper to remove this warning. See 23:53:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:47 23:53:47 Login Succeeded 23:53:47 nexus3.edgexfoundry.org:10003 23:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:47 Configure a credential helper to remove this warning. See 23:53:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:47 23:53:47 Login Succeeded 23:53:47 nexus3.edgexfoundry.org:10004 23:53:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:47 Configure a credential helper to remove this warning. See 23:53:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:47 23:53:47 Login Succeeded 23:53:47 docker.io 23:53:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:48 Configure a credential helper to remove this warning. See 23:53:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:48 23:53:48 Login Succeeded 23:53:48 ---> docker-login.sh ends [Pipeline] } 23:53:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:53:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:48 ========================================================= 23:53:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:53:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:49 + 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 . 23:53:49 Sending build context to Docker daemon 1.03MB 23:53:49 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:53:49 Step 2/13 : FROM ${BASE} AS builder 23:53:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:53:49 9b18e9b68314: Pulling fs layer 23:53:49 35d82f9e3411: Pulling fs layer 23:53:49 e16973657156: Pulling fs layer 23:53:49 fc693d55d65f: Pulling fs layer 23:53:49 7e9fc2657dce: Pulling fs layer 23:53:49 dda99020689f: Pulling fs layer 23:53:49 db1c61fa0a46: Pulling fs layer 23:53:49 891c053d2c06: Pulling fs layer 23:53:49 dda99020689f: Waiting 23:53:49 db1c61fa0a46: Waiting 23:53:49 891c053d2c06: Waiting 23:53:49 fc693d55d65f: Waiting 23:53:49 7e9fc2657dce: Waiting 23:53:49 e16973657156: Verifying Checksum 23:53:49 e16973657156: Download complete 23:53:49 35d82f9e3411: Verifying Checksum 23:53:49 35d82f9e3411: Download complete 23:53:49 7e9fc2657dce: Verifying Checksum 23:53:49 7e9fc2657dce: Download complete 23:53:49 dda99020689f: Verifying Checksum 23:53:49 dda99020689f: Download complete 23:53:49 9b18e9b68314: Download complete 23:53:50 9b18e9b68314: Pull complete 23:53:50 891c053d2c06: Verifying Checksum 23:53:50 891c053d2c06: Download complete 23:53:50 35d82f9e3411: Pull complete 23:53:51 e16973657156: Pull complete 23:53:51 db1c61fa0a46: Verifying Checksum 23:53:51 db1c61fa0a46: Download complete 23:53:52 fc693d55d65f: Download complete 23:54:04 fc693d55d65f: Pull complete 23:54:04 7e9fc2657dce: Pull complete 23:54:04 dda99020689f: Pull complete 23:54:09 db1c61fa0a46: Pull complete 23:54:11 891c053d2c06: Pull complete 23:54:11 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:54:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:54:12 ---> f96f9c87975a 23:54:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:54:13 ---> Running in 9eec4264b974 23:54:13 Removing intermediate container 9eec4264b974 23:54:13 ---> d9531b905f6e 23:54:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:14 ---> Running in 61a7edd475f9 23:54:14 Removing intermediate container 61a7edd475f9 23:54:14 ---> fefb0e4fbde6 23:54:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:54:14 ---> Running in b8480acb8a2b 23:54:14 Removing intermediate container b8480acb8a2b 23:54:14 ---> 9842d9b7ac9a 23:54:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:54:14 ---> Running in db4d6038616d 23:54:15 Removing intermediate container db4d6038616d 23:54:15 ---> 0145913bb230 23:54:15 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:15 ---> Running in 893ac3702260 23:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:54:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:54:17 (1/14) Installing libintl (0.21-r2) 23:54:17 (2/14) Installing eudev-libs (3.2.11-r0) 23:54:17 (3/14) Installing libjpeg-turbo (2.1.3-r1) 23:54:17 (4/14) Installing v4l-utils-libs (1.22.1-r1) 23:54:17 (5/14) Installing v4l-utils (1.22.1-r1) 23:54:17 (6/14) Installing udev-init-scripts (35-r0) 23:54:17 Executing udev-init-scripts-35-r0.post-install 23:54:17 (7/14) Installing libblkid (2.38-r1) 23:54:17 (8/14) Installing xz-libs (5.2.5-r1) 23:54:17 (9/14) Installing zstd-libs (1.5.2-r1) 23:54:17 (10/14) Installing kmod-libs (29-r2) 23:54:17 (11/14) Installing eudev (3.2.11-r0) 23:54:17 (12/14) Installing eudev-dev (3.2.11-r0) 23:54:17 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:54:17 (14/14) Installing v4l-utils-dev (1.22.1-r1) 23:54:17 Executing busybox-1.35.0-r17.trigger 23:54:17 Executing eudev-3.2.11-r0.trigger 23:54:17 OK: 228 MiB in 65 packages 23:54:19 Removing intermediate container 893ac3702260 23:54:19 ---> 612cc41fc4f8 23:54:19 Step 8/13 : WORKDIR /device-usb-camera 23:54:19 ---> Running in 3e14cd192881 23:54:19 Removing intermediate container 3e14cd192881 23:54:19 ---> ff5e66d37230 23:54:19 Step 9/13 : COPY go.mod vendor* ./ 23:54:20 ---> 8cadd548e7ef 23:54:20 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:20 ---> Running in 9f27c9680860 23:55:16 Removing intermediate container 9f27c9680860 23:55:16 ---> 6d4d55fed5df 23:55:16 Step 11/13 : COPY . . 23:55:16 ---> 9d669a8655dc 23:55:16 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:55:16 ---> Running in a332962c715f 23:55:16  % Total % Received % Xferd Average Speed Time Time Time Current 23:55:16 Dload Upload Total Spent Left  Speed 23:55:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13884 0 --:--:-- --:--:-- --:--:-- 14160 23:55:16 Removing intermediate container a332962c715f 23:55:16 ---> c9bd7d1851c6 23:55:16 Step 13/13 : RUN ${MAKE} 23:55:16 ---> Running in 2bb0b052df42 23:55:17 noop 23:55:18 Removing intermediate container 2bb0b052df42 23:55:18 ---> d02d24da4ddd 23:55:18 Successfully built d02d24da4ddd 23:55:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:18 + docker inspect -f . ci-base-image-arm64 23:55:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:18 prd-ubuntu20.04-docker-arm64-4c-16g-118699 does not seem to be running inside a container 23:55:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/62 -v /w/workspace/device-usb-camera/62:/w/workspace/device-usb-camera/62:rw,z -v /w/workspace/device-usb-camera/62@tmp:/w/workspace/device-usb-camera/62@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 23:55:20 $ docker top ccb03040f4d2ad017c7d7b02ab43f72a41fc7ecc69edba05f5d6ea974b79e6d5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:20 + go version 23:55:20 go version go1.18.7 linux/arm64 [Pipeline] } 23:55:20 $ docker stop --time=1 ccb03040f4d2ad017c7d7b02ab43f72a41fc7ecc69edba05f5d6ea974b79e6d5 23:55:22 $ docker rm -f ccb03040f4d2ad017c7d7b02ab43f72a41fc7ecc69edba05f5d6ea974b79e6d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:23 + docker inspect -f . ci-base-image-arm64 23:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:23 prd-ubuntu20.04-docker-arm64-4c-16g-118699 does not seem to be running inside a container 23:55:23 $ 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/62 -v /w/workspace/device-usb-camera/62:/w/workspace/device-usb-camera/62:rw,z -v /w/workspace/device-usb-camera/62@tmp:/w/workspace/device-usb-camera/62@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 23:55:24 $ docker top 3a534047aa44b6f3b4ca34b46a0e1923479f4b5f352f3ec6aae5082bd96136b4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:24 + git config --global --add safe.directory /w/workspace/device-usb-camera/62 [Pipeline] fileExists [Pipeline] sh 23:55:25 + make test 23:55:25 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:55:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:57:03 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:57:03 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements 23:57:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:57:03 CGO_ENABLED=1 go vet ./... 23:57:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:57:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:57:25 ./bin/test-attribution-txt.sh [Pipeline] echo 23:57:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:57:25 $ docker stop --time=1 3a534047aa44b6f3b4ca34b46a0e1923479f4b5f352f3ec6aae5082bd96136b4 23:57:27 $ docker rm -f 3a534047aa44b6f3b4ca34b46a0e1923479f4b5f352f3ec6aae5082bd96136b4 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:57:28 Warning: overwriting stash ‘coverage-report’ 23:57:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:57:29 + ls -al . 23:57:29 total 196 23:57:29 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:55 . 23:57:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:53 .. 23:57:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:53 .git 23:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:53 .github 23:57:29 -rw-rw-r-- 1 jenkins jenkins 414 Nov 8 23:53 .gitignore 23:57:29 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 23:53 .golangci.yml 23:57:29 -rw-rw-r-- 1 jenkins jenkins 77 Nov 8 23:53 .hadolint.yml 23:57:29 -rw-rw-r-- 1 jenkins jenkins 9702 Nov 8 23:53 Attribution.txt 23:57:29 -rw-rw-r-- 1 jenkins jenkins 1206 Nov 8 23:53 CHANGELOG.md 23:57:29 -rw-rw-r-- 1 jenkins jenkins 2378 Nov 8 23:53 Dockerfile 23:57:29 -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:53 GOVERNANCE.md 23:57:29 -rw-rw-r-- 1 jenkins jenkins 659 Nov 8 23:53 Jenkinsfile 23:57:29 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 23:53 LICENSE 23:57:29 -rw-rw-r-- 1 jenkins jenkins 2554 Nov 8 23:53 Makefile 23:57:29 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 23:53 OWNERS.md 23:57:29 -rw-rw-r-- 1 jenkins jenkins 5773 Nov 8 23:53 README.md 23:57:29 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 23:51 VERSION 23:57:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:53 bin 23:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:53 cmd 23:57:29 -rw-r--r-- 1 jenkins jenkins 29387 Nov 8 23:57 coverage.out 23:57:29 -rwxrwxr-x 1 jenkins jenkins 140 Nov 8 23:53 docker-entrypoint.sh 23:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:53 docs 23:57:29 -rw-rw-r-- 1 jenkins jenkins 3573 Nov 8 23:53 go.mod 23:57:29 -rw-rw-r-- 1 jenkins jenkins 45026 Nov 8 23:53 go.sum 23:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:53 internal 23:57:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:53 snap 23:57:29 -rw-rw-r-- 1 jenkins jenkins 231 Nov 8 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:30 + 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=059aeb0713fc4e07acd8c370d817b94cb81fd04d --label arch=arm64 --label version=2.3.0-dev.21 . 23:57:30 Sending build context to Docker daemon 1.06MB 23:57:30 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:57:30 Step 2/35 : FROM ${BASE} AS builder 23:57:30 ---> d02d24da4ddd 23:57:30 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:57:32 ---> Running in 8a6deab89e05 23:57:32 Removing intermediate container 8a6deab89e05 23:57:32 ---> 1f6922efa012 23:57:32 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:32 ---> Running in bbc746865d8a 23:57:32 Removing intermediate container bbc746865d8a 23:57:32 ---> 061fd352adf0 23:57:32 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:57:32 ---> Running in 6e2ba197b8f4 23:57:33 Removing intermediate container 6e2ba197b8f4 23:57:33 ---> a9cc4e1f9708 23:57:33 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:57:33 ---> Running in 13ebfa87a552 23:57:33 Removing intermediate container 13ebfa87a552 23:57:33 ---> 731cdeb3e262 23:57:33 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:33 ---> Running in febf6ff7fb2b 23:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:57:36 OK: 228 MiB in 65 packages 23:57:37 Removing intermediate container febf6ff7fb2b 23:57:37 ---> 771f49b5ac23 23:57:37 Step 8/35 : WORKDIR /device-usb-camera 23:57:37 ---> Running in c9771869df6d 23:57:37 Removing intermediate container c9771869df6d 23:57:37 ---> 95f8f24aee30 23:57:37 Step 9/35 : COPY go.mod vendor* ./ 23:57:38 ---> ec36e22f3683 23:57:38 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:38 ---> Running in 0a7ac8c5a7b2 23:57:41 Removing intermediate container 0a7ac8c5a7b2 23:57:41 ---> fbe7bc57ad00 23:57:41 Step 11/35 : COPY . . 23:57:41 ---> 567526bfeef0 23:57:41 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:57:41 ---> Running in 7a9469500689 23:57:42  % Total % Received % Xferd Average Speed Time Time Time Current 23:57:42  Dload Upload Total  Spent Left Speed 23:57:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6272 0 --:--:-- --:--:-- --:--:-- 6321 23:57:43 Removing intermediate container 7a9469500689 23:57:43 ---> 5e6841af97ff 23:57:43 Step 13/35 : RUN ${MAKE} 23:57:43 ---> Running in 1545e6f432fe 23:57:44 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 00:00:36 Removing intermediate container 1545e6f432fe 00:00:36 ---> f74f83a4ba10 00:00:36 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 00:00:36 v0.18.4: Pulling from aler9/rtsp-simple-server 00:00:36 eab2503cf8f4: Pulling fs layer 00:00:36 97cd0a44c592: Pulling fs layer 00:00:36 97cd0a44c592: Download complete 00:00:36 eab2503cf8f4: Verifying Checksum 00:00:36 eab2503cf8f4: Download complete 00:00:36 eab2503cf8f4: Pull complete 00:00:36 97cd0a44c592: Pull complete 00:00:36 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 00:00:36 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 00:00:36 ---> 7f763cca56b3 00:00:36 Step 15/35 : FROM alpine:3.16 00:00:36 3.16: Pulling from library/alpine 00:00:36 9b18e9b68314: Already exists 00:00:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:00:36 Status: Downloaded newer image for alpine:3.16 00:00:36 ---> a6215f271958 00:00:36 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:00:36 ---> Running in 93cd10d409b4 00:00:36 Removing intermediate container 93cd10d409b4 00:00:36 ---> 3d766c53db5e 00:00:36 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 00:00:36 ---> Running in dcdc7335f8b7 00:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:00:36 (1/82) Installing dumb-init (1.2.5-r1) 00:00:36 (2/82) Installing sdl2 (2.0.22-r0) 00:00:36 (3/82) Installing libxau (1.0.9-r0) 00:00:36 (4/82) Installing libxdmcp (1.1.3-r0) 00:00:36 (5/82) Installing libxcb (1.15-r0) 00:00:36 (6/82) Installing libx11 (1.8-r0) 00:00:36 (7/82) Installing aom-libs (3.3.0-r0) 00:00:36 (8/82) Installing alsa-lib (1.2.7.2-r0) 00:00:36 (9/82) Installing expat (2.5.0-r0) 00:00:36 (10/82) Installing brotli-libs (1.0.9-r6) 00:00:36 (11/82) Installing libbz2 (1.0.8-r1) 00:00:36 (12/82) Installing libpng (1.6.37-r1) 00:00:36 (13/82) Installing freetype (2.12.1-r0) 00:00:36 (14/82) Installing fontconfig (2.14.0-r0) 00:00:36 (15/82) Installing fribidi (1.0.12-r0) 00:00:36 (16/82) Installing libffi (3.4.2-r1) 00:00:36 (17/82) Installing libintl (0.21-r2) 00:00:36 (18/82) Installing libblkid (2.38-r1) 00:00:36 (19/82) Installing libmount (2.38-r1) 00:00:36 (20/82) Installing pcre (8.45-r2) 00:00:36 (21/82) Installing glib (2.72.1-r0) 00:00:36 (22/82) Installing graphite2 (1.3.14-r1) 00:00:36 (23/82) Installing harfbuzz (4.3.0-r0) 00:00:36 (24/82) Installing libass (0.16.0-r0) 00:00:36 (25/82) Installing libdav1d (1.0.0-r0) 00:00:36 (26/82) Installing libdrm (2.4.110-r0) 00:00:36 (27/82) Installing gmp (6.2.1-r2) 00:00:36 (28/82) Installing nettle (3.7.3-r0) 00:00:36 (29/82) Installing p11-kit (0.24.1-r0) 00:00:36 (30/82) Installing libtasn1 (4.18.0-r0) 00:00:36 (31/82) Installing libunistring (1.0-r0) 00:00:36 (32/82) Installing gnutls (3.7.7-r0) 00:00:36 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 00:00:36 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 00:00:36 (35/82) Installing lame (3.100-r0) 00:00:36 (36/82) Installing opus (1.3.1-r1) 00:00:36 (37/82) Installing libasyncns (0.8-r1) 00:00:36 (38/82) Installing dbus-libs (1.14.4-r0) 00:00:36 (39/82) Installing libltdl (2.4.7-r0) 00:00:36 (40/82) Installing orc (0.4.32-r0) 00:00:36 (41/82) Installing libgcc (11.2.1_git20220219-r2) 00:00:36 (42/82) Installing libogg (1.3.5-r1) 00:00:36 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 00:00:36 (44/82) Installing flac (1.3.4-r0) 00:00:36 (45/82) Installing libvorbis (1.3.7-r0) 00:00:36 (46/82) Installing libsndfile (1.1.0-r0) 00:00:36 (47/82) Installing libgomp (11.2.1_git20220219-r2) 00:00:36 (48/82) Installing soxr (0.1.3-r2) 00:00:36 (49/82) Installing speexdsp (1.2.0-r0) 00:00:36 (50/82) Installing tdb-libs (1.4.6-r0) 00:00:36 (51/82) Installing libpulse (15.0-r2) 00:00:36 (52/82) Installing cjson (1.7.15-r3) 00:00:36 (53/82) Installing mbedtls (2.28.1-r0) 00:00:36 (54/82) Installing librist (0.2.6-r1) 00:00:36 (55/82) Installing libsrt (1.4.4-r0) 00:00:36 (56/82) Installing libssh (0.9.6-r1) 00:00:36 (57/82) Installing libtheora (1.1.1-r16) 00:00:36 (58/82) Installing libjpeg-turbo (2.1.3-r1) 00:00:36 (59/82) Installing v4l-utils-libs (1.22.1-r1) 00:00:36 (60/82) Installing libxext (1.3.4-r0) 00:00:36 (61/82) Installing libxfixes (6.0.0-r0) 00:00:36 (62/82) Installing wayland-libs-client (1.20.0-r0) 00:00:36 (63/82) Installing libva (2.14.0-r0) 00:00:36 (64/82) Installing libvdpau (1.5-r0) 00:00:36 (65/82) Installing vidstab (1.1.0-r1) 00:00:36 (66/82) Installing libvpx (1.11.0-r1) 00:00:36 (67/82) Installing libwebp (1.2.3-r0) 00:00:36 (68/82) Installing x264-libs (0.163_git20210613-r0) 00:00:36 (69/82) Installing numactl (2.0.14-r0) 00:00:36 (70/82) Installing x265-libs (3.5-r3) 00:00:36 (71/82) Installing xvidcore (1.3.7-r1) 00:00:36 (72/82) Installing ffmpeg-libs (5.0.1-r1) 00:00:36 (73/82) Installing ffmpeg (5.0.1-r1) 00:00:36 (74/82) Installing udev-init-scripts (35-r0) 00:00:36 Executing udev-init-scripts-35-r0.post-install 00:00:36 (75/82) Installing eudev-libs (3.2.11-r0) 00:00:36 (76/82) Installing xz-libs (5.2.5-r1) 00:00:36 (77/82) Installing zstd-libs (1.5.2-r1) 00:00:36 (78/82) Installing kmod-libs (29-r2) 00:00:36 (79/82) Installing eudev (3.2.11-r0) 00:00:36 (80/82) Installing libsodium (1.0.18-r0) 00:00:36 (81/82) Installing libzmq (4.3.4-r0) 00:00:36 (82/82) Installing zeromq (4.3.4-r0) 00:00:36 Executing busybox-1.35.0-r17.trigger 00:00:36 Executing eudev-3.2.11-r0.trigger 00:00:36 OK: 78 MiB in 96 packages 00:00:36 Removing intermediate container dcdc7335f8b7 00:00:36 ---> 6a29d78a9a0e 00:00:36 Step 18/35 : WORKDIR / 00:00:36 ---> Running in c473075bf474 00:00:36 Removing intermediate container c473075bf474 00:00:36 ---> ebfeef0ade20 00:00:36 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:00:36 ---> 6a777696ff91 00:00:36 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:00:37 ---> 2f2510145667 00:00:37 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:00:37 ---> 989a9f3f814d 00:00:37 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:00:38 ---> 897d9d46efa5 00:00:38 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:00:38 ---> 10bed44b8c8c 00:00:38 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:00:39 ---> 78cd75a74137 00:00:39 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:00:40 ---> 8b1ebc65d0d4 00:00:40 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:00:40 ---> Running in 8bfe033af963 00:00:42 Removing intermediate container 8bfe033af963 00:00:42 ---> e22246c4cb0f 00:00:42 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:00:42 ---> Running in fee889f4f81e 00:00:43 Removing intermediate container fee889f4f81e 00:00:43 ---> c0ee74401824 00:00:43 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:00:44 ---> Running in 8dcdc10f73b1 00:00:45 Removing intermediate container 8dcdc10f73b1 00:00:45 ---> 93ab202c9c33 00:00:45 Step 29/35 : EXPOSE 59983 00:00:45 ---> Running in aea5d3e774af 00:00:46 Removing intermediate container aea5d3e774af 00:00:46 ---> e690ad6f5d91 00:00:46 Step 30/35 : EXPOSE 8554 00:00:46 ---> Running in 5e0d8506cc48 00:00:46 Removing intermediate container 5e0d8506cc48 00:00:46 ---> 15425100ce31 00:00:46 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:00:46 ---> Running in 173b782d660f 00:00:46 Removing intermediate container 173b782d660f 00:00:46 ---> 0a0e747c4e9f 00:00:46 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 00:00:46 ---> Running in 3ee954e6379d 00:00:47 Removing intermediate container 3ee954e6379d 00:00:47 ---> 26e08c018154 00:00:47 Step 33/35 : LABEL arch=arm64 00:00:47 ---> Running in 82de0f93f11d 00:00:47 Removing intermediate container 82de0f93f11d 00:00:47 ---> 880e0037d1a8 00:00:47 Step 34/35 : LABEL git_sha=059aeb0713fc4e07acd8c370d817b94cb81fd04d 00:00:47 ---> Running in 2095f1e08c7a 00:00:47 Removing intermediate container 2095f1e08c7a 00:00:47 ---> 13746ab7cfb7 00:00:47 Step 35/35 : LABEL version=2.3.0-dev.21 00:00:47 ---> Running in 24dcfdd7de9e 00:00:48 Removing intermediate container 24dcfdd7de9e 00:00:48 ---> 62b81eaae1c9 00:00:48 [Warning] One or more build-args [ARCH] were not consumed 00:00:48 Successfully built 62b81eaae1c9 00:00:48 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:48 provisioning config files... 00:00:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/62@tmp/config5570658522335338822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:48 ---> docker-login.sh 00:00:48 nexus3.edgexfoundry.org:10001 00:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:48 Configure a credential helper to remove this warning. See 00:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:48 00:00:48 Login Succeeded 00:00:48 nexus3.edgexfoundry.org:10002 00:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:49 Configure a credential helper to remove this warning. See 00:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:49 00:00:49 Login Succeeded 00:00:49 nexus3.edgexfoundry.org:10003 00:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:49 Configure a credential helper to remove this warning. See 00:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:49 00:00:49 Login Succeeded 00:00:49 nexus3.edgexfoundry.org:10004 00:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:49 Configure a credential helper to remove this warning. See 00:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:49 00:00:49 Login Succeeded 00:00:49 docker.io 00:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:50 Configure a credential helper to remove this warning. See 00:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:50 00:00:50 Login Succeeded 00:00:50 ---> docker-login.sh ends [Pipeline] } 00:00:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:00:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:50 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:00:50 059aeb0713fc4e07acd8c370d817b94cb81fd04d 00:00:50 latest 00:00:50 2.3.0-dev.21 00:00:50 059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 00:00:50 main 00:00:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:51 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d 00:00:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:00:51 d0082689ad82: Preparing 00:00:51 a7b78a0b2ed4: Preparing 00:00:51 cae50b4ab0b2: Preparing 00:00:51 a43932d1df72: Preparing 00:00:51 1207169bf42c: Preparing 00:00:51 e3e114705e6b: Preparing 00:00:51 6159ef0dc0be: Preparing 00:00:51 015e53687be7: Preparing 00:00:51 e08ddae6c237: Preparing 00:00:51 013d5d81b8c7: Preparing 00:00:51 e3d7cc39cfad: Preparing 00:00:51 5d3e392a13a0: Preparing 00:00:51 e3e114705e6b: Waiting 00:00:51 6159ef0dc0be: Waiting 00:00:51 013d5d81b8c7: Waiting 00:00:51 e3d7cc39cfad: Waiting 00:00:51 015e53687be7: Waiting 00:00:51 5d3e392a13a0: Waiting 00:00:51 e08ddae6c237: Waiting 00:00:51 cae50b4ab0b2: Pushed 00:00:51 a7b78a0b2ed4: Pushed 00:00:51 1207169bf42c: Pushed 00:00:51 d0082689ad82: Pushed 00:00:52 e3e114705e6b: Pushed 00:00:52 6159ef0dc0be: Pushed 00:00:52 e08ddae6c237: Pushed 00:00:52 015e53687be7: Pushed 00:00:52 5d3e392a13a0: Layer already exists 00:00:57 a43932d1df72: Pushed 00:00:59 013d5d81b8c7: Pushed 00:01:09 e3d7cc39cfad: Pushed 00:01:09 059aeb0713fc4e07acd8c370d817b94cb81fd04d: digest: sha256:c7cf31c3eaa4504cf8d6cab321d21013da5f769f490b9d355aecc1c6b15b78c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:09 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:10 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:01:10 d0082689ad82: Preparing 00:01:10 a7b78a0b2ed4: Preparing 00:01:10 cae50b4ab0b2: Preparing 00:01:10 a43932d1df72: Preparing 00:01:10 1207169bf42c: Preparing 00:01:10 e3e114705e6b: Preparing 00:01:10 6159ef0dc0be: Preparing 00:01:10 015e53687be7: Preparing 00:01:10 e08ddae6c237: Preparing 00:01:10 013d5d81b8c7: Preparing 00:01:10 e3d7cc39cfad: Preparing 00:01:10 5d3e392a13a0: Preparing 00:01:10 e3e114705e6b: Waiting 00:01:10 6159ef0dc0be: Waiting 00:01:10 015e53687be7: Waiting 00:01:10 e08ddae6c237: Waiting 00:01:10 013d5d81b8c7: Waiting 00:01:10 e3d7cc39cfad: Waiting 00:01:10 5d3e392a13a0: Waiting 00:01:10 1207169bf42c: Layer already exists 00:01:10 a43932d1df72: Layer already exists 00:01:10 cae50b4ab0b2: Layer already exists 00:01:10 d0082689ad82: Layer already exists 00:01:10 a7b78a0b2ed4: Layer already exists 00:01:10 6159ef0dc0be: Layer already exists 00:01:10 015e53687be7: Layer already exists 00:01:10 e08ddae6c237: Layer already exists 00:01:10 013d5d81b8c7: Layer already exists 00:01:10 e3e114705e6b: Layer already exists 00:01:10 5d3e392a13a0: Layer already exists 00:01:10 e3d7cc39cfad: Layer already exists 00:01:10 latest: digest: sha256:c7cf31c3eaa4504cf8d6cab321d21013da5f769f490b9d355aecc1c6b15b78c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:10 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:11 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.21 00:01:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:01:11 d0082689ad82: Preparing 00:01:11 a7b78a0b2ed4: Preparing 00:01:11 cae50b4ab0b2: Preparing 00:01:11 a43932d1df72: Preparing 00:01:11 1207169bf42c: Preparing 00:01:11 e3e114705e6b: Preparing 00:01:11 6159ef0dc0be: Preparing 00:01:11 015e53687be7: Preparing 00:01:11 e08ddae6c237: Preparing 00:01:11 013d5d81b8c7: Preparing 00:01:11 e3d7cc39cfad: Preparing 00:01:11 5d3e392a13a0: Preparing 00:01:11 e3e114705e6b: Waiting 00:01:11 6159ef0dc0be: Waiting 00:01:11 015e53687be7: Waiting 00:01:11 e08ddae6c237: Waiting 00:01:11 013d5d81b8c7: Waiting 00:01:11 e3d7cc39cfad: Waiting 00:01:11 5d3e392a13a0: Waiting 00:01:11 d0082689ad82: Layer already exists 00:01:11 cae50b4ab0b2: Layer already exists 00:01:11 a43932d1df72: Layer already exists 00:01:11 a7b78a0b2ed4: Layer already exists 00:01:11 1207169bf42c: Layer already exists 00:01:11 015e53687be7: Layer already exists 00:01:11 e3e114705e6b: Layer already exists 00:01:11 6159ef0dc0be: Layer already exists 00:01:11 e08ddae6c237: Layer already exists 00:01:11 013d5d81b8c7: Layer already exists 00:01:11 5d3e392a13a0: Layer already exists 00:01:11 e3d7cc39cfad: Layer already exists 00:01:11 2.3.0-dev.21: digest: sha256:c7cf31c3eaa4504cf8d6cab321d21013da5f769f490b9d355aecc1c6b15b78c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:11 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 00:01:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:01:12 d0082689ad82: Preparing 00:01:12 a7b78a0b2ed4: Preparing 00:01:12 cae50b4ab0b2: Preparing 00:01:12 a43932d1df72: Preparing 00:01:12 1207169bf42c: Preparing 00:01:12 e3e114705e6b: Preparing 00:01:12 6159ef0dc0be: Preparing 00:01:12 015e53687be7: Preparing 00:01:12 e08ddae6c237: Preparing 00:01:12 013d5d81b8c7: Preparing 00:01:12 e3d7cc39cfad: Preparing 00:01:12 5d3e392a13a0: Preparing 00:01:12 e08ddae6c237: Waiting 00:01:12 013d5d81b8c7: Waiting 00:01:12 e3e114705e6b: Waiting 00:01:12 6159ef0dc0be: Waiting 00:01:12 015e53687be7: Waiting 00:01:12 e3d7cc39cfad: Waiting 00:01:12 5d3e392a13a0: Waiting 00:01:12 a43932d1df72: Layer already exists 00:01:12 cae50b4ab0b2: Layer already exists 00:01:12 1207169bf42c: Layer already exists 00:01:12 a7b78a0b2ed4: Layer already exists 00:01:12 d0082689ad82: Layer already exists 00:01:12 e3e114705e6b: Layer already exists 00:01:12 e08ddae6c237: Layer already exists 00:01:12 6159ef0dc0be: Layer already exists 00:01:12 015e53687be7: Layer already exists 00:01:12 013d5d81b8c7: Layer already exists 00:01:12 e3d7cc39cfad: Layer already exists 00:01:12 5d3e392a13a0: Layer already exists 00:01:12 059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21: digest: sha256:c7cf31c3eaa4504cf8d6cab321d21013da5f769f490b9d355aecc1c6b15b78c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:12 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:01:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:01:12 d0082689ad82: Preparing 00:01:12 a7b78a0b2ed4: Preparing 00:01:12 cae50b4ab0b2: Preparing 00:01:12 a43932d1df72: Preparing 00:01:12 1207169bf42c: Preparing 00:01:12 e3e114705e6b: Preparing 00:01:12 6159ef0dc0be: Preparing 00:01:12 015e53687be7: Preparing 00:01:12 e08ddae6c237: Preparing 00:01:12 013d5d81b8c7: Preparing 00:01:12 e3d7cc39cfad: Preparing 00:01:12 5d3e392a13a0: Preparing 00:01:12 e08ddae6c237: Waiting 00:01:12 6159ef0dc0be: Waiting 00:01:12 e3e114705e6b: Waiting 00:01:12 015e53687be7: Waiting 00:01:12 5d3e392a13a0: Waiting 00:01:12 013d5d81b8c7: Waiting 00:01:12 e3d7cc39cfad: Waiting 00:01:12 a7b78a0b2ed4: Layer already exists 00:01:12 d0082689ad82: Layer already exists 00:01:12 cae50b4ab0b2: Layer already exists 00:01:12 a43932d1df72: Layer already exists 00:01:12 1207169bf42c: Layer already exists 00:01:12 6159ef0dc0be: Layer already exists 00:01:12 013d5d81b8c7: Layer already exists 00:01:12 e3e114705e6b: Layer already exists 00:01:12 e08ddae6c237: Layer already exists 00:01:12 015e53687be7: Layer already exists 00:01:12 5d3e392a13a0: Layer already exists 00:01:12 e3d7cc39cfad: Layer already exists 00:01:13 main: digest: sha256:c7cf31c3eaa4504cf8d6cab321d21013da5f769f490b9d355aecc1c6b15b78c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:01:13 ===================================================== [Pipeline] echo 00:01:13 taggedImages: 00:01:13 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d 00:01:13 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:01:13 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.21 00:01:13 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:059aeb0713fc4e07acd8c370d817b94cb81fd04d-2.3.0-dev.21 00:01:13 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:13 00:01:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:14 arm64: Pulling from edgex-lftools-log-publisher 00:01:14 8998bd30e6a1: Pulling fs layer 00:01:14 04944245beec: Pulling fs layer 00:01:14 699f458cf7ca: Pulling fs layer 00:01:14 765212b225bb: Pulling fs layer 00:01:14 f23df028b6ca: Pulling fs layer 00:01:14 d65c8cfc05b1: Pulling fs layer 00:01:14 2437ff75d9bd: Pulling fs layer 00:01:14 765212b225bb: Waiting 00:01:14 f23df028b6ca: Waiting 00:01:14 d65c8cfc05b1: Waiting 00:01:14 2437ff75d9bd: Waiting 00:01:14 04944245beec: Verifying Checksum 00:01:14 04944245beec: Download complete 00:01:14 765212b225bb: Verifying Checksum 00:01:14 765212b225bb: Download complete 00:01:14 f23df028b6ca: Download complete 00:01:14 d65c8cfc05b1: Verifying Checksum 00:01:14 d65c8cfc05b1: Download complete 00:01:14 699f458cf7ca: Verifying Checksum 00:01:14 699f458cf7ca: Download complete 00:01:14 8998bd30e6a1: Verifying Checksum 00:01:14 8998bd30e6a1: Download complete 00:01:17 2437ff75d9bd: Download complete 00:01:19 8998bd30e6a1: Pull complete 00:01:19 04944245beec: Pull complete 00:01:22 699f458cf7ca: Pull complete 00:01:22 765212b225bb: Pull complete 00:01:23 f23df028b6ca: Pull complete 00:01:23 d65c8cfc05b1: Pull complete 00:01:38 2437ff75d9bd: Pull complete 00:01:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:38 prd-ubuntu20.04-docker-arm64-4c-16g-118699 does not seem to be running inside a container 00:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/62 -v /w/workspace/device-usb-camera/62:/w/workspace/device-usb-camera/62:rw,z -v /w/workspace/device-usb-camera/62@tmp:/w/workspace/device-usb-camera/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:01:41 $ docker top 9139838ba3ea412331ac0f4c14a4b7541ffbc1078b4a60d0d2859ec4b6507c35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:41 ---> job-cost.sh 00:01:41 lf-activate-venv: SKIPPING 00:01:41 INFO: No Stack... 00:01:42 INFO: Retrieving Pricing Info for: v3-standard-4 00:01:43 INFO: Archiving Costs [Pipeline] sh 00:01:43 + cat /w/workspace/device-usb-camera/62/archives/cost.csv 00:01:43 + cut -d, -f6 [Pipeline] lock 00:01:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] 00:01:43 Resource [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] did not exist. Created. 00:01:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:44 /w/workspace/device-usb-camera/62@tmp/durable-ccaadeaa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:01:45 + echo total: 0.10999999940395355 [Pipeline] stash 00:01:45 Warning: overwriting stash ‘stack-cost’ 00:01:45 Stashed 1 file(s) [Pipeline] } 00:01:45 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:45 $ docker stop --time=1 9139838ba3ea412331ac0f4c14a4b7541ffbc1078b4a60d0d2859ec4b6507c35 00:01:46 $ docker rm -f 9139838ba3ea412331ac0f4c14a4b7541ffbc1078b4a60d0d2859ec4b6507c35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:01:47 provisioning config files... 00:01:47 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2868229123476158792tmp [Pipeline] { [Pipeline] sh 00:01:47 + set +x 00:01:47 + curl -s https://codecov.io/bash 00:01:47 + bash -s -- 00:01:47 00:01:47 _____ _ 00:01:47 / ____| | | 00:01:47 | | ___ __| | ___ ___ _____ __ 00:01:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:01:47 | |___| (_) | (_| | __/ (_| (_) \ V / 00:01:47 \_____\___/ \__,_|\___|\___\___/ \_/ 00:01:47 Bash-1.0.6 00:01:47 00:01:47 00:01:47 ==> git version 2.25.1 found 00:01:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:01:47 Release-Date: 2020-01-08 00:01:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:01:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:01:47 ==> Jenkins CI detected. 00:01:47 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:01:47 project root: . 00:01:47 --> token set from env 00:01:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:01:47 ==> Running gcov in . (disable via -X gcov) 00:01:47 ==> Python coveragepy not found 00:01:47 ==> Searching for coverage reports in: 00:01:47 + . 00:01:47 -> Found 1 reports 00:01:47 ==> Detecting git/mercurial file structure 00:01:47 ==> Reading reports 00:01:47 + ./coverage.out bytes=29387 00:01:47 ==> Appending adjustments 00:01:47 https://docs.codecov.io/docs/fixing-reports 00:01:47 + Found adjustments 00:01:47 ==> Gzipping contents 00:01:47 8.0K /tmp/codecov.OVhBsO.gz 00:01:47 ==> Uploading reports 00:01:47 url: https://codecov.io 00:01:47 query: branch=main&commit=059aeb0713fc4e07acd8c370d817b94cb81fd04d&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:01:47 -> Pinging Codecov 00:01:47 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=059aeb0713fc4e07acd8c370d817b94cb81fd04d&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:01:47 -> Uploading to 00:01:47 https://storage.googleapis.com/codecov/v4/raw/2022-11-09/73D8F5FF140700D3E01443B452E23636/059aeb0713fc4e07acd8c370d817b94cb81fd04d/f22e2797-ebd5-44e6-a6ee-6525dcd21489.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T000147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2819dfefe14951c73039fb501bab75a95f21d1894d4c22411a1ad2ee2988678 00:01:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:47 Dload Upload Total Spent Left Speed 00:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4178 0 0 100 4178 0 16256 --:--:-- --:--:-- --:--:-- 16256 00:01:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] } 00:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:01:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:01:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:01:48 00:01:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:01:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:01:48 df9b9388f04a: Pulling fs layer 00:01:48 52dc419b0ee2: Pulling fs layer 00:01:48 25bc292e5bac: Pulling fs layer 00:01:48 114826534d7a: Pulling fs layer 00:01:48 4657fd5d0bcf: Pulling fs layer 00:01:48 6ad1cebc031e: Pulling fs layer 00:01:48 8a3aa393b2d8: Pulling fs layer 00:01:48 114826534d7a: Waiting 00:01:48 4657fd5d0bcf: Waiting 00:01:48 6ad1cebc031e: Waiting 00:01:48 25bc292e5bac: Verifying Checksum 00:01:48 25bc292e5bac: Download complete 00:01:48 52dc419b0ee2: Verifying Checksum 00:01:48 52dc419b0ee2: Download complete 00:01:48 4657fd5d0bcf: Download complete 00:01:49 df9b9388f04a: Verifying Checksum 00:01:49 df9b9388f04a: Download complete 00:01:49 df9b9388f04a: Pull complete 00:01:49 6ad1cebc031e: Verifying Checksum 00:01:49 6ad1cebc031e: Download complete 00:01:49 52dc419b0ee2: Pull complete 00:01:49 25bc292e5bac: Pull complete 00:01:50 114826534d7a: Verifying Checksum 00:01:50 114826534d7a: Download complete 00:01:50 8a3aa393b2d8: Verifying Checksum 00:01:50 8a3aa393b2d8: Download complete 00:01:53 114826534d7a: Pull complete 00:01:53 4657fd5d0bcf: Pull complete 00:01:53 6ad1cebc031e: Pull complete 00:01:56 8a3aa393b2d8: Pull complete 00:01:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:01:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:56 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:01:59 $ docker top 1213a54da92d83081ade62de7b309343c943a0358f7476a948e1974c48b71e6e -eo pid,comm [Pipeline] { [Pipeline] echo 00:01:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:01:59 + set -o pipefail 00:01:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:02:06 00:02:06 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:02:06 00:02:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/afc8f262-67f9-42c5-a8f4-6b0b5f028ff7 00:02:06 00:02:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:02:06 00:02:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:02:06 00:02:06 00:02:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:02:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:02:06 More details here: https://snyk.co/ue1NS [Pipeline] } 00:02:06 $ docker stop --time=1 1213a54da92d83081ade62de7b309343c943a0358f7476a948e1974c48b71e6e 00:02:09 $ docker rm -f 1213a54da92d83081ade62de7b309343c943a0358f7476a948e1974c48b71e6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:02:09 + git log --format=format:%s -1 059aeb0713fc4e07acd8c370d817b94cb81fd04d [Pipeline] sh 00:02:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:10 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:02:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:10 $ docker top 40ab81ae62fa135448834f598080da329086ae5feb1e55891d44a7e7dcddfd24 -eo pid,comm 00:02:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:11 [ssh-agent] Looking for ssh-agent implementation... 00:02:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:11 $ docker exec 40ab81ae62fa135448834f598080da329086ae5feb1e55891d44a7e7dcddfd24 ssh-agent 00:02:11 SSH_AUTH_SOCK=/tmp/ssh-diNJos7tGsLe/agent.32 00:02:11 SSH_AGENT_PID=38 00:02:11 Running ssh-add (command line suppressed) 00:02:11 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4926214254699847796.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4926214254699847796.key) 00:02:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:11 + git semver tag 00:02:11 2022-11-09 00:02:11,889 [run_tag] DEBUG tag force:False 00:02:11 2022-11-09 00:02:11,889 [check_head_tag] DEBUG check head tag 00:02:11 2022-11-09 00:02:11,890 [execute] INFO git cat-file --batch-check 00:02:11 2022-11-09 00:02:11,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:02:11 2022-11-09 00:02:11,894 [execute] INFO git cat-file --batch 00:02:11 2022-11-09 00:02:11,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:02:11 2022-11-09 00:02:11,914 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:11 2022-11-09 00:02:11,914 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 00:02:11 2022-11-09 00:02:11,914 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:02:11 2022-11-09 00:02:11,920 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:11 2.3.0-dev.21 [Pipeline] } 00:02:11 $ docker exec --env ******** --env ******** 40ab81ae62fa135448834f598080da329086ae5feb1e55891d44a7e7dcddfd24 ssh-agent -k 00:02:12 unset SSH_AUTH_SOCK; 00:02:12 unset SSH_AGENT_PID; 00:02:12 echo Agent pid 38 killed; 00:02:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:12 + git semver [Pipeline] } 00:02:12 $ docker stop --time=1 40ab81ae62fa135448834f598080da329086ae5feb1e55891d44a7e7dcddfd24 00:02:13 $ docker rm -f 40ab81ae62fa135448834f598080da329086ae5feb1e55891d44a7e7dcddfd24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:02:14 00:02:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:02:14 0.23.1-centos7: Pulling from edgex-lftools 00:02:14 ab5ef0e58194: Pulling fs layer 00:02:14 9712f1f96733: Pulling fs layer 00:02:14 63f879dbbcfc: Pulling fs layer 00:02:14 0d9ebad4ef96: Pulling fs layer 00:02:14 e9a5061849ea: Pulling fs layer 00:02:14 d747dcd14b5f: Pulling fs layer 00:02:14 2de7ff778b66: Pulling fs layer 00:02:14 e9a5061849ea: Waiting 00:02:14 d747dcd14b5f: Waiting 00:02:14 0d9ebad4ef96: Waiting 00:02:14 2de7ff778b66: Waiting 00:02:14 9712f1f96733: Verifying Checksum 00:02:14 9712f1f96733: Download complete 00:02:15 63f879dbbcfc: Verifying Checksum 00:02:15 63f879dbbcfc: Download complete 00:02:15 0d9ebad4ef96: Verifying Checksum 00:02:15 0d9ebad4ef96: Download complete 00:02:15 e9a5061849ea: Verifying Checksum 00:02:15 e9a5061849ea: Download complete 00:02:15 d747dcd14b5f: Download complete 00:02:15 ab5ef0e58194: Verifying Checksum 00:02:15 ab5ef0e58194: Download complete 00:02:15 2de7ff778b66: Verifying Checksum 00:02:15 2de7ff778b66: Download complete 00:02:18 ab5ef0e58194: Pull complete 00:02:18 9712f1f96733: Pull complete 00:02:19 63f879dbbcfc: Pull complete 00:02:22 0d9ebad4ef96: Pull complete 00:02:23 e9a5061849ea: Pull complete 00:02:23 d747dcd14b5f: Pull complete 00:02:24 2de7ff778b66: Pull complete 00:02:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:02:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:24 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:02:26 $ docker top f7f07d04f347ce2cb966dcfe8eef12f997507f09de81f29cf74b32a357eea323 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:02:26 provisioning config files... 00:02:26 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13229627766898498289tmp 00:02:26 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13569976272547047232tmp 00:02:26 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16228608947638192860tmp [Pipeline] { [Pipeline] echo 00:02:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:02:27 ---> sigul-configuration.sh 00:02:27 gpg: directory `/root/.gnupg' created 00:02:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:02:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:02:27 gpg: keyring `/root/.gnupg/secring.gpg' created 00:02:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:02:27 gpg: CAST5 encrypted data 00:02:27 gpg: encrypted with 1 passphrase 00:02:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:02:27 + mkdir /home/jenkins 00:02:27 + mkdir /home/jenkins/sigul [Pipeline] sh 00:02:27 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:02:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:02:27 ---> sigul-install.sh 00:02:27 Sigul already installed; skipping installation. [Pipeline] sh 00:02:28 + git tag --list 00:02:28 v0.0.0 00:02:28 v0.0.1-dev.1 00:02:28 v0.0.1-dev.10 00:02:28 v0.0.1-dev.11 00:02:28 v0.0.1-dev.12 00:02:28 v0.0.1-dev.13 00:02:28 v0.0.1-dev.14 00:02:28 v0.0.1-dev.15 00:02:28 v0.0.1-dev.16 00:02:28 v0.0.1-dev.2 00:02:28 v0.0.1-dev.3 00:02:28 v0.0.1-dev.4 00:02:28 v0.0.1-dev.5 00:02:28 v0.0.1-dev.6 00:02:28 v0.0.1-dev.7 00:02:28 v0.0.1-dev.8 00:02:28 v0.0.1-dev.9 00:02:28 v2.2.0 00:02:28 v2.2.0-dev.17 00:02:28 v2.2.0-dev.18 00:02:28 v2.2.0-dev.19 00:02:28 v2.2.0-dev.20 00:02:28 v2.2.0-dev.21 00:02:28 v2.2.0-dev.22 00:02:28 v2.2.0-dev.23 00:02:28 v2.2.0-dev.24 00:02:28 v2.2.0-dev.25 00:02:28 v2.2.0-dev.26 00:02:28 v2.2.0-dev.27 00:02:28 v2.3.0-dev.1 00:02:28 v2.3.0-dev.10 00:02:28 v2.3.0-dev.11 00:02:28 v2.3.0-dev.12 00:02:28 v2.3.0-dev.13 00:02:28 v2.3.0-dev.14 00:02:28 v2.3.0-dev.15 00:02:28 v2.3.0-dev.16 00:02:28 v2.3.0-dev.17 00:02:28 v2.3.0-dev.18 00:02:28 v2.3.0-dev.19 00:02:28 v2.3.0-dev.2 00:02:28 v2.3.0-dev.20 00:02:28 v2.3.0-dev.21 00:02:28 v2.3.0-dev.3 00:02:28 v2.3.0-dev.4 00:02:28 v2.3.0-dev.5 00:02:28 v2.3.0-dev.6 00:02:28 v2.3.0-dev.7 00:02:28 v2.3.0-dev.8 00:02:28 v2.3.0-dev.9 [Pipeline] sh 00:02:28 + lftools sign git-tag v2.3.0-dev.21 00:02:29 Signing Git tag with Sigul... 00:02:29 Signing v2.3.0-dev.21 [Pipeline] echo 00:02:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:02:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:02:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:02:29 $ docker stop --time=1 f7f07d04f347ce2cb966dcfe8eef12f997507f09de81f29cf74b32a357eea323 00:02:30 $ docker rm -f f7f07d04f347ce2cb966dcfe8eef12f997507f09de81f29cf74b32a357eea323 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:02:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:31 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:32 $ docker top d8282a4a6af7400f73e96c428515e52c532a5be505653b67b7f3807505464b12 -eo pid,comm 00:02:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:32 [ssh-agent] Looking for ssh-agent implementation... 00:02:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:32 $ docker exec d8282a4a6af7400f73e96c428515e52c532a5be505653b67b7f3807505464b12 ssh-agent 00:02:32 SSH_AUTH_SOCK=/tmp/ssh-rFNhPY2EGiMt/agent.32 00:02:32 SSH_AGENT_PID=38 00:02:32 Running ssh-add (command line suppressed) 00:02:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17448973596531860170.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17448973596531860170.key) 00:02:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:32 + git semver bump pre 00:02:33 2022-11-09 00:02:32,930 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:33 2022-11-09 00:02:32,931 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 00:02:33 2022-11-09 00:02:32,931 [bump_version] DEBUG bumped version:2.3.0-dev.22 00:02:33 2022-11-09 00:02:32,931 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:02:33 2022-11-09 00:02:32,931 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:33 2022-11-09 00:02:32,931 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:33 2022-11-09 00:02:32,933 [execute] INFO git cat-file --batch-check 00:02:33 2022-11-09 00:02:32,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:33 2022-11-09 00:02:32,938 [execute] INFO git cat-file --batch 00:02:33 2022-11-09 00:02:32,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:33 2022-11-09 00:02:32,944 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:33 2.3.0-dev.22 [Pipeline] } 00:02:33 $ docker exec --env ******** --env ******** d8282a4a6af7400f73e96c428515e52c532a5be505653b67b7f3807505464b12 ssh-agent -k 00:02:33 unset SSH_AUTH_SOCK; 00:02:33 unset SSH_AGENT_PID; 00:02:33 echo Agent pid 38 killed; 00:02:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:33 + git semver [Pipeline] } 00:02:33 $ docker stop --time=1 d8282a4a6af7400f73e96c428515e52c532a5be505653b67b7f3807505464b12 00:02:35 $ docker rm -f d8282a4a6af7400f73e96c428515e52c532a5be505653b67b7f3807505464b12 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:35 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:02:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:02:36 $ docker top e0fa5fdddc4202f9750b14802ede4eac78a64a9e76ba95bc4a6908d3f2f173d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:36 [ssh-agent] Looking for ssh-agent implementation... 00:02:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:36 $ docker exec e0fa5fdddc4202f9750b14802ede4eac78a64a9e76ba95bc4a6908d3f2f173d7 ssh-agent 00:02:36 SSH_AUTH_SOCK=/tmp/ssh-B1n05DHcgjJw/agent.32 00:02:36 SSH_AGENT_PID=38 00:02:36 Running ssh-add (command line suppressed) 00:02:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15755835692784051898.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15755835692784051898.key) 00:02:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:36 + git semver push 00:02:37 2022-11-09 00:02:36,949 [run_push] DEBUG push 00:02:37 2022-11-09 00:02:36,949 [execute] INFO git cat-file --batch-check 00:02:37 2022-11-09 00:02:36,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:02:37 2022-11-09 00:02:36,953 [execute] INFO git rev-list 025b91a9d0c8bb5e110c8512fda55c163234fae6 -- 00:02:37 2022-11-09 00:02:36,953 [execute] DEBUG Popen(['git', 'rev-list', '025b91a9d0c8bb5e110c8512fda55c163234fae6', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:02:37 2022-11-09 00:02:36,959 [execute] INFO git fetch -v origin 00:02:37 2022-11-09 00:02:36,959 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:02:37 2022-11-09 00:02:37,574 [run_push] DEBUG no remote changes detected 00:02:37 2022-11-09 00:02:37,575 [execute] INFO git push origin semver 00:02:37 2022-11-09 00:02:37,575 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:02:38 2022-11-09 00:02:38,355 [run_push] DEBUG push all version tags 00:02:38 2022-11-09 00:02:38,356 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:02:38 2022-11-09 00:02:38,356 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:02:39 2022-11-09 00:02:39,181 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:02:39 2.3.0-dev.22 [Pipeline] } 00:02:39 $ docker exec --env ******** --env ******** e0fa5fdddc4202f9750b14802ede4eac78a64a9e76ba95bc4a6908d3f2f173d7 ssh-agent -k 00:02:39 unset SSH_AUTH_SOCK; 00:02:39 unset SSH_AGENT_PID; 00:02:39 echo Agent pid 38 killed; 00:02:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:39 + git semver [Pipeline] } 00:02:40 $ docker stop --time=1 e0fa5fdddc4202f9750b14802ede4eac78a64a9e76ba95bc4a6908d3f2f173d7 00:02:41 $ docker rm -f e0fa5fdddc4202f9750b14802ede4eac78a64a9e76ba95bc4a6908d3f2f173d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:02:42 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:02:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:02:42 total 16 00:02:42 drwxr-xr-x 3 root root 4096 Nov 8 23:53 . 00:02:42 drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 00:02 .. 00:02:42 drwxr-xr-x 2 root root 4096 Nov 8 23:53 cost 00:02:42 -rw-r--r-- 1 root root 88 Nov 8 23:53 cost.csv 00:02:42 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:02:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:02:42 total 16 00:02:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:53 . 00:02:42 drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 00:02 .. 00:02:42 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:53 cost 00:02:42 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 23:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:02:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:02:43 ---> package-listing.sh 00:02:43 ++ tr '[:upper:]' '[:lower:]' 00:02:43 ++ facter osfamily 00:02:43 + OS_FAMILY=debian 00:02:43 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:02:43 + START_PACKAGES=/tmp/packages_start.txt 00:02:43 + END_PACKAGES=/tmp/packages_end.txt 00:02:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:02:43 + PACKAGES=/tmp/packages_start.txt 00:02:43 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:02:43 + PACKAGES=/tmp/packages_end.txt 00:02:43 + case "${OS_FAMILY}" in 00:02:43 + dpkg -l 00:02:43 + grep '^ii' 00:02:43 + '[' -f /tmp/packages_start.txt ']' 00:02:43 + '[' -f /tmp/packages_end.txt ']' 00:02:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:02:43 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:02:43 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:02:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:02:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:02:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:44 prd-ubuntu20.04-docker-8c-8g-118697 does not seem to be running inside a container 00:02:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:02:44 $ docker top 7fda5dc08ae3a81b7bcc08b967fa5dc308edc4a171c83269c39525aa4fd08237 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:45 + touch /tmp/pre-build-complete [Pipeline] sh 00:02:45 + mkdir -p /var/log/sysstat [Pipeline] sh 00:02:45 + ls /var/log/sa-host 00:02:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:45 provisioning config files... 00:02:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14272119920829688453tmp [Pipeline] { [Pipeline] echo 00:02:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:02:46 ---> create-netrc.sh [Pipeline] } 00:02:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:02:46 ---> python-tools-install.sh [Pipeline] echo 00:02:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:02:46 ---> sudo-logs.sh 00:02:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:02:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:02:46 ---> job-cost.sh 00:02:46 lf-activate-venv: SKIPPING 00:02:46 DEBUG: total: 0.2199999988079071 00:02:46 INFO: Retrieving Stack Cost... 00:02:47 INFO: Retrieving Pricing Info for: v3-standard-8 00:02:47 INFO: Archiving Costs [Pipeline] echo 00:02:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:02:48 ---> logs-deploy.sh 00:02:48 lf-activate-venv: SKIPPING 00:02:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/62 00:02:48 INFO: archiving workspace using pattern(s): 00:02:49 Archives upload complete. 00:02:49 INFO: archiving logs to Nexus