Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c91cc494b17f60a6c3435008630f1c4da06e6238 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-ssh1274160291337585171.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11434909421576436727.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11418426510037734950.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh13137204533050810151.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5139757875927646713.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-29957’ is offline Running on prd-ubuntu20.04-docker-8c-8g-29958 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c91cc494b17f60a6c3435008630f1c4da06e6238 (main) > 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 c91cc494b17f60a6c3435008630f1c4da06e6238 # timeout=10 Commit message: "Merge pull request #84 from farshidtz/rtsp-refactor" > git rev-list --no-walk 1e613961013b6b37f2d2c6796bfa6cb96c8fac46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:04 ========================================================= 16:13:04 EdgeX Global Pipelines Version Info 16:13:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:05 ------------------- 16:13:05 stable info: 16:13:05 ------------------- 16:13:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:13:05 Message: update stable to v1.0.239 16:13:05 ------------------- 16:13:05 experimental info: 16:13:05 ------------------- 16:13:05 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:13:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:13:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c91cc49 [Pipeline] echo 16:13:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:06 provisioning config files... 16:13:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4454505250074349353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:06 ---> docker-login.sh 16:13:06 nexus3.edgexfoundry.org:10001 16:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:07 Configure a credential helper to remove this warning. See 16:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:07 16:13:07 Login Succeeded 16:13:07 nexus3.edgexfoundry.org:10002 16:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:07 Configure a credential helper to remove this warning. See 16:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:07 16:13:07 Login Succeeded 16:13:07 nexus3.edgexfoundry.org:10003 16:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:07 Configure a credential helper to remove this warning. See 16:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:07 16:13:07 Login Succeeded 16:13:07 nexus3.edgexfoundry.org:10004 16:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:07 Configure a credential helper to remove this warning. See 16:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:07 16:13:07 Login Succeeded 16:13:07 docker.io 16:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:08 Configure a credential helper to remove this warning. See 16:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:08 16:13:08 Login Succeeded 16:13:08 ---> docker-login.sh ends [Pipeline] } 16:13:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:13:08 + git rev-list -1 --merges c91cc494b17f60a6c3435008630f1c4da06e6238~1..c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] echo 16:13:08 -----------> git rev-list -1 --merges c91cc494b17f60a6c3435008630f1c4da06e6238~1..c91cc494b17f60a6c3435008630f1c4da06e6238 c91cc494b17f60a6c3435008630f1c4da06e6238 16:13:08 c91cc494b17f60a6c3435008630f1c4da06e6238 [false] [Pipeline] sh 16:13:08 + git log --format=format:%s -1 c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] echo 16:13:08 ========================================================= 16:13:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:13:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:09 + git log --format=format:%s -1 c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] echo 16:13:09 [semverPrep] GIT_COMMIT: c91cc494b17f60a6c3435008630f1c4da06e6238, Commit Message: Merge pull request #84 from farshidtz/rtsp-refactor [Pipeline] echo 16:13:09 [semverPrep] This is not a build commit. [Pipeline] sh 16:13:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:13:09 + grep -v github /etc/ssh/ssh_known_hosts 16:13:09 + [ -e /tmp/ssh_known_hosts ] 16:13:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:13:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:13:09 + sudo tee -a /etc/ssh/ssh_known_hosts 16:13:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:09 16:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:10 0.1.4: Pulling from edgex-devops/py-git-semver 16:13:10 b85a868b505f: Pulling fs layer 16:13:10 e2be974225ed: Pulling fs layer 16:13:10 339a4e72a1f5: Pulling fs layer 16:13:10 988bab9f4d93: Pulling fs layer 16:13:10 1469e6f7b9e6: Pulling fs layer 16:13:10 eaf3925da568: Pulling fs layer 16:13:10 bab4dde63d76: Pulling fs layer 16:13:10 bde34c3a00c8: Pulling fs layer 16:13:10 b352a97aabf1: Pulling fs layer 16:13:10 4872d77fe225: Pulling fs layer 16:13:10 5851b861e8e6: Pulling fs layer 16:13:10 bab4dde63d76: Waiting 16:13:10 bde34c3a00c8: Waiting 16:13:10 b352a97aabf1: Waiting 16:13:10 988bab9f4d93: Waiting 16:13:10 4872d77fe225: Waiting 16:13:10 5851b861e8e6: Waiting 16:13:10 1469e6f7b9e6: Waiting 16:13:10 eaf3925da568: Waiting 16:13:10 e2be974225ed: Download complete 16:13:10 988bab9f4d93: Verifying Checksum 16:13:10 988bab9f4d93: Download complete 16:13:10 1469e6f7b9e6: Verifying Checksum 16:13:10 1469e6f7b9e6: Download complete 16:13:10 339a4e72a1f5: Verifying Checksum 16:13:10 339a4e72a1f5: Download complete 16:13:10 eaf3925da568: Download complete 16:13:10 bde34c3a00c8: Verifying Checksum 16:13:10 bde34c3a00c8: Download complete 16:13:10 b352a97aabf1: Download complete 16:13:10 4872d77fe225: Verifying Checksum 16:13:10 4872d77fe225: Download complete 16:13:10 5851b861e8e6: Verifying Checksum 16:13:10 b85a868b505f: Verifying Checksum 16:13:10 b85a868b505f: Download complete 16:13:10 bab4dde63d76: Verifying Checksum 16:13:10 bab4dde63d76: Download complete 16:13:11 b85a868b505f: Pull complete 16:13:12 e2be974225ed: Pull complete 16:13:12 339a4e72a1f5: Pull complete 16:13:12 988bab9f4d93: Pull complete 16:13:13 1469e6f7b9e6: Pull complete 16:13:13 eaf3925da568: Pull complete 16:13:15 bab4dde63d76: Pull complete 16:13:15 bde34c3a00c8: Pull complete 16:13:16 b352a97aabf1: Pull complete 16:13:16 4872d77fe225: Pull complete 16:13:17 5851b861e8e6: Pull complete 16:13:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:17 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:13: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:13:21 $ docker top 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 -eo pid,comm 16:13:21 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). 16:13:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:21 [ssh-agent] Looking for ssh-agent implementation... 16:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:21 $ docker exec 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 ssh-agent 16:13:21 SSH_AUTH_SOCK=/tmp/ssh-NivoFcvVr4Uy/agent.32 16:13:21 SSH_AGENT_PID=38 16:13:21 Running ssh-add (command line suppressed) 16:13:21 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8876143117252528078.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8876143117252528078.key) 16:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:21 + git tag --points-at HEAD [Pipeline] } 16:13:21 $ docker exec --env ******** --env ******** 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 ssh-agent -k 16:13:21 unset SSH_AUTH_SOCK; 16:13:21 unset SSH_AGENT_PID; 16:13:21 echo Agent pid 38 killed; 16:13:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:13:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:22 [ssh-agent] Looking for ssh-agent implementation... 16:13:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:22 $ docker exec 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 ssh-agent 16:13:22 SSH_AUTH_SOCK=/tmp/ssh-NB4xFMPs8fGE/agent.72 16:13:22 SSH_AGENT_PID=78 16:13:22 Running ssh-add (command line suppressed) 16:13:22 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2643265192720676628.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2643265192720676628.key) 16:13:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:22 + git semver init 16:13:23 2022-09-20 16:13:22,960 [run_init] DEBUG init version:0.0.0 force:False 16:13:23 2022-09-20 16:13:22,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 16:13:23 2022-09-20 16:13:22,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 16:13:23 2022-09-20 16:13:22,961 [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) 16:13:23 2022-09-20 16:13:23,735 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 16:13:23 2022-09-20 16:13:23,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 16:13:23 2022-09-20 16:13:23,736 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:13:23 2022-09-20 16:13:23,736 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:13:23 2.3.0-dev.7 [Pipeline] } 16:13:23 $ docker exec --env ******** --env ******** 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 ssh-agent -k 16:13:24 unset SSH_AUTH_SOCK; 16:13:24 unset SSH_AGENT_PID; 16:13:24 echo Agent pid 78 killed; 16:13:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:13:24 + git semver [Pipeline] } 16:13:24 $ docker stop --time=1 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 16:13:25 $ docker rm -f 233bafee54cb431c462221e869098da76e8d985763b0fba08cd8f941cf15d541 [Pipeline] // withDockerContainer [Pipeline] sh 16:13:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:13:26 Stashed 1 file(s) [Pipeline] echo 16:13:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:26 provisioning config files... 16:13:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3403569411414462154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:27 ---> docker-login.sh 16:13:27 nexus3.edgexfoundry.org:10001 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 nexus3.edgexfoundry.org:10002 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 nexus3.edgexfoundry.org:10003 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 nexus3.edgexfoundry.org:10004 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 docker.io 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:28 Configure a credential helper to remove this warning. See 16:13:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:28 16:13:28 Login Succeeded 16:13:28 ---> docker-login.sh ends [Pipeline] } 16:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:13:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:28 ========================================================= 16:13:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:13:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:28 + 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 . 16:13:28 Sending build context to Docker daemon 872.4kB 16:13:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:13:28 Step 2/13 : FROM ${BASE} AS builder 16:13:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:13:28 2408cc74d12b: Pulling fs layer 16:13:28 ea60b727a1ce: Pulling fs layer 16:13:28 30c4a7721957: Pulling fs layer 16:13:28 370296b7ddb6: Pulling fs layer 16:13:28 7c6cee850709: Pulling fs layer 16:13:28 39a5fcdaea64: Pulling fs layer 16:13:28 370296b7ddb6: Waiting 16:13:28 7c6cee850709: Waiting 16:13:28 d94ebbe4e438: Pulling fs layer 16:13:28 bcfd1f05c69d: Pulling fs layer 16:13:28 59ccb84bbe0f: Pulling fs layer 16:13:28 39a5fcdaea64: Waiting 16:13:28 d94ebbe4e438: Waiting 16:13:28 bcfd1f05c69d: Waiting 16:13:28 59ccb84bbe0f: Waiting 16:13:28 30c4a7721957: Verifying Checksum 16:13:28 30c4a7721957: Download complete 16:13:28 ea60b727a1ce: Verifying Checksum 16:13:28 ea60b727a1ce: Download complete 16:13:28 7c6cee850709: Verifying Checksum 16:13:28 39a5fcdaea64: Download complete 16:13:28 2408cc74d12b: Verifying Checksum 16:13:28 2408cc74d12b: Download complete 16:13:28 d94ebbe4e438: Download complete 16:13:28 2408cc74d12b: Pull complete 16:13:29 ea60b727a1ce: Pull complete 16:13:29 30c4a7721957: Pull complete 16:13:29 59ccb84bbe0f: Verifying Checksum 16:13:29 59ccb84bbe0f: Download complete 16:13:29 bcfd1f05c69d: Verifying Checksum 16:13:29 bcfd1f05c69d: Download complete 16:13:29 370296b7ddb6: Verifying Checksum 16:13:29 370296b7ddb6: Download complete 16:13:33 370296b7ddb6: Pull complete 16:13:33 7c6cee850709: Pull complete 16:13:34 39a5fcdaea64: Pull complete 16:13:34 d94ebbe4e438: Pull complete 16:13:36 bcfd1f05c69d: Pull complete 16:13:36 59ccb84bbe0f: Pull complete 16:13:36 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:13:36 ---> a4fb48ad2a94 16:13:36 Step 3/13 : ARG MAKE="make build" 16:13:41 Still waiting to schedule task 16:13:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-29959’ is offline 16:13:42 ---> Running in 85fbd182da53 16:13:42 Removing intermediate container 85fbd182da53 16:13:42 ---> 6d6bc7b8d53b 16:13:42 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:13:42 ---> Running in b89d999e16bd 16:13:42 Removing intermediate container b89d999e16bd 16:13:42 ---> 75b3f4059115 16:13:42 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:13:42 ---> Running in 4311e439b638 16:13:42 Removing intermediate container 4311e439b638 16:13:42 ---> 4066e9233af6 16:13:42 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:13:42 ---> Running in 420271f8474f 16:13:43 Removing intermediate container 420271f8474f 16:13:43 ---> 312a805423bd 16:13:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:13:43 ---> Running in 5b748afa1916 16:13:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:13:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:13:44 (1/80) Installing mesa (21.3.8-r2) 16:13:44 (2/80) Installing libxau (1.0.9-r0) 16:13:44 (3/80) Installing libxdmcp (1.1.3-r0) 16:13:45 (4/80) Installing libxcb (1.15-r0) 16:13:45 (5/80) Installing libx11 (1.8-r0) 16:13:45 (6/80) Installing libxext (1.3.4-r0) 16:13:45 (7/80) Installing libxfixes (6.0.0-r0) 16:13:45 (8/80) Installing libxxf86vm (1.1.4-r2) 16:13:45 (9/80) Installing libpciaccess (0.16-r0) 16:13:45 (10/80) Installing libdrm (2.4.110-r0) 16:13:45 (11/80) Installing mesa-glapi (21.3.8-r2) 16:13:45 (12/80) Installing libxshmfence (1.3-r1) 16:13:45 (13/80) Installing mesa-gl (21.3.8-r2) 16:13:45 (14/80) Installing icu-data-full (71.1-r2) 16:13:46 (15/80) Installing libice (1.0.10-r0) 16:13:46 (16/80) Installing libuuid (2.38-r1) 16:13:47 (17/80) Installing libsm (1.2.3-r0) 16:13:47 (18/80) Installing libxt (1.2.1-r0) 16:13:47 (19/80) Installing libxmu (1.1.3-r0) 16:13:47 (20/80) Installing xset (1.2.4-r0) 16:13:47 (21/80) Installing xprop (1.2.5-r0) 16:13:47 (22/80) Installing xdg-utils (1.1.3-r3) 16:13:47 (23/80) Installing dbus-libs (1.14.0-r1) 16:13:47 (24/80) Installing libffi (3.4.2-r1) 16:13:47 (25/80) Installing libintl (0.21-r2) 16:13:47 (26/80) Installing libblkid (2.38-r1) 16:13:47 (27/80) Installing libmount (2.38-r1) 16:13:47 (28/80) Installing pcre (8.45-r2) 16:13:48 (29/80) Installing glib (2.72.1-r0) 16:13:48 (30/80) Installing icu-libs (71.1-r2) 16:13:48 (31/80) Installing libpcre2-16 (10.40-r0) 16:13:48 (32/80) Installing zstd-libs (1.5.2-r1) 16:13:48 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:13:48 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:13:48 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:13:48 (36/80) Installing mesa-gbm (21.3.8-r2) 16:13:49 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:13:49 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:13:49 (39/80) Installing libxcomposite (0.4.5-r0) 16:13:49 (40/80) Installing libbz2 (1.0.8-r1) 16:13:49 (41/80) Installing libpng (1.6.37-r1) 16:13:49 (42/80) Installing freetype (2.12.1-r0) 16:13:50 (43/80) Installing fontconfig (2.14.0-r0) 16:13:50 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:13:50 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:13:50 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:13:50 (47/80) Installing xz-libs (5.2.5-r1) 16:13:50 (48/80) Installing libxml2 (2.9.14-r1) 16:13:50 (49/80) Installing libxkbcommon (1.4.1-r0) 16:13:50 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:13:50 (51/80) Installing mesa-egl (21.3.8-r2) 16:13:50 (52/80) Installing avahi-libs (0.8-r6) 16:13:51 (53/80) Installing nettle (3.7.3-r0) 16:13:51 (54/80) Installing p11-kit (0.24.1-r0) 16:13:51 (55/80) Installing libtasn1 (4.18.0-r0) 16:13:51 (56/80) Installing libunistring (1.0-r0) 16:13:51 (57/80) Installing gnutls (3.7.7-r0) 16:13:51 (58/80) Installing cups-libs (2.4.2-r0) 16:13:51 (59/80) Installing graphite2 (1.3.14-r1) 16:13:51 (60/80) Installing harfbuzz (4.3.0-r0) 16:13:51 (61/80) Installing libevdev (1.12.1-r0) 16:13:51 (62/80) Installing mtdev (1.1.6-r0) 16:13:51 (63/80) Installing eudev-libs (3.2.11-r0) 16:13:52 (64/80) Installing libinput-libs (1.20.1-r0) 16:13:52 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:13:52 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:13:52 (67/80) Installing xcb-util (0.4.0-r3) 16:13:52 (68/80) Installing xcb-util-image (0.4.0-r1) 16:13:52 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:13:52 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:13:52 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:13:52 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:13:53 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:13:53 (74/80) Installing v4l-utils (1.22.1-r1) 16:13:53 (75/80) Installing udev-init-scripts (35-r0) 16:13:53 Executing udev-init-scripts-35-r0.post-install 16:13:53 (76/80) Installing kmod-libs (29-r2) 16:13:53 (77/80) Installing eudev (3.2.11-r0) 16:13:53 (78/80) Installing eudev-dev (3.2.11-r0) 16:13:53 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:13:53 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:13:53 Executing busybox-1.35.0-r13.trigger 16:13:53 Executing eudev-3.2.11-r0.trigger 16:13:53 OK: 330 MiB in 131 packages 16:13:57 Removing intermediate container 5b748afa1916 16:13:57 ---> b05036797da4 16:13:57 Step 8/13 : WORKDIR /device-usb-camera 16:13:57 ---> Running in 9705ecc2cff1 16:13:57 Removing intermediate container 9705ecc2cff1 16:13:57 ---> 35870777b632 16:13:57 Step 9/13 : COPY go.mod vendor* ./ 16:13:57 ---> 856c7e20a7ed 16:13:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:13:57 ---> Running in 29ae93613b1a 16:14:24 Removing intermediate container 29ae93613b1a 16:14:24 ---> e1005ccd0d9b 16:14:24 Step 11/13 : COPY . . 16:14:24 ---> a1591d0a7919 16:14:24 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:14:24 ---> Running in 5ed10b5fcf4e 16:14:24  % Total % Received % Xferd Average Speed Time Time Time Current 16:14:24 Dload Upload Total Spent Left Speed 16:14:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6315 0 --:--:-- --:--:-- --:--:-- 6321 16:14:24 Removing intermediate container 5ed10b5fcf4e 16:14:24 ---> 0653104e3645 16:14:24 Step 13/13 : RUN ${MAKE} 16:14:24 ---> Running in 75107c7a02d9 16:14:24 noop 16:14:24 Removing intermediate container 75107c7a02d9 16:14:24 ---> a6f491762b6e 16:14:24 Successfully built a6f491762b6e 16:14:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:24 + docker inspect -f . ci-base-image-x86_64 16:14:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:24 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:14:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:25 $ docker top a52959b76db44a3ac2f78c5f4eb3d11eb366092c3904eb2e37c9465957467461 -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:25 + go version 16:14:25 go version go1.18.3 linux/amd64 [Pipeline] } 16:14:25 $ docker stop --time=1 a52959b76db44a3ac2f78c5f4eb3d11eb366092c3904eb2e37c9465957467461 16:14:26 $ docker rm -f a52959b76db44a3ac2f78c5f4eb3d11eb366092c3904eb2e37c9465957467461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:27 + docker inspect -f . ci-base-image-x86_64 16:14:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:27 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:14:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:27 $ docker top 9ebf6c75df45ca3dc29bdcdbd89d5fe589bf987347fda2c1141f27c568257f6b -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:28 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 16:14:28 + make test 16:14:28 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:14:28 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:14:38 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:14:39 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements 16:14:47 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." 16:14:47 CGO_ENABLED=1 go vet ./... 16:14:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:49 ./bin/test-attribution-txt.sh [Pipeline] echo 16:14:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:14:49 $ docker stop --time=1 9ebf6c75df45ca3dc29bdcdbd89d5fe589bf987347fda2c1141f27c568257f6b 16:14:52 $ docker rm -f 9ebf6c75df45ca3dc29bdcdbd89d5fe589bf987347fda2c1141f27c568257f6b [Pipeline] // withDockerContainer [Pipeline] sh 16:14:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:53 + ls -al . 16:14:53 total 200 16:14:53 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 16:14 . 16:14:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 16:12 .. 16:14:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 16:14 .git 16:14:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:13 .github 16:14:53 -rw-rw-r-- 1 jenkins jenkins 414 Sep 20 16:13 .gitignore 16:14:53 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 16:13 .golangci.yml 16:14:53 -rw-rw-r-- 1 jenkins jenkins 77 Sep 20 16:13 .hadolint.yml 16:14:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 16:13 .semver 16:14:53 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 20 16:13 Attribution.txt 16:14:53 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 20 16:13 CHANGELOG.md 16:14:53 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 20 16:13 Dockerfile 16:14:53 -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 16:13 GOVERNANCE.md 16:14:53 -rw-rw-r-- 1 jenkins jenkins 659 Sep 20 16:13 Jenkinsfile 16:14:53 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 16:13 LICENSE 16:14:53 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 20 16:13 Makefile 16:14:53 -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 16:13 OWNERS.md 16:14:53 -rw-rw-r-- 1 jenkins jenkins 12817 Sep 20 16:13 README.md 16:14:53 -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 16:13 VERSION 16:14:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 16:13 bin 16:14:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:13 cmd 16:14:53 -rw-r--r-- 1 jenkins jenkins 29387 Sep 20 16:14 coverage.out 16:14:53 -rwxrwxr-x 1 jenkins jenkins 140 Sep 20 16:13 docker-entrypoint.sh 16:14:53 -rw-rw-r-- 1 jenkins jenkins 3606 Sep 20 16:13 go.mod 16:14:53 -rw-rw-r-- 1 jenkins jenkins 37073 Sep 20 16:13 go.sum 16:14:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:13 internal 16:14:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 16:13 snap 16:14:53 -rw-rw-r-- 1 jenkins jenkins 231 Sep 20 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:54 + 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=c91cc494b17f60a6c3435008630f1c4da06e6238 --label arch=amd64 --label version=2.3.0-dev.7 . 16:14:54 Sending build context to Docker daemon 902.7kB 16:14:54 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:14:54 Step 2/35 : FROM ${BASE} AS builder 16:14:54 ---> a6f491762b6e 16:14:54 Step 3/35 : ARG MAKE="make build" 16:14:54 ---> Running in a6f0c135e316 16:14:54 Removing intermediate container a6f0c135e316 16:14:54 ---> b761b9fe47eb 16:14:54 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:14:54 ---> Running in 7358f1b31242 16:14:54 Removing intermediate container 7358f1b31242 16:14:54 ---> 44a5bbcc82f2 16:14:54 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:14:54 ---> Running in c2f16be8cc41 16:14:54 Removing intermediate container c2f16be8cc41 16:14:54 ---> 3e7c1bc6004a 16:14:54 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:54 ---> Running in f64ae24bdc8c 16:14:54 Removing intermediate container f64ae24bdc8c 16:14:54 ---> c4768721580b 16:14:54 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:55 ---> Running in 0a483193d9ce 16:14:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:14:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:14:56 OK: 330 MiB in 131 packages 16:14:56 Removing intermediate container 0a483193d9ce 16:14:56 ---> fca870c26df3 16:14:56 Step 8/35 : WORKDIR /device-usb-camera 16:14:56 ---> Running in 8106b3a26dc6 16:14:56 Removing intermediate container 8106b3a26dc6 16:14:56 ---> 8d935eac1257 16:14:56 Step 9/35 : COPY go.mod vendor* ./ 16:14:57 ---> d387c93d5cf4 16:14:57 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:57 ---> Running in f397a7b33737 16:14:57 Removing intermediate container f397a7b33737 16:14:57 ---> fc70ec554701 16:14:57 Step 11/35 : COPY . . 16:14:58 ---> 51048cd54e33 16:14:58 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:14:58 ---> Running in 646ab7e5a1f1 16:14:58  % Total % Received % Xferd Average Speed Time Time Time Current 16:14:58  Dload Upload Total Spent Left Speed 16:14:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44821 0 --:--:-- --:--:-- --:--:-- 46173 16:14:58 Removing intermediate container 646ab7e5a1f1 16:14:58 ---> 9667fa465807 16:14:58 Step 13/35 : RUN ${MAKE} 16:14:58 ---> Running in 5b138b93377c 16:14:58 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:15:25 Removing intermediate container 5b138b93377c 16:15:25 ---> e745919d9095 16:15:25 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:15:25 v0.18.4: Pulling from aler9/rtsp-simple-server 16:15:25 af6660deedbd: Pulling fs layer 16:15:25 97cd0a44c592: Pulling fs layer 16:15:25 97cd0a44c592: Download complete 16:15:25 af6660deedbd: Verifying Checksum 16:15:25 af6660deedbd: Download complete 16:15:25 af6660deedbd: Pull complete 16:15:25 97cd0a44c592: Pull complete 16:15:25 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:15:25 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:15:25 ---> fea57e182299 16:15:25 Step 15/35 : FROM alpine:3.16 16:15:25 3.16: Pulling from library/alpine 16:15:25 213ec9aee27d: Pulling fs layer 16:15:25 213ec9aee27d: Download complete 16:15:25 213ec9aee27d: Pull complete 16:15:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:15:25 Status: Downloaded newer image for alpine:3.16 16:15:25 ---> 9c6f07244728 16:15:25 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:15:25 ---> Running in ae2cc37b3397 16:15:25 Removing intermediate container ae2cc37b3397 16:15:25 ---> cb9a921e88c3 16:15:25 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:15:25 ---> Running in 55a3d5bf5782 16:15:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:15:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:15:25 (1/83) Installing dumb-init (1.2.5-r1) 16:15:25 (2/83) Installing sdl2 (2.0.22-r0) 16:15:25 (3/83) Installing libxau (1.0.9-r0) 16:15:25 (4/83) Installing libxdmcp (1.1.3-r0) 16:15:25 (5/83) Installing libxcb (1.15-r0) 16:15:25 (6/83) Installing libx11 (1.8-r0) 16:15:25 (7/83) Installing aom-libs (3.3.0-r0) 16:15:25 (8/83) Installing alsa-lib (1.2.7.2-r0) 16:15:25 (9/83) Installing expat (2.4.8-r0) 16:15:25 (10/83) Installing brotli-libs (1.0.9-r6) 16:15:25 (11/83) Installing libbz2 (1.0.8-r1) 16:15:25 (12/83) Installing libpng (1.6.37-r1) 16:15:25 (13/83) Installing freetype (2.12.1-r0) 16:15:25 (14/83) Installing fontconfig (2.14.0-r0) 16:15:25 (15/83) Installing fribidi (1.0.12-r0) 16:15:25 (16/83) Installing libffi (3.4.2-r1) 16:15:25 (17/83) Installing libintl (0.21-r2) 16:15:25 (18/83) Installing libblkid (2.38-r1) 16:15:25 (19/83) Installing libmount (2.38-r1) 16:15:25 (20/83) Installing pcre (8.45-r2) 16:15:25 (21/83) Installing glib (2.72.1-r0) 16:15:25 (22/83) Installing graphite2 (1.3.14-r1) 16:15:25 (23/83) Installing harfbuzz (4.3.0-r0) 16:15:25 (24/83) Installing libass (0.16.0-r0) 16:15:25 (25/83) Installing libdav1d (1.0.0-r0) 16:15:25 (26/83) Installing libpciaccess (0.16-r0) 16:15:25 (27/83) Installing libdrm (2.4.110-r0) 16:15:25 (28/83) Installing gmp (6.2.1-r2) 16:15:25 (29/83) Installing nettle (3.7.3-r0) 16:15:25 (30/83) Installing p11-kit (0.24.1-r0) 16:15:25 (31/83) Installing libtasn1 (4.18.0-r0) 16:15:25 (32/83) Installing libunistring (1.0-r0) 16:15:25 (33/83) Installing gnutls (3.7.7-r0) 16:15:25 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:15:25 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 16:15:25 (36/83) Installing lame (3.100-r0) 16:15:25 (37/83) Installing opus (1.3.1-r1) 16:15:25 (38/83) Installing libasyncns (0.8-r1) 16:15:25 (39/83) Installing dbus-libs (1.14.0-r1) 16:15:25 (40/83) Installing libltdl (2.4.7-r0) 16:15:25 (41/83) Installing orc (0.4.32-r0) 16:15:25 (42/83) Installing libgcc (11.2.1_git20220219-r2) 16:15:25 (43/83) Installing libogg (1.3.5-r1) 16:15:25 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 16:15:25 (45/83) Installing flac (1.3.4-r0) 16:15:25 (46/83) Installing libvorbis (1.3.7-r0) 16:15:25 (47/83) Installing libsndfile (1.1.0-r0) 16:15:25 (48/83) Installing libgomp (11.2.1_git20220219-r2) 16:15:25 (49/83) Installing soxr (0.1.3-r2) 16:15:25 (50/83) Installing speexdsp (1.2.0-r0) 16:15:25 (51/83) Installing tdb-libs (1.4.6-r0) 16:15:25 (52/83) Installing libpulse (15.0-r2) 16:15:25 (53/83) Installing cjson (1.7.15-r3) 16:15:25 (54/83) Installing mbedtls (2.28.1-r0) 16:15:25 (55/83) Installing librist (0.2.6-r1) 16:15:25 (56/83) Installing libsrt (1.4.4-r0) 16:15:25 (57/83) Installing libssh (0.9.6-r1) 16:15:25 (58/83) Installing libtheora (1.1.1-r16) 16:15:25 (59/83) Installing libjpeg-turbo (2.1.3-r1) 16:15:25 (60/83) Installing v4l-utils-libs (1.22.1-r1) 16:15:25 (61/83) Installing libxext (1.3.4-r0) 16:15:25 (62/83) Installing libxfixes (6.0.0-r0) 16:15:25 (63/83) Installing wayland-libs-client (1.20.0-r0) 16:15:25 (64/83) Installing libva (2.14.0-r0) 16:15:25 (65/83) Installing libvdpau (1.5-r0) 16:15:25 (66/83) Installing vidstab (1.1.0-r1) 16:15:25 (67/83) Installing libvpx (1.11.0-r1) 16:15:25 (68/83) Installing libwebp (1.2.3-r0) 16:15:25 (69/83) Installing x264-libs (0.163_git20210613-r0) 16:15:25 (70/83) Installing numactl (2.0.14-r0) 16:15:25 (71/83) Installing x265-libs (3.5-r3) 16:15:25 (72/83) Installing xvidcore (1.3.7-r1) 16:15:25 (73/83) Installing ffmpeg-libs (5.0.1-r1) 16:15:25 (74/83) Installing ffmpeg (5.0.1-r1) 16:15:25 (75/83) Installing udev-init-scripts (35-r0) 16:15:25 Executing udev-init-scripts-35-r0.post-install 16:15:25 (76/83) Installing eudev-libs (3.2.11-r0) 16:15:25 (77/83) Installing xz-libs (5.2.5-r1) 16:15:25 (78/83) Installing zstd-libs (1.5.2-r1) 16:15:25 (79/83) Installing kmod-libs (29-r2) 16:15:25 (80/83) Installing eudev (3.2.11-r0) 16:15:25 (81/83) Installing libsodium (1.0.18-r0) 16:15:25 (82/83) Installing libzmq (4.3.4-r0) 16:15:25 (83/83) Installing zeromq (4.3.4-r0) 16:15:25 Executing busybox-1.35.0-r17.trigger 16:15:25 Executing eudev-3.2.11-r0.trigger 16:15:25 OK: 101 MiB in 97 packages 16:15:28 Removing intermediate container 55a3d5bf5782 16:15:28 ---> 948b0ce8a225 16:15:28 Step 18/35 : WORKDIR / 16:15:28 ---> Running in 203429626d22 16:15:28 Removing intermediate container 203429626d22 16:15:28 ---> 95f0f414ce5f 16:15:28 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:15:29 ---> 782374879445 16:15:29 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:15:29 ---> 11b18f8c617b 16:15:29 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:15:29 ---> 6ea69706eec5 16:15:29 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:15:29 ---> 55682a829c76 16:15:29 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:15:29 ---> 76b417b81dea 16:15:29 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:15:30 ---> 3e428d51a0d2 16:15:30 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:15:30 ---> 472ff9ba56c0 16:15:30 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:15:30 ---> Running in 109fc1b39933 16:15:31 Removing intermediate container 109fc1b39933 16:15:31 ---> 68d82885be54 16:15:31 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:15:31 ---> Running in 98838ad88ee0 16:15:31 Removing intermediate container 98838ad88ee0 16:15:31 ---> afcbab218d3c 16:15:31 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:15:31 ---> Running in e5df7714bc24 16:15:32 Removing intermediate container e5df7714bc24 16:15:32 ---> e07effc26e9d 16:15:32 Step 29/35 : EXPOSE 59983 16:15:32 ---> Running in 8865a928aabd 16:15:32 Removing intermediate container 8865a928aabd 16:15:32 ---> 6d2844084d1a 16:15:32 Step 30/35 : EXPOSE 8554 16:15:32 ---> Running in ca66c7cbe8d9 16:15:32 Removing intermediate container ca66c7cbe8d9 16:15:32 ---> b638880fe720 16:15:32 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:15:32 ---> Running in 9d26ab0fed19 16:15:32 Removing intermediate container 9d26ab0fed19 16:15:32 ---> 8b0740dc3c57 16:15:32 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:15:32 ---> Running in ed242b838295 16:15:32 Removing intermediate container ed242b838295 16:15:32 ---> 972acee4a1b1 16:15:32 Step 33/35 : LABEL arch=amd64 16:15:33 ---> Running in 75e2f0e647bf 16:15:33 Removing intermediate container 75e2f0e647bf 16:15:33 ---> 0d904d5cc2b5 16:15:33 Step 34/35 : LABEL git_sha=c91cc494b17f60a6c3435008630f1c4da06e6238 16:15:33 ---> Running in 2f8c247a9700 16:15:33 Removing intermediate container 2f8c247a9700 16:15:33 ---> 50d99bf80f47 16:15:33 Step 35/35 : LABEL version=2.3.0-dev.7 16:15:33 ---> Running in bf1519feb93a 16:15:33 Removing intermediate container bf1519feb93a 16:15:33 ---> bebb5ca047b5 16:15:33 [Warning] One or more build-args [ARCH] were not consumed 16:15:33 Successfully built bebb5ca047b5 16:15:33 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:33 provisioning config files... 16:15:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9068838616640194493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:33 ---> docker-login.sh 16:15:33 nexus3.edgexfoundry.org:10001 16:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:33 Configure a credential helper to remove this warning. See 16:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:33 16:15:33 Login Succeeded 16:15:33 nexus3.edgexfoundry.org:10002 16:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:33 Configure a credential helper to remove this warning. See 16:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:33 16:15:33 Login Succeeded 16:15:33 nexus3.edgexfoundry.org:10003 16:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:33 Configure a credential helper to remove this warning. See 16:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:33 16:15:33 Login Succeeded 16:15:33 nexus3.edgexfoundry.org:10004 16:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:34 Configure a credential helper to remove this warning. See 16:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:34 16:15:34 Login Succeeded 16:15:34 docker.io 16:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:34 Configure a credential helper to remove this warning. See 16:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:34 16:15:34 Login Succeeded 16:15:34 ---> docker-login.sh ends [Pipeline] } 16:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:15:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:34 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:15:34 c91cc494b17f60a6c3435008630f1c4da06e6238 16:15:34 latest 16:15:34 2.3.0-dev.7 16:15:34 c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:15:34 main 16:15:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238 16:15:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:15:35 9d24717459e3: Preparing 16:15:35 ce7ed43aa12b: Preparing 16:15:35 1e3da5c489bc: Preparing 16:15:35 550e596c6d0e: Preparing 16:15:35 1207169bf42c: Preparing 16:15:35 ae87eff8eff0: Preparing 16:15:35 381b1df585dc: Preparing 16:15:35 62d3f7b00da4: Preparing 16:15:35 2de7cfcaf503: Preparing 16:15:35 ccd7b4f41ed1: Preparing 16:15:35 670750cfab22: Preparing 16:15:35 994393dc58e7: Preparing 16:15:35 ae87eff8eff0: Waiting 16:15:35 381b1df585dc: Waiting 16:15:35 62d3f7b00da4: Waiting 16:15:35 2de7cfcaf503: Waiting 16:15:35 670750cfab22: Waiting 16:15:35 994393dc58e7: Waiting 16:15:35 1e3da5c489bc: Pushed 16:15:35 9d24717459e3: Pushed 16:15:35 ce7ed43aa12b: Pushed 16:15:35 1207169bf42c: Pushed 16:15:35 ae87eff8eff0: Pushed 16:15:35 62d3f7b00da4: Pushed 16:15:35 2de7cfcaf503: Pushed 16:15:35 381b1df585dc: Pushed 16:15:35 994393dc58e7: Layer already exists 16:15:37 550e596c6d0e: Pushed 16:15:38 ccd7b4f41ed1: Pushed 16:15:44 670750cfab22: Pushed 16:15:44 c91cc494b17f60a6c3435008630f1c4da06e6238: digest: sha256:ca2cbeb4c165931fc6bf6472219a703f30cb9c2c9fed0b741884131546210ba7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:15:45 9d24717459e3: Preparing 16:15:45 ce7ed43aa12b: Preparing 16:15:45 1e3da5c489bc: Preparing 16:15:45 550e596c6d0e: Preparing 16:15:45 1207169bf42c: Preparing 16:15:45 ae87eff8eff0: Preparing 16:15:45 381b1df585dc: Preparing 16:15:45 62d3f7b00da4: Preparing 16:15:45 2de7cfcaf503: Preparing 16:15:45 ccd7b4f41ed1: Preparing 16:15:45 670750cfab22: Preparing 16:15:45 994393dc58e7: Preparing 16:15:45 381b1df585dc: Waiting 16:15:45 670750cfab22: Waiting 16:15:45 994393dc58e7: Waiting 16:15:45 62d3f7b00da4: Waiting 16:15:45 ae87eff8eff0: Waiting 16:15:45 2de7cfcaf503: Waiting 16:15:45 ccd7b4f41ed1: Waiting 16:15:45 ce7ed43aa12b: Layer already exists 16:15:45 550e596c6d0e: Layer already exists 16:15:45 9d24717459e3: Layer already exists 16:15:45 1e3da5c489bc: Layer already exists 16:15:45 1207169bf42c: Layer already exists 16:15:45 ae87eff8eff0: Layer already exists 16:15:45 381b1df585dc: Layer already exists 16:15:45 62d3f7b00da4: Layer already exists 16:15:45 2de7cfcaf503: Layer already exists 16:15:45 ccd7b4f41ed1: Layer already exists 16:15:45 670750cfab22: Layer already exists 16:15:45 994393dc58e7: Layer already exists 16:15:45 latest: digest: sha256:ca2cbeb4c165931fc6bf6472219a703f30cb9c2c9fed0b741884131546210ba7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.7 16:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:15:46 9d24717459e3: Preparing 16:15:46 ce7ed43aa12b: Preparing 16:15:46 1e3da5c489bc: Preparing 16:15:46 550e596c6d0e: Preparing 16:15:46 1207169bf42c: Preparing 16:15:46 ae87eff8eff0: Preparing 16:15:46 381b1df585dc: Preparing 16:15:46 62d3f7b00da4: Preparing 16:15:46 2de7cfcaf503: Preparing 16:15:46 ccd7b4f41ed1: Preparing 16:15:46 670750cfab22: Preparing 16:15:46 994393dc58e7: Preparing 16:15:46 670750cfab22: Waiting 16:15:46 62d3f7b00da4: Waiting 16:15:46 2de7cfcaf503: Waiting 16:15:46 994393dc58e7: Waiting 16:15:46 ae87eff8eff0: Waiting 16:15:46 ccd7b4f41ed1: Waiting 16:15:46 381b1df585dc: Waiting 16:15:46 1207169bf42c: Layer already exists 16:15:46 ce7ed43aa12b: Layer already exists 16:15:46 550e596c6d0e: Layer already exists 16:15:46 9d24717459e3: Layer already exists 16:15:46 1e3da5c489bc: Layer already exists 16:15:46 ae87eff8eff0: Layer already exists 16:15:46 62d3f7b00da4: Layer already exists 16:15:46 ccd7b4f41ed1: Layer already exists 16:15:46 2de7cfcaf503: Layer already exists 16:15:46 381b1df585dc: Layer already exists 16:15:46 670750cfab22: Layer already exists 16:15:46 994393dc58e7: Layer already exists 16:15:46 2.3.0-dev.7: digest: sha256:ca2cbeb4c165931fc6bf6472219a703f30cb9c2c9fed0b741884131546210ba7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:46 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:15:46 9d24717459e3: Preparing 16:15:46 ce7ed43aa12b: Preparing 16:15:46 1e3da5c489bc: Preparing 16:15:46 550e596c6d0e: Preparing 16:15:46 1207169bf42c: Preparing 16:15:46 ae87eff8eff0: Preparing 16:15:46 381b1df585dc: Preparing 16:15:46 62d3f7b00da4: Preparing 16:15:46 2de7cfcaf503: Preparing 16:15:46 ccd7b4f41ed1: Preparing 16:15:46 670750cfab22: Preparing 16:15:46 994393dc58e7: Preparing 16:15:46 381b1df585dc: Waiting 16:15:46 ae87eff8eff0: Waiting 16:15:46 62d3f7b00da4: Waiting 16:15:46 2de7cfcaf503: Waiting 16:15:46 670750cfab22: Waiting 16:15:46 550e596c6d0e: Layer already exists 16:15:46 ce7ed43aa12b: Layer already exists 16:15:46 1207169bf42c: Layer already exists 16:15:46 1e3da5c489bc: Layer already exists 16:15:46 9d24717459e3: Layer already exists 16:15:46 ae87eff8eff0: Layer already exists 16:15:46 381b1df585dc: Layer already exists 16:15:46 ccd7b4f41ed1: Layer already exists 16:15:46 62d3f7b00da4: Layer already exists 16:15:46 2de7cfcaf503: Layer already exists 16:15:46 994393dc58e7: Layer already exists 16:15:46 670750cfab22: Layer already exists 16:15:46 c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7: digest: sha256:ca2cbeb4c165931fc6bf6472219a703f30cb9c2c9fed0b741884131546210ba7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:47 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:47 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 16:15:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:15:47 9d24717459e3: Preparing 16:15:47 ce7ed43aa12b: Preparing 16:15:47 1e3da5c489bc: Preparing 16:15:47 550e596c6d0e: Preparing 16:15:47 1207169bf42c: Preparing 16:15:47 ae87eff8eff0: Preparing 16:15:47 381b1df585dc: Preparing 16:15:47 62d3f7b00da4: Preparing 16:15:47 2de7cfcaf503: Preparing 16:15:47 ccd7b4f41ed1: Preparing 16:15:47 670750cfab22: Preparing 16:15:47 994393dc58e7: Preparing 16:15:47 ae87eff8eff0: Waiting 16:15:47 2de7cfcaf503: Waiting 16:15:47 ccd7b4f41ed1: Waiting 16:15:47 381b1df585dc: Waiting 16:15:47 670750cfab22: Waiting 16:15:47 62d3f7b00da4: Waiting 16:15:47 994393dc58e7: Waiting 16:15:47 1207169bf42c: Layer already exists 16:15:47 1e3da5c489bc: Layer already exists 16:15:47 ce7ed43aa12b: Layer already exists 16:15:47 550e596c6d0e: Layer already exists 16:15:47 9d24717459e3: Layer already exists 16:15:47 ae87eff8eff0: Layer already exists 16:15:47 381b1df585dc: Layer already exists 16:15:47 ccd7b4f41ed1: Layer already exists 16:15:47 62d3f7b00da4: Layer already exists 16:15:47 2de7cfcaf503: Layer already exists 16:15:47 994393dc58e7: Layer already exists 16:15:47 670750cfab22: Layer already exists 16:15:47 main: digest: sha256:ca2cbeb4c165931fc6bf6472219a703f30cb9c2c9fed0b741884131546210ba7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:15:47 ===================================================== [Pipeline] echo 16:15:47 taggedImages: 16:15:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238 16:15:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:15:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.7 16:15:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:15:47 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:47 16:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:48 latest: Pulling from edgex-lftools-log-publisher 16:15:48 5eb5b503b376: Pulling fs layer 16:15:48 5c69ac0246d0: Pulling fs layer 16:15:48 ec43610c2a17: Pulling fs layer 16:15:48 3a2ae6a8a46f: Pulling fs layer 16:15:48 33b1e0a273af: Pulling fs layer 16:15:48 5d3b04190fa2: Pulling fs layer 16:15:48 2f39f015ded8: Pulling fs layer 16:15:48 33b1e0a273af: Waiting 16:15:48 3a2ae6a8a46f: Waiting 16:15:48 2f39f015ded8: Waiting 16:15:48 5d3b04190fa2: Waiting 16:15:48 5c69ac0246d0: Download complete 16:15:48 3a2ae6a8a46f: Verifying Checksum 16:15:48 3a2ae6a8a46f: Download complete 16:15:48 33b1e0a273af: Verifying Checksum 16:15:48 33b1e0a273af: Download complete 16:15:48 5d3b04190fa2: Download complete 16:15:48 ec43610c2a17: Download complete 16:15:48 5eb5b503b376: Verifying Checksum 16:15:48 5eb5b503b376: Download complete 16:15:48 2f39f015ded8: Download complete 16:15:49 5eb5b503b376: Pull complete 16:15:49 5c69ac0246d0: Pull complete 16:15:50 ec43610c2a17: Pull complete 16:15:50 3a2ae6a8a46f: Pull complete 16:15:50 33b1e0a273af: Pull complete 16:15:50 5d3b04190fa2: Pull complete 16:15:55 2f39f015ded8: Pull complete 16:15:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:55 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:16:00 $ docker top f8b87b7807932e2941f32e546f8b907a1f932f706c77f2b715bfaee0d074e551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:00 ---> job-cost.sh 16:16:00 lf-activate-venv: SKIPPING 16:16:00 INFO: No Stack... 16:16:00 INFO: Retrieving Pricing Info for: v3-standard-8 16:16:01 INFO: Archiving Costs [Pipeline] sh 16:16:01 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 16:16:01 + cut -d, -f6 [Pipeline] lock 16:16:01 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] 16:16:01 Resource [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] did not exist. Created. 16:16:01 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:16:01 + echo total: 0.2199999988079071 [Pipeline] stash 16:16:01 Stashed 1 file(s) [Pipeline] } 16:16:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 16:16:01 $ docker stop --time=1 f8b87b7807932e2941f32e546f8b907a1f932f706c77f2b715bfaee0d074e551 16:16:03 $ docker rm -f f8b87b7807932e2941f32e546f8b907a1f932f706c77f2b715bfaee0d074e551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29960 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 16:16:24 Running in /w/workspace/device-usb-camera/46 [Pipeline] { [Pipeline] checkout 16:16:24 Selected Git installation does not exist. Using Default 16:16:24 The recommended git tool is: NONE 16:16:31 using credential edgex-jenkins-ssh 16:16:31 Cloning the remote Git repository 16:16:31 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:16:31 > git init /w/workspace/device-usb-camera/46 # timeout=10 16:16:32 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:16:32 > git --version # timeout=10 16:16:32 > git --version # 'git version 2.25.1' 16:16:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:33 Avoid second fetch 16:16:33 Checking out Revision c91cc494b17f60a6c3435008630f1c4da06e6238 (main) 16:16:32 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:16:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:33 > git config core.sparsecheckout # timeout=10 16:16:33 > git checkout -f c91cc494b17f60a6c3435008630f1c4da06e6238 # timeout=10 16:16:37 Commit message: "Merge pull request #84 from farshidtz/rtsp-refactor" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:16:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:16:38 Dload Upload Total Spent Left Speed 16:16:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 16:16:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:16:39 + sudo tee /etc/docker/daemon.new 16:16:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:16:39 { 16:16:39 "registry-mirrors": [ 16:16:39 "https://nexus3.edgexfoundry.org:10001" 16:16:39 ], 16:16:39 "bip": "10.250.0.254/24", 16:16:39 "hosts": [ 16:16:39 "tcp://0.0.0.0:5555", 16:16:39 "unix:///var/run/docker.sock" 16:16:39 ], 16:16:39 "mtu": 1458, 16:16:39 "selinux-enabled": true, 16:16:39 "seccomp-profile": "/etc/docker/seccomp.json" 16:16:39 } [Pipeline] sh 16:16:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:16:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:59 provisioning config files... 16:16:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/46@tmp/config5492916046286259788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:59 ---> docker-login.sh 16:16:59 nexus3.edgexfoundry.org:10001 16:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:00 Configure a credential helper to remove this warning. See 16:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:00 16:17:00 Login Succeeded 16:17:00 nexus3.edgexfoundry.org:10002 16:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:01 Configure a credential helper to remove this warning. See 16:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:01 16:17:01 Login Succeeded 16:17:01 nexus3.edgexfoundry.org:10003 16:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:02 Configure a credential helper to remove this warning. See 16:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:02 16:17:02 Login Succeeded 16:17:02 nexus3.edgexfoundry.org:10004 16:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:02 Configure a credential helper to remove this warning. See 16:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:02 16:17:02 Login Succeeded 16:17:02 docker.io 16:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:03 Configure a credential helper to remove this warning. See 16:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:03 16:17:03 Login Succeeded 16:17:03 ---> docker-login.sh ends [Pipeline] } 16:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:03 ========================================================= 16:17:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:17:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:04 + 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 . 16:17:04 Sending build context to Docker daemon 562.7kB 16:17:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:17:04 Step 2/13 : FROM ${BASE} AS builder 16:17:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:17:04 b3c136eddcbf: Pulling fs layer 16:17:04 c0a3192eca97: Pulling fs layer 16:17:04 a050256f5b6f: Pulling fs layer 16:17:04 656be50a0ddc: Pulling fs layer 16:17:04 2bbca73fdf42: Pulling fs layer 16:17:04 46d945488cbd: Pulling fs layer 16:17:04 8a5474983e97: Pulling fs layer 16:17:04 329c88fbcd65: Pulling fs layer 16:17:04 656be50a0ddc: Waiting 16:17:04 2bbca73fdf42: Waiting 16:17:04 8a5474983e97: Waiting 16:17:04 46d945488cbd: Waiting 16:17:04 329c88fbcd65: Waiting 16:17:04 a050256f5b6f: Verifying Checksum 16:17:04 a050256f5b6f: Download complete 16:17:04 c0a3192eca97: Verifying Checksum 16:17:04 c0a3192eca97: Download complete 16:17:05 2bbca73fdf42: Verifying Checksum 16:17:05 2bbca73fdf42: Download complete 16:17:05 46d945488cbd: Verifying Checksum 16:17:05 46d945488cbd: Download complete 16:17:05 b3c136eddcbf: Download complete 16:17:06 b3c136eddcbf: Pull complete 16:17:06 329c88fbcd65: Verifying Checksum 16:17:06 329c88fbcd65: Download complete 16:17:06 c0a3192eca97: Pull complete 16:17:06 a050256f5b6f: Pull complete 16:17:07 8a5474983e97: Verifying Checksum 16:17:07 8a5474983e97: Download complete 16:17:08 656be50a0ddc: Verifying Checksum 16:17:08 656be50a0ddc: Download complete 16:17:23 656be50a0ddc: Pull complete 16:17:23 2bbca73fdf42: Pull complete 16:17:23 46d945488cbd: Pull complete 16:17:28 8a5474983e97: Pull complete 16:17:31 329c88fbcd65: Pull complete 16:17:31 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:17:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:17:31 ---> ff4287adb874 16:17:31 Step 3/13 : ARG MAKE="make build" 16:17:32 ---> Running in 92b77d872676 16:17:32 Removing intermediate container 92b77d872676 16:17:32 ---> c756bb7b62dc 16:17:32 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:17:33 ---> Running in 6f26c8dbdd57 16:17:33 Removing intermediate container 6f26c8dbdd57 16:17:33 ---> 1e19fdeb406b 16:17:33 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:17:33 ---> Running in 9ca1709dddc3 16:17:34 Removing intermediate container 9ca1709dddc3 16:17:34 ---> a45596e9493f 16:17:34 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:34 ---> Running in 6154569b613e 16:17:36 Removing intermediate container 6154569b613e 16:17:36 ---> 8500086c73ac 16:17:36 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:36 ---> Running in 4a7dbd521e49 16:17:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:17:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:17:39 (1/14) Installing libintl (0.21-r2) 16:17:39 (2/14) Installing eudev-libs (3.2.11-r0) 16:17:39 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:17:39 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:17:39 (5/14) Installing v4l-utils (1.22.1-r1) 16:17:39 (6/14) Installing udev-init-scripts (35-r0) 16:17:40 Executing udev-init-scripts-35-r0.post-install 16:17:40 (7/14) Installing libblkid (2.38-r1) 16:17:40 (8/14) Installing xz-libs (5.2.5-r1) 16:17:40 (9/14) Installing zstd-libs (1.5.2-r1) 16:17:40 (10/14) Installing kmod-libs (29-r2) 16:17:40 (11/14) Installing eudev (3.2.11-r0) 16:17:40 (12/14) Installing eudev-dev (3.2.11-r0) 16:17:40 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:17:40 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:17:40 Executing busybox-1.35.0-r13.trigger 16:17:40 Executing eudev-3.2.11-r0.trigger 16:17:40 OK: 228 MiB in 65 packages 16:17:42 Removing intermediate container 4a7dbd521e49 16:17:42 ---> bff97c3dc470 16:17:42 Step 8/13 : WORKDIR /device-usb-camera 16:17:42 ---> Running in 48b37a0cf42b 16:17:42 Removing intermediate container 48b37a0cf42b 16:17:42 ---> ad12e0fb01ed 16:17:42 Step 9/13 : COPY go.mod vendor* ./ 16:17:43 ---> a4950be93e77 16:17:43 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:43 ---> Running in ece7988eaa8e 16:18:39 Removing intermediate container ece7988eaa8e 16:18:39 ---> 9fed62dd5640 16:18:39 Step 11/13 : COPY . . 16:18:39 ---> 6ea6ded8b300 16:18:39 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:18:39 ---> Running in c992c9d8c25c 16:18:39  % Total % Received % Xferd Average Speed Time Time Time Current 16:18:39 Dload Upload Total Spent Left Speed 16:18:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13639 0 --:--:-- --:--:-- --:--:-- 13792 16:18:39 Removing intermediate container c992c9d8c25c 16:18:39 ---> 3f284373e7f5 16:18:39 Step 13/13 : RUN ${MAKE} 16:18:39 ---> Running in 6ab6e21c3596 16:18:40 noop 16:18:40 Removing intermediate container 6ab6e21c3596 16:18:40 ---> da686af1abaf 16:18:40 Successfully built da686af1abaf 16:18:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:41 + docker inspect -f . ci-base-image-arm64 16:18:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:41 prd-ubuntu20.04-docker-arm64-4c-16g-29960 does not seem to be running inside a container 16:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@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 16:18:42 $ docker top e9bb0dafb0dad2794c958b4ef948695117d5de241dc2b8d02d0f460f8177bbd0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:43 + go version 16:18:43 go version go1.18.3 linux/arm64 [Pipeline] } 16:18:43 $ docker stop --time=1 e9bb0dafb0dad2794c958b4ef948695117d5de241dc2b8d02d0f460f8177bbd0 16:18:45 $ docker rm -f e9bb0dafb0dad2794c958b4ef948695117d5de241dc2b8d02d0f460f8177bbd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:46 + docker inspect -f . ci-base-image-arm64 16:18:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:46 prd-ubuntu20.04-docker-arm64-4c-16g-29960 does not seem to be running inside a container 16:18:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@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 16:18:47 $ docker top 3d4d7e52dc7a7d7a1ed2d504a14527e898b77905910f9cea228c34d8c1178a4f -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:48 + git config --global --add safe.directory /w/workspace/device-usb-camera/46 [Pipeline] fileExists [Pipeline] sh 16:18:49 + make test 16:18:49 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:18:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:20:27 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:20:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 1.9% of statements 16:20:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:20:31 CGO_ENABLED=1 go vet ./... 16:20:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:53 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:53 $ docker stop --time=1 3d4d7e52dc7a7d7a1ed2d504a14527e898b77905910f9cea228c34d8c1178a4f 16:20:55 $ docker rm -f 3d4d7e52dc7a7d7a1ed2d504a14527e898b77905910f9cea228c34d8c1178a4f [Pipeline] // withDockerContainer [Pipeline] sh 16:20:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:56 Warning: overwriting stash ‘coverage-report’ 16:20:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:57 + ls -al . 16:20:57 total 196 16:20:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 16:18 . 16:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 16:16 .. 16:20:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 16:16 .git 16:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:16 .github 16:20:57 -rw-rw-r-- 1 jenkins jenkins 414 Sep 20 16:16 .gitignore 16:20:57 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 16:16 .golangci.yml 16:20:57 -rw-rw-r-- 1 jenkins jenkins 77 Sep 20 16:16 .hadolint.yml 16:20:57 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 20 16:16 Attribution.txt 16:20:57 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 20 16:16 CHANGELOG.md 16:20:57 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 20 16:16 Dockerfile 16:20:57 -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 16:16 GOVERNANCE.md 16:20:57 -rw-rw-r-- 1 jenkins jenkins 659 Sep 20 16:16 Jenkinsfile 16:20:57 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 16:16 LICENSE 16:20:57 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 20 16:16 Makefile 16:20:57 -rw-rw-r-- 1 jenkins jenkins 622 Sep 20 16:16 OWNERS.md 16:20:57 -rw-rw-r-- 1 jenkins jenkins 12817 Sep 20 16:16 README.md 16:20:57 -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 16:13 VERSION 16:20:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 16:16 bin 16:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:16 cmd 16:20:57 -rw-r--r-- 1 jenkins jenkins 29387 Sep 20 16:20 coverage.out 16:20:57 -rwxrwxr-x 1 jenkins jenkins 140 Sep 20 16:16 docker-entrypoint.sh 16:20:57 -rw-rw-r-- 1 jenkins jenkins 3606 Sep 20 16:16 go.mod 16:20:57 -rw-rw-r-- 1 jenkins jenkins 37073 Sep 20 16:16 go.sum 16:20:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 16:16 internal 16:20:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 16:16 snap 16:20:57 -rw-rw-r-- 1 jenkins jenkins 231 Sep 20 16:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:57 + 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=c91cc494b17f60a6c3435008630f1c4da06e6238 --label arch=arm64 --label version=2.3.0-dev.7 . 16:20:58 Sending build context to Docker daemon 592.9kB 16:20:58 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:20:58 Step 2/35 : FROM ${BASE} AS builder 16:20:58 ---> da686af1abaf 16:20:58 Step 3/35 : ARG MAKE="make build" 16:20:58 ---> Running in 190bedab679c 16:20:58 Removing intermediate container 190bedab679c 16:20:58 ---> 5d1bc48d50b1 16:20:58 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:20:58 ---> Running in f5dbde2a50e9 16:20:58 Removing intermediate container f5dbde2a50e9 16:20:58 ---> 0d7ceb96d14e 16:20:58 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:20:58 ---> Running in 6ccf069860ba 16:20:59 Removing intermediate container 6ccf069860ba 16:20:59 ---> 04779150b5d9 16:20:59 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:59 ---> Running in 2d7be5366d2f 16:21:00 Removing intermediate container 2d7be5366d2f 16:21:00 ---> c0664c90bde3 16:21:00 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:00 ---> Running in 76328ea53de5 16:21:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:03 OK: 228 MiB in 65 packages 16:21:04 Removing intermediate container 76328ea53de5 16:21:04 ---> 0b352d78515f 16:21:04 Step 8/35 : WORKDIR /device-usb-camera 16:21:04 ---> Running in 0709fb91c4b8 16:21:05 Removing intermediate container 0709fb91c4b8 16:21:05 ---> a4fc3aa2d6dd 16:21:05 Step 9/35 : COPY go.mod vendor* ./ 16:21:05 ---> 1e0819c18f3e 16:21:05 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:05 ---> Running in 691be65c59c0 16:21:07 Removing intermediate container 691be65c59c0 16:21:07 ---> 576a6fa63799 16:21:07 Step 11/35 : COPY . . 16:21:08 ---> 944e5f4cff72 16:21:08 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:21:08 ---> Running in 7f71670ff8da 16:21:09  % Total % Received % Xferd Average Speed Time Time Time Current 16:21:09 Dload Upload Total Spent Left Speed 16:21:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6151 0 --:--:-- --:--:-- --:--:-- 6174 16:21:10 Removing intermediate container 7f71670ff8da 16:21:10 ---> f36ec869dc83 16:21:10 Step 13/35 : RUN ${MAKE} 16:21:10 ---> Running in 95d7ae0a6a2a 16:21:11 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:23:48 Removing intermediate container 95d7ae0a6a2a 16:23:48 ---> 826dceebde42 16:23:48 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:23:48 v0.18.4: Pulling from aler9/rtsp-simple-server 16:23:48 eab2503cf8f4: Pulling fs layer 16:23:48 97cd0a44c592: Pulling fs layer 16:23:48 97cd0a44c592: Download complete 16:23:48 eab2503cf8f4: Verifying Checksum 16:23:48 eab2503cf8f4: Download complete 16:23:48 eab2503cf8f4: Pull complete 16:23:48 97cd0a44c592: Pull complete 16:23:48 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:23:48 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:23:48 ---> 7f763cca56b3 16:23:48 Step 15/35 : FROM alpine:3.16 16:23:48 3.16: Pulling from library/alpine 16:23:48 9b18e9b68314: Pulling fs layer 16:23:48 9b18e9b68314: Verifying Checksum 16:23:48 9b18e9b68314: Download complete 16:23:48 9b18e9b68314: Pull complete 16:23:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:23:48 Status: Downloaded newer image for alpine:3.16 16:23:48 ---> a6215f271958 16:23:48 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:23:48 ---> Running in 62e8ca28ca3d 16:23:48 Removing intermediate container 62e8ca28ca3d 16:23:48 ---> 8265f47d0460 16:23:48 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:23:48 ---> Running in d36ec2cdf124 16:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:23:48 (1/82) Installing dumb-init (1.2.5-r1) 16:23:48 (2/82) Installing sdl2 (2.0.22-r0) 16:23:48 (3/82) Installing libxau (1.0.9-r0) 16:23:48 (4/82) Installing libxdmcp (1.1.3-r0) 16:23:48 (5/82) Installing libxcb (1.15-r0) 16:23:48 (6/82) Installing libx11 (1.8-r0) 16:23:48 (7/82) Installing aom-libs (3.3.0-r0) 16:23:48 (8/82) Installing alsa-lib (1.2.7.2-r0) 16:23:48 (9/82) Installing expat (2.4.8-r0) 16:23:48 (10/82) Installing brotli-libs (1.0.9-r6) 16:23:48 (11/82) Installing libbz2 (1.0.8-r1) 16:23:48 (12/82) Installing libpng (1.6.37-r1) 16:23:48 (13/82) Installing freetype (2.12.1-r0) 16:23:48 (14/82) Installing fontconfig (2.14.0-r0) 16:23:48 (15/82) Installing fribidi (1.0.12-r0) 16:23:48 (16/82) Installing libffi (3.4.2-r1) 16:23:48 (17/82) Installing libintl (0.21-r2) 16:23:48 (18/82) Installing libblkid (2.38-r1) 16:23:48 (19/82) Installing libmount (2.38-r1) 16:23:48 (20/82) Installing pcre (8.45-r2) 16:23:48 (21/82) Installing glib (2.72.1-r0) 16:23:48 (22/82) Installing graphite2 (1.3.14-r1) 16:23:48 (23/82) Installing harfbuzz (4.3.0-r0) 16:23:48 (24/82) Installing libass (0.16.0-r0) 16:23:48 (25/82) Installing libdav1d (1.0.0-r0) 16:23:48 (26/82) Installing libdrm (2.4.110-r0) 16:23:48 (27/82) Installing gmp (6.2.1-r2) 16:23:48 (28/82) Installing nettle (3.7.3-r0) 16:23:48 (29/82) Installing p11-kit (0.24.1-r0) 16:23:48 (30/82) Installing libtasn1 (4.18.0-r0) 16:23:48 (31/82) Installing libunistring (1.0-r0) 16:23:48 (32/82) Installing gnutls (3.7.7-r0) 16:23:48 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:23:48 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 16:23:48 (35/82) Installing lame (3.100-r0) 16:23:48 (36/82) Installing opus (1.3.1-r1) 16:23:48 (37/82) Installing libasyncns (0.8-r1) 16:23:48 (38/82) Installing dbus-libs (1.14.0-r1) 16:23:48 (39/82) Installing libltdl (2.4.7-r0) 16:23:48 (40/82) Installing orc (0.4.32-r0) 16:23:48 (41/82) Installing libgcc (11.2.1_git20220219-r2) 16:23:48 (42/82) Installing libogg (1.3.5-r1) 16:23:48 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 16:23:48 (44/82) Installing flac (1.3.4-r0) 16:23:48 (45/82) Installing libvorbis (1.3.7-r0) 16:23:48 (46/82) Installing libsndfile (1.1.0-r0) 16:23:48 (47/82) Installing libgomp (11.2.1_git20220219-r2) 16:23:48 (48/82) Installing soxr (0.1.3-r2) 16:23:48 (49/82) Installing speexdsp (1.2.0-r0) 16:23:48 (50/82) Installing tdb-libs (1.4.6-r0) 16:23:48 (51/82) Installing libpulse (15.0-r2) 16:23:48 (52/82) Installing cjson (1.7.15-r3) 16:23:48 (53/82) Installing mbedtls (2.28.1-r0) 16:23:48 (54/82) Installing librist (0.2.6-r1) 16:23:48 (55/82) Installing libsrt (1.4.4-r0) 16:23:48 (56/82) Installing libssh (0.9.6-r1) 16:23:48 (57/82) Installing libtheora (1.1.1-r16) 16:23:48 (58/82) Installing libjpeg-turbo (2.1.3-r1) 16:23:48 (59/82) Installing v4l-utils-libs (1.22.1-r1) 16:23:48 (60/82) Installing libxext (1.3.4-r0) 16:23:48 (61/82) Installing libxfixes (6.0.0-r0) 16:23:48 (62/82) Installing wayland-libs-client (1.20.0-r0) 16:23:48 (63/82) Installing libva (2.14.0-r0) 16:23:48 (64/82) Installing libvdpau (1.5-r0) 16:23:48 (65/82) Installing vidstab (1.1.0-r1) 16:23:48 (66/82) Installing libvpx (1.11.0-r1) 16:23:48 (67/82) Installing libwebp (1.2.3-r0) 16:23:48 (68/82) Installing x264-libs (0.163_git20210613-r0) 16:23:48 (69/82) Installing numactl (2.0.14-r0) 16:23:48 (70/82) Installing x265-libs (3.5-r3) 16:23:48 (71/82) Installing xvidcore (1.3.7-r1) 16:23:48 (72/82) Installing ffmpeg-libs (5.0.1-r1) 16:23:48 (73/82) Installing ffmpeg (5.0.1-r1) 16:23:48 (74/82) Installing udev-init-scripts (35-r0) 16:23:48 Executing udev-init-scripts-35-r0.post-install 16:23:48 (75/82) Installing eudev-libs (3.2.11-r0) 16:23:48 (76/82) Installing xz-libs (5.2.5-r1) 16:23:48 (77/82) Installing zstd-libs (1.5.2-r1) 16:23:48 (78/82) Installing kmod-libs (29-r2) 16:23:48 (79/82) Installing eudev (3.2.11-r0) 16:23:48 (80/82) Installing libsodium (1.0.18-r0) 16:23:48 (81/82) Installing libzmq (4.3.4-r0) 16:23:48 (82/82) Installing zeromq (4.3.4-r0) 16:23:48 Executing busybox-1.35.0-r17.trigger 16:23:48 Executing eudev-3.2.11-r0.trigger 16:23:48 OK: 78 MiB in 96 packages 16:23:48 Removing intermediate container d36ec2cdf124 16:23:48 ---> e990fe10d03b 16:23:48 Step 18/35 : WORKDIR / 16:23:48 ---> Running in f7e796cad797 16:23:49 Removing intermediate container f7e796cad797 16:23:49 ---> 3c71d8556b55 16:23:49 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:23:50 ---> 6c985cfe6abd 16:23:50 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:23:51 ---> da4f2c649f30 16:23:51 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:23:52 ---> 362a3024c4f4 16:23:52 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:23:52 ---> ca6448bd3514 16:23:52 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:23:53 ---> 1980a134cc56 16:23:53 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:23:53 ---> bca2ca9bebf4 16:23:53 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:23:55 ---> 550884242e5e 16:23:55 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:23:55 ---> Running in 9918d68fbcd4 16:23:57 Removing intermediate container 9918d68fbcd4 16:23:57 ---> 5fde80d8fd9f 16:23:57 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:23:57 ---> Running in 1e1436547ed4 16:23:59 Removing intermediate container 1e1436547ed4 16:23:59 ---> 4073650c249f 16:23:59 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:23:59 ---> Running in 1dc1ac1c45d7 16:24:00 Removing intermediate container 1dc1ac1c45d7 16:24:00 ---> 741430824b08 16:24:00 Step 29/35 : EXPOSE 59983 16:24:00 ---> Running in 275070ceca86 16:24:01 Removing intermediate container 275070ceca86 16:24:01 ---> 6d17157b55ab 16:24:01 Step 30/35 : EXPOSE 8554 16:24:01 ---> Running in 0648aad9fe02 16:24:01 Removing intermediate container 0648aad9fe02 16:24:01 ---> b4a3bb875b0d 16:24:01 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:24:01 ---> Running in 2241a15a1747 16:24:01 Removing intermediate container 2241a15a1747 16:24:01 ---> 4d265a5e0554 16:24:01 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:24:02 ---> Running in 4792ba3b0f21 16:24:02 Removing intermediate container 4792ba3b0f21 16:24:02 ---> 3e9da1888b01 16:24:02 Step 33/35 : LABEL arch=arm64 16:24:02 ---> Running in 9f8e1bfe9f0d 16:24:02 Removing intermediate container 9f8e1bfe9f0d 16:24:02 ---> 1cd3fdeef864 16:24:02 Step 34/35 : LABEL git_sha=c91cc494b17f60a6c3435008630f1c4da06e6238 16:24:02 ---> Running in 0908d0bd3bc4 16:24:03 Removing intermediate container 0908d0bd3bc4 16:24:03 ---> 511925286798 16:24:03 Step 35/35 : LABEL version=2.3.0-dev.7 16:24:03 ---> Running in fd73bbccbed9 16:24:03 Removing intermediate container fd73bbccbed9 16:24:03 ---> ed2563cab4a1 16:24:03 [Warning] One or more build-args [ARCH] were not consumed 16:24:03 Successfully built ed2563cab4a1 16:24:03 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 16:24:03 provisioning config files... 16:24:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/46@tmp/config3235301505117984147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:04 ---> docker-login.sh 16:24:04 nexus3.edgexfoundry.org:10001 16:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:04 Configure a credential helper to remove this warning. See 16:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:04 16:24:04 Login Succeeded 16:24:04 nexus3.edgexfoundry.org:10002 16:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:04 Configure a credential helper to remove this warning. See 16:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:04 16:24:04 Login Succeeded 16:24:05 nexus3.edgexfoundry.org:10003 16:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:05 Configure a credential helper to remove this warning. See 16:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:05 16:24:05 Login Succeeded 16:24:05 nexus3.edgexfoundry.org:10004 16:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:05 Configure a credential helper to remove this warning. See 16:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:05 16:24:05 Login Succeeded 16:24:05 docker.io 16:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:06 Configure a credential helper to remove this warning. See 16:24:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:06 16:24:06 Login Succeeded 16:24:06 ---> docker-login.sh ends [Pipeline] } 16:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:06 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 16:24:06 c91cc494b17f60a6c3435008630f1c4da06e6238 16:24:06 latest 16:24:06 2.3.0-dev.7 16:24:06 c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:24:06 main 16:24:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:07 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238 16:24:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:24:07 f85e81ce1735: Preparing 16:24:07 5bbe97afd032: Preparing 16:24:07 8dc268494351: Preparing 16:24:07 a43932d1df72: Preparing 16:24:07 1207169bf42c: Preparing 16:24:07 dd8763e7d3a2: Preparing 16:24:07 12e87574ccaa: Preparing 16:24:07 48385190e75d: Preparing 16:24:07 8adcd24dc611: Preparing 16:24:07 5b2deeafe22d: Preparing 16:24:07 a07f563378f9: Preparing 16:24:07 5d3e392a13a0: Preparing 16:24:07 12e87574ccaa: Waiting 16:24:07 dd8763e7d3a2: Waiting 16:24:07 8adcd24dc611: Waiting 16:24:07 48385190e75d: Waiting 16:24:07 5b2deeafe22d: Waiting 16:24:07 a07f563378f9: Waiting 16:24:07 5d3e392a13a0: Waiting 16:24:07 5bbe97afd032: Pushed 16:24:07 f85e81ce1735: Pushed 16:24:07 8dc268494351: Pushed 16:24:07 1207169bf42c: Pushed 16:24:08 dd8763e7d3a2: Pushed 16:24:08 12e87574ccaa: Pushed 16:24:08 48385190e75d: Pushed 16:24:08 8adcd24dc611: Pushed 16:24:08 5d3e392a13a0: Layer already exists 16:24:12 a43932d1df72: Pushed 16:24:14 5b2deeafe22d: Pushed 16:24:26 a07f563378f9: Pushed 16:24:26 c91cc494b17f60a6c3435008630f1c4da06e6238: digest: sha256:48dfb12c25169a9d92f27c49313521c0415a863a798ddd325c2575a24a139d38 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:27 + 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 16:24:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:24:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:24:27 f85e81ce1735: Preparing 16:24:27 5bbe97afd032: Preparing 16:24:27 8dc268494351: Preparing 16:24:27 a43932d1df72: Preparing 16:24:27 1207169bf42c: Preparing 16:24:27 dd8763e7d3a2: Preparing 16:24:27 12e87574ccaa: Preparing 16:24:27 48385190e75d: Preparing 16:24:27 8adcd24dc611: Preparing 16:24:27 5b2deeafe22d: Preparing 16:24:27 a07f563378f9: Preparing 16:24:27 5d3e392a13a0: Preparing 16:24:27 8adcd24dc611: Waiting 16:24:27 5b2deeafe22d: Waiting 16:24:27 dd8763e7d3a2: Waiting 16:24:27 a07f563378f9: Waiting 16:24:27 5d3e392a13a0: Waiting 16:24:27 12e87574ccaa: Waiting 16:24:27 48385190e75d: Waiting 16:24:27 f85e81ce1735: Layer already exists 16:24:27 1207169bf42c: Layer already exists 16:24:27 a43932d1df72: Layer already exists 16:24:27 5bbe97afd032: Layer already exists 16:24:27 8dc268494351: Layer already exists 16:24:27 dd8763e7d3a2: Layer already exists 16:24:27 8adcd24dc611: Layer already exists 16:24:27 48385190e75d: Layer already exists 16:24:27 5b2deeafe22d: Layer already exists 16:24:27 12e87574ccaa: Layer already exists 16:24:27 5d3e392a13a0: Layer already exists 16:24:27 a07f563378f9: Layer already exists 16:24:27 latest: digest: sha256:48dfb12c25169a9d92f27c49313521c0415a863a798ddd325c2575a24a139d38 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:28 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.7 16:24:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:24:28 f85e81ce1735: Preparing 16:24:28 5bbe97afd032: Preparing 16:24:28 8dc268494351: Preparing 16:24:28 a43932d1df72: Preparing 16:24:28 1207169bf42c: Preparing 16:24:28 dd8763e7d3a2: Preparing 16:24:28 12e87574ccaa: Preparing 16:24:28 48385190e75d: Preparing 16:24:28 8adcd24dc611: Preparing 16:24:28 5b2deeafe22d: Preparing 16:24:28 a07f563378f9: Preparing 16:24:28 5d3e392a13a0: Preparing 16:24:28 48385190e75d: Waiting 16:24:28 8adcd24dc611: Waiting 16:24:28 5b2deeafe22d: Waiting 16:24:28 a07f563378f9: Waiting 16:24:28 5d3e392a13a0: Waiting 16:24:28 dd8763e7d3a2: Waiting 16:24:28 12e87574ccaa: Waiting 16:24:28 5bbe97afd032: Layer already exists 16:24:28 8dc268494351: Layer already exists 16:24:28 1207169bf42c: Layer already exists 16:24:28 f85e81ce1735: Layer already exists 16:24:28 a43932d1df72: Layer already exists 16:24:29 dd8763e7d3a2: Layer already exists 16:24:29 48385190e75d: Layer already exists 16:24:29 12e87574ccaa: Layer already exists 16:24:29 8adcd24dc611: Layer already exists 16:24:29 5b2deeafe22d: Layer already exists 16:24:29 a07f563378f9: Layer already exists 16:24:29 5d3e392a13a0: Layer already exists 16:24:29 2.3.0-dev.7: digest: sha256:48dfb12c25169a9d92f27c49313521c0415a863a798ddd325c2575a24a139d38 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:29 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:24:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:24:29 f85e81ce1735: Preparing 16:24:29 5bbe97afd032: Preparing 16:24:29 8dc268494351: Preparing 16:24:29 a43932d1df72: Preparing 16:24:29 1207169bf42c: Preparing 16:24:29 dd8763e7d3a2: Preparing 16:24:29 12e87574ccaa: Preparing 16:24:29 48385190e75d: Preparing 16:24:29 8adcd24dc611: Preparing 16:24:29 5b2deeafe22d: Preparing 16:24:29 a07f563378f9: Preparing 16:24:29 5d3e392a13a0: Preparing 16:24:29 8adcd24dc611: Waiting 16:24:29 5b2deeafe22d: Waiting 16:24:29 a07f563378f9: Waiting 16:24:29 5d3e392a13a0: Waiting 16:24:29 dd8763e7d3a2: Waiting 16:24:29 12e87574ccaa: Waiting 16:24:29 48385190e75d: Waiting 16:24:29 f85e81ce1735: Layer already exists 16:24:29 1207169bf42c: Layer already exists 16:24:29 a43932d1df72: Layer already exists 16:24:29 5bbe97afd032: Layer already exists 16:24:29 8dc268494351: Layer already exists 16:24:30 48385190e75d: Layer already exists 16:24:30 12e87574ccaa: Layer already exists 16:24:30 8adcd24dc611: Layer already exists 16:24:30 dd8763e7d3a2: Layer already exists 16:24:30 5b2deeafe22d: Layer already exists 16:24:30 5d3e392a13a0: Layer already exists 16:24:30 a07f563378f9: Layer already exists 16:24:30 c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7: digest: sha256:48dfb12c25169a9d92f27c49313521c0415a863a798ddd325c2575a24a139d38 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:30 + 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 16:24:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 16:24:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 16:24:30 f85e81ce1735: Preparing 16:24:30 5bbe97afd032: Preparing 16:24:30 8dc268494351: Preparing 16:24:30 a43932d1df72: Preparing 16:24:30 1207169bf42c: Preparing 16:24:30 dd8763e7d3a2: Preparing 16:24:30 12e87574ccaa: Preparing 16:24:30 48385190e75d: Preparing 16:24:30 8adcd24dc611: Preparing 16:24:30 5b2deeafe22d: Preparing 16:24:30 a07f563378f9: Preparing 16:24:30 5d3e392a13a0: Preparing 16:24:30 a07f563378f9: Waiting 16:24:30 8adcd24dc611: Waiting 16:24:30 5b2deeafe22d: Waiting 16:24:30 dd8763e7d3a2: Waiting 16:24:30 12e87574ccaa: Waiting 16:24:30 48385190e75d: Waiting 16:24:30 5d3e392a13a0: Waiting 16:24:30 1207169bf42c: Layer already exists 16:24:30 a43932d1df72: Layer already exists 16:24:30 f85e81ce1735: Layer already exists 16:24:30 8dc268494351: Layer already exists 16:24:30 5bbe97afd032: Layer already exists 16:24:31 dd8763e7d3a2: Layer already exists 16:24:31 48385190e75d: Layer already exists 16:24:31 12e87574ccaa: Layer already exists 16:24:31 8adcd24dc611: Layer already exists 16:24:31 5b2deeafe22d: Layer already exists 16:24:31 a07f563378f9: Layer already exists 16:24:31 5d3e392a13a0: Layer already exists 16:24:31 main: digest: sha256:48dfb12c25169a9d92f27c49313521c0415a863a798ddd325c2575a24a139d38 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:31 ===================================================== [Pipeline] echo 16:24:31 taggedImages: 16:24:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238 16:24:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 16:24:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.7 16:24:31 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:c91cc494b17f60a6c3435008630f1c4da06e6238-2.3.0-dev.7 16:24:31 - 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 16:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:31 16:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:32 arm64: Pulling from edgex-lftools-log-publisher 16:24:32 8998bd30e6a1: Pulling fs layer 16:24:32 04944245beec: Pulling fs layer 16:24:32 699f458cf7ca: Pulling fs layer 16:24:32 765212b225bb: Pulling fs layer 16:24:32 f23df028b6ca: Pulling fs layer 16:24:32 d65c8cfc05b1: Pulling fs layer 16:24:32 2437ff75d9bd: Pulling fs layer 16:24:32 765212b225bb: Waiting 16:24:32 f23df028b6ca: Waiting 16:24:32 d65c8cfc05b1: Waiting 16:24:32 2437ff75d9bd: Waiting 16:24:32 04944245beec: Verifying Checksum 16:24:32 04944245beec: Download complete 16:24:32 765212b225bb: Download complete 16:24:32 f23df028b6ca: Verifying Checksum 16:24:32 f23df028b6ca: Download complete 16:24:32 d65c8cfc05b1: Verifying Checksum 16:24:32 d65c8cfc05b1: Download complete 16:24:32 699f458cf7ca: Verifying Checksum 16:24:32 699f458cf7ca: Download complete 16:24:32 8998bd30e6a1: Verifying Checksum 16:24:32 8998bd30e6a1: Download complete 16:24:35 2437ff75d9bd: Verifying Checksum 16:24:35 2437ff75d9bd: Download complete 16:24:37 8998bd30e6a1: Pull complete 16:24:37 04944245beec: Pull complete 16:24:39 699f458cf7ca: Pull complete 16:24:39 765212b225bb: Pull complete 16:24:40 f23df028b6ca: Pull complete 16:24:40 d65c8cfc05b1: Pull complete 16:24:55 2437ff75d9bd: Pull complete 16:24:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:24:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:56 prd-ubuntu20.04-docker-arm64-4c-16g-29960 does not seem to be running inside a container 16:24:56 $ 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/46 -v /w/workspace/device-usb-camera/46:/w/workspace/device-usb-camera/46:rw,z -v /w/workspace/device-usb-camera/46@tmp:/w/workspace/device-usb-camera/46@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 16:24:57 $ docker top 79968cc3e9d2ebf3ac8fd8bc5060355da38e8ee52311edeb8e0a980e4248c1f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:58 ---> job-cost.sh 16:24:59 lf-activate-venv: SKIPPING 16:24:59 INFO: No Stack... 16:24:59 INFO: Retrieving Pricing Info for: v3-standard-4 16:25:00 INFO: Archiving Costs [Pipeline] sh 16:25:01 + cat /w/workspace/device-usb-camera/46/archives/cost.csv 16:25:01 + cut -d, -f6 [Pipeline] lock 16:25:01 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] 16:25:01 Resource [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] did not exist. Created. 16:25:01 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:01 /w/workspace/device-usb-camera/46@tmp/durable-3737105e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:25:02 + echo total: 0.10999999940395355 [Pipeline] stash 16:25:02 Warning: overwriting stash ‘stack-cost’ 16:25:02 Stashed 1 file(s) [Pipeline] } 16:25:02 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:02 $ docker stop --time=1 79968cc3e9d2ebf3ac8fd8bc5060355da38e8ee52311edeb8e0a980e4248c1f8 16:25:04 $ docker rm -f 79968cc3e9d2ebf3ac8fd8bc5060355da38e8ee52311edeb8e0a980e4248c1f8 [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 16:25:04 provisioning config files... 16:25:04 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8433983585141805116tmp [Pipeline] { [Pipeline] sh 16:25:04 + set +x 16:25:04 + curl -s https://codecov.io/bash 16:25:04 + bash -s -- 16:25:04 16:25:04 _____ _ 16:25:04 / ____| | | 16:25:04 | | ___ __| | ___ ___ _____ __ 16:25:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:25:04 | |___| (_) | (_| | __/ (_| (_) \ V / 16:25:04 \_____\___/ \__,_|\___|\___\___/ \_/ 16:25:04 Bash-1.0.6 16:25:04 16:25:04 16:25:04 ==> git version 2.25.1 found 16:25:04 ==> 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 16:25:04 Release-Date: 2020-01-08 16:25:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:25:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:25:04 ==> Jenkins CI detected. 16:25:04 current dir:  /w/workspace/exfoundry_device-usb-camera_main 16:25:04 project root: . 16:25:04 --> token set from env 16:25:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:25:04 ==> Running gcov in . (disable via -X gcov) 16:25:04 ==> Python coveragepy not found 16:25:04 ==> Searching for coverage reports in: 16:25:04 + . 16:25:04 -> Found 1 reports 16:25:04 ==> Detecting git/mercurial file structure 16:25:04 ==> Reading reports 16:25:04 + ./coverage.out bytes=29387 16:25:05 ==> Appending adjustments 16:25:05 https://docs.codecov.io/docs/fixing-reports 16:25:05 + Found adjustments 16:25:05 ==> Gzipping contents 16:25:05 8.0K /tmp/codecov.SbRnVU.gz 16:25:05 ==> Uploading reports 16:25:05 url: https://codecov.io 16:25:05 query: branch=main&commit=c91cc494b17f60a6c3435008630f1c4da06e6238&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:25:05 -> Pinging Codecov 16:25:05 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=c91cc494b17f60a6c3435008630f1c4da06e6238&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:25:05 -> Uploading to 16:25:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/73D8F5FF140700D3E01443B452E23636/c91cc494b17f60a6c3435008630f1c4da06e6238/217f8cf5-be4f-4ef1-a3fa-c0989b7cbf91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T162505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d18f199bd8cd484b40be520f3ac2c395acbb4305b505965da33316bedaed9d6 16:25:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:25:05 Dload Upload Total Spent Left Speed 16:25:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4139 0 0 100 4139 0 18644 --:--:-- --:--:-- --:--:-- 18560 100 4139 0 0 100 4139 0 13266 --:--:-- --:--:-- --:--:-- 13223 16:25:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] } 16:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:25:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:25:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:06 16:25:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:25:06 df9b9388f04a: Pulling fs layer 16:25:06 52dc419b0ee2: Pulling fs layer 16:25:06 25bc292e5bac: Pulling fs layer 16:25:06 114826534d7a: Pulling fs layer 16:25:06 4657fd5d0bcf: Pulling fs layer 16:25:06 6ad1cebc031e: Pulling fs layer 16:25:06 8a3aa393b2d8: Pulling fs layer 16:25:06 114826534d7a: Waiting 16:25:06 8a3aa393b2d8: Waiting 16:25:06 4657fd5d0bcf: Waiting 16:25:06 6ad1cebc031e: Waiting 16:25:06 25bc292e5bac: Download complete 16:25:06 52dc419b0ee2: Download complete 16:25:06 4657fd5d0bcf: Verifying Checksum 16:25:06 4657fd5d0bcf: Download complete 16:25:06 df9b9388f04a: Download complete 16:25:06 df9b9388f04a: Pull complete 16:25:06 6ad1cebc031e: Verifying Checksum 16:25:06 6ad1cebc031e: Download complete 16:25:06 52dc419b0ee2: Pull complete 16:25:06 25bc292e5bac: Pull complete 16:25:07 114826534d7a: Verifying Checksum 16:25:07 114826534d7a: Download complete 16:25:07 8a3aa393b2d8: Verifying Checksum 16:25:07 8a3aa393b2d8: Download complete 16:25:11 114826534d7a: Pull complete 16:25:11 4657fd5d0bcf: Pull complete 16:25:12 6ad1cebc031e: Pull complete 16:25:15 8a3aa393b2d8: Pull complete 16:25:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:25:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:15 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:25:20 $ docker top 9bd269cf234e7c097675ade394cae27557141db787466369213ec5f56551feb7 -eo pid,comm [Pipeline] { [Pipeline] echo 16:25:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 16:25:21 + set -o pipefail 16:25:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 16:25:27 16:25:27 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 16:25:27 16:25:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/d008ddf9-7b93-4864-8965-b47189af38f7 16:25:27 16:25:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:25:27 16:25:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:25:27 16:25:27 [Pipeline] } 16:25:27 $ docker stop --time=1 9bd269cf234e7c097675ade394cae27557141db787466369213ec5f56551feb7 16:25:32 $ docker rm -f 9bd269cf234e7c097675ade394cae27557141db787466369213ec5f56551feb7 [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 16:25:33 + git log --format=format:%s -1 c91cc494b17f60a6c3435008630f1c4da06e6238 [Pipeline] sh 16:25:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:33 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:25:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:34 $ docker top 33d754ea4f8fd17c5712631e62beb9e660399f178d5b422a9a8a8a42e0a57123 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:34 [ssh-agent] Looking for ssh-agent implementation... 16:25:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:34 $ docker exec 33d754ea4f8fd17c5712631e62beb9e660399f178d5b422a9a8a8a42e0a57123 ssh-agent 16:25:34 SSH_AUTH_SOCK=/tmp/ssh-NdHQeKezwCV0/agent.34 16:25:34 SSH_AGENT_PID=40 16:25:34 Running ssh-add (command line suppressed) 16:25:34 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5528426345774187881.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5528426345774187881.key) 16:25:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:35 + git semver tag 16:25:35 2022-09-20 16:25:35,459 [run_tag] DEBUG tag force:False 16:25:35 2022-09-20 16:25:35,460 [check_head_tag] DEBUG check head tag 16:25:35 2022-09-20 16:25:35,460 [execute] INFO git cat-file --batch-check 16:25:35 2022-09-20 16:25:35,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:25:35 2022-09-20 16:25:35,464 [execute] INFO git cat-file --batch 16:25:35 2022-09-20 16:25:35,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 16:25:35 2022-09-20 16:25:35,477 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:25:35 2022-09-20 16:25:35,477 [execute] INFO git tag -a v2.3.0-dev.7 -m v2.3.0-dev.7 16:25:35 2022-09-20 16:25:35,477 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.7', '-m', 'v2.3.0-dev.7'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 16:25:35 2022-09-20 16:25:35,482 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:25:35 2.3.0-dev.7 [Pipeline] } 16:25:35 $ docker exec --env ******** --env ******** 33d754ea4f8fd17c5712631e62beb9e660399f178d5b422a9a8a8a42e0a57123 ssh-agent -k 16:25:35 unset SSH_AUTH_SOCK; 16:25:35 unset SSH_AGENT_PID; 16:25:35 echo Agent pid 40 killed; 16:25:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:35 + git semver [Pipeline] } 16:25:36 $ docker stop --time=1 33d754ea4f8fd17c5712631e62beb9e660399f178d5b422a9a8a8a42e0a57123 16:25:37 $ docker rm -f 33d754ea4f8fd17c5712631e62beb9e660399f178d5b422a9a8a8a42e0a57123 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:37 16:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:38 0.23.1-centos7: Pulling from edgex-lftools 16:25:38 ab5ef0e58194: Pulling fs layer 16:25:38 9712f1f96733: Pulling fs layer 16:25:38 63f879dbbcfc: Pulling fs layer 16:25:38 0d9ebad4ef96: Pulling fs layer 16:25:38 e9a5061849ea: Pulling fs layer 16:25:38 d747dcd14b5f: Pulling fs layer 16:25:38 2de7ff778b66: Pulling fs layer 16:25:38 0d9ebad4ef96: Waiting 16:25:38 e9a5061849ea: Waiting 16:25:38 d747dcd14b5f: Waiting 16:25:38 2de7ff778b66: Waiting 16:25:38 9712f1f96733: Verifying Checksum 16:25:38 9712f1f96733: Download complete 16:25:38 63f879dbbcfc: Verifying Checksum 16:25:38 63f879dbbcfc: Download complete 16:25:38 e9a5061849ea: Verifying Checksum 16:25:38 e9a5061849ea: Download complete 16:25:38 d747dcd14b5f: Verifying Checksum 16:25:38 d747dcd14b5f: Download complete 16:25:39 0d9ebad4ef96: Verifying Checksum 16:25:39 0d9ebad4ef96: Download complete 16:25:39 ab5ef0e58194: Verifying Checksum 16:25:39 ab5ef0e58194: Download complete 16:25:39 2de7ff778b66: Verifying Checksum 16:25:39 2de7ff778b66: Download complete 16:25:42 ab5ef0e58194: Pull complete 16:25:42 9712f1f96733: Pull complete 16:25:42 63f879dbbcfc: Pull complete 16:25:46 0d9ebad4ef96: Pull complete 16:25:46 e9a5061849ea: Pull complete 16:25:46 d747dcd14b5f: Pull complete 16:25:48 2de7ff778b66: Pull complete 16:25:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:48 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:25:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:25:55 $ docker top 8128b334af44b2f60390eeb62a0d3ec022fe1766d65187d3a0fa1284cc9e4603 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:25:55 provisioning config files... 16:25:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4514877556251998636tmp 16:25:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6510381386103591552tmp 16:25:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config703557626038760607tmp [Pipeline] { [Pipeline] echo 16:25:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:25:56 ---> sigul-configuration.sh 16:25:56 gpg: directory `/root/.gnupg' created 16:25:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:25:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:25:56 gpg: keyring `/root/.gnupg/secring.gpg' created 16:25:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:25:56 gpg: CAST5 encrypted data 16:25:56 gpg: encrypted with 1 passphrase 16:25:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:25:56 + mkdir /home/jenkins 16:25:56 + mkdir /home/jenkins/sigul [Pipeline] sh 16:25:56 + 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 16:25:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:25:56 ---> sigul-install.sh 16:25:56 Sigul already installed; skipping installation. [Pipeline] sh 16:25:57 + git tag --list 16:25:57 v0.0.0 16:25:57 v0.0.1-dev.1 16:25:57 v0.0.1-dev.10 16:25:57 v0.0.1-dev.11 16:25:57 v0.0.1-dev.12 16:25:57 v0.0.1-dev.13 16:25:57 v0.0.1-dev.14 16:25:57 v0.0.1-dev.15 16:25:57 v0.0.1-dev.16 16:25:57 v0.0.1-dev.2 16:25:57 v0.0.1-dev.3 16:25:57 v0.0.1-dev.4 16:25:57 v0.0.1-dev.5 16:25:57 v0.0.1-dev.6 16:25:57 v0.0.1-dev.7 16:25:57 v0.0.1-dev.8 16:25:57 v0.0.1-dev.9 16:25:57 v2.2.0 16:25:57 v2.2.0-dev.17 16:25:57 v2.2.0-dev.18 16:25:57 v2.2.0-dev.19 16:25:57 v2.2.0-dev.20 16:25:57 v2.2.0-dev.21 16:25:57 v2.2.0-dev.22 16:25:57 v2.2.0-dev.23 16:25:57 v2.2.0-dev.24 16:25:57 v2.2.0-dev.25 16:25:57 v2.2.0-dev.26 16:25:57 v2.2.0-dev.27 16:25:57 v2.3.0-dev.1 16:25:57 v2.3.0-dev.2 16:25:57 v2.3.0-dev.3 16:25:57 v2.3.0-dev.4 16:25:57 v2.3.0-dev.5 16:25:57 v2.3.0-dev.6 16:25:57 v2.3.0-dev.7 [Pipeline] sh 16:25:57 + lftools sign git-tag v2.3.0-dev.7 16:25:58 Signing Git tag with Sigul... 16:25:58 Signing v2.3.0-dev.7 [Pipeline] echo 16:25:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:25:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:25:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:25:58 $ docker stop --time=1 8128b334af44b2f60390eeb62a0d3ec022fe1766d65187d3a0fa1284cc9e4603 16:26:00 $ docker rm -f 8128b334af44b2f60390eeb62a0d3ec022fe1766d65187d3a0fa1284cc9e4603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:26:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:26:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:00 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:26:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:26:01 $ docker top 7625a9298fe098658e606bac1dc3a59b6a8107ec3d3aae858f16e4e56c0f85f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:26:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:01 [ssh-agent] Looking for ssh-agent implementation... 16:26:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:01 $ docker exec 7625a9298fe098658e606bac1dc3a59b6a8107ec3d3aae858f16e4e56c0f85f0 ssh-agent 16:26:01 SSH_AUTH_SOCK=/tmp/ssh-jzXdKl92Y570/agent.32 16:26:01 SSH_AGENT_PID=38 16:26:01 Running ssh-add (command line suppressed) 16:26:01 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5258124787322724288.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5258124787322724288.key) 16:26:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:02 + git semver bump pre 16:26:02 2022-09-20 16:26:02,245 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:26:02 2022-09-20 16:26:02,245 [bump_version] DEBUG bumping version:2.3.0-dev.7 on axis:pre with prefix:dev 16:26:02 2022-09-20 16:26:02,246 [bump_version] DEBUG bumped version:2.3.0-dev.8 16:26:02 2022-09-20 16:26:02,246 [write_version] DEBUG write version:2.3.0-dev.8 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 16:26:02 2022-09-20 16:26:02,246 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:26:02 2022-09-20 16:26:02,246 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:26:02 2022-09-20 16:26:02,249 [execute] INFO git cat-file --batch-check 16:26:02 2022-09-20 16:26:02,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:02 2022-09-20 16:26:02,254 [execute] INFO git cat-file --batch 16:26:02 2022-09-20 16:26:02,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:02 2022-09-20 16:26:02,259 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:26:02 2.3.0-dev.8 [Pipeline] } 16:26:02 $ docker exec --env ******** --env ******** 7625a9298fe098658e606bac1dc3a59b6a8107ec3d3aae858f16e4e56c0f85f0 ssh-agent -k 16:26:02 unset SSH_AUTH_SOCK; 16:26:02 unset SSH_AGENT_PID; 16:26:02 echo Agent pid 38 killed; 16:26:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:26:02 + git semver [Pipeline] } 16:26:03 $ docker stop --time=1 7625a9298fe098658e606bac1dc3a59b6a8107ec3d3aae858f16e4e56c0f85f0 16:26:04 $ docker rm -f 7625a9298fe098658e606bac1dc3a59b6a8107ec3d3aae858f16e4e56c0f85f0 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:26:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:05 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:26:05 $ docker top 85e140c2d8b928303eb9c8ac990dee85106b023877ac86f9b74d4539babd6eec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:05 [ssh-agent] Looking for ssh-agent implementation... 16:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:05 $ docker exec 85e140c2d8b928303eb9c8ac990dee85106b023877ac86f9b74d4539babd6eec ssh-agent 16:26:05 SSH_AUTH_SOCK=/tmp/ssh-JSRLKdKYJfQb/agent.35 16:26:05 SSH_AGENT_PID=41 16:26:05 Running ssh-add (command line suppressed) 16:26:05 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1478276780625627789.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1478276780625627789.key) 16:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:06 + git semver push 16:26:06 2022-09-20 16:26:06,333 [run_push] DEBUG push 16:26:06 2022-09-20 16:26:06,334 [execute] INFO git cat-file --batch-check 16:26:06 2022-09-20 16:26:06,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:26:06 2022-09-20 16:26:06,337 [execute] INFO git rev-list 4a80a1d63121d75e79f64e871d71488b9f05e643 -- 16:26:06 2022-09-20 16:26:06,337 [execute] DEBUG Popen(['git', 'rev-list', '4a80a1d63121d75e79f64e871d71488b9f05e643', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:26:06 2022-09-20 16:26:06,341 [execute] INFO git fetch -v origin 16:26:06 2022-09-20 16:26:06,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:26:06 2022-09-20 16:26:06,944 [run_push] DEBUG no remote changes detected 16:26:06 2022-09-20 16:26:06,945 [execute] INFO git push origin semver 16:26:06 2022-09-20 16:26:06,945 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:26:07 2022-09-20 16:26:07,738 [run_push] DEBUG push all version tags 16:26:07 2022-09-20 16:26:07,738 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:26:07 2022-09-20 16:26:07,739 [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) 16:26:08 2022-09-20 16:26:08,731 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 16:26:08 2.3.0-dev.8 [Pipeline] } 16:26:08 $ docker exec --env ******** --env ******** 85e140c2d8b928303eb9c8ac990dee85106b023877ac86f9b74d4539babd6eec ssh-agent -k 16:26:08 unset SSH_AUTH_SOCK; 16:26:08 unset SSH_AGENT_PID; 16:26:08 echo Agent pid 41 killed; 16:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:26:09 + git semver [Pipeline] } 16:26:09 $ docker stop --time=1 85e140c2d8b928303eb9c8ac990dee85106b023877ac86f9b74d4539babd6eec 16:26:10 $ docker rm -f 85e140c2d8b928303eb9c8ac990dee85106b023877ac86f9b74d4539babd6eec [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 16:26:11 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 16:26:11 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:26:11 total 16 16:26:11 drwxr-xr-x 3 root root 4096 Sep 20 16:16 . 16:26:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 16:25 .. 16:26:11 drwxr-xr-x 2 root root 4096 Sep 20 16:16 cost 16:26:11 -rw-r--r-- 1 root root 88 Sep 20 16:16 cost.csv 16:26:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 16:26:11 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 16:26:11 total 16 16:26:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 16:16 . 16:26:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 16:25 .. 16:26:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 16:16 cost 16:26:11 -rw-r--r-- 1 jenkins jenkins 88 Sep 20 16:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:26:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:26:12 ---> package-listing.sh 16:26:12 ++ facter osfamily 16:26:12 ++ tr '[:upper:]' '[:lower:]' 16:26:12 + OS_FAMILY=debian 16:26:12 + workspace=/w/workspace/exfoundry_device-usb-camera_main 16:26:12 + START_PACKAGES=/tmp/packages_start.txt 16:26:12 + END_PACKAGES=/tmp/packages_end.txt 16:26:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:26:12 + PACKAGES=/tmp/packages_start.txt 16:26:12 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:26:12 + PACKAGES=/tmp/packages_end.txt 16:26:12 + case "${OS_FAMILY}" in 16:26:12 + grep '^ii' 16:26:12 + dpkg -l 16:26:12 + '[' -f /tmp/packages_start.txt ']' 16:26:12 + '[' -f /tmp/packages_end.txt ']' 16:26:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:26:12 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 16:26:12 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 16:26:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 16:26:12 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 16:26:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:13 prd-ubuntu20.04-docker-8c-8g-29958 does not seem to be running inside a container 16:26:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:26:14 $ docker top c3b4de8b09679e4f92ee8807195ad72ea71586dbe44837e9e35078f1ed0ad1f0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:14 + touch /tmp/pre-build-complete [Pipeline] sh 16:26:14 + mkdir -p /var/log/sysstat [Pipeline] sh 16:26:15 + ls /var/log/sa-host 16:26:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:15 provisioning config files... 16:26:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2891558741365027366tmp [Pipeline] { [Pipeline] echo 16:26:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:26:15 ---> create-netrc.sh [Pipeline] } 16:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:26:15 ---> python-tools-install.sh [Pipeline] echo 16:26:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:26:16 ---> sudo-logs.sh 16:26:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:26:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:26:16 ---> job-cost.sh 16:26:16 lf-activate-venv: SKIPPING 16:26:16 DEBUG: total: 0.2199999988079071 16:26:16 INFO: Retrieving Stack Cost... 16:26:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:17 INFO: Archiving Costs [Pipeline] echo 16:26:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:26:17 ---> logs-deploy.sh 16:26:17 lf-activate-venv: SKIPPING 16:26:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/46 16:26:17 INFO: archiving workspace using pattern(s): 16:26:18 Archives upload complete. 16:26:18 INFO: archiving logs to Nexus 16:26:19 ---> uname -a: 16:26:19 Linux prd-ubuntu20-04-docker-8c-8g-29958 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:26:19 16:26:19