Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b826590da898f2794a2a9ca8e49a79136e1d2a 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-ssh10399727203977040737.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-ssh8271077258274582996.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-ssh17423061928854196202.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-ssh3630483989699425704.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-ssh8570959224535041615.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8067 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 75b826590da898f2794a2a9ca8e49a79136e1d2a (main) Commit message: "Merge pull request #167 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.43" > 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 75b826590da898f2794a2a9ca8e49a79136e1d2a # timeout=10 > git rev-list --no-walk eb09eea23094f9dfe3d7b3f55c1f0828961a3a42 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:41:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:41:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:41:31 ========================================================= 07:41:31 EdgeX Global Pipelines Version Info 07:41:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:41:32 ------------------- 07:41:32 stable info: 07:41:32 ------------------- 07:41:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:41:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:41:32 Message: update stable to v1.0.244 07:41:32 ------------------- 07:41:32 experimental info: 07:41:32 ------------------- 07:41:32 Commited By: **** collab-it+edgex@linuxfoundation.org 07:41:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:41:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b8265 [Pipeline] echo 07:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:33 provisioning config files... 07:41:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11552368993766093535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:33 ---> docker-login.sh 07:41:33 nexus3.edgexfoundry.org:10001 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:35 Configure a credential helper to remove this warning. See 07:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:35 07:41:35 Login Succeeded 07:41:35 nexus3.edgexfoundry.org:10002 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:35 Configure a credential helper to remove this warning. See 07:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:35 07:41:35 Login Succeeded 07:41:35 nexus3.edgexfoundry.org:10003 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:35 Configure a credential helper to remove this warning. See 07:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:35 07:41:35 Login Succeeded 07:41:35 nexus3.edgexfoundry.org:10004 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:35 Configure a credential helper to remove this warning. See 07:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:35 07:41:35 Login Succeeded 07:41:35 docker.io 07:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:36 Configure a credential helper to remove this warning. See 07:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:36 07:41:36 Login Succeeded 07:41:36 ---> docker-login.sh ends [Pipeline] } 07:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:41:36 + git rev-list -1 --merges 75b826590da898f2794a2a9ca8e49a79136e1d2a~1..75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] echo 07:41:36 -----------> git rev-list -1 --merges 75b826590da898f2794a2a9ca8e49a79136e1d2a~1..75b826590da898f2794a2a9ca8e49a79136e1d2a 75b826590da898f2794a2a9ca8e49a79136e1d2a 07:41:36 75b826590da898f2794a2a9ca8e49a79136e1d2a [false] [Pipeline] sh 07:41:36 + git log --format=format:%s -1 75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] echo 07:41:36 ========================================================= 07:41:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:41:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:37 + git log --format=format:%s -1 75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] echo 07:41:37 [semverPrep] GIT_COMMIT: 75b826590da898f2794a2a9ca8e49a79136e1d2a, Commit Message: Merge pull request #167 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.43 [Pipeline] echo 07:41:37 [semverPrep] This is not a build commit. [Pipeline] sh 07:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:41:37 + grep -v github /etc/ssh/ssh_known_hosts 07:41:37 + [ -e /tmp/ssh_known_hosts ] 07:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:41:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:41:37 + sudo tee -a /etc/ssh/ssh_known_hosts 07:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:38 07:41:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:38 0.1.4: Pulling from edgex-devops/py-git-semver 07:41:38 b85a868b505f: Pulling fs layer 07:41:38 e2be974225ed: Pulling fs layer 07:41:38 339a4e72a1f5: Pulling fs layer 07:41:38 988bab9f4d93: Pulling fs layer 07:41:38 1469e6f7b9e6: Pulling fs layer 07:41:38 eaf3925da568: Pulling fs layer 07:41:38 988bab9f4d93: Waiting 07:41:38 1469e6f7b9e6: Waiting 07:41:38 bab4dde63d76: Pulling fs layer 07:41:38 bde34c3a00c8: Pulling fs layer 07:41:38 b352a97aabf1: Pulling fs layer 07:41:38 bde34c3a00c8: Waiting 07:41:38 bab4dde63d76: Waiting 07:41:38 eaf3925da568: Waiting 07:41:38 4872d77fe225: Pulling fs layer 07:41:38 5851b861e8e6: Pulling fs layer 07:41:38 b352a97aabf1: Waiting 07:41:38 4872d77fe225: Waiting 07:41:38 5851b861e8e6: Waiting 07:41:38 e2be974225ed: Download complete 07:41:38 988bab9f4d93: Verifying Checksum 07:41:38 988bab9f4d93: Download complete 07:41:38 1469e6f7b9e6: Download complete 07:41:38 339a4e72a1f5: Verifying Checksum 07:41:38 339a4e72a1f5: Download complete 07:41:38 eaf3925da568: Download complete 07:41:38 bde34c3a00c8: Download complete 07:41:38 b352a97aabf1: Download complete 07:41:38 4872d77fe225: Download complete 07:41:38 5851b861e8e6: Download complete 07:41:38 b85a868b505f: Verifying Checksum 07:41:38 b85a868b505f: Download complete 07:41:38 bab4dde63d76: Verifying Checksum 07:41:38 bab4dde63d76: Download complete 07:41:39 b85a868b505f: Pull complete 07:41:39 e2be974225ed: Pull complete 07:41:40 339a4e72a1f5: Pull complete 07:41:40 988bab9f4d93: Pull complete 07:41:40 1469e6f7b9e6: Pull complete 07:41:40 eaf3925da568: Pull complete 07:41:42 bab4dde63d76: Pull complete 07:41:42 bde34c3a00c8: Pull complete 07:41:43 b352a97aabf1: Pull complete 07:41:43 4872d77fe225: Pull complete 07:41:43 5851b861e8e6: Pull complete 07:41:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:41:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:43 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:41:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:41:51 $ docker top 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c -eo pid,comm 07:41: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). 07:41:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:41:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:51 [ssh-agent] Looking for ssh-agent implementation... 07:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:51 $ docker exec 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c ssh-agent 07:41:51 SSH_AUTH_SOCK=/tmp/ssh-vRKAXMXO1eO9/agent.15 07:41:51 SSH_AGENT_PID=21 07:41:51 Running ssh-add (command line suppressed) 07:41:51 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17930372307109273520.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17930372307109273520.key) 07:41:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:51 + git tag --points-at HEAD [Pipeline] } 07:41:51 $ docker exec --env ******** --env ******** 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c ssh-agent -k 07:41:52 unset SSH_AUTH_SOCK; 07:41:52 unset SSH_AGENT_PID; 07:41:52 echo Agent pid 21 killed; 07:41:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:41:52 [ssh-agent] Looking for ssh-agent implementation... 07:41:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:41:52 $ docker exec 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c ssh-agent 07:41:52 SSH_AUTH_SOCK=/tmp/ssh-IB6BtweBQQVV/agent.71 07:41:52 SSH_AGENT_PID=77 07:41:52 Running ssh-add (command line suppressed) 07:41:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9342617134900406222.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9342617134900406222.key) 07:41:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:41:52 + git semver init 07:41:53 2023-03-02 07:41:53,061 [run_init] DEBUG init version:0.0.0 force:False 07:41:53 2023-03-02 07:41:53,062 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 07:41:53 2023-03-02 07:41:53,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 07:41:53 2023-03-02 07:41:53,063 [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) 07:41:54 2023-03-02 07:41:53,934 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 07:41:54 2023-03-02 07:41:53,935 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 07:41:54 2023-03-02 07:41:53,935 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:41:54 2023-03-02 07:41:53,935 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:41:54 3.0.0-dev.12 [Pipeline] } 07:41:54 $ docker exec --env ******** --env ******** 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c ssh-agent -k 07:41:54 unset SSH_AUTH_SOCK; 07:41:54 unset SSH_AGENT_PID; 07:41:54 echo Agent pid 77 killed; 07:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:41:54 + git semver [Pipeline] } 07:41:55 $ docker stop --time=1 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c 07:41:56 $ docker rm -f --volumes 434e52c4350e0833de4a833f4042e1176216cf43e6499e39552a68da5eafd66c [Pipeline] // withDockerContainer [Pipeline] sh 07:41:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:41:56 Stashed 1 file(s) [Pipeline] echo 07:41:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 07:41:57 provisioning config files... 07:41:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1433107347262481560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:57 ---> docker-login.sh 07:41:57 nexus3.edgexfoundry.org:10001 07:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:57 Configure a credential helper to remove this warning. See 07:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:57 07:41:57 Login Succeeded 07:41:57 nexus3.edgexfoundry.org:10002 07:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:57 Configure a credential helper to remove this warning. See 07:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:57 07:41:57 Login Succeeded 07:41:57 nexus3.edgexfoundry.org:10003 07:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:57 Configure a credential helper to remove this warning. See 07:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:57 07:41:57 Login Succeeded 07:41:57 nexus3.edgexfoundry.org:10004 07:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:57 Configure a credential helper to remove this warning. See 07:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:57 07:41:57 Login Succeeded 07:41:57 docker.io 07:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:57 Configure a credential helper to remove this warning. See 07:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:57 07:41:57 Login Succeeded 07:41:57 ---> docker-login.sh ends [Pipeline] } 07:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:58 ========================================================= 07:41:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:41:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41: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 . 07:41:58 Sending build context to Docker daemon 1.77MB 07:41:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:41:58 Step 2/13 : FROM ${BASE} AS builder 07:41:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:41:58 213ec9aee27d: Pulling fs layer 07:41:58 4583459ba037: Pulling fs layer 07:41:58 93c1e223e6f2: Pulling fs layer 07:41:58 53926ce57604: Pulling fs layer 07:41:58 21b2b0c7a3f4: Pulling fs layer 07:41:58 22ff95d597cd: Pulling fs layer 07:41:58 12d6caf4c0d1: Pulling fs layer 07:41:58 96b7cbca73a9: Pulling fs layer 07:41:58 a7acece74701: Pulling fs layer 07:41:58 21b2b0c7a3f4: Waiting 07:41:58 22ff95d597cd: Waiting 07:41:58 12d6caf4c0d1: Waiting 07:41:58 96b7cbca73a9: Waiting 07:41:58 a7acece74701: Waiting 07:41:58 53926ce57604: Waiting 07:41:58 93c1e223e6f2: Verifying Checksum 07:41:58 93c1e223e6f2: Download complete 07:41:58 4583459ba037: Verifying Checksum 07:41:58 4583459ba037: Download complete 07:41:58 21b2b0c7a3f4: Verifying Checksum 07:41:58 21b2b0c7a3f4: Download complete 07:41:58 22ff95d597cd: Verifying Checksum 07:41:58 22ff95d597cd: Download complete 07:41:58 213ec9aee27d: Verifying Checksum 07:41:58 213ec9aee27d: Download complete 07:41:58 12d6caf4c0d1: Verifying Checksum 07:41:58 12d6caf4c0d1: Download complete 07:41:58 213ec9aee27d: Pull complete 07:41:59 4583459ba037: Pull complete 07:41:59 93c1e223e6f2: Pull complete 07:41:59 a7acece74701: Verifying Checksum 07:41:59 a7acece74701: Download complete 07:41:59 96b7cbca73a9: Verifying Checksum 07:41:59 96b7cbca73a9: Download complete 07:41:59 53926ce57604: Verifying Checksum 07:41:59 53926ce57604: Download complete 07:42:03 53926ce57604: Pull complete 07:42:03 21b2b0c7a3f4: Pull complete 07:42:03 22ff95d597cd: Pull complete 07:42:03 12d6caf4c0d1: Pull complete 07:42:05 96b7cbca73a9: Pull complete 07:42:06 a7acece74701: Pull complete 07:42:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:42:06 ---> db6d94c90886 07:42:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:42:11 ---> Running in dd428d6b24bc 07:42:11 Removing intermediate container dd428d6b24bc 07:42:11 ---> 22c6f6a18637 07:42:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:42:11 ---> Running in b2a60b798ec1 07:42:11 Removing intermediate container b2a60b798ec1 07:42:11 ---> 10956db86ba0 07:42:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 07:42:11 ---> Running in 23de22ca194d 07:42:11 Removing intermediate container 23de22ca194d 07:42:11 ---> b43daa973ae5 07:42:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:42:11 ---> Running in e35fdc40e227 07:42:11 Removing intermediate container e35fdc40e227 07:42:11 ---> a5f8eb49c95f 07:42:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:11 ---> Running in 36959b3832f5 07:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:42:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:42:12 Still waiting to schedule task 07:42:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:42:12 (1/80) Installing mesa (21.3.9-r0) 07:42:12 (2/80) Installing libxau (1.0.9-r0) 07:42:12 (3/80) Installing libxdmcp (1.1.3-r0) 07:42:12 (4/80) Installing libxcb (1.15-r0) 07:42:12 (5/80) Installing libx11 (1.8-r0) 07:42:12 (6/80) Installing libxext (1.3.4-r0) 07:42:12 (7/80) Installing libxfixes (6.0.0-r0) 07:42:12 (8/80) Installing libxxf86vm (1.1.4-r2) 07:42:12 (9/80) Installing libpciaccess (0.16-r0) 07:42:12 (10/80) Installing libdrm (2.4.110-r0) 07:42:12 (11/80) Installing mesa-glapi (21.3.9-r0) 07:42:12 (12/80) Installing libxshmfence (1.3-r1) 07:42:12 (13/80) Installing mesa-gl (21.3.9-r0) 07:42:12 (14/80) Installing icu-data-full (71.1-r2) 07:42:12 (15/80) Installing libice (1.0.10-r0) 07:42:12 (16/80) Installing libuuid (2.38-r1) 07:42:12 (17/80) Installing libsm (1.2.3-r0) 07:42:12 (18/80) Installing libxt (1.2.1-r0) 07:42:12 (19/80) Installing libxmu (1.1.3-r0) 07:42:12 (20/80) Installing xset (1.2.4-r0) 07:42:12 (21/80) Installing xprop (1.2.5-r0) 07:42:12 (22/80) Installing xdg-utils (1.1.3-r3) 07:42:12 (23/80) Installing dbus-libs (1.14.4-r0) 07:42:12 (24/80) Installing libffi (3.4.2-r1) 07:42:12 (25/80) Installing libintl (0.21-r2) 07:42:12 (26/80) Installing libblkid (2.38-r1) 07:42:12 (27/80) Installing libmount (2.38-r1) 07:42:12 (28/80) Installing pcre (8.45-r2) 07:42:12 (29/80) Installing glib (2.72.1-r0) 07:42:12 (30/80) Installing icu-libs (71.1-r2) 07:42:12 (31/80) Installing libpcre2-16 (10.40-r0) 07:42:12 (32/80) Installing zstd-libs (1.5.2-r1) 07:42:12 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 07:42:12 (34/80) Installing hicolor-icon-theme (0.17-r1) 07:42:12 (35/80) Installing wayland-libs-server (1.20.0-r0) 07:42:12 (36/80) Installing mesa-gbm (21.3.9-r0) 07:42:12 (37/80) Installing wayland-libs-client (1.20.0-r0) 07:42:12 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 07:42:12 (39/80) Installing libxcomposite (0.4.5-r0) 07:42:12 (40/80) Installing libbz2 (1.0.8-r1) 07:42:12 (41/80) Installing libpng (1.6.37-r1) 07:42:12 (42/80) Installing freetype (2.12.1-r0) 07:42:12 (43/80) Installing fontconfig (2.14.0-r0) 07:42:13 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 07:42:13 (45/80) Installing wayland-libs-egl (1.20.0-r0) 07:42:13 (46/80) Installing xkeyboard-config (2.35.1-r0) 07:42:13 (47/80) Installing xz-libs (5.2.5-r1) 07:42:13 (48/80) Installing libxml2 (2.9.14-r2) 07:42:13 (49/80) Installing libxkbcommon (1.4.1-r0) 07:42:13 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 07:42:13 (51/80) Installing mesa-egl (21.3.9-r0) 07:42:13 (52/80) Installing avahi-libs (0.8-r6) 07:42:13 (53/80) Installing nettle (3.7.3-r0) 07:42:13 (54/80) Installing p11-kit (0.24.1-r0) 07:42:13 (55/80) Installing libtasn1 (4.18.0-r1) 07:42:13 (56/80) Installing libunistring (1.0-r0) 07:42:13 (57/80) Installing gnutls (3.7.7-r1) 07:42:13 (58/80) Installing cups-libs (2.4.2-r0) 07:42:13 (59/80) Installing graphite2 (1.3.14-r1) 07:42:13 (60/80) Installing harfbuzz (4.3.0-r0) 07:42:13 (61/80) Installing libevdev (1.12.1-r0) 07:42:13 (62/80) Installing mtdev (1.1.6-r0) 07:42:13 (63/80) Installing eudev-libs (3.2.11-r0) 07:42:13 (64/80) Installing libinput-libs (1.20.1-r0) 07:42:13 (65/80) Installing libjpeg-turbo (2.1.3-r1) 07:42:13 (66/80) Installing xcb-util-wm (0.4.1-r1) 07:42:13 (67/80) Installing xcb-util (0.4.0-r3) 07:42:13 (68/80) Installing xcb-util-image (0.4.0-r1) 07:42:13 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 07:42:13 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 07:42:13 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 07:42:13 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 07:42:13 (73/80) Installing v4l-utils-libs (1.22.1-r1) 07:42:13 (74/80) Installing v4l-utils (1.22.1-r1) 07:42:13 (75/80) Installing udev-init-scripts (35-r0) 07:42:13 Executing udev-init-scripts-35-r0.post-install 07:42:13 (76/80) Installing kmod-libs (29-r2) 07:42:13 (77/80) Installing eudev (3.2.11-r0) 07:42:13 (78/80) Installing eudev-dev (3.2.11-r0) 07:42:13 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 07:42:13 (80/80) Installing v4l-utils-dev (1.22.1-r1) 07:42:13 Executing busybox-1.35.0-r17.trigger 07:42:13 Executing eudev-3.2.11-r0.trigger 07:42:13 OK: 331 MiB in 131 packages 07:42:17 Removing intermediate container 36959b3832f5 07:42:17 ---> 67346871c3b3 07:42:17 Step 8/13 : WORKDIR /device-usb-camera 07:42:17 ---> Running in bd5ad1a838a4 07:42:17 Removing intermediate container bd5ad1a838a4 07:42:17 ---> 58f592f128e4 07:42:17 Step 9/13 : COPY go.mod vendor* ./ 07:42:17 ---> d223fbf0fbcf 07:42:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:17 ---> Running in 97cc44da1fea 07:43:13 Removing intermediate container 97cc44da1fea 07:43:13 ---> d31af87e5753 07:43:13 Step 11/13 : COPY . . 07:43:13 ---> 48ff12836587 07:43:13 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 07:43:13 ---> Running in 9291b5e8aa20 07:43:13  % Total % Received % Xferd Average Speed Time Time Time Current 07:43:13 Dload Upload Total Spent Left Speed 07:43:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4178 0 --:--:-- --:--:-- --:--:-- 4164 100 1062 100 1062 0 0 4177 0 --:--:-- --:--:-- --:--:-- 4164 07:43:13 Removing intermediate container 9291b5e8aa20 07:43:13 ---> 8331db27898e 07:43:13 Step 13/13 : RUN ${MAKE} 07:43:13 ---> Running in 2906d288dc05 07:43:13 noop 07:43:13 Removing intermediate container 2906d288dc05 07:43:13 ---> 0cdc45964962 07:43:13 Successfully built 0cdc45964962 07:43:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:14 + docker inspect -f . ci-base-image-x86_64 07:43:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:14 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:43:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:43:14 $ docker top e604020563cc629dfba641a9e27440d524cdd492892a3c88743505e57f966899 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:14 + go version 07:43:14 go version go1.18.7 linux/amd64 [Pipeline] } 07:43:14 $ docker stop --time=1 e604020563cc629dfba641a9e27440d524cdd492892a3c88743505e57f966899 07:43:16 $ docker rm -f --volumes e604020563cc629dfba641a9e27440d524cdd492892a3c88743505e57f966899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:16 + docker inspect -f . ci-base-image-x86_64 07:43:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:16 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:43:17 $ docker top 9d0a40d32438dc8a1c13a964d68999eb1fb5b9d4f435abfaace4b6bcecdedadd -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:17 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 07:43:17 + make test 07:43:17 go test ./... -coverprofile=coverage.out ./... 07:43:18 ? github.com/edgexfoundry/device-usb-camera [no test files] 07:43:28 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 07:43:28 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements 07:43:34 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." 07:43:34 go vet ./... 07:43:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:43:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:43:37 ./bin/test-attribution-txt.sh [Pipeline] echo 07:43:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:43:37 $ docker stop --time=1 9d0a40d32438dc8a1c13a964d68999eb1fb5b9d4f435abfaace4b6bcecdedadd 07:43:39 $ docker rm -f --volumes 9d0a40d32438dc8a1c13a964d68999eb1fb5b9d4f435abfaace4b6bcecdedadd [Pipeline] // withDockerContainer [Pipeline] sh 07:43:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:43:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:43:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:43:40 + ls -al . 07:43:40 total 188 07:43:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 07:43 . 07:43:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:41 .. 07:43:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 07:43 .git 07:43:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:41 .github 07:43:40 -rw-rw-r-- 1 jenkins jenkins 414 Mar 2 07:41 .gitignore 07:43:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 07:41 .golangci.yml 07:43:40 -rw-rw-r-- 1 jenkins jenkins 77 Mar 2 07:41 .hadolint.yml 07:43:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 07:41 .semver 07:43:40 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 2 07:41 Attribution.txt 07:43:40 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 2 07:41 CHANGELOG.md 07:43:40 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 2 07:41 Dockerfile 07:43:40 -rw-rw-r-- 1 jenkins jenkins 678 Mar 2 07:41 GOVERNANCE.md 07:43:40 -rw-rw-r-- 1 jenkins jenkins 659 Mar 2 07:41 Jenkinsfile 07:43:40 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 2 07:41 LICENSE 07:43:40 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 2 07:41 Makefile 07:43:40 -rw-rw-r-- 1 jenkins jenkins 622 Mar 2 07:41 OWNERS.md 07:43:40 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 2 07:41 README.md 07:43:40 -rw-rw-r-- 1 jenkins jenkins 12 Mar 2 07:41 VERSION 07:43:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 07:41 bin 07:43:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:41 cmd 07:43:40 -rw-r--r-- 1 jenkins jenkins 28352 Mar 2 07:43 coverage.out 07:43:40 -rwxrwxr-x 1 jenkins jenkins 140 Mar 2 07:41 docker-entrypoint.sh 07:43:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:41 docs 07:43:40 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 2 07:41 go.mod 07:43:40 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 2 07:41 go.sum 07:43:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:41 internal 07:43:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:41 snap 07:43:40 -rw-rw-r-- 1 jenkins jenkins 231 Mar 2 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:41 + 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=75b826590da898f2794a2a9ca8e49a79136e1d2a --label arch=amd64 --label version=3.0.0-dev.12 . 07:43:41 Sending build context to Docker daemon 1.799MB 07:43:41 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 07:43:41 Step 2/35 : FROM ${BASE} AS builder 07:43:41 ---> 0cdc45964962 07:43:41 Step 3/35 : ARG ADD_BUILD_TAGS="" 07:43:41 ---> Running in 0a9a42d2b8fa 07:43:41 Removing intermediate container 0a9a42d2b8fa 07:43:41 ---> b07a5d8beed5 07:43:41 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:41 ---> Running in 25f443316be3 07:43:41 Removing intermediate container 25f443316be3 07:43:41 ---> 9d1d7a1b0363 07:43:41 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 07:43:41 ---> Running in d8d1853d2d0f 07:43:41 Removing intermediate container d8d1853d2d0f 07:43:41 ---> 27167c3bbd35 07:43:41 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:43:41 ---> Running in 4119ed3e4dd9 07:43:41 Removing intermediate container 4119ed3e4dd9 07:43:41 ---> d359849f2378 07:43:41 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:43:41 ---> Running in ed8228a25566 07:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:43:42 OK: 331 MiB in 131 packages 07:43:42 Removing intermediate container ed8228a25566 07:43:42 ---> b6d29494c85d 07:43:42 Step 8/35 : WORKDIR /device-usb-camera 07:43:42 ---> Running in e41f27b3bd24 07:43:42 Removing intermediate container e41f27b3bd24 07:43:42 ---> b4e216146240 07:43:42 Step 9/35 : COPY go.mod vendor* ./ 07:43:43 ---> ed874f1e6dc6 07:43:43 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:43 ---> Running in 90587f3d3e69 07:43:44 Removing intermediate container 90587f3d3e69 07:43:44 ---> f3afc38b9109 07:43:44 Step 11/35 : COPY . . 07:43:44 ---> b734ec811fa9 07:43:44 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 07:43:44 ---> Running in fc7d4347b15d 07:43:44  % Total % Received % Xferd Average Speed Time Time Time Current 07:43:44 Dload Upload Total Spent Left Speed 07:43:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8069 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 07:43:44 Running in /w/workspace/device-usb-camera/83 [Pipeline] { [Pipeline] checkout 07:43:44 Selected Git installation does not exist. Using Default 07:43:44 The recommended git tool is: NONE 07:43:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 46320 0 --:--:-- --:--:-- --:--:-- 48272 07:43:44 Removing intermediate container fc7d4347b15d 07:43:44 ---> f1918db7a89a 07:43:44 Step 13/35 : RUN ${MAKE} 07:43:44 ---> Running in 4e2d0a62f97e 07:43:45 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 07:43:49 using credential edgex-jenkins-ssh 07:43:49 Cloning the remote Git repository 07:43:49 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 07:43:49 > git init /w/workspace/device-usb-camera/83 # timeout=10 07:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 07:43:49 > git --version # timeout=10 07:43:49 > git --version # 'git version 2.25.1' 07:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 07:43:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:51 Avoid second fetch 07:43:51 Checking out Revision 75b826590da898f2794a2a9ca8e49a79136e1d2a (main) 07:43:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 07:43:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:43:51 > git config core.sparsecheckout # timeout=10 07:43:51 > git checkout -f 75b826590da898f2794a2a9ca8e49a79136e1d2a # timeout=10 07:43:52 Commit message: "Merge pull request #167 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.43" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:43:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:43:52 % Total % Received % Xferd Average Speed Time Time Time Current 07:43:52 Dload Upload Total Spent Left Speed 07:43:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 07:43:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:43:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:43:53 + sudo tee /etc/docker/daemon.new 07:43:53 { 07:43:53 "registry-mirrors": [ 07:43:53 "https://nexus3.edgexfoundry.org:10001" 07:43:53 ], 07:43:53 "bip": "10.250.0.254/24", 07:43:53 "hosts": [ 07:43:53 "tcp://0.0.0.0:5555", 07:43:53 "unix:///var/run/docker.sock" 07:43:53 ], 07:43:53 "mtu": 1458, 07:43:53 "selinux-enabled": true, 07:43:53 "seccomp-profile": "/etc/docker/seccomp.json" 07:43:53 } [Pipeline] sh 07:43:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:43:54 + sudo service docker restart 07:44:11 Removing intermediate container 4e2d0a62f97e 07:44:11 ---> 9e2a9cff691f 07:44:11 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 07:44:11 v0.18.4: Pulling from aler9/rtsp-simple-server 07:44:11 af6660deedbd: Pulling fs layer 07:44:11 97cd0a44c592: Pulling fs layer 07:44:11 97cd0a44c592: Download complete 07:44:11 af6660deedbd: Verifying Checksum 07:44:11 af6660deedbd: Download complete 07:44:11 af6660deedbd: Pull complete 07:44:11 97cd0a44c592: Pull complete 07:44:11 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 07:44:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 07:44:11 ---> fea57e182299 07:44:11 Step 15/35 : FROM alpine:3.16 07:44:11 3.16: Pulling from library/alpine 07:44:11 ef5531b6e74e: Pulling fs layer 07:44:11 ef5531b6e74e: Verifying Checksum 07:44:11 ef5531b6e74e: Download complete 07:44:11 ef5531b6e74e: Pull complete 07:44:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:44:11 Status: Downloaded newer image for alpine:3.16 07:44:11 ---> dfd21b5a31f5 07:44:11 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:44:11 ---> Running in 104b6d3e219a 07:44:11 Removing intermediate container 104b6d3e219a 07:44:11 ---> 0d7755672a68 07:44:11 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 07:44:11 ---> Running in f1978a1a56b9 07:44:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:44:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:44:11 (1/80) Installing dumb-init (1.2.5-r1) 07:44:11 (2/80) Installing sdl2 (2.0.22-r0) 07:44:11 (3/80) Installing libxau (1.0.9-r0) 07:44:11 (4/80) Installing libxdmcp (1.1.3-r0) 07:44:11 (5/80) Installing libxcb (1.15-r0) 07:44:11 (6/80) Installing libx11 (1.8-r0) 07:44:11 (7/80) Installing aom-libs (3.3.0-r0) 07:44:11 (8/80) Installing alsa-lib (1.2.7.2-r0) 07:44:11 (9/80) Installing expat (2.5.0-r0) 07:44:11 (10/80) Installing brotli-libs (1.0.9-r6) 07:44:11 (11/80) Installing libbz2 (1.0.8-r1) 07:44:11 (12/80) Installing libpng (1.6.37-r1) 07:44:11 (13/80) Installing freetype (2.12.1-r0) 07:44:11 (14/80) Installing fontconfig (2.14.0-r0) 07:44:11 (15/80) Installing fribidi (1.0.12-r0) 07:44:11 (16/80) Installing libffi (3.4.2-r1) 07:44:11 (17/80) Installing libintl (0.21-r2) 07:44:11 (18/80) Installing libblkid (2.38-r1) 07:44:11 (19/80) Installing libmount (2.38-r1) 07:44:11 (20/80) Installing pcre (8.45-r2) 07:44:11 (21/80) Installing glib (2.72.1-r0) 07:44:11 (22/80) Installing graphite2 (1.3.14-r1) 07:44:11 (23/80) Installing harfbuzz (4.3.0-r0) 07:44:11 (24/80) Installing libass (0.16.0-r0) 07:44:11 (25/80) Installing libdav1d (1.0.0-r0) 07:44:11 (26/80) Installing libpciaccess (0.16-r0) 07:44:11 (27/80) Installing libdrm (2.4.110-r0) 07:44:11 (28/80) Installing gmp (6.2.1-r2) 07:44:11 (29/80) Installing nettle (3.7.3-r0) 07:44:11 (30/80) Installing p11-kit (0.24.1-r0) 07:44:11 (31/80) Installing libtasn1 (4.18.0-r1) 07:44:11 (32/80) Installing libunistring (1.0-r0) 07:44:11 (33/80) Installing gnutls (3.7.7-r1) 07:44:11 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 07:44:11 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 07:44:11 (36/80) Installing lame (3.100-r0) 07:44:11 (37/80) Installing opus (1.3.1-r1) 07:44:11 (38/80) Installing libasyncns (0.8-r1) 07:44:11 (39/80) Installing dbus-libs (1.14.4-r0) 07:44:11 (40/80) Installing libltdl (2.4.7-r0) 07:44:11 (41/80) Installing orc (0.4.32-r0) 07:44:11 (42/80) Installing libgcc (11.2.1_git20220219-r2) 07:44:11 (43/80) Installing libogg (1.3.5-r1) 07:44:11 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 07:44:11 (45/80) Installing flac (1.3.4-r0) 07:44:11 (46/80) Installing libvorbis (1.3.7-r0) 07:44:11 (47/80) Installing libsndfile (1.1.0-r0) 07:44:11 (48/80) Installing libgomp (11.2.1_git20220219-r2) 07:44:11 (49/80) Installing soxr (0.1.3-r2) 07:44:11 (50/80) Installing speexdsp (1.2.0-r0) 07:44:11 (51/80) Installing tdb-libs (1.4.6-r0) 07:44:11 (52/80) Installing libpulse (15.0-r2) 07:44:11 (53/80) Installing cjson (1.7.15-r3) 07:44:11 (54/80) Installing mbedtls (2.28.2-r0) 07:44:11 (55/80) Installing librist (0.2.6-r1) 07:44:11 (56/80) Installing libsrt (1.4.4-r0) 07:44:11 (57/80) Installing libssh (0.9.6-r1) 07:44:11 (58/80) Installing libtheora (1.1.1-r16) 07:44:11 (59/80) Installing libjpeg-turbo (2.1.3-r1) 07:44:11 (60/80) Installing v4l-utils-libs (1.22.1-r1) 07:44:11 (61/80) Installing libxext (1.3.4-r0) 07:44:11 (62/80) Installing libxfixes (6.0.0-r0) 07:44:11 (63/80) Installing wayland-libs-client (1.20.0-r0) 07:44:11 (64/80) Installing libva (2.14.0-r0) 07:44:11 (65/80) Installing libvdpau (1.5-r0) 07:44:11 (66/80) Installing vidstab (1.1.0-r1) 07:44:11 (67/80) Installing libvpx (1.11.0-r1) 07:44:11 (68/80) Installing libwebp (1.2.3-r0) 07:44:11 (69/80) Installing x264-libs (0.163_git20210613-r0) 07:44:11 (70/80) Installing numactl (2.0.14-r0) 07:44:11 (71/80) Installing x265-libs (3.5-r3) 07:44:11 (72/80) Installing xvidcore (1.3.7-r1) 07:44:11 (73/80) Installing ffmpeg-libs (5.0.1-r1) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:44:12 provisioning config files... 07:44:12 (74/80) Installing ffmpeg (5.0.1-r1) 07:44:12 (75/80) Installing udev-init-scripts (35-r0) 07:44:12 Executing udev-init-scripts-35-r0.post-install 07:44:12 (76/80) Installing eudev-libs (3.2.11-r0) 07:44:12 (77/80) Installing xz-libs (5.2.5-r1) 07:44:12 (78/80) Installing zstd-libs (1.5.2-r1) 07:44:12 (79/80) Installing kmod-libs (29-r2) 07:44:12 (80/80) Installing eudev (3.2.11-r0) 07:44:12 Executing busybox-1.35.0-r17.trigger 07:44:12 Executing eudev-3.2.11-r0.trigger 07:44:12 OK: 100 MiB in 94 packages 07:44:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/83@tmp/config4909387962336927474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:13 ---> docker-login.sh 07:44:13 nexus3.edgexfoundry.org:10001 07:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:13 Configure a credential helper to remove this warning. See 07:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:13 07:44:13 Login Succeeded 07:44:13 nexus3.edgexfoundry.org:10002 07:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:14 Configure a credential helper to remove this warning. See 07:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:14 07:44:14 Login Succeeded 07:44:14 nexus3.edgexfoundry.org:10003 07:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:14 Configure a credential helper to remove this warning. See 07:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:14 07:44:14 Login Succeeded 07:44:14 nexus3.edgexfoundry.org:10004 07:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:14 Configure a credential helper to remove this warning. See 07:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:14 07:44:14 Login Succeeded 07:44:14 docker.io 07:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:15 Configure a credential helper to remove this warning. See 07:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:15 07:44:15 Login Succeeded 07:44:15 ---> docker-login.sh ends [Pipeline] } 07:44:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:44:15 ========================================================= 07:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:44:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:16 + 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 . 07:44:16 Sending build context to Docker daemon 1.132MB 07:44:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:44:16 Step 2/13 : FROM ${BASE} AS builder 07:44:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:44:16 9b18e9b68314: Pulling fs layer 07:44:16 35d82f9e3411: Pulling fs layer 07:44:16 e16973657156: Pulling fs layer 07:44:16 fc693d55d65f: Pulling fs layer 07:44:16 7e9fc2657dce: Pulling fs layer 07:44:16 dda99020689f: Pulling fs layer 07:44:16 db1c61fa0a46: Pulling fs layer 07:44:16 891c053d2c06: Pulling fs layer 07:44:16 fc693d55d65f: Waiting 07:44:16 7e9fc2657dce: Waiting 07:44:16 dda99020689f: Waiting 07:44:16 db1c61fa0a46: Waiting 07:44:16 e16973657156: Verifying Checksum 07:44:16 e16973657156: Download complete 07:44:16 35d82f9e3411: Download complete 07:44:16 7e9fc2657dce: Verifying Checksum 07:44:16 7e9fc2657dce: Download complete 07:44:16 dda99020689f: Verifying Checksum 07:44:16 dda99020689f: Download complete 07:44:16 9b18e9b68314: Verifying Checksum 07:44:17 Removing intermediate container f1978a1a56b9 07:44:17 ---> 0fb29ec18017 07:44:17 Step 18/35 : WORKDIR / 07:44:17 ---> Running in 58c162884f85 07:44:17 Removing intermediate container 58c162884f85 07:44:17 ---> 3ac2890ec207 07:44:17 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 07:44:17 9b18e9b68314: Pull complete 07:44:17 891c053d2c06: Verifying Checksum 07:44:17 891c053d2c06: Download complete 07:44:18 ---> c9206f8f8b5e 07:44:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 07:44:18 35d82f9e3411: Pull complete 07:44:18 ---> a7683f3a181d 07:44:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 07:44:18 ---> 9096368bc237 07:44:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 07:44:18 e16973657156: Pull complete 07:44:18 ---> 10ded6fd5688 07:44:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 07:44:18 ---> bd2458944cc6 07:44:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 07:44:18 ---> 3ec7b97eec62 07:44:18 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 07:44:19 db1c61fa0a46: Verifying Checksum 07:44:19 db1c61fa0a46: Download complete 07:44:19 ---> 082e0d205c7c 07:44:19 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 07:44:19 fc693d55d65f: Verifying Checksum 07:44:19 fc693d55d65f: Download complete 07:44:19 ---> Running in 70f82d9b7bce 07:44:20 Removing intermediate container 70f82d9b7bce 07:44:20 ---> e77977e1b078 07:44:20 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 07:44:20 ---> Running in 8fe6bf43af80 07:44:20 Removing intermediate container 8fe6bf43af80 07:44:20 ---> eb4b8af7fdad 07:44:20 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 07:44:20 ---> Running in 1a1c45293ba8 07:44:21 Removing intermediate container 1a1c45293ba8 07:44:21 ---> b45869376f0f 07:44:21 Step 29/35 : EXPOSE 59983 07:44:21 ---> Running in d2e85fce495c 07:44:21 Removing intermediate container d2e85fce495c 07:44:21 ---> 7faaf42c4360 07:44:21 Step 30/35 : EXPOSE 8554 07:44:21 ---> Running in c5d9c007baf7 07:44:21 Removing intermediate container c5d9c007baf7 07:44:21 ---> e737992faca8 07:44:21 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 07:44:21 ---> Running in e588c1ee4aa1 07:44:21 Removing intermediate container e588c1ee4aa1 07:44:21 ---> 008450d37972 07:44:21 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 07:44:21 ---> Running in 8babf3d84885 07:44:21 Removing intermediate container 8babf3d84885 07:44:21 ---> 307324bffd01 07:44:21 Step 33/35 : LABEL arch=amd64 07:44:21 ---> Running in 35ecce1db958 07:44:21 Removing intermediate container 35ecce1db958 07:44:21 ---> 0554bc427eab 07:44:21 Step 34/35 : LABEL git_sha=75b826590da898f2794a2a9ca8e49a79136e1d2a 07:44:21 ---> Running in 5bbb363a282f 07:44:21 Removing intermediate container 5bbb363a282f 07:44:21 ---> 5a9c58917701 07:44:21 Step 35/35 : LABEL version=3.0.0-dev.12 07:44:21 ---> Running in 2045bfc438ad 07:44:21 Removing intermediate container 2045bfc438ad 07:44:21 ---> 5860ba964bfd 07:44:21 [Warning] One or more build-args [ARCH] were not consumed 07:44:21 Successfully built 5860ba964bfd 07:44:21 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 07:44:22 provisioning config files... 07:44:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16566995312734033680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:22 ---> docker-login.sh 07:44:22 nexus3.edgexfoundry.org:10001 07:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:22 Configure a credential helper to remove this warning. See 07:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:22 07:44:22 Login Succeeded 07:44:22 nexus3.edgexfoundry.org:10002 07:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:22 Configure a credential helper to remove this warning. See 07:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:22 07:44:22 Login Succeeded 07:44:22 nexus3.edgexfoundry.org:10003 07:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:22 Configure a credential helper to remove this warning. See 07:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:22 07:44:22 Login Succeeded 07:44:22 nexus3.edgexfoundry.org:10004 07:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:22 Configure a credential helper to remove this warning. See 07:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:22 07:44:22 Login Succeeded 07:44:22 docker.io 07:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:44:22 Configure a credential helper to remove this warning. See 07:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:44:22 07:44:22 Login Succeeded 07:44:22 ---> docker-login.sh ends [Pipeline] } 07:44:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:44:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:44:22 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 07:44:22 75b826590da898f2794a2a9ca8e49a79136e1d2a 07:44:22 latest 07:44:22 3.0.0-dev.12 07:44:22 75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:44:22 main 07:44:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a 07:44:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 07:44:23 5e2b41eee0f0: Preparing 07:44:23 60326d59dd79: Preparing 07:44:23 f50eb4038668: Preparing 07:44:23 550e596c6d0e: Preparing 07:44:23 1207169bf42c: Preparing 07:44:23 f69b641c1f4c: Preparing 07:44:23 a342eb7a102b: Preparing 07:44:23 7c046b960f00: Preparing 07:44:23 b7d4784f5952: Preparing 07:44:23 22deeea1d9c9: Preparing 07:44:23 693403cd5c59: Preparing 07:44:23 aa5968d388b8: Preparing 07:44:23 f69b641c1f4c: Waiting 07:44:23 a342eb7a102b: Waiting 07:44:23 7c046b960f00: Waiting 07:44:23 b7d4784f5952: Waiting 07:44:23 aa5968d388b8: Waiting 07:44:23 693403cd5c59: Waiting 07:44:23 1207169bf42c: Pushed 07:44:23 5e2b41eee0f0: Pushed 07:44:23 f50eb4038668: Pushed 07:44:23 60326d59dd79: Pushed 07:44:23 f69b641c1f4c: Pushed 07:44:23 a342eb7a102b: Pushed 07:44:23 7c046b960f00: Pushed 07:44:23 b7d4784f5952: Pushed 07:44:23 aa5968d388b8: Layer already exists 07:44:25 550e596c6d0e: Pushed 07:44:25 22deeea1d9c9: Pushed 07:44:32 fc693d55d65f: Pull complete 07:44:32 7e9fc2657dce: Pull complete 07:44:32 dda99020689f: Pull complete 07:44:32 693403cd5c59: Pushed 07:44:32 75b826590da898f2794a2a9ca8e49a79136e1d2a: digest: sha256:5bc204056e6f1d513f571953719d86904e49f17afe7dcbf81365ac202ea622c6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:32 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 07:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 07:44:33 5e2b41eee0f0: Preparing 07:44:33 60326d59dd79: Preparing 07:44:33 f50eb4038668: Preparing 07:44:33 550e596c6d0e: Preparing 07:44:33 1207169bf42c: Preparing 07:44:33 f69b641c1f4c: Preparing 07:44:33 a342eb7a102b: Preparing 07:44:33 7c046b960f00: Preparing 07:44:33 b7d4784f5952: Preparing 07:44:33 22deeea1d9c9: Preparing 07:44:33 693403cd5c59: Preparing 07:44:33 aa5968d388b8: Preparing 07:44:33 f69b641c1f4c: Waiting 07:44:33 a342eb7a102b: Waiting 07:44:33 b7d4784f5952: Waiting 07:44:33 7c046b960f00: Waiting 07:44:33 22deeea1d9c9: Waiting 07:44:33 693403cd5c59: Waiting 07:44:33 aa5968d388b8: Waiting 07:44:33 5e2b41eee0f0: Layer already exists 07:44:33 1207169bf42c: Layer already exists 07:44:33 f50eb4038668: Layer already exists 07:44:33 550e596c6d0e: Layer already exists 07:44:33 60326d59dd79: Layer already exists 07:44:33 7c046b960f00: Layer already exists 07:44:33 a342eb7a102b: Layer already exists 07:44:33 f69b641c1f4c: Layer already exists 07:44:33 22deeea1d9c9: Layer already exists 07:44:33 b7d4784f5952: Layer already exists 07:44:33 693403cd5c59: Layer already exists 07:44:33 aa5968d388b8: Layer already exists 07:44:33 latest: digest: sha256:5bc204056e6f1d513f571953719d86904e49f17afe7dcbf81365ac202ea622c6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:33 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.12 07:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 07:44:33 5e2b41eee0f0: Preparing 07:44:33 60326d59dd79: Preparing 07:44:33 f50eb4038668: Preparing 07:44:33 550e596c6d0e: Preparing 07:44:33 1207169bf42c: Preparing 07:44:33 f69b641c1f4c: Preparing 07:44:33 a342eb7a102b: Preparing 07:44:33 7c046b960f00: Preparing 07:44:33 b7d4784f5952: Preparing 07:44:33 22deeea1d9c9: Preparing 07:44:33 693403cd5c59: Preparing 07:44:33 aa5968d388b8: Preparing 07:44:33 7c046b960f00: Waiting 07:44:33 22deeea1d9c9: Waiting 07:44:33 693403cd5c59: Waiting 07:44:33 f69b641c1f4c: Waiting 07:44:33 b7d4784f5952: Waiting 07:44:33 aa5968d388b8: Waiting 07:44:33 a342eb7a102b: Waiting 07:44:33 550e596c6d0e: Layer already exists 07:44:33 1207169bf42c: Layer already exists 07:44:33 f50eb4038668: Layer already exists 07:44:33 60326d59dd79: Layer already exists 07:44:33 5e2b41eee0f0: Layer already exists 07:44:33 a342eb7a102b: Layer already exists 07:44:33 b7d4784f5952: Layer already exists 07:44:33 f69b641c1f4c: Layer already exists 07:44:33 7c046b960f00: Layer already exists 07:44:33 22deeea1d9c9: Layer already exists 07:44:33 aa5968d388b8: Layer already exists 07:44:33 693403cd5c59: Layer already exists 07:44:33 3.0.0-dev.12: digest: sha256:5bc204056e6f1d513f571953719d86904e49f17afe7dcbf81365ac202ea622c6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:44:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 07:44:34 5e2b41eee0f0: Preparing 07:44:34 60326d59dd79: Preparing 07:44:34 f50eb4038668: Preparing 07:44:34 550e596c6d0e: Preparing 07:44:34 1207169bf42c: Preparing 07:44:34 f69b641c1f4c: Preparing 07:44:34 a342eb7a102b: Preparing 07:44:34 7c046b960f00: Preparing 07:44:34 b7d4784f5952: Preparing 07:44:34 22deeea1d9c9: Preparing 07:44:34 693403cd5c59: Preparing 07:44:34 aa5968d388b8: Preparing 07:44:34 22deeea1d9c9: Waiting 07:44:34 b7d4784f5952: Waiting 07:44:34 693403cd5c59: Waiting 07:44:34 f69b641c1f4c: Waiting 07:44:34 a342eb7a102b: Waiting 07:44:34 7c046b960f00: Waiting 07:44:34 5e2b41eee0f0: Layer already exists 07:44:34 550e596c6d0e: Layer already exists 07:44:34 1207169bf42c: Layer already exists 07:44:34 60326d59dd79: Layer already exists 07:44:34 f50eb4038668: Layer already exists 07:44:34 a342eb7a102b: Layer already exists 07:44:34 f69b641c1f4c: Layer already exists 07:44:34 22deeea1d9c9: Layer already exists 07:44:34 7c046b960f00: Layer already exists 07:44:34 b7d4784f5952: Layer already exists 07:44:34 693403cd5c59: Layer already exists 07:44:34 aa5968d388b8: Layer already exists 07:44:34 75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12: digest: sha256:5bc204056e6f1d513f571953719d86904e49f17afe7dcbf81365ac202ea622c6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 07:44:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 07:44:35 5e2b41eee0f0: Preparing 07:44:35 60326d59dd79: Preparing 07:44:35 f50eb4038668: Preparing 07:44:35 550e596c6d0e: Preparing 07:44:35 1207169bf42c: Preparing 07:44:35 f69b641c1f4c: Preparing 07:44:35 a342eb7a102b: Preparing 07:44:35 7c046b960f00: Preparing 07:44:35 b7d4784f5952: Preparing 07:44:35 22deeea1d9c9: Preparing 07:44:35 693403cd5c59: Preparing 07:44:35 aa5968d388b8: Preparing 07:44:35 22deeea1d9c9: Waiting 07:44:35 693403cd5c59: Waiting 07:44:35 aa5968d388b8: Waiting 07:44:35 a342eb7a102b: Waiting 07:44:35 7c046b960f00: Waiting 07:44:35 b7d4784f5952: Waiting 07:44:35 f69b641c1f4c: Waiting 07:44:35 550e596c6d0e: Layer already exists 07:44:35 1207169bf42c: Layer already exists 07:44:35 5e2b41eee0f0: Layer already exists 07:44:35 60326d59dd79: Layer already exists 07:44:35 f50eb4038668: Layer already exists 07:44:35 f69b641c1f4c: Layer already exists 07:44:35 a342eb7a102b: Layer already exists 07:44:35 7c046b960f00: Layer already exists 07:44:35 b7d4784f5952: Layer already exists 07:44:35 22deeea1d9c9: Layer already exists 07:44:35 693403cd5c59: Layer already exists 07:44:35 aa5968d388b8: Layer already exists 07:44:35 main: digest: sha256:5bc204056e6f1d513f571953719d86904e49f17afe7dcbf81365ac202ea622c6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:44:35 ===================================================== [Pipeline] echo 07:44:35 taggedImages: 07:44:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a 07:44:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 07:44:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.12 07:44:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:44:35 - 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 07:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:44:35 07:44:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:44:35 latest: Pulling from edgex-lftools-log-publisher 07:44:35 5eb5b503b376: Pulling fs layer 07:44:35 5c69ac0246d0: Pulling fs layer 07:44:35 ec43610c2a17: Pulling fs layer 07:44:35 3a2ae6a8a46f: Pulling fs layer 07:44:35 33b1e0a273af: Pulling fs layer 07:44:35 5d3b04190fa2: Pulling fs layer 07:44:35 2f39f015ded8: Pulling fs layer 07:44:35 3a2ae6a8a46f: Waiting 07:44:35 33b1e0a273af: Waiting 07:44:35 5d3b04190fa2: Waiting 07:44:35 2f39f015ded8: Waiting 07:44:36 5c69ac0246d0: Download complete 07:44:36 3a2ae6a8a46f: Verifying Checksum 07:44:36 3a2ae6a8a46f: Download complete 07:44:36 33b1e0a273af: Verifying Checksum 07:44:36 33b1e0a273af: Download complete 07:44:36 5d3b04190fa2: Verifying Checksum 07:44:36 5d3b04190fa2: Download complete 07:44:36 ec43610c2a17: Verifying Checksum 07:44:36 ec43610c2a17: Download complete 07:44:36 5eb5b503b376: Download complete 07:44:36 2f39f015ded8: Verifying Checksum 07:44:36 2f39f015ded8: Download complete 07:44:37 db1c61fa0a46: Pull complete 07:44:37 5eb5b503b376: Pull complete 07:44:37 5c69ac0246d0: Pull complete 07:44:37 ec43610c2a17: Pull complete 07:44:37 3a2ae6a8a46f: Pull complete 07:44:38 33b1e0a273af: Pull complete 07:44:38 5d3b04190fa2: Pull complete 07:44:40 891c053d2c06: Pull complete 07:44:40 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:44:40 ---> f96f9c87975a 07:44:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:44:41 ---> Running in 12b7dcf6fb49 07:44:41 Removing intermediate container 12b7dcf6fb49 07:44:41 ---> afb1123384b4 07:44:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:44:41 ---> Running in 50a4f49ddf3c 07:44:42 Removing intermediate container 50a4f49ddf3c 07:44:42 ---> d3f2f02dcc81 07:44:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 07:44:42 ---> Running in fe4dd827d7f4 07:44:42 Removing intermediate container fe4dd827d7f4 07:44:42 ---> 11733d3b8745 07:44:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:44:42 ---> Running in c4384c4a2d10 07:44:43 Removing intermediate container c4384c4a2d10 07:44:43 ---> c8b38d751e5f 07:44:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:43 ---> Running in efd339ffad11 07:44:43 2f39f015ded8: Pull complete 07:44:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:44:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:43 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:44:45 (1/14) Installing libintl (0.21-r2) 07:44:45 (2/14) Installing eudev-libs (3.2.11-r0) 07:44:45 (3/14) Installing libjpeg-turbo (2.1.3-r1) 07:44:45 (4/14) Installing v4l-utils-libs (1.22.1-r1) 07:44:45 (5/14) Installing v4l-utils (1.22.1-r1) 07:44:46 (6/14) Installing udev-init-scripts (35-r0) 07:44:46 Executing udev-init-scripts-35-r0.post-install 07:44:46 (7/14) Installing libblkid (2.38-r1) 07:44:46 (8/14) Installing xz-libs (5.2.5-r1) 07:44:46 (9/14) Installing zstd-libs (1.5.2-r1) 07:44:46 (10/14) Installing kmod-libs (29-r2) 07:44:46 (11/14) Installing eudev (3.2.11-r0) 07:44:46 (12/14) Installing eudev-dev (3.2.11-r0) 07:44:46 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 07:44:46 (14/14) Installing v4l-utils-dev (1.22.1-r1) 07:44:46 Executing busybox-1.35.0-r17.trigger 07:44:46 Executing eudev-3.2.11-r0.trigger 07:44:46 OK: 228 MiB in 65 packages 07:44:47 Removing intermediate container efd339ffad11 07:44:47 ---> 0c536d6a1e9c 07:44:47 Step 8/13 : WORKDIR /device-usb-camera 07:44:47 ---> Running in d94425675cf8 07:44:48 Removing intermediate container d94425675cf8 07:44:48 ---> 816b40df7caa 07:44:48 Step 9/13 : COPY go.mod vendor* ./ 07:44:48 ---> f60cb674444b 07:44:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:44:48 ---> Running in e04305a2003f 07:44:49 $ docker top 72c272bc020fff4782ecb9c1c887117b326071d0ff3af782227fdec07f238778 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:50 ---> job-cost.sh 07:44:50 lf-activate-venv: SKIPPING 07:44:50 INFO: No Stack... 07:44:50 INFO: Retrieving Pricing Info for: v3-standard-8 07:44:51 INFO: Archiving Costs [Pipeline] sh 07:44:51 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 07:44:51 + cut -d, -f6 [Pipeline] lock 07:44:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] 07:44:51 Resource [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] did not exist. Created. 07:44:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:44:51 + echo total: 0.2199999988079071 [Pipeline] stash 07:44:51 Stashed 1 file(s) [Pipeline] } 07:44:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 07:44:51 $ docker stop --time=1 72c272bc020fff4782ecb9c1c887117b326071d0ff3af782227fdec07f238778 07:44:52 $ docker rm -f --volumes 72c272bc020fff4782ecb9c1c887117b326071d0ff3af782227fdec07f238778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:45:56 Removing intermediate container e04305a2003f 07:45:56 ---> f68272f439c6 07:45:56 Step 11/13 : COPY . . 07:45:56 ---> 3f29b8edc589 07:45:56 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 07:45:56 ---> Running in 230399b74781 07:45:56  % Total % Received % Xferd Average Speed Time Time Time Current 07:45:56 Dload Upload Total Spent Left Speed 07:45:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5257 0 --:--:-- --:--:-- --:--:-- 5283 07:45:56 Removing intermediate container 230399b74781 07:45:56 ---> b045c5ef48a5 07:45:56 Step 13/13 : RUN ${MAKE} 07:45:56 ---> Running in 11a943b4a1ab 07:45:56 noop 07:45:56 Removing intermediate container 11a943b4a1ab 07:45:56 ---> 2d2feebae322 07:45:56 Successfully built 2d2feebae322 07:45:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:57 + docker inspect -f . ci-base-image-arm64 07:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container 07:45:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/83 -v /w/workspace/device-usb-camera/83:/w/workspace/device-usb-camera/83:rw,z -v /w/workspace/device-usb-camera/83@tmp:/w/workspace/device-usb-camera/83@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 07:45:58 $ docker top bca1d7eca110185ff4a396555ac7f01901a0680c281a0d594d83056c11f572f2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:59 + go version 07:45:59 go version go1.18.7 linux/arm64 [Pipeline] } 07:45:59 $ docker stop --time=1 bca1d7eca110185ff4a396555ac7f01901a0680c281a0d594d83056c11f572f2 07:46:04 $ docker rm -f --volumes bca1d7eca110185ff4a396555ac7f01901a0680c281a0d594d83056c11f572f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:04 + docker inspect -f . ci-base-image-arm64 07:46:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:04 prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container 07:46:04 $ 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/83 -v /w/workspace/device-usb-camera/83:/w/workspace/device-usb-camera/83:rw,z -v /w/workspace/device-usb-camera/83@tmp:/w/workspace/device-usb-camera/83@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 07:46:05 $ docker top 01f104baa4ddc35a54ce3662cbf841820712a32061ab3ea618fae4a1b88e20c2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:46:06 + git config --global --add safe.directory /w/workspace/device-usb-camera/83 [Pipeline] fileExists [Pipeline] sh 07:46:07 + make test 07:46:07 go test ./... -coverprofile=coverage.out ./... 07:46:08 ? github.com/edgexfoundry/device-usb-camera [no test files] 07:47:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 07:47:35 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.064s coverage: 2.0% of statements 07:47:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:47:35 go vet ./... 07:47:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:57 ./bin/test-attribution-txt.sh [Pipeline] echo 07:47:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:47:57 $ docker stop --time=1 01f104baa4ddc35a54ce3662cbf841820712a32061ab3ea618fae4a1b88e20c2 07:47:59 $ docker rm -f --volumes 01f104baa4ddc35a54ce3662cbf841820712a32061ab3ea618fae4a1b88e20c2 [Pipeline] // withDockerContainer [Pipeline] sh 07:48:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:48:00 Warning: overwriting stash ‘coverage-report’ 07:48:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:48:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:48:01 + ls -al . 07:48:01 total 184 07:48:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 07:46 . 07:48:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:43 .. 07:48:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 07:43 .git 07:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:43 .github 07:48:01 -rw-rw-r-- 1 jenkins jenkins 414 Mar 2 07:43 .gitignore 07:48:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 07:43 .golangci.yml 07:48:01 -rw-rw-r-- 1 jenkins jenkins 77 Mar 2 07:43 .hadolint.yml 07:48:01 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 2 07:43 Attribution.txt 07:48:01 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 2 07:43 CHANGELOG.md 07:48:01 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 2 07:43 Dockerfile 07:48:01 -rw-rw-r-- 1 jenkins jenkins 678 Mar 2 07:43 GOVERNANCE.md 07:48:01 -rw-rw-r-- 1 jenkins jenkins 659 Mar 2 07:43 Jenkinsfile 07:48:01 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 2 07:43 LICENSE 07:48:01 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 2 07:43 Makefile 07:48:01 -rw-rw-r-- 1 jenkins jenkins 622 Mar 2 07:43 OWNERS.md 07:48:01 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 2 07:43 README.md 07:48:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 2 07:41 VERSION 07:48:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 07:43 bin 07:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:43 cmd 07:48:01 -rw-r--r-- 1 jenkins jenkins 28352 Mar 2 07:47 coverage.out 07:48:01 -rwxrwxr-x 1 jenkins jenkins 140 Mar 2 07:43 docker-entrypoint.sh 07:48:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:43 docs 07:48:01 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 2 07:43 go.mod 07:48:01 -rw-rw-r-- 1 jenkins jenkins 31547 Mar 2 07:43 go.sum 07:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 07:43 internal 07:48:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 07:43 snap 07:48:01 -rw-rw-r-- 1 jenkins jenkins 231 Mar 2 07:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:01 + 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=75b826590da898f2794a2a9ca8e49a79136e1d2a --label arch=arm64 --label version=3.0.0-dev.12 . 07:48:02 Sending build context to Docker daemon 1.161MB 07:48:02 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 07:48:02 Step 2/35 : FROM ${BASE} AS builder 07:48:02 ---> 2d2feebae322 07:48:02 Step 3/35 : ARG ADD_BUILD_TAGS="" 07:48:02 ---> Running in f6da0aad3e6a 07:48:03 Removing intermediate container f6da0aad3e6a 07:48:03 ---> 8c1aa0385b73 07:48:03 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:03 ---> Running in 64234cf0c8f6 07:48:03 Removing intermediate container 64234cf0c8f6 07:48:03 ---> 2fd58fe7a6f6 07:48:03 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 07:48:03 ---> Running in 212817b368a7 07:48:04 Removing intermediate container 212817b368a7 07:48:04 ---> 14a882afde8c 07:48:04 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 07:48:04 ---> Running in dc18985f988d 07:48:04 Removing intermediate container dc18985f988d 07:48:04 ---> bd1f955bed73 07:48:04 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:04 ---> Running in cb30230d088d 07:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:48:06 OK: 228 MiB in 65 packages 07:48:07 Removing intermediate container cb30230d088d 07:48:07 ---> 51bfcf2986e9 07:48:07 Step 8/35 : WORKDIR /device-usb-camera 07:48:07 ---> Running in bb1eda5761e8 07:48:09 Removing intermediate container bb1eda5761e8 07:48:09 ---> 34df815e0870 07:48:09 Step 9/35 : COPY go.mod vendor* ./ 07:48:10 ---> 46af13027a8b 07:48:10 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:10 ---> Running in 934bffd392e9 07:48:13 Removing intermediate container 934bffd392e9 07:48:13 ---> 96539ca58a4d 07:48:13 Step 11/35 : COPY . . 07:48:13 ---> ae6ba9771bdf 07:48:13 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 07:48:13 ---> Running in dbfe24a21c06 07:48:15  % Total % Received % Xferd Average Speed Time Time Time Current 07:48:15 Dload Upload Total Spent Left Speed 07:48:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062 0 0 13521 0 --:--:-- --:--:-- --:--:-- 13792 07:48:16 Removing intermediate container dbfe24a21c06 07:48:16 ---> 07ddfd3b218a 07:48:16 Step 13/35 : RUN ${MAKE} 07:48:16 ---> Running in ee8552f5523d 07:48:17 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 07:50:54 Removing intermediate container ee8552f5523d 07:50:54 ---> 35efddb7fb3b 07:50:54 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 07:50:54 v0.18.4: Pulling from aler9/rtsp-simple-server 07:50:54 eab2503cf8f4: Pulling fs layer 07:50:54 97cd0a44c592: Pulling fs layer 07:50:54 97cd0a44c592: Verifying Checksum 07:50:54 97cd0a44c592: Download complete 07:50:54 eab2503cf8f4: Verifying Checksum 07:50:54 eab2503cf8f4: Download complete 07:50:54 eab2503cf8f4: Pull complete 07:50:54 97cd0a44c592: Pull complete 07:50:54 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 07:50:54 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 07:50:54 ---> 7f763cca56b3 07:50:54 Step 15/35 : FROM alpine:3.16 07:50:54 3.16: Pulling from library/alpine 07:50:54 3760b48202b3: Pulling fs layer 07:50:54 3760b48202b3: Download complete 07:50:54 3760b48202b3: Pull complete 07:50:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 07:50:54 Status: Downloaded newer image for alpine:3.16 07:50:54 ---> 4c81e5bf8899 07:50:54 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:50:54 ---> Running in c6b788f17d85 07:50:54 Removing intermediate container c6b788f17d85 07:50:54 ---> 68d6ce5899ca 07:50:54 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 07:50:54 ---> Running in e53f6df2b81b 07:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:50:54 (1/79) Installing dumb-init (1.2.5-r1) 07:50:54 (2/79) Installing sdl2 (2.0.22-r0) 07:50:54 (3/79) Installing libxau (1.0.9-r0) 07:50:54 (4/79) Installing libxdmcp (1.1.3-r0) 07:50:54 (5/79) Installing libxcb (1.15-r0) 07:50:54 (6/79) Installing libx11 (1.8-r0) 07:50:54 (7/79) Installing aom-libs (3.3.0-r0) 07:50:54 (8/79) Installing alsa-lib (1.2.7.2-r0) 07:50:54 (9/79) Installing expat (2.5.0-r0) 07:50:54 (10/79) Installing brotli-libs (1.0.9-r6) 07:50:54 (11/79) Installing libbz2 (1.0.8-r1) 07:50:54 (12/79) Installing libpng (1.6.37-r1) 07:50:54 (13/79) Installing freetype (2.12.1-r0) 07:50:54 (14/79) Installing fontconfig (2.14.0-r0) 07:50:54 (15/79) Installing fribidi (1.0.12-r0) 07:50:54 (16/79) Installing libffi (3.4.2-r1) 07:50:54 (17/79) Installing libintl (0.21-r2) 07:50:54 (18/79) Installing libblkid (2.38-r1) 07:50:54 (19/79) Installing libmount (2.38-r1) 07:50:54 (20/79) Installing pcre (8.45-r2) 07:50:54 (21/79) Installing glib (2.72.1-r0) 07:50:54 (22/79) Installing graphite2 (1.3.14-r1) 07:50:54 (23/79) Installing harfbuzz (4.3.0-r0) 07:50:54 (24/79) Installing libass (0.16.0-r0) 07:50:54 (25/79) Installing libdav1d (1.0.0-r0) 07:50:54 (26/79) Installing libdrm (2.4.110-r0) 07:50:54 (27/79) Installing gmp (6.2.1-r2) 07:50:54 (28/79) Installing nettle (3.7.3-r0) 07:50:54 (29/79) Installing p11-kit (0.24.1-r0) 07:50:54 (30/79) Installing libtasn1 (4.18.0-r1) 07:50:54 (31/79) Installing libunistring (1.0-r0) 07:50:54 (32/79) Installing gnutls (3.7.7-r1) 07:50:54 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 07:50:54 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 07:50:54 (35/79) Installing lame (3.100-r0) 07:50:54 (36/79) Installing opus (1.3.1-r1) 07:50:54 (37/79) Installing libasyncns (0.8-r1) 07:50:54 (38/79) Installing dbus-libs (1.14.4-r0) 07:50:54 (39/79) Installing libltdl (2.4.7-r0) 07:50:54 (40/79) Installing orc (0.4.32-r0) 07:50:54 (41/79) Installing libgcc (11.2.1_git20220219-r2) 07:50:54 (42/79) Installing libogg (1.3.5-r1) 07:50:54 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 07:50:54 (44/79) Installing flac (1.3.4-r0) 07:50:54 (45/79) Installing libvorbis (1.3.7-r0) 07:50:54 (46/79) Installing libsndfile (1.1.0-r0) 07:50:54 (47/79) Installing libgomp (11.2.1_git20220219-r2) 07:50:54 (48/79) Installing soxr (0.1.3-r2) 07:50:54 (49/79) Installing speexdsp (1.2.0-r0) 07:50:54 (50/79) Installing tdb-libs (1.4.6-r0) 07:50:54 (51/79) Installing libpulse (15.0-r2) 07:50:54 (52/79) Installing cjson (1.7.15-r3) 07:50:54 (53/79) Installing mbedtls (2.28.2-r0) 07:50:54 (54/79) Installing librist (0.2.6-r1) 07:50:54 (55/79) Installing libsrt (1.4.4-r0) 07:50:54 (56/79) Installing libssh (0.9.6-r1) 07:50:54 (57/79) Installing libtheora (1.1.1-r16) 07:50:54 (58/79) Installing libjpeg-turbo (2.1.3-r1) 07:50:54 (59/79) Installing v4l-utils-libs (1.22.1-r1) 07:50:54 (60/79) Installing libxext (1.3.4-r0) 07:50:54 (61/79) Installing libxfixes (6.0.0-r0) 07:50:54 (62/79) Installing wayland-libs-client (1.20.0-r0) 07:50:54 (63/79) Installing libva (2.14.0-r0) 07:50:54 (64/79) Installing libvdpau (1.5-r0) 07:50:54 (65/79) Installing vidstab (1.1.0-r1) 07:50:54 (66/79) Installing libvpx (1.11.0-r1) 07:50:54 (67/79) Installing libwebp (1.2.3-r0) 07:50:54 (68/79) Installing x264-libs (0.163_git20210613-r0) 07:50:54 (69/79) Installing numactl (2.0.14-r0) 07:50:54 (70/79) Installing x265-libs (3.5-r3) 07:50:54 (71/79) Installing xvidcore (1.3.7-r1) 07:50:54 (72/79) Installing ffmpeg-libs (5.0.1-r1) 07:50:54 (73/79) Installing ffmpeg (5.0.1-r1) 07:50:54 (74/79) Installing udev-init-scripts (35-r0) 07:50:54 Executing udev-init-scripts-35-r0.post-install 07:50:54 (75/79) Installing eudev-libs (3.2.11-r0) 07:50:54 (76/79) Installing xz-libs (5.2.5-r1) 07:50:54 (77/79) Installing zstd-libs (1.5.2-r1) 07:50:54 (78/79) Installing kmod-libs (29-r2) 07:50:54 (79/79) Installing eudev (3.2.11-r0) 07:50:54 Executing busybox-1.35.0-r17.trigger 07:50:54 Executing eudev-3.2.11-r0.trigger 07:50:54 OK: 77 MiB in 93 packages 07:50:56 Removing intermediate container e53f6df2b81b 07:50:56 ---> d1de1b5722e9 07:50:56 Step 18/35 : WORKDIR / 07:50:56 ---> Running in 8a047fe12a53 07:50:56 Removing intermediate container 8a047fe12a53 07:50:56 ---> b265885a67b7 07:50:56 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 07:50:57 ---> 88c55e9a556b 07:50:57 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 07:50:58 ---> 6ab0ddeaffcb 07:50:58 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 07:50:58 ---> b009aadab7e9 07:50:58 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 07:50:59 ---> 76743f1dc324 07:50:59 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 07:51:01 ---> 19ad93253175 07:51:01 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 07:51:01 ---> 1bc718ddea52 07:51:01 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 07:51:02 ---> 5711f082fe94 07:51:02 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 07:51:02 ---> Running in 9b7b115d0166 07:51:03 Removing intermediate container 9b7b115d0166 07:51:03 ---> 6de18e32df99 07:51:03 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 07:51:03 ---> Running in 8785f7b550aa 07:51:05 Removing intermediate container 8785f7b550aa 07:51:05 ---> 55a5a32eaa7a 07:51:05 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 07:51:05 ---> Running in 5103091382fc 07:51:06 Removing intermediate container 5103091382fc 07:51:06 ---> 5dae127e1de1 07:51:06 Step 29/35 : EXPOSE 59983 07:51:07 ---> Running in 57e8e9a26ff7 07:51:07 Removing intermediate container 57e8e9a26ff7 07:51:07 ---> 17d5afc3eb4e 07:51:07 Step 30/35 : EXPOSE 8554 07:51:07 ---> Running in 508c9d31653a 07:51:07 Removing intermediate container 508c9d31653a 07:51:07 ---> 72ebfced994a 07:51:07 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 07:51:07 ---> Running in 5c0069704704 07:51:07 Removing intermediate container 5c0069704704 07:51:07 ---> 8293f2a5232b 07:51:07 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 07:51:08 ---> Running in 91567a4ce71d 07:51:08 Removing intermediate container 91567a4ce71d 07:51:08 ---> 9ef7d3416f39 07:51:08 Step 33/35 : LABEL arch=arm64 07:51:08 ---> Running in c587db8db53d 07:51:08 Removing intermediate container c587db8db53d 07:51:08 ---> 660393d1560e 07:51:08 Step 34/35 : LABEL git_sha=75b826590da898f2794a2a9ca8e49a79136e1d2a 07:51:08 ---> Running in 7f01b2b1f0c2 07:51:08 Removing intermediate container 7f01b2b1f0c2 07:51:08 ---> 7bb28801cfec 07:51:08 Step 35/35 : LABEL version=3.0.0-dev.12 07:51:08 ---> Running in ee044d9f5f6d 07:51:09 Removing intermediate container ee044d9f5f6d 07:51:09 ---> 1898a7c86187 07:51:09 [Warning] One or more build-args [ARCH] were not consumed 07:51:09 Successfully built 1898a7c86187 07:51:09 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 07:51:09 provisioning config files... 07:51:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/83@tmp/config5123134164147212407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:09 ---> docker-login.sh 07:51:09 nexus3.edgexfoundry.org:10001 07:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:10 Configure a credential helper to remove this warning. See 07:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:10 07:51:10 Login Succeeded 07:51:10 nexus3.edgexfoundry.org:10002 07:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:10 Configure a credential helper to remove this warning. See 07:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:10 07:51:10 Login Succeeded 07:51:10 nexus3.edgexfoundry.org:10003 07:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:11 Configure a credential helper to remove this warning. See 07:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:11 07:51:11 Login Succeeded 07:51:11 nexus3.edgexfoundry.org:10004 07:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:11 Configure a credential helper to remove this warning. See 07:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:11 07:51:11 Login Succeeded 07:51:11 docker.io 07:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:11 Configure a credential helper to remove this warning. See 07:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:11 07:51:11 Login Succeeded 07:51:11 ---> docker-login.sh ends [Pipeline] } 07:51:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:51:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:51:11 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 07:51:11 75b826590da898f2794a2a9ca8e49a79136e1d2a 07:51:11 latest 07:51:11 3.0.0-dev.12 07:51:11 75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:51:11 main 07:51:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:12 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a 07:51:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 07:51:12 13f38cdc92fc: Preparing 07:51:12 faef92dfc583: Preparing 07:51:12 8e04375617a5: Preparing 07:51:12 a43932d1df72: Preparing 07:51:12 1207169bf42c: Preparing 07:51:12 e7d14cc52cda: Preparing 07:51:12 1aa216009967: Preparing 07:51:12 b5e2737de375: Preparing 07:51:12 e7d14cc52cda: Waiting 07:51:12 abe566c81257: Preparing 07:51:12 1aa216009967: Waiting 07:51:12 1b24319b45f4: Preparing 07:51:12 b5e2737de375: Waiting 07:51:12 25f97f7754a1: Preparing 07:51:12 abe566c81257: Waiting 07:51:12 f70ee36035b9: Preparing 07:51:12 1b24319b45f4: Waiting 07:51:12 25f97f7754a1: Waiting 07:51:12 f70ee36035b9: Waiting 07:51:12 1207169bf42c: Pushed 07:51:12 faef92dfc583: Pushed 07:51:12 8e04375617a5: Pushed 07:51:12 13f38cdc92fc: Pushed 07:51:12 e7d14cc52cda: Pushed 07:51:13 1aa216009967: Pushed 07:51:13 b5e2737de375: Pushed 07:51:13 abe566c81257: Pushed 07:51:13 f70ee36035b9: Layer already exists 07:51:17 a43932d1df72: Pushed 07:51:18 1b24319b45f4: Pushed 07:51:30 25f97f7754a1: Pushed 07:51:30 75b826590da898f2794a2a9ca8e49a79136e1d2a: digest: sha256:4ce65c80c68ffa774f456dbace5de73f544eed3876b2f4d1c41ff01d578d5d08 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:31 + 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 07:51:31 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 07:51:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 07:51:31 13f38cdc92fc: Preparing 07:51:31 faef92dfc583: Preparing 07:51:31 8e04375617a5: Preparing 07:51:31 a43932d1df72: Preparing 07:51:31 1207169bf42c: Preparing 07:51:31 e7d14cc52cda: Preparing 07:51:31 1aa216009967: Preparing 07:51:31 b5e2737de375: Preparing 07:51:31 abe566c81257: Preparing 07:51:31 1b24319b45f4: Preparing 07:51:31 25f97f7754a1: Preparing 07:51:31 f70ee36035b9: Preparing 07:51:31 abe566c81257: Waiting 07:51:31 1b24319b45f4: Waiting 07:51:31 e7d14cc52cda: Waiting 07:51:31 1aa216009967: Waiting 07:51:31 25f97f7754a1: Waiting 07:51:31 b5e2737de375: Waiting 07:51:31 13f38cdc92fc: Layer already exists 07:51:31 8e04375617a5: Layer already exists 07:51:31 1207169bf42c: Layer already exists 07:51:31 faef92dfc583: Layer already exists 07:51:31 a43932d1df72: Layer already exists 07:51:31 b5e2737de375: Layer already exists 07:51:31 1aa216009967: Layer already exists 07:51:31 e7d14cc52cda: Layer already exists 07:51:31 abe566c81257: Layer already exists 07:51:31 1b24319b45f4: Layer already exists 07:51:31 f70ee36035b9: Layer already exists 07:51:31 25f97f7754a1: Layer already exists 07:51:31 latest: digest: sha256:4ce65c80c68ffa774f456dbace5de73f544eed3876b2f4d1c41ff01d578d5d08 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:32 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.12 07:51:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 07:51:32 13f38cdc92fc: Preparing 07:51:32 faef92dfc583: Preparing 07:51:32 8e04375617a5: Preparing 07:51:32 a43932d1df72: Preparing 07:51:32 1207169bf42c: Preparing 07:51:32 e7d14cc52cda: Preparing 07:51:32 1aa216009967: Preparing 07:51:32 b5e2737de375: Preparing 07:51:32 abe566c81257: Preparing 07:51:32 1b24319b45f4: Preparing 07:51:32 25f97f7754a1: Preparing 07:51:32 f70ee36035b9: Preparing 07:51:32 e7d14cc52cda: Waiting 07:51:32 1b24319b45f4: Waiting 07:51:32 1aa216009967: Waiting 07:51:32 25f97f7754a1: Waiting 07:51:32 abe566c81257: Waiting 07:51:32 b5e2737de375: Waiting 07:51:32 a43932d1df72: Layer already exists 07:51:32 1207169bf42c: Layer already exists 07:51:32 13f38cdc92fc: Layer already exists 07:51:32 8e04375617a5: Layer already exists 07:51:32 faef92dfc583: Layer already exists 07:51:32 e7d14cc52cda: Layer already exists 07:51:32 b5e2737de375: Layer already exists 07:51:32 abe566c81257: Layer already exists 07:51:32 1aa216009967: Layer already exists 07:51:32 1b24319b45f4: Layer already exists 07:51:32 f70ee36035b9: Layer already exists 07:51:32 25f97f7754a1: Layer already exists 07:51:32 3.0.0-dev.12: digest: sha256:4ce65c80c68ffa774f456dbace5de73f544eed3876b2f4d1c41ff01d578d5d08 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:51:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 07:51:33 13f38cdc92fc: Preparing 07:51:33 faef92dfc583: Preparing 07:51:33 8e04375617a5: Preparing 07:51:33 a43932d1df72: Preparing 07:51:33 1207169bf42c: Preparing 07:51:33 e7d14cc52cda: Preparing 07:51:33 1aa216009967: Preparing 07:51:33 b5e2737de375: Preparing 07:51:33 abe566c81257: Preparing 07:51:33 1b24319b45f4: Preparing 07:51:33 25f97f7754a1: Preparing 07:51:33 f70ee36035b9: Preparing 07:51:33 e7d14cc52cda: Waiting 07:51:33 b5e2737de375: Waiting 07:51:33 abe566c81257: Waiting 07:51:33 1b24319b45f4: Waiting 07:51:33 25f97f7754a1: Waiting 07:51:33 f70ee36035b9: Waiting 07:51:33 1aa216009967: Waiting 07:51:33 8e04375617a5: Layer already exists 07:51:33 1207169bf42c: Layer already exists 07:51:33 faef92dfc583: Layer already exists 07:51:33 a43932d1df72: Layer already exists 07:51:33 13f38cdc92fc: Layer already exists 07:51:33 e7d14cc52cda: Layer already exists 07:51:33 b5e2737de375: Layer already exists 07:51:33 abe566c81257: Layer already exists 07:51:33 1aa216009967: Layer already exists 07:51:33 1b24319b45f4: Layer already exists 07:51:33 f70ee36035b9: Layer already exists 07:51:33 25f97f7754a1: Layer already exists 07:51:33 75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12: digest: sha256:4ce65c80c68ffa774f456dbace5de73f544eed3876b2f4d1c41ff01d578d5d08 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:33 + 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 07:51:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 07:51:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 07:51:34 13f38cdc92fc: Preparing 07:51:34 faef92dfc583: Preparing 07:51:34 8e04375617a5: Preparing 07:51:34 a43932d1df72: Preparing 07:51:34 1207169bf42c: Preparing 07:51:34 e7d14cc52cda: Preparing 07:51:34 1aa216009967: Preparing 07:51:34 b5e2737de375: Preparing 07:51:34 abe566c81257: Preparing 07:51:34 1b24319b45f4: Preparing 07:51:34 25f97f7754a1: Preparing 07:51:34 f70ee36035b9: Preparing 07:51:34 abe566c81257: Waiting 07:51:34 1b24319b45f4: Waiting 07:51:34 25f97f7754a1: Waiting 07:51:34 e7d14cc52cda: Waiting 07:51:34 1aa216009967: Waiting 07:51:34 f70ee36035b9: Waiting 07:51:34 b5e2737de375: Waiting 07:51:34 8e04375617a5: Layer already exists 07:51:34 a43932d1df72: Layer already exists 07:51:34 faef92dfc583: Layer already exists 07:51:34 13f38cdc92fc: Layer already exists 07:51:34 1207169bf42c: Layer already exists 07:51:34 b5e2737de375: Layer already exists 07:51:34 e7d14cc52cda: Layer already exists 07:51:34 abe566c81257: Layer already exists 07:51:34 1aa216009967: Layer already exists 07:51:34 1b24319b45f4: Layer already exists 07:51:34 f70ee36035b9: Layer already exists 07:51:34 25f97f7754a1: Layer already exists 07:51:34 main: digest: sha256:4ce65c80c68ffa774f456dbace5de73f544eed3876b2f4d1c41ff01d578d5d08 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:51:34 ===================================================== [Pipeline] echo 07:51:34 taggedImages: 07:51:34 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a 07:51:34 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 07:51:34 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.12 07:51:34 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:75b826590da898f2794a2a9ca8e49a79136e1d2a-3.0.0-dev.12 07:51:34 - 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 07:51:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:34 07:51:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:35 arm64: Pulling from edgex-lftools-log-publisher 07:51:35 8998bd30e6a1: Pulling fs layer 07:51:35 04944245beec: Pulling fs layer 07:51:35 699f458cf7ca: Pulling fs layer 07:51:35 765212b225bb: Pulling fs layer 07:51:35 f23df028b6ca: Pulling fs layer 07:51:35 d65c8cfc05b1: Pulling fs layer 07:51:35 2437ff75d9bd: Pulling fs layer 07:51:35 f23df028b6ca: Waiting 07:51:35 d65c8cfc05b1: Waiting 07:51:35 2437ff75d9bd: Waiting 07:51:35 765212b225bb: Waiting 07:51:35 04944245beec: Verifying Checksum 07:51:35 04944245beec: Download complete 07:51:35 765212b225bb: Download complete 07:51:35 f23df028b6ca: Download complete 07:51:35 d65c8cfc05b1: Verifying Checksum 07:51:35 d65c8cfc05b1: Download complete 07:51:35 699f458cf7ca: Download complete 07:51:36 8998bd30e6a1: Verifying Checksum 07:51:36 8998bd30e6a1: Download complete 07:51:38 2437ff75d9bd: Verifying Checksum 07:51:38 2437ff75d9bd: Download complete 07:51:40 8998bd30e6a1: Pull complete 07:51:40 04944245beec: Pull complete 07:51:42 699f458cf7ca: Pull complete 07:51:42 765212b225bb: Pull complete 07:51:43 f23df028b6ca: Pull complete 07:51:43 d65c8cfc05b1: Pull complete 07:51:58 2437ff75d9bd: Pull complete 07:51:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:58 prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container 07:51:58 $ 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/83 -v /w/workspace/device-usb-camera/83:/w/workspace/device-usb-camera/83:rw,z -v /w/workspace/device-usb-camera/83@tmp:/w/workspace/device-usb-camera/83@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 07:52:01 $ docker top a274d981b10ef4f0509eda8afb3f10b68654cfa123b5c846fbe5170a0b4088e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:01 ---> job-cost.sh 07:52:01 lf-activate-venv: SKIPPING 07:52:01 INFO: No Stack... 07:52:02 INFO: Retrieving Pricing Info for: v3-standard-4 07:52:03 INFO: Archiving Costs [Pipeline] sh 07:52:03 + cat /w/workspace/device-usb-camera/83/archives/cost.csv 07:52:03 + cut -d, -f6 [Pipeline] lock 07:52:03 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] 07:52:03 Resource [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] did not exist. Created. 07:52:03 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:03 /w/workspace/device-usb-camera/83@tmp/durable-2d51598e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:52:04 + echo total: 0.10999999940395355 [Pipeline] stash 07:52:04 Warning: overwriting stash ‘stack-cost’ 07:52:04 Stashed 1 file(s) [Pipeline] } 07:52:04 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:04 $ docker stop --time=1 a274d981b10ef4f0509eda8afb3f10b68654cfa123b5c846fbe5170a0b4088e1 07:52:05 $ docker rm -f --volumes a274d981b10ef4f0509eda8afb3f10b68654cfa123b5c846fbe5170a0b4088e1 [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 07:52:05 provisioning config files... 07:52:05 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9135470019465948132tmp [Pipeline] { [Pipeline] sh 07:52:06 + set +x 07:52:06 + curl -s https://codecov.io/bash 07:52:06 + bash -s -- 07:52:06 07:52:06 _____ _ 07:52:06 / ____| | | 07:52:06 | | ___ __| | ___ ___ _____ __ 07:52:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:52:06 | |___| (_) | (_| | __/ (_| (_) \ V / 07:52:06 \_____\___/ \__,_|\___|\___\___/ \_/ 07:52:06 Bash-1.0.6 07:52:06 07:52:06 07:52:06 ==> git version 2.25.1 found 07:52:06 ==> 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 07:52:06 Release-Date: 2020-01-08 07:52:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:52:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:52:06 ==> Jenkins CI detected. 07:52:06 current dir:  /w/workspace/exfoundry_device-usb-camera_main 07:52:06 project root: . 07:52:06 --> token set from env 07:52:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:52:06 ==> Running gcov in . (disable via -X gcov) 07:52:06 ==> Python coveragepy not found 07:52:06 ==> Searching for coverage reports in: 07:52:06 + . 07:52:06 -> Found 1 reports 07:52:06 ==> Detecting git/mercurial file structure 07:52:06 ==> Reading reports 07:52:06 + ./coverage.out bytes=28352 07:52:06 ==> Appending adjustments 07:52:06 https://docs.codecov.io/docs/fixing-reports 07:52:06 + Found adjustments 07:52:06 ==> Gzipping contents 07:52:06 4.0K /tmp/codecov.VcExOI.gz 07:52:06 ==> Uploading reports 07:52:06 url: https://codecov.io 07:52:06 query: branch=main&commit=75b826590da898f2794a2a9ca8e49a79136e1d2a&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:52:06 -> Pinging Codecov 07:52:06 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=75b826590da898f2794a2a9ca8e49a79136e1d2a&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:52:06 -> Uploading to 07:52:06 https://storage.googleapis.com/codecov/v4/raw/2023-03-02/73D8F5FF140700D3E01443B452E23636/75b826590da898f2794a2a9ca8e49a79136e1d2a/bf855a0b-5e73-4310-9214-154989081c36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230302T075206Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83028661e6295a61b93cfea891284ee32e45eae63bac10de3567fa1829182f38 07:52:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:52:06 Dload Upload Total Spent Left Speed 07:52:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3992 0 0 100 3992 0 14622 --:--:-- --:--:-- --:--:-- 14622 07:52:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] } 07:52:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:52:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:52:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:52:07 07:52:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:52:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:52:07 df9b9388f04a: Pulling fs layer 07:52:07 52dc419b0ee2: Pulling fs layer 07:52:07 25bc292e5bac: Pulling fs layer 07:52:07 114826534d7a: Pulling fs layer 07:52:07 4657fd5d0bcf: Pulling fs layer 07:52:07 6ad1cebc031e: Pulling fs layer 07:52:07 8a3aa393b2d8: Pulling fs layer 07:52:07 4657fd5d0bcf: Waiting 07:52:07 6ad1cebc031e: Waiting 07:52:07 8a3aa393b2d8: Waiting 07:52:07 114826534d7a: Waiting 07:52:07 25bc292e5bac: Verifying Checksum 07:52:07 25bc292e5bac: Download complete 07:52:07 52dc419b0ee2: Verifying Checksum 07:52:07 52dc419b0ee2: Download complete 07:52:07 4657fd5d0bcf: Download complete 07:52:07 df9b9388f04a: Verifying Checksum 07:52:07 df9b9388f04a: Download complete 07:52:08 df9b9388f04a: Pull complete 07:52:08 6ad1cebc031e: Verifying Checksum 07:52:08 6ad1cebc031e: Download complete 07:52:08 52dc419b0ee2: Pull complete 07:52:08 25bc292e5bac: Pull complete 07:52:08 114826534d7a: Verifying Checksum 07:52:08 114826534d7a: Download complete 07:52:08 8a3aa393b2d8: Verifying Checksum 07:52:08 8a3aa393b2d8: Download complete 07:52:12 114826534d7a: Pull complete 07:52:12 4657fd5d0bcf: Pull complete 07:52:12 6ad1cebc031e: Pull complete 07:52:16 8a3aa393b2d8: Pull complete 07:52:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:52:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:52:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:16 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:52:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:52:21 $ docker top b122ab96f1592d08e36afc6d224dee1964cd48b88a0b28673ebdab7124926b85 -eo pid,comm [Pipeline] { [Pipeline] echo 07:52:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 07:52:21 + set -o pipefail 07:52:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 07:52:26 07:52:26 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 07:52:26 07:52:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/04a5275e-0204-48d4-a5bb-3fa071c4417c 07:52:26 07:52:26 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:52:26 07:52:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:52:26 07:52:27 07:52:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:52:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:52:27 More details here: https://snyk.co/ue1NS [Pipeline] } 07:52:27 $ docker stop --time=1 b122ab96f1592d08e36afc6d224dee1964cd48b88a0b28673ebdab7124926b85 07:52:30 $ docker rm -f --volumes b122ab96f1592d08e36afc6d224dee1964cd48b88a0b28673ebdab7124926b85 [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 07:52:31 + git log --format=format:%s -1 75b826590da898f2794a2a9ca8e49a79136e1d2a [Pipeline] sh 07:52:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:52:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:32 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:52:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:32 $ docker top 20b342c922dbced3b30fc1450f4ec82c39834db77422c6e4583500c76d9e1e40 -eo pid,comm 07:52:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:52:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:32 [ssh-agent] Looking for ssh-agent implementation... 07:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:32 $ docker exec 20b342c922dbced3b30fc1450f4ec82c39834db77422c6e4583500c76d9e1e40 ssh-agent 07:52:32 SSH_AUTH_SOCK=/tmp/ssh-7Nn9oiQesU2E/agent.31 07:52:32 SSH_AGENT_PID=37 07:52:32 Running ssh-add (command line suppressed) 07:52:33 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6707567677509884111.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6707567677509884111.key) 07:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:33 + git semver tag 07:52:33 2023-03-02 07:52:33,531 [run_tag] DEBUG tag force:False 07:52:33 2023-03-02 07:52:33,531 [check_head_tag] DEBUG check head tag 07:52:33 2023-03-02 07:52:33,532 [execute] INFO git cat-file --batch-check 07:52:33 2023-03-02 07:52:33,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 07:52:33 2023-03-02 07:52:33,536 [execute] INFO git cat-file --batch 07:52:33 2023-03-02 07:52:33,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 07:52:33 2023-03-02 07:52:33,553 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:33 2023-03-02 07:52:33,553 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 07:52:33 2023-03-02 07:52:33,554 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 07:52:33 2023-03-02 07:52:33,558 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:33 3.0.0-dev.12 [Pipeline] } 07:52:33 $ docker exec --env ******** --env ******** 20b342c922dbced3b30fc1450f4ec82c39834db77422c6e4583500c76d9e1e40 ssh-agent -k 07:52:33 unset SSH_AUTH_SOCK; 07:52:33 unset SSH_AGENT_PID; 07:52:33 echo Agent pid 37 killed; 07:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:34 + git semver [Pipeline] } 07:52:34 $ docker stop --time=1 20b342c922dbced3b30fc1450f4ec82c39834db77422c6e4583500c76d9e1e40 07:52:35 $ docker rm -f --volumes 20b342c922dbced3b30fc1450f4ec82c39834db77422c6e4583500c76d9e1e40 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:52:35 07:52:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:52:36 0.23.1-centos7: Pulling from edgex-lftools 07:52:36 ab5ef0e58194: Pulling fs layer 07:52:36 9712f1f96733: Pulling fs layer 07:52:36 63f879dbbcfc: Pulling fs layer 07:52:36 0d9ebad4ef96: Pulling fs layer 07:52:36 e9a5061849ea: Pulling fs layer 07:52:36 d747dcd14b5f: Pulling fs layer 07:52:36 2de7ff778b66: Pulling fs layer 07:52:36 0d9ebad4ef96: Waiting 07:52:36 e9a5061849ea: Waiting 07:52:36 d747dcd14b5f: Waiting 07:52:36 2de7ff778b66: Waiting 07:52:36 9712f1f96733: Verifying Checksum 07:52:36 9712f1f96733: Download complete 07:52:37 63f879dbbcfc: Verifying Checksum 07:52:37 63f879dbbcfc: Download complete 07:52:37 ab5ef0e58194: Verifying Checksum 07:52:37 ab5ef0e58194: Download complete 07:52:37 e9a5061849ea: Verifying Checksum 07:52:37 e9a5061849ea: Download complete 07:52:37 d747dcd14b5f: Verifying Checksum 07:52:37 d747dcd14b5f: Download complete 07:52:37 0d9ebad4ef96: Verifying Checksum 07:52:37 0d9ebad4ef96: Download complete 07:52:37 2de7ff778b66: Verifying Checksum 07:52:37 2de7ff778b66: Download complete 07:52:39 ab5ef0e58194: Pull complete 07:52:39 9712f1f96733: Pull complete 07:52:40 63f879dbbcfc: Pull complete 07:52:43 0d9ebad4ef96: Pull complete 07:52:43 e9a5061849ea: Pull complete 07:52:44 d747dcd14b5f: Pull complete 07:52:45 2de7ff778b66: Pull complete 07:52:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:52:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:52:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:45 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:52:49 $ docker top bb481a3174742dd81ee60beaf72152ae7c733ef5b2e1a9bff352c8073feadc76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:52:49 provisioning config files... 07:52:49 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14887845608140955410tmp 07:52:49 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9719203142981219436tmp 07:52:49 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8880616770539632071tmp [Pipeline] { [Pipeline] echo 07:52:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:52:49 ---> sigul-configuration.sh 07:52:49 gpg: directory `/root/.gnupg' created 07:52:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:52:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:52:49 gpg: keyring `/root/.gnupg/secring.gpg' created 07:52:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:52:49 gpg: CAST5 encrypted data 07:52:49 gpg: encrypted with 1 passphrase 07:52:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:52:49 + mkdir /home/jenkins 07:52:49 + mkdir /home/jenkins/sigul [Pipeline] sh 07:52:50 + 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 07:52:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:52:50 ---> sigul-install.sh 07:52:50 Sigul already installed; skipping installation. [Pipeline] sh 07:52:50 + git tag --list 07:52:50 v0.0.0 07:52:50 v0.0.1-dev.1 07:52:50 v0.0.1-dev.10 07:52:50 v0.0.1-dev.11 07:52:50 v0.0.1-dev.12 07:52:50 v0.0.1-dev.13 07:52:50 v0.0.1-dev.14 07:52:50 v0.0.1-dev.15 07:52:50 v0.0.1-dev.16 07:52:50 v0.0.1-dev.2 07:52:50 v0.0.1-dev.3 07:52:50 v0.0.1-dev.4 07:52:50 v0.0.1-dev.5 07:52:50 v0.0.1-dev.6 07:52:50 v0.0.1-dev.7 07:52:50 v0.0.1-dev.8 07:52:50 v0.0.1-dev.9 07:52:50 v2.2.0 07:52:50 v2.2.0-dev.17 07:52:50 v2.2.0-dev.18 07:52:50 v2.2.0-dev.19 07:52:50 v2.2.0-dev.20 07:52:50 v2.2.0-dev.21 07:52:50 v2.2.0-dev.22 07:52:50 v2.2.0-dev.23 07:52:50 v2.2.0-dev.24 07:52:50 v2.2.0-dev.25 07:52:50 v2.2.0-dev.26 07:52:50 v2.2.0-dev.27 07:52:50 v2.3.0 07:52:50 v2.3.0-dev.1 07:52:50 v2.3.0-dev.10 07:52:50 v2.3.0-dev.11 07:52:50 v2.3.0-dev.12 07:52:50 v2.3.0-dev.13 07:52:50 v2.3.0-dev.14 07:52:50 v2.3.0-dev.15 07:52:50 v2.3.0-dev.16 07:52:50 v2.3.0-dev.17 07:52:50 v2.3.0-dev.18 07:52:50 v2.3.0-dev.19 07:52:50 v2.3.0-dev.2 07:52:50 v2.3.0-dev.20 07:52:50 v2.3.0-dev.21 07:52:50 v2.3.0-dev.22 07:52:50 v2.3.0-dev.23 07:52:50 v2.3.0-dev.24 07:52:50 v2.3.0-dev.25 07:52:50 v2.3.0-dev.26 07:52:50 v2.3.0-dev.27 07:52:50 v2.3.0-dev.28 07:52:50 v2.3.0-dev.3 07:52:50 v2.3.0-dev.4 07:52:50 v2.3.0-dev.5 07:52:50 v2.3.0-dev.6 07:52:50 v2.3.0-dev.7 07:52:50 v2.3.0-dev.8 07:52:50 v2.3.0-dev.9 07:52:50 v3.0.0-dev.1 07:52:50 v3.0.0-dev.10 07:52:50 v3.0.0-dev.11 07:52:50 v3.0.0-dev.12 07:52:50 v3.0.0-dev.2 07:52:50 v3.0.0-dev.3 07:52:50 v3.0.0-dev.4 07:52:50 v3.0.0-dev.5 07:52:50 v3.0.0-dev.6 07:52:50 v3.0.0-dev.7 07:52:50 v3.0.0-dev.8 07:52:50 v3.0.0-dev.9 [Pipeline] sh 07:52:51 + lftools sign git-tag v3.0.0-dev.12 07:52:51 Signing Git tag with Sigul... 07:52:51 Signing v3.0.0-dev.12 [Pipeline] echo 07:52:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:52:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:52:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:52:52 $ docker stop --time=1 bb481a3174742dd81ee60beaf72152ae7c733ef5b2e1a9bff352c8073feadc76 07:52:53 $ docker rm -f --volumes bb481a3174742dd81ee60beaf72152ae7c733ef5b2e1a9bff352c8073feadc76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:52:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:52:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:54 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:52:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:54 $ docker top aaf5f399e0247bc899f4dd24af3830ec2af1e7bd31645a988b2e4ff79bac43bf -eo pid,comm 07:52:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:52:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:54 [ssh-agent] Looking for ssh-agent implementation... 07:52:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:54 $ docker exec aaf5f399e0247bc899f4dd24af3830ec2af1e7bd31645a988b2e4ff79bac43bf ssh-agent 07:52:54 SSH_AUTH_SOCK=/tmp/ssh-XU5jjmzRJlz8/agent.32 07:52:54 SSH_AGENT_PID=38 07:52:54 Running ssh-add (command line suppressed) 07:52:55 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14272965366443755204.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14272965366443755204.key) 07:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:55 + git semver bump pre 07:52:55 2023-03-02 07:52:55,505 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:55 2023-03-02 07:52:55,505 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev 07:52:55 2023-03-02 07:52:55,505 [bump_version] DEBUG bumped version:3.0.0-dev.13 07:52:55 2023-03-02 07:52:55,505 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 07:52:55 2023-03-02 07:52:55,505 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:55 2023-03-02 07:52:55,505 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:55 2023-03-02 07:52:55,507 [execute] INFO git cat-file --batch-check 07:52:55 2023-03-02 07:52:55,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:52:55 2023-03-02 07:52:55,510 [execute] INFO git cat-file --batch 07:52:55 2023-03-02 07:52:55,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:52:55 2023-03-02 07:52:55,514 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:52:55 3.0.0-dev.13 [Pipeline] } 07:52:55 $ docker exec --env ******** --env ******** aaf5f399e0247bc899f4dd24af3830ec2af1e7bd31645a988b2e4ff79bac43bf ssh-agent -k 07:52:55 unset SSH_AUTH_SOCK; 07:52:55 unset SSH_AGENT_PID; 07:52:55 echo Agent pid 38 killed; 07:52:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:52:56 + git semver [Pipeline] } 07:52:56 $ docker stop --time=1 aaf5f399e0247bc899f4dd24af3830ec2af1e7bd31645a988b2e4ff79bac43bf 07:52:57 $ docker rm -f --volumes aaf5f399e0247bc899f4dd24af3830ec2af1e7bd31645a988b2e4ff79bac43bf [Pipeline] // withDockerContainer [Pipeline] sh 07:52:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:52:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:58 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:52:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:52:58 $ docker top 76943439e179b7f690e5c701f331d526aa538619cb1e8bc2c80e77531c303190 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:52:58 [ssh-agent] Looking for ssh-agent implementation... 07:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:52:58 $ docker exec 76943439e179b7f690e5c701f331d526aa538619cb1e8bc2c80e77531c303190 ssh-agent 07:52:58 SSH_AUTH_SOCK=/tmp/ssh-i1oV9TZqWUxT/agent.32 07:52:58 SSH_AGENT_PID=38 07:52:58 Running ssh-add (command line suppressed) 07:52:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1903031275330885985.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1903031275330885985.key) 07:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:52:59 + git semver push 07:52:59 2023-03-02 07:52:59,454 [run_push] DEBUG push 07:52:59 2023-03-02 07:52:59,454 [execute] INFO git cat-file --batch-check 07:52:59 2023-03-02 07:52:59,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:52:59 2023-03-02 07:52:59,458 [execute] INFO git rev-list 941136282dde36aad91f009b13ef60bf372bddd4 -- 07:52:59 2023-03-02 07:52:59,458 [execute] DEBUG Popen(['git', 'rev-list', '941136282dde36aad91f009b13ef60bf372bddd4', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:52:59 2023-03-02 07:52:59,464 [execute] INFO git fetch -v origin 07:52:59 2023-03-02 07:52:59,464 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 07:53:00 2023-03-02 07:53:00,172 [run_push] DEBUG no remote changes detected 07:53:00 2023-03-02 07:53:00,173 [execute] INFO git push origin semver 07:53:00 2023-03-02 07:53:00,173 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:53:01 2023-03-02 07:53:01,070 [run_push] DEBUG push all version tags 07:53:01 2023-03-02 07:53:01,070 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:53:01 2023-03-02 07:53:01,071 [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) 07:53:02 2023-03-02 07:53:01,963 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 07:53:02 3.0.0-dev.13 [Pipeline] } 07:53:02 $ docker exec --env ******** --env ******** 76943439e179b7f690e5c701f331d526aa538619cb1e8bc2c80e77531c303190 ssh-agent -k 07:53:02 unset SSH_AUTH_SOCK; 07:53:02 unset SSH_AGENT_PID; 07:53:02 echo Agent pid 38 killed; 07:53:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:53:02 + git semver [Pipeline] } 07:53:02 $ docker stop --time=1 76943439e179b7f690e5c701f331d526aa538619cb1e8bc2c80e77531c303190 07:53:03 $ docker rm -f --volumes 76943439e179b7f690e5c701f331d526aa538619cb1e8bc2c80e77531c303190 [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 07:53:04 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 07:53:04 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 07:53:04 total 16 07:53:04 drwxr-xr-x 3 root root 4096 Mar 2 07:44 . 07:53:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 2 07:52 .. 07:53:04 drwxr-xr-x 2 root root 4096 Mar 2 07:44 cost 07:53:04 -rw-r--r-- 1 root root 88 Mar 2 07:44 cost.csv 07:53:04 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 07:53:04 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 07:53:04 total 16 07:53:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 07:44 . 07:53:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 2 07:52 .. 07:53:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 07:44 cost 07:53:04 -rw-r--r-- 1 jenkins jenkins 88 Mar 2 07:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:53:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:05 ---> package-listing.sh 07:53:05 ++ facter osfamily 07:53:05 ++ tr '[:upper:]' '[:lower:]' 07:53:06 + OS_FAMILY=debian 07:53:06 + workspace=/w/workspace/exfoundry_device-usb-camera_main 07:53:06 + START_PACKAGES=/tmp/packages_start.txt 07:53:06 + END_PACKAGES=/tmp/packages_end.txt 07:53:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:06 + PACKAGES=/tmp/packages_start.txt 07:53:06 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 07:53:06 + PACKAGES=/tmp/packages_end.txt 07:53:06 + case "${OS_FAMILY}" in 07:53:06 + grep '^ii' 07:53:06 + dpkg -l 07:53:06 + '[' -f /tmp/packages_start.txt ']' 07:53:06 + '[' -f /tmp/packages_end.txt ']' 07:53:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:06 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 07:53:06 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 07:53:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 07:53:06 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 07:53:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:07 prd-ubuntu20.04-docker-8c-8g-8067 does not seem to be running inside a container 07:53:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:53:07 $ docker top 2bb3414c5cd374a78ee9fda19294debdf50ffecc5de954dc06e226f3f1280532 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:07 + touch /tmp/pre-build-complete [Pipeline] sh 07:53:07 + mkdir -p /var/log/sysstat [Pipeline] sh 07:53:08 + ls /var/log/sa-host 07:53:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:08 provisioning config files... 07:53:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7700970939668200203tmp [Pipeline] { [Pipeline] echo 07:53:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:53:08 ---> create-netrc.sh [Pipeline] } 07:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:53:08 ---> python-tools-install.sh [Pipeline] echo 07:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:53:09 ---> sudo-logs.sh 07:53:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:53:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:53:09 ---> job-cost.sh 07:53:09 lf-activate-venv: SKIPPING 07:53:09 DEBUG: total: 0.2199999988079071 07:53:09 INFO: Retrieving Stack Cost... 07:53:09 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:10 INFO: Archiving Costs [Pipeline] echo 07:53:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:53:10 ---> logs-deploy.sh 07:53:10 lf-activate-venv: SKIPPING 07:53:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/83 07:53:10 INFO: archiving workspace using pattern(s): 07:53:11 Archives upload complete. 07:53:11 INFO: archiving logs to Nexus