Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 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-ssh8014940988694536480.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14217118086688206943.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh9683758860645581190.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3696418514638407461.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-ssh13624694019718816617.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.21 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-17181 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 (main) Commit message: "Merge pull request #311 from cloudxxx8/changelog" > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 # timeout=10 > git rev-list --no-walk a4086434d3b8a0a90fcc5d93c3589c81a42138fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:07:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:07:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:07:24 ========================================================= 02:07:24 EdgeX Global Pipelines Version Info 02:07:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:07:25 ------------------- 02:07:25 stable info: 02:07:25 ------------------- 02:07:25 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 02:07:25 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 02:07:25 Message: update stable to v1.0.257 02:07:25 ------------------- 02:07:25 experimental info: 02:07:25 ------------------- 02:07:25 Commited By: **** collab-it+edgex@linuxfoundation.org 02:07:25 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 02:07:25 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ebfee9 [Pipeline] echo 02:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:26 provisioning config files... 02:07:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15272698577107661707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:26 ---> docker-login.sh 02:07:26 nexus3.edgexfoundry.org:10001 02:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 nexus3.edgexfoundry.org:10002 02:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 nexus3.edgexfoundry.org:10003 02:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 nexus3.edgexfoundry.org:10004 02:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 docker.io 02:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:27 Configure a credential helper to remove this warning. See 02:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:27 02:07:27 Login Succeeded 02:07:27 ---> docker-login.sh ends [Pipeline] } 02:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:07:28 + git rev-list -1 --merges 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8~1..9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] echo 02:07:28 -----------> git rev-list -1 --merges 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8~1..9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:07:28 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [false] [Pipeline] sh 02:07:28 + git log --format=format:%s -1 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] echo 02:07:28 ========================================================= 02:07:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:07:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:07:28 + git log --format=format:%s -1 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] echo 02:07:28 [semverPrep] GIT_COMMIT: 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8, Commit Message: Merge pull request #311 from cloudxxx8/changelog [Pipeline] echo 02:07:28 [semverPrep] This is not a build commit. [Pipeline] sh 02:07:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:07:29 + grep -v github /etc/ssh/ssh_known_hosts 02:07:29 + [ -e /tmp/ssh_known_hosts ] 02:07:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:07:29 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:07:29 sudo tee -a /etc/ssh/ssh_known_hosts 02:07:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:29 02:07:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:29 0.1.4: Pulling from edgex-devops/py-git-semver 02:07:29 b85a868b505f: Pulling fs layer 02:07:29 e2be974225ed: Pulling fs layer 02:07:29 339a4e72a1f5: Pulling fs layer 02:07:29 988bab9f4d93: Pulling fs layer 02:07:29 1469e6f7b9e6: Pulling fs layer 02:07:29 eaf3925da568: Pulling fs layer 02:07:29 bab4dde63d76: Pulling fs layer 02:07:29 bde34c3a00c8: Pulling fs layer 02:07:29 b352a97aabf1: Pulling fs layer 02:07:29 4872d77fe225: Pulling fs layer 02:07:29 5851b861e8e6: Pulling fs layer 02:07:29 988bab9f4d93: Waiting 02:07:29 1469e6f7b9e6: Waiting 02:07:29 eaf3925da568: Waiting 02:07:29 bab4dde63d76: Waiting 02:07:29 4872d77fe225: Waiting 02:07:29 bde34c3a00c8: Waiting 02:07:29 b352a97aabf1: Waiting 02:07:29 e2be974225ed: Download complete 02:07:29 988bab9f4d93: Verifying Checksum 02:07:29 988bab9f4d93: Download complete 02:07:30 1469e6f7b9e6: Verifying Checksum 02:07:30 1469e6f7b9e6: Download complete 02:07:30 339a4e72a1f5: Verifying Checksum 02:07:30 339a4e72a1f5: Download complete 02:07:30 eaf3925da568: Verifying Checksum 02:07:30 eaf3925da568: Download complete 02:07:30 bde34c3a00c8: Download complete 02:07:30 b352a97aabf1: Verifying Checksum 02:07:30 b352a97aabf1: Download complete 02:07:30 4872d77fe225: Verifying Checksum 02:07:30 5851b861e8e6: Download complete 02:07:30 b85a868b505f: Download complete 02:07:30 bab4dde63d76: Verifying Checksum 02:07:30 bab4dde63d76: Download complete 02:07:31 b85a868b505f: Pull complete 02:07:31 e2be974225ed: Pull complete 02:07:32 339a4e72a1f5: Pull complete 02:07:32 988bab9f4d93: Pull complete 02:07:32 1469e6f7b9e6: Pull complete 02:07:32 eaf3925da568: Pull complete 02:07:34 bab4dde63d76: Pull complete 02:07:34 bde34c3a00c8: Pull complete 02:07:34 b352a97aabf1: Pull complete 02:07:34 4872d77fe225: Pull complete 02:07:34 5851b861e8e6: Pull complete 02:07:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:07:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:34 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:07:40 $ docker top bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 -eo pid,comm 02:07:40 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). 02:07:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:07:40 [ssh-agent] Looking for ssh-agent implementation... 02:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:07:40 $ docker exec bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 ssh-agent 02:07:40 SSH_AUTH_SOCK=/tmp/ssh-aSaG8nPwXVwU/agent.32 02:07:40 SSH_AGENT_PID=38 02:07:40 Running ssh-add (command line suppressed) 02:07:40 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2496074889090840940.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2496074889090840940.key) 02:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:07:40 + git tag --points-at HEAD [Pipeline] } 02:07:40 $ docker exec --env ******** --env ******** bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 ssh-agent -k 02:07:40 unset SSH_AUTH_SOCK; 02:07:40 unset SSH_AGENT_PID; 02:07:40 echo Agent pid 38 killed; 02:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:07:40 [ssh-agent] Looking for ssh-agent implementation... 02:07:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:07:41 $ docker exec bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 ssh-agent 02:07:41 SSH_AUTH_SOCK=/tmp/ssh-QWUWqBLT82nm/agent.70 02:07:41 SSH_AGENT_PID=76 02:07:41 Running ssh-add (command line suppressed) 02:07:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13093345695425449828.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13093345695425449828.key) 02:07:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:07:41 + git semver init 02:07:41 2023-11-10 02:07:41,843 [run_init] DEBUG init version:0.0.0 force:False 02:07:41 2023-11-10 02:07:41,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 02:07:41 2023-11-10 02:07:41,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 02:07:41 2023-11-10 02:07:41,844 [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) 02:07:42 2023-11-10 02:07:42,623 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 02:07:42 2023-11-10 02:07:42,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 02:07:42 2023-11-10 02:07:42,626 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:07:42 2023-11-10 02:07:42,626 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:07:42 3.1.0-dev.38 [Pipeline] } 02:07:42 $ docker exec --env ******** --env ******** bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 ssh-agent -k 02:07:42 unset SSH_AUTH_SOCK; 02:07:42 unset SSH_AGENT_PID; 02:07:42 echo Agent pid 76 killed; 02:07:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:07:43 + git semver [Pipeline] } 02:07:43 $ docker stop --time=1 bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 02:07:44 $ docker rm -f --volumes bf812d775f27510e4fe9b7953eaa9e9e95137f8103949615cbdcaee021a4ac54 [Pipeline] // withDockerContainer [Pipeline] sh 02:07:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:07:45 Stashed 1 file(s) [Pipeline] echo 02:07:45 [edgeXSemver]: initialized semver on version 3.1.0-dev.38 [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 02:07:45 provisioning config files... 02:07:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1988588403122354706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:46 ---> docker-login.sh 02:07:46 nexus3.edgexfoundry.org:10001 02:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:46 Configure a credential helper to remove this warning. See 02:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:46 02:07:46 Login Succeeded 02:07:46 nexus3.edgexfoundry.org:10002 02:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:46 Configure a credential helper to remove this warning. See 02:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:46 02:07:46 Login Succeeded 02:07:46 nexus3.edgexfoundry.org:10003 02:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:46 Configure a credential helper to remove this warning. See 02:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:46 02:07:46 Login Succeeded 02:07:46 nexus3.edgexfoundry.org:10004 02:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:46 Configure a credential helper to remove this warning. See 02:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:46 02:07:46 Login Succeeded 02:07:46 docker.io 02:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:07:46 Configure a credential helper to remove this warning. See 02:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:07:46 02:07:46 Login Succeeded 02:07:46 ---> docker-login.sh ends [Pipeline] } 02:07:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:46 ========================================================= 02:07:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:07:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:07:47 Sending build context to Docker daemon 2.301MB 02:07:47 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 02:07:47 Step 2/13 : FROM ${BASE} AS builder 02:07:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:07:47 7264a8db6415: Pulling fs layer 02:07:47 c4d48a809fc2: Pulling fs layer 02:07:47 4f1c88b9dad5: Pulling fs layer 02:07:47 ad3a456e5733: Pulling fs layer 02:07:47 33e27b845d1e: Pulling fs layer 02:07:47 c68163c4e522: Pulling fs layer 02:07:47 50da416c3ac9: Pulling fs layer 02:07:47 23d2d4c4bb30: Pulling fs layer 02:07:47 23d2d4c4bb30: Waiting 02:07:47 33e27b845d1e: Waiting 02:07:47 ad3a456e5733: Waiting 02:07:47 50da416c3ac9: Waiting 02:07:47 c4d48a809fc2: Verifying Checksum 02:07:47 c4d48a809fc2: Download complete 02:07:47 ad3a456e5733: Verifying Checksum 02:07:47 ad3a456e5733: Download complete 02:07:47 33e27b845d1e: Download complete 02:07:47 7264a8db6415: Verifying Checksum 02:07:47 7264a8db6415: Download complete 02:07:47 c68163c4e522: Verifying Checksum 02:07:47 c68163c4e522: Download complete 02:07:47 7264a8db6415: Pull complete 02:07:47 23d2d4c4bb30: Verifying Checksum 02:07:47 23d2d4c4bb30: Download complete 02:07:47 4f1c88b9dad5: Verifying Checksum 02:07:47 4f1c88b9dad5: Download complete 02:07:48 c4d48a809fc2: Pull complete 02:07:48 50da416c3ac9: Verifying Checksum 02:07:48 50da416c3ac9: Download complete 02:07:52 4f1c88b9dad5: Pull complete 02:07:52 ad3a456e5733: Pull complete 02:07:52 33e27b845d1e: Pull complete 02:07:52 c68163c4e522: Pull complete 02:07:54 50da416c3ac9: Pull complete 02:07:54 23d2d4c4bb30: Pull complete 02:07:54 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 02:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:07:54 ---> 0786185ac409 02:07:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:08:00 Still waiting to schedule task 02:08:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17177’ 02:08:01 ---> Running in 50709caaeb19 02:08:01 Removing intermediate container 50709caaeb19 02:08:01 ---> 97e2f8407f49 02:08:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:08:01 ---> Running in 9340b05ab947 02:08:01 Removing intermediate container 9340b05ab947 02:08:01 ---> 01c6baa34da2 02:08:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:08:01 ---> Running in c778a39254d5 02:08:01 Removing intermediate container c778a39254d5 02:08:01 ---> e06977173725 02:08:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:08:01 ---> Running in 1b5050330e8e 02:08:01 Removing intermediate container 1b5050330e8e 02:08:01 ---> b7c26ec4ffa7 02:08:01 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:08:01 ---> Running in a1eb1298a89e 02:08:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:08:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:08:01 (1/13) Installing libintl (0.21.1-r7) 02:08:01 (2/13) Installing eudev-libs (3.2.11-r8) 02:08:01 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 02:08:01 (4/13) Installing v4l-utils-libs (1.24.1-r0) 02:08:01 (5/13) Installing v4l-utils (1.24.1-r0) 02:08:01 (6/13) Installing libdvbv5 (1.24.1-r0) 02:08:01 (7/13) Installing udev-init-scripts (35-r1) 02:08:01 (8/13) Installing libblkid (2.38.1-r8) 02:08:01 (9/13) Installing xz-libs (5.4.3-r0) 02:08:01 (10/13) Installing kmod-libs (30-r3) 02:08:01 (11/13) Installing eudev (3.2.11-r8) 02:08:01 (12/13) Installing eudev-dev (3.2.11-r8) 02:08:01 (13/13) Installing v4l-utils-dev (1.24.1-r0) 02:08:01 Executing busybox-1.36.1-r2.trigger 02:08:01 Executing eudev-3.2.11-r8.trigger 02:08:01 OK: 271 MiB in 65 packages 02:08:03 Removing intermediate container a1eb1298a89e 02:08:03 ---> ca39b7b59c15 02:08:03 Step 8/13 : WORKDIR /device-usb-camera 02:08:03 ---> Running in 75af3cb9b023 02:08:03 Removing intermediate container 75af3cb9b023 02:08:03 ---> f2789718e932 02:08:03 Step 9/13 : COPY go.mod vendor* ./ 02:08:04 ---> 4eef7001395f 02:08:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:04 ---> Running in 98e94631c718 02:08:51 Removing intermediate container 98e94631c718 02:08:51 ---> 1c929596b006 02:08:51 Step 11/13 : COPY . . 02:08:51 ---> 4c635c6b8e21 02:08:51 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:08:51 ---> Running in 2a2c443e4504 02:08:51  % Total % Received % Xferd Average Speed Time Time Time Current 02:08:51  Dload Upload Total Spent Left Speed 02:08:51  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 8394 0 --:--:-- --:--:-- --:--:-- 8409 02:08:51 Removing intermediate container 2a2c443e4504 02:08:51 ---> f39b186deece 02:08:51 Step 13/13 : RUN ${MAKE} 02:08:51 ---> Running in fb064174aa96 02:08:51 noop 02:08:51 Removing intermediate container fb064174aa96 02:08:51 ---> 4640b816c14a 02:08:51 Successfully built 4640b816c14a 02:08:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:51 + docker inspect -f . ci-base-image-x86_64 02:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:51 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:08:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:08:52 $ docker top 7e0b6c52aa19bc7a8c64c118629879fca4890115ffc8c1b4a232ac71ae59c024 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:52 + go version 02:08:52 go version go1.21.0 linux/amd64 [Pipeline] } 02:08:53 $ docker stop --time=1 7e0b6c52aa19bc7a8c64c118629879fca4890115ffc8c1b4a232ac71ae59c024 02:08:54 $ docker rm -f --volumes 7e0b6c52aa19bc7a8c64c118629879fca4890115ffc8c1b4a232ac71ae59c024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:55 + docker inspect -f . ci-base-image-x86_64 02:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:55 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:08:56 $ docker top 5f077c76b0d3f7ad3402472308b2b03e7067a2eb5073a8fb8e17055d20d10818 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:56 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 02:08:57 + make test 02:08:57 go test ./... -coverprofile=coverage.out ./... 02:09:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:09:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:09:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 4.4% of statements 02:09:19 go vet ./... 02:09:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:09:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:09:22 ./bin/test-attribution-txt.sh [Pipeline] echo 02:09:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:09:22 $ docker stop --time=1 5f077c76b0d3f7ad3402472308b2b03e7067a2eb5073a8fb8e17055d20d10818 02:09:27 $ docker rm -f --volumes 5f077c76b0d3f7ad3402472308b2b03e7067a2eb5073a8fb8e17055d20d10818 [Pipeline] // withDockerContainer [Pipeline] sh 02:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:09:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:09:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:09:28 + ls -al . 02:09:28 total 224 02:09:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 02:08 . 02:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:07 .. 02:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:09 .git 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 .github 02:09:28 -rw-rw-r-- 1 jenkins jenkins 429 Nov 10 02:07 .gitignore 02:09:28 -rw-rw-r-- 1 jenkins jenkins 45 Nov 10 02:07 .golangci.yml 02:09:28 -rw-rw-r-- 1 jenkins jenkins 77 Nov 10 02:07 .hadolint.yml 02:09:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:07 .semver 02:09:28 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 10 02:07 Attribution.txt 02:09:28 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 10 02:07 CHANGELOG.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 10 02:07 Dockerfile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 678 Nov 10 02:07 GOVERNANCE.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 659 Nov 10 02:07 Jenkinsfile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 02:07 LICENSE 02:09:28 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 10 02:07 Makefile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 622 Nov 10 02:07 OWNERS.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 10 02:07 README.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION 02:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:07 bin 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 cmd 02:09:28 -rw-r--r-- 1 jenkins jenkins 54703 Nov 10 02:09 coverage.out 02:09:28 -rwxrwxr-x 1 jenkins jenkins 84 Nov 10 02:07 docker-entrypoint.sh 02:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:07 docs 02:09:28 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 10 02:07 go.mod 02:09:28 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 10 02:07 go.sum 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:07 internal 02:09:28 -rw-rw-r-- 1 jenkins jenkins 231 Nov 10 02:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:28 + 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=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 --label arch=amd64 --label version=3.1.0-dev.38 . 02:09:28 Sending build context to Docker daemon 2.356MB 02:09:28 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 02:09:28 Step 2/36 : FROM ${BASE} AS builder 02:09:28 ---> 4640b816c14a 02:09:28 Step 3/36 : ARG ADD_BUILD_TAGS="" 02:09:28 ---> Running in 3509638d6766 02:09:29 Removing intermediate container 3509638d6766 02:09:29 ---> 1231012724cf 02:09:29 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:09:29 ---> Running in 7b38f30bf4c7 02:09:29 Removing intermediate container 7b38f30bf4c7 02:09:29 ---> 7ccd789fba63 02:09:29 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:09:29 ---> Running in b211fdcb7731 02:09:29 Removing intermediate container b211fdcb7731 02:09:29 ---> 8ffcfb66227a 02:09:29 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:09:29 ---> Running in 1c8e2e07adaf 02:09:29 Removing intermediate container 1c8e2e07adaf 02:09:29 ---> 63cdb77b1fb4 02:09:29 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:09:29 ---> Running in 2581c542e022 02:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:09:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:09:30 OK: 271 MiB in 65 packages 02:09:30 Removing intermediate container 2581c542e022 02:09:30 ---> bb66ecaff83c 02:09:30 Step 8/36 : WORKDIR /device-usb-camera 02:09:30 ---> Running in 980bec5794ce 02:09:30 Removing intermediate container 980bec5794ce 02:09:30 ---> 5878ef10a37a 02:09:30 Step 9/36 : COPY go.mod vendor* ./ 02:09:30 ---> 26e65760d7fd 02:09:30 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:09:30 ---> Running in 2a92c39a2ff9 02:09:31 Removing intermediate container 2a92c39a2ff9 02:09:31 ---> 4f2356355849 02:09:31 Step 11/36 : COPY . . 02:09:31 ---> e7a1ef124467 02:09:31 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:09:31 ---> Running in e7ae1a348890 02:09:31  % Total % Received % Xferd Average Speed Time Time Time Current 02:09:31  Dload Upload Total Spent Left Speed 02:09:31  0 0  0  0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 39136 0 --:--:-- --:--:-- --:--:-- 40419 02:09:31 Removing intermediate container e7ae1a348890 02:09:31 ---> 77ba71381396 02:09:31 Step 13/36 : RUN ${MAKE} 02:09:32 ---> Running in 469e17a512ee 02:09:32 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:09:59 Removing intermediate container 469e17a512ee 02:09:59 ---> 364b2348f626 02:09:59 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:09:59 v0.21.6: Pulling from aler9/rtsp-simple-server 02:09:59 4acc49c71d14: Pulling fs layer 02:09:59 4acc49c71d14: Verifying Checksum 02:09:59 4acc49c71d14: Download complete 02:09:59 4acc49c71d14: Pull complete 02:09:59 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:09:59 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:09:59 ---> 01a2bd3e5fff 02:09:59 Step 15/36 : FROM alpine:3.18 02:09:59 3.18: Pulling from library/alpine 02:09:59 96526aa774ef: Pulling fs layer 02:10:00 96526aa774ef: Verifying Checksum 02:10:00 96526aa774ef: Download complete 02:10:00 96526aa774ef: Pull complete 02:10:00 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:10:00 Status: Downloaded newer image for alpine:3.18 02:10:00 ---> 8ca4688f4f35 02:10:00 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 02:10:02 ---> Running in 3f00e257ba87 02:10:03 Removing intermediate container 3f00e257ba87 02:10:03 ---> fb650ead5e7a 02:10:03 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:10:03 ---> Running in 376ef2747943 02:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:10:03 (1/107) Installing dumb-init (1.2.5-r2) 02:10:03 (2/107) Installing sdl2 (2.26.5-r0) 02:10:03 (3/107) Installing svt-av1-libs (1.6.0-r0) 02:10:04 (4/107) Installing aom-libs (3.6.1-r0) 02:10:04 (5/107) Installing libxau (1.0.11-r2) 02:10:04 (6/107) Installing libmd (1.0.4-r2) 02:10:04 (7/107) Installing libbsd (0.11.7-r1) 02:10:04 (8/107) Installing libxdmcp (1.1.4-r2) 02:10:04 (9/107) Installing libxcb (1.15-r1) 02:10:04 (10/107) Installing libx11 (1.8.7-r0) 02:10:04 (11/107) Installing hwdata-pci (0.370-r0) 02:10:04 (12/107) Installing libpciaccess (0.17-r2) 02:10:04 (13/107) Installing libdrm (2.4.115-r4) 02:10:04 (14/107) Installing libxext (1.3.5-r2) 02:10:04 (15/107) Installing libxfixes (6.0.1-r2) 02:10:04 (16/107) Installing libffi (3.4.4-r2) 02:10:04 (17/107) Installing wayland-libs-client (1.22.0-r2) 02:10:04 (18/107) Installing libva (2.18.0-r1) 02:10:04 (19/107) Installing libvdpau (1.5-r1) 02:10:04 (20/107) Installing libgcc (12.2.1_git20220924-r10) 02:10:04 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 02:10:04 (22/107) Installing onevpl-libs (2023.2.1-r0) 02:10:04 (23/107) Installing ffmpeg-libavutil (6.0-r15) 02:10:04 (24/107) Installing libdav1d (1.2.1-r0) 02:10:04 (25/107) Installing brotli-libs (1.0.9-r14) 02:10:04 (26/107) Installing libhwy (1.0.4-r1) 02:10:04 (27/107) Installing lcms2 (2.15-r2) 02:10:04 (28/107) Installing libjxl (0.8.2-r0) 02:10:04 (29/107) Installing lame-libs (3.100-r5) 02:10:04 (30/107) Installing opus (1.4-r0) 02:10:04 (31/107) Installing libgomp (12.2.1_git20220924-r10) 02:10:04 (32/107) Installing soxr (0.1.3-r5) 02:10:04 (33/107) Installing ffmpeg-libswresample (6.0-r15) 02:10:04 (34/107) Installing libogg (1.3.5-r4) 02:10:04 (35/107) Installing libtheora (1.1.1-r17) 02:10:04 (36/107) Installing libvorbis (1.3.7-r1) 02:10:04 (37/107) Installing libvpx (1.13.0-r2) 02:10:04 (38/107) Installing libwebp (1.3.2-r0) 02:10:04 (39/107) Installing x264-libs (0.164_git20220602-r1) 02:10:04 (40/107) Installing numactl (2.0.16-r4) 02:10:04 (41/107) Installing x265-libs (3.5-r4) 02:10:04 (42/107) Installing xvidcore (1.3.7-r1) 02:10:04 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 02:10:04 (44/107) Installing alsa-lib (1.2.9-r1) 02:10:04 (45/107) Installing libexpat (2.5.0-r1) 02:10:04 (46/107) Installing libbz2 (1.0.8-r5) 02:10:04 (47/107) Installing libpng (1.6.39-r3) 02:10:04 (48/107) Installing freetype (2.13.0-r5) 02:10:04 (49/107) Installing fontconfig (2.14.2-r3) 02:10:04 (50/107) Installing fribidi (1.0.13-r0) 02:10:04 (51/107) Installing libintl (0.21.1-r7) 02:10:04 (52/107) Installing libblkid (2.38.1-r8) 02:10:04 (53/107) Installing libmount (2.38.1-r8) 02:10:04 (54/107) Installing pcre2 (10.42-r1) 02:10:04 (55/107) Installing glib (2.76.4-r0) 02:10:04 (56/107) Installing graphite2 (1.3.14-r5) 02:10:04 (57/107) Installing harfbuzz (7.3.0-r0) 02:10:04 (58/107) Installing libunibreak (5.1-r0) 02:10:04 (59/107) Installing libass (0.17.1-r0) 02:10:04 (60/107) Installing libbluray (1.3.4-r0) 02:10:04 (61/107) Installing gmp (6.2.1-r3) 02:10:04 (62/107) Installing nettle (3.8.1-r2) 02:10:04 (63/107) Installing libunistring (1.1-r1) 02:10:04 (64/107) Installing libidn2 (2.3.4-r1) 02:10:04 (65/107) Installing p11-kit (0.24.1-r2) 02:10:04 (66/107) Installing libtasn1 (4.19.0-r1) 02:10:04 (67/107) Installing gnutls (3.8.0-r2) 02:10:04 (68/107) Installing mpg123-libs (1.31.3-r1) 02:10:04 (69/107) Installing libopenmpt (0.7.2-r0) 02:10:04 (70/107) Installing cjson (1.7.15-r4) 02:10:04 (71/107) Installing mbedtls (2.28.5-r0) 02:10:04 (72/107) Installing librist (0.2.7-r0) 02:10:04 (73/107) Installing libsrt (1.5.2-r0) 02:10:04 (74/107) Installing libssh (0.10.5-r0) 02:10:04 (75/107) Installing xz-libs (5.4.3-r0) 02:10:04 (76/107) Installing libxml2 (2.11.4-r0) 02:10:04 (77/107) Installing libsodium (1.0.18-r3) 02:10:04 (78/107) Installing libzmq (4.3.4-r4) 02:10:05 (79/107) Installing ffmpeg-libavformat (6.0-r15) 02:10:05 (80/107) Installing glslang-libs (1.3.243.0-r1) 02:10:05 (81/107) Installing spirv-tools (1.3.243.0-r1) 02:10:05 (82/107) Installing shaderc (2023.3-r1) 02:10:05 (83/107) Installing vulkan-loader (1.3.243.0-r1) 02:10:05 (84/107) Installing libplacebo (5.264.1-r1) 02:10:05 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 02:10:05 (86/107) Installing ffmpeg-libswscale (6.0-r15) 02:10:05 (87/107) Installing vidstab (1.1.1-r0) 02:10:05 (88/107) Installing zimg (3.0.5-r0) 02:10:05 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 02:10:05 (90/107) Installing libasyncns (0.8-r1) 02:10:05 (91/107) Installing dbus-libs (1.14.8-r0) 02:10:05 (92/107) Installing libltdl (2.4.7-r2) 02:10:05 (93/107) Installing orc (0.4.34-r0) 02:10:05 (94/107) Installing flac-libs (1.4.3-r0) 02:10:05 (95/107) Installing libsndfile (1.2.0-r2) 02:10:05 (96/107) Installing speexdsp (1.2.1-r1) 02:10:05 (97/107) Installing tdb-libs (1.4.8-r1) 02:10:05 (98/107) Installing libpulse (16.1-r10) 02:10:05 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 02:10:05 (100/107) Installing v4l-utils-libs (1.24.1-r0) 02:10:05 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 02:10:05 (102/107) Installing ffmpeg (6.0-r15) 02:10:05 (103/107) Installing udev-init-scripts (35-r1) 02:10:05 (104/107) Installing eudev-libs (3.2.11-r8) 02:10:05 (105/107) Installing zstd-libs (1.5.5-r4) 02:10:05 (106/107) Installing kmod-libs (30-r3) 02:10:05 (107/107) Installing eudev (3.2.11-r8) 02:10:05 Executing busybox-1.36.1-r2.trigger 02:10:05 Executing glib-2.76.4-r0.trigger 02:10:05 Executing eudev-3.2.11-r8.trigger 02:10:05 OK: 131 MiB in 122 packages 02:10:10 Removing intermediate container 376ef2747943 02:10:10 ---> f6094f96a4ab 02:10:10 Step 18/36 : WORKDIR / 02:10:10 ---> Running in f2ba52af6fdf 02:10:10 Removing intermediate container f2ba52af6fdf 02:10:10 ---> 69b2a5af1cba 02:10:10 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 02:10:11 ---> 3a9ac1950b30 02:10:11 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 02:10:11 ---> 553db5a22610 02:10:11 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:10:12 ---> 32e4e3d5d612 02:10:12 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:10:12 ---> 3ead29762efa 02:10:12 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:10:12 ---> 8e933b4e5fcd 02:10:12 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 02:10:12 ---> 3c89b4256595 02:10:12 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 02:10:13 ---> b373a45c528f 02:10:13 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:10:13 ---> Running in 13b027127a71 02:10:14 Removing intermediate container 13b027127a71 02:10:14 ---> f7d76b0c9ccc 02:10:14 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:10:14 ---> Running in d4ddd9ccdf8d 02:10:15 Removing intermediate container d4ddd9ccdf8d 02:10:15 ---> b4f701e8e59d 02:10:15 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:10:15 ---> Running in a598d6aaaa99 02:10:15 Removing intermediate container a598d6aaaa99 02:10:15 ---> 6d8642c44f23 02:10:15 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 02:10:15 ---> Running in 25093cc67009 02:10:16 Removing intermediate container 25093cc67009 02:10:16 ---> f9850a9d673e 02:10:16 Step 30/36 : EXPOSE 59983 02:10:16 ---> Running in 2d3fb5d21f0c 02:10:16 Removing intermediate container 2d3fb5d21f0c 02:10:16 ---> 617471de471a 02:10:16 Step 31/36 : EXPOSE 8554 02:10:16 ---> Running in 9d59f9b9e421 02:10:16 Removing intermediate container 9d59f9b9e421 02:10:16 ---> 8e7498022fe0 02:10:16 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:10:16 ---> Running in e1be9621fa2a 02:10:16 Removing intermediate container e1be9621fa2a 02:10:16 ---> b6860b209b30 02:10:16 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:10:16 ---> Running in 8a3ec5128875 02:10:16 Removing intermediate container 8a3ec5128875 02:10:16 ---> e9806f739b1b 02:10:16 Step 34/36 : LABEL arch=amd64 02:10:16 ---> Running in f40bb5d08e53 02:10:16 Removing intermediate container f40bb5d08e53 02:10:16 ---> 8ee606b3286b 02:10:16 Step 35/36 : LABEL git_sha=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:10:16 ---> Running in c3a27203e016 02:10:16 Removing intermediate container c3a27203e016 02:10:16 ---> e668df174179 02:10:16 Step 36/36 : LABEL version=3.1.0-dev.38 02:10:16 ---> Running in 45a7c45ebb5d 02:10:16 Removing intermediate container 45a7c45ebb5d 02:10:16 ---> dee6f83632bb 02:10:16 [Warning] One or more build-args [ARCH] were not consumed 02:10:16 Successfully built dee6f83632bb 02:10:16 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 02:10:17 provisioning config files... 02:10:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8079327569648165422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:17 ---> docker-login.sh 02:10:17 nexus3.edgexfoundry.org:10001 02:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:17 Configure a credential helper to remove this warning. See 02:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:17 02:10:17 Login Succeeded 02:10:17 nexus3.edgexfoundry.org:10002 02:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:17 Configure a credential helper to remove this warning. See 02:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:17 02:10:17 Login Succeeded 02:10:17 nexus3.edgexfoundry.org:10003 02:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:17 Configure a credential helper to remove this warning. See 02:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:17 02:10:17 Login Succeeded 02:10:17 nexus3.edgexfoundry.org:10004 02:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:17 Configure a credential helper to remove this warning. See 02:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:17 02:10:17 Login Succeeded 02:10:17 docker.io 02:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:10:17 Configure a credential helper to remove this warning. See 02:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:10:17 02:10:17 Login Succeeded 02:10:17 ---> docker-login.sh ends [Pipeline] } 02:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:10:17 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 02:10:17 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:10:17 latest 02:10:17 3.1.0-dev.38 02:10:17 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:10:17 main 02:10:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:10:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:10:18 a2f6f37c510c: Preparing 02:10:18 70f8e6c898d2: Preparing 02:10:18 a9eef5d6748d: Preparing 02:10:18 a4d7da1043ce: Preparing 02:10:18 3827b5b91e75: Preparing 02:10:18 acc83c6ca332: Preparing 02:10:18 0676223bf298: Preparing 02:10:18 beebdd3fa471: Preparing 02:10:18 75d473797e8f: Preparing 02:10:18 2bcff0c83fa8: Preparing 02:10:18 53e51544c057: Preparing 02:10:18 7f227d9232df: Preparing 02:10:18 cc2447e1835a: Preparing 02:10:18 acc83c6ca332: Waiting 02:10:18 0676223bf298: Waiting 02:10:18 beebdd3fa471: Waiting 02:10:18 75d473797e8f: Waiting 02:10:18 2bcff0c83fa8: Waiting 02:10:18 53e51544c057: Waiting 02:10:18 7f227d9232df: Waiting 02:10:18 cc2447e1835a: Waiting 02:10:18 70f8e6c898d2: Pushed 02:10:18 a4d7da1043ce: Pushed 02:10:18 a2f6f37c510c: Pushed 02:10:18 a9eef5d6748d: Pushed 02:10:18 acc83c6ca332: Pushed 02:10:18 beebdd3fa471: Pushed 02:10:18 0676223bf298: Pushed 02:10:18 75d473797e8f: Pushed 02:10:18 cc2447e1835a: Layer already exists 02:10:18 2bcff0c83fa8: Pushed 02:10:21 3827b5b91e75: Pushed 02:10:21 53e51544c057: Pushed 02:10:31 7f227d9232df: Pushed 02:10:31 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8: digest: sha256:66a1404b9faf62a78a5ddd05ae8876d8100d072f9d098e4f01f6bbba71696491 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:31 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:32 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 02:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:10:32 a2f6f37c510c: Preparing 02:10:32 70f8e6c898d2: Preparing 02:10:32 a9eef5d6748d: Preparing 02:10:32 a4d7da1043ce: Preparing 02:10:32 3827b5b91e75: Preparing 02:10:32 acc83c6ca332: Preparing 02:10:32 0676223bf298: Preparing 02:10:32 beebdd3fa471: Preparing 02:10:32 75d473797e8f: Preparing 02:10:32 2bcff0c83fa8: Preparing 02:10:32 53e51544c057: Preparing 02:10:32 7f227d9232df: Preparing 02:10:32 cc2447e1835a: Preparing 02:10:32 acc83c6ca332: Waiting 02:10:32 0676223bf298: Waiting 02:10:32 beebdd3fa471: Waiting 02:10:32 7f227d9232df: Waiting 02:10:32 75d473797e8f: Waiting 02:10:32 cc2447e1835a: Waiting 02:10:32 53e51544c057: Waiting 02:10:32 2bcff0c83fa8: Waiting 02:10:32 70f8e6c898d2: Layer already exists 02:10:32 a2f6f37c510c: Layer already exists 02:10:32 a4d7da1043ce: Layer already exists 02:10:32 a9eef5d6748d: Layer already exists 02:10:32 3827b5b91e75: Layer already exists 02:10:32 75d473797e8f: Layer already exists 02:10:32 acc83c6ca332: Layer already exists 02:10:32 0676223bf298: Layer already exists 02:10:32 beebdd3fa471: Layer already exists 02:10:32 2bcff0c83fa8: Layer already exists 02:10:32 53e51544c057: Layer already exists 02:10:32 cc2447e1835a: Layer already exists 02:10:32 7f227d9232df: Layer already exists 02:10:32 latest: digest: sha256:66a1404b9faf62a78a5ddd05ae8876d8100d072f9d098e4f01f6bbba71696491 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:32 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:32 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.38 02:10:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:10:32 a2f6f37c510c: Preparing 02:10:32 70f8e6c898d2: Preparing 02:10:32 a9eef5d6748d: Preparing 02:10:32 a4d7da1043ce: Preparing 02:10:32 3827b5b91e75: Preparing 02:10:32 acc83c6ca332: Preparing 02:10:32 0676223bf298: Preparing 02:10:32 beebdd3fa471: Preparing 02:10:32 75d473797e8f: Preparing 02:10:32 2bcff0c83fa8: Preparing 02:10:32 53e51544c057: Preparing 02:10:32 7f227d9232df: Preparing 02:10:32 cc2447e1835a: Preparing 02:10:32 0676223bf298: Waiting 02:10:32 beebdd3fa471: Waiting 02:10:32 75d473797e8f: Waiting 02:10:32 2bcff0c83fa8: Waiting 02:10:32 53e51544c057: Waiting 02:10:32 7f227d9232df: Waiting 02:10:32 cc2447e1835a: Waiting 02:10:32 acc83c6ca332: Waiting 02:10:32 70f8e6c898d2: Layer already exists 02:10:32 a2f6f37c510c: Layer already exists 02:10:32 3827b5b91e75: Layer already exists 02:10:32 a9eef5d6748d: Layer already exists 02:10:32 a4d7da1043ce: Layer already exists 02:10:32 acc83c6ca332: Layer already exists 02:10:32 beebdd3fa471: Layer already exists 02:10:32 2bcff0c83fa8: Layer already exists 02:10:32 75d473797e8f: Layer already exists 02:10:32 0676223bf298: Layer already exists 02:10:32 53e51544c057: Layer already exists 02:10:32 7f227d9232df: Layer already exists 02:10:32 cc2447e1835a: Layer already exists 02:10:32 3.1.0-dev.38: digest: sha256:66a1404b9faf62a78a5ddd05ae8876d8100d072f9d098e4f01f6bbba71696491 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:33 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:10:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:10:33 a2f6f37c510c: Preparing 02:10:33 70f8e6c898d2: Preparing 02:10:33 a9eef5d6748d: Preparing 02:10:33 a4d7da1043ce: Preparing 02:10:33 3827b5b91e75: Preparing 02:10:33 acc83c6ca332: Preparing 02:10:33 0676223bf298: Preparing 02:10:33 beebdd3fa471: Preparing 02:10:33 75d473797e8f: Preparing 02:10:33 2bcff0c83fa8: Preparing 02:10:33 53e51544c057: Preparing 02:10:33 7f227d9232df: Preparing 02:10:33 cc2447e1835a: Preparing 02:10:33 2bcff0c83fa8: Waiting 02:10:33 acc83c6ca332: Waiting 02:10:33 0676223bf298: Waiting 02:10:33 beebdd3fa471: Waiting 02:10:33 75d473797e8f: Waiting 02:10:33 53e51544c057: Waiting 02:10:33 7f227d9232df: Waiting 02:10:33 cc2447e1835a: Waiting 02:10:33 3827b5b91e75: Layer already exists 02:10:33 70f8e6c898d2: Layer already exists 02:10:33 a2f6f37c510c: Layer already exists 02:10:33 a4d7da1043ce: Layer already exists 02:10:33 a9eef5d6748d: Layer already exists 02:10:33 75d473797e8f: Layer already exists 02:10:33 acc83c6ca332: Layer already exists 02:10:33 2bcff0c83fa8: Layer already exists 02:10:33 53e51544c057: Layer already exists 02:10:33 cc2447e1835a: Layer already exists 02:10:33 7f227d9232df: Layer already exists 02:10:33 0676223bf298: Layer already exists 02:10:33 beebdd3fa471: Layer already exists 02:10:33 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38: digest: sha256:66a1404b9faf62a78a5ddd05ae8876d8100d072f9d098e4f01f6bbba71696491 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 02:10:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:10:34 a2f6f37c510c: Preparing 02:10:34 70f8e6c898d2: Preparing 02:10:34 a9eef5d6748d: Preparing 02:10:34 a4d7da1043ce: Preparing 02:10:34 3827b5b91e75: Preparing 02:10:34 acc83c6ca332: Preparing 02:10:34 0676223bf298: Preparing 02:10:34 beebdd3fa471: Preparing 02:10:34 75d473797e8f: Preparing 02:10:34 2bcff0c83fa8: Preparing 02:10:34 53e51544c057: Preparing 02:10:34 7f227d9232df: Preparing 02:10:34 cc2447e1835a: Preparing 02:10:34 0676223bf298: Waiting 02:10:34 beebdd3fa471: Waiting 02:10:34 75d473797e8f: Waiting 02:10:34 2bcff0c83fa8: Waiting 02:10:34 53e51544c057: Waiting 02:10:34 7f227d9232df: Waiting 02:10:34 cc2447e1835a: Waiting 02:10:34 acc83c6ca332: Waiting 02:10:34 a4d7da1043ce: Layer already exists 02:10:34 3827b5b91e75: Layer already exists 02:10:34 a2f6f37c510c: Layer already exists 02:10:34 70f8e6c898d2: Layer already exists 02:10:34 beebdd3fa471: Layer already exists 02:10:34 acc83c6ca332: Layer already exists 02:10:34 0676223bf298: Layer already exists 02:10:34 75d473797e8f: Layer already exists 02:10:34 2bcff0c83fa8: Layer already exists 02:10:34 53e51544c057: Layer already exists 02:10:34 cc2447e1835a: Layer already exists 02:10:34 7f227d9232df: Layer already exists 02:10:34 a9eef5d6748d: Layer already exists 02:10:34 main: digest: sha256:66a1404b9faf62a78a5ddd05ae8876d8100d072f9d098e4f01f6bbba71696491 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:10:35 ===================================================== [Pipeline] echo 02:10:35 taggedImages: 02:10:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:10:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 02:10:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.38 02:10:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:10:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:35 02:10:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:35 latest: Pulling from edgex-lftools-log-publisher 02:10:35 5eb5b503b376: Pulling fs layer 02:10:35 5c69ac0246d0: Pulling fs layer 02:10:35 ec43610c2a17: Pulling fs layer 02:10:35 3a2ae6a8a46f: Pulling fs layer 02:10:35 33b1e0a273af: Pulling fs layer 02:10:35 5d3b04190fa2: Pulling fs layer 02:10:35 2f39f015ded8: Pulling fs layer 02:10:35 3a2ae6a8a46f: Waiting 02:10:35 33b1e0a273af: Waiting 02:10:35 5d3b04190fa2: Waiting 02:10:35 2f39f015ded8: Waiting 02:10:35 5c69ac0246d0: Download complete 02:10:35 3a2ae6a8a46f: Verifying Checksum 02:10:35 3a2ae6a8a46f: Download complete 02:10:35 33b1e0a273af: Verifying Checksum 02:10:35 33b1e0a273af: Download complete 02:10:35 ec43610c2a17: Verifying Checksum 02:10:35 ec43610c2a17: Download complete 02:10:35 5d3b04190fa2: Verifying Checksum 02:10:35 5d3b04190fa2: Download complete 02:10:35 5eb5b503b376: Verifying Checksum 02:10:35 5eb5b503b376: Download complete 02:10:36 2f39f015ded8: Verifying Checksum 02:10:36 2f39f015ded8: Download complete 02:10:37 5eb5b503b376: Pull complete 02:10:37 5c69ac0246d0: Pull complete 02:10:37 ec43610c2a17: Pull complete 02:10:37 3a2ae6a8a46f: Pull complete 02:10:38 33b1e0a273af: Pull complete 02:10:38 5d3b04190fa2: Pull complete 02:10:43 2f39f015ded8: Pull complete 02:10:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:10:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:43 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:10:48 $ docker top ff055dc25a9237912104c05de50fcc7ec0d646d833284b2d49b1c444a13248c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:10:48 ---> job-cost.sh 02:10:48 lf-activate-venv: SKIPPING 02:10:48 INFO: No Stack... 02:10:49 INFO: Retrieving Pricing Info for: v3-standard-8 02:10:49 INFO: Archiving Costs [Pipeline] sh 02:10:49 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 02:10:49 + cut -d, -f6 [Pipeline] lock 02:10:49 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] 02:10:49 Resource [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] did not exist. Created. 02:10:49 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:10:50 + echo total: 0.2199999988079071 [Pipeline] stash 02:10:50 Stashed 1 file(s) [Pipeline] } 02:10:50 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 02:10:50 $ docker stop --time=1 ff055dc25a9237912104c05de50fcc7ec0d646d833284b2d49b1c444a13248c9 02:10:51 $ docker rm -f --volumes ff055dc25a9237912104c05de50fcc7ec0d646d833284b2d49b1c444a13248c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:11:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17188 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 02:11:12 Running in /w/workspace/device-usb-camera/164 [Pipeline] { [Pipeline] checkout 02:11:13 Selected Git installation does not exist. Using Default 02:11:13 The recommended git tool is: NONE 02:11:21 using credential edgex-jenkins-ssh 02:11:21 Cloning the remote Git repository 02:11:21 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 02:11:21 > git init /w/workspace/device-usb-camera/164 # timeout=10 02:11:21 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 02:11:21 > git --version # timeout=10 02:11:21 > git --version # 'git version 2.25.1' 02:11:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:11:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:11:22 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 02:11:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:11:24 Avoid second fetch 02:11:24 Checking out Revision 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 (main) 02:11:24 > git config core.sparsecheckout # timeout=10 02:11:24 > git checkout -f 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 # timeout=10 02:11:25 Commit message: "Merge pull request #311 from cloudxxx8/changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:11:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:25 Dload Upload Total Spent Left Speed 02:11:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 182k 0 --:--:-- --:--:-- --:--:-- 179k [Pipeline] sh 02:11:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:11:26 + + sudo tee /etc/docker/daemon.new 02:11:26 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:11:26 { 02:11:26 "registry-mirrors": [ 02:11:26 "https://nexus3.edgexfoundry.org:10001" 02:11:26 ], 02:11:26 "bip": "10.250.0.254/24", 02:11:26 "hosts": [ 02:11:26 "tcp://0.0.0.0:5555", 02:11:26 "unix:///var/run/docker.sock" 02:11:26 ], 02:11:26 "mtu": 1458, 02:11:26 "selinux-enabled": true, 02:11:26 "seccomp-profile": "/etc/docker/seccomp.json" 02:11:26 } [Pipeline] sh 02:11:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:11:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:46 provisioning config files... 02:11:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/164@tmp/config17716476740873613418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:46 ---> docker-login.sh 02:11:46 nexus3.edgexfoundry.org:10001 02:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:47 Configure a credential helper to remove this warning. See 02:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:47 02:11:47 Login Succeeded 02:11:47 nexus3.edgexfoundry.org:10002 02:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:47 Configure a credential helper to remove this warning. See 02:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:47 02:11:47 Login Succeeded 02:11:47 nexus3.edgexfoundry.org:10003 02:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:48 Configure a credential helper to remove this warning. See 02:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:48 02:11:48 Login Succeeded 02:11:48 nexus3.edgexfoundry.org:10004 02:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:48 Configure a credential helper to remove this warning. See 02:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:48 02:11:48 Login Succeeded 02:11:48 docker.io 02:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:49 Configure a credential helper to remove this warning. See 02:11:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:49 02:11:49 Login Succeeded 02:11:49 ---> docker-login.sh ends [Pipeline] } 02:11:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:11:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:11:49 ========================================================= 02:11:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:11:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:11:51 Sending build context to Docker daemon 1.367MB 02:11:51 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 02:11:51 Step 2/13 : FROM ${BASE} AS builder 02:11:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:11:51 9fda8d8052c6: Pulling fs layer 02:11:51 5d54e960e981: Pulling fs layer 02:11:51 c4a7e357bf2a: Pulling fs layer 02:11:51 f0e02332f6b5: Pulling fs layer 02:11:51 cefa15bbcfad: Pulling fs layer 02:11:51 17808c966233: Pulling fs layer 02:11:51 f0e02332f6b5: Waiting 02:11:51 f4c1fc716caa: Pulling fs layer 02:11:51 cefa15bbcfad: Waiting 02:11:51 17808c966233: Waiting 02:11:51 f4c1fc716caa: Waiting 02:11:51 5d54e960e981: Verifying Checksum 02:11:51 5d54e960e981: Download complete 02:11:51 f0e02332f6b5: Verifying Checksum 02:11:51 f0e02332f6b5: Download complete 02:11:51 cefa15bbcfad: Verifying Checksum 02:11:51 cefa15bbcfad: Download complete 02:11:51 9fda8d8052c6: Verifying Checksum 02:11:51 9fda8d8052c6: Download complete 02:11:51 f4c1fc716caa: Verifying Checksum 02:11:51 f4c1fc716caa: Download complete 02:11:52 9fda8d8052c6: Pull complete 02:11:53 5d54e960e981: Pull complete 02:11:53 c4a7e357bf2a: Verifying Checksum 02:11:53 c4a7e357bf2a: Download complete 02:11:55 17808c966233: Verifying Checksum 02:11:55 17808c966233: Download complete 02:12:07 c4a7e357bf2a: Pull complete 02:12:07 f0e02332f6b5: Pull complete 02:12:08 cefa15bbcfad: Pull complete 02:12:20 17808c966233: Pull complete 02:12:20 f4c1fc716caa: Pull complete 02:12:20 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 02:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:12:20 ---> ea914061e18c 02:12:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:12:21 ---> Running in 5bf39a2cdb58 02:12:21 Removing intermediate container 5bf39a2cdb58 02:12:21 ---> cf2b9cbcfe4a 02:12:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:22 ---> Running in 253b654dc806 02:12:22 Removing intermediate container 253b654dc806 02:12:22 ---> 436f1a1d1ce2 02:12:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:12:22 ---> Running in 81dcce3213dc 02:12:22 Removing intermediate container 81dcce3213dc 02:12:22 ---> f541d34d747e 02:12:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:12:23 ---> Running in 3e4ee62b687b 02:12:23 Removing intermediate container 3e4ee62b687b 02:12:23 ---> 3f0a1bb661d4 02:12:23 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:23 ---> Running in 6b360a162efd 02:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:12:26 (1/13) Installing libintl (0.21.1-r7) 02:12:26 (2/13) Installing eudev-libs (3.2.11-r8) 02:12:26 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 02:12:26 (4/13) Installing v4l-utils-libs (1.24.1-r0) 02:12:26 (5/13) Installing v4l-utils (1.24.1-r0) 02:12:26 (6/13) Installing libdvbv5 (1.24.1-r0) 02:12:26 (7/13) Installing udev-init-scripts (35-r1) 02:12:26 (8/13) Installing libblkid (2.38.1-r8) 02:12:26 (9/13) Installing xz-libs (5.4.3-r0) 02:12:26 (10/13) Installing kmod-libs (30-r3) 02:12:26 (11/13) Installing eudev (3.2.11-r8) 02:12:26 (12/13) Installing eudev-dev (3.2.11-r8) 02:12:26 (13/13) Installing v4l-utils-dev (1.24.1-r0) 02:12:26 Executing busybox-1.36.1-r2.trigger 02:12:26 Executing eudev-3.2.11-r8.trigger 02:12:26 OK: 273 MiB in 65 packages 02:12:28 Removing intermediate container 6b360a162efd 02:12:28 ---> 07ae76323f99 02:12:28 Step 8/13 : WORKDIR /device-usb-camera 02:12:28 ---> Running in a1a6f9a857e7 02:12:29 Removing intermediate container a1a6f9a857e7 02:12:29 ---> baa2a23cc4f8 02:12:29 Step 9/13 : COPY go.mod vendor* ./ 02:12:32 ---> e4cd8e832e38 02:12:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:32 ---> Running in ac4fe3970501 02:14:09 Removing intermediate container ac4fe3970501 02:14:09 ---> edcc56a9b9ff 02:14:09 Step 11/13 : COPY . . 02:14:09 ---> da2b19011299 02:14:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:14:09 ---> Running in b089ddbd9564 02:14:09  % Total % Received % Xferd Average Speed Time Time Time Current 02:14:09  Dload Upload  Total Spent Left Speed 02:14:09  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5585 0 --:--:-- --:--:-- --:--:-- 5618 02:14:09 Removing intermediate container b089ddbd9564 02:14:09 ---> fa2c731b0f73 02:14:09 Step 13/13 : RUN ${MAKE} 02:14:09 ---> Running in 63c76fdc3bd7 02:14:09 noop 02:14:09 Removing intermediate container 63c76fdc3bd7 02:14:09 ---> 8b42cfd658cb 02:14:09 Successfully built 8b42cfd658cb 02:14:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:09 + docker inspect -f . ci-base-image-arm64 02:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-17188 does not seem to be running inside a container 02:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/164 -v /w/workspace/device-usb-camera/164:/w/workspace/device-usb-camera/164:rw,z -v /w/workspace/device-usb-camera/164@tmp:/w/workspace/device-usb-camera/164@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 02:14:11 $ docker top 3d00e8b3dded7a469d74dd7a549dd5d3b989f29ad045fb81f3ddc40882636620 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:12 + go version 02:14:12 go version go1.21.0 linux/arm64 [Pipeline] } 02:14:12 $ docker stop --time=1 3d00e8b3dded7a469d74dd7a549dd5d3b989f29ad045fb81f3ddc40882636620 02:14:15 $ docker rm -f --volumes 3d00e8b3dded7a469d74dd7a549dd5d3b989f29ad045fb81f3ddc40882636620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:16 + docker inspect -f . ci-base-image-arm64 02:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:16 prd-ubuntu20.04-docker-arm64-4c-16g-17188 does not seem to be running inside a container 02:14:16 $ 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/164 -v /w/workspace/device-usb-camera/164:/w/workspace/device-usb-camera/164:rw,z -v /w/workspace/device-usb-camera/164@tmp:/w/workspace/device-usb-camera/164@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 02:14:18 $ docker top bda926ac98460c35fe87d6451538e7faadcef029147af982516079e80c46290e -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:19 + git config --global --add safe.directory /w/workspace/device-usb-camera/164 [Pipeline] fileExists [Pipeline] sh 02:14:19 + make test 02:14:19 go test ./... -coverprofile=coverage.out ./... 02:14:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:17:17 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:17:23 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 4.4% of statements 02:17:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:17:24 go vet ./... 02:17:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:17:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:17:56 ./bin/test-attribution-txt.sh [Pipeline] echo 02:17:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:17:56 $ docker stop --time=1 bda926ac98460c35fe87d6451538e7faadcef029147af982516079e80c46290e 02:17:58 $ docker rm -f --volumes bda926ac98460c35fe87d6451538e7faadcef029147af982516079e80c46290e [Pipeline] // withDockerContainer [Pipeline] sh 02:18:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:00 Warning: overwriting stash ‘coverage-report’ 02:18:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:01 + ls -al . 02:18:01 total 220 02:18:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:14 . 02:18:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 02:11 .. 02:18:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 02:11 .git 02:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 .github 02:18:01 -rw-rw-r-- 1 jenkins jenkins 429 Nov 10 02:11 .gitignore 02:18:01 -rw-rw-r-- 1 jenkins jenkins 45 Nov 10 02:11 .golangci.yml 02:18:01 -rw-rw-r-- 1 jenkins jenkins 77 Nov 10 02:11 .hadolint.yml 02:18:01 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 10 02:11 Attribution.txt 02:18:01 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 10 02:11 CHANGELOG.md 02:18:01 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 10 02:11 Dockerfile 02:18:01 -rw-rw-r-- 1 jenkins jenkins 678 Nov 10 02:11 GOVERNANCE.md 02:18:01 -rw-rw-r-- 1 jenkins jenkins 659 Nov 10 02:11 Jenkinsfile 02:18:01 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 02:11 LICENSE 02:18:01 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 10 02:11 Makefile 02:18:01 -rw-rw-r-- 1 jenkins jenkins 622 Nov 10 02:11 OWNERS.md 02:18:01 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 10 02:11 README.md 02:18:01 -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 02:07 VERSION 02:18:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:11 bin 02:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 cmd 02:18:01 -rw-r--r-- 1 jenkins jenkins 54703 Nov 10 02:17 coverage.out 02:18:01 -rwxrwxr-x 1 jenkins jenkins 84 Nov 10 02:11 docker-entrypoint.sh 02:18:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 02:11 docs 02:18:01 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 10 02:11 go.mod 02:18:01 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 10 02:11 go.sum 02:18:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 02:11 internal 02:18:01 -rw-rw-r-- 1 jenkins jenkins 231 Nov 10 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:01 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 --label arch=arm64 --label version=3.1.0-dev.38 . 02:18:02 Sending build context to Docker daemon 1.422MB 02:18:02 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 02:18:02 Step 2/36 : FROM ${BASE} AS builder 02:18:02 ---> 8b42cfd658cb 02:18:02 Step 3/36 : ARG ADD_BUILD_TAGS="" 02:18:02 ---> Running in c6a4285260ba 02:18:03 Removing intermediate container c6a4285260ba 02:18:03 ---> 6389db812698 02:18:03 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:03 ---> Running in 6293f9e554b6 02:18:03 Removing intermediate container 6293f9e554b6 02:18:03 ---> 901b708fa6a0 02:18:03 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:18:03 ---> Running in 3db1c7e5c986 02:18:03 Removing intermediate container 3db1c7e5c986 02:18:03 ---> fa73eab75a35 02:18:03 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:18:03 ---> Running in 7b54032faca9 02:18:04 Removing intermediate container 7b54032faca9 02:18:04 ---> c5e8ab50d990 02:18:04 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:18:04 ---> Running in c5aae17e5ab6 02:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:18:07 OK: 273 MiB in 65 packages 02:18:09 Removing intermediate container c5aae17e5ab6 02:18:09 ---> 778e230821ae 02:18:09 Step 8/36 : WORKDIR /device-usb-camera 02:18:09 ---> Running in 4f761a7ddafe 02:18:11 Removing intermediate container 4f761a7ddafe 02:18:11 ---> aea4b1f447f8 02:18:11 Step 9/36 : COPY go.mod vendor* ./ 02:18:11 ---> d8c25daff120 02:18:11 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:11 ---> Running in 29a9bd6b2561 02:18:14 Removing intermediate container 29a9bd6b2561 02:18:14 ---> 8ce7d177ce27 02:18:14 Step 11/36 : COPY . . 02:18:15 ---> 9fa70c9e636b 02:18:15 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:18:15 ---> Running in 5a158eedb6d9 02:18:16  % Total % Received % Xferd Average Speed Time Time Time Current 02:18:16 Dload Upload Total Spent Left Speed 02:18:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253 100 1253 0 0 6555 0 --:--:-- --:--:-- --:--:-- 6664 02:18:18 Removing intermediate container 5a158eedb6d9 02:18:18 ---> 34722e13209f 02:18:18 Step 13/36 : RUN ${MAKE} 02:18:18 ---> Running in a2993453f9eb 02:18:19 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:21:10 Removing intermediate container a2993453f9eb 02:21:10 ---> c9f35c780a8b 02:21:10 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:21:10 v0.21.6: Pulling from aler9/rtsp-simple-server 02:21:10 8766b47fe142: Pulling fs layer 02:21:10 8766b47fe142: Download complete 02:21:10 8766b47fe142: Pull complete 02:21:10 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:21:10 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:21:10 ---> 69d40e2cb93c 02:21:10 Step 15/36 : FROM alpine:3.18 02:21:11 3.18: Pulling from library/alpine 02:21:11 579b34f0a95b: Pulling fs layer 02:21:11 579b34f0a95b: Download complete 02:21:12 579b34f0a95b: Pull complete 02:21:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 02:21:12 Status: Downloaded newer image for alpine:3.18 02:21:12 ---> 3cc203321400 02:21:12 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 02:21:12 ---> Running in dff9b12b8b4f 02:21:13 Removing intermediate container dff9b12b8b4f 02:21:13 ---> 4a7f677abd6b 02:21:13 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:21:13 ---> Running in 500b49821203 02:21:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:21:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:21:16 (1/104) Installing dumb-init (1.2.5-r2) 02:21:16 (2/104) Installing sdl2 (2.26.5-r0) 02:21:16 (3/104) Installing svt-av1-libs (1.6.0-r0) 02:21:16 (4/104) Installing aom-libs (3.6.1-r0) 02:21:16 (5/104) Installing libxau (1.0.11-r2) 02:21:16 (6/104) Installing libmd (1.0.4-r2) 02:21:16 (7/104) Installing libbsd (0.11.7-r1) 02:21:16 (8/104) Installing libxdmcp (1.1.4-r2) 02:21:16 (9/104) Installing libxcb (1.15-r1) 02:21:16 (10/104) Installing libx11 (1.8.7-r0) 02:21:16 (11/104) Installing libdrm (2.4.115-r4) 02:21:16 (12/104) Installing libxext (1.3.5-r2) 02:21:16 (13/104) Installing libxfixes (6.0.1-r2) 02:21:16 (14/104) Installing libffi (3.4.4-r2) 02:21:16 (15/104) Installing wayland-libs-client (1.22.0-r2) 02:21:16 (16/104) Installing libva (2.18.0-r1) 02:21:16 (17/104) Installing libvdpau (1.5-r1) 02:21:16 (18/104) Installing ffmpeg-libavutil (6.0-r15) 02:21:16 (19/104) Installing libdav1d (1.2.1-r0) 02:21:16 (20/104) Installing brotli-libs (1.0.9-r14) 02:21:16 (21/104) Installing libgcc (12.2.1_git20220924-r10) 02:21:16 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 02:21:17 (23/104) Installing libhwy (1.0.4-r1) 02:21:17 (24/104) Installing lcms2 (2.15-r2) 02:21:17 (25/104) Installing libjxl (0.8.2-r0) 02:21:17 (26/104) Installing lame-libs (3.100-r5) 02:21:17 (27/104) Installing opus (1.4-r0) 02:21:17 (28/104) Installing libgomp (12.2.1_git20220924-r10) 02:21:17 (29/104) Installing soxr (0.1.3-r5) 02:21:17 (30/104) Installing ffmpeg-libswresample (6.0-r15) 02:21:17 (31/104) Installing libogg (1.3.5-r4) 02:21:17 (32/104) Installing libtheora (1.1.1-r17) 02:21:17 (33/104) Installing libvorbis (1.3.7-r1) 02:21:17 (34/104) Installing libvpx (1.13.0-r2) 02:21:17 (35/104) Installing libwebp (1.3.2-r0) 02:21:17 (36/104) Installing x264-libs (0.164_git20220602-r1) 02:21:17 (37/104) Installing numactl (2.0.16-r4) 02:21:17 (38/104) Installing x265-libs (3.5-r4) 02:21:17 (39/104) Installing xvidcore (1.3.7-r1) 02:21:17 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 02:21:18 (41/104) Installing alsa-lib (1.2.9-r1) 02:21:18 (42/104) Installing libexpat (2.5.0-r1) 02:21:18 (43/104) Installing libbz2 (1.0.8-r5) 02:21:18 (44/104) Installing libpng (1.6.39-r3) 02:21:18 (45/104) Installing freetype (2.13.0-r5) 02:21:18 (46/104) Installing fontconfig (2.14.2-r3) 02:21:18 (47/104) Installing fribidi (1.0.13-r0) 02:21:18 (48/104) Installing libintl (0.21.1-r7) 02:21:18 (49/104) Installing libblkid (2.38.1-r8) 02:21:18 (50/104) Installing libmount (2.38.1-r8) 02:21:18 (51/104) Installing pcre2 (10.42-r1) 02:21:18 (52/104) Installing glib (2.76.4-r0) 02:21:18 (53/104) Installing graphite2 (1.3.14-r5) 02:21:18 (54/104) Installing harfbuzz (7.3.0-r0) 02:21:18 (55/104) Installing libunibreak (5.1-r0) 02:21:18 (56/104) Installing libass (0.17.1-r0) 02:21:18 (57/104) Installing libbluray (1.3.4-r0) 02:21:18 (58/104) Installing gmp (6.2.1-r3) 02:21:18 (59/104) Installing nettle (3.8.1-r2) 02:21:18 (60/104) Installing libunistring (1.1-r1) 02:21:18 (61/104) Installing libidn2 (2.3.4-r1) 02:21:18 (62/104) Installing p11-kit (0.24.1-r2) 02:21:18 (63/104) Installing libtasn1 (4.19.0-r1) 02:21:18 (64/104) Installing gnutls (3.8.0-r2) 02:21:18 (65/104) Installing mpg123-libs (1.31.3-r1) 02:21:18 (66/104) Installing libopenmpt (0.7.2-r0) 02:21:19 (67/104) Installing cjson (1.7.15-r4) 02:21:19 (68/104) Installing mbedtls (2.28.5-r0) 02:21:19 (69/104) Installing librist (0.2.7-r0) 02:21:19 (70/104) Installing libsrt (1.5.2-r0) 02:21:19 (71/104) Installing libssh (0.10.5-r0) 02:21:19 (72/104) Installing xz-libs (5.4.3-r0) 02:21:19 (73/104) Installing libxml2 (2.11.4-r0) 02:21:19 (74/104) Installing libsodium (1.0.18-r3) 02:21:19 (75/104) Installing libzmq (4.3.4-r4) 02:21:19 (76/104) Installing ffmpeg-libavformat (6.0-r15) 02:21:19 (77/104) Installing glslang-libs (1.3.243.0-r1) 02:21:19 (78/104) Installing spirv-tools (1.3.243.0-r1) 02:21:19 (79/104) Installing shaderc (2023.3-r1) 02:21:19 (80/104) Installing vulkan-loader (1.3.243.0-r1) 02:21:19 (81/104) Installing libplacebo (5.264.1-r1) 02:21:19 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 02:21:19 (83/104) Installing ffmpeg-libswscale (6.0-r15) 02:21:19 (84/104) Installing vidstab (1.1.1-r0) 02:21:19 (85/104) Installing zimg (3.0.5-r0) 02:21:19 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 02:21:19 (87/104) Installing libasyncns (0.8-r1) 02:21:19 (88/104) Installing dbus-libs (1.14.8-r0) 02:21:19 (89/104) Installing libltdl (2.4.7-r2) 02:21:19 (90/104) Installing orc (0.4.34-r0) 02:21:19 (91/104) Installing flac-libs (1.4.3-r0) 02:21:19 (92/104) Installing libsndfile (1.2.0-r2) 02:21:19 (93/104) Installing speexdsp (1.2.1-r1) 02:21:19 (94/104) Installing tdb-libs (1.4.8-r1) 02:21:19 (95/104) Installing libpulse (16.1-r10) 02:21:19 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 02:21:19 (97/104) Installing v4l-utils-libs (1.24.1-r0) 02:21:20 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 02:21:20 (99/104) Installing ffmpeg (6.0-r15) 02:21:20 (100/104) Installing udev-init-scripts (35-r1) 02:21:20 (101/104) Installing eudev-libs (3.2.11-r8) 02:21:20 (102/104) Installing zstd-libs (1.5.5-r4) 02:21:20 (103/104) Installing kmod-libs (30-r3) 02:21:20 (104/104) Installing eudev (3.2.11-r8) 02:21:20 Executing busybox-1.36.1-r2.trigger 02:21:20 Executing glib-2.76.4-r0.trigger 02:21:20 Executing eudev-3.2.11-r8.trigger 02:21:20 OK: 110 MiB in 119 packages 02:21:24 Removing intermediate container 500b49821203 02:21:24 ---> db3bd6bdf71f 02:21:24 Step 18/36 : WORKDIR / 02:21:24 ---> Running in e31e337fd490 02:21:24 Removing intermediate container e31e337fd490 02:21:24 ---> 1f80b4ce7b40 02:21:24 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 02:21:26 ---> 33c1bfbdeb21 02:21:26 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 02:21:27 ---> 858dabbbea57 02:21:27 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:21:27 ---> 9cdce852ae74 02:21:27 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:21:28 ---> 21dda8496c3e 02:21:28 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:21:28 ---> e029175f6cec 02:21:28 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 02:21:29 ---> 3c51ff3d06db 02:21:29 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 02:21:30 ---> eb63ca2bb39e 02:21:30 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:21:31 ---> Running in d988425ab125 02:21:33 Removing intermediate container d988425ab125 02:21:33 ---> 8dcd1ce61f8b 02:21:33 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:21:33 ---> Running in 371db8d6ef17 02:21:34 Removing intermediate container 371db8d6ef17 02:21:34 ---> 9119d4bd974b 02:21:34 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:21:34 ---> Running in 275cac6a0172 02:21:36 Removing intermediate container 275cac6a0172 02:21:36 ---> ac635ed3ca99 02:21:36 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 02:21:36 ---> Running in 988ff3875d45 02:21:38 Removing intermediate container 988ff3875d45 02:21:38 ---> d6ba082082d3 02:21:38 Step 30/36 : EXPOSE 59983 02:21:38 ---> Running in 293f0f905038 02:21:38 Removing intermediate container 293f0f905038 02:21:38 ---> 32f2ec5b95d9 02:21:38 Step 31/36 : EXPOSE 8554 02:21:38 ---> Running in c5d2225b2947 02:21:38 Removing intermediate container c5d2225b2947 02:21:38 ---> a59fb2b4978b 02:21:38 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:21:39 ---> Running in 7ae27b6a956e 02:21:39 Removing intermediate container 7ae27b6a956e 02:21:39 ---> 7a4498d4efe2 02:21:39 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:21:39 ---> Running in 04ec3154099f 02:21:39 Removing intermediate container 04ec3154099f 02:21:39 ---> 16011b05b35f 02:21:39 Step 34/36 : LABEL arch=arm64 02:21:39 ---> Running in 2ccbb914d12d 02:21:40 Removing intermediate container 2ccbb914d12d 02:21:40 ---> d0af7def81d5 02:21:40 Step 35/36 : LABEL git_sha=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:21:40 ---> Running in c12f93adeeb1 02:21:40 Removing intermediate container c12f93adeeb1 02:21:40 ---> 5be48fd2bf91 02:21:40 Step 36/36 : LABEL version=3.1.0-dev.38 02:21:40 ---> Running in 51a6d5eacf0a 02:21:41 Removing intermediate container 51a6d5eacf0a 02:21:41 ---> 5498f9ce6c2f 02:21:41 [Warning] One or more build-args [ARCH] were not consumed 02:21:41 Successfully built 5498f9ce6c2f 02:21:41 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 02:21:41 provisioning config files... 02:21:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/164@tmp/config5586194524974884454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:21:41 ---> docker-login.sh 02:21:41 nexus3.edgexfoundry.org:10001 02:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:41 Configure a credential helper to remove this warning. See 02:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:41 02:21:41 Login Succeeded 02:21:41 nexus3.edgexfoundry.org:10002 02:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:42 Configure a credential helper to remove this warning. See 02:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:42 02:21:42 Login Succeeded 02:21:42 nexus3.edgexfoundry.org:10003 02:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:42 Configure a credential helper to remove this warning. See 02:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:42 02:21:42 Login Succeeded 02:21:42 nexus3.edgexfoundry.org:10004 02:21:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:43 Configure a credential helper to remove this warning. See 02:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:43 02:21:43 Login Succeeded 02:21:43 docker.io 02:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:43 Configure a credential helper to remove this warning. See 02:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:43 02:21:43 Login Succeeded 02:21:43 ---> docker-login.sh ends [Pipeline] } 02:21:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:21:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:21:43 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 02:21:43 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:21:43 latest 02:21:43 3.1.0-dev.38 02:21:43 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:21:43 main 02:21:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:44 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:21:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 02:21:44 528992c68031: Preparing 02:21:44 7919d320b53a: Preparing 02:21:44 03ed8786f3cd: Preparing 02:21:44 235d40581a10: Preparing 02:21:44 608d194cb50c: Preparing 02:21:44 acc83c6ca332: Preparing 02:21:44 a1cc3450184d: Preparing 02:21:44 f33682f45838: Preparing 02:21:44 6b84aa705af6: Preparing 02:21:44 6f7b58db57cd: Preparing 02:21:44 2a92b109bd81: Preparing 02:21:44 c4ce85f2ac71: Preparing 02:21:44 5f4d9fc4d98d: Preparing 02:21:44 f33682f45838: Waiting 02:21:44 6b84aa705af6: Waiting 02:21:44 6f7b58db57cd: Waiting 02:21:44 2a92b109bd81: Waiting 02:21:44 c4ce85f2ac71: Waiting 02:21:44 5f4d9fc4d98d: Waiting 02:21:44 acc83c6ca332: Waiting 02:21:44 a1cc3450184d: Waiting 02:21:44 7919d320b53a: Pushed 02:21:44 03ed8786f3cd: Pushed 02:21:44 528992c68031: Pushed 02:21:44 235d40581a10: Pushed 02:21:45 acc83c6ca332: Pushed 02:21:45 a1cc3450184d: Pushed 02:21:45 f33682f45838: Pushed 02:21:45 6b84aa705af6: Pushed 02:21:45 6f7b58db57cd: Pushed 02:21:45 5f4d9fc4d98d: Layer already exists 02:21:51 608d194cb50c: Pushed 02:21:51 2a92b109bd81: Pushed 02:22:06 c4ce85f2ac71: Pushed 02:22:06 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8: digest: sha256:aec9c8993a46b45bae8f30b8995b8fe0c28d3c1f837af06c3f21620beb7170d7 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:07 + 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 02:22:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 02:22:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 02:22:07 528992c68031: Preparing 02:22:07 7919d320b53a: Preparing 02:22:07 03ed8786f3cd: Preparing 02:22:07 235d40581a10: Preparing 02:22:07 608d194cb50c: Preparing 02:22:07 acc83c6ca332: Preparing 02:22:07 a1cc3450184d: Preparing 02:22:07 f33682f45838: Preparing 02:22:07 6b84aa705af6: Preparing 02:22:07 6f7b58db57cd: Preparing 02:22:07 2a92b109bd81: Preparing 02:22:07 c4ce85f2ac71: Preparing 02:22:07 5f4d9fc4d98d: Preparing 02:22:07 5f4d9fc4d98d: Waiting 02:22:07 6b84aa705af6: Waiting 02:22:07 f33682f45838: Waiting 02:22:07 6f7b58db57cd: Waiting 02:22:07 2a92b109bd81: Waiting 02:22:07 acc83c6ca332: Waiting 02:22:07 a1cc3450184d: Waiting 02:22:07 c4ce85f2ac71: Waiting 02:22:07 608d194cb50c: Layer already exists 02:22:07 7919d320b53a: Layer already exists 02:22:07 03ed8786f3cd: Layer already exists 02:22:07 528992c68031: Layer already exists 02:22:07 235d40581a10: Layer already exists 02:22:07 6b84aa705af6: Layer already exists 02:22:07 f33682f45838: Layer already exists 02:22:07 acc83c6ca332: Layer already exists 02:22:07 a1cc3450184d: Layer already exists 02:22:07 6f7b58db57cd: Layer already exists 02:22:07 2a92b109bd81: Layer already exists 02:22:07 5f4d9fc4d98d: Layer already exists 02:22:07 c4ce85f2ac71: Layer already exists 02:22:07 latest: digest: sha256:aec9c8993a46b45bae8f30b8995b8fe0c28d3c1f837af06c3f21620beb7170d7 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:08 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.38 02:22:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 02:22:08 528992c68031: Preparing 02:22:08 7919d320b53a: Preparing 02:22:08 03ed8786f3cd: Preparing 02:22:08 235d40581a10: Preparing 02:22:08 608d194cb50c: Preparing 02:22:08 acc83c6ca332: Preparing 02:22:08 a1cc3450184d: Preparing 02:22:08 f33682f45838: Preparing 02:22:08 6b84aa705af6: Preparing 02:22:08 6f7b58db57cd: Preparing 02:22:08 2a92b109bd81: Preparing 02:22:08 c4ce85f2ac71: Preparing 02:22:08 5f4d9fc4d98d: Preparing 02:22:08 6b84aa705af6: Waiting 02:22:08 6f7b58db57cd: Waiting 02:22:08 2a92b109bd81: Waiting 02:22:08 5f4d9fc4d98d: Waiting 02:22:08 c4ce85f2ac71: Waiting 02:22:08 a1cc3450184d: Waiting 02:22:08 acc83c6ca332: Waiting 02:22:08 f33682f45838: Waiting 02:22:08 03ed8786f3cd: Layer already exists 02:22:08 608d194cb50c: Layer already exists 02:22:08 528992c68031: Layer already exists 02:22:08 7919d320b53a: Layer already exists 02:22:08 235d40581a10: Layer already exists 02:22:08 acc83c6ca332: Layer already exists 02:22:08 a1cc3450184d: Layer already exists 02:22:08 f33682f45838: Layer already exists 02:22:08 6f7b58db57cd: Layer already exists 02:22:08 6b84aa705af6: Layer already exists 02:22:08 2a92b109bd81: Layer already exists 02:22:08 5f4d9fc4d98d: Layer already exists 02:22:08 c4ce85f2ac71: Layer already exists 02:22:08 3.1.0-dev.38: digest: sha256:aec9c8993a46b45bae8f30b8995b8fe0c28d3c1f837af06c3f21620beb7170d7 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:08 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:09 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:22:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 02:22:09 528992c68031: Preparing 02:22:09 7919d320b53a: Preparing 02:22:09 03ed8786f3cd: Preparing 02:22:09 235d40581a10: Preparing 02:22:09 608d194cb50c: Preparing 02:22:09 acc83c6ca332: Preparing 02:22:09 a1cc3450184d: Preparing 02:22:09 f33682f45838: Preparing 02:22:09 6b84aa705af6: Preparing 02:22:09 6f7b58db57cd: Preparing 02:22:09 2a92b109bd81: Preparing 02:22:09 c4ce85f2ac71: Preparing 02:22:09 5f4d9fc4d98d: Preparing 02:22:09 acc83c6ca332: Waiting 02:22:09 a1cc3450184d: Waiting 02:22:09 f33682f45838: Waiting 02:22:09 6b84aa705af6: Waiting 02:22:09 6f7b58db57cd: Waiting 02:22:09 2a92b109bd81: Waiting 02:22:09 c4ce85f2ac71: Waiting 02:22:09 5f4d9fc4d98d: Waiting 02:22:09 7919d320b53a: Layer already exists 02:22:09 608d194cb50c: Layer already exists 02:22:09 235d40581a10: Layer already exists 02:22:09 03ed8786f3cd: Layer already exists 02:22:09 528992c68031: Layer already exists 02:22:09 6f7b58db57cd: Layer already exists 02:22:09 acc83c6ca332: Layer already exists 02:22:09 6b84aa705af6: Layer already exists 02:22:09 f33682f45838: Layer already exists 02:22:09 2a92b109bd81: Layer already exists 02:22:09 5f4d9fc4d98d: Layer already exists 02:22:09 c4ce85f2ac71: Layer already exists 02:22:09 a1cc3450184d: Layer already exists 02:22:09 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38: digest: sha256:aec9c8993a46b45bae8f30b8995b8fe0c28d3c1f837af06c3f21620beb7170d7 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:09 + 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 02:22:10 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 02:22:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 02:22:10 528992c68031: Preparing 02:22:10 7919d320b53a: Preparing 02:22:10 03ed8786f3cd: Preparing 02:22:10 235d40581a10: Preparing 02:22:10 608d194cb50c: Preparing 02:22:10 acc83c6ca332: Preparing 02:22:10 a1cc3450184d: Preparing 02:22:10 f33682f45838: Preparing 02:22:10 6b84aa705af6: Preparing 02:22:10 6f7b58db57cd: Preparing 02:22:10 2a92b109bd81: Preparing 02:22:10 c4ce85f2ac71: Preparing 02:22:10 5f4d9fc4d98d: Preparing 02:22:10 acc83c6ca332: Waiting 02:22:10 a1cc3450184d: Waiting 02:22:10 f33682f45838: Waiting 02:22:10 6b84aa705af6: Waiting 02:22:10 6f7b58db57cd: Waiting 02:22:10 2a92b109bd81: Waiting 02:22:10 c4ce85f2ac71: Waiting 02:22:10 5f4d9fc4d98d: Waiting 02:22:10 528992c68031: Layer already exists 02:22:10 608d194cb50c: Layer already exists 02:22:10 7919d320b53a: Layer already exists 02:22:10 235d40581a10: Layer already exists 02:22:10 03ed8786f3cd: Layer already exists 02:22:10 acc83c6ca332: Layer already exists 02:22:10 6b84aa705af6: Layer already exists 02:22:10 a1cc3450184d: Layer already exists 02:22:10 6f7b58db57cd: Layer already exists 02:22:10 2a92b109bd81: Layer already exists 02:22:10 f33682f45838: Layer already exists 02:22:10 5f4d9fc4d98d: Layer already exists 02:22:10 c4ce85f2ac71: Layer already exists 02:22:10 main: digest: sha256:aec9c8993a46b45bae8f30b8995b8fe0c28d3c1f837af06c3f21620beb7170d7 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:22:10 ===================================================== [Pipeline] echo 02:22:10 taggedImages: 02:22:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 02:22:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 02:22:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.38 02:22:10 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8-3.1.0-dev.38 02:22:10 - 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 02:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:11 02:22:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:11 arm64: Pulling from edgex-lftools-log-publisher 02:22:11 8998bd30e6a1: Pulling fs layer 02:22:11 04944245beec: Pulling fs layer 02:22:11 699f458cf7ca: Pulling fs layer 02:22:11 765212b225bb: Pulling fs layer 02:22:11 f23df028b6ca: Pulling fs layer 02:22:11 d65c8cfc05b1: Pulling fs layer 02:22:11 2437ff75d9bd: Pulling fs layer 02:22:11 f23df028b6ca: Waiting 02:22:11 d65c8cfc05b1: Waiting 02:22:11 2437ff75d9bd: Waiting 02:22:11 765212b225bb: Waiting 02:22:11 04944245beec: Verifying Checksum 02:22:11 04944245beec: Download complete 02:22:11 765212b225bb: Verifying Checksum 02:22:11 765212b225bb: Download complete 02:22:11 f23df028b6ca: Verifying Checksum 02:22:11 f23df028b6ca: Download complete 02:22:11 d65c8cfc05b1: Verifying Checksum 02:22:11 d65c8cfc05b1: Download complete 02:22:11 699f458cf7ca: Verifying Checksum 02:22:11 699f458cf7ca: Download complete 02:22:12 8998bd30e6a1: Verifying Checksum 02:22:12 8998bd30e6a1: Download complete 02:22:14 2437ff75d9bd: Verifying Checksum 02:22:14 2437ff75d9bd: Download complete 02:22:16 8998bd30e6a1: Pull complete 02:22:17 04944245beec: Pull complete 02:22:18 699f458cf7ca: Pull complete 02:22:19 765212b225bb: Pull complete 02:22:20 f23df028b6ca: Pull complete 02:22:20 d65c8cfc05b1: Pull complete 02:22:38 2437ff75d9bd: Pull complete 02:22:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:38 prd-ubuntu20.04-docker-arm64-4c-16g-17188 does not seem to be running inside a container 02:22:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/164 -v /w/workspace/device-usb-camera/164:/w/workspace/device-usb-camera/164:rw,z -v /w/workspace/device-usb-camera/164@tmp:/w/workspace/device-usb-camera/164@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 02:22:41 $ docker top 1a968e389d9fac42602b97cb35ff1776ecf2f1db81adb8fb514772afdb4eb001 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:42 ---> job-cost.sh 02:22:42 lf-activate-venv: SKIPPING 02:22:42 INFO: No Stack... 02:22:45 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:46 INFO: Archiving Costs [Pipeline] sh 02:22:46 + cat /w/workspace/device-usb-camera/164/archives/cost.csv 02:22:46 + cut -d, -f6 [Pipeline] lock 02:22:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] 02:22:46 Resource [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] did not exist. Created. 02:22:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:47 /w/workspace/device-usb-camera/164@tmp/durable-d0575782/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:48 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:48 Warning: overwriting stash ‘stack-cost’ 02:22:48 Stashed 1 file(s) [Pipeline] } 02:22:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:48 $ docker stop --time=1 1a968e389d9fac42602b97cb35ff1776ecf2f1db81adb8fb514772afdb4eb001 02:22:49 $ docker rm -f --volumes 1a968e389d9fac42602b97cb35ff1776ecf2f1db81adb8fb514772afdb4eb001 [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 02:22:50 provisioning config files... 02:22:50 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12889290227824068568tmp [Pipeline] { [Pipeline] sh 02:22:50 + set +x 02:22:50 + curl -s https://codecov.io/bash 02:22:50 + bash -s -- 02:22:50 02:22:50 _____ _ 02:22:50 / ____| | | 02:22:50 | | ___ __| | ___ ___ _____ __ 02:22:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:22:50 | |___| (_) | (_| | __/ (_| (_) \ V / 02:22:50 \_____\___/ \__,_|\___|\___\___/ \_/ 02:22:50 Bash-1.0.6 02:22:50 02:22:50 02:22:50 ==> git version 2.25.1 found 02:22:50 ==> 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 02:22:50 Release-Date: 2020-01-08 02:22:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:22:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:22:50 ==> Jenkins CI detected. 02:22:50 current dir:  /w/workspace/exfoundry_device-usb-camera_main 02:22:50 project root: . 02:22:50 --> token set from env 02:22:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:22:50 ==> Running gcov in . (disable via -X gcov) 02:22:50 ==> Python coveragepy not found 02:22:50 ==> Searching for coverage reports in: 02:22:50 + . 02:22:50 -> Found 1 reports 02:22:50 ==> Detecting git/mercurial file structure 02:22:50 ==> Reading reports 02:22:50 + ./coverage.out bytes=54703 02:22:50 ==> Appending adjustments 02:22:50 https://docs.codecov.io/docs/fixing-reports 02:22:50 + Found adjustments 02:22:50 ==> Gzipping contents 02:22:50 8.0K /tmp/codecov.AEFaAj.gz 02:22:50 ==> Uploading reports 02:22:50 url: https://codecov.io 02:22:50 query: branch=main&commit=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 02:22:50 -> Pinging Codecov 02:22:50 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=9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 02:22:51 -> Uploading to 02:22:51 https://storage.googleapis.com/codecov/v4/raw/2023-11-10/73D8F5FF140700D3E01443B452E23636/9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8/2cb77bba-1532-4fe0-ab3c-fe2854caf1c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T022250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af55a68e1f6de48f5a61a3ef31e01338c3bb9f2467b817c3e79720beafc30694 02:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:22:51 Dload Upload Total Spent Left Speed 02:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 24478 --:--:-- --:--:-- --:--:-- 24478 02:22:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] } 02:22:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:22:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:22:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:22:51 02:22:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:22:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:22:52 df9b9388f04a: Pulling fs layer 02:22:52 52dc419b0ee2: Pulling fs layer 02:22:52 25bc292e5bac: Pulling fs layer 02:22:52 114826534d7a: Pulling fs layer 02:22:52 4657fd5d0bcf: Pulling fs layer 02:22:52 6ad1cebc031e: Pulling fs layer 02:22:52 8a3aa393b2d8: Pulling fs layer 02:22:52 4657fd5d0bcf: Waiting 02:22:52 6ad1cebc031e: Waiting 02:22:52 114826534d7a: Waiting 02:22:52 25bc292e5bac: Download complete 02:22:52 52dc419b0ee2: Verifying Checksum 02:22:52 52dc419b0ee2: Download complete 02:22:52 4657fd5d0bcf: Verifying Checksum 02:22:52 4657fd5d0bcf: Download complete 02:22:52 df9b9388f04a: Verifying Checksum 02:22:52 df9b9388f04a: Download complete 02:22:52 6ad1cebc031e: Verifying Checksum 02:22:52 6ad1cebc031e: Download complete 02:22:52 df9b9388f04a: Pull complete 02:22:52 52dc419b0ee2: Pull complete 02:22:53 25bc292e5bac: Pull complete 02:22:53 114826534d7a: Verifying Checksum 02:22:53 114826534d7a: Download complete 02:22:53 8a3aa393b2d8: Verifying Checksum 02:22:53 8a3aa393b2d8: Download complete 02:22:56 114826534d7a: Pull complete 02:22:56 4657fd5d0bcf: Pull complete 02:22:56 6ad1cebc031e: Pull complete 02:22:59 8a3aa393b2d8: Pull complete 02:22:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:22:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:22:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:59 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:22:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:23:08 $ docker top 13ee8949a2b5588b8f0496de5310e5e3a3f57003b86bb543331a30d60bfa24c1 -eo pid,comm [Pipeline] { [Pipeline] echo 02:23:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 02:23:09 + set -o pipefail 02:23:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 02:23:13 02:23:13 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 02:23:13 02:23:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/bb7f9ac3-1a6b-49ba-b4a9-a11d2a80435c 02:23:13 02:23:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:23:13 02:23:15 02:23:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:23:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:23:15 More details here: https://snyk.co/ue1NS 02:23:15 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:23:15 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:23:15 $ docker stop --time=1 13ee8949a2b5588b8f0496de5310e5e3a3f57003b86bb543331a30d60bfa24c1 02:23:20 $ docker rm -f --volumes 13ee8949a2b5588b8f0496de5310e5e3a3f57003b86bb543331a30d60bfa24c1 [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 02:23:21 + git log --format=format:%s -1 9ebfee9dea8bc57f176f9e6e0fe681eb95a6e9f8 [Pipeline] sh 02:23:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:23:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:22 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:23:22 $ docker top f20bec935523c08c6b3340349080d95b58bebeb7826b108ef1ee73c24af082be -eo pid,comm 02:23:22 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). 02:23:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:22 [ssh-agent] Looking for ssh-agent implementation... 02:23:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:23 $ docker exec f20bec935523c08c6b3340349080d95b58bebeb7826b108ef1ee73c24af082be ssh-agent 02:23:23 SSH_AUTH_SOCK=/tmp/ssh-AVVUJDXnCF0V/agent.32 02:23:23 SSH_AGENT_PID=39 02:23:23 Running ssh-add (command line suppressed) 02:23:23 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16798402223978217535.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16798402223978217535.key) 02:23:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:23 + git semver tag 02:23:23 2023-11-10 02:23:23,818 [run_tag] DEBUG tag force:False 02:23:23 2023-11-10 02:23:23,818 [check_head_tag] DEBUG check head tag 02:23:23 2023-11-10 02:23:23,820 [execute] INFO git cat-file --batch-check 02:23:23 2023-11-10 02:23:23,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 02:23:23 2023-11-10 02:23:23,825 [execute] INFO git cat-file --batch 02:23:23 2023-11-10 02:23:23,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 02:23:23 2023-11-10 02:23:23,880 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:23 2023-11-10 02:23:23,881 [execute] INFO git tag -a v3.1.0-dev.38 -m v3.1.0-dev.38 02:23:23 2023-11-10 02:23:23,881 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.38', '-m', 'v3.1.0-dev.38'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 02:23:23 2023-11-10 02:23:23,887 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:23 3.1.0-dev.38 [Pipeline] } 02:23:24 $ docker exec --env ******** --env ******** f20bec935523c08c6b3340349080d95b58bebeb7826b108ef1ee73c24af082be ssh-agent -k 02:23:24 unset SSH_AUTH_SOCK; 02:23:24 unset SSH_AGENT_PID; 02:23:24 echo Agent pid 39 killed; 02:23:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:23:24 + git semver [Pipeline] } 02:23:25 $ docker stop --time=1 f20bec935523c08c6b3340349080d95b58bebeb7826b108ef1ee73c24af082be 02:23:27 $ docker rm -f --volumes f20bec935523c08c6b3340349080d95b58bebeb7826b108ef1ee73c24af082be [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:23:27 02:23:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:23:28 0.23.1-centos7: Pulling from edgex-lftools 02:23:28 ab5ef0e58194: Pulling fs layer 02:23:28 9712f1f96733: Pulling fs layer 02:23:28 63f879dbbcfc: Pulling fs layer 02:23:28 0d9ebad4ef96: Pulling fs layer 02:23:28 e9a5061849ea: Pulling fs layer 02:23:28 d747dcd14b5f: Pulling fs layer 02:23:28 2de7ff778b66: Pulling fs layer 02:23:28 0d9ebad4ef96: Waiting 02:23:28 e9a5061849ea: Waiting 02:23:28 d747dcd14b5f: Waiting 02:23:28 9712f1f96733: Verifying Checksum 02:23:28 9712f1f96733: Download complete 02:23:28 63f879dbbcfc: Download complete 02:23:28 ab5ef0e58194: Verifying Checksum 02:23:28 ab5ef0e58194: Download complete 02:23:28 d747dcd14b5f: Verifying Checksum 02:23:28 d747dcd14b5f: Download complete 02:23:28 0d9ebad4ef96: Verifying Checksum 02:23:28 0d9ebad4ef96: Download complete 02:23:28 e9a5061849ea: Verifying Checksum 02:23:28 e9a5061849ea: Download complete 02:23:28 2de7ff778b66: Verifying Checksum 02:23:28 2de7ff778b66: Download complete 02:23:31 ab5ef0e58194: Pull complete 02:23:31 9712f1f96733: Pull complete 02:23:32 63f879dbbcfc: Pull complete 02:23:36 0d9ebad4ef96: Pull complete 02:23:36 e9a5061849ea: Pull complete 02:23:36 d747dcd14b5f: Pull complete 02:23:37 2de7ff778b66: Pull complete 02:23:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:23:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:37 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:23:45 $ docker top b568576112940badba655fa94e3aea479f409c057f9d7e456f53778a87288537 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:23:45 provisioning config files... 02:23:45 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3737584252768259750tmp 02:23:45 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config597621652398323608tmp 02:23:45 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14104026616416539858tmp [Pipeline] { [Pipeline] echo 02:23:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:23:45 ---> sigul-configuration.sh 02:23:45 gpg: directory `/root/.gnupg' created 02:23:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:23:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:23:45 gpg: keyring `/root/.gnupg/secring.gpg' created 02:23:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:23:45 gpg: CAST5 encrypted data 02:23:45 gpg: encrypted with 1 passphrase 02:23:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:23:46 + mkdir /home/jenkins 02:23:46 + mkdir /home/jenkins/sigul [Pipeline] sh 02:23:46 + 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 02:23:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:23:46 ---> sigul-install.sh 02:23:46 Sigul already installed; skipping installation. [Pipeline] sh 02:23:46 + git tag --list 02:23:46 v0.0.0 02:23:46 v0.0.1-dev.1 02:23:46 v0.0.1-dev.10 02:23:46 v0.0.1-dev.11 02:23:46 v0.0.1-dev.12 02:23:46 v0.0.1-dev.13 02:23:46 v0.0.1-dev.14 02:23:46 v0.0.1-dev.15 02:23:46 v0.0.1-dev.16 02:23:46 v0.0.1-dev.2 02:23:46 v0.0.1-dev.3 02:23:46 v0.0.1-dev.4 02:23:46 v0.0.1-dev.5 02:23:46 v0.0.1-dev.6 02:23:46 v0.0.1-dev.7 02:23:46 v0.0.1-dev.8 02:23:46 v0.0.1-dev.9 02:23:46 v2.2.0 02:23:46 v2.2.0-dev.17 02:23:46 v2.2.0-dev.18 02:23:46 v2.2.0-dev.19 02:23:46 v2.2.0-dev.20 02:23:46 v2.2.0-dev.21 02:23:46 v2.2.0-dev.22 02:23:46 v2.2.0-dev.23 02:23:46 v2.2.0-dev.24 02:23:46 v2.2.0-dev.25 02:23:46 v2.2.0-dev.26 02:23:46 v2.2.0-dev.27 02:23:46 v2.3.0 02:23:46 v2.3.0-dev.1 02:23:46 v2.3.0-dev.10 02:23:46 v2.3.0-dev.11 02:23:46 v2.3.0-dev.12 02:23:46 v2.3.0-dev.13 02:23:46 v2.3.0-dev.14 02:23:46 v2.3.0-dev.15 02:23:46 v2.3.0-dev.16 02:23:46 v2.3.0-dev.17 02:23:46 v2.3.0-dev.18 02:23:46 v2.3.0-dev.19 02:23:46 v2.3.0-dev.2 02:23:46 v2.3.0-dev.20 02:23:46 v2.3.0-dev.21 02:23:46 v2.3.0-dev.22 02:23:46 v2.3.0-dev.23 02:23:46 v2.3.0-dev.24 02:23:46 v2.3.0-dev.25 02:23:46 v2.3.0-dev.26 02:23:46 v2.3.0-dev.27 02:23:46 v2.3.0-dev.28 02:23:46 v2.3.0-dev.3 02:23:46 v2.3.0-dev.4 02:23:46 v2.3.0-dev.5 02:23:46 v2.3.0-dev.6 02:23:46 v2.3.0-dev.7 02:23:46 v2.3.0-dev.8 02:23:46 v2.3.0-dev.9 02:23:46 v2.3.1 02:23:46 v2.3.1-dev.4 02:23:46 v2.3.1-dev.5 02:23:46 v2.3.1-dev.6 02:23:46 v3.0 02:23:46 v3.0.0 02:23:46 v3.0.0-dev.1 02:23:46 v3.0.0-dev.10 02:23:46 v3.0.0-dev.11 02:23:46 v3.0.0-dev.12 02:23:46 v3.0.0-dev.13 02:23:46 v3.0.0-dev.14 02:23:46 v3.0.0-dev.15 02:23:46 v3.0.0-dev.16 02:23:46 v3.0.0-dev.17 02:23:46 v3.0.0-dev.18 02:23:46 v3.0.0-dev.19 02:23:46 v3.0.0-dev.2 02:23:46 v3.0.0-dev.20 02:23:46 v3.0.0-dev.21 02:23:46 v3.0.0-dev.22 02:23:46 v3.0.0-dev.23 02:23:46 v3.0.0-dev.24 02:23:46 v3.0.0-dev.25 02:23:46 v3.0.0-dev.26 02:23:46 v3.0.0-dev.27 02:23:46 v3.0.0-dev.28 02:23:46 v3.0.0-dev.29 02:23:46 v3.0.0-dev.3 02:23:46 v3.0.0-dev.30 02:23:46 v3.0.0-dev.31 02:23:46 v3.0.0-dev.32 02:23:46 v3.0.0-dev.33 02:23:46 v3.0.0-dev.34 02:23:46 v3.0.0-dev.35 02:23:46 v3.0.0-dev.36 02:23:46 v3.0.0-dev.37 02:23:46 v3.0.0-dev.38 02:23:46 v3.0.0-dev.39 02:23:46 v3.0.0-dev.4 02:23:46 v3.0.0-dev.40 02:23:46 v3.0.0-dev.41 02:23:46 v3.0.0-dev.42 02:23:46 v3.0.0-dev.43 02:23:46 v3.0.0-dev.44 02:23:46 v3.0.0-dev.45 02:23:46 v3.0.0-dev.46 02:23:46 v3.0.0-dev.47 02:23:46 v3.0.0-dev.48 02:23:46 v3.0.0-dev.49 02:23:46 v3.0.0-dev.5 02:23:46 v3.0.0-dev.50 02:23:46 v3.0.0-dev.51 02:23:46 v3.0.0-dev.6 02:23:46 v3.0.0-dev.7 02:23:46 v3.0.0-dev.8 02:23:46 v3.0.0-dev.9 02:23:46 v3.1.0-dev.1 02:23:46 v3.1.0-dev.10 02:23:46 v3.1.0-dev.11 02:23:46 v3.1.0-dev.12 02:23:46 v3.1.0-dev.13 02:23:46 v3.1.0-dev.14 02:23:46 v3.1.0-dev.15 02:23:46 v3.1.0-dev.16 02:23:46 v3.1.0-dev.17 02:23:46 v3.1.0-dev.18 02:23:46 v3.1.0-dev.19 02:23:46 v3.1.0-dev.2 02:23:46 v3.1.0-dev.20 02:23:46 v3.1.0-dev.21 02:23:46 v3.1.0-dev.22 02:23:46 v3.1.0-dev.23 02:23:46 v3.1.0-dev.24 02:23:46 v3.1.0-dev.25 02:23:46 v3.1.0-dev.26 02:23:46 v3.1.0-dev.27 02:23:46 v3.1.0-dev.28 02:23:46 v3.1.0-dev.29 02:23:46 v3.1.0-dev.3 02:23:46 v3.1.0-dev.30 02:23:46 v3.1.0-dev.31 02:23:46 v3.1.0-dev.32 02:23:46 v3.1.0-dev.33 02:23:46 v3.1.0-dev.34 02:23:46 v3.1.0-dev.35 02:23:46 v3.1.0-dev.36 02:23:46 v3.1.0-dev.37 02:23:46 v3.1.0-dev.38 02:23:46 v3.1.0-dev.4 02:23:46 v3.1.0-dev.5 02:23:46 v3.1.0-dev.6 02:23:46 v3.1.0-dev.7 02:23:46 v3.1.0-dev.8 02:23:46 v3.1.0-dev.9 [Pipeline] sh 02:23:47 + lftools sign git-tag v3.1.0-dev.38 02:23:47 Signing Git tag with Sigul... 02:23:47 Signing v3.1.0-dev.38 [Pipeline] echo 02:23:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:23:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:23:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:23:48 $ docker stop --time=1 b568576112940badba655fa94e3aea479f409c057f9d7e456f53778a87288537 02:23:49 $ docker rm -f --volumes b568576112940badba655fa94e3aea479f409c057f9d7e456f53778a87288537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:23:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:23:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:50 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:23:50 $ docker top 3ecfe5b6928ff61eadf07e74d100ea5c78b7a8814742c34595c87ae5a23a7c99 -eo pid,comm 02:23:50 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). 02:23:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:50 [ssh-agent] Looking for ssh-agent implementation... 02:23:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:50 $ docker exec 3ecfe5b6928ff61eadf07e74d100ea5c78b7a8814742c34595c87ae5a23a7c99 ssh-agent 02:23:51 SSH_AUTH_SOCK=/tmp/ssh-Rgl20DYSmwh0/agent.33 02:23:51 SSH_AGENT_PID=39 02:23:51 Running ssh-add (command line suppressed) 02:23:51 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1482357913031322353.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1482357913031322353.key) 02:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:51 + git semver bump pre 02:23:51 2023-11-10 02:23:51,668 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:51 2023-11-10 02:23:51,668 [bump_version] DEBUG bumping version:3.1.0-dev.38 on axis:pre with prefix:dev 02:23:51 2023-11-10 02:23:51,668 [bump_version] DEBUG bumped version:3.1.0-dev.39 02:23:51 2023-11-10 02:23:51,668 [write_version] DEBUG write version:3.1.0-dev.39 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 02:23:51 2023-11-10 02:23:51,668 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:51 2023-11-10 02:23:51,668 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:51 2023-11-10 02:23:51,670 [execute] INFO git cat-file --batch-check 02:23:51 2023-11-10 02:23:51,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:23:51 2023-11-10 02:23:51,674 [execute] INFO git cat-file --batch 02:23:51 2023-11-10 02:23:51,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:23:51 2023-11-10 02:23:51,678 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:51 3.1.0-dev.39 [Pipeline] } 02:23:51 $ docker exec --env ******** --env ******** 3ecfe5b6928ff61eadf07e74d100ea5c78b7a8814742c34595c87ae5a23a7c99 ssh-agent -k 02:23:51 unset SSH_AUTH_SOCK; 02:23:51 unset SSH_AGENT_PID; 02:23:51 echo Agent pid 39 killed; 02:23:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:23:52 + git semver [Pipeline] } 02:23:52 $ docker stop --time=1 3ecfe5b6928ff61eadf07e74d100ea5c78b7a8814742c34595c87ae5a23a7c99 02:23:53 $ docker rm -f --volumes 3ecfe5b6928ff61eadf07e74d100ea5c78b7a8814742c34595c87ae5a23a7c99 [Pipeline] // withDockerContainer [Pipeline] sh 02:23:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:54 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:23:55 $ docker top b428bfc4a00af96be4ce43ad64ad1c68563d51a34c3afb80afd4dc2376288a0f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:55 [ssh-agent] Looking for ssh-agent implementation... 02:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:55 $ docker exec b428bfc4a00af96be4ce43ad64ad1c68563d51a34c3afb80afd4dc2376288a0f ssh-agent 02:23:55 SSH_AUTH_SOCK=/tmp/ssh-YKNT0VouOSen/agent.31 02:23:55 SSH_AGENT_PID=37 02:23:55 Running ssh-add (command line suppressed) 02:23:55 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13521029503892906342.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_13521029503892906342.key) 02:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:55 + git semver push 02:23:56 2023-11-10 02:23:56,056 [run_push] DEBUG push 02:23:56 2023-11-10 02:23:56,057 [execute] INFO git cat-file --batch-check 02:23:56 2023-11-10 02:23:56,058 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:23:56 2023-11-10 02:23:56,061 [execute] INFO git rev-list 91caa63eae2cb3dfb49a0310ca587dd564f2cc48 -- 02:23:56 2023-11-10 02:23:56,062 [execute] DEBUG Popen(['git', 'rev-list', '91caa63eae2cb3dfb49a0310ca587dd564f2cc48', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 02:23:56 2023-11-10 02:23:56,070 [execute] INFO git fetch -v origin 02:23:56 2023-11-10 02:23:56,070 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 02:23:56 2023-11-10 02:23:56,573 [run_push] DEBUG no remote changes detected 02:23:56 2023-11-10 02:23:56,574 [execute] INFO git push origin semver 02:23:56 2023-11-10 02:23:56,574 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 02:23:57 2023-11-10 02:23:57,356 [run_push] DEBUG push all version tags 02:23:57 2023-11-10 02:23:57,357 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:23:57 2023-11-10 02:23:57,358 [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) 02:23:58 2023-11-10 02:23:58,112 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:23:58 3.1.0-dev.39 [Pipeline] } 02:23:58 $ docker exec --env ******** --env ******** b428bfc4a00af96be4ce43ad64ad1c68563d51a34c3afb80afd4dc2376288a0f ssh-agent -k 02:23:58 unset SSH_AUTH_SOCK; 02:23:58 unset SSH_AGENT_PID; 02:23:58 echo Agent pid 37 killed; 02:23:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:23:58 + git semver [Pipeline] } 02:23:58 $ docker stop --time=1 b428bfc4a00af96be4ce43ad64ad1c68563d51a34c3afb80afd4dc2376288a0f 02:24:00 $ docker rm -f --volumes b428bfc4a00af96be4ce43ad64ad1c68563d51a34c3afb80afd4dc2376288a0f [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 02:24:00 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 02:24:00 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 02:24:00 total 16 02:24:00 drwxr-xr-x 3 root root 4096 Nov 10 02:10 . 02:24:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 02:23 .. 02:24:00 drwxr-xr-x 2 root root 4096 Nov 10 02:10 cost 02:24:00 -rw-r--r-- 1 root root 89 Nov 10 02:10 cost.csv 02:24:00 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 02:24:00 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 02:24:00 total 16 02:24:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 02:10 . 02:24:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 02:23 .. 02:24:00 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 02:10 cost 02:24:00 -rw-r--r-- 1 jenkins jenkins 89 Nov 10 02:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:24:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:24:01 ---> package-listing.sh 02:24:01 ++ facter osfamily 02:24:01 ++ tr '[:upper:]' '[:lower:]' 02:24:02 + OS_FAMILY=debian 02:24:02 + workspace=/w/workspace/exfoundry_device-usb-camera_main 02:24:02 + START_PACKAGES=/tmp/packages_start.txt 02:24:02 + END_PACKAGES=/tmp/packages_end.txt 02:24:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:24:02 + PACKAGES=/tmp/packages_start.txt 02:24:02 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 02:24:02 + PACKAGES=/tmp/packages_end.txt 02:24:02 + case "${OS_FAMILY}" in 02:24:02 + dpkg -l 02:24:02 + grep '^ii' 02:24:02 + '[' -f /tmp/packages_start.txt ']' 02:24:02 + '[' -f /tmp/packages_end.txt ']' 02:24:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:24:02 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 02:24:02 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 02:24:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 02:24:02 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 02:24:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:03 prd-ubuntu20.04-docker-8c-8g-17181 does not seem to be running inside a container 02:24:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:24:03 $ docker top da1c776c9ed6a4c797ee874d01eca592b1ccbcde10780ca7c3dfad84eb73b5d7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:24:04 + mkdir -p /var/log/sysstat [Pipeline] sh 02:24:04 + ls /var/log/sa-host 02:24:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:04 provisioning config files... 02:24:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14093511396090334153tmp [Pipeline] { [Pipeline] echo 02:24:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:24:04 ---> create-netrc.sh [Pipeline] } 02:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:24:05 ---> python-tools-install.sh [Pipeline] echo 02:24:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:24:05 ---> sudo-logs.sh 02:24:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:24:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:24:05 ---> job-cost.sh 02:24:05 lf-activate-venv: SKIPPING 02:24:05 DEBUG: total: 0.2199999988079071 02:24:05 INFO: Retrieving Stack Cost... 02:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:24:06 INFO: Archiving Costs [Pipeline] echo 02:24:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:24:06 ---> logs-deploy.sh 02:24:06 lf-activate-venv: SKIPPING 02:24:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/164 02:24:06 INFO: archiving workspace using pattern(s): 02:24:07 Archives upload complete. 02:24:07 INFO: archiving logs to Nexus