Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 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-ssh11470307137401645589.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh6439277205125058589.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12494708036715269310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh12088643983063081571.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh4847261848187924758.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22350 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 Avoid second fetch Checking out Revision bc08c07b2fcd2a11c96a474f97a869fa8c75de0c (main) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc08c07b2fcd2a11c96a474f97a869fa8c75de0c # timeout=10 Commit message: "Merge pull request #76 from lenny-intel/go1.18-latest-sdk" > git rev-list --no-walk 35e88c606ff591756c04535471448b721e880ee3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:00:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:00:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:00:56 ========================================================= 00:00:56 EdgeX Global Pipelines Version Info 00:00:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:00:57 ------------------- 00:00:57 stable info: 00:00:57 ------------------- 00:00:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:00:57 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:00:57 Message: update stable to v1.0.238 00:00:58 ------------------- 00:00:58 experimental info: 00:00:58 ------------------- 00:00:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:00:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:00:58 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc08c07 [Pipeline] echo 00:00:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:58 provisioning config files... 00:00:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config728228494533456944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:59 ---> docker-login.sh 00:00:59 nexus3.edgexfoundry.org:10001 00:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:59 Configure a credential helper to remove this warning. See 00:00:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:59 00:00:59 Login Succeeded 00:00:59 nexus3.edgexfoundry.org:10002 00:00:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 nexus3.edgexfoundry.org:10003 00:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 nexus3.edgexfoundry.org:10004 00:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 docker.io 00:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:00 Configure a credential helper to remove this warning. See 00:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:00 00:01:00 Login Succeeded 00:01:00 ---> docker-login.sh ends [Pipeline] } 00:01:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:01:01 + git rev-list -1 --merges bc08c07b2fcd2a11c96a474f97a869fa8c75de0c~1..bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] echo 00:01:01 -----------> git rev-list -1 --merges bc08c07b2fcd2a11c96a474f97a869fa8c75de0c~1..bc08c07b2fcd2a11c96a474f97a869fa8c75de0c bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:01:01 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [false] [Pipeline] sh 00:01:01 + git log --format=format:%s -1 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] echo 00:01:01 ========================================================= 00:01:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:01:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:01 + git log --format=format:%s -1 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] echo 00:01:01 [semverPrep] GIT_COMMIT: bc08c07b2fcd2a11c96a474f97a869fa8c75de0c, Commit Message: Merge pull request #76 from lenny-intel/go1.18-latest-sdk [Pipeline] echo 00:01:01 [semverPrep] This is not a build commit. [Pipeline] sh 00:01:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:01:02 + grep -v github /etc/ssh/ssh_known_hosts 00:01:02 + [ -e /tmp/ssh_known_hosts ] 00:01:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:01:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:01:02 + sudo tee -a /etc/ssh/ssh_known_hosts 00:01:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:01:02 00:01:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:01:02 0.1.4: Pulling from edgex-devops/py-git-semver 00:01:02 b85a868b505f: Pulling fs layer 00:01:02 e2be974225ed: Pulling fs layer 00:01:02 339a4e72a1f5: Pulling fs layer 00:01:02 988bab9f4d93: Pulling fs layer 00:01:02 1469e6f7b9e6: Pulling fs layer 00:01:02 eaf3925da568: Pulling fs layer 00:01:02 bab4dde63d76: Pulling fs layer 00:01:02 bde34c3a00c8: Pulling fs layer 00:01:02 b352a97aabf1: Pulling fs layer 00:01:02 4872d77fe225: Pulling fs layer 00:01:02 5851b861e8e6: Pulling fs layer 00:01:02 988bab9f4d93: Waiting 00:01:02 1469e6f7b9e6: Waiting 00:01:02 eaf3925da568: Waiting 00:01:02 bab4dde63d76: Waiting 00:01:02 bde34c3a00c8: Waiting 00:01:02 b352a97aabf1: Waiting 00:01:02 4872d77fe225: Waiting 00:01:02 5851b861e8e6: Waiting 00:01:02 e2be974225ed: Download complete 00:01:02 988bab9f4d93: Download complete 00:01:03 1469e6f7b9e6: Verifying Checksum 00:01:03 1469e6f7b9e6: Download complete 00:01:03 eaf3925da568: Download complete 00:01:03 339a4e72a1f5: Verifying Checksum 00:01:03 339a4e72a1f5: Download complete 00:01:03 bde34c3a00c8: Verifying Checksum 00:01:03 bde34c3a00c8: Download complete 00:01:03 b352a97aabf1: Verifying Checksum 00:01:03 b352a97aabf1: Download complete 00:01:03 4872d77fe225: Verifying Checksum 00:01:03 4872d77fe225: Download complete 00:01:03 5851b861e8e6: Verifying Checksum 00:01:03 5851b861e8e6: Download complete 00:01:03 b85a868b505f: Verifying Checksum 00:01:03 b85a868b505f: Download complete 00:01:03 bab4dde63d76: Verifying Checksum 00:01:03 bab4dde63d76: Download complete 00:01:04 b85a868b505f: Pull complete 00:01:04 e2be974225ed: Pull complete 00:01:05 339a4e72a1f5: Pull complete 00:01:05 988bab9f4d93: Pull complete 00:01:05 1469e6f7b9e6: Pull complete 00:01:05 eaf3925da568: Pull complete 00:01:07 bab4dde63d76: Pull complete 00:01:07 bde34c3a00c8: Pull complete 00:01:08 b352a97aabf1: Pull complete 00:01:08 4872d77fe225: Pull complete 00:01:08 5851b861e8e6: Pull complete 00:01:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:01:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:08 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:01:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:01:11 $ docker top 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 -eo pid,comm 00:01:11 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:01:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:01:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:11 [ssh-agent] Looking for ssh-agent implementation... 00:01:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:11 $ docker exec 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 ssh-agent 00:01:11 SSH_AUTH_SOCK=/tmp/ssh-Jk7qGLpEpqEB/agent.33 00:01:11 SSH_AGENT_PID=39 00:01:11 Running ssh-add (command line suppressed) 00:01:11 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_644356303656232013.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_644356303656232013.key) 00:01:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:11 + git tag --points-at HEAD [Pipeline] } 00:01:11 $ docker exec --env ******** --env ******** 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 ssh-agent -k 00:01:12 unset SSH_AUTH_SOCK; 00:01:12 unset SSH_AGENT_PID; 00:01:12 echo Agent pid 39 killed; 00:01:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:01:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:01:12 [ssh-agent] Looking for ssh-agent implementation... 00:01:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:01:12 $ docker exec 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 ssh-agent 00:01:12 SSH_AUTH_SOCK=/tmp/ssh-wbh45uVkjfnD/agent.72 00:01:12 SSH_AGENT_PID=79 00:01:12 Running ssh-add (command line suppressed) 00:01:12 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3049045124604725577.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3049045124604725577.key) 00:01:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:01:12 + git semver init 00:01:13 2022-08-10 00:01:13,087 [run_init] DEBUG init version:0.0.0 force:False 00:01:13 2022-08-10 00:01:13,088 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:01:13 2022-08-10 00:01:13,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:01:13 2022-08-10 00:01:13,088 [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:01:13 2022-08-10 00:01:13,626 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:01:13 2022-08-10 00:01:13,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:01:13 2022-08-10 00:01:13,627 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:01:13 2022-08-10 00:01:13,627 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:01:13 2.3.0-dev.1 [Pipeline] } 00:01:13 $ docker exec --env ******** --env ******** 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 ssh-agent -k 00:01:13 unset SSH_AUTH_SOCK; 00:01:13 unset SSH_AGENT_PID; 00:01:13 echo Agent pid 79 killed; 00:01:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:01:14 + git semver [Pipeline] } 00:01:14 $ docker stop --time=1 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 00:01:15 $ docker rm -f 663d23698113269a67685a669879c37b7b3e8cac066192134026559d921be4b0 [Pipeline] // withDockerContainer [Pipeline] sh 00:01:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:01:16 Stashed 1 file(s) [Pipeline] echo 00:01:16 [edgeXSemver]: initialized semver on version 2.3.0-dev.1 [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:01:16 provisioning config files... 00:01:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8222267210899798584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:16 ---> docker-login.sh 00:01:16 nexus3.edgexfoundry.org:10001 00:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:16 Configure a credential helper to remove this warning. See 00:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:16 00:01:16 Login Succeeded 00:01:16 nexus3.edgexfoundry.org:10002 00:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:17 Configure a credential helper to remove this warning. See 00:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:17 00:01:17 Login Succeeded 00:01:17 nexus3.edgexfoundry.org:10003 00:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:17 Configure a credential helper to remove this warning. See 00:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:17 00:01:17 Login Succeeded 00:01:17 nexus3.edgexfoundry.org:10004 00:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:17 Configure a credential helper to remove this warning. See 00:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:17 00:01:17 Login Succeeded 00:01:17 docker.io 00:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:17 Configure a credential helper to remove this warning. See 00:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:17 00:01:17 Login Succeeded 00:01:17 ---> docker-login.sh ends [Pipeline] } 00:01:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:17 ========================================================= 00:01:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:01:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:01:18 Sending build context to Docker daemon 821.2kB 00:01:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:01:18 Step 2/13 : FROM ${BASE} AS builder 00:01:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:01:18 2408cc74d12b: Pulling fs layer 00:01:18 ea60b727a1ce: Pulling fs layer 00:01:18 30c4a7721957: Pulling fs layer 00:01:18 370296b7ddb6: Pulling fs layer 00:01:18 7c6cee850709: Pulling fs layer 00:01:18 39a5fcdaea64: Pulling fs layer 00:01:18 d94ebbe4e438: Pulling fs layer 00:01:18 bcfd1f05c69d: Pulling fs layer 00:01:18 59ccb84bbe0f: Pulling fs layer 00:01:18 370296b7ddb6: Waiting 00:01:18 bcfd1f05c69d: Waiting 00:01:18 59ccb84bbe0f: Waiting 00:01:18 7c6cee850709: Waiting 00:01:18 d94ebbe4e438: Waiting 00:01:18 30c4a7721957: Download complete 00:01:18 ea60b727a1ce: Verifying Checksum 00:01:18 ea60b727a1ce: Download complete 00:01:18 7c6cee850709: Verifying Checksum 00:01:18 7c6cee850709: Download complete 00:01:18 39a5fcdaea64: Verifying Checksum 00:01:18 39a5fcdaea64: Download complete 00:01:18 2408cc74d12b: Verifying Checksum 00:01:18 d94ebbe4e438: Verifying Checksum 00:01:18 d94ebbe4e438: Download complete 00:01:18 2408cc74d12b: Pull complete 00:01:18 ea60b727a1ce: Pull complete 00:01:18 30c4a7721957: Pull complete 00:01:18 59ccb84bbe0f: Verifying Checksum 00:01:18 59ccb84bbe0f: Download complete 00:01:18 bcfd1f05c69d: Verifying Checksum 00:01:18 bcfd1f05c69d: Download complete 00:01:18 370296b7ddb6: Verifying Checksum 00:01:18 370296b7ddb6: Download complete 00:01:24 370296b7ddb6: Pull complete 00:01:24 7c6cee850709: Pull complete 00:01:24 39a5fcdaea64: Pull complete 00:01:24 d94ebbe4e438: Pull complete 00:01:25 bcfd1f05c69d: Pull complete 00:01:26 59ccb84bbe0f: Pull complete 00:01:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:01:26 ---> a4fb48ad2a94 00:01:26 Step 3/13 : ARG MAKE="make build" 00:01:29 ---> Running in a1134b4f99df 00:01:29 Removing intermediate container a1134b4f99df 00:01:29 ---> 863d35328617 00:01:29 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:01:29 ---> Running in d535410ea105 00:01:29 Removing intermediate container d535410ea105 00:01:29 ---> 1e947b884f4e 00:01:29 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:01:29 ---> Running in fcd341ba0d84 00:01:29 Removing intermediate container fcd341ba0d84 00:01:29 ---> bda6666feba8 00:01:29 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:29 ---> Running in acfb58c2db04 00:01:30 Removing intermediate container acfb58c2db04 00:01:30 ---> 94e0270a875b 00:01:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:01:30 ---> Running in 7660fc5b676d 00:01:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:01:31 Still waiting to schedule task 00:01:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:01:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:01:31 (1/80) Installing mesa (21.3.8-r2) 00:01:32 (2/80) Installing libxau (1.0.9-r0) 00:01:32 (3/80) Installing libxdmcp (1.1.3-r0) 00:01:32 (4/80) Installing libxcb (1.15-r0) 00:01:32 (5/80) Installing libx11 (1.8-r0) 00:01:32 (6/80) Installing libxext (1.3.4-r0) 00:01:32 (7/80) Installing libxfixes (6.0.0-r0) 00:01:32 (8/80) Installing libxxf86vm (1.1.4-r2) 00:01:32 (9/80) Installing libpciaccess (0.16-r0) 00:01:32 (10/80) Installing libdrm (2.4.110-r0) 00:01:32 (11/80) Installing mesa-glapi (21.3.8-r2) 00:01:33 (12/80) Installing libxshmfence (1.3-r1) 00:01:33 (13/80) Installing mesa-gl (21.3.8-r2) 00:01:33 (14/80) Installing icu-data-full (71.1-r2) 00:01:34 (15/80) Installing libice (1.0.10-r0) 00:01:34 (16/80) Installing libuuid (2.38-r1) 00:01:34 (17/80) Installing libsm (1.2.3-r0) 00:01:34 (18/80) Installing libxt (1.2.1-r0) 00:01:34 (19/80) Installing libxmu (1.1.3-r0) 00:01:34 (20/80) Installing xset (1.2.4-r0) 00:01:34 (21/80) Installing xprop (1.2.5-r0) 00:01:34 (22/80) Installing xdg-utils (1.1.3-r3) 00:01:34 (23/80) Installing dbus-libs (1.14.0-r1) 00:01:34 (24/80) Installing libffi (3.4.2-r1) 00:01:35 (25/80) Installing libintl (0.21-r2) 00:01:35 (26/80) Installing libblkid (2.38-r1) 00:01:35 (27/80) Installing libmount (2.38-r1) 00:01:35 (28/80) Installing pcre (8.45-r2) 00:01:35 (29/80) Installing glib (2.72.1-r0) 00:01:35 (30/80) Installing icu-libs (71.1-r2) 00:01:37 (31/80) Installing libpcre2-16 (10.40-r0) 00:01:37 (32/80) Installing zstd-libs (1.5.2-r1) 00:01:37 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 00:01:38 (34/80) Installing hicolor-icon-theme (0.17-r1) 00:01:38 (35/80) Installing wayland-libs-server (1.20.0-r0) 00:01:38 (36/80) Installing mesa-gbm (21.3.8-r2) 00:01:38 (37/80) Installing wayland-libs-client (1.20.0-r0) 00:01:38 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 00:01:38 (39/80) Installing libxcomposite (0.4.5-r0) 00:01:38 (40/80) Installing libbz2 (1.0.8-r1) 00:01:38 (41/80) Installing libpng (1.6.37-r1) 00:01:39 (42/80) Installing freetype (2.12.1-r0) 00:01:39 (43/80) Installing fontconfig (2.14.0-r0) 00:01:39 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 00:01:39 (45/80) Installing wayland-libs-egl (1.20.0-r0) 00:01:39 (46/80) Installing xkeyboard-config (2.35.1-r0) 00:01:39 (47/80) Installing xz-libs (5.2.5-r1) 00:01:39 (48/80) Installing libxml2 (2.9.14-r0) 00:01:39 (49/80) Installing libxkbcommon (1.4.1-r0) 00:01:39 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 00:01:39 (51/80) Installing mesa-egl (21.3.8-r2) 00:01:40 (52/80) Installing avahi-libs (0.8-r6) 00:01:40 (53/80) Installing nettle (3.7.3-r0) 00:01:40 (54/80) Installing p11-kit (0.24.1-r0) 00:01:40 (55/80) Installing libtasn1 (4.18.0-r0) 00:01:40 (56/80) Installing libunistring (1.0-r0) 00:01:40 (57/80) Installing gnutls (3.7.7-r0) 00:01:40 (58/80) Installing cups-libs (2.4.2-r0) 00:01:40 (59/80) Installing graphite2 (1.3.14-r1) 00:01:40 (60/80) Installing harfbuzz (4.3.0-r0) 00:01:40 (61/80) Installing libevdev (1.12.1-r0) 00:01:41 (62/80) Installing mtdev (1.1.6-r0) 00:01:41 (63/80) Installing eudev-libs (3.2.11-r0) 00:01:41 (64/80) Installing libinput-libs (1.20.1-r0) 00:01:41 (65/80) Installing libjpeg-turbo (2.1.3-r1) 00:01:41 (66/80) Installing xcb-util-wm (0.4.1-r1) 00:01:41 (67/80) Installing xcb-util (0.4.0-r3) 00:01:41 (68/80) Installing xcb-util-image (0.4.0-r1) 00:01:41 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 00:01:42 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 00:01:42 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 00:01:42 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 00:01:42 (73/80) Installing v4l-utils-libs (1.22.1-r1) 00:01:42 (74/80) Installing v4l-utils (1.22.1-r1) 00:01:43 (75/80) Installing udev-init-scripts (35-r0) 00:01:43 Executing udev-init-scripts-35-r0.post-install 00:01:43 (76/80) Installing kmod-libs (29-r2) 00:01:43 (77/80) Installing eudev (3.2.11-r0) 00:01:43 (78/80) Installing eudev-dev (3.2.11-r0) 00:01:43 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:01:43 (80/80) Installing v4l-utils-dev (1.22.1-r1) 00:01:43 Executing busybox-1.35.0-r13.trigger 00:01:43 Executing eudev-3.2.11-r0.trigger 00:01:43 OK: 330 MiB in 131 packages 00:01:46 Removing intermediate container 7660fc5b676d 00:01:46 ---> c4c2f1c184aa 00:01:46 Step 8/13 : WORKDIR /device-usb-camera 00:01:46 ---> Running in 4d12a7eab85d 00:01:46 Removing intermediate container 4d12a7eab85d 00:01:46 ---> 50784e3d9341 00:01:46 Step 9/13 : COPY go.mod vendor* ./ 00:01:46 ---> 9fe4d94afdcc 00:01:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:46 ---> Running in 78034f924347 00:02:08 Removing intermediate container 78034f924347 00:02:08 ---> 28622ba56e52 00:02:08 Step 11/13 : COPY . . 00:02:08 ---> 01be6e0ed7b4 00:02:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:02:08 ---> Running in 9e8bd7d4a675 00:02:08  % Total % Received % Xferd Average Speed Time Time Time Current 00:02:08 Dload Upload Total Spent Left Speed 00:02:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100  1062    0     0   8789      0 --:--:-- --:--:-- --:--:--  8850 00:02:08 Removing intermediate container 9e8bd7d4a675 00:02:08 ---> f399e0ea6548 00:02:08 Step 13/13 : RUN ${MAKE} 00:02:08 ---> Running in 3cca2fd6f923 00:02:08 noop 00:02:09 Removing intermediate container 3cca2fd6f923 00:02:09 ---> 2342f16f6698 00:02:09 Successfully built 2342f16f6698 00:02:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:09 + docker inspect -f . ci-base-image-x86_64 00:02:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:09 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:02:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:02:09 $ docker top f93e8d3d1e710735b8aba2c80606aeac3ad1aa128f6f8f1eeacdeb7d878a7d28 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:10 + go version 00:02:10 go version go1.18.3 linux/amd64 [Pipeline] } 00:02:10 $ docker stop --time=1 f93e8d3d1e710735b8aba2c80606aeac3ad1aa128f6f8f1eeacdeb7d878a7d28 00:02:11 $ docker rm -f f93e8d3d1e710735b8aba2c80606aeac3ad1aa128f6f8f1eeacdeb7d878a7d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:12 + docker inspect -f . ci-base-image-x86_64 00:02:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:12 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:02:12 $ docker top 343096079dd36ab44e4a40ceefd0c91a5246846b1b59d509a69207e869d9a0bc -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:13 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:02:13 + make test 00:02:13 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 00:02:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:02:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:02:25 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements 00:02:32 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:02:32 CGO_ENABLED=1 go vet ./... 00:02:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:02:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:02:35 ./bin/test-attribution-txt.sh [Pipeline] echo 00:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:02:35 $ docker stop --time=1 343096079dd36ab44e4a40ceefd0c91a5246846b1b59d509a69207e869d9a0bc 00:02:38 $ docker rm -f 343096079dd36ab44e4a40ceefd0c91a5246846b1b59d509a69207e869d9a0bc [Pipeline] // withDockerContainer [Pipeline] sh 00:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:02:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:02:39 + ls -al . 00:02:39 total 200 00:02:39 drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 00:02 . 00:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:00 .. 00:02:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:02 .git 00:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:00 .github 00:02:39 -rw-rw-r-- 1 jenkins jenkins 414 Aug 10 00:00 .gitignore 00:02:39 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 00:00 .golangci.yml 00:02:39 -rw-rw-r-- 1 jenkins jenkins 77 Aug 10 00:00 .hadolint.yml 00:02:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:01 .semver 00:02:39 -rw-rw-r-- 1 jenkins jenkins 9569 Aug 10 00:00 Attribution.txt 00:02:39 -rw-rw-r-- 1 jenkins jenkins 1206 Aug 10 00:00 CHANGELOG.md 00:02:39 -rw-rw-r-- 1 jenkins jenkins 2410 Aug 10 00:00 Dockerfile 00:02:39 -rw-rw-r-- 1 jenkins jenkins 678 Aug 10 00:00 GOVERNANCE.md 00:02:39 -rw-rw-r-- 1 jenkins jenkins 659 Aug 10 00:00 Jenkinsfile 00:02:39 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 00:00 LICENSE 00:02:39 -rw-rw-r-- 1 jenkins jenkins 2345 Aug 10 00:00 Makefile 00:02:39 -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 00:00 OWNERS.md 00:02:39 -rw-rw-r-- 1 jenkins jenkins 12817 Aug 10 00:00 README.md 00:02:39 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 00:01 VERSION 00:02:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:00 bin 00:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:00 cmd 00:02:39 -rw-r--r-- 1 jenkins jenkins 29387 Aug 10 00:02 coverage.out 00:02:39 -rwxrwxr-x 1 jenkins jenkins 140 Aug 10 00:00 docker-entrypoint.sh 00:02:39 -rw-rw-r-- 1 jenkins jenkins 3606 Aug 10 00:00 go.mod 00:02:39 -rw-rw-r-- 1 jenkins jenkins 37073 Aug 10 00:00 go.sum 00:02:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:00 internal 00:02:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:00 snap 00:02:39 -rw-rw-r-- 1 jenkins jenkins 231 Aug 10 00:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:40 + 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=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c --label arch=amd64 --label version=2.3.0-dev.1 . 00:02:40 Sending build context to Docker daemon 851.5kB 00:02:40 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:02:40 Step 2/35 : FROM ${BASE} AS builder 00:02:40 ---> 2342f16f6698 00:02:40 Step 3/35 : ARG MAKE="make build" 00:02:40 ---> Running in 959721f2ee16 00:02:40 Removing intermediate container 959721f2ee16 00:02:40 ---> e94997ac1b04 00:02:40 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:02:40 ---> Running in b8721c37e640 00:02:40 Removing intermediate container b8721c37e640 00:02:40 ---> 2cfd6994f203 00:02:40 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:02:40 ---> Running in 1dfce7708946 00:02:40 Removing intermediate container 1dfce7708946 00:02:40 ---> 40c74059d67d 00:02:40 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:40 ---> Running in cc84aaaf3808 00:02:41 Removing intermediate container cc84aaaf3808 00:02:41 ---> 0f422a2ddbb3 00:02:41 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:41 ---> Running in f6a0ba7a9f9c 00:02:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:02:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:02:42 OK: 330 MiB in 131 packages 00:02:42 Removing intermediate container f6a0ba7a9f9c 00:02:42 ---> 6ad86b17dc1e 00:02:42 Step 8/35 : WORKDIR /device-usb-camera 00:02:42 ---> Running in 64ab0a45ffff 00:02:42 Removing intermediate container 64ab0a45ffff 00:02:42 ---> 429dce9b8263 00:02:42 Step 9/35 : COPY go.mod vendor* ./ 00:02:43 ---> 4737deaf3ae7 00:02:43 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:43 ---> Running in 7094d2c8e1d7 00:02:43 Removing intermediate container 7094d2c8e1d7 00:02:43 ---> 1e9a83c903ee 00:02:43 Step 11/35 : COPY . . 00:02:44 ---> 0ebc569059e7 00:02:44 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:02:44 ---> Running in fe2937d1af91 00:02:44  % Total % Received % Xferd Average Speed Time Time Time Current 00:02:44 Dload Upload Total Spent Left Speed 00:02:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 51180 0 --:--:-- --:--:-- --:--:-- 53100 00:02:44 Removing intermediate container fe2937d1af91 00:02:44 ---> 39504ea86176 00:02:44 Step 13/35 : RUN ${MAKE} 00:02:44 ---> Running in 3cfd1840053a 00:02:45 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 00:03:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22351 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:03:06 Running in /w/workspace/device-usb-camera/40 [Pipeline] { [Pipeline] checkout 00:03:06 Selected Git installation does not exist. Using Default 00:03:06 The recommended git tool is: NONE 00:03:11 Removing intermediate container 3cfd1840053a 00:03:11 ---> db08a7792ae4 00:03:11 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 00:03:11 v0.18.4: Pulling from aler9/rtsp-simple-server 00:03:11 af6660deedbd: Pulling fs layer 00:03:11 97cd0a44c592: Pulling fs layer 00:03:11 97cd0a44c592: Verifying Checksum 00:03:11 97cd0a44c592: Download complete 00:03:11 af6660deedbd: Verifying Checksum 00:03:11 af6660deedbd: Download complete 00:03:11 af6660deedbd: Pull complete 00:03:11 97cd0a44c592: Pull complete 00:03:11 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 00:03:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 00:03:11 ---> fea57e182299 00:03:11 Step 15/35 : FROM alpine:3.16 00:03:12 3.16: Pulling from library/alpine 00:03:12 213ec9aee27d: Pulling fs layer 00:03:12 213ec9aee27d: Verifying Checksum 00:03:12 213ec9aee27d: Download complete 00:03:12 213ec9aee27d: Pull complete 00:03:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:03:12 Status: Downloaded newer image for alpine:3.16 00:03:12 ---> 9c6f07244728 00:03:12 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:03:12 ---> Running in 381d2bb04fc5 00:03:12 using credential edgex-jenkins-ssh 00:03:12 Cloning the remote Git repository 00:03:12 Removing intermediate container 381d2bb04fc5 00:03:12 ---> f6f52f420255 00:03:12 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 00:03:12 ---> Running in 0a05758ff816 00:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:03:13 (1/83) Installing dumb-init (1.2.5-r1) 00:03:13 (2/83) Installing sdl2 (2.0.22-r0) 00:03:13 (3/83) Installing libxau (1.0.9-r0) 00:03:13 (4/83) Installing libxdmcp (1.1.3-r0) 00:03:13 (5/83) Installing libxcb (1.15-r0) 00:03:13 (6/83) Installing libx11 (1.8-r0) 00:03:13 (7/83) Installing aom-libs (3.3.0-r0) 00:03:13 (8/83) Installing alsa-lib (1.2.7.2-r0) 00:03:13 (9/83) Installing expat (2.4.8-r0) 00:03:13 (10/83) Installing brotli-libs (1.0.9-r6) 00:03:13 (11/83) Installing libbz2 (1.0.8-r1) 00:03:13 (12/83) Installing libpng (1.6.37-r1) 00:03:13 (13/83) Installing freetype (2.12.1-r0) 00:03:13 (14/83) Installing fontconfig (2.14.0-r0) 00:03:13 (15/83) Installing fribidi (1.0.12-r0) 00:03:13 (16/83) Installing libffi (3.4.2-r1) 00:03:13 (17/83) Installing libintl (0.21-r2) 00:03:13 (18/83) Installing libblkid (2.38-r1) 00:03:13 (19/83) Installing libmount (2.38-r1) 00:03:13 (20/83) Installing pcre (8.45-r2) 00:03:13 Avoid second fetch 00:03:13 Checking out Revision bc08c07b2fcd2a11c96a474f97a869fa8c75de0c (main) 00:03:12 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:03:13 > git init /w/workspace/device-usb-camera/40 # timeout=10 00:03:13 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:03:13 > git --version # timeout=10 00:03:13 > git --version # 'git version 2.25.1' 00:03:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:03:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:03:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:03:13 > git config core.sparsecheckout # timeout=10 00:03:13 > git checkout -f bc08c07b2fcd2a11c96a474f97a869fa8c75de0c # timeout=10 00:03:14 (21/83) Installing glib (2.72.1-r0) 00:03:14 (22/83) Installing graphite2 (1.3.14-r1) 00:03:14 (23/83) Installing harfbuzz (4.3.0-r0) 00:03:14 (24/83) Installing libass (0.16.0-r0) 00:03:14 (25/83) Installing libdav1d (1.0.0-r0) 00:03:14 (26/83) Installing libpciaccess (0.16-r0) 00:03:14 (27/83) Installing libdrm (2.4.110-r0) 00:03:14 (28/83) Installing gmp (6.2.1-r2) 00:03:14 (29/83) Installing nettle (3.7.3-r0) 00:03:14 (30/83) Installing p11-kit (0.24.1-r0) 00:03:14 (31/83) Installing libtasn1 (4.18.0-r0) 00:03:14 (32/83) Installing libunistring (1.0-r0) 00:03:14 (33/83) Installing gnutls (3.7.7-r0) 00:03:14 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 00:03:14 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 00:03:14 (36/83) Installing lame (3.100-r0) 00:03:14 (37/83) Installing opus (1.3.1-r1) 00:03:14 (38/83) Installing libasyncns (0.8-r1) 00:03:14 (39/83) Installing dbus-libs (1.14.0-r1) 00:03:14 (40/83) Installing libltdl (2.4.7-r0) 00:03:14 (41/83) Installing orc (0.4.32-r0) 00:03:14 (42/83) Installing libgcc (11.2.1_git20220219-r2) 00:03:14 (43/83) Installing libogg (1.3.5-r1) 00:03:14 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 00:03:14 (45/83) Installing flac (1.3.4-r0) 00:03:14 (46/83) Installing libvorbis (1.3.7-r0) 00:03:14 (47/83) Installing libsndfile (1.1.0-r0) 00:03:14 (48/83) Installing libgomp (11.2.1_git20220219-r2) 00:03:14 (49/83) Installing soxr (0.1.3-r2) 00:03:14 (50/83) Installing speexdsp (1.2.0-r0) 00:03:14 (51/83) Installing tdb-libs (1.4.6-r0) 00:03:14 (52/83) Installing libpulse (15.0-r2) 00:03:14 (53/83) Installing cjson (1.7.15-r3) 00:03:14 (54/83) Installing mbedtls (2.28.1-r0) 00:03:14 (55/83) Installing librist (0.2.6-r1) 00:03:14 (56/83) Installing libsrt (1.4.4-r0) 00:03:14 (57/83) Installing libssh (0.9.6-r1) 00:03:14 (58/83) Installing libtheora (1.1.1-r16) 00:03:14 (59/83) Installing libjpeg-turbo (2.1.3-r1) 00:03:14 (60/83) Installing v4l-utils-libs (1.22.1-r1) 00:03:14 (61/83) Installing libxext (1.3.4-r0) 00:03:14 (62/83) Installing libxfixes (6.0.0-r0) 00:03:14 (63/83) Installing wayland-libs-client (1.20.0-r0) 00:03:14 (64/83) Installing libva (2.14.0-r0) 00:03:14 (65/83) Installing libvdpau (1.5-r0) 00:03:14 (66/83) Installing vidstab (1.1.0-r1) 00:03:14 (67/83) Installing libvpx (1.11.0-r1) 00:03:14 (68/83) Installing libwebp (1.2.3-r0) 00:03:14 (69/83) Installing x264-libs (0.163_git20210613-r0) 00:03:14 (70/83) Installing numactl (2.0.14-r0) 00:03:14 (71/83) Installing x265-libs (3.5-r3) 00:03:14 (72/83) Installing xvidcore (1.3.7-r1) 00:03:14 (73/83) Installing ffmpeg-libs (5.0.1-r1) 00:03:14 (74/83) Installing ffmpeg (5.0.1-r1) 00:03:14 (75/83) Installing udev-init-scripts (35-r0) 00:03:14 Executing udev-init-scripts-35-r0.post-install 00:03:14 (76/83) Installing eudev-libs (3.2.11-r0) 00:03:14 (77/83) Installing xz-libs (5.2.5-r1) 00:03:14 (78/83) Installing zstd-libs (1.5.2-r1) 00:03:14 (79/83) Installing kmod-libs (29-r2) 00:03:14 (80/83) Installing eudev (3.2.11-r0) 00:03:15 (81/83) Installing libsodium (1.0.18-r0) 00:03:15 (82/83) Installing libzmq (4.3.4-r0) 00:03:15 (83/83) Installing zeromq (4.3.4-r0) 00:03:15 Executing busybox-1.35.0-r17.trigger 00:03:15 Executing eudev-3.2.11-r0.trigger 00:03:15 OK: 101 MiB in 97 packages 00:03:17 Removing intermediate container 0a05758ff816 00:03:17 ---> f85e8fbebe39 00:03:17 Step 18/35 : WORKDIR / 00:03:17 ---> Running in 63daae3791c4 00:03:17 Removing intermediate container 63daae3791c4 00:03:17 ---> 30972de5331e 00:03:17 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:03:18 Commit message: "Merge pull request #76 from lenny-intel/go1.18-latest-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:03:18 ---> c9971db3785d 00:03:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:03:18 ---> c090102bd236 00:03:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:03:18 ---> 11d33761cbf6 00:03:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:03:18 ---> 483e7314879a 00:03:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:19 ---> fb1434a73381 00:03:19 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:03:19 ---> be106c4e463e 00:03:19 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:03:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:03:19 % Total % Received % Xferd Average Speed Time Time Time Current 00:03:19 Dload Upload Total Spent Left Speed 00:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 99451 0 --:--:-- --:--:-- --:--:-- 99451 [Pipeline] sh 00:03:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:03:20 ---> b2a9492524ab 00:03:20 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:03:20 ---> Running in bd94cf9b3d1e 00:03:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:03:20 + sudo tee /etc/docker/daemon.new 00:03:20 { 00:03:20 "registry-mirrors": [ 00:03:20 "https://nexus3.edgexfoundry.org:10001" 00:03:20 ], 00:03:20 "bip": "10.250.0.254/24", 00:03:20 "hosts": [ 00:03:20 "tcp://0.0.0.0:5555", 00:03:20 "unix:///var/run/docker.sock" 00:03:20 ], 00:03:20 "mtu": 1458, 00:03:20 "selinux-enabled": true, 00:03:20 "seccomp-profile": "/etc/docker/seccomp.json" 00:03:20 } [Pipeline] sh 00:03:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:03:21 Removing intermediate container bd94cf9b3d1e 00:03:21 ---> f914d4f50993 00:03:21 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:03:21 ---> Running in 43876260f886 00:03:21 + sudo service docker restart 00:03:22 Removing intermediate container 43876260f886 00:03:22 ---> fd4ef4ecaa23 00:03:22 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:03:22 ---> Running in 41dec2b978a2 00:03:23 Removing intermediate container 41dec2b978a2 00:03:23 ---> 1e5acd1714e2 00:03:23 Step 29/35 : EXPOSE 59983 00:03:23 ---> Running in 650546e7f004 00:03:23 Removing intermediate container 650546e7f004 00:03:23 ---> 7346349e8532 00:03:23 Step 30/35 : EXPOSE 8554 00:03:23 ---> Running in d84de015140a 00:03:23 Removing intermediate container d84de015140a 00:03:23 ---> 29d2d3261bbf 00:03:23 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:03:23 ---> Running in 4830568cabf9 00:03:23 Removing intermediate container 4830568cabf9 00:03:23 ---> a4c078ab9f91 00:03:23 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 00:03:23 ---> Running in 9a19b4fa657b 00:03:23 Removing intermediate container 9a19b4fa657b 00:03:23 ---> 9efe065e5f1d 00:03:23 Step 33/35 : LABEL arch=amd64 00:03:23 ---> Running in da902bdeb14b 00:03:23 Removing intermediate container da902bdeb14b 00:03:23 ---> a2f9a9c40866 00:03:23 Step 34/35 : LABEL git_sha=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:03:23 ---> Running in 7db6b228925d 00:03:23 Removing intermediate container 7db6b228925d 00:03:23 ---> 9f31d89e77ca 00:03:23 Step 35/35 : LABEL version=2.3.0-dev.1 00:03:23 ---> Running in a9c0d258e94e 00:03:23 Removing intermediate container a9c0d258e94e 00:03:23 ---> 75dbfe0fbac5 00:03:23 [Warning] One or more build-args [ARCH] were not consumed 00:03:23 Successfully built 75dbfe0fbac5 00:03:23 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:03:23 provisioning config files... 00:03:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5444840698905675090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:24 ---> docker-login.sh 00:03:24 nexus3.edgexfoundry.org:10001 00:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:24 Configure a credential helper to remove this warning. See 00:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:24 00:03:24 Login Succeeded 00:03:24 nexus3.edgexfoundry.org:10002 00:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:24 Configure a credential helper to remove this warning. See 00:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:24 00:03:24 Login Succeeded 00:03:24 nexus3.edgexfoundry.org:10003 00:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:24 Configure a credential helper to remove this warning. See 00:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:24 00:03:24 Login Succeeded 00:03:24 nexus3.edgexfoundry.org:10004 00:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:24 Configure a credential helper to remove this warning. See 00:03:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:24 00:03:24 Login Succeeded 00:03:24 docker.io 00:03:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:25 Configure a credential helper to remove this warning. See 00:03:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:25 00:03:25 Login Succeeded 00:03:25 ---> docker-login.sh ends [Pipeline] } 00:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:03:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:03:25 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:03:25 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:03:25 latest 00:03:25 2.3.0-dev.1 00:03:25 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:03:25 main 00:03:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:25 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:25 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:03:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:03:25 e7f971a2323b: Preparing 00:03:25 a8a9b84d17da: Preparing 00:03:25 6efc7d6d84a2: Preparing 00:03:25 550e596c6d0e: Preparing 00:03:25 1207169bf42c: Preparing 00:03:25 54eed571a6a6: Preparing 00:03:25 69b2b73122cd: Preparing 00:03:25 c4247ddab6e6: Preparing 00:03:25 334cfdab70cb: Preparing 00:03:25 58f54c3889e2: Preparing 00:03:25 c2801d5eb00a: Preparing 00:03:25 994393dc58e7: Preparing 00:03:25 69b2b73122cd: Waiting 00:03:25 c4247ddab6e6: Waiting 00:03:25 334cfdab70cb: Waiting 00:03:25 58f54c3889e2: Waiting 00:03:25 c2801d5eb00a: Waiting 00:03:25 994393dc58e7: Waiting 00:03:25 54eed571a6a6: Waiting 00:03:25 e7f971a2323b: Pushed 00:03:25 1207169bf42c: Pushed 00:03:25 a8a9b84d17da: Pushed 00:03:25 6efc7d6d84a2: Pushed 00:03:26 69b2b73122cd: Pushed 00:03:26 334cfdab70cb: Pushed 00:03:26 54eed571a6a6: Pushed 00:03:26 c4247ddab6e6: Pushed 00:03:26 994393dc58e7: Pushed 00:03:28 550e596c6d0e: Pushed 00:03:28 58f54c3889e2: Pushed 00:03:37 c2801d5eb00a: Pushed 00:03:37 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c: digest: sha256:db6998473cc719cfd7b391937383560ae3c998cb48db05cca9f77d74eb775158 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:03:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:03:37 e7f971a2323b: Preparing 00:03:37 a8a9b84d17da: Preparing 00:03:37 6efc7d6d84a2: Preparing 00:03:37 550e596c6d0e: Preparing 00:03:37 1207169bf42c: Preparing 00:03:37 54eed571a6a6: Preparing 00:03:37 69b2b73122cd: Preparing 00:03:37 c4247ddab6e6: Preparing 00:03:37 334cfdab70cb: Preparing 00:03:37 58f54c3889e2: Preparing 00:03:37 c2801d5eb00a: Preparing 00:03:37 994393dc58e7: Preparing 00:03:37 54eed571a6a6: Waiting 00:03:37 69b2b73122cd: Waiting 00:03:37 58f54c3889e2: Waiting 00:03:37 c4247ddab6e6: Waiting 00:03:37 334cfdab70cb: Waiting 00:03:37 c2801d5eb00a: Waiting 00:03:37 994393dc58e7: Waiting 00:03:37 e7f971a2323b: Layer already exists 00:03:37 1207169bf42c: Layer already exists 00:03:37 6efc7d6d84a2: Layer already exists 00:03:37 a8a9b84d17da: Layer already exists 00:03:37 550e596c6d0e: Layer already exists 00:03:37 69b2b73122cd: Layer already exists 00:03:37 54eed571a6a6: Layer already exists 00:03:37 c4247ddab6e6: Layer already exists 00:03:37 334cfdab70cb: Layer already exists 00:03:37 58f54c3889e2: Layer already exists 00:03:37 c2801d5eb00a: Layer already exists 00:03:37 994393dc58e7: Layer already exists 00:03:37 latest: digest: sha256:db6998473cc719cfd7b391937383560ae3c998cb48db05cca9f77d74eb775158 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.1 00:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:03:38 e7f971a2323b: Preparing 00:03:38 a8a9b84d17da: Preparing 00:03:38 6efc7d6d84a2: Preparing 00:03:38 550e596c6d0e: Preparing 00:03:38 1207169bf42c: Preparing 00:03:38 54eed571a6a6: Preparing 00:03:38 69b2b73122cd: Preparing 00:03:38 c4247ddab6e6: Preparing 00:03:38 334cfdab70cb: Preparing 00:03:38 58f54c3889e2: Preparing 00:03:38 c2801d5eb00a: Preparing 00:03:38 994393dc58e7: Preparing 00:03:38 334cfdab70cb: Waiting 00:03:38 58f54c3889e2: Waiting 00:03:38 994393dc58e7: Waiting 00:03:38 c2801d5eb00a: Waiting 00:03:38 54eed571a6a6: Waiting 00:03:38 69b2b73122cd: Waiting 00:03:38 c4247ddab6e6: Waiting 00:03:38 a8a9b84d17da: Layer already exists 00:03:38 e7f971a2323b: Layer already exists 00:03:38 1207169bf42c: Layer already exists 00:03:38 550e596c6d0e: Layer already exists 00:03:38 6efc7d6d84a2: Layer already exists 00:03:38 334cfdab70cb: Layer already exists 00:03:38 54eed571a6a6: Layer already exists 00:03:38 69b2b73122cd: Layer already exists 00:03:38 c4247ddab6e6: Layer already exists 00:03:38 58f54c3889e2: Layer already exists 00:03:38 c2801d5eb00a: Layer already exists 00:03:38 994393dc58e7: Layer already exists 00:03:38 2.3.0-dev.1: digest: sha256:db6998473cc719cfd7b391937383560ae3c998cb48db05cca9f77d74eb775158 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:03:38 e7f971a2323b: Preparing 00:03:38 a8a9b84d17da: Preparing 00:03:38 6efc7d6d84a2: Preparing 00:03:38 550e596c6d0e: Preparing 00:03:38 1207169bf42c: Preparing 00:03:38 54eed571a6a6: Preparing 00:03:38 69b2b73122cd: Preparing 00:03:38 c4247ddab6e6: Preparing 00:03:38 334cfdab70cb: Preparing 00:03:38 58f54c3889e2: Preparing 00:03:38 c2801d5eb00a: Preparing 00:03:38 994393dc58e7: Preparing 00:03:38 69b2b73122cd: Waiting 00:03:38 c4247ddab6e6: Waiting 00:03:38 334cfdab70cb: Waiting 00:03:38 58f54c3889e2: Waiting 00:03:38 994393dc58e7: Waiting 00:03:38 54eed571a6a6: Waiting 00:03:38 c2801d5eb00a: Waiting 00:03:38 a8a9b84d17da: Layer already exists 00:03:38 e7f971a2323b: Layer already exists 00:03:38 6efc7d6d84a2: Layer already exists 00:03:38 1207169bf42c: Layer already exists 00:03:38 550e596c6d0e: Layer already exists 00:03:38 54eed571a6a6: Layer already exists 00:03:38 58f54c3889e2: Layer already exists 00:03:38 c4247ddab6e6: Layer already exists 00:03:38 c2801d5eb00a: Layer already exists 00:03:38 69b2b73122cd: Layer already exists 00:03:38 334cfdab70cb: Layer already exists 00:03:38 994393dc58e7: Layer already exists 00:03:38 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1: digest: sha256:db6998473cc719cfd7b391937383560ae3c998cb48db05cca9f77d74eb775158 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:39 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:03:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:03:39 e7f971a2323b: Preparing 00:03:39 a8a9b84d17da: Preparing 00:03:39 6efc7d6d84a2: Preparing 00:03:39 550e596c6d0e: Preparing 00:03:39 1207169bf42c: Preparing 00:03:39 54eed571a6a6: Preparing 00:03:39 69b2b73122cd: Preparing 00:03:39 c4247ddab6e6: Preparing 00:03:39 334cfdab70cb: Preparing 00:03:39 58f54c3889e2: Preparing 00:03:39 c2801d5eb00a: Preparing 00:03:39 994393dc58e7: Preparing 00:03:39 334cfdab70cb: Waiting 00:03:39 69b2b73122cd: Waiting 00:03:39 54eed571a6a6: Waiting 00:03:39 58f54c3889e2: Waiting 00:03:39 c4247ddab6e6: Waiting 00:03:39 994393dc58e7: Waiting 00:03:39 c2801d5eb00a: Waiting 00:03:39 6efc7d6d84a2: Layer already exists 00:03:39 1207169bf42c: Layer already exists 00:03:39 550e596c6d0e: Layer already exists 00:03:39 a8a9b84d17da: Layer already exists 00:03:39 e7f971a2323b: Layer already exists 00:03:39 54eed571a6a6: Layer already exists 00:03:39 69b2b73122cd: Layer already exists 00:03:39 58f54c3889e2: Layer already exists 00:03:39 334cfdab70cb: Layer already exists 00:03:39 c4247ddab6e6: Layer already exists 00:03:39 c2801d5eb00a: Layer already exists 00:03:39 994393dc58e7: Layer already exists 00:03:39 main: digest: sha256:db6998473cc719cfd7b391937383560ae3c998cb48db05cca9f77d74eb775158 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:03:39 ===================================================== [Pipeline] echo 00:03:39 taggedImages: 00:03:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:03:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:03:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.1 00:03:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:03:39 - 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] withEnv [Pipeline] { [Pipeline] configFileProvider 00:03:39 provisioning config files... [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/40@tmp/config3332418590253854616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:40 00:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:40 ---> docker-login.sh 00:03:40 nexus3.edgexfoundry.org:10001 00:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:40 latest: Pulling from edgex-lftools-log-publisher 00:03:40 5eb5b503b376: Pulling fs layer 00:03:40 5c69ac0246d0: Pulling fs layer 00:03:40 ec43610c2a17: Pulling fs layer 00:03:40 3a2ae6a8a46f: Pulling fs layer 00:03:40 33b1e0a273af: Pulling fs layer 00:03:40 5d3b04190fa2: Pulling fs layer 00:03:40 2f39f015ded8: Pulling fs layer 00:03:40 3a2ae6a8a46f: Waiting 00:03:40 5d3b04190fa2: Waiting 00:03:40 5c69ac0246d0: Verifying Checksum 00:03:40 5c69ac0246d0: Download complete 00:03:40 3a2ae6a8a46f: Verifying Checksum 00:03:40 3a2ae6a8a46f: Download complete 00:03:40 33b1e0a273af: Verifying Checksum 00:03:40 33b1e0a273af: Download complete 00:03:40 5d3b04190fa2: Download complete 00:03:40 ec43610c2a17: Verifying Checksum 00:03:40 ec43610c2a17: Download complete 00:03:40 5eb5b503b376: Verifying Checksum 00:03:40 5eb5b503b376: Download complete 00:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:41 Configure a credential helper to remove this warning. See 00:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:41 00:03:41 Login Succeeded 00:03:41 nexus3.edgexfoundry.org:10002 00:03:41 2f39f015ded8: Verifying Checksum 00:03:41 2f39f015ded8: Download complete 00:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:41 Configure a credential helper to remove this warning. See 00:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:41 00:03:41 Login Succeeded 00:03:41 nexus3.edgexfoundry.org:10003 00:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:41 Configure a credential helper to remove this warning. See 00:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:41 00:03:41 Login Succeeded 00:03:41 nexus3.edgexfoundry.org:10004 00:03:42 5eb5b503b376: Pull complete 00:03:42 5c69ac0246d0: Pull complete 00:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:42 Configure a credential helper to remove this warning. See 00:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:42 00:03:42 Login Succeeded 00:03:42 docker.io 00:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:03:42 ec43610c2a17: Pull complete 00:03:42 3a2ae6a8a46f: Pull complete 00:03:42 33b1e0a273af: Pull complete 00:03:43 5d3b04190fa2: Pull complete 00:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:03:43 Configure a credential helper to remove this warning. See 00:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:03:43 00:03:43 Login Succeeded 00:03:43 ---> docker-login.sh ends [Pipeline] } 00:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:03:43 ========================================================= 00:03:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:03:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:03:44 Sending build context to Docker daemon 532kB 00:03:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:03:44 Step 2/13 : FROM ${BASE} AS builder 00:03:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:03:46 b3c136eddcbf: Pulling fs layer 00:03:46 c0a3192eca97: Pulling fs layer 00:03:46 a050256f5b6f: Pulling fs layer 00:03:46 656be50a0ddc: Pulling fs layer 00:03:46 2bbca73fdf42: Pulling fs layer 00:03:46 46d945488cbd: Pulling fs layer 00:03:46 8a5474983e97: Pulling fs layer 00:03:46 329c88fbcd65: Pulling fs layer 00:03:46 656be50a0ddc: Waiting 00:03:46 2bbca73fdf42: Waiting 00:03:46 46d945488cbd: Waiting 00:03:46 329c88fbcd65: Waiting 00:03:46 8a5474983e97: Waiting 00:03:46 a050256f5b6f: Download complete 00:03:46 c0a3192eca97: Verifying Checksum 00:03:46 c0a3192eca97: Download complete 00:03:46 2bbca73fdf42: Verifying Checksum 00:03:46 2bbca73fdf42: Download complete 00:03:46 46d945488cbd: Verifying Checksum 00:03:46 46d945488cbd: Download complete 00:03:46 b3c136eddcbf: Download complete 00:03:46 b3c136eddcbf: Pull complete 00:03:46 329c88fbcd65: Verifying Checksum 00:03:46 329c88fbcd65: Download complete 00:03:47 c0a3192eca97: Pull complete 00:03:47 a050256f5b6f: Pull complete 00:03:48 8a5474983e97: Verifying Checksum 00:03:48 8a5474983e97: Download complete 00:03:48 2f39f015ded8: Pull complete 00:03:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:03:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:48 656be50a0ddc: Verifying Checksum 00:03:48 656be50a0ddc: Download complete 00:03:48 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:03:51 $ docker top 799f1e377ba8fb894c2dfc479d4b050dd57ba22df25e728a2f17b497633cc4c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:51 ---> job-cost.sh 00:03:51 lf-activate-venv: SKIPPING 00:03:51 INFO: No Stack... 00:03:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:03:52 INFO: Archiving Costs [Pipeline] sh 00:03:52 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:03:52 + cut -d, -f6 [Pipeline] lock 00:03:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] 00:03:52 Resource [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] did not exist. Created. 00:03:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:03:53 + echo total: 0.2199999988079071 [Pipeline] stash 00:03:53 Stashed 1 file(s) [Pipeline] } 00:03:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 00:03:53 $ docker stop --time=1 799f1e377ba8fb894c2dfc479d4b050dd57ba22df25e728a2f17b497633cc4c1 00:03:54 $ docker rm -f 799f1e377ba8fb894c2dfc479d4b050dd57ba22df25e728a2f17b497633cc4c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:04:03 656be50a0ddc: Pull complete 00:04:03 2bbca73fdf42: Pull complete 00:04:03 46d945488cbd: Pull complete 00:04:09 8a5474983e97: Pull complete 00:04:10 329c88fbcd65: Pull complete 00:04:10 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:04:10 ---> ff4287adb874 00:04:10 Step 3/13 : ARG MAKE="make build" 00:04:11 ---> Running in 7338e9e6ae00 00:04:11 Removing intermediate container 7338e9e6ae00 00:04:11 ---> c1c9eeedc566 00:04:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:04:12 ---> Running in 023cbcf250b8 00:04:12 Removing intermediate container 023cbcf250b8 00:04:12 ---> 678db636ce52 00:04:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:04:12 ---> Running in e0fbd1be86c0 00:04:13 Removing intermediate container e0fbd1be86c0 00:04:13 ---> e286e323ced4 00:04:13 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:13 ---> Running in 8663d18935de 00:04:16 Removing intermediate container 8663d18935de 00:04:16 ---> 8a073dd194d3 00:04:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:16 ---> Running in ff3243b1ebc3 00:04:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:04:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:04:19 (1/14) Installing libintl (0.21-r2) 00:04:19 (2/14) Installing eudev-libs (3.2.11-r0) 00:04:19 (3/14) Installing libjpeg-turbo (2.1.3-r1) 00:04:19 (4/14) Installing v4l-utils-libs (1.22.1-r1) 00:04:19 (5/14) Installing v4l-utils (1.22.1-r1) 00:04:19 (6/14) Installing udev-init-scripts (35-r0) 00:04:19 Executing udev-init-scripts-35-r0.post-install 00:04:19 (7/14) Installing libblkid (2.38-r1) 00:04:19 (8/14) Installing xz-libs (5.2.5-r1) 00:04:19 (9/14) Installing zstd-libs (1.5.2-r1) 00:04:20 (10/14) Installing kmod-libs (29-r2) 00:04:20 (11/14) Installing eudev (3.2.11-r0) 00:04:20 (12/14) Installing eudev-dev (3.2.11-r0) 00:04:20 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 00:04:20 (14/14) Installing v4l-utils-dev (1.22.1-r1) 00:04:20 Executing busybox-1.35.0-r13.trigger 00:04:20 Executing eudev-3.2.11-r0.trigger 00:04:20 OK: 228 MiB in 65 packages 00:04:22 Removing intermediate container ff3243b1ebc3 00:04:22 ---> a6d068f74335 00:04:22 Step 8/13 : WORKDIR /device-usb-camera 00:04:22 ---> Running in d2b3cf833418 00:04:22 Removing intermediate container d2b3cf833418 00:04:22 ---> a0726f63cadf 00:04:22 Step 9/13 : COPY go.mod vendor* ./ 00:04:22 ---> 142810183bb8 00:04:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:23 ---> Running in 03305f12b65d 00:05:19 Removing intermediate container 03305f12b65d 00:05:19 ---> e28b4ff406f0 00:05:19 Step 11/13 : COPY . . 00:05:19 ---> 1c37c76b0fcc 00:05:19 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:05:19 ---> Running in 442b16b1fe7b 00:05:19  % Total % Received % Xferd Average Speed Time Time Time Current 00:05:19 Dload Upload Total Spent Left Speed 00:05:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14856 0 --:--:-- --:--:-- --:--:-- 14957 00:05:19 Removing intermediate container 442b16b1fe7b 00:05:19 ---> 3e0f22872845 00:05:19 Step 13/13 : RUN ${MAKE} 00:05:19 ---> Running in 28de85eb1e19 00:05:19 noop 00:05:19 Removing intermediate container 28de85eb1e19 00:05:19 ---> b4e67637b2db 00:05:19 Successfully built b4e67637b2db 00:05:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:20 + docker inspect -f . ci-base-image-arm64 00:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:20 prd-ubuntu20.04-docker-arm64-4c-16g-22351 does not seem to be running inside a container 00:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/40 -v /w/workspace/device-usb-camera/40:/w/workspace/device-usb-camera/40:rw,z -v /w/workspace/device-usb-camera/40@tmp:/w/workspace/device-usb-camera/40@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:05:21 $ docker top b9aaee8427674387481b8f94b0c768d04b2192b7f7132d1a77a3c00d69c20048 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:22 + go version 00:05:22 go version go1.18.3 linux/arm64 [Pipeline] } 00:05:22 $ docker stop --time=1 b9aaee8427674387481b8f94b0c768d04b2192b7f7132d1a77a3c00d69c20048 00:05:24 $ docker rm -f b9aaee8427674387481b8f94b0c768d04b2192b7f7132d1a77a3c00d69c20048 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:25 + docker inspect -f . ci-base-image-arm64 00:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:25 prd-ubuntu20.04-docker-arm64-4c-16g-22351 does not seem to be running inside a container 00:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/40 -v /w/workspace/device-usb-camera/40:/w/workspace/device-usb-camera/40:rw,z -v /w/workspace/device-usb-camera/40@tmp:/w/workspace/device-usb-camera/40@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:05:26 $ docker top 84cb316fd713062d454be79d43107a22de6835c3963791545a92a4f5888ce8ed -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:27 + git config --global --add safe.directory /w/workspace/device-usb-camera/40 [Pipeline] fileExists [Pipeline] sh 00:05:28 + make test 00:05:28 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 00:05:29 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:07:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:07:06 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.068s coverage: 1.9% of statements 00:07:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:07:06 CGO_ENABLED=1 go vet ./... 00:07:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:07:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:07:25 ./bin/test-attribution-txt.sh [Pipeline] echo 00:07:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:07:25 $ docker stop --time=1 84cb316fd713062d454be79d43107a22de6835c3963791545a92a4f5888ce8ed 00:07:27 $ docker rm -f 84cb316fd713062d454be79d43107a22de6835c3963791545a92a4f5888ce8ed [Pipeline] // withDockerContainer [Pipeline] sh 00:07:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:07:28 Warning: overwriting stash ‘coverage-report’ 00:07:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:07:29 + ls -al . 00:07:29 total 196 00:07:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:05 . 00:07:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:03 .. 00:07:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 00:03 .git 00:07:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:03 .github 00:07:29 -rw-rw-r-- 1 jenkins jenkins 414 Aug 10 00:03 .gitignore 00:07:29 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 00:03 .golangci.yml 00:07:29 -rw-rw-r-- 1 jenkins jenkins 77 Aug 10 00:03 .hadolint.yml 00:07:29 -rw-rw-r-- 1 jenkins jenkins 9569 Aug 10 00:03 Attribution.txt 00:07:29 -rw-rw-r-- 1 jenkins jenkins 1206 Aug 10 00:03 CHANGELOG.md 00:07:29 -rw-rw-r-- 1 jenkins jenkins 2410 Aug 10 00:03 Dockerfile 00:07:29 -rw-rw-r-- 1 jenkins jenkins 678 Aug 10 00:03 GOVERNANCE.md 00:07:29 -rw-rw-r-- 1 jenkins jenkins 659 Aug 10 00:03 Jenkinsfile 00:07:29 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 00:03 LICENSE 00:07:29 -rw-rw-r-- 1 jenkins jenkins 2345 Aug 10 00:03 Makefile 00:07:29 -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 00:03 OWNERS.md 00:07:29 -rw-rw-r-- 1 jenkins jenkins 12817 Aug 10 00:03 README.md 00:07:29 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 00:01 VERSION 00:07:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 00:03 bin 00:07:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:03 cmd 00:07:29 -rw-r--r-- 1 jenkins jenkins 29387 Aug 10 00:07 coverage.out 00:07:29 -rwxrwxr-x 1 jenkins jenkins 140 Aug 10 00:03 docker-entrypoint.sh 00:07:29 -rw-rw-r-- 1 jenkins jenkins 3606 Aug 10 00:03 go.mod 00:07:29 -rw-rw-r-- 1 jenkins jenkins 37073 Aug 10 00:03 go.sum 00:07:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 00:03 internal 00:07:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 00:03 snap 00:07:29 -rw-rw-r-- 1 jenkins jenkins 231 Aug 10 00:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:29 + 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=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c --label arch=arm64 --label version=2.3.0-dev.1 . 00:07:30 Sending build context to Docker daemon 562.2kB 00:07:30 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 00:07:30 Step 2/35 : FROM ${BASE} AS builder 00:07:30 ---> b4e67637b2db 00:07:30 Step 3/35 : ARG MAKE="make build" 00:07:30 ---> Running in 3211d6781e31 00:07:30 Removing intermediate container 3211d6781e31 00:07:30 ---> 22225e937522 00:07:30 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 00:07:30 ---> Running in 253c698bb533 00:07:30 Removing intermediate container 253c698bb533 00:07:30 ---> 7fdf10827198 00:07:30 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:07:31 ---> Running in 2a545684d056 00:07:31 Removing intermediate container 2a545684d056 00:07:31 ---> 6c978be58014 00:07:31 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:07:31 ---> Running in 6591b205d8f3 00:07:32 Removing intermediate container 6591b205d8f3 00:07:32 ---> d342af1c32c6 00:07:32 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:33 ---> Running in 90f3f7311c1c 00:07:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:07:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:07:35 OK: 228 MiB in 65 packages 00:07:36 Removing intermediate container 90f3f7311c1c 00:07:36 ---> 34ff6e6a77f4 00:07:36 Step 8/35 : WORKDIR /device-usb-camera 00:07:36 ---> Running in f7ca9c53a090 00:07:36 Removing intermediate container f7ca9c53a090 00:07:36 ---> cb74130942fd 00:07:36 Step 9/35 : COPY go.mod vendor* ./ 00:07:37 ---> bbf8aad27124 00:07:37 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:37 ---> Running in 549e433d3b9d 00:07:39 Removing intermediate container 549e433d3b9d 00:07:39 ---> afb3df7079f6 00:07:39 Step 11/35 : COPY . . 00:07:40 ---> 54801ef5a2a8 00:07:40 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:07:40 ---> Running in 526c03e6c8b6 00:07:41  % Total % Received % Xferd Average Speed Time Time Time Current 00:07:41 Dload Upload  Total Spent Left Speed 00:07:41 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7612 0 --:--:-- --:--:-- --:--:-- 7640 00:07:42 Removing intermediate container 526c03e6c8b6 00:07:42 ---> 45323ed01e59 00:07:42 Step 13/35 : RUN ${MAKE} 00:07:42 ---> Running in b046a8d77947 00:07:43 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 00:10:05 Removing intermediate container b046a8d77947 00:10:05 ---> b3a34550a585 00:10:05 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 00:10:05 v0.18.4: Pulling from aler9/rtsp-simple-server 00:10:05 eab2503cf8f4: Pulling fs layer 00:10:05 97cd0a44c592: Pulling fs layer 00:10:05 97cd0a44c592: Download complete 00:10:05 eab2503cf8f4: Verifying Checksum 00:10:05 eab2503cf8f4: Download complete 00:10:05 eab2503cf8f4: Pull complete 00:10:05 97cd0a44c592: Pull complete 00:10:05 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 00:10:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 00:10:05 ---> 7f763cca56b3 00:10:05 Step 15/35 : FROM alpine:3.16 00:10:05 3.16: Pulling from library/alpine 00:10:06 9b18e9b68314: Pulling fs layer 00:10:06 9b18e9b68314: Verifying Checksum 00:10:06 9b18e9b68314: Download complete 00:10:06 9b18e9b68314: Pull complete 00:10:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:10:06 Status: Downloaded newer image for alpine:3.16 00:10:06 ---> a6215f271958 00:10:06 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:10:06 ---> Running in 4d51a3ed7cf1 00:10:07 Removing intermediate container 4d51a3ed7cf1 00:10:07 ---> 4476fff64c5c 00:10:07 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 00:10:07 ---> Running in f7a52606fdec 00:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:10:09 (1/82) Installing dumb-init (1.2.5-r1) 00:10:09 (2/82) Installing sdl2 (2.0.22-r0) 00:10:09 (3/82) Installing libxau (1.0.9-r0) 00:10:09 (4/82) Installing libxdmcp (1.1.3-r0) 00:10:09 (5/82) Installing libxcb (1.15-r0) 00:10:09 (6/82) Installing libx11 (1.8-r0) 00:10:10 (7/82) Installing aom-libs (3.3.0-r0) 00:10:10 (8/82) Installing alsa-lib (1.2.7.2-r0) 00:10:10 (9/82) Installing expat (2.4.8-r0) 00:10:10 (10/82) Installing brotli-libs (1.0.9-r6) 00:10:10 (11/82) Installing libbz2 (1.0.8-r1) 00:10:10 (12/82) Installing libpng (1.6.37-r1) 00:10:10 (13/82) Installing freetype (2.12.1-r0) 00:10:10 (14/82) Installing fontconfig (2.14.0-r0) 00:10:10 (15/82) Installing fribidi (1.0.12-r0) 00:10:10 (16/82) Installing libffi (3.4.2-r1) 00:10:10 (17/82) Installing libintl (0.21-r2) 00:10:10 (18/82) Installing libblkid (2.38-r1) 00:10:10 (19/82) Installing libmount (2.38-r1) 00:10:10 (20/82) Installing pcre (8.45-r2) 00:10:10 (21/82) Installing glib (2.72.1-r0) 00:10:10 (22/82) Installing graphite2 (1.3.14-r1) 00:10:10 (23/82) Installing harfbuzz (4.3.0-r0) 00:10:10 (24/82) Installing libass (0.16.0-r0) 00:10:10 (25/82) Installing libdav1d (1.0.0-r0) 00:10:10 (26/82) Installing libdrm (2.4.110-r0) 00:10:10 (27/82) Installing gmp (6.2.1-r2) 00:10:10 (28/82) Installing nettle (3.7.3-r0) 00:10:10 (29/82) Installing p11-kit (0.24.1-r0) 00:10:10 (30/82) Installing libtasn1 (4.18.0-r0) 00:10:10 (31/82) Installing libunistring (1.0-r0) 00:10:10 (32/82) Installing gnutls (3.7.7-r0) 00:10:10 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 00:10:10 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 00:10:10 (35/82) Installing lame (3.100-r0) 00:10:10 (36/82) Installing opus (1.3.1-r1) 00:10:10 (37/82) Installing libasyncns (0.8-r1) 00:10:10 (38/82) Installing dbus-libs (1.14.0-r1) 00:10:10 (39/82) Installing libltdl (2.4.7-r0) 00:10:10 (40/82) Installing orc (0.4.32-r0) 00:10:10 (41/82) Installing libgcc (11.2.1_git20220219-r2) 00:10:10 (42/82) Installing libogg (1.3.5-r1) 00:10:10 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 00:10:10 (44/82) Installing flac (1.3.4-r0) 00:10:10 (45/82) Installing libvorbis (1.3.7-r0) 00:10:10 (46/82) Installing libsndfile (1.1.0-r0) 00:10:10 (47/82) Installing libgomp (11.2.1_git20220219-r2) 00:10:10 (48/82) Installing soxr (0.1.3-r2) 00:10:10 (49/82) Installing speexdsp (1.2.0-r0) 00:10:10 (50/82) Installing tdb-libs (1.4.6-r0) 00:10:11 (51/82) Installing libpulse (15.0-r2) 00:10:11 (52/82) Installing cjson (1.7.15-r3) 00:10:11 (53/82) Installing mbedtls (2.28.1-r0) 00:10:11 (54/82) Installing librist (0.2.6-r1) 00:10:11 (55/82) Installing libsrt (1.4.4-r0) 00:10:11 (56/82) Installing libssh (0.9.6-r1) 00:10:11 (57/82) Installing libtheora (1.1.1-r16) 00:10:11 (58/82) Installing libjpeg-turbo (2.1.3-r1) 00:10:11 (59/82) Installing v4l-utils-libs (1.22.1-r1) 00:10:11 (60/82) Installing libxext (1.3.4-r0) 00:10:11 (61/82) Installing libxfixes (6.0.0-r0) 00:10:11 (62/82) Installing wayland-libs-client (1.20.0-r0) 00:10:11 (63/82) Installing libva (2.14.0-r0) 00:10:11 (64/82) Installing libvdpau (1.5-r0) 00:10:11 (65/82) Installing vidstab (1.1.0-r1) 00:10:11 (66/82) Installing libvpx (1.11.0-r1) 00:10:11 (67/82) Installing libwebp (1.2.3-r0) 00:10:11 (68/82) Installing x264-libs (0.163_git20210613-r0) 00:10:11 (69/82) Installing numactl (2.0.14-r0) 00:10:11 (70/82) Installing x265-libs (3.5-r3) 00:10:11 (71/82) Installing xvidcore (1.3.7-r1) 00:10:11 (72/82) Installing ffmpeg-libs (5.0.1-r1) 00:10:11 (73/82) Installing ffmpeg (5.0.1-r1) 00:10:11 (74/82) Installing udev-init-scripts (35-r0) 00:10:11 Executing udev-init-scripts-35-r0.post-install 00:10:11 (75/82) Installing eudev-libs (3.2.11-r0) 00:10:11 (76/82) Installing xz-libs (5.2.5-r1) 00:10:11 (77/82) Installing zstd-libs (1.5.2-r1) 00:10:11 (78/82) Installing kmod-libs (29-r2) 00:10:11 (79/82) Installing eudev (3.2.11-r0) 00:10:11 (80/82) Installing libsodium (1.0.18-r0) 00:10:11 (81/82) Installing libzmq (4.3.4-r0) 00:10:11 (82/82) Installing zeromq (4.3.4-r0) 00:10:11 Executing busybox-1.35.0-r17.trigger 00:10:12 Executing eudev-3.2.11-r0.trigger 00:10:12 OK: 78 MiB in 96 packages 00:10:15 Removing intermediate container f7a52606fdec 00:10:15 ---> a281b5b4eb79 00:10:15 Step 18/35 : WORKDIR / 00:10:15 ---> Running in 0e75642c4da9 00:10:15 Removing intermediate container 0e75642c4da9 00:10:15 ---> 431c82262156 00:10:15 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:10:17 ---> e1be7d7d9156 00:10:17 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:10:17 ---> 9ba25f68a8f6 00:10:17 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:10:18 ---> 0d35905fb473 00:10:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:10:18 ---> 96f6c7b639f2 00:10:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:10:19 ---> ba481de1cbe7 00:10:19 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:10:20 ---> 645a21a33dfd 00:10:20 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:10:21 ---> fc33041b14f1 00:10:21 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:10:21 ---> Running in a0ea9e32b358 00:10:23 Removing intermediate container a0ea9e32b358 00:10:23 ---> 70d3de882ba8 00:10:23 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:10:23 ---> Running in f1154232f1c8 00:10:24 Removing intermediate container f1154232f1c8 00:10:24 ---> df30d2a526dd 00:10:24 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:10:24 ---> Running in 134016f107c2 00:10:26 Removing intermediate container 134016f107c2 00:10:26 ---> 5bb51dc5d9f8 00:10:26 Step 29/35 : EXPOSE 59983 00:10:26 ---> Running in f7b8d3c74784 00:10:26 Removing intermediate container f7b8d3c74784 00:10:27 ---> 61deb7590b21 00:10:27 Step 30/35 : EXPOSE 8554 00:10:27 ---> Running in 7152dadbdbe1 00:10:27 Removing intermediate container 7152dadbdbe1 00:10:27 ---> eb4edcc2cde2 00:10:27 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:10:27 ---> Running in ab1b6d5d4629 00:10:27 Removing intermediate container ab1b6d5d4629 00:10:27 ---> 10ea2b607f7c 00:10:27 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 00:10:27 ---> Running in 69e23d1062fc 00:10:28 Removing intermediate container 69e23d1062fc 00:10:28 ---> e7f764e46245 00:10:28 Step 33/35 : LABEL arch=arm64 00:10:28 ---> Running in 6294e1a53d5f 00:10:28 Removing intermediate container 6294e1a53d5f 00:10:28 ---> 9278db9555d2 00:10:28 Step 34/35 : LABEL git_sha=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:10:28 ---> Running in cb64d99e4099 00:10:29 Removing intermediate container cb64d99e4099 00:10:29 ---> fff9f79e1164 00:10:29 Step 35/35 : LABEL version=2.3.0-dev.1 00:10:29 ---> Running in 9302389a95ba 00:10:29 Removing intermediate container 9302389a95ba 00:10:29 ---> ab973959d1ec 00:10:29 [Warning] One or more build-args [ARCH] were not consumed 00:10:29 Successfully built ab973959d1ec 00:10:29 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:10:29 provisioning config files... 00:10:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/40@tmp/config7475893556198034832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:29 ---> docker-login.sh 00:10:29 nexus3.edgexfoundry.org:10001 00:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:30 Configure a credential helper to remove this warning. See 00:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:30 00:10:30 Login Succeeded 00:10:30 nexus3.edgexfoundry.org:10002 00:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:30 Configure a credential helper to remove this warning. See 00:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:30 00:10:30 Login Succeeded 00:10:30 nexus3.edgexfoundry.org:10003 00:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:31 Configure a credential helper to remove this warning. See 00:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:31 00:10:31 Login Succeeded 00:10:31 nexus3.edgexfoundry.org:10004 00:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:31 Configure a credential helper to remove this warning. See 00:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:31 00:10:31 Login Succeeded 00:10:31 docker.io 00:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:10:32 Configure a credential helper to remove this warning. See 00:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:10:32 00:10:32 Login Succeeded 00:10:32 ---> docker-login.sh ends [Pipeline] } 00:10:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:10:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:10:32 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:10:32 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:10:32 latest 00:10:32 2.3.0-dev.1 00:10:32 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:10:32 main 00:10:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:33 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:10:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:10:33 d10b9ffa2fcb: Preparing 00:10:33 a8d56f1a58fb: Preparing 00:10:33 2a82010f8065: Preparing 00:10:33 a43932d1df72: Preparing 00:10:33 1207169bf42c: Preparing 00:10:33 ef6f2c67162b: Preparing 00:10:33 de494a02c547: Preparing 00:10:33 4cb13804d3ae: Preparing 00:10:33 97120ea23236: Preparing 00:10:33 63d448ee49a0: Preparing 00:10:33 d290cf7fefe5: Preparing 00:10:33 5d3e392a13a0: Preparing 00:10:33 ef6f2c67162b: Waiting 00:10:33 de494a02c547: Waiting 00:10:33 97120ea23236: Waiting 00:10:33 4cb13804d3ae: Waiting 00:10:33 63d448ee49a0: Waiting 00:10:33 d290cf7fefe5: Waiting 00:10:33 5d3e392a13a0: Waiting 00:10:33 a8d56f1a58fb: Pushed 00:10:33 1207169bf42c: Pushed 00:10:33 2a82010f8065: Pushed 00:10:33 d10b9ffa2fcb: Pushed 00:10:34 de494a02c547: Pushed 00:10:34 4cb13804d3ae: Pushed 00:10:34 97120ea23236: Pushed 00:10:34 ef6f2c67162b: Pushed 00:10:35 5d3e392a13a0: Pushed 00:10:38 a43932d1df72: Pushed 00:10:40 63d448ee49a0: Pushed 00:10:52 d290cf7fefe5: Pushed 00:10:52 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c: digest: sha256:ccca48994aa828a32bafee3fc34a9efa0fa89f5f26deae5cf2abae560aec85b6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:52 + 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:10:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:10:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:10:53 d10b9ffa2fcb: Preparing 00:10:53 a8d56f1a58fb: Preparing 00:10:53 2a82010f8065: Preparing 00:10:53 a43932d1df72: Preparing 00:10:53 1207169bf42c: Preparing 00:10:53 ef6f2c67162b: Preparing 00:10:53 de494a02c547: Preparing 00:10:53 4cb13804d3ae: Preparing 00:10:53 97120ea23236: Preparing 00:10:53 63d448ee49a0: Preparing 00:10:53 d290cf7fefe5: Preparing 00:10:53 5d3e392a13a0: Preparing 00:10:53 4cb13804d3ae: Waiting 00:10:53 97120ea23236: Waiting 00:10:53 63d448ee49a0: Waiting 00:10:53 ef6f2c67162b: Waiting 00:10:53 de494a02c547: Waiting 00:10:53 5d3e392a13a0: Waiting 00:10:53 d290cf7fefe5: Waiting 00:10:53 d10b9ffa2fcb: Layer already exists 00:10:53 a8d56f1a58fb: Layer already exists 00:10:53 a43932d1df72: Layer already exists 00:10:53 2a82010f8065: Layer already exists 00:10:53 1207169bf42c: Layer already exists 00:10:53 4cb13804d3ae: Layer already exists 00:10:53 de494a02c547: Layer already exists 00:10:53 ef6f2c67162b: Layer already exists 00:10:53 63d448ee49a0: Layer already exists 00:10:53 97120ea23236: Layer already exists 00:10:53 d290cf7fefe5: Layer already exists 00:10:53 5d3e392a13a0: Layer already exists 00:10:53 latest: digest: sha256:ccca48994aa828a32bafee3fc34a9efa0fa89f5f26deae5cf2abae560aec85b6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:54 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.1 00:10:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:10:54 d10b9ffa2fcb: Preparing 00:10:54 a8d56f1a58fb: Preparing 00:10:54 2a82010f8065: Preparing 00:10:54 a43932d1df72: Preparing 00:10:54 1207169bf42c: Preparing 00:10:54 ef6f2c67162b: Preparing 00:10:54 de494a02c547: Preparing 00:10:54 4cb13804d3ae: Preparing 00:10:54 97120ea23236: Preparing 00:10:54 63d448ee49a0: Preparing 00:10:54 d290cf7fefe5: Preparing 00:10:54 5d3e392a13a0: Preparing 00:10:54 4cb13804d3ae: Waiting 00:10:54 97120ea23236: Waiting 00:10:54 63d448ee49a0: Waiting 00:10:54 d290cf7fefe5: Waiting 00:10:54 5d3e392a13a0: Waiting 00:10:54 ef6f2c67162b: Waiting 00:10:54 de494a02c547: Waiting 00:10:54 a8d56f1a58fb: Layer already exists 00:10:54 a43932d1df72: Layer already exists 00:10:54 d10b9ffa2fcb: Layer already exists 00:10:54 1207169bf42c: Layer already exists 00:10:54 2a82010f8065: Layer already exists 00:10:54 ef6f2c67162b: Layer already exists 00:10:54 4cb13804d3ae: Layer already exists 00:10:54 de494a02c547: Layer already exists 00:10:54 63d448ee49a0: Layer already exists 00:10:54 97120ea23236: Layer already exists 00:10:54 5d3e392a13a0: Layer already exists 00:10:54 d290cf7fefe5: Layer already exists 00:10:54 2.3.0-dev.1: digest: sha256:ccca48994aa828a32bafee3fc34a9efa0fa89f5f26deae5cf2abae560aec85b6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:55 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:10:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:10:55 d10b9ffa2fcb: Preparing 00:10:55 a8d56f1a58fb: Preparing 00:10:55 2a82010f8065: Preparing 00:10:55 a43932d1df72: Preparing 00:10:55 1207169bf42c: Preparing 00:10:55 ef6f2c67162b: Preparing 00:10:55 de494a02c547: Preparing 00:10:55 4cb13804d3ae: Preparing 00:10:55 97120ea23236: Preparing 00:10:55 63d448ee49a0: Preparing 00:10:55 d290cf7fefe5: Preparing 00:10:55 5d3e392a13a0: Preparing 00:10:55 ef6f2c67162b: Waiting 00:10:55 de494a02c547: Waiting 00:10:55 4cb13804d3ae: Waiting 00:10:55 97120ea23236: Waiting 00:10:55 63d448ee49a0: Waiting 00:10:55 d290cf7fefe5: Waiting 00:10:55 5d3e392a13a0: Waiting 00:10:55 a8d56f1a58fb: Layer already exists 00:10:55 a43932d1df72: Layer already exists 00:10:55 d10b9ffa2fcb: Layer already exists 00:10:55 1207169bf42c: Layer already exists 00:10:55 2a82010f8065: Layer already exists 00:10:55 de494a02c547: Layer already exists 00:10:55 97120ea23236: Layer already exists 00:10:55 4cb13804d3ae: Layer already exists 00:10:55 ef6f2c67162b: Layer already exists 00:10:55 63d448ee49a0: Layer already exists 00:10:55 d290cf7fefe5: Layer already exists 00:10:55 5d3e392a13a0: Layer already exists 00:10:55 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1: digest: sha256:ccca48994aa828a32bafee3fc34a9efa0fa89f5f26deae5cf2abae560aec85b6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:55 + 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:10:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:10:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:10:56 d10b9ffa2fcb: Preparing 00:10:56 a8d56f1a58fb: Preparing 00:10:56 2a82010f8065: Preparing 00:10:56 a43932d1df72: Preparing 00:10:56 1207169bf42c: Preparing 00:10:56 ef6f2c67162b: Preparing 00:10:56 de494a02c547: Preparing 00:10:56 4cb13804d3ae: Preparing 00:10:56 97120ea23236: Preparing 00:10:56 63d448ee49a0: Preparing 00:10:56 d290cf7fefe5: Preparing 00:10:56 5d3e392a13a0: Preparing 00:10:56 4cb13804d3ae: Waiting 00:10:56 97120ea23236: Waiting 00:10:56 63d448ee49a0: Waiting 00:10:56 d290cf7fefe5: Waiting 00:10:56 5d3e392a13a0: Waiting 00:10:56 ef6f2c67162b: Waiting 00:10:56 de494a02c547: Waiting 00:10:56 a43932d1df72: Layer already exists 00:10:56 1207169bf42c: Layer already exists 00:10:56 2a82010f8065: Layer already exists 00:10:56 a8d56f1a58fb: Layer already exists 00:10:56 d10b9ffa2fcb: Layer already exists 00:10:56 de494a02c547: Layer already exists 00:10:56 ef6f2c67162b: Layer already exists 00:10:56 97120ea23236: Layer already exists 00:10:56 63d448ee49a0: Layer already exists 00:10:56 4cb13804d3ae: Layer already exists 00:10:56 5d3e392a13a0: Layer already exists 00:10:56 d290cf7fefe5: Layer already exists 00:10:56 main: digest: sha256:ccca48994aa828a32bafee3fc34a9efa0fa89f5f26deae5cf2abae560aec85b6 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:10:56 ===================================================== [Pipeline] echo 00:10:56 taggedImages: 00:10:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c 00:10:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:10:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.1 00:10:56 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bc08c07b2fcd2a11c96a474f97a869fa8c75de0c-2.3.0-dev.1 00:10:56 - 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:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:57 00:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:57 arm64: Pulling from edgex-lftools-log-publisher 00:10:57 8998bd30e6a1: Pulling fs layer 00:10:57 04944245beec: Pulling fs layer 00:10:57 699f458cf7ca: Pulling fs layer 00:10:57 765212b225bb: Pulling fs layer 00:10:57 f23df028b6ca: Pulling fs layer 00:10:57 d65c8cfc05b1: Pulling fs layer 00:10:57 2437ff75d9bd: Pulling fs layer 00:10:57 d65c8cfc05b1: Waiting 00:10:57 2437ff75d9bd: Waiting 00:10:57 765212b225bb: Waiting 00:10:57 f23df028b6ca: Waiting 00:10:57 04944245beec: Verifying Checksum 00:10:57 04944245beec: Download complete 00:10:57 765212b225bb: Verifying Checksum 00:10:57 765212b225bb: Download complete 00:10:57 f23df028b6ca: Verifying Checksum 00:10:57 f23df028b6ca: Download complete 00:10:57 d65c8cfc05b1: Verifying Checksum 00:10:57 d65c8cfc05b1: Download complete 00:10:57 699f458cf7ca: Verifying Checksum 00:10:57 699f458cf7ca: Download complete 00:10:58 8998bd30e6a1: Verifying Checksum 00:10:58 8998bd30e6a1: Download complete 00:11:00 2437ff75d9bd: Verifying Checksum 00:11:00 2437ff75d9bd: Download complete 00:11:02 8998bd30e6a1: Pull complete 00:11:03 04944245beec: Pull complete 00:11:04 699f458cf7ca: Pull complete 00:11:04 765212b225bb: Pull complete 00:11:05 f23df028b6ca: Pull complete 00:11:05 d65c8cfc05b1: Pull complete 00:11:20 2437ff75d9bd: Pull complete 00:11:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:11:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:21 prd-ubuntu20.04-docker-arm64-4c-16g-22351 does not seem to be running inside a container 00:11:21 $ 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/40 -v /w/workspace/device-usb-camera/40:/w/workspace/device-usb-camera/40:rw,z -v /w/workspace/device-usb-camera/40@tmp:/w/workspace/device-usb-camera/40@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:11:22 $ docker top a337f20e2284ed73e41bfc44d497b211876e248fba39dd63c286b5b3ecf86e55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:23 ---> job-cost.sh 00:11:23 lf-activate-venv: SKIPPING 00:11:23 INFO: No Stack... 00:11:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:11:24 INFO: Archiving Costs [Pipeline] sh 00:11:25 + cat /w/workspace/device-usb-camera/40/archives/cost.csv 00:11:25 + cut -d, -f6 [Pipeline] lock 00:11:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] 00:11:25 Resource [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] did not exist. Created. 00:11:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:11:26 /w/workspace/device-usb-camera/40@tmp/durable-72f080b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:11:27 + echo total: 0.10999999940395355 [Pipeline] stash 00:11:27 Warning: overwriting stash ‘stack-cost’ 00:11:27 Stashed 1 file(s) [Pipeline] } 00:11:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 00:11:27 $ docker stop --time=1 a337f20e2284ed73e41bfc44d497b211876e248fba39dd63c286b5b3ecf86e55 00:11:28 $ docker rm -f a337f20e2284ed73e41bfc44d497b211876e248fba39dd63c286b5b3ecf86e55 [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:11:29 provisioning config files... 00:11:29 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7935274987265794513tmp [Pipeline] { [Pipeline] sh 00:11:29 + set +x 00:11:29 + curl -s https://codecov.io/bash 00:11:29 + bash -s -- 00:11:29 00:11:29 _____ _ 00:11:29 / ____| | | 00:11:29 | | ___ __| | ___ ___ _____ __ 00:11:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:11:29 | |___| (_) | (_| | __/ (_| (_) \ V / 00:11:29 \_____\___/ \__,_|\___|\___\___/ \_/ 00:11:29 Bash-1.0.6 00:11:29 00:11:29 00:11:29 ==> git version 2.25.1 found 00:11:29 ==> 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:11:29 Release-Date: 2020-01-08 00:11:29 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:11:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:11:29 ==> Jenkins CI detected. 00:11:29 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:11:29 project root: . 00:11:29 --> token set from env 00:11:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:11:29 ==> Running gcov in . (disable via -X gcov) 00:11:29 ==> Python coveragepy not found 00:11:29 ==> Searching for coverage reports in: 00:11:29 + . 00:11:29 -> Found 1 reports 00:11:29 ==> Detecting git/mercurial file structure 00:11:29 ==> Reading reports 00:11:29 + ./coverage.out bytes=29387 00:11:29 ==> Appending adjustments 00:11:29 https://docs.codecov.io/docs/fixing-reports 00:11:29 + Found adjustments 00:11:29 ==> Gzipping contents 00:11:29 8.0K /tmp/codecov.wlzGBr.gz 00:11:29 ==> Uploading reports 00:11:29 url: https://codecov.io 00:11:29 query: branch=main&commit=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:29 -> Pinging Codecov 00:11:29 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=bc08c07b2fcd2a11c96a474f97a869fa8c75de0c&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:30 -> Uploading to 00:11:30 https://storage.googleapis.com/codecov/v4/raw/2022-08-10/73D8F5FF140700D3E01443B452E23636/bc08c07b2fcd2a11c96a474f97a869fa8c75de0c/2a7a8b54-73ae-4e97-b347-7d3ad35acc0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T001129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b0c487a82955be410562fd8e0bb3993b97bc375d9b0e17f1b235deea09eb779 00:11:30 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:30 Dload Upload Total Spent Left Speed 00:11:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4140 0 0 100 4140 0 19528 --:--:-- --:--:-- --:--:-- 19528 100 4140 0 0 100 4140 0 14838 --:--:-- --:--:-- --:--:-- 14838 00:11:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] } 00:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:11:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:11:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:30 00:11:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:11:31 df9b9388f04a: Pulling fs layer 00:11:31 52dc419b0ee2: Pulling fs layer 00:11:31 25bc292e5bac: Pulling fs layer 00:11:31 114826534d7a: Pulling fs layer 00:11:31 4657fd5d0bcf: Pulling fs layer 00:11:31 114826534d7a: Waiting 00:11:31 6ad1cebc031e: Pulling fs layer 00:11:31 8a3aa393b2d8: Pulling fs layer 00:11:31 8a3aa393b2d8: Waiting 00:11:31 6ad1cebc031e: Waiting 00:11:31 25bc292e5bac: Verifying Checksum 00:11:31 25bc292e5bac: Download complete 00:11:31 52dc419b0ee2: Download complete 00:11:31 4657fd5d0bcf: Download complete 00:11:31 df9b9388f04a: Verifying Checksum 00:11:31 df9b9388f04a: Download complete 00:11:31 df9b9388f04a: Pull complete 00:11:31 6ad1cebc031e: Verifying Checksum 00:11:31 6ad1cebc031e: Download complete 00:11:31 52dc419b0ee2: Pull complete 00:11:31 25bc292e5bac: Pull complete 00:11:32 114826534d7a: Verifying Checksum 00:11:32 114826534d7a: Download complete 00:11:32 8a3aa393b2d8: Verifying Checksum 00:11:32 8a3aa393b2d8: Download complete 00:11:36 114826534d7a: Pull complete 00:11:36 4657fd5d0bcf: Pull complete 00:11:37 6ad1cebc031e: Pull complete 00:11:40 8a3aa393b2d8: Pull complete 00:11:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:40 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:11:43 $ docker top 86389b93e89aa4e262dfa47db10a70b1dbeb68171ae6f725db1d445385f89483 -eo pid,comm [Pipeline] { [Pipeline] echo 00:11:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:11:43 + set -o pipefail 00:11:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:11:49 00:11:49 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:11:49 00:11:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/355cf0f6-96eb-4993-8854-93de3d67cf19 00:11:49 00:11:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:11:49 00:11:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:11:49 00:11:49 [Pipeline] } 00:11:49 $ docker stop --time=1 86389b93e89aa4e262dfa47db10a70b1dbeb68171ae6f725db1d445385f89483 00:11:52 $ docker rm -f 86389b93e89aa4e262dfa47db10a70b1dbeb68171ae6f725db1d445385f89483 [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:11:52 + git log --format=format:%s -1 bc08c07b2fcd2a11c96a474f97a869fa8c75de0c [Pipeline] sh 00:11:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:53 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:11:54 $ docker top d14e6273ffb74d509cc86f8572f448301e9b07410da5843f64d6dfb20e3894da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:54 [ssh-agent] Looking for ssh-agent implementation... 00:11:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:54 $ docker exec d14e6273ffb74d509cc86f8572f448301e9b07410da5843f64d6dfb20e3894da ssh-agent 00:11:54 SSH_AUTH_SOCK=/tmp/ssh-KYeJG7LX55Cs/agent.33 00:11:54 SSH_AGENT_PID=39 00:11:54 Running ssh-add (command line suppressed) 00:11:54 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6457418851240857754.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6457418851240857754.key) 00:11:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:55 + git semver tag 00:11:55 2022-08-10 00:11:55,201 [run_tag] DEBUG tag force:False 00:11:55 2022-08-10 00:11:55,201 [check_head_tag] DEBUG check head tag 00:11:55 2022-08-10 00:11:55,203 [execute] INFO git cat-file --batch-check 00:11:55 2022-08-10 00:11:55,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:11:55 2022-08-10 00:11:55,208 [execute] INFO git cat-file --batch 00:11:55 2022-08-10 00:11:55,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:11:55 2022-08-10 00:11:55,223 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:11:55 2022-08-10 00:11:55,223 [execute] INFO git tag -a v2.3.0-dev.1 -m v2.3.0-dev.1 00:11:55 2022-08-10 00:11:55,223 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.1', '-m', 'v2.3.0-dev.1'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:11:55 2022-08-10 00:11:55,229 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:11:55 2.3.0-dev.1 [Pipeline] } 00:11:55 $ docker exec --env ******** --env ******** d14e6273ffb74d509cc86f8572f448301e9b07410da5843f64d6dfb20e3894da ssh-agent -k 00:11:55 unset SSH_AUTH_SOCK; 00:11:55 unset SSH_AGENT_PID; 00:11:55 echo Agent pid 39 killed; 00:11:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:55 + git semver [Pipeline] } 00:11:56 $ docker stop --time=1 d14e6273ffb74d509cc86f8572f448301e9b07410da5843f64d6dfb20e3894da 00:11:57 $ docker rm -f d14e6273ffb74d509cc86f8572f448301e9b07410da5843f64d6dfb20e3894da [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:11:57 00:11:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:11:58 0.23.1-centos7: Pulling from edgex-lftools 00:11:58 ab5ef0e58194: Pulling fs layer 00:11:58 9712f1f96733: Pulling fs layer 00:11:58 63f879dbbcfc: Pulling fs layer 00:11:58 0d9ebad4ef96: Pulling fs layer 00:11:58 e9a5061849ea: Pulling fs layer 00:11:58 d747dcd14b5f: Pulling fs layer 00:11:58 2de7ff778b66: Pulling fs layer 00:11:58 e9a5061849ea: Waiting 00:11:58 d747dcd14b5f: Waiting 00:11:58 2de7ff778b66: Waiting 00:11:58 0d9ebad4ef96: Waiting 00:11:58 9712f1f96733: Verifying Checksum 00:11:58 9712f1f96733: Download complete 00:11:58 63f879dbbcfc: Verifying Checksum 00:11:58 63f879dbbcfc: Download complete 00:11:58 0d9ebad4ef96: Verifying Checksum 00:11:58 0d9ebad4ef96: Download complete 00:11:58 d747dcd14b5f: Download complete 00:11:58 ab5ef0e58194: Verifying Checksum 00:11:58 ab5ef0e58194: Download complete 00:11:58 e9a5061849ea: Verifying Checksum 00:11:58 e9a5061849ea: Download complete 00:11:58 2de7ff778b66: Verifying Checksum 00:11:58 2de7ff778b66: Download complete 00:12:02 ab5ef0e58194: Pull complete 00:12:02 9712f1f96733: Pull complete 00:12:02 63f879dbbcfc: Pull complete 00:12:07 0d9ebad4ef96: Pull complete 00:12:07 e9a5061849ea: Pull complete 00:12:07 d747dcd14b5f: Pull complete 00:12:08 2de7ff778b66: Pull complete 00:12:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:09 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:12:12 $ docker top 1722766e3d880756a5ade28f4729a023dba40bbf7edff2c3ef3c9a347bf81ab7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:12:12 provisioning config files... 00:12:12 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config905774407103743822tmp 00:12:12 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7588897335114351768tmp 00:12:12 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config791509162705558509tmp [Pipeline] { [Pipeline] echo 00:12:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:12:13 ---> sigul-configuration.sh 00:12:13 gpg: directory `/root/.gnupg' created 00:12:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:12:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:12:13 gpg: keyring `/root/.gnupg/secring.gpg' created 00:12:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:12:13 gpg: CAST5 encrypted data 00:12:13 gpg: encrypted with 1 passphrase 00:12:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:12:13 + mkdir /home/jenkins 00:12:13 + mkdir /home/jenkins/sigul [Pipeline] sh 00:12:13 + 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:12:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:12:13 ---> sigul-install.sh 00:12:13 Sigul already installed; skipping installation. [Pipeline] sh 00:12:14 + git tag --list 00:12:14 v0.0.0 00:12:14 v0.0.1-dev.1 00:12:14 v0.0.1-dev.10 00:12:14 v0.0.1-dev.11 00:12:14 v0.0.1-dev.12 00:12:14 v0.0.1-dev.13 00:12:14 v0.0.1-dev.14 00:12:14 v0.0.1-dev.15 00:12:14 v0.0.1-dev.16 00:12:14 v0.0.1-dev.2 00:12:14 v0.0.1-dev.3 00:12:14 v0.0.1-dev.4 00:12:14 v0.0.1-dev.5 00:12:14 v0.0.1-dev.6 00:12:14 v0.0.1-dev.7 00:12:14 v0.0.1-dev.8 00:12:14 v0.0.1-dev.9 00:12:14 v2.2.0 00:12:14 v2.2.0-dev.17 00:12:14 v2.2.0-dev.18 00:12:14 v2.2.0-dev.19 00:12:14 v2.2.0-dev.20 00:12:14 v2.2.0-dev.21 00:12:14 v2.2.0-dev.22 00:12:14 v2.2.0-dev.23 00:12:14 v2.2.0-dev.24 00:12:14 v2.2.0-dev.25 00:12:14 v2.2.0-dev.26 00:12:14 v2.2.0-dev.27 00:12:14 v2.3.0-dev.1 [Pipeline] sh 00:12:14 + lftools sign git-tag v2.3.0-dev.1 00:12:15 Signing Git tag with Sigul... 00:12:15 Signing v2.3.0-dev.1 [Pipeline] echo 00:12:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:12:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:12:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:12:15 $ docker stop --time=1 1722766e3d880756a5ade28f4729a023dba40bbf7edff2c3ef3c9a347bf81ab7 00:12:17 $ docker rm -f 1722766e3d880756a5ade28f4729a023dba40bbf7edff2c3ef3c9a347bf81ab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:12:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:17 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:12:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:12:18 $ docker top af6e37b65cbd9aa638d8426216fceded44bcaaf10713ef59d79f6b1c19e8334e -eo pid,comm 00:12:18 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:12:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:18 [ssh-agent] Looking for ssh-agent implementation... 00:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:18 $ docker exec af6e37b65cbd9aa638d8426216fceded44bcaaf10713ef59d79f6b1c19e8334e ssh-agent 00:12:18 SSH_AUTH_SOCK=/tmp/ssh-hEscMnkn6gzm/agent.33 00:12:18 SSH_AGENT_PID=39 00:12:18 Running ssh-add (command line suppressed) 00:12:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3898273877957941540.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3898273877957941540.key) 00:12:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:19 + git semver bump pre 00:12:19 2022-08-10 00:12:19,357 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:12:19 2022-08-10 00:12:19,358 [bump_version] DEBUG bumping version:2.3.0-dev.1 on axis:pre with prefix:dev 00:12:19 2022-08-10 00:12:19,358 [bump_version] DEBUG bumped version:2.3.0-dev.2 00:12:19 2022-08-10 00:12:19,358 [write_version] DEBUG write version:2.3.0-dev.2 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:12:19 2022-08-10 00:12:19,358 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:12:19 2022-08-10 00:12:19,358 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:12:19 2022-08-10 00:12:19,362 [execute] INFO git cat-file --batch-check 00:12:19 2022-08-10 00:12:19,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:19 2022-08-10 00:12:19,369 [execute] INFO git cat-file --batch 00:12:19 2022-08-10 00:12:19,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:19 2022-08-10 00:12:19,374 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:12:19 2.3.0-dev.2 [Pipeline] } 00:12:19 $ docker exec --env ******** --env ******** af6e37b65cbd9aa638d8426216fceded44bcaaf10713ef59d79f6b1c19e8334e ssh-agent -k 00:12:19 unset SSH_AUTH_SOCK; 00:12:19 unset SSH_AGENT_PID; 00:12:19 echo Agent pid 39 killed; 00:12:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:19 + git semver [Pipeline] } 00:12:20 $ docker stop --time=1 af6e37b65cbd9aa638d8426216fceded44bcaaf10713ef59d79f6b1c19e8334e 00:12:21 $ docker rm -f af6e37b65cbd9aa638d8426216fceded44bcaaf10713ef59d79f6b1c19e8334e [Pipeline] // withDockerContainer [Pipeline] sh 00:12:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:22 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:12:22 $ docker top 19acfca363032b85488573a7ede019a647a66c08db55805ebbf7b39e56fed6b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:22 [ssh-agent] Looking for ssh-agent implementation... 00:12:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:22 $ docker exec 19acfca363032b85488573a7ede019a647a66c08db55805ebbf7b39e56fed6b1 ssh-agent 00:12:23 SSH_AUTH_SOCK=/tmp/ssh-pmUwN176Pp1D/agent.32 00:12:23 SSH_AGENT_PID=38 00:12:23 Running ssh-add (command line suppressed) 00:12:23 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3277287579705567747.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3277287579705567747.key) 00:12:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:23 + git semver push 00:12:23 2022-08-10 00:12:23,607 [run_push] DEBUG push 00:12:23 2022-08-10 00:12:23,608 [execute] INFO git cat-file --batch-check 00:12:23 2022-08-10 00:12:23,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:23 2022-08-10 00:12:23,611 [execute] INFO git rev-list 1106eeb0416a35217732c40e4eec587c4c1ced6f -- 00:12:23 2022-08-10 00:12:23,612 [execute] DEBUG Popen(['git', 'rev-list', '1106eeb0416a35217732c40e4eec587c4c1ced6f', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:12:23 2022-08-10 00:12:23,618 [execute] INFO git fetch -v origin 00:12:23 2022-08-10 00:12:23,618 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:12:24 2022-08-10 00:12:24,097 [run_push] DEBUG no remote changes detected 00:12:24 2022-08-10 00:12:24,097 [execute] INFO git push origin semver 00:12:24 2022-08-10 00:12:24,098 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:12:24 2022-08-10 00:12:24,818 [run_push] DEBUG push all version tags 00:12:24 2022-08-10 00:12:24,818 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:12:24 2022-08-10 00:12:24,819 [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:12:25 2022-08-10 00:12:25,515 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:12:25 2.3.0-dev.2 [Pipeline] } 00:12:25 $ docker exec --env ******** --env ******** 19acfca363032b85488573a7ede019a647a66c08db55805ebbf7b39e56fed6b1 ssh-agent -k 00:12:25 unset SSH_AUTH_SOCK; 00:12:25 unset SSH_AGENT_PID; 00:12:25 echo Agent pid 38 killed; 00:12:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:26 + git semver [Pipeline] } 00:12:26 $ docker stop --time=1 19acfca363032b85488573a7ede019a647a66c08db55805ebbf7b39e56fed6b1 00:12:27 $ docker rm -f 19acfca363032b85488573a7ede019a647a66c08db55805ebbf7b39e56fed6b1 [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:12:28 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:12:28 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:12:28 total 16 00:12:28 drwxr-xr-x 3 root root 4096 Aug 10 00:03 . 00:12:28 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 00:12 .. 00:12:28 drwxr-xr-x 2 root root 4096 Aug 10 00:03 cost 00:12:28 -rw-r--r-- 1 root root 88 Aug 10 00:03 cost.csv 00:12:28 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:12:28 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:12:28 total 16 00:12:28 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 00:03 . 00:12:28 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 00:12 .. 00:12:28 drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 00:03 cost 00:12:28 -rw-r--r-- 1 jenkins jenkins 88 Aug 10 00:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:12:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:12:29 ---> package-listing.sh 00:12:29 ++ facter osfamily 00:12:29 ++ tr '[:upper:]' '[:lower:]' 00:12:29 + OS_FAMILY=debian 00:12:29 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:12:29 + START_PACKAGES=/tmp/packages_start.txt 00:12:29 + END_PACKAGES=/tmp/packages_end.txt 00:12:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:12:29 + PACKAGES=/tmp/packages_start.txt 00:12:29 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:12:29 + PACKAGES=/tmp/packages_end.txt 00:12:29 + case "${OS_FAMILY}" in 00:12:29 + dpkg -l 00:12:29 + grep '^ii' 00:12:29 + '[' -f /tmp/packages_start.txt ']' 00:12:29 + '[' -f /tmp/packages_end.txt ']' 00:12:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:12:29 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:12:29 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:12:29 + 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:12:29 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:12:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:30 prd-ubuntu20.04-docker-8c-8g-22350 does not seem to be running inside a container 00:12:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:12:31 $ docker top 1f1312dc39181aded2f5a5750a9654c7c6ace7a9e105f8b2cef23494342dbef7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:31 + touch /tmp/pre-build-complete [Pipeline] sh 00:12:31 + mkdir -p /var/log/sysstat [Pipeline] sh 00:12:32 + ls /var/log/sa-host 00:12:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:32 provisioning config files... 00:12:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7045653001880406860tmp [Pipeline] { [Pipeline] echo 00:12:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:12:32 ---> create-netrc.sh [Pipeline] } 00:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:12:32 ---> python-tools-install.sh [Pipeline] echo 00:12:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:12:33 ---> sudo-logs.sh 00:12:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:12:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:12:33 ---> job-cost.sh 00:12:33 lf-activate-venv: SKIPPING 00:12:33 DEBUG: total: 0.2199999988079071 00:12:33 INFO: Retrieving Stack Cost... 00:12:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:34 INFO: Archiving Costs [Pipeline] echo 00:12:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:12:34 ---> logs-deploy.sh 00:12:34 lf-activate-venv: SKIPPING 00:12:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/40 00:12:34 INFO: archiving workspace using pattern(s): 00:12:35 Archives upload complete. 00:12:35 INFO: archiving logs to Nexus