Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 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-ssh5226372794458435446.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-ssh155550980609007051.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-ssh5289186326580546152.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-ssh14719743809459238834.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-ssh7896300631000716975.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-7837’ Running on prd-ubuntu20.04-docker-8c-8g-7841 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 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 (main) Commit message: "Merge pull request #163 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.39" > 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 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 # timeout=10 > git rev-list --no-walk 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:14:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:14:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:14:38 ========================================================= 01:14:38 EdgeX Global Pipelines Version Info 01:14:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:14:39 ------------------- 01:14:39 stable info: 01:14:39 ------------------- 01:14:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:14:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:14:39 Message: update stable to v1.0.244 01:14:40 ------------------- 01:14:40 experimental info: 01:14:40 ------------------- 01:14:40 Commited By: **** collab-it+edgex@linuxfoundation.org 01:14:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:14:40 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0b6087 [Pipeline] echo 01:14:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:40 provisioning config files... 01:14:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16546643157439244071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:41 ---> docker-login.sh 01:14:41 nexus3.edgexfoundry.org:10001 01:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:41 Configure a credential helper to remove this warning. See 01:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:41 01:14:41 Login Succeeded 01:14:41 nexus3.edgexfoundry.org:10002 01:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:41 Configure a credential helper to remove this warning. See 01:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:41 01:14:41 Login Succeeded 01:14:41 nexus3.edgexfoundry.org:10003 01:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:41 Configure a credential helper to remove this warning. See 01:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:41 01:14:41 Login Succeeded 01:14:41 nexus3.edgexfoundry.org:10004 01:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:41 Configure a credential helper to remove this warning. See 01:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:41 01:14:41 Login Succeeded 01:14:41 docker.io 01:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:42 Configure a credential helper to remove this warning. See 01:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:42 01:14:42 Login Succeeded 01:14:42 ---> docker-login.sh ends [Pipeline] } 01:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:14:42 + git rev-list -1 --merges b0b6087e7918d076044f7f15f1dd2c4eaa3e5193~1..b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] echo 01:14:42 -----------> git rev-list -1 --merges b0b6087e7918d076044f7f15f1dd2c4eaa3e5193~1..b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:14:42 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [false] [Pipeline] sh 01:14:42 + git log --format=format:%s -1 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] echo 01:14:42 ========================================================= 01:14:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:14:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:43 + git log --format=format:%s -1 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] echo 01:14:43 [semverPrep] GIT_COMMIT: b0b6087e7918d076044f7f15f1dd2c4eaa3e5193, Commit Message: Merge pull request #163 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.39 [Pipeline] echo 01:14:43 [semverPrep] This is not a build commit. [Pipeline] sh 01:14:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:43 + grep -v github /etc/ssh/ssh_known_hosts 01:14:43 + [ -e /tmp/ssh_known_hosts ] 01:14:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:14:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:14:43 + sudo tee -a /etc/ssh/ssh_known_hosts 01:14:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:43 01:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:44 0.1.4: Pulling from edgex-devops/py-git-semver 01:14:44 b85a868b505f: Pulling fs layer 01:14:44 e2be974225ed: Pulling fs layer 01:14:44 339a4e72a1f5: Pulling fs layer 01:14:44 988bab9f4d93: Pulling fs layer 01:14:44 1469e6f7b9e6: Pulling fs layer 01:14:44 eaf3925da568: Pulling fs layer 01:14:44 bab4dde63d76: Pulling fs layer 01:14:44 bde34c3a00c8: Pulling fs layer 01:14:44 b352a97aabf1: Pulling fs layer 01:14:44 4872d77fe225: Pulling fs layer 01:14:44 5851b861e8e6: Pulling fs layer 01:14:44 bde34c3a00c8: Waiting 01:14:44 b352a97aabf1: Waiting 01:14:44 4872d77fe225: Waiting 01:14:44 5851b861e8e6: Waiting 01:14:44 eaf3925da568: Waiting 01:14:44 bab4dde63d76: Waiting 01:14:44 988bab9f4d93: Waiting 01:14:44 e2be974225ed: Verifying Checksum 01:14:44 e2be974225ed: Download complete 01:14:44 988bab9f4d93: Verifying Checksum 01:14:44 988bab9f4d93: Download complete 01:14:44 1469e6f7b9e6: Verifying Checksum 01:14:44 1469e6f7b9e6: Download complete 01:14:44 339a4e72a1f5: Verifying Checksum 01:14:44 eaf3925da568: Verifying Checksum 01:14:44 eaf3925da568: Download complete 01:14:44 bde34c3a00c8: Verifying Checksum 01:14:44 bde34c3a00c8: Download complete 01:14:44 b352a97aabf1: Verifying Checksum 01:14:44 b352a97aabf1: Download complete 01:14:44 4872d77fe225: Verifying Checksum 01:14:44 4872d77fe225: Download complete 01:14:44 5851b861e8e6: Verifying Checksum 01:14:44 5851b861e8e6: Download complete 01:14:44 b85a868b505f: Verifying Checksum 01:14:44 b85a868b505f: Download complete 01:14:44 bab4dde63d76: Verifying Checksum 01:14:44 bab4dde63d76: Download complete 01:14:45 b85a868b505f: Pull complete 01:14:45 e2be974225ed: Pull complete 01:14:46 339a4e72a1f5: Pull complete 01:14:46 988bab9f4d93: Pull complete 01:14:46 1469e6f7b9e6: Pull complete 01:14:46 eaf3925da568: Pull complete 01:14:48 bab4dde63d76: Pull complete 01:14:48 bde34c3a00c8: Pull complete 01:14:48 b352a97aabf1: Pull complete 01:14:48 4872d77fe225: Pull complete 01:14:48 5851b861e8e6: Pull complete 01:14:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:49 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:14:51 $ docker top 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e -eo pid,comm 01:14:51 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). 01:14:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:51 [ssh-agent] Looking for ssh-agent implementation... 01:14:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:51 $ docker exec 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e ssh-agent 01:14:51 SSH_AUTH_SOCK=/tmp/ssh-DoCIkQTCGUyE/agent.31 01:14:51 SSH_AGENT_PID=37 01:14:51 Running ssh-add (command line suppressed) 01:14:51 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17204302596809219463.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17204302596809219463.key) 01:14:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:52 + git tag --points-at HEAD [Pipeline] } 01:14:52 $ docker exec --env ******** --env ******** 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e ssh-agent -k 01:14:52 unset SSH_AUTH_SOCK; 01:14:52 unset SSH_AGENT_PID; 01:14:52 echo Agent pid 37 killed; 01:14:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:14:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:52 [ssh-agent] Looking for ssh-agent implementation... 01:14:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:52 $ docker exec 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e ssh-agent 01:14:52 SSH_AUTH_SOCK=/tmp/ssh-mCVc7yTRjcB3/agent.68 01:14:52 SSH_AGENT_PID=74 01:14:52 Running ssh-add (command line suppressed) 01:14:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8309858035218239233.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8309858035218239233.key) 01:14:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:53 + git semver init 01:14:53 2023-03-01 01:14:53,255 [run_init] DEBUG init version:0.0.0 force:False 01:14:53 2023-03-01 01:14:53,256 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 01:14:53 2023-03-01 01:14:53,256 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 01:14:53 2023-03-01 01:14:53,256 [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) 01:14:54 2023-03-01 01:14:54,073 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 01:14:54 2023-03-01 01:14:54,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 01:14:54 2023-03-01 01:14:54,073 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:14:54 2023-03-01 01:14:54,074 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:14:54 3.0.0-dev.10 [Pipeline] } 01:14:54 $ docker exec --env ******** --env ******** 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e ssh-agent -k 01:14:54 unset SSH_AUTH_SOCK; 01:14:54 unset SSH_AGENT_PID; 01:14:54 echo Agent pid 74 killed; 01:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:54 + git semver [Pipeline] } 01:14:54 $ docker stop --time=1 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e 01:14:56 $ docker rm -f --volumes 35502116542de53b576bd3105b85e57c651b66c33c09d79a6152b1791396e47e [Pipeline] // withDockerContainer [Pipeline] sh 01:14:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:14:56 Stashed 1 file(s) [Pipeline] echo 01:14:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [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 01:14:56 provisioning config files... 01:14:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6443872086898751344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:57 ---> docker-login.sh 01:14:57 nexus3.edgexfoundry.org:10001 01:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:57 Configure a credential helper to remove this warning. See 01:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:57 01:14:57 Login Succeeded 01:14:57 nexus3.edgexfoundry.org:10002 01:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:57 Configure a credential helper to remove this warning. See 01:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:57 01:14:57 Login Succeeded 01:14:57 nexus3.edgexfoundry.org:10003 01:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:57 Configure a credential helper to remove this warning. See 01:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:57 01:14:57 Login Succeeded 01:14:57 nexus3.edgexfoundry.org:10004 01:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:57 Configure a credential helper to remove this warning. See 01:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:57 01:14:57 Login Succeeded 01:14:57 docker.io 01:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:14:57 Configure a credential helper to remove this warning. See 01:14:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:14:57 01:14:57 Login Succeeded 01:14:57 ---> docker-login.sh ends [Pipeline] } 01:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:14:57 ========================================================= 01:14:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:14:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:58 + 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 . 01:14:58 Sending build context to Docker daemon 1.748MB 01:14:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:14:58 Step 2/13 : FROM ${BASE} AS builder 01:14:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:14:58 213ec9aee27d: Pulling fs layer 01:14:58 4583459ba037: Pulling fs layer 01:14:58 93c1e223e6f2: Pulling fs layer 01:14:58 53926ce57604: Pulling fs layer 01:14:58 21b2b0c7a3f4: Pulling fs layer 01:14:58 22ff95d597cd: Pulling fs layer 01:14:58 12d6caf4c0d1: Pulling fs layer 01:14:58 96b7cbca73a9: Pulling fs layer 01:14:58 a7acece74701: Pulling fs layer 01:14:58 21b2b0c7a3f4: Waiting 01:14:58 96b7cbca73a9: Waiting 01:14:58 12d6caf4c0d1: Waiting 01:14:58 22ff95d597cd: Waiting 01:14:58 53926ce57604: Waiting 01:14:58 a7acece74701: Waiting 01:14:58 93c1e223e6f2: Verifying Checksum 01:14:58 93c1e223e6f2: Download complete 01:14:58 4583459ba037: Verifying Checksum 01:14:58 4583459ba037: Download complete 01:14:58 21b2b0c7a3f4: Verifying Checksum 01:14:58 21b2b0c7a3f4: Download complete 01:14:58 22ff95d597cd: Verifying Checksum 01:14:58 22ff95d597cd: Download complete 01:14:58 213ec9aee27d: Verifying Checksum 01:14:58 12d6caf4c0d1: Download complete 01:14:58 213ec9aee27d: Pull complete 01:14:58 4583459ba037: Pull complete 01:14:58 93c1e223e6f2: Pull complete 01:14:59 a7acece74701: Verifying Checksum 01:14:59 a7acece74701: Download complete 01:14:59 53926ce57604: Verifying Checksum 01:14:59 53926ce57604: Download complete 01:14:59 96b7cbca73a9: Verifying Checksum 01:14:59 96b7cbca73a9: Download complete 01:15:03 53926ce57604: Pull complete 01:15:03 21b2b0c7a3f4: Pull complete 01:15:03 22ff95d597cd: Pull complete 01:15:03 12d6caf4c0d1: Pull complete 01:15:05 96b7cbca73a9: Pull complete 01:15:06 a7acece74701: Pull complete 01:15:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:15:06 ---> db6d94c90886 01:15:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:15:09 ---> Running in bf5b95f0862c 01:15:09 Removing intermediate container bf5b95f0862c 01:15:09 ---> 40c255494e58 01:15:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:09 ---> Running in 2686290b107d 01:15:10 Removing intermediate container 2686290b107d 01:15:10 ---> 247acd50c5e9 01:15:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:15:10 ---> Running in c6a0ac5eb7d2 01:15:10 Removing intermediate container c6a0ac5eb7d2 01:15:10 ---> a4054f5c16c3 01:15:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:15:10 ---> Running in 89e361b23359 01:15:10 Removing intermediate container 89e361b23359 01:15:10 ---> 12f3dd0fc6de 01:15:10 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:10 ---> Running in c3e2d192cee0 01:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:11 (1/80) Installing mesa (21.3.9-r0) 01:15:11 (2/80) Installing libxau (1.0.9-r0) 01:15:11 (3/80) Installing libxdmcp (1.1.3-r0) 01:15:11 (4/80) Installing libxcb (1.15-r0) 01:15:11 (5/80) Installing libx11 (1.8-r0) 01:15:11 (6/80) Installing libxext (1.3.4-r0) 01:15:11 (7/80) Installing libxfixes (6.0.0-r0) 01:15:11 (8/80) Installing libxxf86vm (1.1.4-r2) 01:15:11 (9/80) Installing libpciaccess (0.16-r0) 01:15:11 (10/80) Installing libdrm (2.4.110-r0) 01:15:11 (11/80) Installing mesa-glapi (21.3.9-r0) 01:15:11 (12/80) Installing libxshmfence (1.3-r1) 01:15:11 (13/80) Installing mesa-gl (21.3.9-r0) 01:15:11 (14/80) Installing icu-data-full (71.1-r2) 01:15:11 (15/80) Installing libice (1.0.10-r0) 01:15:11 (16/80) Installing libuuid (2.38-r1) 01:15:11 (17/80) Installing libsm (1.2.3-r0) 01:15:11 (18/80) Installing libxt (1.2.1-r0) 01:15:11 (19/80) Installing libxmu (1.1.3-r0) 01:15:11 (20/80) Installing xset (1.2.4-r0) 01:15:11 (21/80) Installing xprop (1.2.5-r0) 01:15:11 (22/80) Installing xdg-utils (1.1.3-r3) 01:15:11 (23/80) Installing dbus-libs (1.14.4-r0) 01:15:11 (24/80) Installing libffi (3.4.2-r1) 01:15:11 (25/80) Installing libintl (0.21-r2) 01:15:11 (26/80) Installing libblkid (2.38-r1) 01:15:11 (27/80) Installing libmount (2.38-r1) 01:15:11 (28/80) Installing pcre (8.45-r2) 01:15:11 (29/80) Installing glib (2.72.1-r0) 01:15:11 (30/80) Installing icu-libs (71.1-r2) 01:15:11 (31/80) Installing libpcre2-16 (10.40-r0) 01:15:11 (32/80) Installing zstd-libs (1.5.2-r1) 01:15:11 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 01:15:11 (34/80) Installing hicolor-icon-theme (0.17-r1) 01:15:11 (35/80) Installing wayland-libs-server (1.20.0-r0) 01:15:11 (36/80) Installing mesa-gbm (21.3.9-r0) 01:15:11 Still waiting to schedule task 01:15:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7838’ 01:15:12 (37/80) Installing wayland-libs-client (1.20.0-r0) 01:15:12 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 01:15:12 (39/80) Installing libxcomposite (0.4.5-r0) 01:15:12 (40/80) Installing libbz2 (1.0.8-r1) 01:15:12 (41/80) Installing libpng (1.6.37-r1) 01:15:12 (42/80) Installing freetype (2.12.1-r0) 01:15:12 (43/80) Installing fontconfig (2.14.0-r0) 01:15:12 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 01:15:12 (45/80) Installing wayland-libs-egl (1.20.0-r0) 01:15:12 (46/80) Installing xkeyboard-config (2.35.1-r0) 01:15:12 (47/80) Installing xz-libs (5.2.5-r1) 01:15:12 (48/80) Installing libxml2 (2.9.14-r2) 01:15:12 (49/80) Installing libxkbcommon (1.4.1-r0) 01:15:12 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 01:15:12 (51/80) Installing mesa-egl (21.3.9-r0) 01:15:12 (52/80) Installing avahi-libs (0.8-r6) 01:15:12 (53/80) Installing nettle (3.7.3-r0) 01:15:12 (54/80) Installing p11-kit (0.24.1-r0) 01:15:12 (55/80) Installing libtasn1 (4.18.0-r1) 01:15:12 (56/80) Installing libunistring (1.0-r0) 01:15:12 (57/80) Installing gnutls (3.7.7-r1) 01:15:12 (58/80) Installing cups-libs (2.4.2-r0) 01:15:12 (59/80) Installing graphite2 (1.3.14-r1) 01:15:12 (60/80) Installing harfbuzz (4.3.0-r0) 01:15:12 (61/80) Installing libevdev (1.12.1-r0) 01:15:12 (62/80) Installing mtdev (1.1.6-r0) 01:15:12 (63/80) Installing eudev-libs (3.2.11-r0) 01:15:12 (64/80) Installing libinput-libs (1.20.1-r0) 01:15:12 (65/80) Installing libjpeg-turbo (2.1.3-r1) 01:15:12 (66/80) Installing xcb-util-wm (0.4.1-r1) 01:15:12 (67/80) Installing xcb-util (0.4.0-r3) 01:15:12 (68/80) Installing xcb-util-image (0.4.0-r1) 01:15:12 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 01:15:12 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 01:15:12 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 01:15:12 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 01:15:12 (73/80) Installing v4l-utils-libs (1.22.1-r1) 01:15:12 (74/80) Installing v4l-utils (1.22.1-r1) 01:15:12 (75/80) Installing udev-init-scripts (35-r0) 01:15:12 Executing udev-init-scripts-35-r0.post-install 01:15:12 (76/80) Installing kmod-libs (29-r2) 01:15:12 (77/80) Installing eudev (3.2.11-r0) 01:15:12 (78/80) Installing eudev-dev (3.2.11-r0) 01:15:12 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 01:15:12 (80/80) Installing v4l-utils-dev (1.22.1-r1) 01:15:12 Executing busybox-1.35.0-r17.trigger 01:15:12 Executing eudev-3.2.11-r0.trigger 01:15:12 OK: 331 MiB in 131 packages 01:15:15 Removing intermediate container c3e2d192cee0 01:15:15 ---> b3e0a6be0cbe 01:15:15 Step 8/13 : WORKDIR /device-usb-camera 01:15:15 ---> Running in 605ac00fb96f 01:15:15 Removing intermediate container 605ac00fb96f 01:15:15 ---> b7b1d67633f7 01:15:15 Step 9/13 : COPY go.mod vendor* ./ 01:15:15 ---> ce102cdfcafb 01:15:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:15 ---> Running in d8c63820f2b4 01:15:54 Removing intermediate container d8c63820f2b4 01:15:54 ---> ec31e8f3decb 01:15:54 Step 11/13 : COPY . . 01:15:54 ---> bec5a1a9473a 01:15:54 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:15:54 ---> Running in 8a8eedb38aff 01:15:54  % Total % Received % Xferd Average Speed Time Time Time Current 01:15:54 Dload Upload Total Spent Left Speed 01:15:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10791 0 --:--:-- --:--:-- --:--:-- 10836 01:15:54 Removing intermediate container 8a8eedb38aff 01:15:54 ---> f221e1eb69ff 01:15:54 Step 13/13 : RUN ${MAKE} 01:15:54 ---> Running in 644d70ae0d86 01:15:54 noop 01:15:54 Removing intermediate container 644d70ae0d86 01:15:54 ---> 02bf043b62df 01:15:54 Successfully built 02bf043b62df 01:15:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:54 + docker inspect -f . ci-base-image-x86_64 01:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:54 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:15:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:54 $ docker top 3ffb7b62542a9e19ed9c3c650f491f7f1f97573c20c587453b5e84cb5fac2b49 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:55 + go version 01:15:55 go version go1.18.7 linux/amd64 [Pipeline] } 01:15:55 $ docker stop --time=1 3ffb7b62542a9e19ed9c3c650f491f7f1f97573c20c587453b5e84cb5fac2b49 01:15:56 $ docker rm -f --volumes 3ffb7b62542a9e19ed9c3c650f491f7f1f97573c20c587453b5e84cb5fac2b49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:56 + docker inspect -f . ci-base-image-x86_64 01:15:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:57 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:57 $ docker top e81b71b1f5022af283de397d290db413c8ed30abd2e359ba38fd1d47f84fa379 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:57 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 01:15:58 + make test 01:15:58 go test ./... -coverprofile=coverage.out ./... 01:15:58 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:16:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:16:08 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements 01:16:14 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." 01:16:14 go vet ./... 01:16:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:16:16 $ docker stop --time=1 e81b71b1f5022af283de397d290db413c8ed30abd2e359ba38fd1d47f84fa379 01:16:20 $ docker rm -f --volumes e81b71b1f5022af283de397d290db413c8ed30abd2e359ba38fd1d47f84fa379 [Pipeline] // withDockerContainer [Pipeline] sh 01:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:16:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:16:21 + ls -al . 01:16:21 total 192 01:16:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 01:15 . 01:16:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:14 .. 01:16:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 01:16 .git 01:16:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:14 .github 01:16:21 -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 01:14 .gitignore 01:16:21 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 01:14 .golangci.yml 01:16:21 -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 01:14 .hadolint.yml 01:16:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 01:14 .semver 01:16:21 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 01:14 Attribution.txt 01:16:21 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 01:14 CHANGELOG.md 01:16:21 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 01:14 Dockerfile 01:16:21 -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 01:14 GOVERNANCE.md 01:16:21 -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 01:14 Jenkinsfile 01:16:21 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 01:14 LICENSE 01:16:21 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 01:14 Makefile 01:16:21 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 01:14 OWNERS.md 01:16:21 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 01:14 README.md 01:16:21 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 01:14 VERSION 01:16:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 01:14 bin 01:16:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:14 cmd 01:16:21 -rw-r--r-- 1 jenkins jenkins 30666 Mar 1 01:16 coverage.out 01:16:21 -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 01:14 docker-entrypoint.sh 01:16:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:14 docs 01:16:21 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 01:14 go.mod 01:16:21 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 01:14 go.sum 01:16:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:14 internal 01:16:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:14 snap 01:16:21 -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:21 + 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=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 --label arch=amd64 --label version=3.0.0-dev.10 . 01:16:21 Sending build context to Docker daemon 1.779MB 01:16:21 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 01:16:21 Step 2/35 : FROM ${BASE} AS builder 01:16:21 ---> 02bf043b62df 01:16:21 Step 3/35 : ARG ADD_BUILD_TAGS="" 01:16:21 ---> Running in b384d8dee730 01:16:21 Removing intermediate container b384d8dee730 01:16:21 ---> 02826205c754 01:16:21 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:16:21 ---> Running in 2e360488a6d3 01:16:21 Removing intermediate container 2e360488a6d3 01:16:21 ---> 99878edfac3e 01:16:21 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:16:21 ---> Running in 1aeace2f296f 01:16:22 Removing intermediate container 1aeace2f296f 01:16:22 ---> 8d7c715cfc53 01:16:22 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:16:22 ---> Running in 690613af677c 01:16:22 Removing intermediate container 690613af677c 01:16:22 ---> 837e8dcf47c7 01:16:22 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:16:22 ---> Running in 21c9819190b2 01:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:16:22 OK: 331 MiB in 131 packages 01:16:22 Removing intermediate container 21c9819190b2 01:16:22 ---> 5ff77a5a2562 01:16:22 Step 8/35 : WORKDIR /device-usb-camera 01:16:22 ---> Running in 1a9694a95f76 01:16:22 Removing intermediate container 1a9694a95f76 01:16:22 ---> 78482727134b 01:16:22 Step 9/35 : COPY go.mod vendor* ./ 01:16:23 ---> 7b52d2438a7e 01:16:23 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:23 ---> Running in 80f0e87ce3d2 01:16:24 Removing intermediate container 80f0e87ce3d2 01:16:24 ---> 29e29737509e 01:16:24 Step 11/35 : COPY . . 01:16:25 ---> 4b95b8a8c8c1 01:16:25 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:16:25 ---> Running in 76ef0117a3f5 01:16:25  % Total % Received % Xferd Average Speed Time Time Time Current 01:16:25 Dload Upload Total Spent Left Speed 01:16:25 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 39610 0 --:--:-- --:--:-- --:--:-- 40846 01:16:26 Removing intermediate container 76ef0117a3f5 01:16:26 ---> 14d9a86b3526 01:16:26 Step 13/35 : RUN ${MAKE} 01:16:26 ---> Running in c10b704c68c3 01:16:27 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:16:50 Removing intermediate container c10b704c68c3 01:16:50 ---> d0725152554f 01:16:50 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 01:16:52 v0.18.4: Pulling from aler9/rtsp-simple-server 01:16:52 af6660deedbd: Pulling fs layer 01:16:52 97cd0a44c592: Pulling fs layer 01:16:52 97cd0a44c592: Download complete 01:16:52 af6660deedbd: Verifying Checksum 01:16:52 af6660deedbd: Download complete 01:16:53 af6660deedbd: Pull complete 01:16:53 97cd0a44c592: Pull complete 01:16:53 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 01:16:53 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 01:16:53 ---> fea57e182299 01:16:53 Step 15/35 : FROM alpine:3.16 01:16:53 3.16: Pulling from library/alpine 01:16:53 ef5531b6e74e: Pulling fs layer 01:16:54 ef5531b6e74e: Verifying Checksum 01:16:54 ef5531b6e74e: Download complete 01:16:54 ef5531b6e74e: Pull complete 01:16:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:16:54 Status: Downloaded newer image for alpine:3.16 01:16:54 ---> dfd21b5a31f5 01:16:54 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:16:54 ---> Running in 0ded01047b49 01:16:54 Removing intermediate container 0ded01047b49 01:16:54 ---> e5d531f37fb8 01:16:54 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:16:54 ---> Running in 9b28ec0cfc6a 01:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:16:55 (1/80) Installing dumb-init (1.2.5-r1) 01:16:55 (2/80) Installing sdl2 (2.0.22-r0) 01:16:55 (3/80) Installing libxau (1.0.9-r0) 01:16:55 (4/80) Installing libxdmcp (1.1.3-r0) 01:16:55 (5/80) Installing libxcb (1.15-r0) 01:16:55 (6/80) Installing libx11 (1.8-r0) 01:16:55 (7/80) Installing aom-libs (3.3.0-r0) 01:16:55 (8/80) Installing alsa-lib (1.2.7.2-r0) 01:16:55 (9/80) Installing expat (2.5.0-r0) 01:16:55 (10/80) Installing brotli-libs (1.0.9-r6) 01:16:55 (11/80) Installing libbz2 (1.0.8-r1) 01:16:55 (12/80) Installing libpng (1.6.37-r1) 01:16:55 (13/80) Installing freetype (2.12.1-r0) 01:16:55 (14/80) Installing fontconfig (2.14.0-r0) 01:16:55 (15/80) Installing fribidi (1.0.12-r0) 01:16:55 (16/80) Installing libffi (3.4.2-r1) 01:16:55 (17/80) Installing libintl (0.21-r2) 01:16:55 (18/80) Installing libblkid (2.38-r1) 01:16:55 (19/80) Installing libmount (2.38-r1) 01:16:55 (20/80) Installing pcre (8.45-r2) 01:16:55 (21/80) Installing glib (2.72.1-r0) 01:16:55 (22/80) Installing graphite2 (1.3.14-r1) 01:16:55 (23/80) Installing harfbuzz (4.3.0-r0) 01:16:55 (24/80) Installing libass (0.16.0-r0) 01:16:55 (25/80) Installing libdav1d (1.0.0-r0) 01:16:55 (26/80) Installing libpciaccess (0.16-r0) 01:16:55 (27/80) Installing libdrm (2.4.110-r0) 01:16:55 (28/80) Installing gmp (6.2.1-r2) 01:16:55 (29/80) Installing nettle (3.7.3-r0) 01:16:55 (30/80) Installing p11-kit (0.24.1-r0) 01:16:55 (31/80) Installing libtasn1 (4.18.0-r1) 01:16:55 (32/80) Installing libunistring (1.0-r0) 01:16:55 (33/80) Installing gnutls (3.7.7-r1) 01:16:55 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 01:16:55 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 01:16:55 (36/80) Installing lame (3.100-r0) 01:16:56 (37/80) Installing opus (1.3.1-r1) 01:16:56 (38/80) Installing libasyncns (0.8-r1) 01:16:56 (39/80) Installing dbus-libs (1.14.4-r0) 01:16:56 (40/80) Installing libltdl (2.4.7-r0) 01:16:56 (41/80) Installing orc (0.4.32-r0) 01:16:56 (42/80) Installing libgcc (11.2.1_git20220219-r2) 01:16:56 (43/80) Installing libogg (1.3.5-r1) 01:16:56 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 01:16:56 (45/80) Installing flac (1.3.4-r0) 01:16:56 (46/80) Installing libvorbis (1.3.7-r0) 01:16:56 (47/80) Installing libsndfile (1.1.0-r0) 01:16:56 (48/80) Installing libgomp (11.2.1_git20220219-r2) 01:16:56 (49/80) Installing soxr (0.1.3-r2) 01:16:56 (50/80) Installing speexdsp (1.2.0-r0) 01:16:56 (51/80) Installing tdb-libs (1.4.6-r0) 01:16:56 (52/80) Installing libpulse (15.0-r2) 01:16:57 (53/80) Installing cjson (1.7.15-r3) 01:16:57 (54/80) Installing mbedtls (2.28.2-r0) 01:16:57 (55/80) Installing librist (0.2.6-r1) 01:16:57 (56/80) Installing libsrt (1.4.4-r0) 01:16:57 (57/80) Installing libssh (0.9.6-r1) 01:16:57 (58/80) Installing libtheora (1.1.1-r16) 01:16:57 (59/80) Installing libjpeg-turbo (2.1.3-r1) 01:16:57 (60/80) Installing v4l-utils-libs (1.22.1-r1) 01:16:57 (61/80) Installing libxext (1.3.4-r0) 01:16:57 (62/80) Installing libxfixes (6.0.0-r0) 01:16:57 (63/80) Installing wayland-libs-client (1.20.0-r0) 01:16:57 (64/80) Installing libva (2.14.0-r0) 01:16:57 (65/80) Installing libvdpau (1.5-r0) 01:16:57 (66/80) Installing vidstab (1.1.0-r1) 01:16:57 (67/80) Installing libvpx (1.11.0-r1) 01:16:57 (68/80) Installing libwebp (1.2.3-r0) 01:16:57 (69/80) Installing x264-libs (0.163_git20210613-r0) 01:16:57 (70/80) Installing numactl (2.0.14-r0) 01:16:57 (71/80) Installing x265-libs (3.5-r3) 01:16:57 (72/80) Installing xvidcore (1.3.7-r1) 01:16:57 (73/80) Installing ffmpeg-libs (5.0.1-r1) 01:16:57 (74/80) Installing ffmpeg (5.0.1-r1) 01:16:57 (75/80) Installing udev-init-scripts (35-r0) 01:16:57 Executing udev-init-scripts-35-r0.post-install 01:16:57 (76/80) Installing eudev-libs (3.2.11-r0) 01:16:57 (77/80) Installing xz-libs (5.2.5-r1) 01:16:57 (78/80) Installing zstd-libs (1.5.2-r1) 01:16:57 (79/80) Installing kmod-libs (29-r2) 01:16:57 (80/80) Installing eudev (3.2.11-r0) 01:16:57 Executing busybox-1.35.0-r17.trigger 01:16:57 Executing eudev-3.2.11-r0.trigger 01:16:57 OK: 100 MiB in 94 packages 01:17:01 Removing intermediate container 9b28ec0cfc6a 01:17:01 ---> 11fec7ba9353 01:17:01 Step 18/35 : WORKDIR / 01:17:01 ---> Running in c5784d11c5a1 01:17:01 Removing intermediate container c5784d11c5a1 01:17:01 ---> 36bda326b901 01:17:01 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 01:17:01 ---> 6326183470d5 01:17:01 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 01:17:01 ---> 5b0b5560550a 01:17:01 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:17:01 ---> caf6e159ebd5 01:17:01 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:17:01 ---> 70c88cca0466 01:17:01 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:17:02 ---> bc33e0ed750e 01:17:02 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 01:17:02 ---> 084012bb10ad 01:17:02 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 01:17:03 ---> aeaefc91f422 01:17:03 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:17:03 ---> Running in 7ea093ffbb14 01:17:03 Removing intermediate container 7ea093ffbb14 01:17:03 ---> 3b86a05264c6 01:17:03 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:17:03 ---> Running in f340be5938a5 01:17:03 Removing intermediate container f340be5938a5 01:17:03 ---> 17b0a3f3c3f3 01:17:03 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:17:03 ---> Running in 089b86f16255 01:17:04 Removing intermediate container 089b86f16255 01:17:04 ---> ddb5327c23b4 01:17:04 Step 29/35 : EXPOSE 59983 01:17:04 ---> Running in 84734fb6c541 01:17:04 Removing intermediate container 84734fb6c541 01:17:04 ---> d6b0a4c43a06 01:17:04 Step 30/35 : EXPOSE 8554 01:17:04 ---> Running in 428922c7fa7c 01:17:04 Removing intermediate container 428922c7fa7c 01:17:04 ---> 6c3c2ceaaac4 01:17:04 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:17:04 ---> Running in 46b630fd38e7 01:17:04 Removing intermediate container 46b630fd38e7 01:17:04 ---> a7954086fb2f 01:17:04 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:17:04 ---> Running in 308cd6edefca 01:17:05 Removing intermediate container 308cd6edefca 01:17:05 ---> 6cb56f3ba9b4 01:17:05 Step 33/35 : LABEL arch=amd64 01:17:05 ---> Running in 864cab2e5b1c 01:17:05 Removing intermediate container 864cab2e5b1c 01:17:05 ---> d75106d3d8fd 01:17:05 Step 34/35 : LABEL git_sha=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:17:05 ---> Running in dbcdd1bbe355 01:17:05 Removing intermediate container dbcdd1bbe355 01:17:05 ---> d2029b03a531 01:17:05 Step 35/35 : LABEL version=3.0.0-dev.10 01:17:05 ---> Running in 665f875d6039 01:17:05 Removing intermediate container 665f875d6039 01:17:05 ---> 3977eba730ad 01:17:05 [Warning] One or more build-args [ARCH] were not consumed 01:17:05 Successfully built 3977eba730ad 01:17:05 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 01:17:05 provisioning config files... 01:17:05 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9701394592291944093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:05 ---> docker-login.sh 01:17:05 nexus3.edgexfoundry.org:10001 01:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:05 Configure a credential helper to remove this warning. See 01:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:05 01:17:05 Login Succeeded 01:17:05 nexus3.edgexfoundry.org:10002 01:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:05 Configure a credential helper to remove this warning. See 01:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:05 01:17:05 Login Succeeded 01:17:05 nexus3.edgexfoundry.org:10003 01:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:05 Configure a credential helper to remove this warning. See 01:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:05 01:17:05 Login Succeeded 01:17:05 nexus3.edgexfoundry.org:10004 01:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:05 Configure a credential helper to remove this warning. See 01:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:05 01:17:05 Login Succeeded 01:17:05 docker.io 01:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:17:06 Configure a credential helper to remove this warning. See 01:17:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:17:06 01:17:06 Login Succeeded 01:17:06 ---> docker-login.sh ends [Pipeline] } 01:17:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:17:06 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 01:17:06 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:17:06 latest 01:17:06 3.0.0-dev.10 01:17:06 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:17:06 main 01:17:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:06 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:17:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 01:17:06 5cd2447e3fac: Preparing 01:17:06 f7c49328c05d: Preparing 01:17:06 637f9aa62eba: Preparing 01:17:06 550e596c6d0e: Preparing 01:17:06 1207169bf42c: Preparing 01:17:06 cf5671ffa5e4: Preparing 01:17:06 e25984082f3b: Preparing 01:17:06 7ae1ffdf59bf: Preparing 01:17:06 cd271e628e7a: Preparing 01:17:06 fb71672176f6: Preparing 01:17:06 51dc1c6c4f29: Preparing 01:17:06 aa5968d388b8: Preparing 01:17:06 cf5671ffa5e4: Waiting 01:17:06 e25984082f3b: Waiting 01:17:06 7ae1ffdf59bf: Waiting 01:17:06 cd271e628e7a: Waiting 01:17:06 fb71672176f6: Waiting 01:17:06 51dc1c6c4f29: Waiting 01:17:06 aa5968d388b8: Waiting 01:17:06 637f9aa62eba: Pushed 01:17:06 f7c49328c05d: Pushed 01:17:06 1207169bf42c: Pushed 01:17:06 5cd2447e3fac: Pushed 01:17:07 7ae1ffdf59bf: Pushed 01:17:07 e25984082f3b: Pushed 01:17:07 cd271e628e7a: Pushed 01:17:07 cf5671ffa5e4: Pushed 01:17:07 aa5968d388b8: Layer already exists 01:17:08 550e596c6d0e: Pushed 01:17:09 fb71672176f6: Pushed 01:17:16 51dc1c6c4f29: Pushed 01:17:16 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193: digest: sha256:1ae64f8d765dfaa819bcfddc0b82eb08735910b082dfc7dc9a556a9a82d1c8c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 01:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 01:17:16 5cd2447e3fac: Preparing 01:17:16 f7c49328c05d: Preparing 01:17:16 637f9aa62eba: Preparing 01:17:16 550e596c6d0e: Preparing 01:17:16 1207169bf42c: Preparing 01:17:16 cf5671ffa5e4: Preparing 01:17:16 e25984082f3b: Preparing 01:17:16 7ae1ffdf59bf: Preparing 01:17:16 cd271e628e7a: Preparing 01:17:16 fb71672176f6: Preparing 01:17:16 51dc1c6c4f29: Preparing 01:17:16 aa5968d388b8: Preparing 01:17:16 cd271e628e7a: Waiting 01:17:16 fb71672176f6: Waiting 01:17:16 51dc1c6c4f29: Waiting 01:17:16 aa5968d388b8: Waiting 01:17:16 e25984082f3b: Waiting 01:17:16 7ae1ffdf59bf: Waiting 01:17:16 550e596c6d0e: Layer already exists 01:17:16 f7c49328c05d: Layer already exists 01:17:16 1207169bf42c: Layer already exists 01:17:16 637f9aa62eba: Layer already exists 01:17:16 5cd2447e3fac: Layer already exists 01:17:16 e25984082f3b: Layer already exists 01:17:16 cf5671ffa5e4: Layer already exists 01:17:16 fb71672176f6: Layer already exists 01:17:16 7ae1ffdf59bf: Layer already exists 01:17:16 cd271e628e7a: Layer already exists 01:17:16 aa5968d388b8: Layer already exists 01:17:16 51dc1c6c4f29: Layer already exists 01:17:16 latest: digest: sha256:1ae64f8d765dfaa819bcfddc0b82eb08735910b082dfc7dc9a556a9a82d1c8c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.10 01:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 01:17:17 5cd2447e3fac: Preparing 01:17:17 f7c49328c05d: Preparing 01:17:17 637f9aa62eba: Preparing 01:17:17 550e596c6d0e: Preparing 01:17:17 1207169bf42c: Preparing 01:17:17 cf5671ffa5e4: Preparing 01:17:17 e25984082f3b: Preparing 01:17:17 7ae1ffdf59bf: Preparing 01:17:17 cd271e628e7a: Preparing 01:17:17 fb71672176f6: Preparing 01:17:17 51dc1c6c4f29: Preparing 01:17:17 cf5671ffa5e4: Waiting 01:17:17 e25984082f3b: Waiting 01:17:17 7ae1ffdf59bf: Waiting 01:17:17 cd271e628e7a: Waiting 01:17:17 fb71672176f6: Waiting 01:17:17 aa5968d388b8: Preparing 01:17:17 51dc1c6c4f29: Waiting 01:17:17 aa5968d388b8: Waiting 01:17:17 f7c49328c05d: Layer already exists 01:17:17 1207169bf42c: Layer already exists 01:17:17 550e596c6d0e: Layer already exists 01:17:17 5cd2447e3fac: Layer already exists 01:17:17 637f9aa62eba: Layer already exists 01:17:17 e25984082f3b: Layer already exists 01:17:17 7ae1ffdf59bf: Layer already exists 01:17:17 cf5671ffa5e4: Layer already exists 01:17:17 fb71672176f6: Layer already exists 01:17:17 cd271e628e7a: Layer already exists 01:17:17 51dc1c6c4f29: Layer already exists 01:17:17 aa5968d388b8: Layer already exists 01:17:17 3.0.0-dev.10: digest: sha256:1ae64f8d765dfaa819bcfddc0b82eb08735910b082dfc7dc9a556a9a82d1c8c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 01:17:17 5cd2447e3fac: Preparing 01:17:17 f7c49328c05d: Preparing 01:17:17 637f9aa62eba: Preparing 01:17:17 550e596c6d0e: Preparing 01:17:17 1207169bf42c: Preparing 01:17:17 cf5671ffa5e4: Preparing 01:17:17 e25984082f3b: Preparing 01:17:17 7ae1ffdf59bf: Preparing 01:17:17 cd271e628e7a: Preparing 01:17:17 cf5671ffa5e4: Waiting 01:17:17 e25984082f3b: Waiting 01:17:17 7ae1ffdf59bf: Waiting 01:17:17 fb71672176f6: Preparing 01:17:17 cd271e628e7a: Waiting 01:17:17 51dc1c6c4f29: Preparing 01:17:17 aa5968d388b8: Preparing 01:17:17 fb71672176f6: Waiting 01:17:17 51dc1c6c4f29: Waiting 01:17:17 aa5968d388b8: Waiting 01:17:17 1207169bf42c: Layer already exists 01:17:17 637f9aa62eba: Layer already exists 01:17:17 f7c49328c05d: Layer already exists 01:17:17 550e596c6d0e: Layer already exists 01:17:17 5cd2447e3fac: Layer already exists 01:17:17 cf5671ffa5e4: Layer already exists 01:17:17 cd271e628e7a: Layer already exists 01:17:17 e25984082f3b: Layer already exists 01:17:17 7ae1ffdf59bf: Layer already exists 01:17:17 fb71672176f6: Layer already exists 01:17:17 51dc1c6c4f29: Layer already exists 01:17:17 aa5968d388b8: Layer already exists 01:17:17 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10: digest: sha256:1ae64f8d765dfaa819bcfddc0b82eb08735910b082dfc7dc9a556a9a82d1c8c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 01:17:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 01:17:18 5cd2447e3fac: Preparing 01:17:18 f7c49328c05d: Preparing 01:17:18 637f9aa62eba: Preparing 01:17:18 550e596c6d0e: Preparing 01:17:18 1207169bf42c: Preparing 01:17:18 cf5671ffa5e4: Preparing 01:17:18 e25984082f3b: Preparing 01:17:18 7ae1ffdf59bf: Preparing 01:17:18 cd271e628e7a: Preparing 01:17:18 fb71672176f6: Preparing 01:17:18 51dc1c6c4f29: Preparing 01:17:18 aa5968d388b8: Preparing 01:17:18 cf5671ffa5e4: Waiting 01:17:18 7ae1ffdf59bf: Waiting 01:17:18 e25984082f3b: Waiting 01:17:18 cd271e628e7a: Waiting 01:17:18 51dc1c6c4f29: Waiting 01:17:18 fb71672176f6: Waiting 01:17:18 aa5968d388b8: Waiting 01:17:18 637f9aa62eba: Layer already exists 01:17:18 f7c49328c05d: Layer already exists 01:17:18 5cd2447e3fac: Layer already exists 01:17:18 550e596c6d0e: Layer already exists 01:17:18 1207169bf42c: Layer already exists 01:17:18 cf5671ffa5e4: Layer already exists 01:17:18 fb71672176f6: Layer already exists 01:17:18 cd271e628e7a: Layer already exists 01:17:18 e25984082f3b: Layer already exists 01:17:18 7ae1ffdf59bf: Layer already exists 01:17:18 aa5968d388b8: Layer already exists 01:17:18 51dc1c6c4f29: Layer already exists 01:17:18 main: digest: sha256:1ae64f8d765dfaa819bcfddc0b82eb08735910b082dfc7dc9a556a9a82d1c8c3 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:18 ===================================================== [Pipeline] echo 01:17:18 taggedImages: 01:17:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:17:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 01:17:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.10 01:17:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:17:18 - 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 01:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:18 01:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:19 latest: Pulling from edgex-lftools-log-publisher 01:17:19 5eb5b503b376: Pulling fs layer 01:17:19 5c69ac0246d0: Pulling fs layer 01:17:19 ec43610c2a17: Pulling fs layer 01:17:19 3a2ae6a8a46f: Pulling fs layer 01:17:19 33b1e0a273af: Pulling fs layer 01:17:19 5d3b04190fa2: Pulling fs layer 01:17:19 2f39f015ded8: Pulling fs layer 01:17:19 33b1e0a273af: Waiting 01:17:19 3a2ae6a8a46f: Waiting 01:17:19 2f39f015ded8: Waiting 01:17:19 5d3b04190fa2: Waiting 01:17:19 5c69ac0246d0: Verifying Checksum 01:17:19 5c69ac0246d0: Download complete 01:17:19 3a2ae6a8a46f: Verifying Checksum 01:17:19 3a2ae6a8a46f: Download complete 01:17:19 33b1e0a273af: Verifying Checksum 01:17:19 33b1e0a273af: Download complete 01:17:19 5d3b04190fa2: Verifying Checksum 01:17:19 5d3b04190fa2: Download complete 01:17:20 ec43610c2a17: Verifying Checksum 01:17:20 ec43610c2a17: Download complete 01:17:20 5eb5b503b376: Verifying Checksum 01:17:20 5eb5b503b376: Download complete 01:17:20 2f39f015ded8: Verifying Checksum 01:17:20 2f39f015ded8: Download complete 01:17:21 5eb5b503b376: Pull complete 01:17:21 5c69ac0246d0: Pull complete 01:17:21 ec43610c2a17: Pull complete 01:17:21 3a2ae6a8a46f: Pull complete 01:17:22 33b1e0a273af: Pull complete 01:17:22 5d3b04190fa2: Pull complete 01:17:26 2f39f015ded8: Pull complete 01:17:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:17:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:26 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:17:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:17:31 $ docker top 3643c1cf219a970519e922e93483e3a4802cda8882c04ddbbe12e4dd2bc793f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:31 ---> job-cost.sh 01:17:31 lf-activate-venv: SKIPPING 01:17:31 INFO: No Stack... 01:17:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:32 INFO: Archiving Costs [Pipeline] sh 01:17:33 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 01:17:33 + cut -d, -f6 [Pipeline] lock 01:17:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] 01:17:33 Resource [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] did not exist. Created. 01:17:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:33 + echo total: 0.2199999988079071 [Pipeline] stash 01:17:33 Stashed 1 file(s) [Pipeline] } 01:17:33 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:33 $ docker stop --time=1 3643c1cf219a970519e922e93483e3a4802cda8882c04ddbbe12e4dd2bc793f6 01:17:34 $ docker rm -f --volumes 3643c1cf219a970519e922e93483e3a4802cda8882c04ddbbe12e4dd2bc793f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:17:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7844 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 01:17:45 Running in /w/workspace/device-usb-camera/81 [Pipeline] { [Pipeline] checkout 01:17:45 Selected Git installation does not exist. Using Default 01:17:45 The recommended git tool is: NONE 01:17:52 using credential edgex-jenkins-ssh 01:17:52 Cloning the remote Git repository 01:17:52 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 01:17:53 > git init /w/workspace/device-usb-camera/81 # timeout=10 01:17:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:17:53 > git --version # timeout=10 01:17:53 > git --version # 'git version 2.25.1' 01:17:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:17:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:55 Avoid second fetch 01:17:55 Checking out Revision b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 (main) 01:17:55 > git config core.sparsecheckout # timeout=10 01:17:55 > git checkout -f b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 # timeout=10 01:17:55 Commit message: "Merge pull request #163 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.39" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:17:56 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:56 Dload Upload Total Spent Left Speed 01:17:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh 01:17:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:17:57 + + sudo tee /etc/docker/daemon.new 01:17:57 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:17:57 { 01:17:57 "registry-mirrors": [ 01:17:57 "https://nexus3.edgexfoundry.org:10001" 01:17:57 ], 01:17:57 "bip": "10.250.0.254/24", 01:17:57 "hosts": [ 01:17:57 "tcp://0.0.0.0:5555", 01:17:57 "unix:///var/run/docker.sock" 01:17:57 ], 01:17:57 "mtu": 1458, 01:17:57 "selinux-enabled": true, 01:17:57 "seccomp-profile": "/etc/docker/seccomp.json" 01:17:57 } [Pipeline] sh 01:17:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:17:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:16 provisioning config files... 01:18:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/81@tmp/config14047921163461111440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:17 ---> docker-login.sh 01:18:17 nexus3.edgexfoundry.org:10001 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 nexus3.edgexfoundry.org:10002 01:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 nexus3.edgexfoundry.org:10003 01:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 nexus3.edgexfoundry.org:10004 01:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:19 Configure a credential helper to remove this warning. See 01:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:19 01:18:19 Login Succeeded 01:18:19 docker.io 01:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:18:19 Configure a credential helper to remove this warning. See 01:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:18:19 01:18:19 Login Succeeded 01:18:19 ---> docker-login.sh ends [Pipeline] } 01:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:18:20 ========================================================= 01:18:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:18:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:20 + 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 . 01:18:20 Sending build context to Docker daemon 1.129MB 01:18:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:18:20 Step 2/13 : FROM ${BASE} AS builder 01:18:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:18:20 9b18e9b68314: Pulling fs layer 01:18:20 35d82f9e3411: Pulling fs layer 01:18:20 e16973657156: Pulling fs layer 01:18:20 fc693d55d65f: Pulling fs layer 01:18:20 7e9fc2657dce: Pulling fs layer 01:18:20 dda99020689f: Pulling fs layer 01:18:20 db1c61fa0a46: Pulling fs layer 01:18:20 891c053d2c06: Pulling fs layer 01:18:20 dda99020689f: Waiting 01:18:20 fc693d55d65f: Waiting 01:18:20 db1c61fa0a46: Waiting 01:18:20 891c053d2c06: Waiting 01:18:20 7e9fc2657dce: Waiting 01:18:20 e16973657156: Verifying Checksum 01:18:20 e16973657156: Download complete 01:18:20 35d82f9e3411: Verifying Checksum 01:18:20 35d82f9e3411: Download complete 01:18:20 7e9fc2657dce: Verifying Checksum 01:18:20 7e9fc2657dce: Download complete 01:18:20 dda99020689f: Verifying Checksum 01:18:20 dda99020689f: Download complete 01:18:20 9b18e9b68314: Verifying Checksum 01:18:20 9b18e9b68314: Download complete 01:18:22 891c053d2c06: Verifying Checksum 01:18:22 891c053d2c06: Download complete 01:18:22 9b18e9b68314: Pull complete 01:18:23 db1c61fa0a46: Verifying Checksum 01:18:23 db1c61fa0a46: Download complete 01:18:23 35d82f9e3411: Pull complete 01:18:23 fc693d55d65f: Verifying Checksum 01:18:23 fc693d55d65f: Download complete 01:18:23 e16973657156: Pull complete 01:18:36 fc693d55d65f: Pull complete 01:18:36 7e9fc2657dce: Pull complete 01:18:36 dda99020689f: Pull complete 01:18:43 db1c61fa0a46: Pull complete 01:18:45 891c053d2c06: Pull complete 01:18:45 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:18:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:18:45 ---> f96f9c87975a 01:18:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:18:47 ---> Running in 8fc342bc495f 01:18:47 Removing intermediate container 8fc342bc495f 01:18:47 ---> beb3b2f81f48 01:18:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:18:47 ---> Running in dfe2634ef81f 01:18:47 Removing intermediate container dfe2634ef81f 01:18:47 ---> 5f54c59ce8ee 01:18:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:18:47 ---> Running in 8c41f705bb66 01:18:48 Removing intermediate container 8c41f705bb66 01:18:48 ---> 634fc9bd8b60 01:18:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:18:48 ---> Running in cec457212bd9 01:18:48 Removing intermediate container cec457212bd9 01:18:48 ---> a409aad1e923 01:18:48 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:18:48 ---> Running in 99118fc518d6 01:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:18:51 (1/14) Installing libintl (0.21-r2) 01:18:51 (2/14) Installing eudev-libs (3.2.11-r0) 01:18:51 (3/14) Installing libjpeg-turbo (2.1.3-r1) 01:18:51 (4/14) Installing v4l-utils-libs (1.22.1-r1) 01:18:51 (5/14) Installing v4l-utils (1.22.1-r1) 01:18:51 (6/14) Installing udev-init-scripts (35-r0) 01:18:51 Executing udev-init-scripts-35-r0.post-install 01:18:51 (7/14) Installing libblkid (2.38-r1) 01:18:51 (8/14) Installing xz-libs (5.2.5-r1) 01:18:51 (9/14) Installing zstd-libs (1.5.2-r1) 01:18:51 (10/14) Installing kmod-libs (29-r2) 01:18:51 (11/14) Installing eudev (3.2.11-r0) 01:18:51 (12/14) Installing eudev-dev (3.2.11-r0) 01:18:51 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 01:18:51 (14/14) Installing v4l-utils-dev (1.22.1-r1) 01:18:51 Executing busybox-1.35.0-r17.trigger 01:18:51 Executing eudev-3.2.11-r0.trigger 01:18:51 OK: 228 MiB in 65 packages 01:18:52 Removing intermediate container 99118fc518d6 01:18:52 ---> 8d9411b9c919 01:18:52 Step 8/13 : WORKDIR /device-usb-camera 01:18:53 ---> Running in 0206bfa472c3 01:18:53 Removing intermediate container 0206bfa472c3 01:18:53 ---> 6a3cc080194e 01:18:53 Step 9/13 : COPY go.mod vendor* ./ 01:18:53 ---> cdd95522a471 01:18:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:53 ---> Running in c662655e51c6 01:20:15 Removing intermediate container c662655e51c6 01:20:15 ---> 62c5ee15e058 01:20:15 Step 11/13 : COPY . . 01:20:15 ---> df2529b668aa 01:20:15 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:20:15 ---> Running in 91fe8ac692c6 01:20:15  % Total  % Received % Xferd Average Speed Time  Time Time Current 01:20:15  Dload Upload Total Spent  Left Speed 01:20:15 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 9738 0 --:--:-- --:--:-- --:--:-- 9833 01:20:15 Removing intermediate container 91fe8ac692c6 01:20:15 ---> 2289d1d7f94d 01:20:15 Step 13/13 : RUN ${MAKE} 01:20:15 ---> Running in 4d5b699a289d 01:20:15 noop 01:20:15 Removing intermediate container 4d5b699a289d 01:20:15 ---> b081189d39e3 01:20:15 Successfully built b081189d39e3 01:20:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:16 + docker inspect -f . ci-base-image-arm64 01:20:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:16 prd-ubuntu20.04-docker-arm64-4c-16g-7844 does not seem to be running inside a container 01:20:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/81 -v /w/workspace/device-usb-camera/81:/w/workspace/device-usb-camera/81:rw,z -v /w/workspace/device-usb-camera/81@tmp:/w/workspace/device-usb-camera/81@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 01:20:17 $ docker top 7d304838f45878727af661d54c46adc86adbb376b25f66b20b521f18100ab051 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:18 + go version 01:20:18 go version go1.18.7 linux/arm64 [Pipeline] } 01:20:18 $ docker stop --time=1 7d304838f45878727af661d54c46adc86adbb376b25f66b20b521f18100ab051 01:20:22 $ docker rm -f --volumes 7d304838f45878727af661d54c46adc86adbb376b25f66b20b521f18100ab051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:23 + docker inspect -f . ci-base-image-arm64 01:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:23 prd-ubuntu20.04-docker-arm64-4c-16g-7844 does not seem to be running inside a container 01:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/81 -v /w/workspace/device-usb-camera/81:/w/workspace/device-usb-camera/81:rw,z -v /w/workspace/device-usb-camera/81@tmp:/w/workspace/device-usb-camera/81@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 01:20:24 $ docker top 545d2b1562ef808bdda090d783dad21d55530f3556080c48d2f398bd330c1f08 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:25 + git config --global --add safe.directory /w/workspace/device-usb-camera/81 [Pipeline] fileExists [Pipeline] sh 01:20:26 + make test 01:20:26 go test ./... -coverprofile=coverage.out ./... 01:20:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:22:20 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:22:28 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.9% of statements 01:22:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:22:28 go vet ./... 01:23:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:07 ./bin/test-attribution-txt.sh [Pipeline] echo 01:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:23:07 $ docker stop --time=1 545d2b1562ef808bdda090d783dad21d55530f3556080c48d2f398bd330c1f08 01:23:09 $ docker rm -f --volumes 545d2b1562ef808bdda090d783dad21d55530f3556080c48d2f398bd330c1f08 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:10 Warning: overwriting stash ‘coverage-report’ 01:23:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:12 + ls -al . 01:23:12 total 188 01:23:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 01:20 . 01:23:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:17 .. 01:23:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 01:17 .git 01:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:17 .github 01:23:12 -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 01:17 .gitignore 01:23:12 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 01:17 .golangci.yml 01:23:12 -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 01:17 .hadolint.yml 01:23:12 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 01:17 Attribution.txt 01:23:12 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 01:17 CHANGELOG.md 01:23:12 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 01:17 Dockerfile 01:23:12 -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 01:17 GOVERNANCE.md 01:23:12 -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 01:17 Jenkinsfile 01:23:12 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 01:17 LICENSE 01:23:12 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 01:17 Makefile 01:23:12 -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 01:17 OWNERS.md 01:23:12 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 01:17 README.md 01:23:12 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 01:14 VERSION 01:23:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 01:17 bin 01:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:17 cmd 01:23:12 -rw-r--r-- 1 jenkins jenkins 30666 Mar 1 01:22 coverage.out 01:23:12 -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 01:17 docker-entrypoint.sh 01:23:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:17 docs 01:23:12 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 01:17 go.mod 01:23:12 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 01:17 go.sum 01:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 01:17 internal 01:23:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 01:17 snap 01:23:12 -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:12 + 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=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 --label arch=arm64 --label version=3.0.0-dev.10 . 01:23:13 Sending build context to Docker daemon 1.161MB 01:23:13 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 01:23:13 Step 2/35 : FROM ${BASE} AS builder 01:23:13 ---> b081189d39e3 01:23:13 Step 3/35 : ARG ADD_BUILD_TAGS="" 01:23:14 ---> Running in 0bf829a0f6ac 01:23:14 Removing intermediate container 0bf829a0f6ac 01:23:14 ---> 56f2199cc9b2 01:23:14 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:23:14 ---> Running in 36c48039813f 01:23:14 Removing intermediate container 36c48039813f 01:23:14 ---> 0d192d6439fe 01:23:14 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:23:15 ---> Running in c4818527b0a0 01:23:15 Removing intermediate container c4818527b0a0 01:23:15 ---> f0db41829bab 01:23:15 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:23:15 ---> Running in 2530db466064 01:23:15 Removing intermediate container 2530db466064 01:23:15 ---> 7a16626d87c3 01:23:15 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:16 ---> Running in 10a362da02f1 01:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:23:19 OK: 228 MiB in 65 packages 01:23:20 Removing intermediate container 10a362da02f1 01:23:20 ---> 6e506aea7253 01:23:20 Step 8/35 : WORKDIR /device-usb-camera 01:23:20 ---> Running in 6c0bf6780126 01:23:20 Removing intermediate container 6c0bf6780126 01:23:20 ---> 0cb5eedd507e 01:23:20 Step 9/35 : COPY go.mod vendor* ./ 01:23:21 ---> 2a90e9f8fd06 01:23:21 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:21 ---> Running in 7741b99bdc52 01:23:26 Removing intermediate container 7741b99bdc52 01:23:26 ---> c84c17862dcd 01:23:26 Step 11/35 : COPY . . 01:23:26 ---> 8e60900de3d7 01:23:26 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:23:26 ---> Running in 2f535ec372f8 01:23:27  % Total % Received % Xferd Average Speed Time Time Time Current 01:23:27 Dload Upload Total Spent Left Speed 01:23:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6482 0 --:--:-- --:--:-- --:--:-- 6515 01:23:28 Removing intermediate container 2f535ec372f8 01:23:28 ---> a2ec607ed1d8 01:23:28 Step 13/35 : RUN ${MAKE} 01:23:28 ---> Running in c7d4c44e2cc7 01:23:29 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:26:21 Removing intermediate container c7d4c44e2cc7 01:26:21 ---> bff5e42c2bdc 01:26:21 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 01:26:21 v0.18.4: Pulling from aler9/rtsp-simple-server 01:26:21 eab2503cf8f4: Pulling fs layer 01:26:21 97cd0a44c592: Pulling fs layer 01:26:21 97cd0a44c592: Download complete 01:26:21 eab2503cf8f4: Verifying Checksum 01:26:21 eab2503cf8f4: Download complete 01:26:21 eab2503cf8f4: Pull complete 01:26:21 97cd0a44c592: Pull complete 01:26:21 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 01:26:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 01:26:21 ---> 7f763cca56b3 01:26:21 Step 15/35 : FROM alpine:3.16 01:26:21 3.16: Pulling from library/alpine 01:26:21 3760b48202b3: Pulling fs layer 01:26:21 3760b48202b3: Verifying Checksum 01:26:21 3760b48202b3: Download complete 01:26:21 3760b48202b3: Pull complete 01:26:21 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:26:21 Status: Downloaded newer image for alpine:3.16 01:26:21 ---> 4c81e5bf8899 01:26:21 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:26:21 ---> Running in 082a08422808 01:26:21 Removing intermediate container 082a08422808 01:26:21 ---> 92673d58d40c 01:26:21 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:26:21 ---> Running in ae20c8e381df 01:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:26:22 (1/79) Installing dumb-init (1.2.5-r1) 01:26:22 (2/79) Installing sdl2 (2.0.22-r0) 01:26:22 (3/79) Installing libxau (1.0.9-r0) 01:26:22 (4/79) Installing libxdmcp (1.1.3-r0) 01:26:22 (5/79) Installing libxcb (1.15-r0) 01:26:22 (6/79) Installing libx11 (1.8-r0) 01:26:22 (7/79) Installing aom-libs (3.3.0-r0) 01:26:23 (8/79) Installing alsa-lib (1.2.7.2-r0) 01:26:23 (9/79) Installing expat (2.5.0-r0) 01:26:23 (10/79) Installing brotli-libs (1.0.9-r6) 01:26:23 (11/79) Installing libbz2 (1.0.8-r1) 01:26:23 (12/79) Installing libpng (1.6.37-r1) 01:26:23 (13/79) Installing freetype (2.12.1-r0) 01:26:23 (14/79) Installing fontconfig (2.14.0-r0) 01:26:23 (15/79) Installing fribidi (1.0.12-r0) 01:26:23 (16/79) Installing libffi (3.4.2-r1) 01:26:23 (17/79) Installing libintl (0.21-r2) 01:26:23 (18/79) Installing libblkid (2.38-r1) 01:26:23 (19/79) Installing libmount (2.38-r1) 01:26:23 (20/79) Installing pcre (8.45-r2) 01:26:23 (21/79) Installing glib (2.72.1-r0) 01:26:23 (22/79) Installing graphite2 (1.3.14-r1) 01:26:23 (23/79) Installing harfbuzz (4.3.0-r0) 01:26:23 (24/79) Installing libass (0.16.0-r0) 01:26:23 (25/79) Installing libdav1d (1.0.0-r0) 01:26:23 (26/79) Installing libdrm (2.4.110-r0) 01:26:23 (27/79) Installing gmp (6.2.1-r2) 01:26:23 (28/79) Installing nettle (3.7.3-r0) 01:26:23 (29/79) Installing p11-kit (0.24.1-r0) 01:26:23 (30/79) Installing libtasn1 (4.18.0-r1) 01:26:23 (31/79) Installing libunistring (1.0-r0) 01:26:23 (32/79) Installing gnutls (3.7.7-r1) 01:26:23 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 01:26:23 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 01:26:24 (35/79) Installing lame (3.100-r0) 01:26:24 (36/79) Installing opus (1.3.1-r1) 01:26:24 (37/79) Installing libasyncns (0.8-r1) 01:26:24 (38/79) Installing dbus-libs (1.14.4-r0) 01:26:24 (39/79) Installing libltdl (2.4.7-r0) 01:26:24 (40/79) Installing orc (0.4.32-r0) 01:26:24 (41/79) Installing libgcc (11.2.1_git20220219-r2) 01:26:24 (42/79) Installing libogg (1.3.5-r1) 01:26:24 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 01:26:24 (44/79) Installing flac (1.3.4-r0) 01:26:24 (45/79) Installing libvorbis (1.3.7-r0) 01:26:24 (46/79) Installing libsndfile (1.1.0-r0) 01:26:24 (47/79) Installing libgomp (11.2.1_git20220219-r2) 01:26:24 (48/79) Installing soxr (0.1.3-r2) 01:26:24 (49/79) Installing speexdsp (1.2.0-r0) 01:26:24 (50/79) Installing tdb-libs (1.4.6-r0) 01:26:24 (51/79) Installing libpulse (15.0-r2) 01:26:24 (52/79) Installing cjson (1.7.15-r3) 01:26:24 (53/79) Installing mbedtls (2.28.2-r0) 01:26:24 (54/79) Installing librist (0.2.6-r1) 01:26:24 (55/79) Installing libsrt (1.4.4-r0) 01:26:24 (56/79) Installing libssh (0.9.6-r1) 01:26:24 (57/79) Installing libtheora (1.1.1-r16) 01:26:24 (58/79) Installing libjpeg-turbo (2.1.3-r1) 01:26:24 (59/79) Installing v4l-utils-libs (1.22.1-r1) 01:26:24 (60/79) Installing libxext (1.3.4-r0) 01:26:24 (61/79) Installing libxfixes (6.0.0-r0) 01:26:24 (62/79) Installing wayland-libs-client (1.20.0-r0) 01:26:24 (63/79) Installing libva (2.14.0-r0) 01:26:24 (64/79) Installing libvdpau (1.5-r0) 01:26:24 (65/79) Installing vidstab (1.1.0-r1) 01:26:24 (66/79) Installing libvpx (1.11.0-r1) 01:26:24 (67/79) Installing libwebp (1.2.3-r0) 01:26:24 (68/79) Installing x264-libs (0.163_git20210613-r0) 01:26:25 (69/79) Installing numactl (2.0.14-r0) 01:26:25 (70/79) Installing x265-libs (3.5-r3) 01:26:25 (71/79) Installing xvidcore (1.3.7-r1) 01:26:25 (72/79) Installing ffmpeg-libs (5.0.1-r1) 01:26:25 (73/79) Installing ffmpeg (5.0.1-r1) 01:26:25 (74/79) Installing udev-init-scripts (35-r0) 01:26:25 Executing udev-init-scripts-35-r0.post-install 01:26:25 (75/79) Installing eudev-libs (3.2.11-r0) 01:26:25 (76/79) Installing xz-libs (5.2.5-r1) 01:26:25 (77/79) Installing zstd-libs (1.5.2-r1) 01:26:25 (78/79) Installing kmod-libs (29-r2) 01:26:25 (79/79) Installing eudev (3.2.11-r0) 01:26:25 Executing busybox-1.35.0-r17.trigger 01:26:25 Executing eudev-3.2.11-r0.trigger 01:26:25 OK: 77 MiB in 93 packages 01:26:31 Removing intermediate container ae20c8e381df 01:26:31 ---> fd638b2eed8c 01:26:31 Step 18/35 : WORKDIR / 01:26:31 ---> Running in 31df3319895d 01:26:31 Removing intermediate container 31df3319895d 01:26:31 ---> 3a88f3857563 01:26:31 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 01:26:32 ---> 40255824b7db 01:26:32 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 01:26:33 ---> bd200c4620d2 01:26:33 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:26:33 ---> 67e4e64691ef 01:26:33 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:26:34 ---> d95bca8f9c3c 01:26:34 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:26:34 ---> c99933b859e8 01:26:34 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 01:26:35 ---> 9499be312026 01:26:35 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 01:26:36 ---> ed82ba790da5 01:26:36 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:26:36 ---> Running in b48ce67aebf0 01:26:38 Removing intermediate container b48ce67aebf0 01:26:38 ---> 0e3870418b2c 01:26:38 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:26:38 ---> Running in 61f58dd983ff 01:26:40 Removing intermediate container 61f58dd983ff 01:26:40 ---> 9aa1e5bed995 01:26:40 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:26:40 ---> Running in b96f4d47b99b 01:26:44 Removing intermediate container b96f4d47b99b 01:26:44 ---> efe44f1dff29 01:26:44 Step 29/35 : EXPOSE 59983 01:26:44 ---> Running in bb2125e3fd34 01:26:44 Removing intermediate container bb2125e3fd34 01:26:44 ---> 4faa9d3486f8 01:26:44 Step 30/35 : EXPOSE 8554 01:26:44 ---> Running in e3908e6c9390 01:26:44 Removing intermediate container e3908e6c9390 01:26:44 ---> c3a177a2031f 01:26:44 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:26:44 ---> Running in d4ecc4188488 01:26:44 Removing intermediate container d4ecc4188488 01:26:44 ---> a3bc3b7e4e02 01:26:44 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:26:44 ---> Running in efc6a6ead44f 01:26:45 Removing intermediate container efc6a6ead44f 01:26:45 ---> d5dca23ef73b 01:26:45 Step 33/35 : LABEL arch=arm64 01:26:45 ---> Running in a3b67d6352aa 01:26:45 Removing intermediate container a3b67d6352aa 01:26:45 ---> 121c35f9df61 01:26:45 Step 34/35 : LABEL git_sha=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:26:45 ---> Running in e0c44561e006 01:26:46 Removing intermediate container e0c44561e006 01:26:46 ---> 04a1ea3a6fd2 01:26:46 Step 35/35 : LABEL version=3.0.0-dev.10 01:26:46 ---> Running in 6a9ea19a9e79 01:26:46 Removing intermediate container 6a9ea19a9e79 01:26:46 ---> cc91f4908ff9 01:26:46 [Warning] One or more build-args [ARCH] were not consumed 01:26:46 Successfully built cc91f4908ff9 01:26:46 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 01:26:46 provisioning config files... 01:26:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/81@tmp/config10812928048852929390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:46 ---> docker-login.sh 01:26:46 nexus3.edgexfoundry.org:10001 01:26:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:46 Configure a credential helper to remove this warning. See 01:26:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:46 01:26:46 Login Succeeded 01:26:46 nexus3.edgexfoundry.org:10002 01:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:47 Configure a credential helper to remove this warning. See 01:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:47 01:26:47 Login Succeeded 01:26:47 nexus3.edgexfoundry.org:10003 01:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:47 Configure a credential helper to remove this warning. See 01:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:47 01:26:47 Login Succeeded 01:26:47 nexus3.edgexfoundry.org:10004 01:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:48 Configure a credential helper to remove this warning. See 01:26:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:48 01:26:48 Login Succeeded 01:26:48 docker.io 01:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:48 Configure a credential helper to remove this warning. See 01:26:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:48 01:26:48 Login Succeeded 01:26:48 ---> docker-login.sh ends [Pipeline] } 01:26:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:26:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:48 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 01:26:48 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:26:48 latest 01:26:48 3.0.0-dev.10 01:26:48 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:26:48 main 01:26:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:48 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:26:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 01:26:49 0539789475e1: Preparing 01:26:49 d0d6c56bd436: Preparing 01:26:49 f1ccef5bcaa2: Preparing 01:26:49 a43932d1df72: Preparing 01:26:49 1207169bf42c: Preparing 01:26:49 34a9261b6590: Preparing 01:26:49 beba0f754346: Preparing 01:26:49 83c542ec7ce4: Preparing 01:26:49 e6a8d198fd5a: Preparing 01:26:49 f768edfd0011: Preparing 01:26:49 792ce54dfaf9: Preparing 01:26:49 f70ee36035b9: Preparing 01:26:49 e6a8d198fd5a: Waiting 01:26:49 792ce54dfaf9: Waiting 01:26:49 f768edfd0011: Waiting 01:26:49 f70ee36035b9: Waiting 01:26:49 34a9261b6590: Waiting 01:26:49 83c542ec7ce4: Waiting 01:26:49 beba0f754346: Waiting 01:26:49 0539789475e1: Pushed 01:26:49 d0d6c56bd436: Pushed 01:26:49 f1ccef5bcaa2: Pushed 01:26:49 1207169bf42c: Pushed 01:26:49 34a9261b6590: Pushed 01:26:49 e6a8d198fd5a: Pushed 01:26:49 beba0f754346: Pushed 01:26:49 83c542ec7ce4: Pushed 01:26:49 f70ee36035b9: Layer already exists 01:26:54 a43932d1df72: Pushed 01:26:55 f768edfd0011: Pushed 01:27:05 792ce54dfaf9: Pushed 01:27:05 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193: digest: sha256:de2359b3f22e03e1f0d698a658cf61d1a04f125b7d84306413a014ae81e8b637 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:06 + 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 01:27:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 01:27:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 01:27:06 0539789475e1: Preparing 01:27:06 d0d6c56bd436: Preparing 01:27:06 f1ccef5bcaa2: Preparing 01:27:06 a43932d1df72: Preparing 01:27:06 1207169bf42c: Preparing 01:27:06 34a9261b6590: Preparing 01:27:06 beba0f754346: Preparing 01:27:06 83c542ec7ce4: Preparing 01:27:06 e6a8d198fd5a: Preparing 01:27:06 f768edfd0011: Preparing 01:27:06 792ce54dfaf9: Preparing 01:27:06 f70ee36035b9: Preparing 01:27:06 83c542ec7ce4: Waiting 01:27:06 792ce54dfaf9: Waiting 01:27:06 e6a8d198fd5a: Waiting 01:27:06 f768edfd0011: Waiting 01:27:06 f70ee36035b9: Waiting 01:27:06 34a9261b6590: Waiting 01:27:06 beba0f754346: Waiting 01:27:06 a43932d1df72: Layer already exists 01:27:06 0539789475e1: Layer already exists 01:27:06 d0d6c56bd436: Layer already exists 01:27:06 f1ccef5bcaa2: Layer already exists 01:27:06 1207169bf42c: Layer already exists 01:27:06 34a9261b6590: Layer already exists 01:27:06 83c542ec7ce4: Layer already exists 01:27:06 beba0f754346: Layer already exists 01:27:06 f768edfd0011: Layer already exists 01:27:06 e6a8d198fd5a: Layer already exists 01:27:06 792ce54dfaf9: Layer already exists 01:27:06 f70ee36035b9: Layer already exists 01:27:06 latest: digest: sha256:de2359b3f22e03e1f0d698a658cf61d1a04f125b7d84306413a014ae81e8b637 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:06 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.10 01:27:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 01:27:07 0539789475e1: Preparing 01:27:07 d0d6c56bd436: Preparing 01:27:07 f1ccef5bcaa2: Preparing 01:27:07 a43932d1df72: Preparing 01:27:07 1207169bf42c: Preparing 01:27:07 34a9261b6590: Preparing 01:27:07 beba0f754346: Preparing 01:27:07 83c542ec7ce4: Preparing 01:27:07 e6a8d198fd5a: Preparing 01:27:07 f768edfd0011: Preparing 01:27:07 792ce54dfaf9: Preparing 01:27:07 f70ee36035b9: Preparing 01:27:07 34a9261b6590: Waiting 01:27:07 beba0f754346: Waiting 01:27:07 e6a8d198fd5a: Waiting 01:27:07 83c542ec7ce4: Waiting 01:27:07 f768edfd0011: Waiting 01:27:07 792ce54dfaf9: Waiting 01:27:07 f70ee36035b9: Waiting 01:27:07 0539789475e1: Layer already exists 01:27:07 1207169bf42c: Layer already exists 01:27:07 f1ccef5bcaa2: Layer already exists 01:27:07 a43932d1df72: Layer already exists 01:27:07 d0d6c56bd436: Layer already exists 01:27:07 beba0f754346: Layer already exists 01:27:07 83c542ec7ce4: Layer already exists 01:27:07 34a9261b6590: Layer already exists 01:27:07 e6a8d198fd5a: Layer already exists 01:27:07 f768edfd0011: Layer already exists 01:27:07 792ce54dfaf9: Layer already exists 01:27:07 f70ee36035b9: Layer already exists 01:27:07 3.0.0-dev.10: digest: sha256:de2359b3f22e03e1f0d698a658cf61d1a04f125b7d84306413a014ae81e8b637 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:07 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:27:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 01:27:08 0539789475e1: Preparing 01:27:08 d0d6c56bd436: Preparing 01:27:08 f1ccef5bcaa2: Preparing 01:27:08 a43932d1df72: Preparing 01:27:08 1207169bf42c: Preparing 01:27:08 34a9261b6590: Preparing 01:27:08 beba0f754346: Preparing 01:27:08 83c542ec7ce4: Preparing 01:27:08 e6a8d198fd5a: Preparing 01:27:08 f768edfd0011: Preparing 01:27:08 792ce54dfaf9: Preparing 01:27:08 f70ee36035b9: Preparing 01:27:08 e6a8d198fd5a: Waiting 01:27:08 f768edfd0011: Waiting 01:27:08 34a9261b6590: Waiting 01:27:08 beba0f754346: Waiting 01:27:08 83c542ec7ce4: Waiting 01:27:08 792ce54dfaf9: Waiting 01:27:08 f70ee36035b9: Waiting 01:27:08 d0d6c56bd436: Layer already exists 01:27:08 0539789475e1: Layer already exists 01:27:08 1207169bf42c: Layer already exists 01:27:08 f1ccef5bcaa2: Layer already exists 01:27:08 a43932d1df72: Layer already exists 01:27:08 f768edfd0011: Layer already exists 01:27:08 e6a8d198fd5a: Layer already exists 01:27:08 83c542ec7ce4: Layer already exists 01:27:08 beba0f754346: Layer already exists 01:27:08 34a9261b6590: Layer already exists 01:27:08 f70ee36035b9: Layer already exists 01:27:08 792ce54dfaf9: Layer already exists 01:27:08 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10: digest: sha256:de2359b3f22e03e1f0d698a658cf61d1a04f125b7d84306413a014ae81e8b637 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:08 + 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 01:27:09 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 01:27:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 01:27:09 0539789475e1: Preparing 01:27:09 d0d6c56bd436: Preparing 01:27:09 f1ccef5bcaa2: Preparing 01:27:09 a43932d1df72: Preparing 01:27:09 1207169bf42c: Preparing 01:27:09 34a9261b6590: Preparing 01:27:09 beba0f754346: Preparing 01:27:09 83c542ec7ce4: Preparing 01:27:09 e6a8d198fd5a: Preparing 01:27:09 f768edfd0011: Preparing 01:27:09 792ce54dfaf9: Preparing 01:27:09 f70ee36035b9: Preparing 01:27:09 e6a8d198fd5a: Waiting 01:27:09 f768edfd0011: Waiting 01:27:09 34a9261b6590: Waiting 01:27:09 beba0f754346: Waiting 01:27:09 83c542ec7ce4: Waiting 01:27:09 792ce54dfaf9: Waiting 01:27:09 f70ee36035b9: Waiting 01:27:09 d0d6c56bd436: Layer already exists 01:27:09 1207169bf42c: Layer already exists 01:27:09 f1ccef5bcaa2: Layer already exists 01:27:09 a43932d1df72: Layer already exists 01:27:09 0539789475e1: Layer already exists 01:27:09 34a9261b6590: Layer already exists 01:27:09 83c542ec7ce4: Layer already exists 01:27:09 f768edfd0011: Layer already exists 01:27:09 beba0f754346: Layer already exists 01:27:09 e6a8d198fd5a: Layer already exists 01:27:09 f70ee36035b9: Layer already exists 01:27:09 792ce54dfaf9: Layer already exists 01:27:09 main: digest: sha256:de2359b3f22e03e1f0d698a658cf61d1a04f125b7d84306413a014ae81e8b637 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:09 ===================================================== [Pipeline] echo 01:27:09 taggedImages: 01:27:09 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 01:27:09 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 01:27:09 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.10 01:27:09 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:b0b6087e7918d076044f7f15f1dd2c4eaa3e5193-3.0.0-dev.10 01:27:09 - 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 01:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:09 01:27:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:10 arm64: Pulling from edgex-lftools-log-publisher 01:27:10 8998bd30e6a1: Pulling fs layer 01:27:10 04944245beec: Pulling fs layer 01:27:10 699f458cf7ca: Pulling fs layer 01:27:10 765212b225bb: Pulling fs layer 01:27:10 f23df028b6ca: Pulling fs layer 01:27:10 d65c8cfc05b1: Pulling fs layer 01:27:10 2437ff75d9bd: Pulling fs layer 01:27:10 f23df028b6ca: Waiting 01:27:10 d65c8cfc05b1: Waiting 01:27:10 2437ff75d9bd: Waiting 01:27:10 765212b225bb: Waiting 01:27:10 04944245beec: Verifying Checksum 01:27:10 04944245beec: Download complete 01:27:10 f23df028b6ca: Verifying Checksum 01:27:10 f23df028b6ca: Download complete 01:27:10 d65c8cfc05b1: Verifying Checksum 01:27:10 d65c8cfc05b1: Download complete 01:27:10 699f458cf7ca: Verifying Checksum 01:27:10 699f458cf7ca: Download complete 01:27:11 8998bd30e6a1: Verifying Checksum 01:27:11 8998bd30e6a1: Download complete 01:27:13 2437ff75d9bd: Verifying Checksum 01:27:13 2437ff75d9bd: Download complete 01:27:15 8998bd30e6a1: Pull complete 01:27:15 04944245beec: Pull complete 01:27:17 699f458cf7ca: Pull complete 01:27:17 765212b225bb: Pull complete 01:27:18 f23df028b6ca: Pull complete 01:27:18 d65c8cfc05b1: Pull complete 01:27:33 2437ff75d9bd: Pull complete 01:27:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:27:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:33 prd-ubuntu20.04-docker-arm64-4c-16g-7844 does not seem to be running inside a container 01:27:33 $ 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/81 -v /w/workspace/device-usb-camera/81:/w/workspace/device-usb-camera/81:rw,z -v /w/workspace/device-usb-camera/81@tmp:/w/workspace/device-usb-camera/81@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 01:27:36 $ docker top c9aad4e44284955e1eb82dd44fead0cc93e7ca220b75e069acd83e5c1a9bca53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:37 ---> job-cost.sh 01:27:37 lf-activate-venv: SKIPPING 01:27:37 INFO: No Stack... 01:27:37 INFO: Retrieving Pricing Info for: v3-standard-4 01:27:38 INFO: Archiving Costs [Pipeline] sh 01:27:39 + + cat /w/workspace/device-usb-camera/81/archives/cost.csv 01:27:39 cut -d, -f6 [Pipeline] lock 01:27:39 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] 01:27:39 Resource [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] did not exist. Created. 01:27:39 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:39 /w/workspace/device-usb-camera/81@tmp/durable-baaace6b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:27:40 + echo total: 0.10999999940395355 [Pipeline] stash 01:27:40 Warning: overwriting stash ‘stack-cost’ 01:27:40 Stashed 1 file(s) [Pipeline] } 01:27:40 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:40 $ docker stop --time=1 c9aad4e44284955e1eb82dd44fead0cc93e7ca220b75e069acd83e5c1a9bca53 01:27:42 $ docker rm -f --volumes c9aad4e44284955e1eb82dd44fead0cc93e7ca220b75e069acd83e5c1a9bca53 [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 01:27:42 provisioning config files... 01:27:42 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17743649122256621733tmp [Pipeline] { [Pipeline] sh 01:27:42 + set +x 01:27:42 + bash -s --+ 01:27:42 curl -s https://codecov.io/bash 01:27:42 01:27:42 _____ _ 01:27:42 / ____| | | 01:27:42 | | ___ __| | ___ ___ _____ __ 01:27:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:27:42 | |___| (_) | (_| | __/ (_| (_) \ V / 01:27:42 \_____\___/ \__,_|\___|\___\___/ \_/ 01:27:42 Bash-1.0.6 01:27:42 01:27:42 01:27:42 ==> git version 2.25.1 found 01:27:42 ==> 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 01:27:42 Release-Date: 2020-01-08 01:27:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:27:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:27:42 ==> Jenkins CI detected. 01:27:42 current dir:  /w/workspace/exfoundry_device-usb-camera_main 01:27:42 project root: . 01:27:42 --> token set from env 01:27:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:27:42 ==> Running gcov in . (disable via -X gcov) 01:27:42 ==> Python coveragepy not found 01:27:42 ==> Searching for coverage reports in: 01:27:42 + . 01:27:42 -> Found 1 reports 01:27:42 ==> Detecting git/mercurial file structure 01:27:42 ==> Reading reports 01:27:42 + ./coverage.out bytes=30666 01:27:42 ==> Appending adjustments 01:27:42 https://docs.codecov.io/docs/fixing-reports 01:27:43 + Found adjustments 01:27:43 ==> Gzipping contents 01:27:43 8.0K /tmp/codecov.MESnNZ.gz 01:27:43 ==> Uploading reports 01:27:43 url: https://codecov.io 01:27:43 query: branch=main&commit=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:27:43 -> Pinging Codecov 01:27:43 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=b0b6087e7918d076044f7f15f1dd2c4eaa3e5193&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:27:43 -> Uploading to 01:27:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/73D8F5FF140700D3E01443B452E23636/b0b6087e7918d076044f7f15f1dd2c4eaa3e5193/eb7832cb-b670-43a2-bed0-d1ce44766f3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T012743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ecc1eb00eb5cada77c8d54cc1d74c0a5eedd188381ff65b2ac31c93411332e4 01:27:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:27:43 Dload Upload Total Spent Left Speed 01:27:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4282 0 0 100 4282 0 15130 --:--:-- --:--:-- --:--:-- 15184 01:27:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] } 01:27:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:27:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:27:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:27:44 01:27:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:27:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:27:44 df9b9388f04a: Pulling fs layer 01:27:44 52dc419b0ee2: Pulling fs layer 01:27:44 25bc292e5bac: Pulling fs layer 01:27:44 114826534d7a: Pulling fs layer 01:27:44 4657fd5d0bcf: Pulling fs layer 01:27:44 6ad1cebc031e: Pulling fs layer 01:27:44 8a3aa393b2d8: Pulling fs layer 01:27:44 6ad1cebc031e: Waiting 01:27:44 4657fd5d0bcf: Waiting 01:27:44 114826534d7a: Waiting 01:27:44 25bc292e5bac: Verifying Checksum 01:27:44 25bc292e5bac: Download complete 01:27:44 52dc419b0ee2: Download complete 01:27:44 4657fd5d0bcf: Verifying Checksum 01:27:44 4657fd5d0bcf: Download complete 01:27:44 df9b9388f04a: Download complete 01:27:44 df9b9388f04a: Pull complete 01:27:44 6ad1cebc031e: Verifying Checksum 01:27:44 6ad1cebc031e: Download complete 01:27:44 52dc419b0ee2: Pull complete 01:27:44 25bc292e5bac: Pull complete 01:27:45 114826534d7a: Verifying Checksum 01:27:45 114826534d7a: Download complete 01:27:45 8a3aa393b2d8: Verifying Checksum 01:27:45 8a3aa393b2d8: Download complete 01:27:49 114826534d7a: Pull complete 01:27:49 4657fd5d0bcf: Pull complete 01:27:49 6ad1cebc031e: Pull complete 01:27:52 8a3aa393b2d8: Pull complete 01:27:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:27:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:52 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:27:58 $ docker top 7db9c4e5efd3676ad803450558eba9e019f0c2b31e83f67075429baa1838e37d -eo pid,comm [Pipeline] { [Pipeline] echo 01:27:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 01:27:58 + set -o pipefail 01:27:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 01:28:04 01:28:04 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 01:28:04 01:28:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/1d762d61-a478-436f-b893-478cac77f326 01:28:04 01:28:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:28:04 01:28:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:28:04 01:28:04 01:28:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:28:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:28:04 More details here: https://snyk.co/ue1NS [Pipeline] } 01:28:04 $ docker stop --time=1 7db9c4e5efd3676ad803450558eba9e019f0c2b31e83f67075429baa1838e37d 01:28:08 $ docker rm -f --volumes 7db9c4e5efd3676ad803450558eba9e019f0c2b31e83f67075429baa1838e37d [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 01:28:09 + git log --format=format:%s -1 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 [Pipeline] sh 01:28:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:09 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:28:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:10 $ docker top 2a32fcb0f9af524de5985476cee51b0a694344dd072d2997bea60a43dbca2505 -eo pid,comm 01:28:10 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). 01:28:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:10 [ssh-agent] Looking for ssh-agent implementation... 01:28:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:10 $ docker exec 2a32fcb0f9af524de5985476cee51b0a694344dd072d2997bea60a43dbca2505 ssh-agent 01:28:10 SSH_AUTH_SOCK=/tmp/ssh-ClwlVfKKNkZS/agent.32 01:28:10 SSH_AGENT_PID=38 01:28:10 Running ssh-add (command line suppressed) 01:28:10 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1190436627334877823.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1190436627334877823.key) 01:28:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:10 + git semver tag 01:28:11 2023-03-01 01:28:11,115 [run_tag] DEBUG tag force:False 01:28:11 2023-03-01 01:28:11,115 [check_head_tag] DEBUG check head tag 01:28:11 2023-03-01 01:28:11,116 [execute] INFO git cat-file --batch-check 01:28:11 2023-03-01 01:28:11,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 01:28:11 2023-03-01 01:28:11,120 [execute] INFO git cat-file --batch 01:28:11 2023-03-01 01:28:11,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 01:28:11 2023-03-01 01:28:11,136 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:11 2023-03-01 01:28:11,136 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 01:28:11 2023-03-01 01:28:11,136 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 01:28:11 2023-03-01 01:28:11,139 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:11 3.0.0-dev.10 [Pipeline] } 01:28:11 $ docker exec --env ******** --env ******** 2a32fcb0f9af524de5985476cee51b0a694344dd072d2997bea60a43dbca2505 ssh-agent -k 01:28:11 unset SSH_AUTH_SOCK; 01:28:11 unset SSH_AGENT_PID; 01:28:11 echo Agent pid 38 killed; 01:28:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:11 + git semver [Pipeline] } 01:28:11 $ docker stop --time=1 2a32fcb0f9af524de5985476cee51b0a694344dd072d2997bea60a43dbca2505 01:28:13 $ docker rm -f --volumes 2a32fcb0f9af524de5985476cee51b0a694344dd072d2997bea60a43dbca2505 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:13 01:28:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:13 0.23.1-centos7: Pulling from edgex-lftools 01:28:13 ab5ef0e58194: Pulling fs layer 01:28:13 9712f1f96733: Pulling fs layer 01:28:13 63f879dbbcfc: Pulling fs layer 01:28:13 0d9ebad4ef96: Pulling fs layer 01:28:13 e9a5061849ea: Pulling fs layer 01:28:13 d747dcd14b5f: Pulling fs layer 01:28:13 2de7ff778b66: Pulling fs layer 01:28:13 e9a5061849ea: Waiting 01:28:13 d747dcd14b5f: Waiting 01:28:13 2de7ff778b66: Waiting 01:28:13 0d9ebad4ef96: Waiting 01:28:13 9712f1f96733: Download complete 01:28:14 63f879dbbcfc: Verifying Checksum 01:28:14 63f879dbbcfc: Download complete 01:28:14 e9a5061849ea: Verifying Checksum 01:28:14 e9a5061849ea: Download complete 01:28:14 0d9ebad4ef96: Verifying Checksum 01:28:14 0d9ebad4ef96: Download complete 01:28:14 d747dcd14b5f: Download complete 01:28:14 ab5ef0e58194: Verifying Checksum 01:28:14 ab5ef0e58194: Download complete 01:28:14 2de7ff778b66: Verifying Checksum 01:28:14 2de7ff778b66: Download complete 01:28:17 ab5ef0e58194: Pull complete 01:28:17 9712f1f96733: Pull complete 01:28:18 63f879dbbcfc: Pull complete 01:28:21 0d9ebad4ef96: Pull complete 01:28:22 e9a5061849ea: Pull complete 01:28:22 d747dcd14b5f: Pull complete 01:28:22 2de7ff778b66: Pull complete 01:28:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:28:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:23 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:28:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:28:29 $ docker top a0149cafe3004f697177759c811fa28ac20faefa392c0f47e98849c4f8fc7f10 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:28:29 provisioning config files... 01:28:29 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17261788080719427775tmp 01:28:29 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2005308912599666956tmp 01:28:29 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8876089285886294579tmp [Pipeline] { [Pipeline] echo 01:28:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:28:30 ---> sigul-configuration.sh 01:28:30 gpg: directory `/root/.gnupg' created 01:28:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:28:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:28:30 gpg: keyring `/root/.gnupg/secring.gpg' created 01:28:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:28:30 gpg: CAST5 encrypted data 01:28:30 gpg: encrypted with 1 passphrase 01:28:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:28:30 + mkdir /home/jenkins 01:28:30 + mkdir /home/jenkins/sigul [Pipeline] sh 01:28:30 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 01:28:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:28:30 ---> sigul-install.sh 01:28:30 Sigul already installed; skipping installation. [Pipeline] sh 01:28:31 + git tag --list 01:28:31 v0.0.0 01:28:31 v0.0.1-dev.1 01:28:31 v0.0.1-dev.10 01:28:31 v0.0.1-dev.11 01:28:31 v0.0.1-dev.12 01:28:31 v0.0.1-dev.13 01:28:31 v0.0.1-dev.14 01:28:31 v0.0.1-dev.15 01:28:31 v0.0.1-dev.16 01:28:31 v0.0.1-dev.2 01:28:31 v0.0.1-dev.3 01:28:31 v0.0.1-dev.4 01:28:31 v0.0.1-dev.5 01:28:31 v0.0.1-dev.6 01:28:31 v0.0.1-dev.7 01:28:31 v0.0.1-dev.8 01:28:31 v0.0.1-dev.9 01:28:31 v2.2.0 01:28:31 v2.2.0-dev.17 01:28:31 v2.2.0-dev.18 01:28:31 v2.2.0-dev.19 01:28:31 v2.2.0-dev.20 01:28:31 v2.2.0-dev.21 01:28:31 v2.2.0-dev.22 01:28:31 v2.2.0-dev.23 01:28:31 v2.2.0-dev.24 01:28:31 v2.2.0-dev.25 01:28:31 v2.2.0-dev.26 01:28:31 v2.2.0-dev.27 01:28:31 v2.3.0 01:28:31 v2.3.0-dev.1 01:28:31 v2.3.0-dev.10 01:28:31 v2.3.0-dev.11 01:28:31 v2.3.0-dev.12 01:28:31 v2.3.0-dev.13 01:28:31 v2.3.0-dev.14 01:28:31 v2.3.0-dev.15 01:28:31 v2.3.0-dev.16 01:28:31 v2.3.0-dev.17 01:28:31 v2.3.0-dev.18 01:28:31 v2.3.0-dev.19 01:28:31 v2.3.0-dev.2 01:28:31 v2.3.0-dev.20 01:28:31 v2.3.0-dev.21 01:28:31 v2.3.0-dev.22 01:28:31 v2.3.0-dev.23 01:28:31 v2.3.0-dev.24 01:28:31 v2.3.0-dev.25 01:28:31 v2.3.0-dev.26 01:28:31 v2.3.0-dev.27 01:28:31 v2.3.0-dev.28 01:28:31 v2.3.0-dev.3 01:28:31 v2.3.0-dev.4 01:28:31 v2.3.0-dev.5 01:28:31 v2.3.0-dev.6 01:28:31 v2.3.0-dev.7 01:28:31 v2.3.0-dev.8 01:28:31 v2.3.0-dev.9 01:28:31 v3.0.0-dev.1 01:28:31 v3.0.0-dev.10 01:28:31 v3.0.0-dev.2 01:28:31 v3.0.0-dev.3 01:28:31 v3.0.0-dev.4 01:28:31 v3.0.0-dev.5 01:28:31 v3.0.0-dev.6 01:28:31 v3.0.0-dev.7 01:28:31 v3.0.0-dev.8 01:28:31 v3.0.0-dev.9 [Pipeline] sh 01:28:31 + lftools sign git-tag v3.0.0-dev.10 01:28:32 Signing Git tag with Sigul... 01:28:32 Signing v3.0.0-dev.10 [Pipeline] echo 01:28:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:28:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:28:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:28:32 $ docker stop --time=1 a0149cafe3004f697177759c811fa28ac20faefa392c0f47e98849c4f8fc7f10 01:28:33 $ docker rm -f --volumes a0149cafe3004f697177759c811fa28ac20faefa392c0f47e98849c4f8fc7f10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:28:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:34 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:35 $ docker top 768916b0ccd1189ff7a29344e4254b956d87078e4120f3acd5e35da188b72744 -eo pid,comm 01:28:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:28:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:35 [ssh-agent] Looking for ssh-agent implementation... 01:28:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:35 $ docker exec 768916b0ccd1189ff7a29344e4254b956d87078e4120f3acd5e35da188b72744 ssh-agent 01:28:35 SSH_AUTH_SOCK=/tmp/ssh-SIpTkh9Pe71w/agent.33 01:28:35 SSH_AGENT_PID=40 01:28:35 Running ssh-add (command line suppressed) 01:28:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4578655749091381681.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4578655749091381681.key) 01:28:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:35 + git semver bump pre 01:28:36 2023-03-01 01:28:36,066 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:36 2023-03-01 01:28:36,066 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 01:28:36 2023-03-01 01:28:36,067 [bump_version] DEBUG bumped version:3.0.0-dev.11 01:28:36 2023-03-01 01:28:36,067 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 01:28:36 2023-03-01 01:28:36,067 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:36 2023-03-01 01:28:36,067 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:36 2023-03-01 01:28:36,068 [execute] INFO git cat-file --batch-check 01:28:36 2023-03-01 01:28:36,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:28:36 2023-03-01 01:28:36,074 [execute] INFO git cat-file --batch 01:28:36 2023-03-01 01:28:36,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:28:36 2023-03-01 01:28:36,079 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:36 3.0.0-dev.11 [Pipeline] } 01:28:36 $ docker exec --env ******** --env ******** 768916b0ccd1189ff7a29344e4254b956d87078e4120f3acd5e35da188b72744 ssh-agent -k 01:28:36 unset SSH_AUTH_SOCK; 01:28:36 unset SSH_AGENT_PID; 01:28:36 echo Agent pid 40 killed; 01:28:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:36 + git semver [Pipeline] } 01:28:36 $ docker stop --time=1 768916b0ccd1189ff7a29344e4254b956d87078e4120f3acd5e35da188b72744 01:28:38 $ docker rm -f --volumes 768916b0ccd1189ff7a29344e4254b956d87078e4120f3acd5e35da188b72744 [Pipeline] // withDockerContainer [Pipeline] sh 01:28:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:38 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:28:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:39 $ docker top 059c78aef3358ad6c48ce142e4f71970aa2250eb291cd3433d05a5638b8105ed -eo pid,comm 01:28:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:28:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:39 [ssh-agent] Looking for ssh-agent implementation... 01:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:39 $ docker exec 059c78aef3358ad6c48ce142e4f71970aa2250eb291cd3433d05a5638b8105ed ssh-agent 01:28:39 SSH_AUTH_SOCK=/tmp/ssh-YpmtX7UaOkH3/agent.32 01:28:39 SSH_AGENT_PID=38 01:28:39 Running ssh-add (command line suppressed) 01:28:39 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_892282167227515422.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_892282167227515422.key) 01:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:39 + git semver push 01:28:40 2023-03-01 01:28:40,161 [run_push] DEBUG push 01:28:40 2023-03-01 01:28:40,162 [execute] INFO git cat-file --batch-check 01:28:40 2023-03-01 01:28:40,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:28:40 2023-03-01 01:28:40,166 [execute] INFO git rev-list 1b45d8adb999ff876e6bb79ba22d19ef93c508a2 -- 01:28:40 2023-03-01 01:28:40,166 [execute] DEBUG Popen(['git', 'rev-list', '1b45d8adb999ff876e6bb79ba22d19ef93c508a2', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:28:40 2023-03-01 01:28:40,173 [execute] INFO git fetch -v origin 01:28:40 2023-03-01 01:28:40,173 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 01:28:40 2023-03-01 01:28:40,745 [run_push] DEBUG no remote changes detected 01:28:40 2023-03-01 01:28:40,745 [execute] INFO git push origin semver 01:28:40 2023-03-01 01:28:40,746 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:28:41 2023-03-01 01:28:41,513 [run_push] DEBUG push all version tags 01:28:41 2023-03-01 01:28:41,513 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:28:41 2023-03-01 01:28:41,514 [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) 01:28:42 2023-03-01 01:28:42,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 01:28:42 3.0.0-dev.11 [Pipeline] } 01:28:42 $ docker exec --env ******** --env ******** 059c78aef3358ad6c48ce142e4f71970aa2250eb291cd3433d05a5638b8105ed ssh-agent -k 01:28:42 unset SSH_AUTH_SOCK; 01:28:42 unset SSH_AGENT_PID; 01:28:42 echo Agent pid 38 killed; 01:28:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:43 + git semver [Pipeline] } 01:28:43 $ docker stop --time=1 059c78aef3358ad6c48ce142e4f71970aa2250eb291cd3433d05a5638b8105ed 01:28:44 $ docker rm -f --volumes 059c78aef3358ad6c48ce142e4f71970aa2250eb291cd3433d05a5638b8105ed [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 01:28:45 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 01:28:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 01:28:45 total 16 01:28:45 drwxr-xr-x 3 root root 4096 Mar 1 01:17 . 01:28:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 01:28 .. 01:28:45 drwxr-xr-x 2 root root 4096 Mar 1 01:17 cost 01:28:45 -rw-r--r-- 1 root root 88 Mar 1 01:17 cost.csv 01:28:45 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 01:28:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 01:28:45 total 16 01:28:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 01:17 . 01:28:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 01:28 .. 01:28:45 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 01:17 cost 01:28:45 -rw-r--r-- 1 jenkins jenkins 88 Mar 1 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:28:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:28:46 ---> package-listing.sh 01:28:46 ++ tr '[:upper:]' '[:lower:]' 01:28:46 ++ facter osfamily 01:28:46 + OS_FAMILY=debian 01:28:46 + workspace=/w/workspace/exfoundry_device-usb-camera_main 01:28:46 + START_PACKAGES=/tmp/packages_start.txt 01:28:46 + END_PACKAGES=/tmp/packages_end.txt 01:28:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:28:46 + PACKAGES=/tmp/packages_start.txt 01:28:46 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 01:28:46 + PACKAGES=/tmp/packages_end.txt 01:28:46 + case "${OS_FAMILY}" in 01:28:46 + dpkg -l 01:28:46 + grep '^ii' 01:28:46 + '[' -f /tmp/packages_start.txt ']' 01:28:46 + '[' -f /tmp/packages_end.txt ']' 01:28:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:28:46 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 01:28:46 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 01:28:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 01:28:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:28:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:47 prd-ubuntu20.04-docker-8c-8g-7841 does not seem to be running inside a container 01:28:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:47 $ docker top 776354fddde94b248b1dd1b1e9a0278e638fd55f3bf5179897c28c51a3bdcab0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:47 + touch /tmp/pre-build-complete [Pipeline] sh 01:28:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:28:48 + ls /var/log/sa-host 01:28:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:48 provisioning config files... 01:28:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17639335039042587913tmp [Pipeline] { [Pipeline] echo 01:28:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:28:48 ---> create-netrc.sh [Pipeline] } 01:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> python-tools-install.sh [Pipeline] echo 01:28:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> sudo-logs.sh 01:28:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:28:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:28:49 ---> job-cost.sh 01:28:49 lf-activate-venv: SKIPPING 01:28:49 DEBUG: total: 0.2199999988079071 01:28:49 INFO: Retrieving Stack Cost... 01:28:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:50 INFO: Archiving Costs [Pipeline] echo 01:28:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:28:50 ---> logs-deploy.sh 01:28:50 lf-activate-venv: SKIPPING 01:28:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/81 01:28:50 INFO: archiving workspace using pattern(s): 01:28:51 Archives upload complete. 01:28:51 INFO: archiving logs to Nexus