Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh14747823805636702644.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4663425874034965515.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4363662283970064860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15955352354754755655.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-ssh1708891438596566110.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.20 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-254 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a (main) Commit message: "feat: Extend discovery to support Intel real sense cameras (#264)" > 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-list --no-walk c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:36 ========================================================= 00:11:36 EdgeX Global Pipelines Version Info 00:11:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:37 ------------------- 00:11:37 stable info: 00:11:37 ------------------- 00:11:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:11:37 Message: update stable to v1.0.250 00:11:37 ------------------- 00:11:37 experimental info: 00:11:37 ------------------- 00:11:37 Commited By: **** collab-it+edgex@linuxfoundation.org 00:11:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:11:37 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7adbeca [Pipeline] echo 00:11:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:38 provisioning config files... 00:11:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4381803401525797853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:38 ---> docker-login.sh 00:11:38 nexus3.edgexfoundry.org:10001 00:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:39 Configure a credential helper to remove this warning. See 00:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:39 00:11:39 Login Succeeded 00:11:39 nexus3.edgexfoundry.org:10002 00:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:39 Configure a credential helper to remove this warning. See 00:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:39 00:11:39 Login Succeeded 00:11:39 nexus3.edgexfoundry.org:10003 00:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:39 Configure a credential helper to remove this warning. See 00:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:39 00:11:39 Login Succeeded 00:11:39 nexus3.edgexfoundry.org:10004 00:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:39 Configure a credential helper to remove this warning. See 00:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:39 00:11:39 Login Succeeded 00:11:39 docker.io 00:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:40 Configure a credential helper to remove this warning. See 00:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:40 00:11:40 Login Succeeded 00:11:40 ---> docker-login.sh ends [Pipeline] } 00:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:11:40 + git rev-list -1 --merges 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a~1..7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] echo 00:11:40 -----------> git rev-list -1 --merges 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a~1..7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [false] [Pipeline] sh 00:11:40 + git log --format=format:%s -1 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] echo 00:11:40 ========================================================= 00:11:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:11:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:11:41 + git log --format=format:%s -1 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] echo 00:11:41 [semverPrep] GIT_COMMIT: 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a, Commit Message: feat: Extend discovery to support Intel real sense cameras (#264) [Pipeline] echo 00:11:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:11:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:41 + grep -v github /etc/ssh/ssh_known_hosts 00:11:41 + [ -e /tmp/ssh_known_hosts ] 00:11:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:11:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:11:41 + sudo tee -a /etc/ssh/ssh_known_hosts 00:11:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:41 00:11:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:11:42 b85a868b505f: Pulling fs layer 00:11:42 e2be974225ed: Pulling fs layer 00:11:42 339a4e72a1f5: Pulling fs layer 00:11:42 988bab9f4d93: Pulling fs layer 00:11:42 1469e6f7b9e6: Pulling fs layer 00:11:42 988bab9f4d93: Waiting 00:11:42 eaf3925da568: Pulling fs layer 00:11:42 1469e6f7b9e6: Waiting 00:11:42 bab4dde63d76: Pulling fs layer 00:11:42 eaf3925da568: Waiting 00:11:42 bde34c3a00c8: Pulling fs layer 00:11:42 bab4dde63d76: Waiting 00:11:42 b352a97aabf1: Pulling fs layer 00:11:42 bde34c3a00c8: Waiting 00:11:42 4872d77fe225: Pulling fs layer 00:11:42 5851b861e8e6: Pulling fs layer 00:11:42 5851b861e8e6: Waiting 00:11:42 e2be974225ed: Verifying Checksum 00:11:42 e2be974225ed: Download complete 00:11:42 988bab9f4d93: Verifying Checksum 00:11:42 988bab9f4d93: Download complete 00:11:42 1469e6f7b9e6: Verifying Checksum 00:11:42 1469e6f7b9e6: Download complete 00:11:42 339a4e72a1f5: Verifying Checksum 00:11:42 339a4e72a1f5: Download complete 00:11:42 bde34c3a00c8: Verifying Checksum 00:11:42 bde34c3a00c8: Download complete 00:11:42 b352a97aabf1: Download complete 00:11:42 4872d77fe225: Verifying Checksum 00:11:42 4872d77fe225: Download complete 00:11:42 5851b861e8e6: Download complete 00:11:42 b85a868b505f: Verifying Checksum 00:11:42 b85a868b505f: Download complete 00:11:42 bab4dde63d76: Verifying Checksum 00:11:42 bab4dde63d76: Download complete 00:11:43 b85a868b505f: Pull complete 00:11:43 e2be974225ed: Pull complete 00:11:44 339a4e72a1f5: Pull complete 00:11:44 988bab9f4d93: Pull complete 00:11:44 1469e6f7b9e6: Pull complete 00:11:44 eaf3925da568: Pull complete 00:11:46 bab4dde63d76: Pull complete 00:11:46 bde34c3a00c8: Pull complete 00:11:46 b352a97aabf1: Pull complete 00:11:46 4872d77fe225: Pull complete 00:11:47 5851b861e8e6: Pull complete 00:11:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:11:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:47 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:11:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:52 $ docker top f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 -eo pid,comm 00:11:52 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). 00:11:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:52 [ssh-agent] Looking for ssh-agent implementation... 00:11:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:52 $ docker exec f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 ssh-agent 00:11:52 SSH_AUTH_SOCK=/tmp/ssh-MD5crKVnrUN4/agent.32 00:11:52 SSH_AGENT_PID=38 00:11:52 Running ssh-add (command line suppressed) 00:11:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16429105327800834627.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16429105327800834627.key) 00:11:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:53 + git tag --points-at HEAD [Pipeline] } 00:11:53 $ docker exec --env ******** --env ******** f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 ssh-agent -k 00:11:53 unset SSH_AUTH_SOCK; 00:11:53 unset SSH_AGENT_PID; 00:11:53 echo Agent pid 38 killed; 00:11:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:53 [ssh-agent] Looking for ssh-agent implementation... 00:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:53 $ docker exec f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 ssh-agent 00:11:53 SSH_AUTH_SOCK=/tmp/ssh-7jiRjkhEPGUa/agent.70 00:11:53 SSH_AGENT_PID=76 00:11:53 Running ssh-add (command line suppressed) 00:11:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10658096461944907296.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10658096461944907296.key) 00:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:53 + git semver init 00:11:54 2023-07-01 00:11:54,009 [run_init] DEBUG init version:0.0.0 force:False 00:11:54 2023-07-01 00:11:54,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:11:54 2023-07-01 00:11:54,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:11:54 2023-07-01 00:11:54,010 [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) 00:11:55 2023-07-01 00:11:54,721 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:11:55 2023-07-01 00:11:54,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:11:55 2023-07-01 00:11:54,721 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:11:55 2023-07-01 00:11:54,721 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:11:55 3.1.0-dev.3 [Pipeline] } 00:11:55 $ docker exec --env ******** --env ******** f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 ssh-agent -k 00:11:55 unset SSH_AUTH_SOCK; 00:11:55 unset SSH_AGENT_PID; 00:11:55 echo Agent pid 76 killed; 00:11:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:55 + git semver [Pipeline] } 00:11:55 $ docker stop --time=1 f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 00:11:57 $ docker rm -f --volumes f7cfaf30909ca9badab879e7e0bd3c8d5dce374805dbed98a8fd00192a0aa332 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:57 Stashed 1 file(s) [Pipeline] echo 00:11:57 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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 00:11:57 provisioning config files... 00:11:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8992400060194318461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:58 ---> docker-login.sh 00:11:58 nexus3.edgexfoundry.org:10001 00:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:58 Configure a credential helper to remove this warning. See 00:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:58 00:11:58 Login Succeeded 00:11:58 nexus3.edgexfoundry.org:10002 00:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:58 Configure a credential helper to remove this warning. See 00:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:58 00:11:58 Login Succeeded 00:11:58 nexus3.edgexfoundry.org:10003 00:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:58 Configure a credential helper to remove this warning. See 00:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:58 00:11:58 Login Succeeded 00:11:58 nexus3.edgexfoundry.org:10004 00:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:58 Configure a credential helper to remove this warning. See 00:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:58 00:11:58 Login Succeeded 00:11:58 docker.io 00:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:58 Configure a credential helper to remove this warning. See 00:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:58 00:11:58 Login Succeeded 00:11:58 ---> docker-login.sh ends [Pipeline] } 00:11:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:58 ========================================================= 00:11:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:11:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:11:58 Sending build context to Docker daemon 1.994MB 00:11:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:11:58 Step 2/13 : FROM ${BASE} AS builder 00:11:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:11:59 f56be85fc22e: Pulling fs layer 00:11:59 85791d961cd3: Pulling fs layer 00:11:59 d694b5ae8c79: Pulling fs layer 00:11:59 9f32a84ed3da: Pulling fs layer 00:11:59 4d19c01a9841: Pulling fs layer 00:11:59 9325e15d5711: Pulling fs layer 00:11:59 556b6ee489ea: Pulling fs layer 00:11:59 c5a4b2cf53e6: Pulling fs layer 00:11:59 4d19c01a9841: Waiting 00:11:59 9325e15d5711: Waiting 00:11:59 556b6ee489ea: Waiting 00:11:59 c5a4b2cf53e6: Waiting 00:11:59 9f32a84ed3da: Waiting 00:11:59 85791d961cd3: Verifying Checksum 00:11:59 85791d961cd3: Download complete 00:11:59 9f32a84ed3da: Download complete 00:11:59 4d19c01a9841: Verifying Checksum 00:11:59 4d19c01a9841: Download complete 00:11:59 f56be85fc22e: Download complete 00:11:59 9325e15d5711: Verifying Checksum 00:11:59 9325e15d5711: Download complete 00:11:59 f56be85fc22e: Pull complete 00:11:59 85791d961cd3: Pull complete 00:11:59 d694b5ae8c79: Verifying Checksum 00:11:59 d694b5ae8c79: Download complete 00:11:59 c5a4b2cf53e6: Verifying Checksum 00:11:59 c5a4b2cf53e6: Download complete 00:11:59 556b6ee489ea: Verifying Checksum 00:11:59 556b6ee489ea: Download complete 00:12:03 d694b5ae8c79: Pull complete 00:12:03 9f32a84ed3da: Pull complete 00:12:03 4d19c01a9841: Pull complete 00:12:03 9325e15d5711: Pull complete 00:12:05 556b6ee489ea: Pull complete 00:12:06 c5a4b2cf53e6: Pull complete 00:12:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:12:06 ---> c4be618373d6 00:12:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:12:12 Still waiting to schedule task 00:12:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-252’ 00:12:16 ---> Running in ac67a32d7a7f 00:12:16 Removing intermediate container ac67a32d7a7f 00:12:16 ---> 25a0423bc6e3 00:12:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:16 ---> Running in 8acd969e2330 00:12:16 Removing intermediate container 8acd969e2330 00:12:16 ---> 8473125d9fd1 00:12:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:12:16 ---> Running in 3fa352c05511 00:12:16 Removing intermediate container 3fa352c05511 00:12:16 ---> 984db8b2e6ca 00:12:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:12:16 ---> Running in 5f16edd97289 00:12:16 Removing intermediate container 5f16edd97289 00:12:16 ---> f92daf067ce0 00:12:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:16 ---> Running in fa3c0915e36e 00:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:12:16 (1/14) Installing libintl (0.21.1-r1) 00:12:16 (2/14) Installing eudev-libs (3.2.11-r4) 00:12:16 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:12:16 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:12:16 (5/14) Installing v4l-utils (1.22.1-r2) 00:12:16 (6/14) Installing udev-init-scripts (35-r1) 00:12:16 (7/14) Installing libblkid (2.38.1-r1) 00:12:16 (8/14) Installing xz-libs (5.2.9-r0) 00:12:16 (9/14) Installing zstd-libs (1.5.5-r0) 00:12:16 (10/14) Installing kmod-libs (30-r1) 00:12:16 (11/14) Installing eudev (3.2.11-r4) 00:12:16 (12/14) Installing eudev-dev (3.2.11-r4) 00:12:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:12:16 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:12:16 Executing busybox-1.35.0-r29.trigger 00:12:16 Executing eudev-3.2.11-r4.trigger 00:12:16 OK: 272 MiB in 67 packages 00:12:17 Removing intermediate container fa3c0915e36e 00:12:17 ---> 10381bbad8d3 00:12:17 Step 8/13 : WORKDIR /device-usb-camera 00:12:17 ---> Running in ca3cfaddbf27 00:12:17 Removing intermediate container ca3cfaddbf27 00:12:17 ---> 980d3c6e9513 00:12:17 Step 9/13 : COPY go.mod vendor* ./ 00:12:17 ---> f649a08784fd 00:12:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:17 ---> Running in cbd433a85f3d 00:13:25 Removing intermediate container cbd433a85f3d 00:13:25 ---> e8bdc090c440 00:13:25 Step 11/13 : COPY . . 00:13:25 ---> 529ffcea0c6a 00:13:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:13:25 ---> Running in acda379b6eac 00:13:25  % Total % Received % Xferd Average Speed Time Time Time Current 00:13:25  Dload Upload Total Spent Left Speed 00:13:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8996 0 --:--:-- --:--:-- --:--:-- 9076 00:13:25 Removing intermediate container acda379b6eac 00:13:25 ---> ee06aa33b33b 00:13:25 Step 13/13 : RUN ${MAKE} 00:13:25 ---> Running in 8a75b7384e7a 00:13:25 noop 00:13:25 Removing intermediate container 8a75b7384e7a 00:13:25 ---> d6ba2f541586 00:13:25 Successfully built d6ba2f541586 00:13:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:25 + docker inspect -f . ci-base-image-x86_64 00:13:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:25 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:13:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:26 $ docker top 8e22e63d89b6dd7cb57a6c09eac6649ae0a20dae1b75e46c7fc6032f50230cbe -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:26 + go version 00:13:26 go version go1.20.2 linux/amd64 [Pipeline] } 00:13:26 $ docker stop --time=1 8e22e63d89b6dd7cb57a6c09eac6649ae0a20dae1b75e46c7fc6032f50230cbe 00:13:27 $ docker rm -f --volumes 8e22e63d89b6dd7cb57a6c09eac6649ae0a20dae1b75e46c7fc6032f50230cbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:28 + docker inspect -f . ci-base-image-x86_64 00:13:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:28 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:28 $ docker top 5ee6bb220495bb25b28a11303f5fda0a156c28c16b530a8d8f2832eb436b4da3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:29 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:13:29 + make test 00:13:29 go test ./... -coverprofile=coverage.out ./... 00:13:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:13:43 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:13:43 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 4.2% of statements 00:13:50 go vet ./... 00:13:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:52 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:52 $ docker stop --time=1 5ee6bb220495bb25b28a11303f5fda0a156c28c16b530a8d8f2832eb436b4da3 00:13:56 $ docker rm -f --volumes 5ee6bb220495bb25b28a11303f5fda0a156c28c16b530a8d8f2832eb436b4da3 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:13:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:13:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:13:58 + ls -al . 00:13:58 total 200 00:13:58 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 00:13 . 00:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:11 .. 00:13:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 00:11 .git 00:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:11 .github 00:13:58 -rw-rw-r-- 1 jenkins jenkins 414 Jul 1 00:11 .gitignore 00:13:58 -rw-rw-r-- 1 jenkins jenkins 45 Jul 1 00:11 .golangci.yml 00:13:58 -rw-rw-r-- 1 jenkins jenkins 77 Jul 1 00:11 .hadolint.yml 00:13:58 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 00:11 .semver 00:13:58 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 1 00:11 Attribution.txt 00:13:58 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 1 00:11 CHANGELOG.md 00:13:58 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 1 00:11 Dockerfile 00:13:58 -rw-rw-r-- 1 jenkins jenkins 678 Jul 1 00:11 GOVERNANCE.md 00:13:58 -rw-rw-r-- 1 jenkins jenkins 659 Jul 1 00:11 Jenkinsfile 00:13:58 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 1 00:11 LICENSE 00:13:58 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 1 00:11 Makefile 00:13:58 -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 00:11 OWNERS.md 00:13:58 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 1 00:11 README.md 00:13:58 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 00:11 VERSION 00:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:11 bin 00:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:11 cmd 00:13:58 -rw-r--r-- 1 jenkins jenkins 37102 Jul 1 00:13 coverage.out 00:13:58 -rwxrwxr-x 1 jenkins jenkins 140 Jul 1 00:11 docker-entrypoint.sh 00:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:11 docs 00:13:58 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 1 00:11 go.mod 00:13:58 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 1 00:11 go.sum 00:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:11 internal 00:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:11 snap 00:13:58 -rw-rw-r-- 1 jenkins jenkins 231 Jul 1 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:58 + 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=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a --label arch=amd64 --label version=3.1.0-dev.3 . 00:13:58 Sending build context to Docker daemon 2.032MB 00:13:58 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:13:58 Step 2/36 : FROM ${BASE} AS builder 00:13:58 ---> d6ba2f541586 00:13:58 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:13:58 ---> Running in 6d61ed3bd75a 00:13:58 Removing intermediate container 6d61ed3bd75a 00:13:58 ---> aa476a7cf908 00:13:58 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:58 ---> Running in b21e171982c6 00:13:58 Removing intermediate container b21e171982c6 00:13:58 ---> 9c6bbe14da17 00:13:58 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:13:58 ---> Running in c5d089b7d87f 00:13:59 Removing intermediate container c5d089b7d87f 00:13:59 ---> 03788cf006c9 00:13:59 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:13:59 ---> Running in a4c8ca52da95 00:13:59 Removing intermediate container a4c8ca52da95 00:13:59 ---> d81bfbaa8eb4 00:13:59 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:59 ---> Running in b113dfe1ed70 00:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:13:59 OK: 272 MiB in 67 packages 00:14:00 Removing intermediate container b113dfe1ed70 00:14:00 ---> a896bcc223ce 00:14:00 Step 8/36 : WORKDIR /device-usb-camera 00:14:00 ---> Running in 758667c93782 00:14:00 Removing intermediate container 758667c93782 00:14:00 ---> de729818c177 00:14:00 Step 9/36 : COPY go.mod vendor* ./ 00:14:00 ---> 0b9f2afbbc13 00:14:00 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:00 ---> Running in b83de26e384b 00:14:01 Removing intermediate container b83de26e384b 00:14:01 ---> 31718f8f8783 00:14:01 Step 11/36 : COPY . . 00:14:02 ---> 65dde29b8dde 00:14:02 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:14:02 ---> Running in 119b8a9f17c3 00:14:03  % Total % Received % Xferd Average Speed Time Time Time Current 00:14:03 Dload Upload Total Spent Left Speed 00:14:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100  1062   0     0  11161  0 --:--:-- --:--:-- --:--:-- 11297 00:14:03 Removing intermediate container 119b8a9f17c3 00:14:03 ---> 044edbec5d9a 00:14:03 Step 13/36 : RUN ${MAKE} 00:14:03 ---> Running in 265d523604e1 00:14:03 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:14:30 Removing intermediate container 265d523604e1 00:14:30 ---> 228ee127500a 00:14:30 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:14:30 v0.21.6: Pulling from aler9/rtsp-simple-server 00:14:30 4acc49c71d14: Pulling fs layer 00:14:30 4acc49c71d14: Verifying Checksum 00:14:30 4acc49c71d14: Download complete 00:14:30 4acc49c71d14: Pull complete 00:14:30 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:14:30 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:14:30 ---> 01a2bd3e5fff 00:14:30 Step 15/36 : FROM alpine:3.17 00:14:30 3.17: Pulling from library/alpine 00:14:30 4db1b89c0bd1: Pulling fs layer 00:14:30 4db1b89c0bd1: Verifying Checksum 00:14:30 4db1b89c0bd1: Download complete 00:14:30 4db1b89c0bd1: Pull complete 00:14:30 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:14:30 Status: Downloaded newer image for alpine:3.17 00:14:30 ---> 1f73a9d63274 00:14:30 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:14:30 ---> Running in 402d8c1c1e82 00:14:30 Removing intermediate container 402d8c1c1e82 00:14:30 ---> 2d49037555b4 00:14:30 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:14:30 ---> Running in 8fa5b3295352 00:14:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:14:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:14:30 (1/86) Installing dumb-init (1.2.5-r2) 00:14:30 (2/86) Installing sdl2 (2.26.5-r0) 00:14:30 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:14:30 (4/86) Installing libxau (1.0.10-r0) 00:14:30 (5/86) Installing libmd (1.0.4-r0) 00:14:30 (6/86) Installing libbsd (0.11.7-r0) 00:14:30 (7/86) Installing libxdmcp (1.1.4-r0) 00:14:30 (8/86) Installing libxcb (1.15-r0) 00:14:30 (9/86) Installing libx11 (1.8.4-r1) 00:14:30 (10/86) Installing aom-libs (3.5.0-r0) 00:14:30 (11/86) Installing alsa-lib (1.2.8-r0) 00:14:30 (12/86) Installing libexpat (2.5.0-r0) 00:14:30 (13/86) Installing brotli-libs (1.0.9-r9) 00:14:30 (14/86) Installing libbz2 (1.0.8-r4) 00:14:30 (15/86) Installing libpng (1.6.38-r0) 00:14:30 (16/86) Installing freetype (2.12.1-r0) 00:14:30 (17/86) Installing fontconfig (2.14.1-r0) 00:14:30 (18/86) Installing fribidi (1.0.12-r0) 00:14:30 (19/86) Installing libffi (3.4.4-r0) 00:14:30 (20/86) Installing libintl (0.21.1-r1) 00:14:30 (21/86) Installing libblkid (2.38.1-r1) 00:14:30 (22/86) Installing libmount (2.38.1-r1) 00:14:30 (23/86) Installing pcre2 (10.42-r0) 00:14:30 (24/86) Installing glib (2.74.7-r0) 00:14:30 (25/86) Installing graphite2 (1.3.14-r2) 00:14:30 (26/86) Installing harfbuzz (5.3.1-r1) 00:14:30 (27/86) Installing libass (0.16.0-r1) 00:14:30 (28/86) Installing libdav1d (1.0.0-r2) 00:14:30 (29/86) Installing hwdata-pci (0.364-r0) 00:14:30 (30/86) Installing libpciaccess (0.17-r0) 00:14:30 (31/86) Installing libdrm (2.4.114-r0) 00:14:30 (32/86) Installing gmp (6.2.1-r2) 00:14:30 (33/86) Installing nettle (3.8.1-r0) 00:14:30 (34/86) Installing p11-kit (0.24.1-r1) 00:14:30 (35/86) Installing libtasn1 (4.19.0-r0) 00:14:30 (36/86) Installing libunistring (1.1-r0) 00:14:30 (37/86) Installing gnutls (3.7.8-r3) 00:14:30 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:14:30 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 00:14:30 (40/86) Installing lame (3.100-r2) 00:14:30 (41/86) Installing opus (1.3.1-r1) 00:14:30 (42/86) Installing libasyncns (0.8-r1) 00:14:30 (43/86) Installing dbus-libs (1.14.8-r0) 00:14:30 (44/86) Installing libltdl (2.4.7-r1) 00:14:30 (45/86) Installing orc (0.4.33-r0) 00:14:30 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:14:30 (47/86) Installing libogg (1.3.5-r2) 00:14:30 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:14:30 (49/86) Installing flac-libs (1.4.2-r0) 00:14:30 (50/86) Installing libvorbis (1.3.7-r0) 00:14:30 (51/86) Installing libsndfile (1.1.0-r2) 00:14:30 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:14:30 (53/86) Installing soxr (0.1.3-r3) 00:14:30 (54/86) Installing speexdsp (1.2.1-r0) 00:14:30 (55/86) Installing tdb-libs (1.4.6-r0) 00:14:30 (56/86) Installing libpulse (16.1-r6) 00:14:30 (57/86) Installing cjson (1.7.15-r3) 00:14:30 (58/86) Installing mbedtls (2.28.3-r0) 00:14:30 (59/86) Installing librist (0.2.7-r0) 00:14:30 (60/86) Installing libsrt (1.5.1-r0) 00:14:30 (61/86) Installing libssh (0.10.5-r0) 00:14:30 (62/86) Installing libtheora (1.1.1-r16) 00:14:30 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:14:30 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:14:30 (65/86) Installing libxext (1.3.5-r0) 00:14:30 (66/86) Installing libxfixes (6.0.0-r0) 00:14:30 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:14:30 (68/86) Installing libva (2.16.0-r0) 00:14:30 (69/86) Installing libvdpau (1.5-r0) 00:14:30 (70/86) Installing vidstab (1.1.0-r2) 00:14:30 (71/86) Installing libvpx (1.12.0-r1) 00:14:30 (72/86) Installing libwebp (1.2.4-r2) 00:14:30 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:14:30 (74/86) Installing numactl (2.0.16-r1) 00:14:30 (75/86) Installing x265-libs (3.5-r3) 00:14:30 (76/86) Installing xvidcore (1.3.7-r1) 00:14:30 (77/86) Installing libsodium (1.0.18-r2) 00:14:30 (78/86) Installing libzmq (4.3.4-r1) 00:14:30 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:14:30 (80/86) Installing ffmpeg (5.1.3-r0) 00:14:30 (81/86) Installing udev-init-scripts (35-r1) 00:14:30 (82/86) Installing eudev-libs (3.2.11-r4) 00:14:30 (83/86) Installing xz-libs (5.2.9-r0) 00:14:30 (84/86) Installing zstd-libs (1.5.5-r0) 00:14:30 (85/86) Installing kmod-libs (30-r1) 00:14:30 (86/86) Installing eudev (3.2.11-r4) 00:14:30 Executing busybox-1.35.0-r29.trigger 00:14:30 Executing eudev-3.2.11-r4.trigger 00:14:30 OK: 112 MiB in 101 packages 00:14:35 Removing intermediate container 8fa5b3295352 00:14:35 ---> fb801a0acc30 00:14:35 Step 18/36 : WORKDIR / 00:14:35 ---> Running in 08da3a7c6898 00:14:35 Removing intermediate container 08da3a7c6898 00:14:35 ---> 11531faa626b 00:14:35 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:14:35 ---> ce9590aa9e83 00:14:35 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:14:35 ---> 66ca684ec4a6 00:14:35 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:14:35 ---> ec24ff0794c0 00:14:35 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:14:35 ---> 069e54c600fd 00:14:35 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:14:35 ---> 00afaf889830 00:14:35 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:14:35 ---> 5fab33241ee8 00:14:35 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:14:37 ---> 613e08b05fc3 00:14:37 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:14:37 ---> Running in 9f317be9922d 00:14:37 Removing intermediate container 9f317be9922d 00:14:37 ---> bd27d952bc82 00:14:37 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:14:37 ---> Running in a2d8e68f37dd 00:14:37 Removing intermediate container a2d8e68f37dd 00:14:37 ---> 7ca7500198fe 00:14:37 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:14:38 ---> Running in 223df9b7d571 00:14:38 Removing intermediate container 223df9b7d571 00:14:38 ---> 048bf4caa98c 00:14:38 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:14:38 ---> Running in cd4ba143e365 00:14:38 Removing intermediate container cd4ba143e365 00:14:38 ---> 81269c27795f 00:14:38 Step 30/36 : EXPOSE 59983 00:14:38 ---> Running in 2a2da7596d4e 00:14:39 Removing intermediate container 2a2da7596d4e 00:14:39 ---> b460288dbd70 00:14:39 Step 31/36 : EXPOSE 8554 00:14:39 ---> Running in 75c7e1808e53 00:14:39 Removing intermediate container 75c7e1808e53 00:14:39 ---> 85746270a0a2 00:14:39 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:14:39 ---> Running in 4b8b2a2c5ea4 00:14:39 Removing intermediate container 4b8b2a2c5ea4 00:14:39 ---> 5d9471669de1 00:14:39 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:14:39 ---> Running in c394937065ff 00:14:39 Removing intermediate container c394937065ff 00:14:39 ---> 60b872fa1a7a 00:14:39 Step 34/36 : LABEL arch=amd64 00:14:39 ---> Running in e66d7a1074ca 00:14:39 Removing intermediate container e66d7a1074ca 00:14:39 ---> 278ec96b54a0 00:14:39 Step 35/36 : LABEL git_sha=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:14:39 ---> Running in fde800a7c423 00:14:39 Removing intermediate container fde800a7c423 00:14:39 ---> 479155f6b201 00:14:39 Step 36/36 : LABEL version=3.1.0-dev.3 00:14:39 ---> Running in 11db410a690f 00:14:39 Removing intermediate container 11db410a690f 00:14:39 ---> cde778c5ebe8 00:14:39 [Warning] One or more build-args [ARCH] were not consumed 00:14:39 Successfully built cde778c5ebe8 00:14:39 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 00:14:39 provisioning config files... 00:14:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7774347456144991985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:40 ---> docker-login.sh 00:14:40 nexus3.edgexfoundry.org:10001 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 nexus3.edgexfoundry.org:10002 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 nexus3.edgexfoundry.org:10003 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 nexus3.edgexfoundry.org:10004 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 docker.io 00:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 ---> docker-login.sh ends [Pipeline] } 00:14:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:40 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:14:40 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:14:40 latest 00:14:40 3.1.0-dev.3 00:14:40 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:14:40 main 00:14:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:41 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:41 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:14:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:14:41 603d27cdbc21: Preparing 00:14:41 f4e7b5d0ba9b: Preparing 00:14:41 d3db0da9882b: Preparing 00:14:41 f3ae7d367bfc: Preparing 00:14:41 3827b5b91e75: Preparing 00:14:41 acc83c6ca332: Preparing 00:14:41 4e63b78b59d2: Preparing 00:14:41 2041c8bc9a32: Preparing 00:14:41 db50bd6310aa: Preparing 00:14:41 93521b3a0d5e: Preparing 00:14:41 11d24089ec04: Preparing 00:14:41 b2dea107fe93: Preparing 00:14:41 3dab9f8bf2d2: Preparing 00:14:41 4e63b78b59d2: Waiting 00:14:41 2041c8bc9a32: Waiting 00:14:41 db50bd6310aa: Waiting 00:14:41 93521b3a0d5e: Waiting 00:14:41 11d24089ec04: Waiting 00:14:41 b2dea107fe93: Waiting 00:14:41 3dab9f8bf2d2: Waiting 00:14:41 acc83c6ca332: Waiting 00:14:41 603d27cdbc21: Pushed 00:14:41 f4e7b5d0ba9b: Pushed 00:14:41 d3db0da9882b: Pushed 00:14:41 f3ae7d367bfc: Pushed 00:14:42 acc83c6ca332: Pushed 00:14:42 4e63b78b59d2: Pushed 00:14:42 db50bd6310aa: Pushed 00:14:42 2041c8bc9a32: Pushed 00:14:42 93521b3a0d5e: Pushed 00:14:42 3dab9f8bf2d2: Layer already exists 00:14:44 3827b5b91e75: Pushed 00:14:44 11d24089ec04: Pushed 00:14:51 b2dea107fe93: Pushed 00:14:51 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a: digest: sha256:7c7d8166b0ad16031bc618b023c32ca5e9d3b06e0ec09783116afa2980b392c3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:14:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:14:52 603d27cdbc21: Preparing 00:14:52 f4e7b5d0ba9b: Preparing 00:14:52 d3db0da9882b: Preparing 00:14:52 f3ae7d367bfc: Preparing 00:14:52 3827b5b91e75: Preparing 00:14:52 acc83c6ca332: Preparing 00:14:52 4e63b78b59d2: Preparing 00:14:52 2041c8bc9a32: Preparing 00:14:52 db50bd6310aa: Preparing 00:14:52 93521b3a0d5e: Preparing 00:14:52 11d24089ec04: Preparing 00:14:52 b2dea107fe93: Preparing 00:14:52 3dab9f8bf2d2: Preparing 00:14:52 2041c8bc9a32: Waiting 00:14:52 acc83c6ca332: Waiting 00:14:52 db50bd6310aa: Waiting 00:14:52 4e63b78b59d2: Waiting 00:14:52 93521b3a0d5e: Waiting 00:14:52 3dab9f8bf2d2: Waiting 00:14:52 11d24089ec04: Waiting 00:14:52 b2dea107fe93: Waiting 00:14:52 f4e7b5d0ba9b: Layer already exists 00:14:52 f3ae7d367bfc: Layer already exists 00:14:52 3827b5b91e75: Layer already exists 00:14:52 603d27cdbc21: Layer already exists 00:14:52 d3db0da9882b: Layer already exists 00:14:52 acc83c6ca332: Layer already exists 00:14:52 2041c8bc9a32: Layer already exists 00:14:52 db50bd6310aa: Layer already exists 00:14:52 93521b3a0d5e: Layer already exists 00:14:52 4e63b78b59d2: Layer already exists 00:14:52 11d24089ec04: Layer already exists 00:14:52 3dab9f8bf2d2: Layer already exists 00:14:52 b2dea107fe93: Layer already exists 00:14:52 latest: digest: sha256:7c7d8166b0ad16031bc618b023c32ca5e9d3b06e0ec09783116afa2980b392c3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:52 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.3 00:14:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:14:52 603d27cdbc21: Preparing 00:14:52 f4e7b5d0ba9b: Preparing 00:14:52 d3db0da9882b: Preparing 00:14:52 f3ae7d367bfc: Preparing 00:14:52 3827b5b91e75: Preparing 00:14:52 acc83c6ca332: Preparing 00:14:52 4e63b78b59d2: Preparing 00:14:52 2041c8bc9a32: Preparing 00:14:52 db50bd6310aa: Preparing 00:14:52 93521b3a0d5e: Preparing 00:14:52 11d24089ec04: Preparing 00:14:52 b2dea107fe93: Preparing 00:14:52 3dab9f8bf2d2: Preparing 00:14:52 acc83c6ca332: Waiting 00:14:52 4e63b78b59d2: Waiting 00:14:52 2041c8bc9a32: Waiting 00:14:52 db50bd6310aa: Waiting 00:14:52 93521b3a0d5e: Waiting 00:14:52 11d24089ec04: Waiting 00:14:52 b2dea107fe93: Waiting 00:14:52 3dab9f8bf2d2: Waiting 00:14:52 f3ae7d367bfc: Layer already exists 00:14:52 f4e7b5d0ba9b: Layer already exists 00:14:52 d3db0da9882b: Layer already exists 00:14:52 3827b5b91e75: Layer already exists 00:14:52 603d27cdbc21: Layer already exists 00:14:52 acc83c6ca332: Layer already exists 00:14:52 4e63b78b59d2: Layer already exists 00:14:52 2041c8bc9a32: Layer already exists 00:14:52 db50bd6310aa: Layer already exists 00:14:52 93521b3a0d5e: Layer already exists 00:14:52 b2dea107fe93: Layer already exists 00:14:52 11d24089ec04: Layer already exists 00:14:52 3dab9f8bf2d2: Layer already exists 00:14:52 3.1.0-dev.3: digest: sha256:7c7d8166b0ad16031bc618b023c32ca5e9d3b06e0ec09783116afa2980b392c3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:14:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:14:53 603d27cdbc21: Preparing 00:14:53 f4e7b5d0ba9b: Preparing 00:14:53 d3db0da9882b: Preparing 00:14:53 f3ae7d367bfc: Preparing 00:14:53 3827b5b91e75: Preparing 00:14:53 acc83c6ca332: Preparing 00:14:53 4e63b78b59d2: Preparing 00:14:53 2041c8bc9a32: Preparing 00:14:53 db50bd6310aa: Preparing 00:14:53 93521b3a0d5e: Preparing 00:14:53 11d24089ec04: Preparing 00:14:53 acc83c6ca332: Waiting 00:14:53 2041c8bc9a32: Waiting 00:14:53 4e63b78b59d2: Waiting 00:14:53 db50bd6310aa: Waiting 00:14:53 93521b3a0d5e: Waiting 00:14:53 b2dea107fe93: Preparing 00:14:53 3dab9f8bf2d2: Preparing 00:14:53 3dab9f8bf2d2: Waiting 00:14:53 11d24089ec04: Waiting 00:14:53 b2dea107fe93: Waiting 00:14:53 f4e7b5d0ba9b: Layer already exists 00:14:53 d3db0da9882b: Layer already exists 00:14:53 3827b5b91e75: Layer already exists 00:14:53 f3ae7d367bfc: Layer already exists 00:14:53 603d27cdbc21: Layer already exists 00:14:53 4e63b78b59d2: Layer already exists 00:14:53 acc83c6ca332: Layer already exists 00:14:53 2041c8bc9a32: Layer already exists 00:14:53 db50bd6310aa: Layer already exists 00:14:53 93521b3a0d5e: Layer already exists 00:14:53 11d24089ec04: Layer already exists 00:14:53 b2dea107fe93: Layer already exists 00:14:53 3dab9f8bf2d2: Layer already exists 00:14:53 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3: digest: sha256:7c7d8166b0ad16031bc618b023c32ca5e9d3b06e0ec09783116afa2980b392c3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:14:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:14:54 603d27cdbc21: Preparing 00:14:54 f4e7b5d0ba9b: Preparing 00:14:54 d3db0da9882b: Preparing 00:14:54 f3ae7d367bfc: Preparing 00:14:54 3827b5b91e75: Preparing 00:14:54 acc83c6ca332: Preparing 00:14:54 4e63b78b59d2: Preparing 00:14:54 2041c8bc9a32: Preparing 00:14:54 db50bd6310aa: Preparing 00:14:54 93521b3a0d5e: Preparing 00:14:54 11d24089ec04: Preparing 00:14:54 b2dea107fe93: Preparing 00:14:54 4e63b78b59d2: Waiting 00:14:54 2041c8bc9a32: Waiting 00:14:54 db50bd6310aa: Waiting 00:14:54 93521b3a0d5e: Waiting 00:14:54 11d24089ec04: Waiting 00:14:54 acc83c6ca332: Waiting 00:14:54 3dab9f8bf2d2: Preparing 00:14:54 b2dea107fe93: Waiting 00:14:54 3dab9f8bf2d2: Waiting 00:14:54 d3db0da9882b: Layer already exists 00:14:54 3827b5b91e75: Layer already exists 00:14:54 f4e7b5d0ba9b: Layer already exists 00:14:54 603d27cdbc21: Layer already exists 00:14:54 f3ae7d367bfc: Layer already exists 00:14:54 acc83c6ca332: Layer already exists 00:14:54 2041c8bc9a32: Layer already exists 00:14:54 db50bd6310aa: Layer already exists 00:14:54 4e63b78b59d2: Layer already exists 00:14:54 93521b3a0d5e: Layer already exists 00:14:54 11d24089ec04: Layer already exists 00:14:54 b2dea107fe93: Layer already exists 00:14:54 3dab9f8bf2d2: Layer already exists 00:14:54 main: digest: sha256:7c7d8166b0ad16031bc618b023c32ca5e9d3b06e0ec09783116afa2980b392c3 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:14:54 ===================================================== [Pipeline] echo 00:14:54 taggedImages: 00:14:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:14:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:14:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.3 00:14:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:14:54 - 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 00:14:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:54 00:14:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:54 latest: Pulling from edgex-lftools-log-publisher 00:14:54 5eb5b503b376: Pulling fs layer 00:14:54 5c69ac0246d0: Pulling fs layer 00:14:54 ec43610c2a17: Pulling fs layer 00:14:54 3a2ae6a8a46f: Pulling fs layer 00:14:54 33b1e0a273af: Pulling fs layer 00:14:54 5d3b04190fa2: Pulling fs layer 00:14:54 2f39f015ded8: Pulling fs layer 00:14:54 33b1e0a273af: Waiting 00:14:54 5d3b04190fa2: Waiting 00:14:54 5c69ac0246d0: Download complete 00:14:54 3a2ae6a8a46f: Download complete 00:14:54 33b1e0a273af: Verifying Checksum 00:14:54 33b1e0a273af: Download complete 00:14:54 5d3b04190fa2: Download complete 00:14:54 ec43610c2a17: Verifying Checksum 00:14:54 ec43610c2a17: Download complete 00:14:55 5eb5b503b376: Download complete 00:14:55 2f39f015ded8: Verifying Checksum 00:14:55 2f39f015ded8: Download complete 00:14:56 5eb5b503b376: Pull complete 00:14:56 5c69ac0246d0: Pull complete 00:14:56 ec43610c2a17: Pull complete 00:14:56 3a2ae6a8a46f: Pull complete 00:14:57 33b1e0a273af: Pull complete 00:14:57 5d3b04190fa2: Pull complete 00:15:01 2f39f015ded8: Pull complete 00:15:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:01 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 00:15:08 $ docker top 37fc05f884cf1160117850aa7ee72231e1c9e0e4fb74580da21d2a262298844a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:08 ---> job-cost.sh 00:15:08 lf-activate-venv: SKIPPING 00:15:08 INFO: No Stack... 00:15:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:15:09 INFO: Archiving Costs [Pipeline] sh 00:15:09 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:15:09 + cut -d, -f6 [Pipeline] lock 00:15:09 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] 00:15:09 Resource [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] did not exist. Created. 00:15:09 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:09 + echo total: 0.2199999988079071 [Pipeline] stash 00:15:09 Stashed 1 file(s) [Pipeline] } 00:15:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 00:15:09 $ docker stop --time=1 37fc05f884cf1160117850aa7ee72231e1c9e0e4fb74580da21d2a262298844a 00:15:10 $ docker rm -f --volumes 37fc05f884cf1160117850aa7ee72231e1c9e0e4fb74580da21d2a262298844a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-255 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:15:35 Running in /w/workspace/device-usb-camera/127 [Pipeline] { [Pipeline] checkout 00:15:35 Selected Git installation does not exist. Using Default 00:15:35 The recommended git tool is: NONE 00:15:40 using credential edgex-jenkins-ssh 00:15:40 Cloning the remote Git repository 00:15:40 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:15:40 > git init /w/workspace/device-usb-camera/127 # timeout=10 00:15:41 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:15:41 > git --version # timeout=10 00:15:41 > git --version # 'git version 2.25.1' 00:15:41 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:45 Avoid second fetch 00:15:45 Checking out Revision 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a (main) 00:15:45 Commit message: "feat: Extend discovery to support Intel real sense cameras (#264)" 00:15:44 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:15:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:45 > git config core.sparsecheckout # timeout=10 00:15:45 > git checkout -f 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:46 Dload Upload Total Spent Left Speed 00:15:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 00:15:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:47 + sudo tee /etc/docker/daemon.new 00:15:47 { 00:15:47 "registry-mirrors": [ 00:15:47 "https://nexus3.edgexfoundry.org:10001" 00:15:47 ], 00:15:47 "bip": "10.250.0.254/24", 00:15:47 "hosts": [ 00:15:47 "tcp://0.0.0.0:5555", 00:15:47 "unix:///var/run/docker.sock" 00:15:47 ], 00:15:47 "mtu": 1458, 00:15:47 "selinux-enabled": true, 00:15:47 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:47 } [Pipeline] sh 00:15:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:06 provisioning config files... 00:16:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/127@tmp/config8778054514209560260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:07 ---> docker-login.sh 00:16:07 nexus3.edgexfoundry.org:10001 00:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:08 Configure a credential helper to remove this warning. See 00:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:08 00:16:08 Login Succeeded 00:16:08 nexus3.edgexfoundry.org:10002 00:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:08 Configure a credential helper to remove this warning. See 00:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:08 00:16:08 Login Succeeded 00:16:08 nexus3.edgexfoundry.org:10003 00:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:08 Configure a credential helper to remove this warning. See 00:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:08 00:16:08 Login Succeeded 00:16:08 nexus3.edgexfoundry.org:10004 00:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:09 Configure a credential helper to remove this warning. See 00:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:09 00:16:09 Login Succeeded 00:16:09 docker.io 00:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:09 Configure a credential helper to remove this warning. See 00:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:09 00:16:09 Login Succeeded 00:16:09 ---> docker-login.sh ends [Pipeline] } 00:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:09 ========================================================= 00:16:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:16:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:16:10 Sending build context to Docker daemon 1.177MB 00:16:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:16:10 Step 2/13 : FROM ${BASE} AS builder 00:16:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:10 c41833b44d91: Pulling fs layer 00:16:10 ed15518f5707: Pulling fs layer 00:16:10 feae8fd75edb: Pulling fs layer 00:16:10 242c74f7c9fa: Pulling fs layer 00:16:10 3cdef696dda3: Pulling fs layer 00:16:10 2ced38df9373: Pulling fs layer 00:16:10 58f1dce35555: Pulling fs layer 00:16:10 242c74f7c9fa: Waiting 00:16:10 3cdef696dda3: Waiting 00:16:10 2ced38df9373: Waiting 00:16:10 58f1dce35555: Waiting 00:16:10 ed15518f5707: Download complete 00:16:10 242c74f7c9fa: Download complete 00:16:10 3cdef696dda3: Verifying Checksum 00:16:10 3cdef696dda3: Download complete 00:16:10 c41833b44d91: Verifying Checksum 00:16:11 c41833b44d91: Pull complete 00:16:12 58f1dce35555: Verifying Checksum 00:16:12 58f1dce35555: Download complete 00:16:12 ed15518f5707: Pull complete 00:16:13 feae8fd75edb: Verifying Checksum 00:16:13 feae8fd75edb: Download complete 00:16:13 2ced38df9373: Verifying Checksum 00:16:13 2ced38df9373: Download complete 00:16:23 feae8fd75edb: Pull complete 00:16:23 242c74f7c9fa: Pull complete 00:16:24 3cdef696dda3: Pull complete 00:16:30 2ced38df9373: Pull complete 00:16:33 58f1dce35555: Pull complete 00:16:33 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:16:33 ---> fadd8f120f05 00:16:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:16:35 ---> Running in 1f2b88d8f090 00:16:35 Removing intermediate container 1f2b88d8f090 00:16:35 ---> f6974367c001 00:16:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:35 ---> Running in 6c00f43da5c5 00:16:35 Removing intermediate container 6c00f43da5c5 00:16:35 ---> c3e5d322aa53 00:16:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:16:35 ---> Running in 33565397f8f3 00:16:36 Removing intermediate container 33565397f8f3 00:16:36 ---> 65d7b53b77dc 00:16:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:16:36 ---> Running in bda9e055c63c 00:16:36 Removing intermediate container bda9e055c63c 00:16:36 ---> 31aca25b64a3 00:16:36 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:36 ---> Running in 5b014fd85031 00:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:16:39 (1/14) Installing libintl (0.21.1-r1) 00:16:39 (2/14) Installing eudev-libs (3.2.11-r4) 00:16:39 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:16:39 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:16:39 (5/14) Installing v4l-utils (1.22.1-r2) 00:16:39 (6/14) Installing udev-init-scripts (35-r1) 00:16:39 (7/14) Installing libblkid (2.38.1-r1) 00:16:39 (8/14) Installing xz-libs (5.2.9-r0) 00:16:39 (9/14) Installing zstd-libs (1.5.5-r0) 00:16:39 (10/14) Installing kmod-libs (30-r1) 00:16:39 (11/14) Installing eudev (3.2.11-r4) 00:16:39 (12/14) Installing eudev-dev (3.2.11-r4) 00:16:39 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:16:39 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:16:39 Executing busybox-1.35.0-r29.trigger 00:16:39 Executing eudev-3.2.11-r4.trigger 00:16:39 OK: 271 MiB in 67 packages 00:16:40 Removing intermediate container 5b014fd85031 00:16:40 ---> d0a01113e850 00:16:40 Step 8/13 : WORKDIR /device-usb-camera 00:16:40 ---> Running in 6a5e28b7f09c 00:16:41 Removing intermediate container 6a5e28b7f09c 00:16:41 ---> d6cd7e7a6f2e 00:16:41 Step 9/13 : COPY go.mod vendor* ./ 00:16:41 ---> 15ef6dad3c82 00:16:41 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:41 ---> Running in 23b4974fb53f 00:17:49 Removing intermediate container 23b4974fb53f 00:17:49 ---> 8515d1ad8bfb 00:17:49 Step 11/13 : COPY . . 00:17:49 ---> 10d7e9809553 00:17:49 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:17:49 ---> Running in 2603c771971d 00:17:49  % Total % Received % Xferd Average Speed Time Time Time Current 00:17:49  Dload Upload Total Spent Left Speed 00:17:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 3743 0 --:--:-- --:--:-- --:--:-- 3765 00:17:49 Removing intermediate container 2603c771971d 00:17:49 ---> 0f347d474e13 00:17:49 Step 13/13 : RUN ${MAKE} 00:17:49 ---> Running in 74b62b7e83e6 00:17:49 noop 00:17:49 Removing intermediate container 74b62b7e83e6 00:17:49 ---> 1937f4362593 00:17:49 Successfully built 1937f4362593 00:17:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:49 + docker inspect -f . ci-base-image-arm64 00:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:50 prd-ubuntu20.04-docker-arm64-4c-16g-255 does not seem to be running inside a container 00:17:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/127 -v /w/workspace/device-usb-camera/127:/w/workspace/device-usb-camera/127:rw,z -v /w/workspace/device-usb-camera/127@tmp:/w/workspace/device-usb-camera/127@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 00:17:51 $ docker top c49fe0e8e339e685fc342b20080c0f523605fa6c117ee0d7e31bc4aa68940030 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:52 + go version 00:17:52 go version go1.20.2 linux/arm64 [Pipeline] } 00:17:52 $ docker stop --time=1 c49fe0e8e339e685fc342b20080c0f523605fa6c117ee0d7e31bc4aa68940030 00:17:53 $ docker rm -f --volumes c49fe0e8e339e685fc342b20080c0f523605fa6c117ee0d7e31bc4aa68940030 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:54 + docker inspect -f . ci-base-image-arm64 00:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-255 does not seem to be running inside a container 00:17:54 $ 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/127 -v /w/workspace/device-usb-camera/127:/w/workspace/device-usb-camera/127:rw,z -v /w/workspace/device-usb-camera/127@tmp:/w/workspace/device-usb-camera/127@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 00:17:55 $ docker top 2012e59f8d539ba4840f4864c68ae7b1820525d00d6b9a835135518b1076eba9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:56 + git config --global --add safe.directory /w/workspace/device-usb-camera/127 [Pipeline] fileExists [Pipeline] sh 00:17:56 + make test 00:17:56 go test ./... -coverprofile=coverage.out ./... 00:18:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:20:35 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:20:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.082s coverage: 4.2% of statements 00:20:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:44 go vet ./... 00:21:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:26 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:21:26 $ docker stop --time=1 2012e59f8d539ba4840f4864c68ae7b1820525d00d6b9a835135518b1076eba9 00:21:27 $ docker rm -f --volumes 2012e59f8d539ba4840f4864c68ae7b1820525d00d6b9a835135518b1076eba9 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:28 Warning: overwriting stash ‘coverage-report’ 00:21:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:30 + ls -al . 00:21:30 total 196 00:21:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 00:17 . 00:21:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:15 .. 00:21:30 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 00:15 .git 00:21:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:15 .github 00:21:30 -rw-rw-r-- 1 jenkins jenkins 414 Jul 1 00:15 .gitignore 00:21:30 -rw-rw-r-- 1 jenkins jenkins 45 Jul 1 00:15 .golangci.yml 00:21:30 -rw-rw-r-- 1 jenkins jenkins 77 Jul 1 00:15 .hadolint.yml 00:21:30 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 1 00:15 Attribution.txt 00:21:30 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 1 00:15 CHANGELOG.md 00:21:30 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 1 00:15 Dockerfile 00:21:30 -rw-rw-r-- 1 jenkins jenkins 678 Jul 1 00:15 GOVERNANCE.md 00:21:30 -rw-rw-r-- 1 jenkins jenkins 659 Jul 1 00:15 Jenkinsfile 00:21:30 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 1 00:15 LICENSE 00:21:30 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 1 00:15 Makefile 00:21:30 -rw-rw-r-- 1 jenkins jenkins 622 Jul 1 00:15 OWNERS.md 00:21:30 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 1 00:15 README.md 00:21:30 -rw-rw-r-- 1 jenkins jenkins 11 Jul 1 00:11 VERSION 00:21:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:15 bin 00:21:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:15 cmd 00:21:30 -rw-r--r-- 1 jenkins jenkins 37102 Jul 1 00:20 coverage.out 00:21:30 -rwxrwxr-x 1 jenkins jenkins 140 Jul 1 00:15 docker-entrypoint.sh 00:21:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 00:15 docs 00:21:30 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 1 00:15 go.mod 00:21:30 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 1 00:15 go.sum 00:21:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 00:15 internal 00:21:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 00:15 snap 00:21:30 -rw-rw-r-- 1 jenkins jenkins 231 Jul 1 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:30 + 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=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a --label arch=arm64 --label version=3.1.0-dev.3 . 00:21:30 Sending build context to Docker daemon 1.215MB 00:21:30 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 00:21:30 Step 2/36 : FROM ${BASE} AS builder 00:21:30 ---> 1937f4362593 00:21:30 Step 3/36 : ARG ADD_BUILD_TAGS="" 00:21:31 ---> Running in e4e303d97029 00:21:31 Removing intermediate container e4e303d97029 00:21:31 ---> fc43f5e1bddb 00:21:31 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:21:31 ---> Running in 46acf1013c75 00:21:31 Removing intermediate container 46acf1013c75 00:21:31 ---> e4507e695529 00:21:31 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:21:31 ---> Running in cf3adfb5ed9b 00:21:31 Removing intermediate container cf3adfb5ed9b 00:21:31 ---> 1addf014b312 00:21:31 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:21:32 ---> Running in 2ba993ad73b5 00:21:32 Removing intermediate container 2ba993ad73b5 00:21:32 ---> 5abe1519dda6 00:21:32 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:32 ---> Running in f61dfb678c78 00:21:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:21:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:21:35 OK: 271 MiB in 67 packages 00:21:39 Removing intermediate container f61dfb678c78 00:21:39 ---> cdb8d12bfce5 00:21:39 Step 8/36 : WORKDIR /device-usb-camera 00:21:39 ---> Running in 85d91bfaa558 00:21:39 Removing intermediate container 85d91bfaa558 00:21:39 ---> ac81d2d2bac0 00:21:39 Step 9/36 : COPY go.mod vendor* ./ 00:21:40 ---> bef8ae7ad999 00:21:40 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:40 ---> Running in 7dfd9240a0a2 00:21:42 Removing intermediate container 7dfd9240a0a2 00:21:42 ---> e4b87f81b1ab 00:21:42 Step 11/36 : COPY . . 00:21:43 ---> d509f5e5ac03 00:21:43 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:21:43 ---> Running in 5e7e35034cda 00:21:44  % Total % Received % Xferd Average Speed Time Time Time Current 00:21:44 Dload Upload Total Spent Left Speed 00:21:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3350 0 --:--:-- --:--:-- --:--:-- 3360 00:21:45 Removing intermediate container 5e7e35034cda 00:21:45 ---> ed901ab48d99 00:21:45 Step 13/36 : RUN ${MAKE} 00:21:45 ---> Running in 63a1ae519447 00:21:46 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.3" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:24:23 Removing intermediate container 63a1ae519447 00:24:23 ---> 1bb31291a44b 00:24:23 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:24:23 v0.21.6: Pulling from aler9/rtsp-simple-server 00:24:23 8766b47fe142: Pulling fs layer 00:24:23 8766b47fe142: Verifying Checksum 00:24:23 8766b47fe142: Download complete 00:24:23 8766b47fe142: Pull complete 00:24:23 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:24:23 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:24:23 ---> 69d40e2cb93c 00:24:23 Step 15/36 : FROM alpine:3.17 00:24:23 3.17: Pulling from library/alpine 00:24:23 edb6bdbacee9: Pulling fs layer 00:24:23 edb6bdbacee9: Verifying Checksum 00:24:23 edb6bdbacee9: Download complete 00:24:23 edb6bdbacee9: Pull complete 00:24:23 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:24:23 Status: Downloaded newer image for alpine:3.17 00:24:23 ---> 779605e5fbc0 00:24:23 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:24:23 ---> Running in a63eea690ad3 00:24:23 Removing intermediate container a63eea690ad3 00:24:23 ---> c275e6ede0e9 00:24:23 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:24:23 ---> Running in 535447b1639b 00:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:24:23 (1/83) Installing dumb-init (1.2.5-r2) 00:24:23 (2/83) Installing sdl2 (2.26.5-r0) 00:24:23 (3/83) Installing libxau (1.0.10-r0) 00:24:23 (4/83) Installing libmd (1.0.4-r0) 00:24:23 (5/83) Installing libbsd (0.11.7-r0) 00:24:23 (6/83) Installing libxdmcp (1.1.4-r0) 00:24:23 (7/83) Installing libxcb (1.15-r0) 00:24:23 (8/83) Installing libx11 (1.8.4-r1) 00:24:23 (9/83) Installing aom-libs (3.5.0-r0) 00:24:23 (10/83) Installing alsa-lib (1.2.8-r0) 00:24:23 (11/83) Installing libexpat (2.5.0-r0) 00:24:23 (12/83) Installing brotli-libs (1.0.9-r9) 00:24:23 (13/83) Installing libbz2 (1.0.8-r4) 00:24:23 (14/83) Installing libpng (1.6.38-r0) 00:24:23 (15/83) Installing freetype (2.12.1-r0) 00:24:23 (16/83) Installing fontconfig (2.14.1-r0) 00:24:23 (17/83) Installing fribidi (1.0.12-r0) 00:24:23 (18/83) Installing libffi (3.4.4-r0) 00:24:23 (19/83) Installing libintl (0.21.1-r1) 00:24:23 (20/83) Installing libblkid (2.38.1-r1) 00:24:23 (21/83) Installing libmount (2.38.1-r1) 00:24:23 (22/83) Installing pcre2 (10.42-r0) 00:24:23 (23/83) Installing glib (2.74.7-r0) 00:24:23 (24/83) Installing graphite2 (1.3.14-r2) 00:24:23 (25/83) Installing harfbuzz (5.3.1-r1) 00:24:23 (26/83) Installing libass (0.16.0-r1) 00:24:23 (27/83) Installing libdav1d (1.0.0-r2) 00:24:23 (28/83) Installing libdrm (2.4.114-r0) 00:24:23 (29/83) Installing gmp (6.2.1-r2) 00:24:23 (30/83) Installing nettle (3.8.1-r0) 00:24:23 (31/83) Installing p11-kit (0.24.1-r1) 00:24:23 (32/83) Installing libtasn1 (4.19.0-r0) 00:24:23 (33/83) Installing libunistring (1.1-r0) 00:24:23 (34/83) Installing gnutls (3.7.8-r3) 00:24:23 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 00:24:23 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 00:24:23 (37/83) Installing lame (3.100-r2) 00:24:23 (38/83) Installing opus (1.3.1-r1) 00:24:23 (39/83) Installing libasyncns (0.8-r1) 00:24:23 (40/83) Installing dbus-libs (1.14.8-r0) 00:24:23 (41/83) Installing libltdl (2.4.7-r1) 00:24:23 (42/83) Installing orc (0.4.33-r0) 00:24:23 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:24:23 (44/83) Installing libogg (1.3.5-r2) 00:24:23 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:24:23 (46/83) Installing flac-libs (1.4.2-r0) 00:24:23 (47/83) Installing libvorbis (1.3.7-r0) 00:24:23 (48/83) Installing libsndfile (1.1.0-r2) 00:24:23 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:24:23 (50/83) Installing soxr (0.1.3-r3) 00:24:23 (51/83) Installing speexdsp (1.2.1-r0) 00:24:23 (52/83) Installing tdb-libs (1.4.6-r0) 00:24:23 (53/83) Installing libpulse (16.1-r6) 00:24:23 (54/83) Installing cjson (1.7.15-r3) 00:24:23 (55/83) Installing mbedtls (2.28.3-r0) 00:24:23 (56/83) Installing librist (0.2.7-r0) 00:24:23 (57/83) Installing libsrt (1.5.1-r0) 00:24:23 (58/83) Installing libssh (0.10.5-r0) 00:24:23 (59/83) Installing libtheora (1.1.1-r16) 00:24:23 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:24:23 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:24:23 (62/83) Installing libxext (1.3.5-r0) 00:24:23 (63/83) Installing libxfixes (6.0.0-r0) 00:24:23 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:24:23 (65/83) Installing libva (2.16.0-r0) 00:24:23 (66/83) Installing libvdpau (1.5-r0) 00:24:23 (67/83) Installing vidstab (1.1.0-r2) 00:24:23 (68/83) Installing libvpx (1.12.0-r1) 00:24:23 (69/83) Installing libwebp (1.2.4-r2) 00:24:23 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:24:23 (71/83) Installing numactl (2.0.16-r1) 00:24:23 (72/83) Installing x265-libs (3.5-r3) 00:24:23 (73/83) Installing xvidcore (1.3.7-r1) 00:24:23 (74/83) Installing libsodium (1.0.18-r2) 00:24:23 (75/83) Installing libzmq (4.3.4-r1) 00:24:23 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:24:24 (77/83) Installing ffmpeg (5.1.3-r0) 00:24:24 (78/83) Installing udev-init-scripts (35-r1) 00:24:24 (79/83) Installing eudev-libs (3.2.11-r4) 00:24:24 (80/83) Installing xz-libs (5.2.9-r0) 00:24:24 (81/83) Installing zstd-libs (1.5.5-r0) 00:24:24 (82/83) Installing kmod-libs (30-r1) 00:24:24 (83/83) Installing eudev (3.2.11-r4) 00:24:24 Executing busybox-1.35.0-r29.trigger 00:24:24 Executing eudev-3.2.11-r4.trigger 00:24:24 OK: 86 MiB in 98 packages 00:24:27 Removing intermediate container 535447b1639b 00:24:27 ---> 33559f19d57c 00:24:27 Step 18/36 : WORKDIR / 00:24:27 ---> Running in 2c7bec4b6b27 00:24:27 Removing intermediate container 2c7bec4b6b27 00:24:27 ---> da4591aa6e2f 00:24:27 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 00:24:29 ---> c6a2d8daa84e 00:24:29 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 00:24:29 ---> 6efbc9b1a0fc 00:24:29 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:24:31 ---> 7834d66159b7 00:24:31 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:24:31 ---> 721baea130c0 00:24:31 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:24:32 ---> 5673370e6e89 00:24:32 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 00:24:33 ---> db5195045366 00:24:33 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 00:24:34 ---> 2ea3cd88d84b 00:24:34 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:24:34 ---> Running in 53cdc0faa5f5 00:24:36 Removing intermediate container 53cdc0faa5f5 00:24:36 ---> f9a12857ba3b 00:24:36 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:24:36 ---> Running in 938fce9e9bfd 00:24:38 Removing intermediate container 938fce9e9bfd 00:24:38 ---> c66010f2c18b 00:24:38 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:24:38 ---> Running in 46391d429934 00:24:39 Removing intermediate container 46391d429934 00:24:39 ---> 8b4f35e6f131 00:24:39 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 00:24:39 ---> Running in 4432268ef15e 00:24:41 Removing intermediate container 4432268ef15e 00:24:41 ---> 270def76b095 00:24:41 Step 30/36 : EXPOSE 59983 00:24:41 ---> Running in 484d227482ef 00:24:41 Removing intermediate container 484d227482ef 00:24:41 ---> 611059ee3cc7 00:24:41 Step 31/36 : EXPOSE 8554 00:24:41 ---> Running in f63123861e88 00:24:41 Removing intermediate container f63123861e88 00:24:41 ---> 15c200c4f861 00:24:41 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:24:41 ---> Running in ad6e0c193d3b 00:24:42 Removing intermediate container ad6e0c193d3b 00:24:42 ---> ec4c9e00356a 00:24:42 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:24:42 ---> Running in d13d1ddcbca8 00:24:42 Removing intermediate container d13d1ddcbca8 00:24:42 ---> cdc91e728254 00:24:42 Step 34/36 : LABEL arch=arm64 00:24:42 ---> Running in 5f4edf358699 00:24:43 Removing intermediate container 5f4edf358699 00:24:43 ---> bd459efdf4a4 00:24:43 Step 35/36 : LABEL git_sha=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:24:43 ---> Running in 4448a8c42718 00:24:43 Removing intermediate container 4448a8c42718 00:24:43 ---> bb52f95cd479 00:24:43 Step 36/36 : LABEL version=3.1.0-dev.3 00:24:43 ---> Running in 964c67efa37e 00:24:43 Removing intermediate container 964c67efa37e 00:24:43 ---> 262e9e9e72ff 00:24:43 [Warning] One or more build-args [ARCH] were not consumed 00:24:43 Successfully built 262e9e9e72ff 00:24:43 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 00:24:43 provisioning config files... 00:24:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/127@tmp/config4730422508585248881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:44 ---> docker-login.sh 00:24:44 nexus3.edgexfoundry.org:10001 00:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:44 Configure a credential helper to remove this warning. See 00:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:44 00:24:44 Login Succeeded 00:24:44 nexus3.edgexfoundry.org:10002 00:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:45 Configure a credential helper to remove this warning. See 00:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:45 00:24:45 Login Succeeded 00:24:45 nexus3.edgexfoundry.org:10003 00:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:45 Configure a credential helper to remove this warning. See 00:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:45 00:24:45 Login Succeeded 00:24:45 nexus3.edgexfoundry.org:10004 00:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:45 Configure a credential helper to remove this warning. See 00:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:45 00:24:45 Login Succeeded 00:24:45 docker.io 00:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:46 Configure a credential helper to remove this warning. See 00:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:46 00:24:46 Login Succeeded 00:24:46 ---> docker-login.sh ends [Pipeline] } 00:24:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:24:46 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:24:46 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:24:46 latest 00:24:46 3.1.0-dev.3 00:24:46 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:24:46 main 00:24:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:46 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:47 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:24:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:24:47 83e36030b5cf: Preparing 00:24:47 ab145f094a16: Preparing 00:24:47 94f6a9e1e1b4: Preparing 00:24:47 135d33fa3c46: Preparing 00:24:47 608d194cb50c: Preparing 00:24:47 acc83c6ca332: Preparing 00:24:47 677d27dc12da: Preparing 00:24:47 49553d7b42f4: Preparing 00:24:47 fe6f6c91c091: Preparing 00:24:47 2bce93bb4b1f: Preparing 00:24:47 58413d3fb696: Preparing 00:24:47 bdb40b956d83: Preparing 00:24:47 9386262d7a74: Preparing 00:24:47 acc83c6ca332: Waiting 00:24:47 677d27dc12da: Waiting 00:24:47 49553d7b42f4: Waiting 00:24:47 fe6f6c91c091: Waiting 00:24:47 2bce93bb4b1f: Waiting 00:24:47 58413d3fb696: Waiting 00:24:47 bdb40b956d83: Waiting 00:24:47 9386262d7a74: Waiting 00:24:47 83e36030b5cf: Pushed 00:24:47 ab145f094a16: Pushed 00:24:47 135d33fa3c46: Pushed 00:24:47 94f6a9e1e1b4: Pushed 00:24:47 acc83c6ca332: Pushed 00:24:47 677d27dc12da: Pushed 00:24:47 49553d7b42f4: Pushed 00:24:47 fe6f6c91c091: Pushed 00:24:47 9386262d7a74: Layer already exists 00:24:47 2bce93bb4b1f: Pushed 00:24:53 58413d3fb696: Pushed 00:24:53 608d194cb50c: Pushed 00:25:03 bdb40b956d83: Pushed 00:25:03 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a: digest: sha256:d10cf4cbffc0702a902e5af396ee953385b0a6240204415633d4dcaa7510b45e size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:03 + 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 00:25:03 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:25:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:25:03 83e36030b5cf: Preparing 00:25:03 ab145f094a16: Preparing 00:25:03 94f6a9e1e1b4: Preparing 00:25:03 135d33fa3c46: Preparing 00:25:03 608d194cb50c: Preparing 00:25:03 acc83c6ca332: Preparing 00:25:03 677d27dc12da: Preparing 00:25:03 49553d7b42f4: Preparing 00:25:03 fe6f6c91c091: Preparing 00:25:03 2bce93bb4b1f: Preparing 00:25:03 58413d3fb696: Preparing 00:25:03 bdb40b956d83: Preparing 00:25:03 9386262d7a74: Preparing 00:25:03 2bce93bb4b1f: Waiting 00:25:03 acc83c6ca332: Waiting 00:25:03 677d27dc12da: Waiting 00:25:03 49553d7b42f4: Waiting 00:25:03 fe6f6c91c091: Waiting 00:25:03 58413d3fb696: Waiting 00:25:03 9386262d7a74: Waiting 00:25:03 bdb40b956d83: Waiting 00:25:03 135d33fa3c46: Layer already exists 00:25:03 608d194cb50c: Layer already exists 00:25:03 94f6a9e1e1b4: Layer already exists 00:25:03 83e36030b5cf: Layer already exists 00:25:03 ab145f094a16: Layer already exists 00:25:03 49553d7b42f4: Layer already exists 00:25:03 fe6f6c91c091: Layer already exists 00:25:03 677d27dc12da: Layer already exists 00:25:03 acc83c6ca332: Layer already exists 00:25:03 2bce93bb4b1f: Layer already exists 00:25:03 9386262d7a74: Layer already exists 00:25:03 bdb40b956d83: Layer already exists 00:25:03 58413d3fb696: Layer already exists 00:25:04 latest: digest: sha256:d10cf4cbffc0702a902e5af396ee953385b0a6240204415633d4dcaa7510b45e size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:04 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.3 00:25:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:25:04 83e36030b5cf: Preparing 00:25:04 ab145f094a16: Preparing 00:25:04 94f6a9e1e1b4: Preparing 00:25:04 135d33fa3c46: Preparing 00:25:04 608d194cb50c: Preparing 00:25:04 acc83c6ca332: Preparing 00:25:04 677d27dc12da: Preparing 00:25:04 49553d7b42f4: Preparing 00:25:04 fe6f6c91c091: Preparing 00:25:04 2bce93bb4b1f: Preparing 00:25:04 58413d3fb696: Preparing 00:25:04 bdb40b956d83: Preparing 00:25:04 9386262d7a74: Preparing 00:25:04 fe6f6c91c091: Waiting 00:25:04 2bce93bb4b1f: Waiting 00:25:04 acc83c6ca332: Waiting 00:25:04 677d27dc12da: Waiting 00:25:04 49553d7b42f4: Waiting 00:25:04 58413d3fb696: Waiting 00:25:04 bdb40b956d83: Waiting 00:25:04 9386262d7a74: Waiting 00:25:04 608d194cb50c: Layer already exists 00:25:04 ab145f094a16: Layer already exists 00:25:04 135d33fa3c46: Layer already exists 00:25:04 94f6a9e1e1b4: Layer already exists 00:25:04 83e36030b5cf: Layer already exists 00:25:04 677d27dc12da: Layer already exists 00:25:04 49553d7b42f4: Layer already exists 00:25:05 bdb40b956d83: Layer already exists 00:25:05 fe6f6c91c091: Layer already exists 00:25:05 2bce93bb4b1f: Layer already exists 00:25:05 acc83c6ca332: Layer already exists 00:25:05 58413d3fb696: Layer already exists 00:25:05 9386262d7a74: Layer already exists 00:25:05 3.1.0-dev.3: digest: sha256:d10cf4cbffc0702a902e5af396ee953385b0a6240204415633d4dcaa7510b45e size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:05 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:25:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:25:05 83e36030b5cf: Preparing 00:25:05 ab145f094a16: Preparing 00:25:05 94f6a9e1e1b4: Preparing 00:25:05 135d33fa3c46: Preparing 00:25:05 608d194cb50c: Preparing 00:25:05 acc83c6ca332: Preparing 00:25:05 677d27dc12da: Preparing 00:25:05 49553d7b42f4: Preparing 00:25:05 acc83c6ca332: Waiting 00:25:05 677d27dc12da: Waiting 00:25:05 fe6f6c91c091: Preparing 00:25:05 2bce93bb4b1f: Preparing 00:25:05 58413d3fb696: Preparing 00:25:05 bdb40b956d83: Preparing 00:25:05 9386262d7a74: Preparing 00:25:05 49553d7b42f4: Waiting 00:25:05 58413d3fb696: Waiting 00:25:05 fe6f6c91c091: Waiting 00:25:05 bdb40b956d83: Waiting 00:25:05 2bce93bb4b1f: Waiting 00:25:05 9386262d7a74: Waiting 00:25:05 608d194cb50c: Layer already exists 00:25:05 83e36030b5cf: Layer already exists 00:25:05 94f6a9e1e1b4: Layer already exists 00:25:05 135d33fa3c46: Layer already exists 00:25:05 ab145f094a16: Layer already exists 00:25:05 acc83c6ca332: Layer already exists 00:25:05 677d27dc12da: Layer already exists 00:25:05 49553d7b42f4: Layer already exists 00:25:05 fe6f6c91c091: Layer already exists 00:25:05 2bce93bb4b1f: Layer already exists 00:25:05 bdb40b956d83: Layer already exists 00:25:05 58413d3fb696: Layer already exists 00:25:05 9386262d7a74: Layer already exists 00:25:05 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3: digest: sha256:d10cf4cbffc0702a902e5af396ee953385b0a6240204415633d4dcaa7510b45e size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:06 + 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 00:25:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:25:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:25:06 83e36030b5cf: Preparing 00:25:06 ab145f094a16: Preparing 00:25:06 94f6a9e1e1b4: Preparing 00:25:06 135d33fa3c46: Preparing 00:25:06 608d194cb50c: Preparing 00:25:06 acc83c6ca332: Preparing 00:25:06 677d27dc12da: Preparing 00:25:06 49553d7b42f4: Preparing 00:25:06 fe6f6c91c091: Preparing 00:25:06 2bce93bb4b1f: Preparing 00:25:06 58413d3fb696: Preparing 00:25:06 bdb40b956d83: Preparing 00:25:06 9386262d7a74: Preparing 00:25:06 acc83c6ca332: Waiting 00:25:06 677d27dc12da: Waiting 00:25:06 49553d7b42f4: Waiting 00:25:06 fe6f6c91c091: Waiting 00:25:06 2bce93bb4b1f: Waiting 00:25:06 58413d3fb696: Waiting 00:25:06 bdb40b956d83: Waiting 00:25:06 9386262d7a74: Waiting 00:25:06 83e36030b5cf: Layer already exists 00:25:06 94f6a9e1e1b4: Layer already exists 00:25:06 608d194cb50c: Layer already exists 00:25:06 ab145f094a16: Layer already exists 00:25:06 135d33fa3c46: Layer already exists 00:25:06 fe6f6c91c091: Layer already exists 00:25:06 677d27dc12da: Layer already exists 00:25:06 49553d7b42f4: Layer already exists 00:25:06 2bce93bb4b1f: Layer already exists 00:25:06 acc83c6ca332: Layer already exists 00:25:06 58413d3fb696: Layer already exists 00:25:06 bdb40b956d83: Layer already exists 00:25:06 9386262d7a74: Layer already exists 00:25:06 main: digest: sha256:d10cf4cbffc0702a902e5af396ee953385b0a6240204415633d4dcaa7510b45e size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:25:06 ===================================================== [Pipeline] echo 00:25:06 taggedImages: 00:25:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 00:25:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:25:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.3 00:25:06 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:7adbecab942a7b2115c6abd3dbc7641bc9f3f60a-3.1.0-dev.3 00:25:06 - 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 00:25:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:07 00:25:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:07 arm64: Pulling from edgex-lftools-log-publisher 00:25:07 8998bd30e6a1: Pulling fs layer 00:25:07 04944245beec: Pulling fs layer 00:25:07 699f458cf7ca: Pulling fs layer 00:25:07 765212b225bb: Pulling fs layer 00:25:07 f23df028b6ca: Pulling fs layer 00:25:07 d65c8cfc05b1: Pulling fs layer 00:25:07 2437ff75d9bd: Pulling fs layer 00:25:07 765212b225bb: Waiting 00:25:07 f23df028b6ca: Waiting 00:25:07 d65c8cfc05b1: Waiting 00:25:07 2437ff75d9bd: Waiting 00:25:07 04944245beec: Verifying Checksum 00:25:07 04944245beec: Download complete 00:25:07 765212b225bb: Verifying Checksum 00:25:07 765212b225bb: Download complete 00:25:07 f23df028b6ca: Verifying Checksum 00:25:07 f23df028b6ca: Download complete 00:25:07 d65c8cfc05b1: Verifying Checksum 00:25:07 d65c8cfc05b1: Download complete 00:25:07 699f458cf7ca: Verifying Checksum 00:25:07 699f458cf7ca: Download complete 00:25:08 8998bd30e6a1: Verifying Checksum 00:25:08 8998bd30e6a1: Download complete 00:25:10 2437ff75d9bd: Verifying Checksum 00:25:10 2437ff75d9bd: Download complete 00:25:11 8998bd30e6a1: Pull complete 00:25:12 04944245beec: Pull complete 00:25:13 699f458cf7ca: Pull complete 00:25:13 765212b225bb: Pull complete 00:25:14 f23df028b6ca: Pull complete 00:25:14 d65c8cfc05b1: Pull complete 00:25:27 2437ff75d9bd: Pull complete 00:25:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:25:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:27 prd-ubuntu20.04-docker-arm64-4c-16g-255 does not seem to be running inside a container 00:25:27 $ 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/127 -v /w/workspace/device-usb-camera/127:/w/workspace/device-usb-camera/127:rw,z -v /w/workspace/device-usb-camera/127@tmp:/w/workspace/device-usb-camera/127@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 00:25:30 $ docker top 05cf2fe74f920acc9e74297fdf2cd7851ac183b498ca6ef7be8ce502d550068c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:25:30 ---> job-cost.sh 00:25:30 lf-activate-venv: SKIPPING 00:25:30 INFO: No Stack... 00:25:31 INFO: Retrieving Pricing Info for: v3-standard-4 00:25:32 INFO: Archiving Costs [Pipeline] sh 00:25:32 + cat /w/workspace/device-usb-camera/127/archives/cost.csv 00:25:32 + cut -d, -f6 [Pipeline] lock 00:25:32 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] 00:25:32 Resource [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] did not exist. Created. 00:25:32 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:33 /w/workspace/device-usb-camera/127@tmp/durable-c16969d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:25:33 + echo total: 0.10999999940395355 [Pipeline] stash 00:25:33 Warning: overwriting stash ‘stack-cost’ 00:25:33 Stashed 1 file(s) [Pipeline] } 00:25:33 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 00:25:33 $ docker stop --time=1 05cf2fe74f920acc9e74297fdf2cd7851ac183b498ca6ef7be8ce502d550068c 00:25:35 $ docker rm -f --volumes 05cf2fe74f920acc9e74297fdf2cd7851ac183b498ca6ef7be8ce502d550068c [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 00:25:35 provisioning config files... 00:25:35 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12073532108843749203tmp [Pipeline] { [Pipeline] sh 00:25:36 + set +x 00:25:36 + curl -s https://codecov.io/bash 00:25:36 + bash -s -- 00:25:36 00:25:36 _____ _ 00:25:36 / ____| | | 00:25:36 | | ___ __| | ___ ___ _____ __ 00:25:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:25:36 | |___| (_) | (_| | __/ (_| (_) \ V / 00:25:36 \_____\___/ \__,_|\___|\___\___/ \_/ 00:25:36 Bash-1.0.6 00:25:36 00:25:36 00:25:36 ==> git version 2.25.1 found 00:25:36 ==> 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 00:25:36 Release-Date: 2020-01-08 00:25:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:25:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:25:36 ==> Jenkins CI detected. 00:25:36 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:25:36 project root: . 00:25:36 --> token set from env 00:25:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:25:36 ==> Running gcov in . (disable via -X gcov) 00:25:36 ==> Python coveragepy not found 00:25:36 ==> Searching for coverage reports in: 00:25:36 + . 00:25:36 -> Found 1 reports 00:25:36 ==> Detecting git/mercurial file structure 00:25:36 ==> Reading reports 00:25:36 + ./coverage.out bytes=37102 00:25:36 ==> Appending adjustments 00:25:36 https://docs.codecov.io/docs/fixing-reports 00:25:36 + Found adjustments 00:25:36 ==> Gzipping contents 00:25:36 8.0K /tmp/codecov.bAVqL9.gz 00:25:36 ==> Uploading reports 00:25:36 url: https://codecov.io 00:25:36 query: branch=main&commit=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:25:36 -> Pinging Codecov 00:25:36 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=7adbecab942a7b2115c6abd3dbc7641bc9f3f60a&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:25:36 -> Uploading to 00:25:36 https://storage.googleapis.com/codecov/v4/raw/2023-07-01/73D8F5FF140700D3E01443B452E23636/7adbecab942a7b2115c6abd3dbc7641bc9f3f60a/c665f92f-eebe-43a9-8b8d-c4fea9c6bea8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230701T002536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c11b3be9c29c752f83fb6cd5b3fd0b24bb84bf2cd780895c676cf07af1aa1b75 00:25:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:25:36 Dload Upload Total Spent Left Speed 00:25:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5100 0 0 100 5100 0 23502 --:--:-- --:--:-- --:--:-- 23502 00:25:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] } 00:25:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:25:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:25:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:37 00:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:25:37 df9b9388f04a: Pulling fs layer 00:25:37 52dc419b0ee2: Pulling fs layer 00:25:37 25bc292e5bac: Pulling fs layer 00:25:37 114826534d7a: Pulling fs layer 00:25:37 4657fd5d0bcf: Pulling fs layer 00:25:37 6ad1cebc031e: Pulling fs layer 00:25:37 8a3aa393b2d8: Pulling fs layer 00:25:37 6ad1cebc031e: Waiting 00:25:37 114826534d7a: Waiting 00:25:37 4657fd5d0bcf: Waiting 00:25:37 25bc292e5bac: Verifying Checksum 00:25:37 25bc292e5bac: Download complete 00:25:37 52dc419b0ee2: Verifying Checksum 00:25:37 52dc419b0ee2: Download complete 00:25:37 4657fd5d0bcf: Verifying Checksum 00:25:37 4657fd5d0bcf: Download complete 00:25:37 df9b9388f04a: Download complete 00:25:38 6ad1cebc031e: Verifying Checksum 00:25:38 df9b9388f04a: Pull complete 00:25:38 52dc419b0ee2: Pull complete 00:25:38 25bc292e5bac: Pull complete 00:25:38 114826534d7a: Verifying Checksum 00:25:38 114826534d7a: Download complete 00:25:38 8a3aa393b2d8: Verifying Checksum 00:25:38 8a3aa393b2d8: Download complete 00:25:41 114826534d7a: Pull complete 00:25:41 4657fd5d0bcf: Pull complete 00:25:42 6ad1cebc031e: Pull complete 00:25:44 8a3aa393b2d8: Pull complete 00:25:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:25:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:25:44 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:25:52 $ docker top 2da4e599ed9c74a11aadd31c62cfb08a056ad2d046eaf83707470b9028009069 -eo pid,comm [Pipeline] { [Pipeline] echo 00:25:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:25:52 + set -o pipefail 00:25:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:25:56 00:25:56 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:25:56 00:25:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/d5e2bdf2-3cde-44ae-927f-7545c402509c 00:25:56 00:25:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:25:56 00:25:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:25:56 00:25:56 00:25:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:25:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:25:56 More details here: https://snyk.co/ue1NS [Pipeline] } 00:25:56 $ docker stop --time=1 2da4e599ed9c74a11aadd31c62cfb08a056ad2d046eaf83707470b9028009069 00:26:01 $ docker rm -f --volumes 2da4e599ed9c74a11aadd31c62cfb08a056ad2d046eaf83707470b9028009069 [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 00:26:02 + git log --format=format:%s -1 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a [Pipeline] sh 00:26:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:02 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:26:03 $ docker top d056fee581eda5ea64c2206e0c4c31e12b1f1556b0196f3276bc20ea6f9b4145 -eo pid,comm 00:26:03 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). 00:26:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:03 [ssh-agent] Looking for ssh-agent implementation... 00:26:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:03 $ docker exec d056fee581eda5ea64c2206e0c4c31e12b1f1556b0196f3276bc20ea6f9b4145 ssh-agent 00:26:03 SSH_AUTH_SOCK=/tmp/ssh-9WPKIpzI3x63/agent.32 00:26:03 SSH_AGENT_PID=39 00:26:03 Running ssh-add (command line suppressed) 00:26:03 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8226283455285116723.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8226283455285116723.key) 00:26:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:03 + git semver tag 00:26:04 2023-07-01 00:26:04,115 [run_tag] DEBUG tag force:False 00:26:04 2023-07-01 00:26:04,115 [check_head_tag] DEBUG check head tag 00:26:04 2023-07-01 00:26:04,117 [execute] INFO git cat-file --batch-check 00:26:04 2023-07-01 00:26:04,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:26:04 2023-07-01 00:26:04,120 [execute] INFO git cat-file --batch 00:26:04 2023-07-01 00:26:04,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:26:04 2023-07-01 00:26:04,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:04 2023-07-01 00:26:04,148 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 00:26:04 2023-07-01 00:26:04,148 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:26:04 2023-07-01 00:26:04,153 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:04 3.1.0-dev.3 [Pipeline] } 00:26:04 $ docker exec --env ******** --env ******** d056fee581eda5ea64c2206e0c4c31e12b1f1556b0196f3276bc20ea6f9b4145 ssh-agent -k 00:26:04 unset SSH_AUTH_SOCK; 00:26:04 unset SSH_AGENT_PID; 00:26:04 echo Agent pid 39 killed; 00:26:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:04 + git semver [Pipeline] } 00:26:04 $ docker stop --time=1 d056fee581eda5ea64c2206e0c4c31e12b1f1556b0196f3276bc20ea6f9b4145 00:26:06 $ docker rm -f --volumes d056fee581eda5ea64c2206e0c4c31e12b1f1556b0196f3276bc20ea6f9b4145 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:06 00:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:06 0.23.1-centos7: Pulling from edgex-lftools 00:26:06 ab5ef0e58194: Pulling fs layer 00:26:06 9712f1f96733: Pulling fs layer 00:26:06 63f879dbbcfc: Pulling fs layer 00:26:06 0d9ebad4ef96: Pulling fs layer 00:26:06 e9a5061849ea: Pulling fs layer 00:26:06 d747dcd14b5f: Pulling fs layer 00:26:06 2de7ff778b66: Pulling fs layer 00:26:06 e9a5061849ea: Waiting 00:26:06 d747dcd14b5f: Waiting 00:26:06 2de7ff778b66: Waiting 00:26:06 0d9ebad4ef96: Waiting 00:26:06 9712f1f96733: Verifying Checksum 00:26:06 9712f1f96733: Download complete 00:26:07 63f879dbbcfc: Verifying Checksum 00:26:07 63f879dbbcfc: Download complete 00:26:07 e9a5061849ea: Verifying Checksum 00:26:07 e9a5061849ea: Download complete 00:26:07 ab5ef0e58194: Verifying Checksum 00:26:07 ab5ef0e58194: Download complete 00:26:07 0d9ebad4ef96: Verifying Checksum 00:26:07 0d9ebad4ef96: Download complete 00:26:07 d747dcd14b5f: Verifying Checksum 00:26:07 d747dcd14b5f: Download complete 00:26:07 2de7ff778b66: Verifying Checksum 00:26:07 2de7ff778b66: Download complete 00:26:09 ab5ef0e58194: Pull complete 00:26:09 9712f1f96733: Pull complete 00:26:10 63f879dbbcfc: Pull complete 00:26:13 0d9ebad4ef96: Pull complete 00:26:14 e9a5061849ea: Pull complete 00:26:14 d747dcd14b5f: Pull complete 00:26:14 2de7ff778b66: Pull complete 00:26:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:15 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:26:24 $ docker top 3366ffa16d08167d8e3454ba17df24c759f1cdfe870cc2dfdb48ee7d5590304c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:26:24 provisioning config files... 00:26:24 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8128604714133340494tmp 00:26:24 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4580451406943538097tmp 00:26:24 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17412473324970175577tmp [Pipeline] { [Pipeline] echo 00:26:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:26:24 ---> sigul-configuration.sh 00:26:24 gpg: directory `/root/.gnupg' created 00:26:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:26:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:26:24 gpg: keyring `/root/.gnupg/secring.gpg' created 00:26:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:26:24 gpg: CAST5 encrypted data 00:26:24 gpg: encrypted with 1 passphrase 00:26:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:26:25 + mkdir /home/jenkins 00:26:25 + mkdir /home/jenkins/sigul [Pipeline] sh 00:26:25 + 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 00:26:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:26:25 ---> sigul-install.sh 00:26:25 Sigul already installed; skipping installation. [Pipeline] sh 00:26:26 + git tag --list 00:26:26 v0.0.0 00:26:26 v0.0.1-dev.1 00:26:26 v0.0.1-dev.10 00:26:26 v0.0.1-dev.11 00:26:26 v0.0.1-dev.12 00:26:26 v0.0.1-dev.13 00:26:26 v0.0.1-dev.14 00:26:26 v0.0.1-dev.15 00:26:26 v0.0.1-dev.16 00:26:26 v0.0.1-dev.2 00:26:26 v0.0.1-dev.3 00:26:26 v0.0.1-dev.4 00:26:26 v0.0.1-dev.5 00:26:26 v0.0.1-dev.6 00:26:26 v0.0.1-dev.7 00:26:26 v0.0.1-dev.8 00:26:26 v0.0.1-dev.9 00:26:26 v2.2.0 00:26:26 v2.2.0-dev.17 00:26:26 v2.2.0-dev.18 00:26:26 v2.2.0-dev.19 00:26:26 v2.2.0-dev.20 00:26:26 v2.2.0-dev.21 00:26:26 v2.2.0-dev.22 00:26:26 v2.2.0-dev.23 00:26:26 v2.2.0-dev.24 00:26:26 v2.2.0-dev.25 00:26:26 v2.2.0-dev.26 00:26:26 v2.2.0-dev.27 00:26:26 v2.3.0 00:26:26 v2.3.0-dev.1 00:26:26 v2.3.0-dev.10 00:26:26 v2.3.0-dev.11 00:26:26 v2.3.0-dev.12 00:26:26 v2.3.0-dev.13 00:26:26 v2.3.0-dev.14 00:26:26 v2.3.0-dev.15 00:26:26 v2.3.0-dev.16 00:26:26 v2.3.0-dev.17 00:26:26 v2.3.0-dev.18 00:26:26 v2.3.0-dev.19 00:26:26 v2.3.0-dev.2 00:26:26 v2.3.0-dev.20 00:26:26 v2.3.0-dev.21 00:26:26 v2.3.0-dev.22 00:26:26 v2.3.0-dev.23 00:26:26 v2.3.0-dev.24 00:26:26 v2.3.0-dev.25 00:26:26 v2.3.0-dev.26 00:26:26 v2.3.0-dev.27 00:26:26 v2.3.0-dev.28 00:26:26 v2.3.0-dev.3 00:26:26 v2.3.0-dev.4 00:26:26 v2.3.0-dev.5 00:26:26 v2.3.0-dev.6 00:26:26 v2.3.0-dev.7 00:26:26 v2.3.0-dev.8 00:26:26 v2.3.0-dev.9 00:26:26 v2.3.1 00:26:26 v2.3.1-dev.4 00:26:26 v2.3.1-dev.5 00:26:26 v2.3.1-dev.6 00:26:26 v3.0 00:26:26 v3.0.0 00:26:26 v3.0.0-dev.1 00:26:26 v3.0.0-dev.10 00:26:26 v3.0.0-dev.11 00:26:26 v3.0.0-dev.12 00:26:26 v3.0.0-dev.13 00:26:26 v3.0.0-dev.14 00:26:26 v3.0.0-dev.15 00:26:26 v3.0.0-dev.16 00:26:26 v3.0.0-dev.17 00:26:26 v3.0.0-dev.18 00:26:26 v3.0.0-dev.19 00:26:26 v3.0.0-dev.2 00:26:26 v3.0.0-dev.20 00:26:26 v3.0.0-dev.21 00:26:26 v3.0.0-dev.22 00:26:26 v3.0.0-dev.23 00:26:26 v3.0.0-dev.24 00:26:26 v3.0.0-dev.25 00:26:26 v3.0.0-dev.26 00:26:26 v3.0.0-dev.27 00:26:26 v3.0.0-dev.28 00:26:26 v3.0.0-dev.29 00:26:26 v3.0.0-dev.3 00:26:26 v3.0.0-dev.30 00:26:26 v3.0.0-dev.31 00:26:26 v3.0.0-dev.32 00:26:26 v3.0.0-dev.33 00:26:26 v3.0.0-dev.34 00:26:26 v3.0.0-dev.35 00:26:26 v3.0.0-dev.36 00:26:26 v3.0.0-dev.37 00:26:26 v3.0.0-dev.38 00:26:26 v3.0.0-dev.39 00:26:26 v3.0.0-dev.4 00:26:26 v3.0.0-dev.40 00:26:26 v3.0.0-dev.41 00:26:26 v3.0.0-dev.42 00:26:26 v3.0.0-dev.43 00:26:26 v3.0.0-dev.44 00:26:26 v3.0.0-dev.45 00:26:26 v3.0.0-dev.46 00:26:26 v3.0.0-dev.47 00:26:26 v3.0.0-dev.48 00:26:26 v3.0.0-dev.49 00:26:26 v3.0.0-dev.5 00:26:26 v3.0.0-dev.50 00:26:26 v3.0.0-dev.51 00:26:26 v3.0.0-dev.6 00:26:26 v3.0.0-dev.7 00:26:26 v3.0.0-dev.8 00:26:26 v3.0.0-dev.9 00:26:26 v3.1.0-dev.1 00:26:26 v3.1.0-dev.2 00:26:26 v3.1.0-dev.3 [Pipeline] sh 00:26:26 + lftools sign git-tag v3.1.0-dev.3 00:26:26 Signing Git tag with Sigul... 00:26:26 Signing v3.1.0-dev.3 [Pipeline] echo 00:26:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:26:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:26:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:26:27 $ docker stop --time=1 3366ffa16d08167d8e3454ba17df24c759f1cdfe870cc2dfdb48ee7d5590304c 00:26:28 $ docker rm -f --volumes 3366ffa16d08167d8e3454ba17df24c759f1cdfe870cc2dfdb48ee7d5590304c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:26:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:29 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:26:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:26:29 $ docker top 912c12360ae532d3b957b6d1258278d101ccf9c1ee87d830da83bf5475cfc4c9 -eo pid,comm 00:26:30 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). 00:26:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:30 [ssh-agent] Looking for ssh-agent implementation... 00:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:30 $ docker exec 912c12360ae532d3b957b6d1258278d101ccf9c1ee87d830da83bf5475cfc4c9 ssh-agent 00:26:30 SSH_AUTH_SOCK=/tmp/ssh-TCDuDiasyLfq/agent.31 00:26:30 SSH_AGENT_PID=37 00:26:30 Running ssh-add (command line suppressed) 00:26:30 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3182295766792584626.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3182295766792584626.key) 00:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:30 + git semver bump pre 00:26:30 2023-07-01 00:26:30,863 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:30 2023-07-01 00:26:30,864 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 00:26:30 2023-07-01 00:26:30,864 [bump_version] DEBUG bumped version:3.1.0-dev.4 00:26:30 2023-07-01 00:26:30,864 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:26:30 2023-07-01 00:26:30,864 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:30 2023-07-01 00:26:30,864 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:30 2023-07-01 00:26:30,865 [execute] INFO git cat-file --batch-check 00:26:30 2023-07-01 00:26:30,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:30 2023-07-01 00:26:30,871 [execute] INFO git cat-file --batch 00:26:30 2023-07-01 00:26:30,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:30 2023-07-01 00:26:30,877 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:30 3.1.0-dev.4 [Pipeline] } 00:26:30 $ docker exec --env ******** --env ******** 912c12360ae532d3b957b6d1258278d101ccf9c1ee87d830da83bf5475cfc4c9 ssh-agent -k 00:26:31 unset SSH_AUTH_SOCK; 00:26:31 unset SSH_AGENT_PID; 00:26:31 echo Agent pid 37 killed; 00:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:31 + git semver [Pipeline] } 00:26:31 $ docker stop --time=1 912c12360ae532d3b957b6d1258278d101ccf9c1ee87d830da83bf5475cfc4c9 00:26:32 $ docker rm -f --volumes 912c12360ae532d3b957b6d1258278d101ccf9c1ee87d830da83bf5475cfc4c9 [Pipeline] // withDockerContainer [Pipeline] sh 00:26:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:26:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:26:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:33 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:26:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:26:33 $ docker top faa91ce4b4450d41ef8d0f27d670ab1d3faa79aafbb2cf29782b4046c7c6b848 -eo pid,comm 00:26:33 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). 00:26:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:34 [ssh-agent] Looking for ssh-agent implementation... 00:26:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:34 $ docker exec faa91ce4b4450d41ef8d0f27d670ab1d3faa79aafbb2cf29782b4046c7c6b848 ssh-agent 00:26:34 SSH_AUTH_SOCK=/tmp/ssh-nO4sOczBaoxE/agent.32 00:26:34 SSH_AGENT_PID=38 00:26:34 Running ssh-add (command line suppressed) 00:26:34 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8754191965338690150.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8754191965338690150.key) 00:26:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:34 + git semver push 00:26:34 2023-07-01 00:26:34,801 [run_push] DEBUG push 00:26:34 2023-07-01 00:26:34,802 [execute] INFO git cat-file --batch-check 00:26:34 2023-07-01 00:26:34,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:26:34 2023-07-01 00:26:34,806 [execute] INFO git rev-list 1e6b3c1994f5b2efe1bbab89dca27629b70d3e62 -- 00:26:34 2023-07-01 00:26:34,806 [execute] DEBUG Popen(['git', 'rev-list', '1e6b3c1994f5b2efe1bbab89dca27629b70d3e62', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:26:34 2023-07-01 00:26:34,813 [execute] INFO git fetch -v origin 00:26:34 2023-07-01 00:26:34,813 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:26:35 2023-07-01 00:26:35,255 [run_push] DEBUG no remote changes detected 00:26:35 2023-07-01 00:26:35,255 [execute] INFO git push origin semver 00:26:35 2023-07-01 00:26:35,256 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:26:36 2023-07-01 00:26:35,991 [run_push] DEBUG push all version tags 00:26:36 2023-07-01 00:26:35,992 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:26:36 2023-07-01 00:26:35,992 [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) 00:26:36 2023-07-01 00:26:36,717 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:26:36 3.1.0-dev.4 [Pipeline] } 00:26:36 $ docker exec --env ******** --env ******** faa91ce4b4450d41ef8d0f27d670ab1d3faa79aafbb2cf29782b4046c7c6b848 ssh-agent -k 00:26:37 unset SSH_AUTH_SOCK; 00:26:37 unset SSH_AGENT_PID; 00:26:37 echo Agent pid 38 killed; 00:26:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:37 + git semver [Pipeline] } 00:26:37 $ docker stop --time=1 faa91ce4b4450d41ef8d0f27d670ab1d3faa79aafbb2cf29782b4046c7c6b848 00:26:38 $ docker rm -f --volumes faa91ce4b4450d41ef8d0f27d670ab1d3faa79aafbb2cf29782b4046c7c6b848 [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 00:26:39 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:26:39 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:26:39 total 16 00:26:39 drwxr-xr-x 3 root root 4096 Jul 1 00:15 . 00:26:39 drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 00:26 .. 00:26:39 drwxr-xr-x 2 root root 4096 Jul 1 00:15 cost 00:26:39 -rw-r--r-- 1 root root 89 Jul 1 00:15 cost.csv 00:26:39 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:26:39 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:26:39 total 16 00:26:39 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 00:15 . 00:26:39 drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 00:26 .. 00:26:39 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 00:15 cost 00:26:39 -rw-r--r-- 1 jenkins jenkins 89 Jul 1 00:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:26:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:26:40 ---> package-listing.sh 00:26:40 ++ facter osfamily 00:26:40 ++ tr '[:upper:]' '[:lower:]' 00:26:41 + OS_FAMILY=debian 00:26:41 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:26:41 + START_PACKAGES=/tmp/packages_start.txt 00:26:41 + END_PACKAGES=/tmp/packages_end.txt 00:26:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:26:41 + PACKAGES=/tmp/packages_start.txt 00:26:41 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:26:41 + PACKAGES=/tmp/packages_end.txt 00:26:41 + case "${OS_FAMILY}" in 00:26:41 + dpkg -l 00:26:41 + grep '^ii' 00:26:41 + '[' -f /tmp/packages_start.txt ']' 00:26:41 + '[' -f /tmp/packages_end.txt ']' 00:26:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:26:41 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:26:41 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:26:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:26:41 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 00:26:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:26:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:26:41 prd-ubuntu20.04-docker-8c-8g-254 does not seem to be running inside a container 00:26:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:26:42 $ docker top 6313e702a95daef76d7fbeebdc0b7a0bef9a6b9bb0a6273154ad705ba7e3b0d0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:26:42 + touch /tmp/pre-build-complete [Pipeline] sh 00:26:42 + mkdir -p /var/log/sysstat [Pipeline] sh 00:26:43 + ls /var/log/sa-host 00:26:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:43 provisioning config files... 00:26:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17390279202616994011tmp [Pipeline] { [Pipeline] echo 00:26:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:26:43 ---> create-netrc.sh [Pipeline] } 00:26:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:26:43 ---> python-tools-install.sh [Pipeline] echo 00:26:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:26:44 ---> sudo-logs.sh 00:26:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:26:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:26:44 ---> job-cost.sh 00:26:44 lf-activate-venv: SKIPPING 00:26:44 DEBUG: total: 0.2199999988079071 00:26:44 INFO: Retrieving Stack Cost... 00:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 00:26:45 INFO: Archiving Costs [Pipeline] echo 00:26:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:26:45 ---> logs-deploy.sh 00:26:45 lf-activate-venv: SKIPPING 00:26:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/127 00:26:45 INFO: archiving workspace using pattern(s): 00:26:46 Archives upload complete. 00:26:46 INFO: archiving logs to Nexus