Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4833ecb71a5b036c07645cdd3981a69f5c223ec 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-ssh15586349206760412251.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3872918309172363314.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12564389574377581270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7077127675404189140.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18065333609673047924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5758’ Running on prd-ubuntu20.04-docker-8c-8g-5774 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c4833ecb71a5b036c07645cdd3981a69f5c223ec (main) Commit message: "docs(snap): Update camera interface, getting started doc version (#143)" > 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 c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 > git rev-list --no-walk ad81b6791089a5483c30c2e43f91131867ddea47 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:24:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:24:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:24:19 ========================================================= 09:24:19 EdgeX Global Pipelines Version Info 09:24:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:24:20 ------------------- 09:24:20 stable info: 09:24:20 ------------------- 09:24:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:24:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:24:20 Message: update stable to v1.0.244 09:24:20 ------------------- 09:24:20 experimental info: 09:24:20 ------------------- 09:24:20 Commited By: **** collab-it+edgex@linuxfoundation.org 09:24:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:24:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 09:24:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4833ec [Pipeline] echo 09:24:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:21 provisioning config files... 09:24:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4503924711649821699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:21 ---> docker-login.sh 09:24:21 nexus3.edgexfoundry.org:10001 09:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:21 Configure a credential helper to remove this warning. See 09:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:21 09:24:21 Login Succeeded 09:24:21 nexus3.edgexfoundry.org:10002 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 nexus3.edgexfoundry.org:10003 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 nexus3.edgexfoundry.org:10004 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 docker.io 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 ---> docker-login.sh ends [Pipeline] } 09:24:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:24:23 + git rev-list -1 --merges c4833ecb71a5b036c07645cdd3981a69f5c223ec~1..c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] echo 09:24:23 -----------> git rev-list -1 --merges c4833ecb71a5b036c07645cdd3981a69f5c223ec~1..c4833ecb71a5b036c07645cdd3981a69f5c223ec c4833ecb71a5b036c07645cdd3981a69f5c223ec [false] [Pipeline] sh 09:24:23 + git log --format=format:%s -1 c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] echo 09:24:23 ========================================================= 09:24:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:23 + git log --format=format:%s -1 c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] echo 09:24:23 [semverPrep] GIT_COMMIT: c4833ecb71a5b036c07645cdd3981a69f5c223ec, Commit Message: docs(snap): Update camera interface, getting started doc version (#143) [Pipeline] echo 09:24:23 [semverPrep] This is not a build commit. [Pipeline] sh 09:24:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:24 + grep -v github /etc/ssh/ssh_known_hosts 09:24:24 + [ -e /tmp/ssh_known_hosts ] 09:24:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:24 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:24 09:24:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:24 0.1.4: Pulling from edgex-devops/py-git-semver 09:24:24 b85a868b505f: Pulling fs layer 09:24:24 e2be974225ed: Pulling fs layer 09:24:24 339a4e72a1f5: Pulling fs layer 09:24:24 988bab9f4d93: Pulling fs layer 09:24:24 1469e6f7b9e6: Pulling fs layer 09:24:24 eaf3925da568: Pulling fs layer 09:24:24 988bab9f4d93: Waiting 09:24:24 1469e6f7b9e6: Waiting 09:24:24 eaf3925da568: Waiting 09:24:24 bab4dde63d76: Pulling fs layer 09:24:24 bde34c3a00c8: Pulling fs layer 09:24:24 b352a97aabf1: Pulling fs layer 09:24:24 4872d77fe225: Pulling fs layer 09:24:24 bab4dde63d76: Waiting 09:24:24 bde34c3a00c8: Waiting 09:24:24 b352a97aabf1: Waiting 09:24:24 5851b861e8e6: Pulling fs layer 09:24:24 4872d77fe225: Waiting 09:24:24 5851b861e8e6: Waiting 09:24:25 e2be974225ed: Verifying Checksum 09:24:25 e2be974225ed: Download complete 09:24:25 988bab9f4d93: Verifying Checksum 09:24:25 988bab9f4d93: Download complete 09:24:25 339a4e72a1f5: Verifying Checksum 09:24:25 339a4e72a1f5: Download complete 09:24:25 eaf3925da568: Verifying Checksum 09:24:25 eaf3925da568: Download complete 09:24:25 1469e6f7b9e6: Verifying Checksum 09:24:25 1469e6f7b9e6: Download complete 09:24:25 bde34c3a00c8: Verifying Checksum 09:24:25 bde34c3a00c8: Download complete 09:24:25 b352a97aabf1: Download complete 09:24:25 4872d77fe225: Verifying Checksum 09:24:25 4872d77fe225: Download complete 09:24:25 5851b861e8e6: Verifying Checksum 09:24:25 5851b861e8e6: Download complete 09:24:25 b85a868b505f: Verifying Checksum 09:24:25 b85a868b505f: Download complete 09:24:25 bab4dde63d76: Verifying Checksum 09:24:25 bab4dde63d76: Download complete 09:24:26 b85a868b505f: Pull complete 09:24:27 e2be974225ed: Pull complete 09:24:27 339a4e72a1f5: Pull complete 09:24:27 988bab9f4d93: Pull complete 09:24:27 1469e6f7b9e6: Pull complete 09:24:27 eaf3925da568: Pull complete 09:24:29 bab4dde63d76: Pull complete 09:24:29 bde34c3a00c8: Pull complete 09:24:30 b352a97aabf1: Pull complete 09:24:30 4872d77fe225: Pull complete 09:24:30 5851b861e8e6: Pull complete 09:24:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:24:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:30 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:24:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:24:31 $ docker top 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 -eo pid,comm 09:24:31 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). 09:24:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:31 [ssh-agent] Looking for ssh-agent implementation... 09:24:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:31 $ docker exec 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 ssh-agent 09:24:31 SSH_AUTH_SOCK=/tmp/ssh-wbKyOSvr2TMt/agent.33 09:24:31 SSH_AGENT_PID=39 09:24:31 Running ssh-add (command line suppressed) 09:24:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_239737036628689787.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_239737036628689787.key) 09:24:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:32 + git tag --points-at HEAD [Pipeline] } 09:24:32 $ docker exec --env ******** --env ******** 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 ssh-agent -k 09:24:32 unset SSH_AUTH_SOCK; 09:24:32 unset SSH_AGENT_PID; 09:24:32 echo Agent pid 39 killed; 09:24:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:32 [ssh-agent] Looking for ssh-agent implementation... 09:24:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:32 $ docker exec 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 ssh-agent 09:24:32 SSH_AUTH_SOCK=/tmp/ssh-qiqm1V7vZ30j/agent.71 09:24:32 SSH_AGENT_PID=77 09:24:32 Running ssh-add (command line suppressed) 09:24:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5232905459489180734.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5232905459489180734.key) 09:24:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:33 + git semver init 09:24:33 2023-02-14 09:24:33,340 [run_init] DEBUG init version:0.0.0 force:False 09:24:33 2023-02-14 09:24:33,341 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 09:24:33 2023-02-14 09:24:33,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 09:24:33 2023-02-14 09:24:33,341 [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) 09:24:34 2023-02-14 09:24:34,144 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 09:24:34 2023-02-14 09:24:34,144 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 09:24:34 2023-02-14 09:24:34,144 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:24:34 2023-02-14 09:24:34,144 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:24:34 3.0.0-dev.6 [Pipeline] } 09:24:34 $ docker exec --env ******** --env ******** 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 ssh-agent -k 09:24:34 unset SSH_AUTH_SOCK; 09:24:34 unset SSH_AGENT_PID; 09:24:34 echo Agent pid 77 killed; 09:24:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:34 + git semver [Pipeline] } 09:24:35 $ docker stop --time=1 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 09:24:36 $ docker rm -f --volumes 77a9926f9efc2fe2fdc909d0283ea3c94602d546608f2eeb78d088c1c5855249 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:36 Stashed 1 file(s) [Pipeline] echo 09:24:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 09:24:37 provisioning config files... 09:24:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16564574705428776223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:37 ---> docker-login.sh 09:24:37 nexus3.edgexfoundry.org:10001 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 nexus3.edgexfoundry.org:10002 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 nexus3.edgexfoundry.org:10003 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 nexus3.edgexfoundry.org:10004 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:37 Configure a credential helper to remove this warning. See 09:24:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:37 09:24:37 Login Succeeded 09:24:37 docker.io 09:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:38 Configure a credential helper to remove this warning. See 09:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:38 09:24:38 Login Succeeded 09:24:38 ---> docker-login.sh ends [Pipeline] } 09:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:38 ========================================================= 09:24:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:24:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:38 + 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 . 09:24:38 Sending build context to Docker daemon 1.733MB 09:24:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:24:38 Step 2/13 : FROM ${BASE} AS builder 09:24:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:24:38 213ec9aee27d: Pulling fs layer 09:24:38 4583459ba037: Pulling fs layer 09:24:38 93c1e223e6f2: Pulling fs layer 09:24:38 53926ce57604: Pulling fs layer 09:24:38 21b2b0c7a3f4: Pulling fs layer 09:24:38 22ff95d597cd: Pulling fs layer 09:24:38 12d6caf4c0d1: Pulling fs layer 09:24:38 96b7cbca73a9: Pulling fs layer 09:24:38 a7acece74701: Pulling fs layer 09:24:38 22ff95d597cd: Waiting 09:24:38 12d6caf4c0d1: Waiting 09:24:38 96b7cbca73a9: Waiting 09:24:38 a7acece74701: Waiting 09:24:38 53926ce57604: Waiting 09:24:38 21b2b0c7a3f4: Waiting 09:24:38 93c1e223e6f2: Verifying Checksum 09:24:38 93c1e223e6f2: Download complete 09:24:38 4583459ba037: Verifying Checksum 09:24:38 4583459ba037: Download complete 09:24:38 21b2b0c7a3f4: Verifying Checksum 09:24:38 21b2b0c7a3f4: Download complete 09:24:38 22ff95d597cd: Download complete 09:24:38 213ec9aee27d: Verifying Checksum 09:24:38 213ec9aee27d: Download complete 09:24:38 12d6caf4c0d1: Verifying Checksum 09:24:38 12d6caf4c0d1: Download complete 09:24:39 213ec9aee27d: Pull complete 09:24:39 4583459ba037: Pull complete 09:24:39 93c1e223e6f2: Pull complete 09:24:39 a7acece74701: Verifying Checksum 09:24:39 a7acece74701: Download complete 09:24:40 53926ce57604: Download complete 09:24:40 96b7cbca73a9: Verifying Checksum 09:24:40 96b7cbca73a9: Download complete 09:24:44 53926ce57604: Pull complete 09:24:44 21b2b0c7a3f4: Pull complete 09:24:44 22ff95d597cd: Pull complete 09:24:44 12d6caf4c0d1: Pull complete 09:24:47 96b7cbca73a9: Pull complete 09:24:47 a7acece74701: Pull complete 09:24:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:24:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:24:47 ---> db6d94c90886 09:24:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:24:50 ---> Running in adfc151d0e79 09:24:50 Removing intermediate container adfc151d0e79 09:24:50 ---> 34ec2231aca4 09:24:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:24:50 ---> Running in a670b3d47d51 09:24:50 Removing intermediate container a670b3d47d51 09:24:50 ---> 0ce3b08f5db7 09:24:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 09:24:50 ---> Running in 731a145308e1 09:24:50 Removing intermediate container 731a145308e1 09:24:50 ---> f771553baaf6 09:24:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:24:50 ---> Running in 13c34623a84a 09:24:50 Removing intermediate container 13c34623a84a 09:24:50 ---> 2e06e3a7abf4 09:24:50 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:50 ---> Running in e5b8adfd41d0 09:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:24:51 (1/80) Installing mesa (21.3.9-r0) 09:24:51 (2/80) Installing libxau (1.0.9-r0) 09:24:51 (3/80) Installing libxdmcp (1.1.3-r0) 09:24:51 (4/80) Installing libxcb (1.15-r0) 09:24:51 (5/80) Installing libx11 (1.8-r0) 09:24:51 (6/80) Installing libxext (1.3.4-r0) 09:24:51 (7/80) Installing libxfixes (6.0.0-r0) 09:24:51 (8/80) Installing libxxf86vm (1.1.4-r2) 09:24:51 (9/80) Installing libpciaccess (0.16-r0) 09:24:51 (10/80) Installing libdrm (2.4.110-r0) 09:24:51 (11/80) Installing mesa-glapi (21.3.9-r0) 09:24:51 (12/80) Installing libxshmfence (1.3-r1) 09:24:51 (13/80) Installing mesa-gl (21.3.9-r0) 09:24:51 (14/80) Installing icu-data-full (71.1-r2) 09:24:51 (15/80) Installing libice (1.0.10-r0) 09:24:51 (16/80) Installing libuuid (2.38-r1) 09:24:51 (17/80) Installing libsm (1.2.3-r0) 09:24:51 (18/80) Installing libxt (1.2.1-r0) 09:24:51 (19/80) Installing libxmu (1.1.3-r0) 09:24:51 (20/80) Installing xset (1.2.4-r0) 09:24:51 (21/80) Installing xprop (1.2.5-r0) 09:24:51 (22/80) Installing xdg-utils (1.1.3-r3) 09:24:51 (23/80) Installing dbus-libs (1.14.4-r0) 09:24:51 (24/80) Installing libffi (3.4.2-r1) 09:24:51 (25/80) Installing libintl (0.21-r2) 09:24:51 (26/80) Installing libblkid (2.38-r1) 09:24:52 Still waiting to schedule task 09:24:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5772’ 09:24:52 (27/80) Installing libmount (2.38-r1) 09:24:52 (28/80) Installing pcre (8.45-r2) 09:24:52 (29/80) Installing glib (2.72.1-r0) 09:24:52 (30/80) Installing icu-libs (71.1-r2) 09:24:52 (31/80) Installing libpcre2-16 (10.40-r0) 09:24:52 (32/80) Installing zstd-libs (1.5.2-r1) 09:24:52 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 09:24:52 (34/80) Installing hicolor-icon-theme (0.17-r1) 09:24:52 (35/80) Installing wayland-libs-server (1.20.0-r0) 09:24:52 (36/80) Installing mesa-gbm (21.3.9-r0) 09:24:52 (37/80) Installing wayland-libs-client (1.20.0-r0) 09:24:52 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 09:24:52 (39/80) Installing libxcomposite (0.4.5-r0) 09:24:52 (40/80) Installing libbz2 (1.0.8-r1) 09:24:52 (41/80) Installing libpng (1.6.37-r1) 09:24:52 (42/80) Installing freetype (2.12.1-r0) 09:24:52 (43/80) Installing fontconfig (2.14.0-r0) 09:24:52 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 09:24:52 (45/80) Installing wayland-libs-egl (1.20.0-r0) 09:24:52 (46/80) Installing xkeyboard-config (2.35.1-r0) 09:24:52 (47/80) Installing xz-libs (5.2.5-r1) 09:24:52 (48/80) Installing libxml2 (2.9.14-r2) 09:24:52 (49/80) Installing libxkbcommon (1.4.1-r0) 09:24:53 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 09:24:53 (51/80) Installing mesa-egl (21.3.9-r0) 09:24:53 (52/80) Installing avahi-libs (0.8-r6) 09:24:53 (53/80) Installing nettle (3.7.3-r0) 09:24:53 (54/80) Installing p11-kit (0.24.1-r0) 09:24:53 (55/80) Installing libtasn1 (4.18.0-r1) 09:24:53 (56/80) Installing libunistring (1.0-r0) 09:24:53 (57/80) Installing gnutls (3.7.7-r1) 09:24:53 (58/80) Installing cups-libs (2.4.2-r0) 09:24:53 (59/80) Installing graphite2 (1.3.14-r1) 09:24:53 (60/80) Installing harfbuzz (4.3.0-r0) 09:24:53 (61/80) Installing libevdev (1.12.1-r0) 09:24:53 (62/80) Installing mtdev (1.1.6-r0) 09:24:53 (63/80) Installing eudev-libs (3.2.11-r0) 09:24:53 (64/80) Installing libinput-libs (1.20.1-r0) 09:24:53 (65/80) Installing libjpeg-turbo (2.1.3-r1) 09:24:53 (66/80) Installing xcb-util-wm (0.4.1-r1) 09:24:53 (67/80) Installing xcb-util (0.4.0-r3) 09:24:53 (68/80) Installing xcb-util-image (0.4.0-r1) 09:24:53 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 09:24:54 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 09:24:54 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 09:24:54 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 09:24:54 (73/80) Installing v4l-utils-libs (1.22.1-r1) 09:24:54 (74/80) Installing v4l-utils (1.22.1-r1) 09:24:54 (75/80) Installing udev-init-scripts (35-r0) 09:24:54 Executing udev-init-scripts-35-r0.post-install 09:24:54 (76/80) Installing kmod-libs (29-r2) 09:24:54 (77/80) Installing eudev (3.2.11-r0) 09:24:54 (78/80) Installing eudev-dev (3.2.11-r0) 09:24:54 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:24:54 (80/80) Installing v4l-utils-dev (1.22.1-r1) 09:24:54 Executing busybox-1.35.0-r17.trigger 09:24:54 Executing eudev-3.2.11-r0.trigger 09:24:54 OK: 331 MiB in 131 packages 09:24:57 Removing intermediate container e5b8adfd41d0 09:24:57 ---> e60afeb53562 09:24:57 Step 8/13 : WORKDIR /device-usb-camera 09:24:57 ---> Running in d4fe827f97e8 09:24:57 Removing intermediate container d4fe827f97e8 09:24:57 ---> 94c3a32a6f10 09:24:57 Step 9/13 : COPY go.mod vendor* ./ 09:24:57 ---> a2660d8374f5 09:24:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:57 ---> Running in e85a3eb91d14 09:25:23 Removing intermediate container e85a3eb91d14 09:25:23 ---> 308df7df2e92 09:25:23 Step 11/13 : COPY . . 09:25:23 ---> aaa121518dda 09:25:23 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:25:23 ---> Running in e0707c1f6db5 09:25:23  % Total % Received % Xferd Average Speed Time Time Time Current 09:25:23 Dload Upload Total Spent Left Speed 09:25:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9588 0 --:--:-- --:--:-- --:--:-- 9654 09:25:23 Removing intermediate container e0707c1f6db5 09:25:23 ---> 4ffefbb83b52 09:25:23 Step 13/13 : RUN ${MAKE} 09:25:23 ---> Running in 51e1a2dca2be 09:25:23 noop 09:25:23 Removing intermediate container 51e1a2dca2be 09:25:23 ---> d8d72e81e401 09:25:23 Successfully built d8d72e81e401 09:25:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:24 + docker inspect -f . ci-base-image-x86_64 09:25:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:24 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:25: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 ******** ci-base-image-x86_64 cat 09:25:24 $ docker top 7c938a9b8855308728d48a6b7ea19c381cd5579956777ac461b669861749e6ac -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:25 + go version 09:25:25 go version go1.18.7 linux/amd64 [Pipeline] } 09:25:25 $ docker stop --time=1 7c938a9b8855308728d48a6b7ea19c381cd5579956777ac461b669861749e6ac 09:25:26 $ docker rm -f --volumes 7c938a9b8855308728d48a6b7ea19c381cd5579956777ac461b669861749e6ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:26 + docker inspect -f . ci-base-image-x86_64 09:25:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:26 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:25:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:25:27 $ docker top c6b48f86873210af8201ed7a627a1d4ded5e4d527e4510750a220c83f09af3b6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:27 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 09:25:27 + make test 09:25:27 go test ./... -coverprofile=coverage.out ./... 09:25:28 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:25:38 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:25:38 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements 09:25:44 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." 09:25:44 go vet ./... 09:25:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:47 ./bin/test-attribution-txt.sh [Pipeline] echo 09:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:47 $ docker stop --time=1 c6b48f86873210af8201ed7a627a1d4ded5e4d527e4510750a220c83f09af3b6 09:25:49 $ docker rm -f --volumes c6b48f86873210af8201ed7a627a1d4ded5e4d527e4510750a220c83f09af3b6 [Pipeline] // withDockerContainer [Pipeline] sh 09:25:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:50 + ls -al . 09:25:50 total 208 09:25:50 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 09:25 . 09:25:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:24 .. 09:25:50 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 09:25 .git 09:25:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:24 .github 09:25:50 -rw-rw-r-- 1 jenkins jenkins 414 Feb 14 09:24 .gitignore 09:25:50 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 09:24 .golangci.yml 09:25:50 -rw-rw-r-- 1 jenkins jenkins 77 Feb 14 09:24 .hadolint.yml 09:25:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 09:24 .semver 09:25:50 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 14 09:24 Attribution.txt 09:25:50 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 14 09:24 CHANGELOG.md 09:25:50 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 14 09:24 Dockerfile 09:25:50 -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 09:24 GOVERNANCE.md 09:25:50 -rw-rw-r-- 1 jenkins jenkins 659 Feb 14 09:24 Jenkinsfile 09:25:50 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 09:24 LICENSE 09:25:50 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 14 09:24 Makefile 09:25:50 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 09:24 OWNERS.md 09:25:50 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 14 09:24 README.md 09:25:50 -rw-rw-r-- 1 jenkins jenkins 11 Feb 14 09:24 VERSION 09:25:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 09:24 bin 09:25:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:24 cmd 09:25:50 -rw-r--r-- 1 jenkins jenkins 30666 Feb 14 09:25 coverage.out 09:25:50 -rwxrwxr-x 1 jenkins jenkins 140 Feb 14 09:24 docker-entrypoint.sh 09:25:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:24 docs 09:25:50 -rw-rw-r-- 1 jenkins jenkins 3574 Feb 14 09:24 go.mod 09:25:50 -rw-rw-r-- 1 jenkins jenkins 45170 Feb 14 09:24 go.sum 09:25:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:24 internal 09:25:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:24 snap 09:25:50 -rw-rw-r-- 1 jenkins jenkins 231 Feb 14 09:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:50 + 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=c4833ecb71a5b036c07645cdd3981a69f5c223ec --label arch=amd64 --label version=3.0.0-dev.6 . 09:25:50 Sending build context to Docker daemon 1.764MB 09:25:50 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 09:25:50 Step 2/35 : FROM ${BASE} AS builder 09:25:50 ---> d8d72e81e401 09:25:50 Step 3/35 : ARG ADD_BUILD_TAGS="" 09:25:50 ---> Running in fe8eb2c3e353 09:25:51 Removing intermediate container fe8eb2c3e353 09:25:51 ---> 068d75fbf5ba 09:25:51 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:25:51 ---> Running in b2197c6e61fd 09:25:51 Removing intermediate container b2197c6e61fd 09:25:51 ---> 7cac1795b49e 09:25:51 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 09:25:51 ---> Running in eb62fb87e460 09:25:51 Removing intermediate container eb62fb87e460 09:25:51 ---> ba6b87e01d69 09:25:51 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:25:51 ---> Running in 409d7f5302f0 09:25:51 Removing intermediate container 409d7f5302f0 09:25:51 ---> 0896a1051f08 09:25:51 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:51 ---> Running in 10dd7d736dc5 09:25:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:25:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:25:52 OK: 331 MiB in 131 packages 09:25:52 Removing intermediate container 10dd7d736dc5 09:25:52 ---> d539537697e2 09:25:52 Step 8/35 : WORKDIR /device-usb-camera 09:25:52 ---> Running in 5b79317e1148 09:25:52 Removing intermediate container 5b79317e1148 09:25:52 ---> f5192bf5b98d 09:25:52 Step 9/35 : COPY go.mod vendor* ./ 09:25:52 ---> 8aac93077f69 09:25:52 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:52 ---> Running in 0620a9a13beb 09:25:53 Removing intermediate container 0620a9a13beb 09:25:53 ---> 126daac49c7c 09:25:53 Step 11/35 : COPY . . 09:25:53 ---> 7a4a08b8a11e 09:25:53 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:25:53 ---> Running in f4409edcedda 09:25:54  % Total % Received % Xferd Average Speed Time Time Time Current 09:25:54 Dload Upload Total Spent Left Speed 09:25:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062  0  0 38412 0 --:--:-- --:--:-- --:--:-- 39333 09:25:54 Removing intermediate container f4409edcedda 09:25:54 ---> 944c3e26823a 09:25:54 Step 13/35 : RUN ${MAKE} 09:25:54 ---> Running in ebdfc4ee3354 09:25:55 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 09:26:14 Removing intermediate container ebdfc4ee3354 09:26:14 ---> b708f8e4c980 09:26:14 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:26:14 v0.18.4: Pulling from aler9/rtsp-simple-server 09:26:14 af6660deedbd: Pulling fs layer 09:26:14 97cd0a44c592: Pulling fs layer 09:26:14 97cd0a44c592: Verifying Checksum 09:26:14 97cd0a44c592: Download complete 09:26:14 af6660deedbd: Verifying Checksum 09:26:14 af6660deedbd: Download complete 09:26:14 af6660deedbd: Pull complete 09:26:14 97cd0a44c592: Pull complete 09:26:14 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:26:14 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:26:14 ---> fea57e182299 09:26:14 Step 15/35 : FROM alpine:3.16 09:26:15 3.16: Pulling from library/alpine 09:26:15 ef5531b6e74e: Pulling fs layer 09:26:15 ef5531b6e74e: Verifying Checksum 09:26:15 ef5531b6e74e: Download complete 09:26:15 ef5531b6e74e: Pull complete 09:26:15 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:26:15 Status: Downloaded newer image for alpine:3.16 09:26:15 ---> dfd21b5a31f5 09:26:15 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:26:16 ---> Running in d911eaafe9a5 09:26:16 Removing intermediate container d911eaafe9a5 09:26:16 ---> 9b0d36562cf3 09:26:16 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 09:26:16 ---> Running in 070de8307988 09:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:26:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:26:16 (1/80) Installing dumb-init (1.2.5-r1) 09:26:16 (2/80) Installing sdl2 (2.0.22-r0) 09:26:16 (3/80) Installing libxau (1.0.9-r0) 09:26:16 (4/80) Installing libxdmcp (1.1.3-r0) 09:26:16 (5/80) Installing libxcb (1.15-r0) 09:26:16 (6/80) Installing libx11 (1.8-r0) 09:26:16 (7/80) Installing aom-libs (3.3.0-r0) 09:26:17 (8/80) Installing alsa-lib (1.2.7.2-r0) 09:26:17 (9/80) Installing expat (2.5.0-r0) 09:26:17 (10/80) Installing brotli-libs (1.0.9-r6) 09:26:17 (11/80) Installing libbz2 (1.0.8-r1) 09:26:17 (12/80) Installing libpng (1.6.37-r1) 09:26:17 (13/80) Installing freetype (2.12.1-r0) 09:26:17 (14/80) Installing fontconfig (2.14.0-r0) 09:26:17 (15/80) Installing fribidi (1.0.12-r0) 09:26:17 (16/80) Installing libffi (3.4.2-r1) 09:26:17 (17/80) Installing libintl (0.21-r2) 09:26:17 (18/80) Installing libblkid (2.38-r1) 09:26:17 (19/80) Installing libmount (2.38-r1) 09:26:17 (20/80) Installing pcre (8.45-r2) 09:26:17 (21/80) Installing glib (2.72.1-r0) 09:26:17 (22/80) Installing graphite2 (1.3.14-r1) 09:26:17 (23/80) Installing harfbuzz (4.3.0-r0) 09:26:17 (24/80) Installing libass (0.16.0-r0) 09:26:17 (25/80) Installing libdav1d (1.0.0-r0) 09:26:17 (26/80) Installing libpciaccess (0.16-r0) 09:26:17 (27/80) Installing libdrm (2.4.110-r0) 09:26:17 (28/80) Installing gmp (6.2.1-r2) 09:26:17 (29/80) Installing nettle (3.7.3-r0) 09:26:17 (30/80) Installing p11-kit (0.24.1-r0) 09:26:17 (31/80) Installing libtasn1 (4.18.0-r1) 09:26:17 (32/80) Installing libunistring (1.0-r0) 09:26:17 (33/80) Installing gnutls (3.7.7-r1) 09:26:17 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:26:17 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 09:26:17 (36/80) Installing lame (3.100-r0) 09:26:17 (37/80) Installing opus (1.3.1-r1) 09:26:17 (38/80) Installing libasyncns (0.8-r1) 09:26:17 (39/80) Installing dbus-libs (1.14.4-r0) 09:26:17 (40/80) Installing libltdl (2.4.7-r0) 09:26:17 (41/80) Installing orc (0.4.32-r0) 09:26:17 (42/80) Installing libgcc (11.2.1_git20220219-r2) 09:26:17 (43/80) Installing libogg (1.3.5-r1) 09:26:17 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 09:26:17 (45/80) Installing flac (1.3.4-r0) 09:26:17 (46/80) Installing libvorbis (1.3.7-r0) 09:26:17 (47/80) Installing libsndfile (1.1.0-r0) 09:26:17 (48/80) Installing libgomp (11.2.1_git20220219-r2) 09:26:17 (49/80) Installing soxr (0.1.3-r2) 09:26:17 (50/80) Installing speexdsp (1.2.0-r0) 09:26:17 (51/80) Installing tdb-libs (1.4.6-r0) 09:26:17 (52/80) Installing libpulse (15.0-r2) 09:26:17 (53/80) Installing cjson (1.7.15-r3) 09:26:18 (54/80) Installing mbedtls (2.28.2-r0) 09:26:18 (55/80) Installing librist (0.2.6-r1) 09:26:18 (56/80) Installing libsrt (1.4.4-r0) 09:26:18 (57/80) Installing libssh (0.9.6-r1) 09:26:18 (58/80) Installing libtheora (1.1.1-r16) 09:26:18 (59/80) Installing libjpeg-turbo (2.1.3-r1) 09:26:18 (60/80) Installing v4l-utils-libs (1.22.1-r1) 09:26:18 (61/80) Installing libxext (1.3.4-r0) 09:26:18 (62/80) Installing libxfixes (6.0.0-r0) 09:26:18 (63/80) Installing wayland-libs-client (1.20.0-r0) 09:26:18 (64/80) Installing libva (2.14.0-r0) 09:26:18 (65/80) Installing libvdpau (1.5-r0) 09:26:18 (66/80) Installing vidstab (1.1.0-r1) 09:26:18 (67/80) Installing libvpx (1.11.0-r1) 09:26:18 (68/80) Installing libwebp (1.2.3-r0) 09:26:18 (69/80) Installing x264-libs (0.163_git20210613-r0) 09:26:18 (70/80) Installing numactl (2.0.14-r0) 09:26:18 (71/80) Installing x265-libs (3.5-r3) 09:26:18 (72/80) Installing xvidcore (1.3.7-r1) 09:26:18 (73/80) Installing ffmpeg-libs (5.0.1-r1) 09:26:19 (74/80) Installing ffmpeg (5.0.1-r1) 09:26:19 (75/80) Installing udev-init-scripts (35-r0) 09:26:19 Executing udev-init-scripts-35-r0.post-install 09:26:19 (76/80) Installing eudev-libs (3.2.11-r0) 09:26:19 (77/80) Installing xz-libs (5.2.5-r1) 09:26:19 (78/80) Installing zstd-libs (1.5.2-r1) 09:26:19 (79/80) Installing kmod-libs (29-r2) 09:26:19 (80/80) Installing eudev (3.2.11-r0) 09:26:19 Executing busybox-1.35.0-r17.trigger 09:26:19 Executing eudev-3.2.11-r0.trigger 09:26:19 OK: 100 MiB in 94 packages 09:26:21 Removing intermediate container 070de8307988 09:26:21 ---> eaf9aa792aac 09:26:21 Step 18/35 : WORKDIR / 09:26:21 ---> Running in 8fdfac345662 09:26:21 Removing intermediate container 8fdfac345662 09:26:21 ---> 0de99d636dc5 09:26:21 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 09:26:22 ---> 2da8cf0733bd 09:26:22 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 09:26:22 ---> c2cea3e93935 09:26:22 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:26:22 ---> bf55b419a0d1 09:26:22 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:26:22 ---> c893ee290873 09:26:22 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:26:22 ---> 4ec90d6a7478 09:26:22 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 09:26:22 ---> 9eeb87cac98a 09:26:22 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 09:26:23 ---> 94a10d254ac8 09:26:23 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:26:23 ---> Running in 87c44dd50c4f 09:26:23 Removing intermediate container 87c44dd50c4f 09:26:23 ---> 4bfc5cccf50c 09:26:23 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:26:23 ---> Running in a82497540e77 09:26:24 Removing intermediate container a82497540e77 09:26:24 ---> 6637cdcb9439 09:26:24 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:26:24 ---> Running in b2afb6eac6e1 09:26:24 Removing intermediate container b2afb6eac6e1 09:26:24 ---> 8507cdb5f37d 09:26:24 Step 29/35 : EXPOSE 59983 09:26:24 ---> Running in d7d41061a730 09:26:25 Removing intermediate container d7d41061a730 09:26:25 ---> b13a6c90733e 09:26:25 Step 30/35 : EXPOSE 8554 09:26:25 ---> Running in 1b165d292dba 09:26:25 Removing intermediate container 1b165d292dba 09:26:25 ---> 669cb7d1a8c6 09:26:25 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:26:25 ---> Running in 8be693a1ff15 09:26:25 Removing intermediate container 8be693a1ff15 09:26:25 ---> fc0b1cefde51 09:26:25 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 09:26:25 ---> Running in 082981f0f2f5 09:26:25 Removing intermediate container 082981f0f2f5 09:26:25 ---> 21725f2802cc 09:26:25 Step 33/35 : LABEL arch=amd64 09:26:25 ---> Running in 057918238ad5 09:26:25 Removing intermediate container 057918238ad5 09:26:25 ---> 5a4af93d6602 09:26:25 Step 34/35 : LABEL git_sha=c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:26:25 ---> Running in 7a23235bf3ca 09:26:26 Removing intermediate container 7a23235bf3ca 09:26:26 ---> 9fbdd3df9cbb 09:26:26 Step 35/35 : LABEL version=3.0.0-dev.6 09:26:26 ---> Running in 5f1310c71cbb 09:26:26 Removing intermediate container 5f1310c71cbb 09:26:26 ---> de08ba6e5265 09:26:26 [Warning] One or more build-args [ARCH] were not consumed 09:26:26 Successfully built de08ba6e5265 09:26:26 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 09:26:26 provisioning config files... 09:26:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16532575957068126676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:26 ---> docker-login.sh 09:26:26 nexus3.edgexfoundry.org:10001 09:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:26 Configure a credential helper to remove this warning. See 09:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:26 09:26:26 Login Succeeded 09:26:26 nexus3.edgexfoundry.org:10002 09:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:26 Configure a credential helper to remove this warning. See 09:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:26 09:26:26 Login Succeeded 09:26:26 nexus3.edgexfoundry.org:10003 09:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:26 Configure a credential helper to remove this warning. See 09:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:26 09:26:26 Login Succeeded 09:26:26 nexus3.edgexfoundry.org:10004 09:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:26 Configure a credential helper to remove this warning. See 09:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:26 09:26:26 Login Succeeded 09:26:26 docker.io 09:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:26 Configure a credential helper to remove this warning. See 09:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:26 09:26:26 Login Succeeded 09:26:26 ---> docker-login.sh ends [Pipeline] } 09:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:26:26 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 09:26:26 c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:26:26 latest 09:26:26 3.0.0-dev.6 09:26:26 c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:26:26 main 09:26:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:27 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:26:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:26:27 bfe22121888d: Preparing 09:26:27 b02bcb632ee0: Preparing 09:26:27 20d328b226de: Preparing 09:26:27 550e596c6d0e: Preparing 09:26:27 1207169bf42c: Preparing 09:26:27 4ce29806664a: Preparing 09:26:27 488f5bdf1730: Preparing 09:26:27 4eb60a6679cd: Preparing 09:26:27 6808e69ed7b5: Preparing 09:26:27 85884514f0a1: Preparing 09:26:27 16953885e7dd: Preparing 09:26:27 aa5968d388b8: Preparing 09:26:27 4eb60a6679cd: Waiting 09:26:27 6808e69ed7b5: Waiting 09:26:27 488f5bdf1730: Waiting 09:26:27 85884514f0a1: Waiting 09:26:27 16953885e7dd: Waiting 09:26:27 aa5968d388b8: Waiting 09:26:27 bfe22121888d: Pushed 09:26:27 1207169bf42c: Pushed 09:26:27 b02bcb632ee0: Pushed 09:26:27 20d328b226de: Pushed 09:26:27 488f5bdf1730: Pushed 09:26:27 6808e69ed7b5: Pushed 09:26:27 4eb60a6679cd: Pushed 09:26:27 4ce29806664a: Pushed 09:26:27 aa5968d388b8: Layer already exists 09:26:29 550e596c6d0e: Pushed 09:26:30 85884514f0a1: Pushed 09:26:36 16953885e7dd: Pushed 09:26:36 c4833ecb71a5b036c07645cdd3981a69f5c223ec: digest: sha256:829a23e4cbcfa15c1d16f8f8819a1a5e50a0896d1fa115aeaeac5befa3b3b958 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:26:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:26:37 bfe22121888d: Preparing 09:26:37 b02bcb632ee0: Preparing 09:26:37 20d328b226de: Preparing 09:26:37 550e596c6d0e: Preparing 09:26:37 1207169bf42c: Preparing 09:26:37 4ce29806664a: Preparing 09:26:37 488f5bdf1730: Preparing 09:26:37 4eb60a6679cd: Preparing 09:26:37 6808e69ed7b5: Preparing 09:26:37 85884514f0a1: Preparing 09:26:37 16953885e7dd: Preparing 09:26:37 aa5968d388b8: Preparing 09:26:37 4ce29806664a: Waiting 09:26:37 488f5bdf1730: Waiting 09:26:37 6808e69ed7b5: Waiting 09:26:37 4eb60a6679cd: Waiting 09:26:37 16953885e7dd: Waiting 09:26:37 85884514f0a1: Waiting 09:26:37 aa5968d388b8: Waiting 09:26:37 bfe22121888d: Layer already exists 09:26:37 20d328b226de: Layer already exists 09:26:37 b02bcb632ee0: Layer already exists 09:26:37 550e596c6d0e: Layer already exists 09:26:37 1207169bf42c: Layer already exists 09:26:37 4ce29806664a: Layer already exists 09:26:37 4eb60a6679cd: Layer already exists 09:26:37 488f5bdf1730: Layer already exists 09:26:37 6808e69ed7b5: Layer already exists 09:26:37 85884514f0a1: Layer already exists 09:26:37 aa5968d388b8: Layer already exists 09:26:37 16953885e7dd: Layer already exists 09:26:37 latest: digest: sha256:829a23e4cbcfa15c1d16f8f8819a1a5e50a0896d1fa115aeaeac5befa3b3b958 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.6 09:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:26:38 bfe22121888d: Preparing 09:26:38 b02bcb632ee0: Preparing 09:26:38 20d328b226de: Preparing 09:26:38 550e596c6d0e: Preparing 09:26:38 1207169bf42c: Preparing 09:26:38 4ce29806664a: Preparing 09:26:38 488f5bdf1730: Preparing 09:26:38 4eb60a6679cd: Preparing 09:26:38 4ce29806664a: Waiting 09:26:38 6808e69ed7b5: Preparing 09:26:38 85884514f0a1: Preparing 09:26:38 16953885e7dd: Preparing 09:26:38 aa5968d388b8: Preparing 09:26:38 488f5bdf1730: Waiting 09:26:38 85884514f0a1: Waiting 09:26:38 4eb60a6679cd: Waiting 09:26:38 16953885e7dd: Waiting 09:26:38 6808e69ed7b5: Waiting 09:26:38 aa5968d388b8: Waiting 09:26:38 550e596c6d0e: Layer already exists 09:26:38 bfe22121888d: Layer already exists 09:26:38 1207169bf42c: Layer already exists 09:26:38 b02bcb632ee0: Layer already exists 09:26:38 20d328b226de: Layer already exists 09:26:38 4ce29806664a: Layer already exists 09:26:38 488f5bdf1730: Layer already exists 09:26:38 85884514f0a1: Layer already exists 09:26:38 4eb60a6679cd: Layer already exists 09:26:38 6808e69ed7b5: Layer already exists 09:26:38 16953885e7dd: Layer already exists 09:26:38 aa5968d388b8: Layer already exists 09:26:38 3.0.0-dev.6: digest: sha256:829a23e4cbcfa15c1d16f8f8819a1a5e50a0896d1fa115aeaeac5befa3b3b958 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:26:38 bfe22121888d: Preparing 09:26:38 b02bcb632ee0: Preparing 09:26:38 20d328b226de: Preparing 09:26:38 550e596c6d0e: Preparing 09:26:38 1207169bf42c: Preparing 09:26:38 4ce29806664a: Preparing 09:26:38 488f5bdf1730: Preparing 09:26:38 4ce29806664a: Waiting 09:26:38 4eb60a6679cd: Preparing 09:26:38 488f5bdf1730: Waiting 09:26:38 6808e69ed7b5: Preparing 09:26:38 85884514f0a1: Preparing 09:26:38 16953885e7dd: Preparing 09:26:38 4eb60a6679cd: Waiting 09:26:38 6808e69ed7b5: Waiting 09:26:38 85884514f0a1: Waiting 09:26:38 aa5968d388b8: Preparing 09:26:38 bfe22121888d: Layer already exists 09:26:38 20d328b226de: Layer already exists 09:26:38 1207169bf42c: Layer already exists 09:26:38 550e596c6d0e: Layer already exists 09:26:38 b02bcb632ee0: Layer already exists 09:26:38 4ce29806664a: Layer already exists 09:26:38 488f5bdf1730: Layer already exists 09:26:38 4eb60a6679cd: Layer already exists 09:26:38 85884514f0a1: Layer already exists 09:26:38 6808e69ed7b5: Layer already exists 09:26:38 16953885e7dd: Layer already exists 09:26:38 aa5968d388b8: Layer already exists 09:26:38 c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6: digest: sha256:829a23e4cbcfa15c1d16f8f8819a1a5e50a0896d1fa115aeaeac5befa3b3b958 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:39 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 09:26:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:26:39 bfe22121888d: Preparing 09:26:39 b02bcb632ee0: Preparing 09:26:39 20d328b226de: Preparing 09:26:39 550e596c6d0e: Preparing 09:26:39 1207169bf42c: Preparing 09:26:39 4ce29806664a: Preparing 09:26:39 488f5bdf1730: Preparing 09:26:39 4eb60a6679cd: Preparing 09:26:39 6808e69ed7b5: Preparing 09:26:39 85884514f0a1: Preparing 09:26:39 16953885e7dd: Preparing 09:26:39 aa5968d388b8: Preparing 09:26:39 85884514f0a1: Waiting 09:26:39 6808e69ed7b5: Waiting 09:26:39 16953885e7dd: Waiting 09:26:39 aa5968d388b8: Waiting 09:26:39 4ce29806664a: Waiting 09:26:39 488f5bdf1730: Waiting 09:26:39 4eb60a6679cd: Waiting 09:26:39 b02bcb632ee0: Layer already exists 09:26:39 20d328b226de: Layer already exists 09:26:39 550e596c6d0e: Layer already exists 09:26:39 1207169bf42c: Layer already exists 09:26:39 bfe22121888d: Layer already exists 09:26:39 4ce29806664a: Layer already exists 09:26:39 6808e69ed7b5: Layer already exists 09:26:39 85884514f0a1: Layer already exists 09:26:39 488f5bdf1730: Layer already exists 09:26:39 4eb60a6679cd: Layer already exists 09:26:39 16953885e7dd: Layer already exists 09:26:39 aa5968d388b8: Layer already exists 09:26:39 main: digest: sha256:829a23e4cbcfa15c1d16f8f8819a1a5e50a0896d1fa115aeaeac5befa3b3b958 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:26:39 ===================================================== [Pipeline] echo 09:26:39 taggedImages: 09:26:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:26:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:26:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.6 09:26:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:26:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:39 09:26:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:40 latest: Pulling from edgex-lftools-log-publisher 09:26:40 5eb5b503b376: Pulling fs layer 09:26:40 5c69ac0246d0: Pulling fs layer 09:26:40 ec43610c2a17: Pulling fs layer 09:26:40 3a2ae6a8a46f: Pulling fs layer 09:26:40 33b1e0a273af: Pulling fs layer 09:26:40 5d3b04190fa2: Pulling fs layer 09:26:40 2f39f015ded8: Pulling fs layer 09:26:40 3a2ae6a8a46f: Waiting 09:26:40 33b1e0a273af: Waiting 09:26:40 5d3b04190fa2: Waiting 09:26:40 2f39f015ded8: Waiting 09:26:40 5c69ac0246d0: Download complete 09:26:40 3a2ae6a8a46f: Download complete 09:26:40 33b1e0a273af: Verifying Checksum 09:26:40 33b1e0a273af: Download complete 09:26:40 5d3b04190fa2: Verifying Checksum 09:26:40 5d3b04190fa2: Download complete 09:26:40 ec43610c2a17: Verifying Checksum 09:26:40 ec43610c2a17: Download complete 09:26:40 5eb5b503b376: Verifying Checksum 09:26:40 5eb5b503b376: Download complete 09:26:41 2f39f015ded8: Download complete 09:26:41 5eb5b503b376: Pull complete 09:26:41 5c69ac0246d0: Pull complete 09:26:42 ec43610c2a17: Pull complete 09:26:42 3a2ae6a8a46f: Pull complete 09:26:42 33b1e0a273af: Pull complete 09:26:42 5d3b04190fa2: Pull complete 09:26:46 2f39f015ded8: Pull complete 09:26:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:46 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:26:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:26:49 $ docker top 18c2352a2ebc20bf2c3cbde7dfc66c38de69f663e75b6260ced80ba50c2eb0f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:49 ---> job-cost.sh 09:26:49 lf-activate-venv: SKIPPING 09:26:49 INFO: No Stack... 09:26:49 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:50 INFO: Archiving Costs [Pipeline] sh 09:26:50 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 09:26:50 + cut -d, -f6 [Pipeline] lock 09:26:50 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] 09:26:50 Resource [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] did not exist. Created. 09:26:50 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:51 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:51 Stashed 1 file(s) [Pipeline] } 09:26:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:51 $ docker stop --time=1 18c2352a2ebc20bf2c3cbde7dfc66c38de69f663e75b6260ced80ba50c2eb0f0 09:26:52 $ docker rm -f --volumes 18c2352a2ebc20bf2c3cbde7dfc66c38de69f663e75b6260ced80ba50c2eb0f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:28:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5775 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 09:28:21 Running in /w/workspace/device-usb-camera/77 [Pipeline] { [Pipeline] checkout 09:28:21 Selected Git installation does not exist. Using Default 09:28:21 The recommended git tool is: NONE 09:28:27 using credential edgex-jenkins-ssh 09:28:27 Cloning the remote Git repository 09:28:27 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:28:28 > git init /w/workspace/device-usb-camera/77 # timeout=10 09:28:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:28:28 > git --version # timeout=10 09:28:28 > git --version # 'git version 2.25.1' 09:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:29 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:28:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:30 Avoid second fetch 09:28:30 Checking out Revision c4833ecb71a5b036c07645cdd3981a69f5c223ec (main) 09:28:30 > git config core.sparsecheckout # timeout=10 09:28:30 > git checkout -f c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 09:28:30 Commit message: "docs(snap): Update camera interface, getting started doc version (#143)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:28:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:28:31 % Total % Received % Xferd Average Speed Time Time Time Current 09:28:31 Dload Upload Total Spent Left Speed 09:28:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63123 0 --:--:-- --:--:-- --:--:-- 63437 [Pipeline] sh 09:28:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:28:32 + sudo tee /etc/docker/daemon.new 09:28:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:28:32 { 09:28:32 "registry-mirrors": [ 09:28:32 "https://nexus3.edgexfoundry.org:10001" 09:28:32 ], 09:28:32 "bip": "10.250.0.254/24", 09:28:32 "hosts": [ 09:28:32 "tcp://0.0.0.0:5555", 09:28:32 "unix:///var/run/docker.sock" 09:28:32 ], 09:28:32 "mtu": 1458, 09:28:32 "selinux-enabled": true, 09:28:32 "seccomp-profile": "/etc/docker/seccomp.json" 09:28:32 } [Pipeline] sh 09:28:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:28:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:51 provisioning config files... 09:28:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/77@tmp/config10348388549164013930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:52 ---> docker-login.sh 09:28:52 nexus3.edgexfoundry.org:10001 09:28:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:52 Configure a credential helper to remove this warning. See 09:28:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:52 09:28:52 Login Succeeded 09:28:52 nexus3.edgexfoundry.org:10002 09:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:53 Configure a credential helper to remove this warning. See 09:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:53 09:28:53 Login Succeeded 09:28:53 nexus3.edgexfoundry.org:10003 09:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:53 Configure a credential helper to remove this warning. See 09:28:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:53 09:28:53 Login Succeeded 09:28:53 nexus3.edgexfoundry.org:10004 09:28:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:54 Configure a credential helper to remove this warning. See 09:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:54 09:28:54 Login Succeeded 09:28:54 docker.io 09:28:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:54 Configure a credential helper to remove this warning. See 09:28:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:54 09:28:54 Login Succeeded 09:28:54 ---> docker-login.sh ends [Pipeline] } 09:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:28:55 ========================================================= 09:28:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:28:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:55 + 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 . 09:28:55 Sending build context to Docker daemon 1.129MB 09:28:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:28:55 Step 2/13 : FROM ${BASE} AS builder 09:28:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:28:56 9b18e9b68314: Pulling fs layer 09:28:56 35d82f9e3411: Pulling fs layer 09:28:56 e16973657156: Pulling fs layer 09:28:56 fc693d55d65f: Pulling fs layer 09:28:56 7e9fc2657dce: Pulling fs layer 09:28:56 dda99020689f: Pulling fs layer 09:28:56 db1c61fa0a46: Pulling fs layer 09:28:56 891c053d2c06: Pulling fs layer 09:28:56 dda99020689f: Waiting 09:28:56 db1c61fa0a46: Waiting 09:28:56 891c053d2c06: Waiting 09:28:56 7e9fc2657dce: Waiting 09:28:56 fc693d55d65f: Waiting 09:28:56 e16973657156: Download complete 09:28:56 35d82f9e3411: Verifying Checksum 09:28:56 35d82f9e3411: Download complete 09:28:56 7e9fc2657dce: Verifying Checksum 09:28:56 7e9fc2657dce: Download complete 09:28:56 dda99020689f: Verifying Checksum 09:28:56 dda99020689f: Download complete 09:28:56 9b18e9b68314: Verifying Checksum 09:28:57 9b18e9b68314: Pull complete 09:28:57 891c053d2c06: Verifying Checksum 09:28:57 891c053d2c06: Download complete 09:28:57 35d82f9e3411: Pull complete 09:28:58 e16973657156: Pull complete 09:28:58 db1c61fa0a46: Verifying Checksum 09:28:58 db1c61fa0a46: Download complete 09:28:59 fc693d55d65f: Verifying Checksum 09:28:59 fc693d55d65f: Download complete 09:29:11 fc693d55d65f: Pull complete 09:29:11 7e9fc2657dce: Pull complete 09:29:12 dda99020689f: Pull complete 09:29:18 db1c61fa0a46: Pull complete 09:29:20 891c053d2c06: Pull complete 09:29:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:29:20 ---> f96f9c87975a 09:29:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:29:22 ---> Running in 189e621083fa 09:29:22 Removing intermediate container 189e621083fa 09:29:22 ---> 64174d38dc4b 09:29:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:29:22 ---> Running in 8f0edcc65f69 09:29:22 Removing intermediate container 8f0edcc65f69 09:29:22 ---> 12cf606cdab0 09:29:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 09:29:22 ---> Running in b060ebd0fe7b 09:29:23 Removing intermediate container b060ebd0fe7b 09:29:23 ---> 7069981275d9 09:29:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:29:23 ---> Running in 7683ca1808dd 09:29:23 Removing intermediate container 7683ca1808dd 09:29:23 ---> 11d60eca69fe 09:29:23 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:29:23 ---> Running in 81985973d07f 09:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:29:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:29:26 (1/14) Installing libintl (0.21-r2) 09:29:26 (2/14) Installing eudev-libs (3.2.11-r0) 09:29:26 (3/14) Installing libjpeg-turbo (2.1.3-r1) 09:29:26 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:29:26 (5/14) Installing v4l-utils (1.22.1-r1) 09:29:26 (6/14) Installing udev-init-scripts (35-r0) 09:29:26 Executing udev-init-scripts-35-r0.post-install 09:29:26 (7/14) Installing libblkid (2.38-r1) 09:29:26 (8/14) Installing xz-libs (5.2.5-r1) 09:29:26 (9/14) Installing zstd-libs (1.5.2-r1) 09:29:26 (10/14) Installing kmod-libs (29-r2) 09:29:26 (11/14) Installing eudev (3.2.11-r0) 09:29:26 (12/14) Installing eudev-dev (3.2.11-r0) 09:29:26 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:29:26 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:29:26 Executing busybox-1.35.0-r17.trigger 09:29:26 Executing eudev-3.2.11-r0.trigger 09:29:26 OK: 228 MiB in 65 packages 09:29:28 Removing intermediate container 81985973d07f 09:29:28 ---> ab595bd9d02f 09:29:28 Step 8/13 : WORKDIR /device-usb-camera 09:29:28 ---> Running in e76b8c060191 09:29:28 Removing intermediate container e76b8c060191 09:29:28 ---> 2876a5c358cd 09:29:28 Step 9/13 : COPY go.mod vendor* ./ 09:29:30 ---> e46057c22d62 09:29:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:30 ---> Running in 6ff3390a8499 09:30:27 Removing intermediate container 6ff3390a8499 09:30:27 ---> 76f3e8963390 09:30:27 Step 11/13 : COPY . . 09:30:27 ---> c74c85e03dd4 09:30:27 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:30:27 ---> Running in 7a3633c91fe7 09:30:27  % Total  % Received % Xferd Average Speed Time   Time  Time Current 09:30:27  Dload Upload Total Spent Left Speed 09:30:27 0 0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14061 0 --:--:-- --:--:-- --:--:-- 14160 09:30:27 Removing intermediate container 7a3633c91fe7 09:30:27 ---> ea27210ce7f7 09:30:27 Step 13/13 : RUN ${MAKE} 09:30:27 ---> Running in 62d8ab2f5266 09:30:27 noop 09:30:27 Removing intermediate container 62d8ab2f5266 09:30:27 ---> d37c507bb715 09:30:27 Successfully built d37c507bb715 09:30:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:27 + docker inspect -f . ci-base-image-arm64 09:30:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:27 prd-ubuntu20.04-docker-arm64-4c-16g-5775 does not seem to be running inside a container 09:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/77 -v /w/workspace/device-usb-camera/77:/w/workspace/device-usb-camera/77:rw,z -v /w/workspace/device-usb-camera/77@tmp:/w/workspace/device-usb-camera/77@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 09:30:28 $ docker top c2cbbf7999a7019fbd353dedad5234db057989cf556617ac5838360e9281835c -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:29 + go version 09:30:29 go version go1.18.7 linux/arm64 [Pipeline] } 09:30:29 $ docker stop --time=1 c2cbbf7999a7019fbd353dedad5234db057989cf556617ac5838360e9281835c 09:30:31 $ docker rm -f --volumes c2cbbf7999a7019fbd353dedad5234db057989cf556617ac5838360e9281835c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:31 + docker inspect -f . ci-base-image-arm64 09:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-5775 does not seem to be running inside a container 09:30:32 $ 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/77 -v /w/workspace/device-usb-camera/77:/w/workspace/device-usb-camera/77:rw,z -v /w/workspace/device-usb-camera/77@tmp:/w/workspace/device-usb-camera/77@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 09:30:33 $ docker top c44a7943feabcf85a45b7313bebfe1f52e10116022ad29a60bb62102df47f212 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:33 + git config --global --add safe.directory /w/workspace/device-usb-camera/77 [Pipeline] fileExists [Pipeline] sh 09:30:34 + make test 09:30:34 go test ./... -coverprofile=coverage.out ./... 09:30:35 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:32:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:32:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 1.9% of statements 09:32:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:32:12 go vet ./... 09:32:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:32:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:32:24 ./bin/test-attribution-txt.sh [Pipeline] echo 09:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:32:25 $ docker stop --time=1 c44a7943feabcf85a45b7313bebfe1f52e10116022ad29a60bb62102df47f212 09:32:27 $ docker rm -f --volumes c44a7943feabcf85a45b7313bebfe1f52e10116022ad29a60bb62102df47f212 [Pipeline] // withDockerContainer [Pipeline] sh 09:32:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:32:28 Warning: overwriting stash ‘coverage-report’ 09:32:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:32:29 + ls -al . 09:32:29 total 204 09:32:29 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 09:30 . 09:32:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:28 .. 09:32:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 09:28 .git 09:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:28 .github 09:32:29 -rw-rw-r-- 1 jenkins jenkins 414 Feb 14 09:28 .gitignore 09:32:29 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 09:28 .golangci.yml 09:32:29 -rw-rw-r-- 1 jenkins jenkins 77 Feb 14 09:28 .hadolint.yml 09:32:29 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 14 09:28 Attribution.txt 09:32:29 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 14 09:28 CHANGELOG.md 09:32:29 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 14 09:28 Dockerfile 09:32:29 -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 09:28 GOVERNANCE.md 09:32:29 -rw-rw-r-- 1 jenkins jenkins 659 Feb 14 09:28 Jenkinsfile 09:32:29 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 09:28 LICENSE 09:32:29 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 14 09:28 Makefile 09:32:29 -rw-rw-r-- 1 jenkins jenkins 622 Feb 14 09:28 OWNERS.md 09:32:29 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 14 09:28 README.md 09:32:29 -rw-rw-r-- 1 jenkins jenkins 11 Feb 14 09:24 VERSION 09:32:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 09:28 bin 09:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:28 cmd 09:32:29 -rw-r--r-- 1 jenkins jenkins 30666 Feb 14 09:32 coverage.out 09:32:29 -rwxrwxr-x 1 jenkins jenkins 140 Feb 14 09:28 docker-entrypoint.sh 09:32:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:28 docs 09:32:29 -rw-rw-r-- 1 jenkins jenkins 3574 Feb 14 09:28 go.mod 09:32:29 -rw-rw-r-- 1 jenkins jenkins 45170 Feb 14 09:28 go.sum 09:32:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 09:28 internal 09:32:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 09:28 snap 09:32:29 -rw-rw-r-- 1 jenkins jenkins 231 Feb 14 09:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:29 + 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=c4833ecb71a5b036c07645cdd3981a69f5c223ec --label arch=arm64 --label version=3.0.0-dev.6 . 09:32:30 Sending build context to Docker daemon 1.161MB 09:32:30 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 09:32:30 Step 2/35 : FROM ${BASE} AS builder 09:32:30 ---> d37c507bb715 09:32:30 Step 3/35 : ARG ADD_BUILD_TAGS="" 09:32:30 ---> Running in 653d954d67f5 09:32:30 Removing intermediate container 653d954d67f5 09:32:30 ---> e5a9442d6273 09:32:30 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:32:30 ---> Running in 5c88ea4aad6c 09:32:30 Removing intermediate container 5c88ea4aad6c 09:32:30 ---> 29a628ea5048 09:32:30 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 09:32:30 ---> Running in 42f01007258e 09:32:31 Removing intermediate container 42f01007258e 09:32:31 ---> dcb52118f8ac 09:32:31 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:32:31 ---> Running in 765e1ecbc92d 09:32:31 Removing intermediate container 765e1ecbc92d 09:32:31 ---> 0ce2a27f252f 09:32:31 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:32:31 ---> Running in f2e3f47e278f 09:32:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:32:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:32:33 OK: 228 MiB in 65 packages 09:32:34 Removing intermediate container f2e3f47e278f 09:32:34 ---> eb46adffd16b 09:32:34 Step 8/35 : WORKDIR /device-usb-camera 09:32:34 ---> Running in 6cb4628021b3 09:32:35 Removing intermediate container 6cb4628021b3 09:32:35 ---> f1a768a6fa3c 09:32:35 Step 9/35 : COPY go.mod vendor* ./ 09:32:35 ---> bd011410b071 09:32:35 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:32:35 ---> Running in 8de2ab9a4531 09:32:37 Removing intermediate container 8de2ab9a4531 09:32:37 ---> ed70a1636cec 09:32:37 Step 11/35 : COPY . . 09:32:38 ---> 7ce4aed0989f 09:32:38 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:32:38 ---> Running in 4a6b6eafd144 09:32:39  % Total % Received % Xferd Average Speed Time Time Time Current 09:32:39 Dload Upload Total Spent Left Speed 09:32:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5949 0 --:--:-- --:--:-- --:--:-- 5966 09:32:40 Removing intermediate container 4a6b6eafd144 09:32:40 ---> 82611f9346be 09:32:40 Step 13/35 : RUN ${MAKE} 09:32:40 ---> Running in 1e66ad5ed407 09:32:41 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 09:35:03 Removing intermediate container 1e66ad5ed407 09:35:03 ---> 93f39cb0b867 09:35:03 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:35:03 v0.18.4: Pulling from aler9/rtsp-simple-server 09:35:03 eab2503cf8f4: Pulling fs layer 09:35:03 97cd0a44c592: Pulling fs layer 09:35:03 97cd0a44c592: Verifying Checksum 09:35:03 97cd0a44c592: Download complete 09:35:03 eab2503cf8f4: Verifying Checksum 09:35:03 eab2503cf8f4: Download complete 09:35:03 eab2503cf8f4: Pull complete 09:35:03 97cd0a44c592: Pull complete 09:35:03 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:35:03 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:35:03 ---> 7f763cca56b3 09:35:03 Step 15/35 : FROM alpine:3.16 09:35:03 3.16: Pulling from library/alpine 09:35:03 3760b48202b3: Pulling fs layer 09:35:03 3760b48202b3: Verifying Checksum 09:35:03 3760b48202b3: Download complete 09:35:04 3760b48202b3: Pull complete 09:35:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:35:05 Status: Downloaded newer image for alpine:3.16 09:35:05 ---> 4c81e5bf8899 09:35:05 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:35:05 ---> Running in d7d8f3dfa9af 09:35:05 Removing intermediate container d7d8f3dfa9af 09:35:05 ---> 6390c7ed403a 09:35:05 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 09:35:05 ---> Running in fc981079fa5d 09:35:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:35:08 (1/79) Installing dumb-init (1.2.5-r1) 09:35:08 (2/79) Installing sdl2 (2.0.22-r0) 09:35:08 (3/79) Installing libxau (1.0.9-r0) 09:35:08 (4/79) Installing libxdmcp (1.1.3-r0) 09:35:08 (5/79) Installing libxcb (1.15-r0) 09:35:08 (6/79) Installing libx11 (1.8-r0) 09:35:08 (7/79) Installing aom-libs (3.3.0-r0) 09:35:08 (8/79) Installing alsa-lib (1.2.7.2-r0) 09:35:09 (9/79) Installing expat (2.5.0-r0) 09:35:09 (10/79) Installing brotli-libs (1.0.9-r6) 09:35:09 (11/79) Installing libbz2 (1.0.8-r1) 09:35:09 (12/79) Installing libpng (1.6.37-r1) 09:35:09 (13/79) Installing freetype (2.12.1-r0) 09:35:09 (14/79) Installing fontconfig (2.14.0-r0) 09:35:09 (15/79) Installing fribidi (1.0.12-r0) 09:35:09 (16/79) Installing libffi (3.4.2-r1) 09:35:09 (17/79) Installing libintl (0.21-r2) 09:35:09 (18/79) Installing libblkid (2.38-r1) 09:35:09 (19/79) Installing libmount (2.38-r1) 09:35:09 (20/79) Installing pcre (8.45-r2) 09:35:09 (21/79) Installing glib (2.72.1-r0) 09:35:09 (22/79) Installing graphite2 (1.3.14-r1) 09:35:09 (23/79) Installing harfbuzz (4.3.0-r0) 09:35:09 (24/79) Installing libass (0.16.0-r0) 09:35:09 (25/79) Installing libdav1d (1.0.0-r0) 09:35:09 (26/79) Installing libdrm (2.4.110-r0) 09:35:09 (27/79) Installing gmp (6.2.1-r2) 09:35:09 (28/79) Installing nettle (3.7.3-r0) 09:35:09 (29/79) Installing p11-kit (0.24.1-r0) 09:35:09 (30/79) Installing libtasn1 (4.18.0-r1) 09:35:09 (31/79) Installing libunistring (1.0-r0) 09:35:09 (32/79) Installing gnutls (3.7.7-r1) 09:35:09 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:35:09 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 09:35:09 (35/79) Installing lame (3.100-r0) 09:35:09 (36/79) Installing opus (1.3.1-r1) 09:35:09 (37/79) Installing libasyncns (0.8-r1) 09:35:09 (38/79) Installing dbus-libs (1.14.4-r0) 09:35:09 (39/79) Installing libltdl (2.4.7-r0) 09:35:10 (40/79) Installing orc (0.4.32-r0) 09:35:10 (41/79) Installing libgcc (11.2.1_git20220219-r2) 09:35:10 (42/79) Installing libogg (1.3.5-r1) 09:35:10 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 09:35:10 (44/79) Installing flac (1.3.4-r0) 09:35:10 (45/79) Installing libvorbis (1.3.7-r0) 09:35:10 (46/79) Installing libsndfile (1.1.0-r0) 09:35:10 (47/79) Installing libgomp (11.2.1_git20220219-r2) 09:35:10 (48/79) Installing soxr (0.1.3-r2) 09:35:10 (49/79) Installing speexdsp (1.2.0-r0) 09:35:10 (50/79) Installing tdb-libs (1.4.6-r0) 09:35:10 (51/79) Installing libpulse (15.0-r2) 09:35:10 (52/79) Installing cjson (1.7.15-r3) 09:35:10 (53/79) Installing mbedtls (2.28.2-r0) 09:35:10 (54/79) Installing librist (0.2.6-r1) 09:35:10 (55/79) Installing libsrt (1.4.4-r0) 09:35:10 (56/79) Installing libssh (0.9.6-r1) 09:35:10 (57/79) Installing libtheora (1.1.1-r16) 09:35:10 (58/79) Installing libjpeg-turbo (2.1.3-r1) 09:35:10 (59/79) Installing v4l-utils-libs (1.22.1-r1) 09:35:10 (60/79) Installing libxext (1.3.4-r0) 09:35:10 (61/79) Installing libxfixes (6.0.0-r0) 09:35:10 (62/79) Installing wayland-libs-client (1.20.0-r0) 09:35:10 (63/79) Installing libva (2.14.0-r0) 09:35:10 (64/79) Installing libvdpau (1.5-r0) 09:35:10 (65/79) Installing vidstab (1.1.0-r1) 09:35:10 (66/79) Installing libvpx (1.11.0-r1) 09:35:10 (67/79) Installing libwebp (1.2.3-r0) 09:35:10 (68/79) Installing x264-libs (0.163_git20210613-r0) 09:35:11 (69/79) Installing numactl (2.0.14-r0) 09:35:11 (70/79) Installing x265-libs (3.5-r3) 09:35:11 (71/79) Installing xvidcore (1.3.7-r1) 09:35:11 (72/79) Installing ffmpeg-libs (5.0.1-r1) 09:35:11 (73/79) Installing ffmpeg (5.0.1-r1) 09:35:11 (74/79) Installing udev-init-scripts (35-r0) 09:35:11 Executing udev-init-scripts-35-r0.post-install 09:35:11 (75/79) Installing eudev-libs (3.2.11-r0) 09:35:11 (76/79) Installing xz-libs (5.2.5-r1) 09:35:11 (77/79) Installing zstd-libs (1.5.2-r1) 09:35:11 (78/79) Installing kmod-libs (29-r2) 09:35:11 (79/79) Installing eudev (3.2.11-r0) 09:35:11 Executing busybox-1.35.0-r17.trigger 09:35:11 Executing eudev-3.2.11-r0.trigger 09:35:11 OK: 77 MiB in 93 packages 09:35:15 Removing intermediate container fc981079fa5d 09:35:15 ---> 06a495a24ff2 09:35:15 Step 18/35 : WORKDIR / 09:35:15 ---> Running in 6b2315d29380 09:35:15 Removing intermediate container 6b2315d29380 09:35:15 ---> 39a8c432e712 09:35:15 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 09:35:18 ---> 3b9cef4dd76c 09:35:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 09:35:18 ---> 42c378f2479a 09:35:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:35:19 ---> 59fe10a9477d 09:35:19 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:35:19 ---> 7dabe7adb460 09:35:19 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:35:20 ---> 04c71e48b55a 09:35:20 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 09:35:20 ---> 102bbe73757d 09:35:20 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 09:35:22 ---> d64fe26f5d2e 09:35:22 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:35:22 ---> Running in ac9e3f43496e 09:35:23 Removing intermediate container ac9e3f43496e 09:35:23 ---> a011671d5c90 09:35:23 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:35:23 ---> Running in c330526c976a 09:35:25 Removing intermediate container c330526c976a 09:35:25 ---> e6f7921d73b4 09:35:25 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:35:25 ---> Running in 999ec3156f81 09:35:26 Removing intermediate container 999ec3156f81 09:35:26 ---> 514aff9b8e23 09:35:26 Step 29/35 : EXPOSE 59983 09:35:26 ---> Running in d5edf0363a76 09:35:27 Removing intermediate container d5edf0363a76 09:35:27 ---> 6300e3a5a71e 09:35:27 Step 30/35 : EXPOSE 8554 09:35:27 ---> Running in 4501a44d5265 09:35:27 Removing intermediate container 4501a44d5265 09:35:27 ---> 6140238781c5 09:35:27 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:35:27 ---> Running in 297720030a45 09:35:27 Removing intermediate container 297720030a45 09:35:27 ---> c5a31e78c325 09:35:27 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 09:35:28 ---> Running in 45b420cd269e 09:35:28 Removing intermediate container 45b420cd269e 09:35:28 ---> c485380ee79c 09:35:28 Step 33/35 : LABEL arch=arm64 09:35:28 ---> Running in fb167c760955 09:35:28 Removing intermediate container fb167c760955 09:35:28 ---> eff538eb8c59 09:35:28 Step 34/35 : LABEL git_sha=c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:35:28 ---> Running in 0459fa8cae8c 09:35:31 Removing intermediate container 0459fa8cae8c 09:35:31 ---> d8cbcbf3d7da 09:35:31 Step 35/35 : LABEL version=3.0.0-dev.6 09:35:31 ---> Running in 04a7f62e9cdf 09:35:31 Removing intermediate container 04a7f62e9cdf 09:35:31 ---> c1bdd41835dd 09:35:31 [Warning] One or more build-args [ARCH] were not consumed 09:35:31 Successfully built c1bdd41835dd 09:35:31 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 09:35:31 provisioning config files... 09:35:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/77@tmp/config14819024564399628603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:32 ---> docker-login.sh 09:35:32 nexus3.edgexfoundry.org:10001 09:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:32 Configure a credential helper to remove this warning. See 09:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:32 09:35:32 Login Succeeded 09:35:32 nexus3.edgexfoundry.org:10002 09:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:32 Configure a credential helper to remove this warning. See 09:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:32 09:35:32 Login Succeeded 09:35:32 nexus3.edgexfoundry.org:10003 09:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:33 Configure a credential helper to remove this warning. See 09:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:33 09:35:33 Login Succeeded 09:35:33 nexus3.edgexfoundry.org:10004 09:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:33 Configure a credential helper to remove this warning. See 09:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:33 09:35:33 Login Succeeded 09:35:33 docker.io 09:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:34 Configure a credential helper to remove this warning. See 09:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:34 09:35:34 Login Succeeded 09:35:34 ---> docker-login.sh ends [Pipeline] } 09:35:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:35:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:34 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 09:35:34 c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:35:34 latest 09:35:34 3.0.0-dev.6 09:35:34 c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:35:34 main 09:35:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:34 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:35:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:35:35 a9863544094c: Preparing 09:35:35 219d0df3bb53: Preparing 09:35:35 96fdf95df50a: Preparing 09:35:35 a43932d1df72: Preparing 09:35:35 1207169bf42c: Preparing 09:35:35 b411474041b9: Preparing 09:35:35 8c4e14a482df: Preparing 09:35:35 79ab452c7c79: Preparing 09:35:35 d74033e84cce: Preparing 09:35:35 5cd1535e8dd4: Preparing 09:35:35 01384dd0905f: Preparing 09:35:35 f70ee36035b9: Preparing 09:35:35 b411474041b9: Waiting 09:35:35 8c4e14a482df: Waiting 09:35:35 79ab452c7c79: Waiting 09:35:35 01384dd0905f: Waiting 09:35:35 d74033e84cce: Waiting 09:35:35 f70ee36035b9: Waiting 09:35:35 219d0df3bb53: Pushed 09:35:35 1207169bf42c: Pushed 09:35:35 a9863544094c: Pushed 09:35:35 96fdf95df50a: Pushed 09:35:35 b411474041b9: Pushed 09:35:35 8c4e14a482df: Pushed 09:35:35 d74033e84cce: Pushed 09:35:35 79ab452c7c79: Pushed 09:35:35 f70ee36035b9: Layer already exists 09:35:40 a43932d1df72: Pushed 09:35:40 5cd1535e8dd4: Pushed 09:35:53 01384dd0905f: Pushed 09:35:53 c4833ecb71a5b036c07645cdd3981a69f5c223ec: digest: sha256:6dbff9a028ba1f524225ef1e89409ebdeb85ea690eb8c3435ded28a3df316353 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:53 + 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 09:35:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:35:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:35:53 a9863544094c: Preparing 09:35:53 219d0df3bb53: Preparing 09:35:53 96fdf95df50a: Preparing 09:35:53 a43932d1df72: Preparing 09:35:53 1207169bf42c: Preparing 09:35:53 b411474041b9: Preparing 09:35:53 8c4e14a482df: Preparing 09:35:53 79ab452c7c79: Preparing 09:35:53 d74033e84cce: Preparing 09:35:53 5cd1535e8dd4: Preparing 09:35:53 01384dd0905f: Preparing 09:35:53 f70ee36035b9: Preparing 09:35:53 b411474041b9: Waiting 09:35:53 8c4e14a482df: Waiting 09:35:53 79ab452c7c79: Waiting 09:35:53 d74033e84cce: Waiting 09:35:53 5cd1535e8dd4: Waiting 09:35:53 01384dd0905f: Waiting 09:35:53 f70ee36035b9: Waiting 09:35:53 96fdf95df50a: Layer already exists 09:35:53 a43932d1df72: Layer already exists 09:35:53 a9863544094c: Layer already exists 09:35:53 1207169bf42c: Layer already exists 09:35:53 219d0df3bb53: Layer already exists 09:35:53 b411474041b9: Layer already exists 09:35:53 79ab452c7c79: Layer already exists 09:35:53 5cd1535e8dd4: Layer already exists 09:35:53 d74033e84cce: Layer already exists 09:35:53 8c4e14a482df: Layer already exists 09:35:53 01384dd0905f: Layer already exists 09:35:53 f70ee36035b9: Layer already exists 09:35:54 latest: digest: sha256:6dbff9a028ba1f524225ef1e89409ebdeb85ea690eb8c3435ded28a3df316353 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:54 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.6 09:35:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:35:54 a9863544094c: Preparing 09:35:54 219d0df3bb53: Preparing 09:35:54 96fdf95df50a: Preparing 09:35:54 a43932d1df72: Preparing 09:35:54 1207169bf42c: Preparing 09:35:54 b411474041b9: Preparing 09:35:54 8c4e14a482df: Preparing 09:35:54 79ab452c7c79: Preparing 09:35:54 d74033e84cce: Preparing 09:35:54 5cd1535e8dd4: Preparing 09:35:54 01384dd0905f: Preparing 09:35:54 f70ee36035b9: Preparing 09:35:54 d74033e84cce: Waiting 09:35:54 5cd1535e8dd4: Waiting 09:35:54 8c4e14a482df: Waiting 09:35:54 b411474041b9: Waiting 09:35:54 79ab452c7c79: Waiting 09:35:54 a9863544094c: Layer already exists 09:35:54 1207169bf42c: Layer already exists 09:35:54 a43932d1df72: Layer already exists 09:35:54 219d0df3bb53: Layer already exists 09:35:54 96fdf95df50a: Layer already exists 09:35:54 b411474041b9: Layer already exists 09:35:54 8c4e14a482df: Layer already exists 09:35:54 79ab452c7c79: Layer already exists 09:35:54 5cd1535e8dd4: Layer already exists 09:35:54 d74033e84cce: Layer already exists 09:35:54 01384dd0905f: Layer already exists 09:35:54 f70ee36035b9: Layer already exists 09:35:55 3.0.0-dev.6: digest: sha256:6dbff9a028ba1f524225ef1e89409ebdeb85ea690eb8c3435ded28a3df316353 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:55 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:35:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:35:55 a9863544094c: Preparing 09:35:55 219d0df3bb53: Preparing 09:35:55 96fdf95df50a: Preparing 09:35:55 a43932d1df72: Preparing 09:35:55 1207169bf42c: Preparing 09:35:55 b411474041b9: Preparing 09:35:55 8c4e14a482df: Preparing 09:35:55 79ab452c7c79: Preparing 09:35:55 d74033e84cce: Preparing 09:35:55 5cd1535e8dd4: Preparing 09:35:55 01384dd0905f: Preparing 09:35:55 f70ee36035b9: Preparing 09:35:55 b411474041b9: Waiting 09:35:55 8c4e14a482df: Waiting 09:35:55 01384dd0905f: Waiting 09:35:55 79ab452c7c79: Waiting 09:35:55 f70ee36035b9: Waiting 09:35:55 5cd1535e8dd4: Waiting 09:35:55 d74033e84cce: Waiting 09:35:55 219d0df3bb53: Layer already exists 09:35:55 96fdf95df50a: Layer already exists 09:35:55 1207169bf42c: Layer already exists 09:35:55 a43932d1df72: Layer already exists 09:35:55 a9863544094c: Layer already exists 09:35:55 79ab452c7c79: Layer already exists 09:35:55 8c4e14a482df: Layer already exists 09:35:55 b411474041b9: Layer already exists 09:35:55 d74033e84cce: Layer already exists 09:35:55 5cd1535e8dd4: Layer already exists 09:35:55 f70ee36035b9: Layer already exists 09:35:55 01384dd0905f: Layer already exists 09:35:56 c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6: digest: sha256:6dbff9a028ba1f524225ef1e89409ebdeb85ea690eb8c3435ded28a3df316353 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:56 + 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 09:35:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 09:35:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:35:56 a9863544094c: Preparing 09:35:56 219d0df3bb53: Preparing 09:35:56 96fdf95df50a: Preparing 09:35:56 a43932d1df72: Preparing 09:35:56 1207169bf42c: Preparing 09:35:56 b411474041b9: Preparing 09:35:56 8c4e14a482df: Preparing 09:35:56 79ab452c7c79: Preparing 09:35:56 d74033e84cce: Preparing 09:35:56 5cd1535e8dd4: Preparing 09:35:56 01384dd0905f: Preparing 09:35:56 f70ee36035b9: Preparing 09:35:56 b411474041b9: Waiting 09:35:56 8c4e14a482df: Waiting 09:35:56 79ab452c7c79: Waiting 09:35:56 d74033e84cce: Waiting 09:35:56 5cd1535e8dd4: Waiting 09:35:56 01384dd0905f: Waiting 09:35:56 f70ee36035b9: Waiting 09:35:56 1207169bf42c: Layer already exists 09:35:56 a9863544094c: Layer already exists 09:35:56 a43932d1df72: Layer already exists 09:35:56 96fdf95df50a: Layer already exists 09:35:56 219d0df3bb53: Layer already exists 09:35:56 b411474041b9: Layer already exists 09:35:56 79ab452c7c79: Layer already exists 09:35:56 d74033e84cce: Layer already exists 09:35:56 8c4e14a482df: Layer already exists 09:35:56 5cd1535e8dd4: Layer already exists 09:35:56 f70ee36035b9: Layer already exists 09:35:56 01384dd0905f: Layer already exists 09:35:57 main: digest: sha256:6dbff9a028ba1f524225ef1e89409ebdeb85ea690eb8c3435ded28a3df316353 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:35:57 ===================================================== [Pipeline] echo 09:35:57 taggedImages: 09:35:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec 09:35:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:35:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.6 09:35:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c4833ecb71a5b036c07645cdd3981a69f5c223ec-3.0.0-dev.6 09:35:57 - 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 09:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:35:57 09:35:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:35:57 arm64: Pulling from edgex-lftools-log-publisher 09:35:57 8998bd30e6a1: Pulling fs layer 09:35:57 04944245beec: Pulling fs layer 09:35:57 699f458cf7ca: Pulling fs layer 09:35:57 765212b225bb: Pulling fs layer 09:35:57 f23df028b6ca: Pulling fs layer 09:35:57 d65c8cfc05b1: Pulling fs layer 09:35:57 2437ff75d9bd: Pulling fs layer 09:35:57 f23df028b6ca: Waiting 09:35:57 d65c8cfc05b1: Waiting 09:35:57 765212b225bb: Waiting 09:35:57 2437ff75d9bd: Waiting 09:35:58 04944245beec: Verifying Checksum 09:35:58 04944245beec: Download complete 09:35:58 765212b225bb: Verifying Checksum 09:35:58 765212b225bb: Download complete 09:35:58 f23df028b6ca: Verifying Checksum 09:35:58 f23df028b6ca: Download complete 09:35:58 d65c8cfc05b1: Verifying Checksum 09:35:58 d65c8cfc05b1: Download complete 09:35:58 699f458cf7ca: Verifying Checksum 09:35:58 699f458cf7ca: Download complete 09:35:58 8998bd30e6a1: Verifying Checksum 09:35:58 8998bd30e6a1: Download complete 09:36:01 2437ff75d9bd: Verifying Checksum 09:36:01 2437ff75d9bd: Download complete 09:36:02 8998bd30e6a1: Pull complete 09:36:02 04944245beec: Pull complete 09:36:04 699f458cf7ca: Pull complete 09:36:04 765212b225bb: Pull complete 09:36:05 f23df028b6ca: Pull complete 09:36:05 d65c8cfc05b1: Pull complete 09:36:20 2437ff75d9bd: Pull complete 09:36:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:36:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-5775 does not seem to be running inside a container 09:36:20 $ 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/77 -v /w/workspace/device-usb-camera/77:/w/workspace/device-usb-camera/77:rw,z -v /w/workspace/device-usb-camera/77@tmp:/w/workspace/device-usb-camera/77@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 09:36:23 $ docker top f60b917a59a3eda75db9e7385d8ba41d7a53dcfc300856b4bc464c74fc0e513c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:23 ---> job-cost.sh 09:36:23 lf-activate-venv: SKIPPING 09:36:23 INFO: No Stack... 09:36:24 INFO: Retrieving Pricing Info for: v3-standard-4 09:36:25 INFO: Archiving Costs [Pipeline] sh 09:36:26 + cut -d, -f6 09:36:26 + cat /w/workspace/device-usb-camera/77/archives/cost.csv [Pipeline] lock 09:36:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] 09:36:26 Resource [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] did not exist. Created. 09:36:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:36:26 /w/workspace/device-usb-camera/77@tmp/durable-7f4febf4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:36:27 + echo total: 0.10999999940395355 [Pipeline] stash 09:36:27 Warning: overwriting stash ‘stack-cost’ 09:36:27 Stashed 1 file(s) [Pipeline] } 09:36:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 09:36:27 $ docker stop --time=1 f60b917a59a3eda75db9e7385d8ba41d7a53dcfc300856b4bc464c74fc0e513c 09:36:28 $ docker rm -f --volumes f60b917a59a3eda75db9e7385d8ba41d7a53dcfc300856b4bc464c74fc0e513c [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 09:36:29 provisioning config files... 09:36:29 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14134437007372123383tmp [Pipeline] { [Pipeline] sh 09:36:29 + set +x 09:36:29 + curl -s https://codecov.io/bash 09:36:29 + bash -s -- 09:36:29 09:36:29 _____ _ 09:36:29 / ____| | | 09:36:29 | | ___ __| | ___ ___ _____ __ 09:36:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:36:29 | |___| (_) | (_| | __/ (_| (_) \ V / 09:36:29 \_____\___/ \__,_|\___|\___\___/ \_/ 09:36:29 Bash-1.0.6 09:36:29 09:36:29 09:36:29 ==> git version 2.25.1 found 09:36:29 ==> 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 09:36:29 Release-Date: 2020-01-08 09:36:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:36:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:36:29 ==> Jenkins CI detected. 09:36:29 current dir:  /w/workspace/exfoundry_device-usb-camera_main 09:36:29 project root: . 09:36:29 --> token set from env 09:36:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:36:29 ==> Running gcov in . (disable via -X gcov) 09:36:29 ==> Python coveragepy not found 09:36:29 ==> Searching for coverage reports in: 09:36:29 + . 09:36:29 -> Found 1 reports 09:36:29 ==> Detecting git/mercurial file structure 09:36:29 ==> Reading reports 09:36:29 + ./coverage.out bytes=30666 09:36:29 ==> Appending adjustments 09:36:29 https://docs.codecov.io/docs/fixing-reports 09:36:29 + Found adjustments 09:36:29 ==> Gzipping contents 09:36:29 8.0K /tmp/codecov.5MY41R.gz 09:36:29 ==> Uploading reports 09:36:29 url: https://codecov.io 09:36:29 query: branch=main&commit=c4833ecb71a5b036c07645cdd3981a69f5c223ec&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:36:29 -> Pinging Codecov 09:36:29 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=c4833ecb71a5b036c07645cdd3981a69f5c223ec&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:36:29 -> Uploading to 09:36:29 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/73D8F5FF140700D3E01443B452E23636/c4833ecb71a5b036c07645cdd3981a69f5c223ec/c0e2219f-4735-4084-a249-25088c1844b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T093629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6191a8a23559d95fc3c065819065c844f2d9b367e04f2fecc2b0c9c42f401ba3 09:36:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:29 Dload Upload Total Spent Left Speed 09:36:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4281 0 0 100 4281 0 14711 --:--:-- --:--:-- --:--:-- 14711 09:36:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] } 09:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:36:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:36:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:31 09:36:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:36:31 df9b9388f04a: Pulling fs layer 09:36:31 52dc419b0ee2: Pulling fs layer 09:36:31 25bc292e5bac: Pulling fs layer 09:36:31 114826534d7a: Pulling fs layer 09:36:31 4657fd5d0bcf: Pulling fs layer 09:36:31 6ad1cebc031e: Pulling fs layer 09:36:31 8a3aa393b2d8: Pulling fs layer 09:36:31 4657fd5d0bcf: Waiting 09:36:31 6ad1cebc031e: Waiting 09:36:31 8a3aa393b2d8: Waiting 09:36:31 114826534d7a: Waiting 09:36:31 25bc292e5bac: Verifying Checksum 09:36:31 25bc292e5bac: Download complete 09:36:31 52dc419b0ee2: Verifying Checksum 09:36:31 52dc419b0ee2: Download complete 09:36:31 4657fd5d0bcf: Verifying Checksum 09:36:31 4657fd5d0bcf: Download complete 09:36:31 df9b9388f04a: Download complete 09:36:31 df9b9388f04a: Pull complete 09:36:31 52dc419b0ee2: Pull complete 09:36:31 25bc292e5bac: Pull complete 09:36:31 6ad1cebc031e: Verifying Checksum 09:36:31 6ad1cebc031e: Download complete 09:36:32 114826534d7a: Verifying Checksum 09:36:32 114826534d7a: Download complete 09:36:32 8a3aa393b2d8: Verifying Checksum 09:36:32 8a3aa393b2d8: Download complete 09:36:36 114826534d7a: Pull complete 09:36:36 4657fd5d0bcf: Pull complete 09:36:36 6ad1cebc031e: Pull complete 09:36:38 8a3aa393b2d8: Pull complete 09:36:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:38 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:36:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:36:41 $ docker top 88804ee0c2c27fd478aa6718c518e59ea8a2041d7a460914d7f7581c44cf2826 -eo pid,comm [Pipeline] { [Pipeline] echo 09:36:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 09:36:41 + set -o pipefail 09:36:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 09:36:49 09:36:49 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 09:36:49 09:36:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/de5ac3bc-a053-4905-812e-b3b33d05ab9d 09:36:49 09:36:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:36:49 09:36:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:36:49 09:36:49 09:36:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:36:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:36:49 More details here: https://snyk.co/ue1NS [Pipeline] } 09:36:49 $ docker stop --time=1 88804ee0c2c27fd478aa6718c518e59ea8a2041d7a460914d7f7581c44cf2826 09:36:52 $ docker rm -f --volumes 88804ee0c2c27fd478aa6718c518e59ea8a2041d7a460914d7f7581c44cf2826 [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 09:36:52 + git log --format=format:%s -1 c4833ecb71a5b036c07645cdd3981a69f5c223ec [Pipeline] sh 09:36:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:36:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:36:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:53 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:36:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:36:54 $ docker top 4fc6f450c891508e251f09a75d340ec3d1ddb7482cf145986bfd6a94d6103ecf -eo pid,comm 09:36:54 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). 09:36:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:36:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:36:54 [ssh-agent] Looking for ssh-agent implementation... 09:36:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:36:54 $ docker exec 4fc6f450c891508e251f09a75d340ec3d1ddb7482cf145986bfd6a94d6103ecf ssh-agent 09:36:54 SSH_AUTH_SOCK=/tmp/ssh-Tz1rvNPQGxhG/agent.32 09:36:54 SSH_AGENT_PID=39 09:36:54 Running ssh-add (command line suppressed) 09:36:54 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2947574635114619229.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2947574635114619229.key) 09:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:36:54 + git semver tag 09:36:55 2023-02-14 09:36:54,983 [run_tag] DEBUG tag force:False 09:36:55 2023-02-14 09:36:54,983 [check_head_tag] DEBUG check head tag 09:36:55 2023-02-14 09:36:54,984 [execute] INFO git cat-file --batch-check 09:36:55 2023-02-14 09:36:54,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:36:55 2023-02-14 09:36:54,987 [execute] INFO git cat-file --batch 09:36:55 2023-02-14 09:36:54,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:36:55 2023-02-14 09:36:55,004 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:36:55 2023-02-14 09:36:55,005 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 09:36:55 2023-02-14 09:36:55,005 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 09:36:55 2023-02-14 09:36:55,009 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:36:55 3.0.0-dev.6 [Pipeline] } 09:36:55 $ docker exec --env ******** --env ******** 4fc6f450c891508e251f09a75d340ec3d1ddb7482cf145986bfd6a94d6103ecf ssh-agent -k 09:36:55 unset SSH_AUTH_SOCK; 09:36:55 unset SSH_AGENT_PID; 09:36:55 echo Agent pid 39 killed; 09:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:36:55 + git semver [Pipeline] } 09:36:55 $ docker stop --time=1 4fc6f450c891508e251f09a75d340ec3d1ddb7482cf145986bfd6a94d6103ecf 09:36:57 $ docker rm -f --volumes 4fc6f450c891508e251f09a75d340ec3d1ddb7482cf145986bfd6a94d6103ecf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:36:57 09:36:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:36:57 0.23.1-centos7: Pulling from edgex-lftools 09:36:57 ab5ef0e58194: Pulling fs layer 09:36:57 9712f1f96733: Pulling fs layer 09:36:57 63f879dbbcfc: Pulling fs layer 09:36:57 0d9ebad4ef96: Pulling fs layer 09:36:57 e9a5061849ea: Pulling fs layer 09:36:57 d747dcd14b5f: Pulling fs layer 09:36:57 2de7ff778b66: Pulling fs layer 09:36:57 e9a5061849ea: Waiting 09:36:57 d747dcd14b5f: Waiting 09:36:57 2de7ff778b66: Waiting 09:36:57 0d9ebad4ef96: Waiting 09:36:57 9712f1f96733: Verifying Checksum 09:36:57 9712f1f96733: Download complete 09:36:58 63f879dbbcfc: Verifying Checksum 09:36:58 63f879dbbcfc: Download complete 09:36:58 e9a5061849ea: Verifying Checksum 09:36:58 e9a5061849ea: Download complete 09:36:58 d747dcd14b5f: Download complete 09:36:58 ab5ef0e58194: Verifying Checksum 09:36:58 ab5ef0e58194: Download complete 09:36:59 0d9ebad4ef96: Verifying Checksum 09:36:59 0d9ebad4ef96: Download complete 09:36:59 2de7ff778b66: Verifying Checksum 09:36:59 2de7ff778b66: Download complete 09:37:01 ab5ef0e58194: Pull complete 09:37:01 9712f1f96733: Pull complete 09:37:02 63f879dbbcfc: Pull complete 09:37:05 0d9ebad4ef96: Pull complete 09:37:05 e9a5061849ea: Pull complete 09:37:05 d747dcd14b5f: Pull complete 09:37:06 2de7ff778b66: Pull complete 09:37:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:37:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:06 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:37: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:37:09 $ docker top 67e1c3be9c94468c6e2c615c8ca04cb74d38626c0e647e38e4464b0fb81af39d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:37:09 provisioning config files... 09:37:09 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1674185250640410990tmp 09:37:09 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12220492274317326243tmp 09:37:09 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6809117494486683748tmp [Pipeline] { [Pipeline] echo 09:37:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:37:09 ---> sigul-configuration.sh 09:37:09 gpg: directory `/root/.gnupg' created 09:37:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:37:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:37:09 gpg: keyring `/root/.gnupg/secring.gpg' created 09:37:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:37:09 gpg: CAST5 encrypted data 09:37:09 gpg: encrypted with 1 passphrase 09:37:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:37:09 + mkdir /home/jenkins 09:37:09 + mkdir /home/jenkins/sigul [Pipeline] sh 09:37:10 + 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 09:37:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:37:10 ---> sigul-install.sh 09:37:10 Sigul already installed; skipping installation. [Pipeline] sh 09:37:10 + git tag --list 09:37:10 v0.0.0 09:37:10 v0.0.1-dev.1 09:37:10 v0.0.1-dev.10 09:37:10 v0.0.1-dev.11 09:37:10 v0.0.1-dev.12 09:37:10 v0.0.1-dev.13 09:37:10 v0.0.1-dev.14 09:37:10 v0.0.1-dev.15 09:37:10 v0.0.1-dev.16 09:37:10 v0.0.1-dev.2 09:37:10 v0.0.1-dev.3 09:37:10 v0.0.1-dev.4 09:37:10 v0.0.1-dev.5 09:37:10 v0.0.1-dev.6 09:37:10 v0.0.1-dev.7 09:37:10 v0.0.1-dev.8 09:37:10 v0.0.1-dev.9 09:37:10 v2.2.0 09:37:10 v2.2.0-dev.17 09:37:10 v2.2.0-dev.18 09:37:10 v2.2.0-dev.19 09:37:10 v2.2.0-dev.20 09:37:10 v2.2.0-dev.21 09:37:10 v2.2.0-dev.22 09:37:10 v2.2.0-dev.23 09:37:10 v2.2.0-dev.24 09:37:10 v2.2.0-dev.25 09:37:10 v2.2.0-dev.26 09:37:10 v2.2.0-dev.27 09:37:10 v2.3.0 09:37:10 v2.3.0-dev.1 09:37:10 v2.3.0-dev.10 09:37:10 v2.3.0-dev.11 09:37:10 v2.3.0-dev.12 09:37:10 v2.3.0-dev.13 09:37:10 v2.3.0-dev.14 09:37:10 v2.3.0-dev.15 09:37:10 v2.3.0-dev.16 09:37:10 v2.3.0-dev.17 09:37:10 v2.3.0-dev.18 09:37:10 v2.3.0-dev.19 09:37:10 v2.3.0-dev.2 09:37:10 v2.3.0-dev.20 09:37:10 v2.3.0-dev.21 09:37:10 v2.3.0-dev.22 09:37:10 v2.3.0-dev.23 09:37:10 v2.3.0-dev.24 09:37:10 v2.3.0-dev.25 09:37:10 v2.3.0-dev.26 09:37:10 v2.3.0-dev.27 09:37:10 v2.3.0-dev.28 09:37:10 v2.3.0-dev.3 09:37:10 v2.3.0-dev.4 09:37:10 v2.3.0-dev.5 09:37:10 v2.3.0-dev.6 09:37:10 v2.3.0-dev.7 09:37:10 v2.3.0-dev.8 09:37:10 v2.3.0-dev.9 09:37:10 v3.0.0-dev.1 09:37:10 v3.0.0-dev.2 09:37:10 v3.0.0-dev.3 09:37:10 v3.0.0-dev.4 09:37:10 v3.0.0-dev.5 09:37:10 v3.0.0-dev.6 [Pipeline] sh 09:37:11 + lftools sign git-tag v3.0.0-dev.6 09:37:11 Signing Git tag with Sigul... 09:37:11 Signing v3.0.0-dev.6 [Pipeline] echo 09:37:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:37:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:37:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:37:12 $ docker stop --time=1 67e1c3be9c94468c6e2c615c8ca04cb74d38626c0e647e38e4464b0fb81af39d 09:37:13 $ docker rm -f --volumes 67e1c3be9c94468c6e2c615c8ca04cb74d38626c0e647e38e4464b0fb81af39d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:37:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:37:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:37:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:14 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:37:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:37:14 $ docker top de7c0835f40c7cb95b8a4d90445d7416586c012af3c3f203f731364f968244dd -eo pid,comm 09:37:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:37:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:14 [ssh-agent] Looking for ssh-agent implementation... 09:37:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:14 $ docker exec de7c0835f40c7cb95b8a4d90445d7416586c012af3c3f203f731364f968244dd ssh-agent 09:37:14 SSH_AUTH_SOCK=/tmp/ssh-doWsQ7wKMCAB/agent.31 09:37:14 SSH_AGENT_PID=37 09:37:14 Running ssh-add (command line suppressed) 09:37:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1220330116583959944.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1220330116583959944.key) 09:37:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:15 + git semver bump pre 09:37:15 2023-02-14 09:37:15,423 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:37:15 2023-02-14 09:37:15,423 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 09:37:15 2023-02-14 09:37:15,423 [bump_version] DEBUG bumped version:3.0.0-dev.7 09:37:15 2023-02-14 09:37:15,423 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 09:37:15 2023-02-14 09:37:15,424 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:37:15 2023-02-14 09:37:15,424 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:37:15 2023-02-14 09:37:15,426 [execute] INFO git cat-file --batch-check 09:37:15 2023-02-14 09:37:15,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:15 2023-02-14 09:37:15,431 [execute] INFO git cat-file --batch 09:37:15 2023-02-14 09:37:15,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:15 2023-02-14 09:37:15,436 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:37:15 3.0.0-dev.7 [Pipeline] } 09:37:15 $ docker exec --env ******** --env ******** de7c0835f40c7cb95b8a4d90445d7416586c012af3c3f203f731364f968244dd ssh-agent -k 09:37:15 unset SSH_AUTH_SOCK; 09:37:15 unset SSH_AGENT_PID; 09:37:15 echo Agent pid 37 killed; 09:37:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:15 + git semver [Pipeline] } 09:37:16 $ docker stop --time=1 de7c0835f40c7cb95b8a4d90445d7416586c012af3c3f203f731364f968244dd 09:37:17 $ docker rm -f --volumes de7c0835f40c7cb95b8a4d90445d7416586c012af3c3f203f731364f968244dd [Pipeline] // withDockerContainer [Pipeline] sh 09:37:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:37:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:37:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:18 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:37:18 $ docker top 955f6fdb778c33a6d4d8399a3fc03334c19e42f579a08d02360680131ab792f4 -eo pid,comm 09:37:18 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). 09:37:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:18 [ssh-agent] Looking for ssh-agent implementation... 09:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:18 $ docker exec 955f6fdb778c33a6d4d8399a3fc03334c19e42f579a08d02360680131ab792f4 ssh-agent 09:37:19 SSH_AUTH_SOCK=/tmp/ssh-CY1SjYmRtRGt/agent.32 09:37:19 SSH_AGENT_PID=38 09:37:19 Running ssh-add (command line suppressed) 09:37:19 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10997142660693075660.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10997142660693075660.key) 09:37:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:19 + git semver push 09:37:19 2023-02-14 09:37:19,622 [run_push] DEBUG push 09:37:19 2023-02-14 09:37:19,623 [execute] INFO git cat-file --batch-check 09:37:19 2023-02-14 09:37:19,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:19 2023-02-14 09:37:19,627 [execute] INFO git rev-list 71a38441b34397ea5d5ace07a86c9bdc6e4e1102 -- 09:37:19 2023-02-14 09:37:19,627 [execute] DEBUG Popen(['git', 'rev-list', '71a38441b34397ea5d5ace07a86c9bdc6e4e1102', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:37:19 2023-02-14 09:37:19,633 [execute] INFO git fetch -v origin 09:37:19 2023-02-14 09:37:19,633 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 09:37:20 2023-02-14 09:37:20,273 [run_push] DEBUG no remote changes detected 09:37:20 2023-02-14 09:37:20,274 [execute] INFO git push origin semver 09:37:20 2023-02-14 09:37:20,274 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:37:21 2023-02-14 09:37:21,183 [run_push] DEBUG push all version tags 09:37:21 2023-02-14 09:37:21,184 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:37:21 2023-02-14 09:37:21,184 [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) 09:37:22 2023-02-14 09:37:22,016 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:37:22 3.0.0-dev.7 [Pipeline] } 09:37:22 $ docker exec --env ******** --env ******** 955f6fdb778c33a6d4d8399a3fc03334c19e42f579a08d02360680131ab792f4 ssh-agent -k 09:37:22 unset SSH_AUTH_SOCK; 09:37:22 unset SSH_AGENT_PID; 09:37:22 echo Agent pid 38 killed; 09:37:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:22 + git semver [Pipeline] } 09:37:22 $ docker stop --time=1 955f6fdb778c33a6d4d8399a3fc03334c19e42f579a08d02360680131ab792f4 09:37:24 $ docker rm -f --volumes 955f6fdb778c33a6d4d8399a3fc03334c19e42f579a08d02360680131ab792f4 [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 09:37:24 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 09:37:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:37:24 total 16 09:37:24 drwxr-xr-x 3 root root 4096 Feb 14 09:26 . 09:37:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 09:37 .. 09:37:24 drwxr-xr-x 2 root root 4096 Feb 14 09:26 cost 09:37:24 -rw-r--r-- 1 root root 88 Feb 14 09:26 cost.csv 09:37:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 09:37:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:37:24 total 16 09:37:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 09:26 . 09:37:24 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 09:37 .. 09:37:24 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 09:26 cost 09:37:24 -rw-r--r-- 1 jenkins jenkins 88 Feb 14 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:37:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:37:25 ---> package-listing.sh 09:37:25 ++ facter osfamily 09:37:25 ++ tr '[:upper:]' '[:lower:]' 09:37:26 + OS_FAMILY=debian 09:37:26 + workspace=/w/workspace/exfoundry_device-usb-camera_main 09:37:26 + START_PACKAGES=/tmp/packages_start.txt 09:37:26 + END_PACKAGES=/tmp/packages_end.txt 09:37:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:37:26 + PACKAGES=/tmp/packages_start.txt 09:37:26 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:37:26 + PACKAGES=/tmp/packages_end.txt 09:37:26 + case "${OS_FAMILY}" in 09:37:26 + dpkg -l 09:37:26 + grep '^ii' 09:37:26 + '[' -f /tmp/packages_start.txt ']' 09:37:26 + '[' -f /tmp/packages_end.txt ']' 09:37:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:26 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:37:26 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 09:37:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 09:37:26 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 09:37:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:27 prd-ubuntu20.04-docker-8c-8g-5774 does not seem to be running inside a container 09:37:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:37:27 $ docker top b43fbb963991bb58a5376d7ba54624fc0ee4abdc35cef0b65d7cad459ab472d8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:27 + touch /tmp/pre-build-complete [Pipeline] sh 09:37:27 + mkdir -p /var/log/sysstat [Pipeline] sh 09:37:28 + ls /var/log/sa-host 09:37:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:28 provisioning config files... 09:37:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3758130212268396693tmp [Pipeline] { [Pipeline] echo 09:37:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:28 ---> create-netrc.sh [Pipeline] } 09:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:37:29 ---> python-tools-install.sh [Pipeline] echo 09:37:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:37:29 ---> sudo-logs.sh 09:37:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:37:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:37:29 ---> job-cost.sh 09:37:29 lf-activate-venv: SKIPPING 09:37:29 DEBUG: total: 0.2199999988079071 09:37:29 INFO: Retrieving Stack Cost... 09:37:30 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:30 INFO: Archiving Costs [Pipeline] echo 09:37:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:30 ---> logs-deploy.sh 09:37:30 lf-activate-venv: SKIPPING 09:37:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/77 09:37:30 INFO: archiving workspace using pattern(s): 09:37:31 Archives upload complete. 09:37:31 INFO: archiving logs to Nexus