Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d43df4097523a2749be68cc9a7c29d8397ed8c11 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-ssh11359857379069638541.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-ssh14683017198914309206.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-ssh12002212710963498589.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-ssh580644804096264784.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-ssh14417091654886483109.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6309 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 > 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 Avoid second fetch Checking out Revision d43df4097523a2749be68cc9a7c29d8397ed8c11 (main) Commit message: "feat(snap): Copy provision watcher files in snapcraft (#150)" > git config core.sparsecheckout # timeout=10 > git checkout -f d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 > git rev-list --no-walk c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:17:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:17:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:17:32 ========================================================= 15:17:32 EdgeX Global Pipelines Version Info 15:17:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:17:33 ------------------- 15:17:33 stable info: 15:17:33 ------------------- 15:17:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:17:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:17:33 Message: update stable to v1.0.244 15:17:34 ------------------- 15:17:34 experimental info: 15:17:34 ------------------- 15:17:34 Commited By: **** collab-it+edgex@linuxfoundation.org 15:17:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:17:34 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d43df40 [Pipeline] echo 15:17:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:34 provisioning config files... 15:17:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11451720455849756349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:35 ---> docker-login.sh 15:17:35 nexus3.edgexfoundry.org:10001 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10002 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10003 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 nexus3.edgexfoundry.org:10004 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:35 Configure a credential helper to remove this warning. See 15:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:35 15:17:35 Login Succeeded 15:17:35 docker.io 15:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:36 Configure a credential helper to remove this warning. See 15:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:36 15:17:36 Login Succeeded 15:17:36 ---> docker-login.sh ends [Pipeline] } 15:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:17:36 + git rev-list -1 --merges d43df4097523a2749be68cc9a7c29d8397ed8c11~1..d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] echo 15:17:36 -----------> git rev-list -1 --merges d43df4097523a2749be68cc9a7c29d8397ed8c11~1..d43df4097523a2749be68cc9a7c29d8397ed8c11 d43df4097523a2749be68cc9a7c29d8397ed8c11 [false] [Pipeline] sh 15:17:36 + git log --format=format:%s -1 d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] echo 15:17:36 ========================================================= 15:17:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:17:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:17:37 + git log --format=format:%s -1 d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] echo 15:17:37 [semverPrep] GIT_COMMIT: d43df4097523a2749be68cc9a7c29d8397ed8c11, Commit Message: feat(snap): Copy provision watcher files in snapcraft (#150) [Pipeline] echo 15:17:37 [semverPrep] This is not a build commit. [Pipeline] sh 15:17:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:17:37 + grep -v github /etc/ssh/ssh_known_hosts 15:17:37 + [ -e /tmp/ssh_known_hosts ] 15:17:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:17:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 15:17:37 tee -a /etc/ssh/ssh_known_hosts 15:17:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:17:38 15:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:17:38 0.1.4: Pulling from edgex-devops/py-git-semver 15:17:38 b85a868b505f: Pulling fs layer 15:17:38 e2be974225ed: Pulling fs layer 15:17:38 339a4e72a1f5: Pulling fs layer 15:17:38 988bab9f4d93: Pulling fs layer 15:17:38 1469e6f7b9e6: Pulling fs layer 15:17:38 eaf3925da568: Pulling fs layer 15:17:38 bab4dde63d76: Pulling fs layer 15:17:38 bde34c3a00c8: Pulling fs layer 15:17:38 b352a97aabf1: Pulling fs layer 15:17:38 4872d77fe225: Pulling fs layer 15:17:38 5851b861e8e6: Pulling fs layer 15:17:38 eaf3925da568: Waiting 15:17:38 988bab9f4d93: Waiting 15:17:38 1469e6f7b9e6: Waiting 15:17:38 4872d77fe225: Waiting 15:17:38 bab4dde63d76: Waiting 15:17:38 bde34c3a00c8: Waiting 15:17:38 b352a97aabf1: Waiting 15:17:38 5851b861e8e6: Waiting 15:17:38 e2be974225ed: Verifying Checksum 15:17:38 e2be974225ed: Download complete 15:17:38 988bab9f4d93: Verifying Checksum 15:17:38 988bab9f4d93: Download complete 15:17:38 1469e6f7b9e6: Verifying Checksum 15:17:38 1469e6f7b9e6: Download complete 15:17:38 eaf3925da568: Verifying Checksum 15:17:38 eaf3925da568: Download complete 15:17:38 339a4e72a1f5: Verifying Checksum 15:17:38 339a4e72a1f5: Download complete 15:17:38 bde34c3a00c8: Download complete 15:17:38 b352a97aabf1: Verifying Checksum 15:17:38 b352a97aabf1: Download complete 15:17:38 4872d77fe225: Verifying Checksum 15:17:38 4872d77fe225: Download complete 15:17:38 5851b861e8e6: Download complete 15:17:39 b85a868b505f: Verifying Checksum 15:17:39 b85a868b505f: Download complete 15:17:39 bab4dde63d76: Verifying Checksum 15:17:39 bab4dde63d76: Download complete 15:17:40 b85a868b505f: Pull complete 15:17:40 e2be974225ed: Pull complete 15:17:41 339a4e72a1f5: Pull complete 15:17:41 988bab9f4d93: Pull complete 15:17:41 1469e6f7b9e6: Pull complete 15:17:41 eaf3925da568: Pull complete 15:17:42 bab4dde63d76: Pull complete 15:17:42 bde34c3a00c8: Pull complete 15:17:43 b352a97aabf1: Pull complete 15:17:43 4872d77fe225: Pull complete 15:17:43 5851b861e8e6: Pull complete 15:17:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:17:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:43 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:17: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 15:17:45 $ docker top ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa -eo pid,comm 15:17:45 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). 15:17:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:17:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:45 [ssh-agent] Looking for ssh-agent implementation... 15:17:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:45 $ docker exec ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa ssh-agent 15:17:45 SSH_AUTH_SOCK=/tmp/ssh-Ijf7luEAagHB/agent.33 15:17:45 SSH_AGENT_PID=39 15:17:45 Running ssh-add (command line suppressed) 15:17:45 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2984274008616347585.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2984274008616347585.key) 15:17:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:45 + git tag --points-at HEAD [Pipeline] } 15:17:45 $ docker exec --env ******** --env ******** ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa ssh-agent -k 15:17:45 unset SSH_AUTH_SOCK; 15:17:45 unset SSH_AGENT_PID; 15:17:45 echo Agent pid 39 killed; 15:17:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:17:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:45 [ssh-agent] Looking for ssh-agent implementation... 15:17:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:46 $ docker exec ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa ssh-agent 15:17:46 SSH_AUTH_SOCK=/tmp/ssh-dPnDxtnE2Oy6/agent.71 15:17:46 SSH_AGENT_PID=77 15:17:46 Running ssh-add (command line suppressed) 15:17:46 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_446472933598514636.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_446472933598514636.key) 15:17:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:46 + git semver init 15:17:46 2023-02-16 15:17:46,778 [run_init] DEBUG init version:0.0.0 force:False 15:17:46 2023-02-16 15:17:46,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 15:17:46 2023-02-16 15:17:46,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 15:17:46 2023-02-16 15:17:46,780 [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) 15:17:47 2023-02-16 15:17:47,604 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 15:17:47 2023-02-16 15:17:47,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 15:17:47 2023-02-16 15:17:47,605 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:17:47 2023-02-16 15:17:47,605 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:17:47 3.0.0-dev.7 [Pipeline] } 15:17:47 $ docker exec --env ******** --env ******** ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa ssh-agent -k 15:17:47 unset SSH_AUTH_SOCK; 15:17:47 unset SSH_AGENT_PID; 15:17:47 echo Agent pid 77 killed; 15:17:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:17:48 + git semver [Pipeline] } 15:17:48 $ docker stop --time=1 ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa 15:17:49 $ docker rm -f --volumes ebc40b15e6890e905601ed58c10bf96a98b8be15b10bb9f765fcb55d626ae5fa [Pipeline] // withDockerContainer [Pipeline] sh 15:17:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:17:50 Stashed 1 file(s) [Pipeline] echo 15:17:50 [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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 15:17:50 provisioning config files... 15:17:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3329910568640588735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:50 ---> docker-login.sh 15:17:50 nexus3.edgexfoundry.org:10001 15:17:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:50 Configure a credential helper to remove this warning. See 15:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:50 15:17:50 Login Succeeded 15:17:50 nexus3.edgexfoundry.org:10002 15:17:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:50 Configure a credential helper to remove this warning. See 15:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:50 15:17:50 Login Succeeded 15:17:50 nexus3.edgexfoundry.org:10003 15:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:51 Configure a credential helper to remove this warning. See 15:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:51 15:17:51 Login Succeeded 15:17:51 nexus3.edgexfoundry.org:10004 15:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:51 Configure a credential helper to remove this warning. See 15:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:51 15:17:51 Login Succeeded 15:17:51 docker.io 15:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:51 Configure a credential helper to remove this warning. See 15:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:51 15:17:51 Login Succeeded 15:17:51 ---> docker-login.sh ends [Pipeline] } 15:17:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:17:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:51 ========================================================= 15:17:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:17:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:52 + 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 . 15:17:52 Sending build context to Docker daemon 1.736MB 15:17:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:17:52 Step 2/13 : FROM ${BASE} AS builder 15:17:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:17:52 213ec9aee27d: Pulling fs layer 15:17:52 4583459ba037: Pulling fs layer 15:17:52 93c1e223e6f2: Pulling fs layer 15:17:52 53926ce57604: Pulling fs layer 15:17:52 21b2b0c7a3f4: Pulling fs layer 15:17:52 22ff95d597cd: Pulling fs layer 15:17:52 12d6caf4c0d1: Pulling fs layer 15:17:52 96b7cbca73a9: Pulling fs layer 15:17:52 a7acece74701: Pulling fs layer 15:17:52 22ff95d597cd: Waiting 15:17:52 12d6caf4c0d1: Waiting 15:17:52 96b7cbca73a9: Waiting 15:17:52 a7acece74701: Waiting 15:17:52 53926ce57604: Waiting 15:17:52 93c1e223e6f2: Download complete 15:17:52 4583459ba037: Download complete 15:17:52 21b2b0c7a3f4: Verifying Checksum 15:17:52 21b2b0c7a3f4: Download complete 15:17:52 22ff95d597cd: Verifying Checksum 15:17:52 22ff95d597cd: Download complete 15:17:52 213ec9aee27d: Verifying Checksum 15:17:52 213ec9aee27d: Download complete 15:17:52 12d6caf4c0d1: Verifying Checksum 15:17:52 12d6caf4c0d1: Download complete 15:17:52 213ec9aee27d: Pull complete 15:17:52 4583459ba037: Pull complete 15:17:52 93c1e223e6f2: Pull complete 15:17:53 a7acece74701: Verifying Checksum 15:17:53 a7acece74701: Download complete 15:17:53 53926ce57604: Download complete 15:17:53 96b7cbca73a9: Verifying Checksum 15:17:53 96b7cbca73a9: Download complete 15:17:57 53926ce57604: Pull complete 15:17:57 21b2b0c7a3f4: Pull complete 15:17:57 22ff95d597cd: Pull complete 15:17:57 12d6caf4c0d1: Pull complete 15:17:59 96b7cbca73a9: Pull complete 15:17:59 a7acece74701: Pull complete 15:17:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:17:59 ---> db6d94c90886 15:17:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:18:02 ---> Running in a7361e9ecea4 15:18:02 Removing intermediate container a7361e9ecea4 15:18:02 ---> f3417735df4c 15:18:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:18:02 ---> Running in 9987232bf24d 15:18:02 Removing intermediate container 9987232bf24d 15:18:02 ---> c5f70229d515 15:18:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:18:02 ---> Running in 08ae130ef002 15:18:02 Removing intermediate container 08ae130ef002 15:18:02 ---> 02ad140dfe50 15:18:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:18:02 ---> Running in 06815d03f6b3 15:18:02 Removing intermediate container 06815d03f6b3 15:18:02 ---> 52da32531eb1 15:18:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:02 ---> Running in f9e88dbc8493 15:18:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:18:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:18:03 (1/80) Installing mesa (21.3.9-r0) 15:18:03 (2/80) Installing libxau (1.0.9-r0) 15:18:03 (3/80) Installing libxdmcp (1.1.3-r0) 15:18:03 (4/80) Installing libxcb (1.15-r0) 15:18:03 (5/80) Installing libx11 (1.8-r0) 15:18:03 (6/80) Installing libxext (1.3.4-r0) 15:18:03 (7/80) Installing libxfixes (6.0.0-r0) 15:18:03 (8/80) Installing libxxf86vm (1.1.4-r2) 15:18:03 (9/80) Installing libpciaccess (0.16-r0) 15:18:03 (10/80) Installing libdrm (2.4.110-r0) 15:18:03 (11/80) Installing mesa-glapi (21.3.9-r0) 15:18:03 (12/80) Installing libxshmfence (1.3-r1) 15:18:03 (13/80) Installing mesa-gl (21.3.9-r0) 15:18:04 (14/80) Installing icu-data-full (71.1-r2) 15:18:04 (15/80) Installing libice (1.0.10-r0) 15:18:04 (16/80) Installing libuuid (2.38-r1) 15:18:04 (17/80) Installing libsm (1.2.3-r0) 15:18:04 (18/80) Installing libxt (1.2.1-r0) 15:18:04 (19/80) Installing libxmu (1.1.3-r0) 15:18:04 (20/80) Installing xset (1.2.4-r0) 15:18:04 (21/80) Installing xprop (1.2.5-r0) 15:18:04 (22/80) Installing xdg-utils (1.1.3-r3) 15:18:04 (23/80) Installing dbus-libs (1.14.4-r0) 15:18:04 (24/80) Installing libffi (3.4.2-r1) 15:18:04 (25/80) Installing libintl (0.21-r2) 15:18:04 (26/80) Installing libblkid (2.38-r1) 15:18:04 (27/80) Installing libmount (2.38-r1) 15:18:04 (28/80) Installing pcre (8.45-r2) 15:18:04 (29/80) Installing glib (2.72.1-r0) 15:18:04 (30/80) Installing icu-libs (71.1-r2) 15:18:04 (31/80) Installing libpcre2-16 (10.40-r0) 15:18:04 (32/80) Installing zstd-libs (1.5.2-r1) 15:18:04 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 15:18:04 (34/80) Installing hicolor-icon-theme (0.17-r1) 15:18:04 (35/80) Installing wayland-libs-server (1.20.0-r0) 15:18:04 (36/80) Installing mesa-gbm (21.3.9-r0) 15:18:04 (37/80) Installing wayland-libs-client (1.20.0-r0) 15:18:04 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 15:18:04 (39/80) Installing libxcomposite (0.4.5-r0) 15:18:04 (40/80) Installing libbz2 (1.0.8-r1) 15:18:04 (41/80) Installing libpng (1.6.37-r1) 15:18:04 (42/80) Installing freetype (2.12.1-r0) 15:18:04 (43/80) Installing fontconfig (2.14.0-r0) 15:18:04 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 15:18:04 (45/80) Installing wayland-libs-egl (1.20.0-r0) 15:18:04 (46/80) Installing xkeyboard-config (2.35.1-r0) 15:18:04 (47/80) Installing xz-libs (5.2.5-r1) 15:18:04 (48/80) Installing libxml2 (2.9.14-r2) 15:18:04 (49/80) Installing libxkbcommon (1.4.1-r0) 15:18:04 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 15:18:04 (51/80) Installing mesa-egl (21.3.9-r0) 15:18:04 (52/80) Installing avahi-libs (0.8-r6) 15:18:04 (53/80) Installing nettle (3.7.3-r0) 15:18:04 (54/80) Installing p11-kit (0.24.1-r0) 15:18:04 (55/80) Installing libtasn1 (4.18.0-r1) 15:18:04 (56/80) Installing libunistring (1.0-r0) 15:18:04 (57/80) Installing gnutls (3.7.7-r1) 15:18:04 (58/80) Installing cups-libs (2.4.2-r0) 15:18:04 (59/80) Installing graphite2 (1.3.14-r1) 15:18:04 (60/80) Installing harfbuzz (4.3.0-r0) 15:18:04 (61/80) Installing libevdev (1.12.1-r0) 15:18:04 (62/80) Installing mtdev (1.1.6-r0) 15:18:04 (63/80) Installing eudev-libs (3.2.11-r0) 15:18:04 (64/80) Installing libinput-libs (1.20.1-r0) 15:18:04 (65/80) Installing libjpeg-turbo (2.1.3-r1) 15:18:04 (66/80) Installing xcb-util-wm (0.4.1-r1) 15:18:04 (67/80) Installing xcb-util (0.4.0-r3) 15:18:04 (68/80) Installing xcb-util-image (0.4.0-r1) 15:18:04 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 15:18:04 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 15:18:04 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 15:18:04 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 15:18:05 (73/80) Installing v4l-utils-libs (1.22.1-r1) 15:18:05 (74/80) Installing v4l-utils (1.22.1-r1) 15:18:05 (75/80) Installing udev-init-scripts (35-r0) 15:18:05 Executing udev-init-scripts-35-r0.post-install 15:18:05 (76/80) Installing kmod-libs (29-r2) 15:18:05 (77/80) Installing eudev (3.2.11-r0) 15:18:05 (78/80) Installing eudev-dev (3.2.11-r0) 15:18:05 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:18:05 (80/80) Installing v4l-utils-dev (1.22.1-r1) 15:18:05 Executing busybox-1.35.0-r17.trigger 15:18:05 Executing eudev-3.2.11-r0.trigger 15:18:05 OK: 331 MiB in 131 packages 15:18:05 Still waiting to schedule task 15:18:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:18:07 Removing intermediate container f9e88dbc8493 15:18:07 ---> 985f0000db3e 15:18:07 Step 8/13 : WORKDIR /device-usb-camera 15:18:07 ---> Running in 0eadb4e33456 15:18:07 Removing intermediate container 0eadb4e33456 15:18:07 ---> b3825671e4a6 15:18:07 Step 9/13 : COPY go.mod vendor* ./ 15:18:07 ---> 3703348c0a79 15:18:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:18:07 ---> Running in 7c13b81ebb38 15:18:34 Removing intermediate container 7c13b81ebb38 15:18:34 ---> 897e7b51a74b 15:18:34 Step 11/13 : COPY . . 15:18:34 ---> b3fbc9197e65 15:18:34 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:18:34 ---> Running in 366120cf4d5e 15:18:34  % Total % Received % Xferd Average Speed Time Time Time Current 15:18:34 Dload Upload Total Spent Left Speed 15:18:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8770      0 --:--:-- --:--:-- --:--:--  8850 15:18:34 Removing intermediate container 366120cf4d5e 15:18:34 ---> cf47465a15bd 15:18:34 Step 13/13 : RUN ${MAKE} 15:18:34 ---> Running in f85245f8981c 15:18:34 noop 15:18:34 Removing intermediate container f85245f8981c 15:18:34 ---> de8eec6b5f25 15:18:34 Successfully built de8eec6b5f25 15:18:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:34 + docker inspect -f . ci-base-image-x86_64 15:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:34 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:18:34 $ 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 15:18:34 $ docker top 869ae8cc3e6d63a6682430d0d6d944f1d2917772b85a42b76d585b7a1d979a06 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:35 + go version 15:18:35 go version go1.18.7 linux/amd64 [Pipeline] } 15:18:35 $ docker stop --time=1 869ae8cc3e6d63a6682430d0d6d944f1d2917772b85a42b76d585b7a1d979a06 15:18:36 $ docker rm -f --volumes 869ae8cc3e6d63a6682430d0d6d944f1d2917772b85a42b76d585b7a1d979a06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:37 + docker inspect -f . ci-base-image-x86_64 15:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:37 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:18:37 $ 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 15:18:37 $ docker top 84648ef181e4b4eac1a7464805db4a8b53c91c55789161dd23b450f7d4cd15b6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 15:18:38 + make test 15:18:38 go test ./... -coverprofile=coverage.out ./... 15:18:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:18:48 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:18:48 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 15:18:53 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." 15:18:53 go vet ./... 15:18:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:18:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:18:56 ./bin/test-attribution-txt.sh [Pipeline] echo 15:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:18:56 $ docker stop --time=1 84648ef181e4b4eac1a7464805db4a8b53c91c55789161dd23b450f7d4cd15b6 15:18:58 $ docker rm -f --volumes 84648ef181e4b4eac1a7464805db4a8b53c91c55789161dd23b450f7d4cd15b6 [Pipeline] // withDockerContainer [Pipeline] sh 15:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:19:00 + ls -al . 15:19:00 total 208 15:19:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 15:18 . 15:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:17 .. 15:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 15:18 .git 15:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:17 .github 15:19:00 -rw-rw-r-- 1 jenkins jenkins 414 Feb 16 15:17 .gitignore 15:19:00 -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 15:17 .golangci.yml 15:19:00 -rw-rw-r-- 1 jenkins jenkins 77 Feb 16 15:17 .hadolint.yml 15:19:00 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 15:17 .semver 15:19:00 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 16 15:17 Attribution.txt 15:19:00 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 16 15:17 CHANGELOG.md 15:19:00 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 16 15:17 Dockerfile 15:19:00 -rw-rw-r-- 1 jenkins jenkins 678 Feb 16 15:17 GOVERNANCE.md 15:19:00 -rw-rw-r-- 1 jenkins jenkins 659 Feb 16 15:17 Jenkinsfile 15:19:00 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 16 15:17 LICENSE 15:19:00 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 16 15:17 Makefile 15:19:00 -rw-rw-r-- 1 jenkins jenkins 622 Feb 16 15:17 OWNERS.md 15:19:00 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 16 15:17 README.md 15:19:00 -rw-rw-r-- 1 jenkins jenkins 11 Feb 16 15:17 VERSION 15:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 15:17 bin 15:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:17 cmd 15:19:00 -rw-r--r-- 1 jenkins jenkins 30666 Feb 16 15:18 coverage.out 15:19:00 -rwxrwxr-x 1 jenkins jenkins 140 Feb 16 15:17 docker-entrypoint.sh 15:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:17 docs 15:19:00 -rw-rw-r-- 1 jenkins jenkins 3574 Feb 16 15:17 go.mod 15:19:00 -rw-rw-r-- 1 jenkins jenkins 45170 Feb 16 15:17 go.sum 15:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:17 internal 15:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:17 snap 15:19:00 -rw-rw-r-- 1 jenkins jenkins 231 Feb 16 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:00 + 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=d43df4097523a2749be68cc9a7c29d8397ed8c11 --label arch=amd64 --label version=3.0.0-dev.7 . 15:19:00 Sending build context to Docker daemon 1.767MB 15:19:00 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 15:19:00 Step 2/35 : FROM ${BASE} AS builder 15:19:00 ---> de8eec6b5f25 15:19:00 Step 3/35 : ARG ADD_BUILD_TAGS="" 15:19:00 ---> Running in 8a9e043e068b 15:19:00 Removing intermediate container 8a9e043e068b 15:19:00 ---> 99519df48446 15:19:00 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:19:00 ---> Running in fb6573c57d2c 15:19:00 Removing intermediate container fb6573c57d2c 15:19:00 ---> 3049dd223d1a 15:19:00 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:19:00 ---> Running in 09c430e5c31b 15:19:01 Removing intermediate container 09c430e5c31b 15:19:01 ---> 6c5b6d3bb545 15:19:01 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:19:01 ---> Running in 39fea071f7d1 15:19:01 Removing intermediate container 39fea071f7d1 15:19:01 ---> 4c95c3c566b1 15:19:01 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:19:01 ---> Running in d0c3a7fa4a46 15:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:19:01 OK: 331 MiB in 131 packages 15:19:02 Removing intermediate container d0c3a7fa4a46 15:19:02 ---> 201cb4cd0e7e 15:19:02 Step 8/35 : WORKDIR /device-usb-camera 15:19:02 ---> Running in 7de0cc057106 15:19:02 Removing intermediate container 7de0cc057106 15:19:02 ---> d58197b96b09 15:19:02 Step 9/35 : COPY go.mod vendor* ./ 15:19:02 ---> b01052abe31d 15:19:02 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:19:02 ---> Running in 004530776f12 15:19:03 Removing intermediate container 004530776f12 15:19:03 ---> 00f896a1c741 15:19:03 Step 11/35 : COPY . . 15:19:03 ---> eb5c809393ac 15:19:03 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:19:03 ---> Running in 66ca241396dc 15:19:03  % Total % Received % Xferd Average Speed Time Time Time Current 15:19:03  Dload Upload Total Spent Left Speed 15:19:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 42947 0 --:--:-- --:--:-- --:--:-- 44250 15:19:04 Removing intermediate container 66ca241396dc 15:19:04 ---> bab29f3895be 15:19:04 Step 13/35 : RUN ${MAKE} 15:19:04 ---> Running in 376b5ed35da8 15:19:04 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:19:26 Removing intermediate container 376b5ed35da8 15:19:26 ---> 6469a93f724d 15:19:26 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:19:26 v0.18.4: Pulling from aler9/rtsp-simple-server 15:19:26 af6660deedbd: Pulling fs layer 15:19:26 97cd0a44c592: Pulling fs layer 15:19:26 97cd0a44c592: Download complete 15:19:26 af6660deedbd: Verifying Checksum 15:19:26 af6660deedbd: Download complete 15:19:26 af6660deedbd: Pull complete 15:19:26 97cd0a44c592: Pull complete 15:19:26 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:19:26 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:19:26 ---> fea57e182299 15:19:26 Step 15/35 : FROM alpine:3.16 15:19:26 3.16: Pulling from library/alpine 15:19:26 ef5531b6e74e: Pulling fs layer 15:19:26 ef5531b6e74e: Verifying Checksum 15:19:26 ef5531b6e74e: Download complete 15:19:26 ef5531b6e74e: Pull complete 15:19:26 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:19:26 Status: Downloaded newer image for alpine:3.16 15:19:26 ---> dfd21b5a31f5 15:19:26 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:19:26 ---> Running in ce8bd9312259 15:19:26 Removing intermediate container ce8bd9312259 15:19:26 ---> a4083ed9f2e8 15:19:26 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:19:26 ---> Running in a6dbef463c14 15:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:19:26 (1/80) Installing dumb-init (1.2.5-r1) 15:19:26 (2/80) Installing sdl2 (2.0.22-r0) 15:19:26 (3/80) Installing libxau (1.0.9-r0) 15:19:26 (4/80) Installing libxdmcp (1.1.3-r0) 15:19:26 (5/80) Installing libxcb (1.15-r0) 15:19:26 (6/80) Installing libx11 (1.8-r0) 15:19:26 (7/80) Installing aom-libs (3.3.0-r0) 15:19:26 (8/80) Installing alsa-lib (1.2.7.2-r0) 15:19:26 (9/80) Installing expat (2.5.0-r0) 15:19:26 (10/80) Installing brotli-libs (1.0.9-r6) 15:19:26 (11/80) Installing libbz2 (1.0.8-r1) 15:19:26 (12/80) Installing libpng (1.6.37-r1) 15:19:26 (13/80) Installing freetype (2.12.1-r0) 15:19:26 (14/80) Installing fontconfig (2.14.0-r0) 15:19:26 (15/80) Installing fribidi (1.0.12-r0) 15:19:26 (16/80) Installing libffi (3.4.2-r1) 15:19:26 (17/80) Installing libintl (0.21-r2) 15:19:26 (18/80) Installing libblkid (2.38-r1) 15:19:26 (19/80) Installing libmount (2.38-r1) 15:19:26 (20/80) Installing pcre (8.45-r2) 15:19:26 (21/80) Installing glib (2.72.1-r0) 15:19:26 (22/80) Installing graphite2 (1.3.14-r1) 15:19:26 (23/80) Installing harfbuzz (4.3.0-r0) 15:19:26 (24/80) Installing libass (0.16.0-r0) 15:19:26 (25/80) Installing libdav1d (1.0.0-r0) 15:19:26 (26/80) Installing libpciaccess (0.16-r0) 15:19:26 (27/80) Installing libdrm (2.4.110-r0) 15:19:26 (28/80) Installing gmp (6.2.1-r2) 15:19:26 (29/80) Installing nettle (3.7.3-r0) 15:19:26 (30/80) Installing p11-kit (0.24.1-r0) 15:19:26 (31/80) Installing libtasn1 (4.18.0-r1) 15:19:26 (32/80) Installing libunistring (1.0-r0) 15:19:27 (33/80) Installing gnutls (3.7.7-r1) 15:19:27 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 15:19:27 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 15:19:27 (36/80) Installing lame (3.100-r0) 15:19:27 (37/80) Installing opus (1.3.1-r1) 15:19:27 (38/80) Installing libasyncns (0.8-r1) 15:19:27 (39/80) Installing dbus-libs (1.14.4-r0) 15:19:27 (40/80) Installing libltdl (2.4.7-r0) 15:19:27 (41/80) Installing orc (0.4.32-r0) 15:19:27 (42/80) Installing libgcc (11.2.1_git20220219-r2) 15:19:27 (43/80) Installing libogg (1.3.5-r1) 15:19:27 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 15:19:27 (45/80) Installing flac (1.3.4-r0) 15:19:27 (46/80) Installing libvorbis (1.3.7-r0) 15:19:27 (47/80) Installing libsndfile (1.1.0-r0) 15:19:27 (48/80) Installing libgomp (11.2.1_git20220219-r2) 15:19:27 (49/80) Installing soxr (0.1.3-r2) 15:19:27 (50/80) Installing speexdsp (1.2.0-r0) 15:19:27 (51/80) Installing tdb-libs (1.4.6-r0) 15:19:27 (52/80) Installing libpulse (15.0-r2) 15:19:27 (53/80) Installing cjson (1.7.15-r3) 15:19:27 (54/80) Installing mbedtls (2.28.2-r0) 15:19:27 (55/80) Installing librist (0.2.6-r1) 15:19:27 (56/80) Installing libsrt (1.4.4-r0) 15:19:27 (57/80) Installing libssh (0.9.6-r1) 15:19:27 (58/80) Installing libtheora (1.1.1-r16) 15:19:27 (59/80) Installing libjpeg-turbo (2.1.3-r1) 15:19:27 (60/80) Installing v4l-utils-libs (1.22.1-r1) 15:19:27 (61/80) Installing libxext (1.3.4-r0) 15:19:27 (62/80) Installing libxfixes (6.0.0-r0) 15:19:27 (63/80) Installing wayland-libs-client (1.20.0-r0) 15:19:27 (64/80) Installing libva (2.14.0-r0) 15:19:27 (65/80) Installing libvdpau (1.5-r0) 15:19:27 (66/80) Installing vidstab (1.1.0-r1) 15:19:27 (67/80) Installing libvpx (1.11.0-r1) 15:19:27 (68/80) Installing libwebp (1.2.3-r0) 15:19:27 (69/80) Installing x264-libs (0.163_git20210613-r0) 15:19:27 (70/80) Installing numactl (2.0.14-r0) 15:19:27 (71/80) Installing x265-libs (3.5-r3) 15:19:27 (72/80) Installing xvidcore (1.3.7-r1) 15:19:27 (73/80) Installing ffmpeg-libs (5.0.1-r1) 15:19:27 (74/80) Installing ffmpeg (5.0.1-r1) 15:19:27 (75/80) Installing udev-init-scripts (35-r0) 15:19:27 Executing udev-init-scripts-35-r0.post-install 15:19:27 (76/80) Installing eudev-libs (3.2.11-r0) 15:19:27 (77/80) Installing xz-libs (5.2.5-r1) 15:19:27 (78/80) Installing zstd-libs (1.5.2-r1) 15:19:27 (79/80) Installing kmod-libs (29-r2) 15:19:27 (80/80) Installing eudev (3.2.11-r0) 15:19:27 Executing busybox-1.35.0-r17.trigger 15:19:27 Executing eudev-3.2.11-r0.trigger 15:19:27 OK: 100 MiB in 94 packages 15:19:29 Removing intermediate container a6dbef463c14 15:19:29 ---> e2c97c9cb25b 15:19:29 Step 18/35 : WORKDIR / 15:19:29 ---> Running in 0a4c3c0604c9 15:19:29 Removing intermediate container 0a4c3c0604c9 15:19:29 ---> d03d3295cc76 15:19:29 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 15:19:30 ---> 23a3ae4704a6 15:19:30 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 15:19:30 ---> 4bfe91a3ee4f 15:19:30 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:19:30 ---> 9a02e666a3df 15:19:30 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:19:30 ---> f539f564c5be 15:19:30 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:19:30 ---> 5135a1db47f5 15:19:30 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 15:19:30 ---> a49627c2c356 15:19:30 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 15:19:31 ---> 401072ace348 15:19:31 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:19:31 ---> Running in fbcdf6a176b2 15:19:31 Removing intermediate container fbcdf6a176b2 15:19:31 ---> a45e87f8494a 15:19:31 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:19:31 ---> Running in 0438a95e53bc 15:19:32 Removing intermediate container 0438a95e53bc 15:19:32 ---> af63af950980 15:19:32 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:19:32 ---> Running in f3619e794784 15:19:33 Removing intermediate container f3619e794784 15:19:33 ---> 976625cfbbd2 15:19:33 Step 29/35 : EXPOSE 59983 15:19:33 ---> Running in 2bd8869cd7b7 15:19:33 Removing intermediate container 2bd8869cd7b7 15:19:33 ---> 8ca95d69bb8f 15:19:33 Step 30/35 : EXPOSE 8554 15:19:33 ---> Running in c0fd62d5cd3d 15:19:33 Removing intermediate container c0fd62d5cd3d 15:19:33 ---> 172df3bfdb98 15:19:33 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:19:33 ---> Running in d54dd73bb5c1 15:19:33 Removing intermediate container d54dd73bb5c1 15:19:33 ---> b98078ec3b55 15:19:33 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:19:33 ---> Running in cfac1f1794fa 15:19:33 Removing intermediate container cfac1f1794fa 15:19:33 ---> a7b8c12e20b1 15:19:33 Step 33/35 : LABEL arch=amd64 15:19:33 ---> Running in f4bf9e0c35c6 15:19:33 Removing intermediate container f4bf9e0c35c6 15:19:33 ---> 52a90b4e7ab4 15:19:33 Step 34/35 : LABEL git_sha=d43df4097523a2749be68cc9a7c29d8397ed8c11 15:19:33 ---> Running in f610c9ddb9d3 15:19:33 Removing intermediate container f610c9ddb9d3 15:19:33 ---> c6a8566e1100 15:19:33 Step 35/35 : LABEL version=3.0.0-dev.7 15:19:33 ---> Running in 008e0e35a493 15:19:33 Removing intermediate container 008e0e35a493 15:19:33 ---> b80678fc30b2 15:19:33 [Warning] One or more build-args [ARCH] were not consumed 15:19:33 Successfully built b80678fc30b2 15:19:33 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 15:19:33 provisioning config files... 15:19:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10173755726575806092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:34 ---> docker-login.sh 15:19:34 nexus3.edgexfoundry.org:10001 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:34 Configure a credential helper to remove this warning. See 15:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:34 15:19:34 Login Succeeded 15:19:34 nexus3.edgexfoundry.org:10002 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:34 Configure a credential helper to remove this warning. See 15:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:34 15:19:34 Login Succeeded 15:19:34 nexus3.edgexfoundry.org:10003 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:34 Configure a credential helper to remove this warning. See 15:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:34 15:19:34 Login Succeeded 15:19:34 nexus3.edgexfoundry.org:10004 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:34 Configure a credential helper to remove this warning. See 15:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:34 15:19:34 Login Succeeded 15:19:34 docker.io 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:34 Configure a credential helper to remove this warning. See 15:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:34 15:19:34 Login Succeeded 15:19:34 ---> docker-login.sh ends [Pipeline] } 15:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:34 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 15:19:34 d43df4097523a2749be68cc9a7c29d8397ed8c11 15:19:34 latest 15:19:34 3.0.0-dev.7 15:19:34 d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:19:34 main 15:19:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:35 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11 15:19:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:19:35 689ca6604ea3: Preparing 15:19:35 674d40ab27c6: Preparing 15:19:35 50d0cd82fc50: Preparing 15:19:35 550e596c6d0e: Preparing 15:19:35 1207169bf42c: Preparing 15:19:35 1019894a8124: Preparing 15:19:35 446768498cbf: Preparing 15:19:35 6003d9c09541: Preparing 15:19:35 06c9810f8b79: Preparing 15:19:35 1451081c1f5f: Preparing 15:19:35 44016cef668c: Preparing 15:19:35 aa5968d388b8: Preparing 15:19:35 06c9810f8b79: Waiting 15:19:35 44016cef668c: Waiting 15:19:35 aa5968d388b8: Waiting 15:19:35 1451081c1f5f: Waiting 15:19:35 6003d9c09541: Waiting 15:19:35 50d0cd82fc50: Pushed 15:19:35 674d40ab27c6: Pushed 15:19:35 1207169bf42c: Pushed 15:19:35 689ca6604ea3: Pushed 15:19:35 06c9810f8b79: Pushed 15:19:35 446768498cbf: Pushed 15:19:35 1019894a8124: Pushed 15:19:35 6003d9c09541: Pushed 15:19:35 aa5968d388b8: Layer already exists 15:19:37 550e596c6d0e: Pushed 15:19:38 1451081c1f5f: Pushed 15:19:44 44016cef668c: Pushed 15:19:44 d43df4097523a2749be68cc9a7c29d8397ed8c11: digest: sha256:31c587fb8421dbdd67c9ae2d961b4b5adf04ede42c636b9ce12ec01491a57f3c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:19:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:19:45 689ca6604ea3: Preparing 15:19:45 674d40ab27c6: Preparing 15:19:45 50d0cd82fc50: Preparing 15:19:45 550e596c6d0e: Preparing 15:19:45 1207169bf42c: Preparing 15:19:45 1019894a8124: Preparing 15:19:45 446768498cbf: Preparing 15:19:45 6003d9c09541: Preparing 15:19:45 06c9810f8b79: Preparing 15:19:45 1451081c1f5f: Preparing 15:19:45 44016cef668c: Preparing 15:19:45 aa5968d388b8: Preparing 15:19:45 1019894a8124: Waiting 15:19:45 446768498cbf: Waiting 15:19:45 6003d9c09541: Waiting 15:19:45 aa5968d388b8: Waiting 15:19:45 06c9810f8b79: Waiting 15:19:45 1451081c1f5f: Waiting 15:19:45 44016cef668c: Waiting 15:19:45 1207169bf42c: Layer already exists 15:19:45 674d40ab27c6: Layer already exists 15:19:45 550e596c6d0e: Layer already exists 15:19:45 689ca6604ea3: Layer already exists 15:19:45 50d0cd82fc50: Layer already exists 15:19:45 446768498cbf: Layer already exists 15:19:45 6003d9c09541: Layer already exists 15:19:45 1019894a8124: Layer already exists 15:19:45 06c9810f8b79: Layer already exists 15:19:45 1451081c1f5f: Layer already exists 15:19:45 44016cef668c: Layer already exists 15:19:45 aa5968d388b8: Layer already exists 15:19:45 latest: digest: sha256:31c587fb8421dbdd67c9ae2d961b4b5adf04ede42c636b9ce12ec01491a57f3c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.7 15:19:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:19:46 689ca6604ea3: Preparing 15:19:46 674d40ab27c6: Preparing 15:19:46 50d0cd82fc50: Preparing 15:19:46 550e596c6d0e: Preparing 15:19:46 1207169bf42c: Preparing 15:19:46 1019894a8124: Preparing 15:19:46 446768498cbf: Preparing 15:19:46 6003d9c09541: Preparing 15:19:46 06c9810f8b79: Preparing 15:19:46 1451081c1f5f: Preparing 15:19:46 44016cef668c: Preparing 15:19:46 aa5968d388b8: Preparing 15:19:46 1019894a8124: Waiting 15:19:46 446768498cbf: Waiting 15:19:46 1451081c1f5f: Waiting 15:19:46 6003d9c09541: Waiting 15:19:46 06c9810f8b79: Waiting 15:19:46 44016cef668c: Waiting 15:19:46 674d40ab27c6: Layer already exists 15:19:46 689ca6604ea3: Layer already exists 15:19:46 550e596c6d0e: Layer already exists 15:19:46 50d0cd82fc50: Layer already exists 15:19:46 1207169bf42c: Layer already exists 15:19:46 1019894a8124: Layer already exists 15:19:46 6003d9c09541: Layer already exists 15:19:46 06c9810f8b79: Layer already exists 15:19:46 446768498cbf: Layer already exists 15:19:46 1451081c1f5f: Layer already exists 15:19:46 44016cef668c: Layer already exists 15:19:46 aa5968d388b8: Layer already exists 15:19:46 3.0.0-dev.7: digest: sha256:31c587fb8421dbdd67c9ae2d961b4b5adf04ede42c636b9ce12ec01491a57f3c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:46 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:19:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:19:46 689ca6604ea3: Preparing 15:19:46 674d40ab27c6: Preparing 15:19:46 50d0cd82fc50: Preparing 15:19:46 550e596c6d0e: Preparing 15:19:46 1207169bf42c: Preparing 15:19:46 1019894a8124: Preparing 15:19:46 446768498cbf: Preparing 15:19:46 6003d9c09541: Preparing 15:19:46 06c9810f8b79: Preparing 15:19:46 1451081c1f5f: Preparing 15:19:46 44016cef668c: Preparing 15:19:46 aa5968d388b8: Preparing 15:19:46 6003d9c09541: Waiting 15:19:46 06c9810f8b79: Waiting 15:19:46 1451081c1f5f: Waiting 15:19:46 44016cef668c: Waiting 15:19:46 1019894a8124: Waiting 15:19:46 446768498cbf: Waiting 15:19:46 aa5968d388b8: Waiting 15:19:46 50d0cd82fc50: Layer already exists 15:19:46 1207169bf42c: Layer already exists 15:19:46 674d40ab27c6: Layer already exists 15:19:46 689ca6604ea3: Layer already exists 15:19:46 550e596c6d0e: Layer already exists 15:19:46 1019894a8124: Layer already exists 15:19:46 6003d9c09541: Layer already exists 15:19:46 06c9810f8b79: Layer already exists 15:19:46 446768498cbf: Layer already exists 15:19:46 1451081c1f5f: Layer already exists 15:19:46 44016cef668c: Layer already exists 15:19:46 aa5968d388b8: Layer already exists 15:19:46 d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7: digest: sha256:31c587fb8421dbdd67c9ae2d961b4b5adf04ede42c636b9ce12ec01491a57f3c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:47 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:47 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 15:19:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:19:47 689ca6604ea3: Preparing 15:19:47 674d40ab27c6: Preparing 15:19:47 50d0cd82fc50: Preparing 15:19:47 550e596c6d0e: Preparing 15:19:47 1207169bf42c: Preparing 15:19:47 1019894a8124: Preparing 15:19:47 446768498cbf: Preparing 15:19:47 6003d9c09541: Preparing 15:19:47 06c9810f8b79: Preparing 15:19:47 1451081c1f5f: Preparing 15:19:47 44016cef668c: Preparing 15:19:47 aa5968d388b8: Preparing 15:19:47 446768498cbf: Waiting 15:19:47 1451081c1f5f: Waiting 15:19:47 6003d9c09541: Waiting 15:19:47 aa5968d388b8: Waiting 15:19:47 06c9810f8b79: Waiting 15:19:47 44016cef668c: Waiting 15:19:47 550e596c6d0e: Layer already exists 15:19:47 50d0cd82fc50: Layer already exists 15:19:47 1207169bf42c: Layer already exists 15:19:47 674d40ab27c6: Layer already exists 15:19:47 689ca6604ea3: Layer already exists 15:19:47 446768498cbf: Layer already exists 15:19:47 6003d9c09541: Layer already exists 15:19:47 1019894a8124: Layer already exists 15:19:47 06c9810f8b79: Layer already exists 15:19:47 1451081c1f5f: Layer already exists 15:19:47 aa5968d388b8: Layer already exists 15:19:47 44016cef668c: Layer already exists 15:19:47 main: digest: sha256:31c587fb8421dbdd67c9ae2d961b4b5adf04ede42c636b9ce12ec01491a57f3c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:19:47 ===================================================== [Pipeline] echo 15:19:47 taggedImages: 15:19:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11 15:19:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:19:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.7 15:19:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:19:47 - 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 15:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:19:47 15:19:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:19:48 latest: Pulling from edgex-lftools-log-publisher 15:19:48 5eb5b503b376: Pulling fs layer 15:19:48 5c69ac0246d0: Pulling fs layer 15:19:48 ec43610c2a17: Pulling fs layer 15:19:48 3a2ae6a8a46f: Pulling fs layer 15:19:48 33b1e0a273af: Pulling fs layer 15:19:48 5d3b04190fa2: Pulling fs layer 15:19:48 2f39f015ded8: Pulling fs layer 15:19:48 33b1e0a273af: Waiting 15:19:48 5d3b04190fa2: Waiting 15:19:48 3a2ae6a8a46f: Waiting 15:19:48 2f39f015ded8: Waiting 15:19:48 5c69ac0246d0: Verifying Checksum 15:19:48 5c69ac0246d0: Download complete 15:19:48 3a2ae6a8a46f: Verifying Checksum 15:19:48 3a2ae6a8a46f: Download complete 15:19:48 33b1e0a273af: Verifying Checksum 15:19:48 33b1e0a273af: Download complete 15:19:48 ec43610c2a17: Verifying Checksum 15:19:48 ec43610c2a17: Download complete 15:19:48 5eb5b503b376: Download complete 15:19:49 5eb5b503b376: Pull complete 15:19:49 5c69ac0246d0: Pull complete 15:19:50 ec43610c2a17: Pull complete 15:19:50 3a2ae6a8a46f: Pull complete 15:19:50 33b1e0a273af: Pull complete 15:19:50 5d3b04190fa2: Pull complete 15:19:54 2f39f015ded8: Pull complete 15:19:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:19:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:19:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:19:55 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:19:55 $ 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 15:19:57 $ docker top 5d545f84bc9d78a0978136a30dfc0bbaa5d73d2d0e88c98c228e6fef7ab6b0f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:57 ---> job-cost.sh 15:19:57 lf-activate-venv: SKIPPING 15:19:57 INFO: No Stack... 15:19:59 INFO: Retrieving Pricing Info for: v3-standard-8 15:19:59 INFO: Archiving Costs [Pipeline] sh 15:19:59 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 15:19:59 + cut -d, -f6 [Pipeline] lock 15:19:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] 15:19:59 Resource [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] did not exist. Created. 15:19:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:20:00 + echo total: 0.2199999988079071 [Pipeline] stash 15:20:00 Stashed 1 file(s) [Pipeline] } 15:20:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 15:20:00 $ docker stop --time=1 5d545f84bc9d78a0978136a30dfc0bbaa5d73d2d0e88c98c228e6fef7ab6b0f5 15:20:01 $ docker rm -f --volumes 5d545f84bc9d78a0978136a30dfc0bbaa5d73d2d0e88c98c228e6fef7ab6b0f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:21:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6311 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 15:21:54 Running in /w/workspace/device-usb-camera/78 [Pipeline] { [Pipeline] checkout 15:21:54 Selected Git installation does not exist. Using Default 15:21:54 The recommended git tool is: NONE 15:21:59 using credential edgex-jenkins-ssh 15:21:59 Cloning the remote Git repository 15:21:59 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:21:59 > git init /w/workspace/device-usb-camera/78 # timeout=10 15:21:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:21:59 > git --version # timeout=10 15:21:59 > git --version # 'git version 2.25.1' 15:21:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:22:01 Avoid second fetch 15:22:01 Checking out Revision d43df4097523a2749be68cc9a7c29d8397ed8c11 (main) 15:22:00 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:22:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:22:01 > git config core.sparsecheckout # timeout=10 15:22:01 > git checkout -f d43df4097523a2749be68cc9a7c29d8397ed8c11 # timeout=10 15:22:02 Commit message: "feat(snap): Copy provision watcher files in snapcraft (#150)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:22:03 Dload Upload Total Spent Left Speed 15:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 15:22:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:22:04 + sudo tee /etc/docker/daemon.new 15:22:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:22:04 { 15:22:04 "registry-mirrors": [ 15:22:04 "https://nexus3.edgexfoundry.org:10001" 15:22:04 ], 15:22:04 "bip": "10.250.0.254/24", 15:22:04 "hosts": [ 15:22:04 "tcp://0.0.0.0:5555", 15:22:04 "unix:///var/run/docker.sock" 15:22:04 ], 15:22:04 "mtu": 1458, 15:22:04 "selinux-enabled": true, 15:22:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:22:04 } [Pipeline] sh 15:22:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:22:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:23 provisioning config files... 15:22:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/78@tmp/config14938826552119720683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:23 ---> docker-login.sh 15:22:23 nexus3.edgexfoundry.org:10001 15:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:24 Configure a credential helper to remove this warning. See 15:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:24 15:22:24 Login Succeeded 15:22:24 nexus3.edgexfoundry.org:10002 15:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:24 Configure a credential helper to remove this warning. See 15:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:24 15:22:24 Login Succeeded 15:22:24 nexus3.edgexfoundry.org:10003 15:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:25 Configure a credential helper to remove this warning. See 15:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:25 15:22:25 Login Succeeded 15:22:25 nexus3.edgexfoundry.org:10004 15:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:25 Configure a credential helper to remove this warning. See 15:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:25 15:22:25 Login Succeeded 15:22:25 docker.io 15:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:26 Configure a credential helper to remove this warning. See 15:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:26 15:22:26 Login Succeeded 15:22:26 ---> docker-login.sh ends [Pipeline] } 15:22:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:22:26 ========================================================= 15:22:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:22:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:27 + 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 . 15:22:27 Sending build context to Docker daemon 1.132MB 15:22:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:22:27 Step 2/13 : FROM ${BASE} AS builder 15:22:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:22:27 9b18e9b68314: Pulling fs layer 15:22:27 35d82f9e3411: Pulling fs layer 15:22:27 e16973657156: Pulling fs layer 15:22:27 fc693d55d65f: Pulling fs layer 15:22:27 7e9fc2657dce: Pulling fs layer 15:22:27 dda99020689f: Pulling fs layer 15:22:27 db1c61fa0a46: Pulling fs layer 15:22:27 891c053d2c06: Pulling fs layer 15:22:27 fc693d55d65f: Waiting 15:22:27 db1c61fa0a46: Waiting 15:22:27 dda99020689f: Waiting 15:22:27 891c053d2c06: Waiting 15:22:27 7e9fc2657dce: Waiting 15:22:27 e16973657156: Download complete 15:22:27 35d82f9e3411: Verifying Checksum 15:22:27 35d82f9e3411: Download complete 15:22:27 7e9fc2657dce: Verifying Checksum 15:22:27 7e9fc2657dce: Download complete 15:22:27 dda99020689f: Verifying Checksum 15:22:27 dda99020689f: Download complete 15:22:27 9b18e9b68314: Verifying Checksum 15:22:27 9b18e9b68314: Download complete 15:22:28 9b18e9b68314: Pull complete 15:22:28 891c053d2c06: Verifying Checksum 15:22:28 891c053d2c06: Download complete 15:22:29 35d82f9e3411: Pull complete 15:22:29 e16973657156: Pull complete 15:22:29 db1c61fa0a46: Verifying Checksum 15:22:29 db1c61fa0a46: Download complete 15:22:30 fc693d55d65f: Verifying Checksum 15:22:30 fc693d55d65f: Download complete 15:22:42 fc693d55d65f: Pull complete 15:22:42 7e9fc2657dce: Pull complete 15:22:42 dda99020689f: Pull complete 15:22:47 db1c61fa0a46: Pull complete 15:22:48 891c053d2c06: Pull complete 15:22:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:22:48 ---> f96f9c87975a 15:22:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:22:50 ---> Running in 221c3e133162 15:22:51 Removing intermediate container 221c3e133162 15:22:51 ---> b6ba92d28bf2 15:22:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:22:51 ---> Running in 6e7ce2517791 15:22:51 Removing intermediate container 6e7ce2517791 15:22:51 ---> e65e9930583c 15:22:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:22:51 ---> Running in 05bbb92555ef 15:22:52 Removing intermediate container 05bbb92555ef 15:22:52 ---> 16370dc2121f 15:22:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:22:52 ---> Running in 2a7d8cfba648 15:22:52 Removing intermediate container 2a7d8cfba648 15:22:52 ---> 61aee1b4c815 15:22:52 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:52 ---> Running in 3630fe12530e 15:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:22:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:22:54 (1/14) Installing libintl (0.21-r2) 15:22:54 (2/14) Installing eudev-libs (3.2.11-r0) 15:22:54 (3/14) Installing libjpeg-turbo (2.1.3-r1) 15:22:54 (4/14) Installing v4l-utils-libs (1.22.1-r1) 15:22:54 (5/14) Installing v4l-utils (1.22.1-r1) 15:22:54 (6/14) Installing udev-init-scripts (35-r0) 15:22:54 Executing udev-init-scripts-35-r0.post-install 15:22:54 (7/14) Installing libblkid (2.38-r1) 15:22:54 (8/14) Installing xz-libs (5.2.5-r1) 15:22:54 (9/14) Installing zstd-libs (1.5.2-r1) 15:22:54 (10/14) Installing kmod-libs (29-r2) 15:22:54 (11/14) Installing eudev (3.2.11-r0) 15:22:55 (12/14) Installing eudev-dev (3.2.11-r0) 15:22:55 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:22:55 (14/14) Installing v4l-utils-dev (1.22.1-r1) 15:22:55 Executing busybox-1.35.0-r17.trigger 15:22:55 Executing eudev-3.2.11-r0.trigger 15:22:55 OK: 228 MiB in 65 packages 15:22:58 Removing intermediate container 3630fe12530e 15:22:58 ---> 984ac162a596 15:22:58 Step 8/13 : WORKDIR /device-usb-camera 15:22:58 ---> Running in 8706ac733a12 15:22:58 Removing intermediate container 8706ac733a12 15:22:58 ---> cff472177cea 15:22:58 Step 9/13 : COPY go.mod vendor* ./ 15:22:58 ---> 5bbde55360b0 15:22:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:59 ---> Running in aec10385edaa 15:24:07 Removing intermediate container aec10385edaa 15:24:07 ---> 29bf3c37348d 15:24:07 Step 11/13 : COPY . . 15:24:07 ---> 735427114d56 15:24:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:24:07 ---> Running in 800c37336d99 15:24:07  % Total % Received % Xferd Average Speed Time Time Time Current 15:24:07 Dload Upload Total Spent Left Speed 15:24:07 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6175 0 --:--:-- --:--:-- --:--:-- 6210 15:24:07 Removing intermediate container 800c37336d99 15:24:07 ---> 093f085808a0 15:24:07 Step 13/13 : RUN ${MAKE} 15:24:07 ---> Running in b1a7fa770184 15:24:07 noop 15:24:07 Removing intermediate container b1a7fa770184 15:24:07 ---> 9c6748ba6144 15:24:07 Successfully built 9c6748ba6144 15:24:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:07 + docker inspect -f . ci-base-image-arm64 15:24:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:07 prd-ubuntu20.04-docker-arm64-4c-16g-6311 does not seem to be running inside a container 15:24:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/78 -v /w/workspace/device-usb-camera/78:/w/workspace/device-usb-camera/78:rw,z -v /w/workspace/device-usb-camera/78@tmp:/w/workspace/device-usb-camera/78@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 15:24:09 $ docker top ac290e4dfd416f435d100ffde0205e7cb5d9146e8f3872809754355662cd1b0f -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:09 + go version 15:24:09 go version go1.18.7 linux/arm64 [Pipeline] } 15:24:10 $ docker stop --time=1 ac290e4dfd416f435d100ffde0205e7cb5d9146e8f3872809754355662cd1b0f 15:24:11 $ docker rm -f --volumes ac290e4dfd416f435d100ffde0205e7cb5d9146e8f3872809754355662cd1b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:12 + docker inspect -f . ci-base-image-arm64 15:24:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:12 prd-ubuntu20.04-docker-arm64-4c-16g-6311 does not seem to be running inside a container 15:24:12 $ 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/78 -v /w/workspace/device-usb-camera/78:/w/workspace/device-usb-camera/78:rw,z -v /w/workspace/device-usb-camera/78@tmp:/w/workspace/device-usb-camera/78@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 15:24:13 $ docker top 4b15250f934d1d1a5521ea6b67e4577318d88d4c57fed1e109eb7b4735d872ed -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:14 + git config --global --add safe.directory /w/workspace/device-usb-camera/78 [Pipeline] fileExists [Pipeline] sh 15:24:15 + make test 15:24:15 go test ./... -coverprofile=coverage.out ./... 15:24:17 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:25:53 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:25:53 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.064s coverage: 1.9% of statements 15:25:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:25:53 go vet ./... 15:26:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:26:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:26:11 ./bin/test-attribution-txt.sh [Pipeline] echo 15:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:26:11 $ docker stop --time=1 4b15250f934d1d1a5521ea6b67e4577318d88d4c57fed1e109eb7b4735d872ed 15:26:13 $ docker rm -f --volumes 4b15250f934d1d1a5521ea6b67e4577318d88d4c57fed1e109eb7b4735d872ed [Pipeline] // withDockerContainer [Pipeline] sh 15:26:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:26:14 Warning: overwriting stash ‘coverage-report’ 15:26:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:15 + ls -al . 15:26:15 total 204 15:26:15 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 15:24 . 15:26:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:21 .. 15:26:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 15:22 .git 15:26:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:22 .github 15:26:15 -rw-rw-r-- 1 jenkins jenkins 414 Feb 16 15:22 .gitignore 15:26:15 -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 15:22 .golangci.yml 15:26:15 -rw-rw-r-- 1 jenkins jenkins 77 Feb 16 15:22 .hadolint.yml 15:26:15 -rw-rw-r-- 1 jenkins jenkins 9442 Feb 16 15:22 Attribution.txt 15:26:15 -rw-rw-r-- 1 jenkins jenkins 6219 Feb 16 15:22 CHANGELOG.md 15:26:15 -rw-rw-r-- 1 jenkins jenkins 2328 Feb 16 15:22 Dockerfile 15:26:15 -rw-rw-r-- 1 jenkins jenkins 678 Feb 16 15:22 GOVERNANCE.md 15:26:15 -rw-rw-r-- 1 jenkins jenkins 659 Feb 16 15:22 Jenkinsfile 15:26:15 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 16 15:22 LICENSE 15:26:15 -rw-rw-r-- 1 jenkins jenkins 2329 Feb 16 15:22 Makefile 15:26:15 -rw-rw-r-- 1 jenkins jenkins 622 Feb 16 15:22 OWNERS.md 15:26:15 -rw-rw-r-- 1 jenkins jenkins 5934 Feb 16 15:22 README.md 15:26:15 -rw-rw-r-- 1 jenkins jenkins 11 Feb 16 15:17 VERSION 15:26:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 15:22 bin 15:26:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:22 cmd 15:26:15 -rw-r--r-- 1 jenkins jenkins 30666 Feb 16 15:25 coverage.out 15:26:15 -rwxrwxr-x 1 jenkins jenkins 140 Feb 16 15:22 docker-entrypoint.sh 15:26:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:22 docs 15:26:15 -rw-rw-r-- 1 jenkins jenkins 3574 Feb 16 15:22 go.mod 15:26:15 -rw-rw-r-- 1 jenkins jenkins 45170 Feb 16 15:22 go.sum 15:26:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 15:22 internal 15:26:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 15:22 snap 15:26:15 -rw-rw-r-- 1 jenkins jenkins 231 Feb 16 15:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:16 + 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=d43df4097523a2749be68cc9a7c29d8397ed8c11 --label arch=arm64 --label version=3.0.0-dev.7 . 15:26:16 Sending build context to Docker daemon 1.163MB 15:26:16 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 15:26:16 Step 2/35 : FROM ${BASE} AS builder 15:26:16 ---> 9c6748ba6144 15:26:16 Step 3/35 : ARG ADD_BUILD_TAGS="" 15:26:16 ---> Running in c52e4c79fc6f 15:26:17 Removing intermediate container c52e4c79fc6f 15:26:17 ---> f9ee14df59a7 15:26:17 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:17 ---> Running in 9af958b92535 15:26:17 Removing intermediate container 9af958b92535 15:26:17 ---> 6de53c147910 15:26:17 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:26:17 ---> Running in ab5bfdc28826 15:26:17 Removing intermediate container ab5bfdc28826 15:26:17 ---> 877666d3ac56 15:26:17 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:26:17 ---> Running in 74699d5928d0 15:26:18 Removing intermediate container 74699d5928d0 15:26:18 ---> 4fd23bf32d06 15:26:18 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:18 ---> Running in e715e52cdec5 15:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:26:20 OK: 228 MiB in 65 packages 15:26:21 Removing intermediate container e715e52cdec5 15:26:21 ---> e9d37a6d9c68 15:26:21 Step 8/35 : WORKDIR /device-usb-camera 15:26:21 ---> Running in 6c2f5b73c548 15:26:21 Removing intermediate container 6c2f5b73c548 15:26:21 ---> aa3be788189b 15:26:21 Step 9/35 : COPY go.mod vendor* ./ 15:26:21 ---> 7830ddb1c5da 15:26:21 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:21 ---> Running in 38a9d6a34b8d 15:26:25 Removing intermediate container 38a9d6a34b8d 15:26:25 ---> f2cb2aeebb37 15:26:25 Step 11/35 : COPY . . 15:26:26 ---> 135690dd1a1d 15:26:26 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:26:26 ---> Running in 2dee1283b8d7 15:26:27  % Total % Received % Xferd Average Speed Time Time Time Current 15:26:27    Dload Upload Total Spent  Left  Speed 15:26:27 0  0  0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12763 0 --:--:-- --:--:-- --:--:-- 12951 15:26:27 Removing intermediate container 2dee1283b8d7 15:26:27 ---> 13cbc725c8a3 15:26:27 Step 13/35 : RUN ${MAKE} 15:26:27 ---> Running in 91f166a6c947 15:26:28 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:28:50 Removing intermediate container 91f166a6c947 15:28:50 ---> acb4267bbe08 15:28:50 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:28:50 v0.18.4: Pulling from aler9/rtsp-simple-server 15:28:50 eab2503cf8f4: Pulling fs layer 15:28:50 97cd0a44c592: Pulling fs layer 15:28:50 97cd0a44c592: Verifying Checksum 15:28:50 97cd0a44c592: Download complete 15:28:50 eab2503cf8f4: Download complete 15:28:50 eab2503cf8f4: Pull complete 15:28:50 97cd0a44c592: Pull complete 15:28:50 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:28:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:28:50 ---> 7f763cca56b3 15:28:50 Step 15/35 : FROM alpine:3.16 15:28:50 3.16: Pulling from library/alpine 15:28:50 3760b48202b3: Pulling fs layer 15:28:50 3760b48202b3: Verifying Checksum 15:28:50 3760b48202b3: Download complete 15:28:50 3760b48202b3: Pull complete 15:28:50 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:28:50 Status: Downloaded newer image for alpine:3.16 15:28:50 ---> 4c81e5bf8899 15:28:50 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:28:50 ---> Running in ab709681ca56 15:28:50 Removing intermediate container ab709681ca56 15:28:50 ---> de6759b04d4b 15:28:50 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:28:50 ---> Running in 853566449f32 15:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:28:52 (1/79) Installing dumb-init (1.2.5-r1) 15:28:52 (2/79) Installing sdl2 (2.0.22-r0) 15:28:52 (3/79) Installing libxau (1.0.9-r0) 15:28:52 (4/79) Installing libxdmcp (1.1.3-r0) 15:28:52 (5/79) Installing libxcb (1.15-r0) 15:28:52 (6/79) Installing libx11 (1.8-r0) 15:28:52 (7/79) Installing aom-libs (3.3.0-r0) 15:28:52 (8/79) Installing alsa-lib (1.2.7.2-r0) 15:28:52 (9/79) Installing expat (2.5.0-r0) 15:28:52 (10/79) Installing brotli-libs (1.0.9-r6) 15:28:52 (11/79) Installing libbz2 (1.0.8-r1) 15:28:53 (12/79) Installing libpng (1.6.37-r1) 15:28:53 (13/79) Installing freetype (2.12.1-r0) 15:28:53 (14/79) Installing fontconfig (2.14.0-r0) 15:28:53 (15/79) Installing fribidi (1.0.12-r0) 15:28:53 (16/79) Installing libffi (3.4.2-r1) 15:28:53 (17/79) Installing libintl (0.21-r2) 15:28:53 (18/79) Installing libblkid (2.38-r1) 15:28:53 (19/79) Installing libmount (2.38-r1) 15:28:53 (20/79) Installing pcre (8.45-r2) 15:28:53 (21/79) Installing glib (2.72.1-r0) 15:28:53 (22/79) Installing graphite2 (1.3.14-r1) 15:28:53 (23/79) Installing harfbuzz (4.3.0-r0) 15:28:53 (24/79) Installing libass (0.16.0-r0) 15:28:53 (25/79) Installing libdav1d (1.0.0-r0) 15:28:53 (26/79) Installing libdrm (2.4.110-r0) 15:28:53 (27/79) Installing gmp (6.2.1-r2) 15:28:53 (28/79) Installing nettle (3.7.3-r0) 15:28:53 (29/79) Installing p11-kit (0.24.1-r0) 15:28:53 (30/79) Installing libtasn1 (4.18.0-r1) 15:28:53 (31/79) Installing libunistring (1.0-r0) 15:28:53 (32/79) Installing gnutls (3.7.7-r1) 15:28:53 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 15:28:53 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 15:28:53 (35/79) Installing lame (3.100-r0) 15:28:53 (36/79) Installing opus (1.3.1-r1) 15:28:53 (37/79) Installing libasyncns (0.8-r1) 15:28:53 (38/79) Installing dbus-libs (1.14.4-r0) 15:28:53 (39/79) Installing libltdl (2.4.7-r0) 15:28:53 (40/79) Installing orc (0.4.32-r0) 15:28:53 (41/79) Installing libgcc (11.2.1_git20220219-r2) 15:28:53 (42/79) Installing libogg (1.3.5-r1) 15:28:53 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 15:28:53 (44/79) Installing flac (1.3.4-r0) 15:28:53 (45/79) Installing libvorbis (1.3.7-r0) 15:28:53 (46/79) Installing libsndfile (1.1.0-r0) 15:28:53 (47/79) Installing libgomp (11.2.1_git20220219-r2) 15:28:53 (48/79) Installing soxr (0.1.3-r2) 15:28:53 (49/79) Installing speexdsp (1.2.0-r0) 15:28:53 (50/79) Installing tdb-libs (1.4.6-r0) 15:28:53 (51/79) Installing libpulse (15.0-r2) 15:28:53 (52/79) Installing cjson (1.7.15-r3) 15:28:53 (53/79) Installing mbedtls (2.28.2-r0) 15:28:53 (54/79) Installing librist (0.2.6-r1) 15:28:53 (55/79) Installing libsrt (1.4.4-r0) 15:28:53 (56/79) Installing libssh (0.9.6-r1) 15:28:53 (57/79) Installing libtheora (1.1.1-r16) 15:28:53 (58/79) Installing libjpeg-turbo (2.1.3-r1) 15:28:53 (59/79) Installing v4l-utils-libs (1.22.1-r1) 15:28:53 (60/79) Installing libxext (1.3.4-r0) 15:28:53 (61/79) Installing libxfixes (6.0.0-r0) 15:28:53 (62/79) Installing wayland-libs-client (1.20.0-r0) 15:28:53 (63/79) Installing libva (2.14.0-r0) 15:28:53 (64/79) Installing libvdpau (1.5-r0) 15:28:53 (65/79) Installing vidstab (1.1.0-r1) 15:28:53 (66/79) Installing libvpx (1.11.0-r1) 15:28:53 (67/79) Installing libwebp (1.2.3-r0) 15:28:53 (68/79) Installing x264-libs (0.163_git20210613-r0) 15:28:54 (69/79) Installing numactl (2.0.14-r0) 15:28:54 (70/79) Installing x265-libs (3.5-r3) 15:28:54 (71/79) Installing xvidcore (1.3.7-r1) 15:28:54 (72/79) Installing ffmpeg-libs (5.0.1-r1) 15:28:54 (73/79) Installing ffmpeg (5.0.1-r1) 15:28:54 (74/79) Installing udev-init-scripts (35-r0) 15:28:54 Executing udev-init-scripts-35-r0.post-install 15:28:54 (75/79) Installing eudev-libs (3.2.11-r0) 15:28:54 (76/79) Installing xz-libs (5.2.5-r1) 15:28:54 (77/79) Installing zstd-libs (1.5.2-r1) 15:28:54 (78/79) Installing kmod-libs (29-r2) 15:28:54 (79/79) Installing eudev (3.2.11-r0) 15:28:54 Executing busybox-1.35.0-r17.trigger 15:28:54 Executing eudev-3.2.11-r0.trigger 15:28:54 OK: 77 MiB in 93 packages 15:28:59 Removing intermediate container 853566449f32 15:28:59 ---> afb8e4ec037a 15:28:59 Step 18/35 : WORKDIR / 15:28:59 ---> Running in a9c0d75dce84 15:28:59 Removing intermediate container a9c0d75dce84 15:28:59 ---> 611119754b63 15:28:59 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 15:29:00 ---> 8cdeb2b9ad02 15:29:00 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 15:29:00 ---> da47a51c6ee4 15:29:00 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:29:01 ---> 6f2df1d11346 15:29:01 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:29:01 ---> 4afad05ea503 15:29:01 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:29:02 ---> e575804f340e 15:29:02 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 15:29:02 ---> 8270274ae9f3 15:29:02 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 15:29:04 ---> e8a65c6caa27 15:29:04 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:29:04 ---> Running in 68456bfe389c 15:29:05 Removing intermediate container 68456bfe389c 15:29:05 ---> 6635b3e91573 15:29:05 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:29:05 ---> Running in 12b6da663e29 15:29:07 Removing intermediate container 12b6da663e29 15:29:07 ---> f8efb41b098d 15:29:07 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:29:07 ---> Running in fb146ad0d710 15:29:09 Removing intermediate container fb146ad0d710 15:29:09 ---> a648b9d2be88 15:29:09 Step 29/35 : EXPOSE 59983 15:29:09 ---> Running in e2fa3ffb46df 15:29:09 Removing intermediate container e2fa3ffb46df 15:29:09 ---> 88ba1f20d952 15:29:09 Step 30/35 : EXPOSE 8554 15:29:09 ---> Running in 1164b77e37bd 15:29:09 Removing intermediate container 1164b77e37bd 15:29:09 ---> 6e824da784ba 15:29:09 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:29:10 ---> Running in f6ad3293c9ef 15:29:10 Removing intermediate container f6ad3293c9ef 15:29:10 ---> 2287b7a74911 15:29:10 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:29:10 ---> Running in 17d91ae530f6 15:29:10 Removing intermediate container 17d91ae530f6 15:29:10 ---> 312b7ec0ce3d 15:29:10 Step 33/35 : LABEL arch=arm64 15:29:11 ---> Running in 287a911adbe3 15:29:11 Removing intermediate container 287a911adbe3 15:29:11 ---> 6373ac02c0fb 15:29:11 Step 34/35 : LABEL git_sha=d43df4097523a2749be68cc9a7c29d8397ed8c11 15:29:11 ---> Running in 468db08a24fe 15:29:11 Removing intermediate container 468db08a24fe 15:29:11 ---> 1f726db9444c 15:29:11 Step 35/35 : LABEL version=3.0.0-dev.7 15:29:11 ---> Running in c51fce87a382 15:29:12 Removing intermediate container c51fce87a382 15:29:12 ---> 9fc08f3756bb 15:29:12 [Warning] One or more build-args [ARCH] were not consumed 15:29:12 Successfully built 9fc08f3756bb 15:29:12 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 15:29:12 provisioning config files... 15:29:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/78@tmp/config11483920905600558920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:12 ---> docker-login.sh 15:29:12 nexus3.edgexfoundry.org:10001 15:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:12 Configure a credential helper to remove this warning. See 15:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:12 15:29:12 Login Succeeded 15:29:12 nexus3.edgexfoundry.org:10002 15:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:13 Configure a credential helper to remove this warning. See 15:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:13 15:29:13 Login Succeeded 15:29:13 nexus3.edgexfoundry.org:10003 15:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:13 Configure a credential helper to remove this warning. See 15:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:13 15:29:13 Login Succeeded 15:29:13 nexus3.edgexfoundry.org:10004 15:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:14 Configure a credential helper to remove this warning. See 15:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:14 15:29:14 Login Succeeded 15:29:14 docker.io 15:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:14 Configure a credential helper to remove this warning. See 15:29:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:14 15:29:14 Login Succeeded 15:29:14 ---> docker-login.sh ends [Pipeline] } 15:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:29:14 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 15:29:14 d43df4097523a2749be68cc9a7c29d8397ed8c11 15:29:14 latest 15:29:14 3.0.0-dev.7 15:29:14 d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:29:14 main 15:29:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11 15:29:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:29:15 d0ee4db72fd5: Preparing 15:29:15 633d1ba14b0b: Preparing 15:29:15 c50f583e46fe: Preparing 15:29:15 a43932d1df72: Preparing 15:29:15 1207169bf42c: Preparing 15:29:15 28ce63644956: Preparing 15:29:15 70aebe132498: Preparing 15:29:15 ee43f63f354d: Preparing 15:29:15 39a7511798de: Preparing 15:29:15 0756da97b709: Preparing 15:29:15 fe49734b1670: Preparing 15:29:15 f70ee36035b9: Preparing 15:29:15 70aebe132498: Waiting 15:29:15 39a7511798de: Waiting 15:29:15 0756da97b709: Waiting 15:29:15 fe49734b1670: Waiting 15:29:15 f70ee36035b9: Waiting 15:29:15 ee43f63f354d: Waiting 15:29:15 28ce63644956: Waiting 15:29:15 1207169bf42c: Pushed 15:29:16 633d1ba14b0b: Pushed 15:29:16 c50f583e46fe: Pushed 15:29:16 d0ee4db72fd5: Pushed 15:29:16 28ce63644956: Pushed 15:29:16 70aebe132498: Pushed 15:29:16 ee43f63f354d: Pushed 15:29:16 39a7511798de: Pushed 15:29:16 f70ee36035b9: Layer already exists 15:29:20 a43932d1df72: Pushed 15:29:21 0756da97b709: Pushed 15:29:34 fe49734b1670: Pushed 15:29:34 d43df4097523a2749be68cc9a7c29d8397ed8c11: digest: sha256:a7df5359e23968b3e6aa99adedf4d7d8f7254edbf8c84614ffe59240d2f79965 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:34 + 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 15:29:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:29:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:29:34 d0ee4db72fd5: Preparing 15:29:34 633d1ba14b0b: Preparing 15:29:34 c50f583e46fe: Preparing 15:29:34 a43932d1df72: Preparing 15:29:34 1207169bf42c: Preparing 15:29:34 28ce63644956: Preparing 15:29:34 70aebe132498: Preparing 15:29:34 ee43f63f354d: Preparing 15:29:34 39a7511798de: Preparing 15:29:34 0756da97b709: Preparing 15:29:34 fe49734b1670: Preparing 15:29:34 f70ee36035b9: Preparing 15:29:34 ee43f63f354d: Waiting 15:29:34 39a7511798de: Waiting 15:29:34 0756da97b709: Waiting 15:29:34 fe49734b1670: Waiting 15:29:34 f70ee36035b9: Waiting 15:29:34 28ce63644956: Waiting 15:29:34 70aebe132498: Waiting 15:29:34 633d1ba14b0b: Layer already exists 15:29:34 1207169bf42c: Layer already exists 15:29:34 c50f583e46fe: Layer already exists 15:29:34 a43932d1df72: Layer already exists 15:29:34 d0ee4db72fd5: Layer already exists 15:29:34 28ce63644956: Layer already exists 15:29:34 0756da97b709: Layer already exists 15:29:34 70aebe132498: Layer already exists 15:29:34 ee43f63f354d: Layer already exists 15:29:34 39a7511798de: Layer already exists 15:29:34 f70ee36035b9: Layer already exists 15:29:34 fe49734b1670: Layer already exists 15:29:35 latest: digest: sha256:a7df5359e23968b3e6aa99adedf4d7d8f7254edbf8c84614ffe59240d2f79965 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:35 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.7 15:29:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:29:35 d0ee4db72fd5: Preparing 15:29:35 633d1ba14b0b: Preparing 15:29:35 c50f583e46fe: Preparing 15:29:35 a43932d1df72: Preparing 15:29:35 1207169bf42c: Preparing 15:29:35 28ce63644956: Preparing 15:29:35 70aebe132498: Preparing 15:29:35 ee43f63f354d: Preparing 15:29:35 39a7511798de: Preparing 15:29:35 0756da97b709: Preparing 15:29:35 fe49734b1670: Preparing 15:29:35 f70ee36035b9: Preparing 15:29:35 ee43f63f354d: Waiting 15:29:35 fe49734b1670: Waiting 15:29:35 f70ee36035b9: Waiting 15:29:35 39a7511798de: Waiting 15:29:35 0756da97b709: Waiting 15:29:35 28ce63644956: Waiting 15:29:35 70aebe132498: Waiting 15:29:35 1207169bf42c: Layer already exists 15:29:35 d0ee4db72fd5: Layer already exists 15:29:35 c50f583e46fe: Layer already exists 15:29:35 633d1ba14b0b: Layer already exists 15:29:35 a43932d1df72: Layer already exists 15:29:35 70aebe132498: Layer already exists 15:29:35 28ce63644956: Layer already exists 15:29:35 0756da97b709: Layer already exists 15:29:35 39a7511798de: Layer already exists 15:29:35 ee43f63f354d: Layer already exists 15:29:35 f70ee36035b9: Layer already exists 15:29:35 fe49734b1670: Layer already exists 15:29:35 3.0.0-dev.7: digest: sha256:a7df5359e23968b3e6aa99adedf4d7d8f7254edbf8c84614ffe59240d2f79965 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:36 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:29:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:29:36 d0ee4db72fd5: Preparing 15:29:36 633d1ba14b0b: Preparing 15:29:36 c50f583e46fe: Preparing 15:29:36 a43932d1df72: Preparing 15:29:36 1207169bf42c: Preparing 15:29:36 28ce63644956: Preparing 15:29:36 70aebe132498: Preparing 15:29:36 ee43f63f354d: Preparing 15:29:36 39a7511798de: Preparing 15:29:36 0756da97b709: Preparing 15:29:36 fe49734b1670: Preparing 15:29:36 f70ee36035b9: Preparing 15:29:36 ee43f63f354d: Waiting 15:29:36 39a7511798de: Waiting 15:29:36 0756da97b709: Waiting 15:29:36 fe49734b1670: Waiting 15:29:36 f70ee36035b9: Waiting 15:29:36 28ce63644956: Waiting 15:29:36 70aebe132498: Waiting 15:29:36 a43932d1df72: Layer already exists 15:29:36 1207169bf42c: Layer already exists 15:29:36 633d1ba14b0b: Layer already exists 15:29:36 d0ee4db72fd5: Layer already exists 15:29:36 c50f583e46fe: Layer already exists 15:29:36 28ce63644956: Layer already exists 15:29:36 70aebe132498: Layer already exists 15:29:36 ee43f63f354d: Layer already exists 15:29:36 0756da97b709: Layer already exists 15:29:36 39a7511798de: Layer already exists 15:29:36 f70ee36035b9: Layer already exists 15:29:36 fe49734b1670: Layer already exists 15:29:36 d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7: digest: sha256:a7df5359e23968b3e6aa99adedf4d7d8f7254edbf8c84614ffe59240d2f79965 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:37 + 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 15:29:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 15:29:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:29:37 d0ee4db72fd5: Preparing 15:29:37 633d1ba14b0b: Preparing 15:29:37 c50f583e46fe: Preparing 15:29:37 a43932d1df72: Preparing 15:29:37 1207169bf42c: Preparing 15:29:37 28ce63644956: Preparing 15:29:37 70aebe132498: Preparing 15:29:37 ee43f63f354d: Preparing 15:29:37 39a7511798de: Preparing 15:29:37 0756da97b709: Preparing 15:29:37 fe49734b1670: Preparing 15:29:37 f70ee36035b9: Preparing 15:29:37 ee43f63f354d: Waiting 15:29:37 39a7511798de: Waiting 15:29:37 0756da97b709: Waiting 15:29:37 fe49734b1670: Waiting 15:29:37 f70ee36035b9: Waiting 15:29:37 28ce63644956: Waiting 15:29:37 70aebe132498: Waiting 15:29:37 a43932d1df72: Layer already exists 15:29:37 633d1ba14b0b: Layer already exists 15:29:37 c50f583e46fe: Layer already exists 15:29:37 d0ee4db72fd5: Layer already exists 15:29:37 1207169bf42c: Layer already exists 15:29:37 28ce63644956: Layer already exists 15:29:37 70aebe132498: Layer already exists 15:29:37 0756da97b709: Layer already exists 15:29:37 ee43f63f354d: Layer already exists 15:29:37 39a7511798de: Layer already exists 15:29:37 fe49734b1670: Layer already exists 15:29:37 f70ee36035b9: Layer already exists 15:29:37 main: digest: sha256:a7df5359e23968b3e6aa99adedf4d7d8f7254edbf8c84614ffe59240d2f79965 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:37 ===================================================== [Pipeline] echo 15:29:37 taggedImages: 15:29:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11 15:29:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:29:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.7 15:29:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d43df4097523a2749be68cc9a7c29d8397ed8c11-3.0.0-dev.7 15:29:37 - 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 15:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:38 15:29:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:38 arm64: Pulling from edgex-lftools-log-publisher 15:29:38 8998bd30e6a1: Pulling fs layer 15:29:38 04944245beec: Pulling fs layer 15:29:38 699f458cf7ca: Pulling fs layer 15:29:38 765212b225bb: Pulling fs layer 15:29:38 f23df028b6ca: Pulling fs layer 15:29:38 d65c8cfc05b1: Pulling fs layer 15:29:38 2437ff75d9bd: Pulling fs layer 15:29:38 765212b225bb: Waiting 15:29:38 d65c8cfc05b1: Waiting 15:29:38 04944245beec: Verifying Checksum 15:29:38 04944245beec: Download complete 15:29:38 765212b225bb: Verifying Checksum 15:29:38 765212b225bb: Download complete 15:29:38 f23df028b6ca: Download complete 15:29:38 d65c8cfc05b1: Verifying Checksum 15:29:38 d65c8cfc05b1: Download complete 15:29:38 699f458cf7ca: Verifying Checksum 15:29:38 699f458cf7ca: Download complete 15:29:39 8998bd30e6a1: Verifying Checksum 15:29:39 8998bd30e6a1: Download complete 15:29:42 2437ff75d9bd: Verifying Checksum 15:29:42 2437ff75d9bd: Download complete 15:29:43 8998bd30e6a1: Pull complete 15:29:43 04944245beec: Pull complete 15:29:45 699f458cf7ca: Pull complete 15:29:45 765212b225bb: Pull complete 15:29:46 f23df028b6ca: Pull complete 15:29:46 d65c8cfc05b1: Pull complete 15:30:01 2437ff75d9bd: Pull complete 15:30:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:30:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:01 prd-ubuntu20.04-docker-arm64-4c-16g-6311 does not seem to be running inside a container 15:30:01 $ 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/78 -v /w/workspace/device-usb-camera/78:/w/workspace/device-usb-camera/78:rw,z -v /w/workspace/device-usb-camera/78@tmp:/w/workspace/device-usb-camera/78@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 15:30:02 $ docker top 51e99531ba24195a0753c3e08583af9f101e95d8f3dd6b7e0fa8d18bb0f136d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:03 ---> job-cost.sh 15:30:03 lf-activate-venv: SKIPPING 15:30:03 INFO: No Stack... 15:30:04 INFO: Retrieving Pricing Info for: v3-standard-4 15:30:04 INFO: Archiving Costs [Pipeline] sh 15:30:05 + + cutcat -d, /w/workspace/device-usb-camera/78/archives/cost.csv -f6 15:30:05 [Pipeline] lock 15:30:05 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] 15:30:05 Resource [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] did not exist. Created. 15:30:05 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:30:05 /w/workspace/device-usb-camera/78@tmp/durable-d544284f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:30:06 + echo total: 0.10999999940395355 [Pipeline] stash 15:30:06 Warning: overwriting stash ‘stack-cost’ 15:30:06 Stashed 1 file(s) [Pipeline] } 15:30:06 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 15:30:06 $ docker stop --time=1 51e99531ba24195a0753c3e08583af9f101e95d8f3dd6b7e0fa8d18bb0f136d8 15:30:07 $ docker rm -f --volumes 51e99531ba24195a0753c3e08583af9f101e95d8f3dd6b7e0fa8d18bb0f136d8 [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 15:30:08 provisioning config files... 15:30:08 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4012141371344177427tmp [Pipeline] { [Pipeline] sh 15:30:08 + set +x 15:30:08 + curl -s https://codecov.io/bash 15:30:08 + bash -s -- 15:30:08 15:30:08 _____ _ 15:30:08 / ____| | | 15:30:08 | | ___ __| | ___ ___ _____ __ 15:30:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:30:08 | |___| (_) | (_| | __/ (_| (_) \ V / 15:30:08 \_____\___/ \__,_|\___|\___\___/ \_/ 15:30:08 Bash-1.0.6 15:30:08 15:30:08 15:30:08 ==> git version 2.25.1 found 15:30:08 ==> 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 15:30:08 Release-Date: 2020-01-08 15:30:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:30:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:30:08 ==> Jenkins CI detected. 15:30:08 current dir:  /w/workspace/exfoundry_device-usb-camera_main 15:30:08 project root: . 15:30:08 --> token set from env 15:30:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:30:08 ==> Running gcov in . (disable via -X gcov) 15:30:08 ==> Python coveragepy not found 15:30:08 ==> Searching for coverage reports in: 15:30:08 + . 15:30:08 -> Found 1 reports 15:30:08 ==> Detecting git/mercurial file structure 15:30:08 ==> Reading reports 15:30:08 + ./coverage.out bytes=30666 15:30:08 ==> Appending adjustments 15:30:08 https://docs.codecov.io/docs/fixing-reports 15:30:08 + Found adjustments 15:30:08 ==> Gzipping contents 15:30:08 8.0K /tmp/codecov.3Jh1gO.gz 15:30:08 ==> Uploading reports 15:30:08 url: https://codecov.io 15:30:08 query: branch=main&commit=d43df4097523a2749be68cc9a7c29d8397ed8c11&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:30:08 -> Pinging Codecov 15:30:08 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=d43df4097523a2749be68cc9a7c29d8397ed8c11&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:30:08 -> Uploading to 15:30:08 https://storage.googleapis.com/codecov/v4/raw/2023-02-16/73D8F5FF140700D3E01443B452E23636/d43df4097523a2749be68cc9a7c29d8397ed8c11/e577bb75-a722-4862-b58c-d4d2e3881239.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T153008Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fce1b13a5eafa7e693fd204ecbdd3917692d7d210f7424c4f07c2a795b5c22be 15:30:08 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:08 Dload Upload Total Spent Left Speed 15:30:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4290 0 0 100 4290 0 21133 --:--:-- --:--:-- --:--:-- 21029 100 4290 0 0 100 4290 0 17298 --:--:-- --:--:-- --:--:-- 17228 15:30:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] } 15:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:30:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:30:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:09 15:30:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:30:09 df9b9388f04a: Pulling fs layer 15:30:09 52dc419b0ee2: Pulling fs layer 15:30:09 25bc292e5bac: Pulling fs layer 15:30:09 114826534d7a: Pulling fs layer 15:30:09 4657fd5d0bcf: Pulling fs layer 15:30:09 6ad1cebc031e: Pulling fs layer 15:30:09 8a3aa393b2d8: Pulling fs layer 15:30:09 4657fd5d0bcf: Waiting 15:30:09 8a3aa393b2d8: Waiting 15:30:09 114826534d7a: Waiting 15:30:09 6ad1cebc031e: Waiting 15:30:09 25bc292e5bac: Verifying Checksum 15:30:09 25bc292e5bac: Download complete 15:30:09 52dc419b0ee2: Verifying Checksum 15:30:09 52dc419b0ee2: Download complete 15:30:09 4657fd5d0bcf: Verifying Checksum 15:30:09 4657fd5d0bcf: Download complete 15:30:09 df9b9388f04a: Verifying Checksum 15:30:09 df9b9388f04a: Download complete 15:30:10 df9b9388f04a: Pull complete 15:30:10 52dc419b0ee2: Pull complete 15:30:10 25bc292e5bac: Pull complete 15:30:10 6ad1cebc031e: Verifying Checksum 15:30:10 6ad1cebc031e: Download complete 15:30:10 114826534d7a: Verifying Checksum 15:30:10 114826534d7a: Download complete 15:30:11 8a3aa393b2d8: Verifying Checksum 15:30:11 8a3aa393b2d8: Download complete 15:30:14 114826534d7a: Pull complete 15:30:14 4657fd5d0bcf: Pull complete 15:30:14 6ad1cebc031e: Pull complete 15:30:17 8a3aa393b2d8: Pull complete 15:30:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:17 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:30:17 $ 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 15:30:19 $ docker top 4e3d949c4b5a05277c01471f76bef80b8ce73f17ab52d5114c97f2e16df62f62 -eo pid,comm [Pipeline] { [Pipeline] echo 15:30:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 15:30:19 + set -o pipefail 15:30:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 15:30:26 15:30:26 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 15:30:26 15:30:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/f7436758-2291-4edc-b92a-8de0ee97326f 15:30:26 15:30:26 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:30:26 15:30:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:30:26 15:30:27 15:30:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:30:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:30:27 More details here: https://snyk.co/ue1NS [Pipeline] } 15:30:27 $ docker stop --time=1 4e3d949c4b5a05277c01471f76bef80b8ce73f17ab52d5114c97f2e16df62f62 15:30:30 $ docker rm -f --volumes 4e3d949c4b5a05277c01471f76bef80b8ce73f17ab52d5114c97f2e16df62f62 [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 15:30:30 + git log --format=format:%s -1 d43df4097523a2749be68cc9a7c29d8397ed8c11 [Pipeline] sh 15:30:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:31 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:30:31 $ docker top 9f7216e418131242c504ccf53ec68cfab8700841be0b2abcbe44937ade3dae27 -eo pid,comm 15:30:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:30:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:31 [ssh-agent] Looking for ssh-agent implementation... 15:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:32 $ docker exec 9f7216e418131242c504ccf53ec68cfab8700841be0b2abcbe44937ade3dae27 ssh-agent 15:30:32 SSH_AUTH_SOCK=/tmp/ssh-1fo4XHWMWdqH/agent.33 15:30:32 SSH_AGENT_PID=39 15:30:32 Running ssh-add (command line suppressed) 15:30:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17983522407818714739.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17983522407818714739.key) 15:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:32 + git semver tag 15:30:32 2023-02-16 15:30:32,723 [run_tag] DEBUG tag force:False 15:30:32 2023-02-16 15:30:32,724 [check_head_tag] DEBUG check head tag 15:30:32 2023-02-16 15:30:32,725 [execute] INFO git cat-file --batch-check 15:30:32 2023-02-16 15:30:32,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:30:32 2023-02-16 15:30:32,729 [execute] INFO git cat-file --batch 15:30:32 2023-02-16 15:30:32,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:30:32 2023-02-16 15:30:32,750 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:32 2023-02-16 15:30:32,750 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 15:30:32 2023-02-16 15:30:32,751 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 15:30:32 2023-02-16 15:30:32,756 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:32 3.0.0-dev.7 [Pipeline] } 15:30:32 $ docker exec --env ******** --env ******** 9f7216e418131242c504ccf53ec68cfab8700841be0b2abcbe44937ade3dae27 ssh-agent -k 15:30:32 unset SSH_AUTH_SOCK; 15:30:32 unset SSH_AGENT_PID; 15:30:32 echo Agent pid 39 killed; 15:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:30:33 + git semver [Pipeline] } 15:30:33 $ docker stop --time=1 9f7216e418131242c504ccf53ec68cfab8700841be0b2abcbe44937ade3dae27 15:30:34 $ docker rm -f --volumes 9f7216e418131242c504ccf53ec68cfab8700841be0b2abcbe44937ade3dae27 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:30:35 15:30:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:30:35 0.23.1-centos7: Pulling from edgex-lftools 15:30:35 ab5ef0e58194: Pulling fs layer 15:30:35 9712f1f96733: Pulling fs layer 15:30:35 63f879dbbcfc: Pulling fs layer 15:30:35 0d9ebad4ef96: Pulling fs layer 15:30:35 e9a5061849ea: Pulling fs layer 15:30:35 d747dcd14b5f: Pulling fs layer 15:30:35 2de7ff778b66: Pulling fs layer 15:30:35 0d9ebad4ef96: Waiting 15:30:35 e9a5061849ea: Waiting 15:30:35 d747dcd14b5f: Waiting 15:30:35 2de7ff778b66: Waiting 15:30:35 9712f1f96733: Verifying Checksum 15:30:35 9712f1f96733: Download complete 15:30:36 63f879dbbcfc: Verifying Checksum 15:30:36 63f879dbbcfc: Download complete 15:30:36 e9a5061849ea: Verifying Checksum 15:30:36 e9a5061849ea: Download complete 15:30:36 d747dcd14b5f: Verifying Checksum 15:30:36 d747dcd14b5f: Download complete 15:30:36 0d9ebad4ef96: Verifying Checksum 15:30:36 0d9ebad4ef96: Download complete 15:30:36 ab5ef0e58194: Verifying Checksum 15:30:36 ab5ef0e58194: Download complete 15:30:36 2de7ff778b66: Verifying Checksum 15:30:36 2de7ff778b66: Download complete 15:30:39 ab5ef0e58194: Pull complete 15:30:39 9712f1f96733: Pull complete 15:30:40 63f879dbbcfc: Pull complete 15:30:43 0d9ebad4ef96: Pull complete 15:30:43 e9a5061849ea: Pull complete 15:30:43 d747dcd14b5f: Pull complete 15:30:44 2de7ff778b66: Pull complete 15:30:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:30:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:30:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:44 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:30:44 $ 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 15:30:47 $ docker top e4826c1252f654f909f09c7b9278de2945962ffe9e8305135fe324c8014fa1b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:30:47 provisioning config files... 15:30:47 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10681729782913349952tmp 15:30:47 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3762202540750696504tmp 15:30:47 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8614159029224778960tmp [Pipeline] { [Pipeline] echo 15:30:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:30:48 ---> sigul-configuration.sh 15:30:48 gpg: directory `/root/.gnupg' created 15:30:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:30:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:30:48 gpg: keyring `/root/.gnupg/secring.gpg' created 15:30:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:30:48 gpg: CAST5 encrypted data 15:30:48 gpg: encrypted with 1 passphrase 15:30:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:30:48 + mkdir /home/jenkins 15:30:48 + mkdir /home/jenkins/sigul [Pipeline] sh 15:30:48 + 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 15:30:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:30:48 ---> sigul-install.sh 15:30:48 Sigul already installed; skipping installation. [Pipeline] sh 15:30:49 + git tag --list 15:30:49 v0.0.0 15:30:49 v0.0.1-dev.1 15:30:49 v0.0.1-dev.10 15:30:49 v0.0.1-dev.11 15:30:49 v0.0.1-dev.12 15:30:49 v0.0.1-dev.13 15:30:49 v0.0.1-dev.14 15:30:49 v0.0.1-dev.15 15:30:49 v0.0.1-dev.16 15:30:49 v0.0.1-dev.2 15:30:49 v0.0.1-dev.3 15:30:49 v0.0.1-dev.4 15:30:49 v0.0.1-dev.5 15:30:49 v0.0.1-dev.6 15:30:49 v0.0.1-dev.7 15:30:49 v0.0.1-dev.8 15:30:49 v0.0.1-dev.9 15:30:49 v2.2.0 15:30:49 v2.2.0-dev.17 15:30:49 v2.2.0-dev.18 15:30:49 v2.2.0-dev.19 15:30:49 v2.2.0-dev.20 15:30:49 v2.2.0-dev.21 15:30:49 v2.2.0-dev.22 15:30:49 v2.2.0-dev.23 15:30:49 v2.2.0-dev.24 15:30:49 v2.2.0-dev.25 15:30:49 v2.2.0-dev.26 15:30:49 v2.2.0-dev.27 15:30:49 v2.3.0 15:30:49 v2.3.0-dev.1 15:30:49 v2.3.0-dev.10 15:30:49 v2.3.0-dev.11 15:30:49 v2.3.0-dev.12 15:30:49 v2.3.0-dev.13 15:30:49 v2.3.0-dev.14 15:30:49 v2.3.0-dev.15 15:30:49 v2.3.0-dev.16 15:30:49 v2.3.0-dev.17 15:30:49 v2.3.0-dev.18 15:30:49 v2.3.0-dev.19 15:30:49 v2.3.0-dev.2 15:30:49 v2.3.0-dev.20 15:30:49 v2.3.0-dev.21 15:30:49 v2.3.0-dev.22 15:30:49 v2.3.0-dev.23 15:30:49 v2.3.0-dev.24 15:30:49 v2.3.0-dev.25 15:30:49 v2.3.0-dev.26 15:30:49 v2.3.0-dev.27 15:30:49 v2.3.0-dev.28 15:30:49 v2.3.0-dev.3 15:30:49 v2.3.0-dev.4 15:30:49 v2.3.0-dev.5 15:30:49 v2.3.0-dev.6 15:30:49 v2.3.0-dev.7 15:30:49 v2.3.0-dev.8 15:30:49 v2.3.0-dev.9 15:30:49 v3.0.0-dev.1 15:30:49 v3.0.0-dev.2 15:30:49 v3.0.0-dev.3 15:30:49 v3.0.0-dev.4 15:30:49 v3.0.0-dev.5 15:30:49 v3.0.0-dev.6 15:30:49 v3.0.0-dev.7 [Pipeline] sh 15:30:49 + lftools sign git-tag v3.0.0-dev.7 15:30:50 Signing Git tag with Sigul... 15:30:50 Signing v3.0.0-dev.7 [Pipeline] echo 15:30:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:30:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:30:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:30:50 $ docker stop --time=1 e4826c1252f654f909f09c7b9278de2945962ffe9e8305135fe324c8014fa1b5 15:30:52 $ docker rm -f --volumes e4826c1252f654f909f09c7b9278de2945962ffe9e8305135fe324c8014fa1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:30:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:52 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:30:53 $ docker top af93c6b5a62eb55a0ed2f25d8c83eb1f7c98cc66e6b9e62b578310b97a27e8c6 -eo pid,comm 15:30:53 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). 15:30:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:53 [ssh-agent] Looking for ssh-agent implementation... 15:30:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:53 $ docker exec af93c6b5a62eb55a0ed2f25d8c83eb1f7c98cc66e6b9e62b578310b97a27e8c6 ssh-agent 15:30:53 SSH_AUTH_SOCK=/tmp/ssh-zMDwjcpdQXTj/agent.33 15:30:53 SSH_AGENT_PID=39 15:30:53 Running ssh-add (command line suppressed) 15:30:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13309958916566558214.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13309958916566558214.key) 15:30:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:54 + git semver bump pre 15:30:54 2023-02-16 15:30:54,303 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:54 2023-02-16 15:30:54,303 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev 15:30:54 2023-02-16 15:30:54,303 [bump_version] DEBUG bumped version:3.0.0-dev.8 15:30:54 2023-02-16 15:30:54,303 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 15:30:54 2023-02-16 15:30:54,303 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:54 2023-02-16 15:30:54,303 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:54 2023-02-16 15:30:54,305 [execute] INFO git cat-file --batch-check 15:30:54 2023-02-16 15:30:54,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:30:54 2023-02-16 15:30:54,310 [execute] INFO git cat-file --batch 15:30:54 2023-02-16 15:30:54,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:30:54 2023-02-16 15:30:54,315 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:30:54 3.0.0-dev.8 [Pipeline] } 15:30:54 $ docker exec --env ******** --env ******** af93c6b5a62eb55a0ed2f25d8c83eb1f7c98cc66e6b9e62b578310b97a27e8c6 ssh-agent -k 15:30:54 unset SSH_AUTH_SOCK; 15:30:54 unset SSH_AGENT_PID; 15:30:54 echo Agent pid 39 killed; 15:30:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:30:54 + git semver [Pipeline] } 15:30:55 $ docker stop --time=1 af93c6b5a62eb55a0ed2f25d8c83eb1f7c98cc66e6b9e62b578310b97a27e8c6 15:30:56 $ docker rm -f --volumes af93c6b5a62eb55a0ed2f25d8c83eb1f7c98cc66e6b9e62b578310b97a27e8c6 [Pipeline] // withDockerContainer [Pipeline] sh 15:30:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:57 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:30:57 $ 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 15:30:57 $ docker top 1d002db63f5ac029b434571e50327192c2a707f78b9ede56a6c52f86c42d701c -eo pid,comm 15:30:57 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). 15:30:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:57 [ssh-agent] Looking for ssh-agent implementation... 15:30:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:57 $ docker exec 1d002db63f5ac029b434571e50327192c2a707f78b9ede56a6c52f86c42d701c ssh-agent 15:30:57 SSH_AUTH_SOCK=/tmp/ssh-6XdP27WVUxiB/agent.33 15:30:57 SSH_AGENT_PID=39 15:30:57 Running ssh-add (command line suppressed) 15:30:57 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18056323020136040453.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18056323020136040453.key) 15:30:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:58 + git semver push 15:30:58 2023-02-16 15:30:58,378 [run_push] DEBUG push 15:30:58 2023-02-16 15:30:58,379 [execute] INFO git cat-file --batch-check 15:30:58 2023-02-16 15:30:58,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:30:58 2023-02-16 15:30:58,383 [execute] INFO git rev-list b106f0be520bb78b5297ba2cb0be5125d0dc0f66 -- 15:30:58 2023-02-16 15:30:58,384 [execute] DEBUG Popen(['git', 'rev-list', 'b106f0be520bb78b5297ba2cb0be5125d0dc0f66', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:30:58 2023-02-16 15:30:58,391 [execute] INFO git fetch -v origin 15:30:58 2023-02-16 15:30:58,391 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:30:59 2023-02-16 15:30:58,994 [run_push] DEBUG no remote changes detected 15:30:59 2023-02-16 15:30:58,994 [execute] INFO git push origin semver 15:30:59 2023-02-16 15:30:58,995 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:30:59 2023-02-16 15:30:59,819 [run_push] DEBUG push all version tags 15:30:59 2023-02-16 15:30:59,820 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:30:59 2023-02-16 15:30:59,820 [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) 15:31:00 2023-02-16 15:31:00,654 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:31:00 3.0.0-dev.8 [Pipeline] } 15:31:00 $ docker exec --env ******** --env ******** 1d002db63f5ac029b434571e50327192c2a707f78b9ede56a6c52f86c42d701c ssh-agent -k 15:31:00 unset SSH_AUTH_SOCK; 15:31:00 unset SSH_AGENT_PID; 15:31:00 echo Agent pid 39 killed; 15:31:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:31:01 + git semver [Pipeline] } 15:31:01 $ docker stop --time=1 1d002db63f5ac029b434571e50327192c2a707f78b9ede56a6c52f86c42d701c 15:31:02 $ docker rm -f --volumes 1d002db63f5ac029b434571e50327192c2a707f78b9ede56a6c52f86c42d701c [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 15:31:03 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 15:31:03 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:31:03 total 16 15:31:03 drwxr-xr-x 3 root root 4096 Feb 16 15:19 . 15:31:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 15:30 .. 15:31:03 drwxr-xr-x 2 root root 4096 Feb 16 15:19 cost 15:31:03 -rw-r--r-- 1 root root 88 Feb 16 15:19 cost.csv 15:31:03 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 15:31:03 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:31:03 total 16 15:31:03 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 15:19 . 15:31:03 drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 15:30 .. 15:31:03 drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 15:19 cost 15:31:03 -rw-r--r-- 1 jenkins jenkins 88 Feb 16 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:31:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:31:04 ---> package-listing.sh 15:31:04 ++ facter osfamily 15:31:04 ++ tr '[:upper:]' '[:lower:]' 15:31:04 + OS_FAMILY=debian 15:31:04 + workspace=/w/workspace/exfoundry_device-usb-camera_main 15:31:04 + START_PACKAGES=/tmp/packages_start.txt 15:31:04 + END_PACKAGES=/tmp/packages_end.txt 15:31:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:31:04 + PACKAGES=/tmp/packages_start.txt 15:31:04 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:31:04 + PACKAGES=/tmp/packages_end.txt 15:31:04 + case "${OS_FAMILY}" in 15:31:04 + dpkg -l 15:31:04 + grep '^ii' 15:31:04 + '[' -f /tmp/packages_start.txt ']' 15:31:04 + '[' -f /tmp/packages_end.txt ']' 15:31:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:31:04 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:31:04 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 15:31:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 15:31:04 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 15:31:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:31:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:05 prd-ubuntu20.04-docker-8c-8g-6309 does not seem to be running inside a container 15:31:05 $ 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 15:31:06 $ docker top 1e158ab9693644b32b2df44dfb8fe0bb7a289e0b3dad08782ef29c5d455c5c61 -eo pid,comm [Pipeline] { [Pipeline] sh 15:31:06 + touch /tmp/pre-build-complete [Pipeline] sh 15:31:06 + mkdir -p /var/log/sysstat [Pipeline] sh 15:31:07 + ls /var/log/sa-host 15:31:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:07 provisioning config files... 15:31:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13419351797097918376tmp [Pipeline] { [Pipeline] echo 15:31:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:31:07 ---> create-netrc.sh [Pipeline] } 15:31:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:31:07 ---> python-tools-install.sh [Pipeline] echo 15:31:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:31:08 ---> sudo-logs.sh 15:31:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:31:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:31:08 ---> job-cost.sh 15:31:08 lf-activate-venv: SKIPPING 15:31:08 DEBUG: total: 0.2199999988079071 15:31:08 INFO: Retrieving Stack Cost... 15:31:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:31:09 INFO: Archiving Costs [Pipeline] echo 15:31:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:31:10 ---> logs-deploy.sh 15:31:10 lf-activate-venv: SKIPPING 15:31:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/78 15:31:10 INFO: archiving workspace using pattern(s): 15:31:11 Archives upload complete. 15:31:11 INFO: archiving logs to Nexus