Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97477250f83449ec135a51078cdc7ddd64728142 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-ssh9318369921139566239.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2684053821739722672.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4489722184695637353.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh5342254773579169412.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-ssh15423820512022838370.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8337 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 97477250f83449ec135a51078cdc7ddd64728142 (main) Commit message: "Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/xfrr/goffmpeg-1.0.0" > 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 97477250f83449ec135a51078cdc7ddd64728142 # timeout=10 > git rev-list --no-walk 599f6b8e7264b3818babca2d82d47d6d3c40b07e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:07:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:07:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:07:00 ========================================================= 20:07:00 EdgeX Global Pipelines Version Info 20:07:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:07:01 ------------------- 20:07:01 stable info: 20:07:01 ------------------- 20:07:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:07:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:07:01 Message: update stable to v1.0.254 20:07:02 ------------------- 20:07:02 experimental info: 20:07:02 ------------------- 20:07:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:07:02 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:07:02 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97477250f83449ec135a51078cdc7ddd64728142 [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9747725 [Pipeline] echo 20:07:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:02 provisioning config files... 20:07:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11045450834715576312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:03 ---> docker-login.sh 20:07:03 nexus3.edgexfoundry.org:10001 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10002 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10003 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10004 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 docker.io 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 ---> docker-login.sh ends [Pipeline] } 20:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:07:04 + git rev-list -1 --merges 97477250f83449ec135a51078cdc7ddd64728142~1..97477250f83449ec135a51078cdc7ddd64728142 [Pipeline] echo 20:07:04 -----------> git rev-list -1 --merges 97477250f83449ec135a51078cdc7ddd64728142~1..97477250f83449ec135a51078cdc7ddd64728142 97477250f83449ec135a51078cdc7ddd64728142 20:07:04 97477250f83449ec135a51078cdc7ddd64728142 [false] [Pipeline] sh 20:07:04 + git log --format=format:%s -1 97477250f83449ec135a51078cdc7ddd64728142 [Pipeline] echo 20:07:04 ========================================================= 20:07:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:07:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:04 + git log --format=format:%s -1 97477250f83449ec135a51078cdc7ddd64728142 [Pipeline] echo 20:07:04 [semverPrep] GIT_COMMIT: 97477250f83449ec135a51078cdc7ddd64728142, Commit Message: Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/xfrr/goffmpeg-1.0.0 [Pipeline] echo 20:07:04 [semverPrep] This is not a build commit. [Pipeline] sh 20:07:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:07:05 + grep -v github /etc/ssh/ssh_known_hosts 20:07:05 + [ -e /tmp/ssh_known_hosts ] 20:07:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:07:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:07:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:07:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:05 20:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:06 0.1.4: Pulling from edgex-devops/py-git-semver 20:07:06 b85a868b505f: Pulling fs layer 20:07:06 e2be974225ed: Pulling fs layer 20:07:06 339a4e72a1f5: Pulling fs layer 20:07:06 988bab9f4d93: Pulling fs layer 20:07:06 1469e6f7b9e6: Pulling fs layer 20:07:06 eaf3925da568: Pulling fs layer 20:07:06 bab4dde63d76: Pulling fs layer 20:07:06 bde34c3a00c8: Pulling fs layer 20:07:06 b352a97aabf1: Pulling fs layer 20:07:06 4872d77fe225: Pulling fs layer 20:07:06 5851b861e8e6: Pulling fs layer 20:07:06 eaf3925da568: Waiting 20:07:06 bde34c3a00c8: Waiting 20:07:06 1469e6f7b9e6: Waiting 20:07:06 4872d77fe225: Waiting 20:07:06 bab4dde63d76: Waiting 20:07:06 988bab9f4d93: Waiting 20:07:06 b352a97aabf1: Waiting 20:07:06 5851b861e8e6: Waiting 20:07:06 e2be974225ed: Verifying Checksum 20:07:06 e2be974225ed: Download complete 20:07:06 988bab9f4d93: Verifying Checksum 20:07:06 988bab9f4d93: Download complete 20:07:06 339a4e72a1f5: Verifying Checksum 20:07:06 339a4e72a1f5: Download complete 20:07:06 1469e6f7b9e6: Verifying Checksum 20:07:06 1469e6f7b9e6: Download complete 20:07:06 eaf3925da568: Verifying Checksum 20:07:06 eaf3925da568: Download complete 20:07:06 bde34c3a00c8: Verifying Checksum 20:07:06 bde34c3a00c8: Download complete 20:07:06 b352a97aabf1: Verifying Checksum 20:07:06 b352a97aabf1: Download complete 20:07:06 4872d77fe225: Download complete 20:07:06 5851b861e8e6: Verifying Checksum 20:07:06 5851b861e8e6: Download complete 20:07:06 b85a868b505f: Verifying Checksum 20:07:06 b85a868b505f: Download complete 20:07:06 bab4dde63d76: Verifying Checksum 20:07:06 bab4dde63d76: Download complete 20:07:07 b85a868b505f: Pull complete 20:07:07 e2be974225ed: Pull complete 20:07:08 339a4e72a1f5: Pull complete 20:07:08 988bab9f4d93: Pull complete 20:07:08 1469e6f7b9e6: Pull complete 20:07:08 eaf3925da568: Pull complete 20:07:10 bab4dde63d76: Pull complete 20:07:10 bde34c3a00c8: Pull complete 20:07:10 b352a97aabf1: Pull complete 20:07:10 4872d77fe225: Pull complete 20:07:10 5851b861e8e6: Pull complete 20:07:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:07:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:10 prd-ubuntu20.04-docker-8c-8g-8337 does not seem to be running inside a container 20:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:07:13 $ docker top f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 -eo pid,comm 20:07:13 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). 20:07:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:07:13 [ssh-agent] Looking for ssh-agent implementation... 20:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:07:13 $ docker exec f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 ssh-agent 20:07:13 SSH_AUTH_SOCK=/tmp/ssh-M3Th6kTDoWZt/agent.33 20:07:13 SSH_AGENT_PID=40 20:07:13 Running ssh-add (command line suppressed) 20:07:13 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10626398895655107094.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10626398895655107094.key) 20:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:07:14 + git tag --points-at HEAD [Pipeline] } 20:07:14 $ docker exec --env ******** --env ******** f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 ssh-agent -k 20:07:14 unset SSH_AUTH_SOCK; 20:07:14 unset SSH_AGENT_PID; 20:07:14 echo Agent pid 40 killed; 20:07:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:07:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:07:14 [ssh-agent] Looking for ssh-agent implementation... 20:07:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:07:14 $ docker exec f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 ssh-agent 20:07:14 SSH_AUTH_SOCK=/tmp/ssh-Pxq9PaK5nQLv/agent.72 20:07:14 SSH_AGENT_PID=78 20:07:14 Running ssh-add (command line suppressed) 20:07:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3795770878258851598.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3795770878258851598.key) 20:07:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:07:14 + git semver init 20:07:15 2023-10-02 20:07:15,009 [run_init] DEBUG init version:0.0.0 force:False 20:07:15 2023-10-02 20:07:15,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:07:15 2023-10-02 20:07:15,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:07:15 2023-10-02 20:07:15,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 20:07:16 2023-10-02 20:07:15,883 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:07:16 2023-10-02 20:07:15,883 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:07:16 2023-10-02 20:07:15,884 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:07:16 2023-10-02 20:07:15,884 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:07:16 3.1.0-dev.29 [Pipeline] } 20:07:16 $ docker exec --env ******** --env ******** f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 ssh-agent -k 20:07:16 unset SSH_AUTH_SOCK; 20:07:16 unset SSH_AGENT_PID; 20:07:16 echo Agent pid 78 killed; 20:07:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:07:16 + git semver [Pipeline] } 20:07:16 $ docker stop --time=1 f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 20:07:18 $ docker rm -f --volumes f2a631610d615554f3260de90fb0e2e4ff92bde1970e5bd7434e53579c635959 [Pipeline] // withDockerContainer [Pipeline] sh 20:07:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:07:18 Stashed 1 file(s) [Pipeline] echo 20:07:18 [edgeXSemver]: initialized semver on version 3.1.0-dev.29 [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 20:07:18 provisioning config files... 20:07:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11855455119059323046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:18 ---> docker-login.sh 20:07:18 nexus3.edgexfoundry.org:10001 20:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:18 Configure a credential helper to remove this warning. See 20:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:18 20:07:18 Login Succeeded 20:07:18 nexus3.edgexfoundry.org:10002 20:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:18 Configure a credential helper to remove this warning. See 20:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:18 20:07:18 Login Succeeded 20:07:18 nexus3.edgexfoundry.org:10003 20:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:19 Configure a credential helper to remove this warning. See 20:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:19 20:07:19 Login Succeeded 20:07:19 nexus3.edgexfoundry.org:10004 20:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:19 Configure a credential helper to remove this warning. See 20:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:19 20:07:19 Login Succeeded 20:07:19 docker.io 20:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:19 Configure a credential helper to remove this warning. See 20:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:19 20:07:19 Login Succeeded 20:07:19 ---> docker-login.sh ends [Pipeline] } 20:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:19 ========================================================= 20:07:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:07:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:07:20 Sending build context to Docker daemon 2.251MB 20:07:20 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 20:07:20 Step 2/13 : FROM ${BASE} AS builder 20:07:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:07:20 7264a8db6415: Pulling fs layer 20:07:20 c4d48a809fc2: Pulling fs layer 20:07:20 4f1c88b9dad5: Pulling fs layer 20:07:20 ad3a456e5733: Pulling fs layer 20:07:20 33e27b845d1e: Pulling fs layer 20:07:20 c68163c4e522: Pulling fs layer 20:07:20 50da416c3ac9: Pulling fs layer 20:07:20 23d2d4c4bb30: Pulling fs layer 20:07:20 33e27b845d1e: Waiting 20:07:20 c68163c4e522: Waiting 20:07:20 23d2d4c4bb30: Waiting 20:07:20 50da416c3ac9: Waiting 20:07:20 ad3a456e5733: Waiting 20:07:20 c4d48a809fc2: Download complete 20:07:20 ad3a456e5733: Verifying Checksum 20:07:20 ad3a456e5733: Download complete 20:07:20 33e27b845d1e: Download complete 20:07:20 7264a8db6415: Verifying Checksum 20:07:20 7264a8db6415: Download complete 20:07:20 c68163c4e522: Verifying Checksum 20:07:20 c68163c4e522: Download complete 20:07:20 7264a8db6415: Pull complete 20:07:20 23d2d4c4bb30: Verifying Checksum 20:07:20 23d2d4c4bb30: Download complete 20:07:20 c4d48a809fc2: Pull complete 20:07:20 4f1c88b9dad5: Verifying Checksum 20:07:20 4f1c88b9dad5: Download complete 20:07:21 50da416c3ac9: Verifying Checksum 20:07:21 50da416c3ac9: Download complete 20:07:24 4f1c88b9dad5: Pull complete 20:07:24 ad3a456e5733: Pull complete 20:07:24 33e27b845d1e: Pull complete 20:07:24 c68163c4e522: Pull complete 20:07:27 50da416c3ac9: Pull complete 20:07:27 23d2d4c4bb30: Pull complete 20:07:27 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:07:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:07:27 ---> 0786185ac409 20:07:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:07:31 ---> Running in 23f9151a73e2 20:07:31 Removing intermediate container 23f9151a73e2 20:07:31 ---> 478c3ce3b966 20:07:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:31 ---> Running in 7f6144adb760 20:07:31 Removing intermediate container 7f6144adb760 20:07:31 ---> fd8b723823e0 20:07:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:07:31 ---> Running in 37fc064a67c0 20:07:31 Removing intermediate container 37fc064a67c0 20:07:31 ---> 06d3ba6bb536 20:07:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:07:31 ---> Running in f023cdfb664e 20:07:31 Removing intermediate container f023cdfb664e 20:07:31 ---> 0802d2d162ce 20:07:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:31 ---> Running in 5fb15886b3ab 20:07:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:07:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:07:31 (1/13) Installing libintl (0.21.1-r7) 20:07:31 (2/13) Installing eudev-libs (3.2.11-r8) 20:07:31 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 20:07:31 (4/13) Installing v4l-utils-libs (1.24.1-r0) 20:07:31 (5/13) Installing v4l-utils (1.24.1-r0) 20:07:31 (6/13) Installing libdvbv5 (1.24.1-r0) 20:07:31 (7/13) Installing udev-init-scripts (35-r1) 20:07:31 (8/13) Installing libblkid (2.38.1-r8) 20:07:31 (9/13) Installing xz-libs (5.4.3-r0) 20:07:31 (10/13) Installing kmod-libs (30-r3) 20:07:31 (11/13) Installing eudev (3.2.11-r8) 20:07:32 (12/13) Installing eudev-dev (3.2.11-r8) 20:07:32 (13/13) Installing v4l-utils-dev (1.24.1-r0) 20:07:32 Executing busybox-1.36.1-r2.trigger 20:07:32 Executing eudev-3.2.11-r8.trigger 20:07:32 OK: 271 MiB in 65 packages 20:07:32 Removing intermediate container 5fb15886b3ab 20:07:32 ---> 6d569049d613 20:07:32 Step 8/13 : WORKDIR /device-usb-camera 20:07:32 ---> Running in 47b75b620011 20:07:32 Removing intermediate container 47b75b620011 20:07:32 ---> e92666323809 20:07:32 Step 9/13 : COPY go.mod vendor* ./ 20:07:32 ---> a67edd0e8198 20:07:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:32 ---> Running in 98bf759e74bc 20:07:33 Still waiting to schedule task 20:07:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:08:04 Removing intermediate container 98bf759e74bc 20:08:04 ---> fde6147366b2 20:08:04 Step 11/13 : COPY . . 20:08:04 ---> 3e303af97ecb 20:08:04 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:08:04 ---> Running in 556efb7156f5 20:08:04  % Total % Received % Xferd Average Speed Time Time Time Current 20:08:04 Dload Upload Total Spent Left Speed 20:08:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 9110 0 --:--:-- --:--:-- --:--:-- 9145 20:08:05 Removing intermediate container 556efb7156f5 20:08:05 ---> acee6b03d1da 20:08:05 Step 13/13 : RUN ${MAKE} 20:08:05 ---> Running in 6233e2807d15 20:08:05 noop 20:08:05 Removing intermediate container 6233e2807d15 20:08:05 ---> 346657b3f5b0 20:08:05 Successfully built 346657b3f5b0 20:08:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:06 + docker inspect -f . ci-base-image-x86_64 20:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:06 prd-ubuntu20.04-docker-8c-8g-8337 does not seem to be running inside a container 20:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:08:06 $ docker top d5cde516de541896b1ed6b200416b06bed51ca2cb8882adcb0135142e0568aa8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:06 + go version 20:08:06 go version go1.21.0 linux/amd64 [Pipeline] } 20:08:06 $ docker stop --time=1 d5cde516de541896b1ed6b200416b06bed51ca2cb8882adcb0135142e0568aa8 20:08:08 $ docker rm -f --volumes d5cde516de541896b1ed6b200416b06bed51ca2cb8882adcb0135142e0568aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:08 + docker inspect -f . ci-base-image-x86_64 20:08:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:08 prd-ubuntu20.04-docker-8c-8g-8337 does not seem to be running inside a container 20:08:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:08:08 $ docker top 68df4d0901b7a077d102a4b687e880a40f3cc95658d4b2058f4cb832602ca266 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:09 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:08:09 + make test 20:08:09 go test ./... -coverprofile=coverage.out ./... 20:08:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:08:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:08:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.4% of statements 20:08:30 go vet ./... 20:08:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:08:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:08:32 ./bin/test-attribution-txt.sh [Pipeline] echo 20:08:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:08:32 $ docker stop --time=1 68df4d0901b7a077d102a4b687e880a40f3cc95658d4b2058f4cb832602ca266 20:08:35 $ docker rm -f --volumes 68df4d0901b7a077d102a4b687e880a40f3cc95658d4b2058f4cb832602ca266 [Pipeline] // withDockerContainer [Pipeline] sh 20:08:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:08:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:08:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:08:36 + ls -al . 20:08:36 total 220 20:08:36 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 20:08 . 20:08:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:06 .. 20:08:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:08 .git 20:08:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:07 .github 20:08:36 -rw-rw-r-- 1 jenkins jenkins 495 Oct 2 20:07 .gitignore 20:08:36 -rw-rw-r-- 1 jenkins jenkins 45 Oct 2 20:07 .golangci.yml 20:08:36 -rw-rw-r-- 1 jenkins jenkins 77 Oct 2 20:07 .hadolint.yml 20:08:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:07 .semver 20:08:36 -rw-rw-r-- 1 jenkins jenkins 10851 Oct 2 20:07 Attribution.txt 20:08:36 -rw-rw-r-- 1 jenkins jenkins 11903 Oct 2 20:07 CHANGELOG.md 20:08:36 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 2 20:07 Dockerfile 20:08:36 -rw-rw-r-- 1 jenkins jenkins 678 Oct 2 20:07 GOVERNANCE.md 20:08:36 -rw-rw-r-- 1 jenkins jenkins 659 Oct 2 20:07 Jenkinsfile 20:08:36 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 2 20:07 LICENSE 20:08:36 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 2 20:07 Makefile 20:08:36 -rw-rw-r-- 1 jenkins jenkins 622 Oct 2 20:07 OWNERS.md 20:08:36 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 2 20:07 README.md 20:08:36 -rw-rw-r-- 1 jenkins jenkins 12 Oct 2 20:07 VERSION 20:08:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:07 bin 20:08:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:07 cmd 20:08:36 -rw-r--r-- 1 jenkins jenkins 54703 Oct 2 20:08 coverage.out 20:08:36 -rwxrwxr-x 1 jenkins jenkins 84 Oct 2 20:07 docker-entrypoint.sh 20:08:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:07 docs 20:08:36 -rw-rw-r-- 1 jenkins jenkins 3924 Oct 2 20:07 go.mod 20:08:36 -rw-rw-r-- 1 jenkins jenkins 35367 Oct 2 20:07 go.sum 20:08:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:07 internal 20:08:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:07 snap 20:08:36 -rw-rw-r-- 1 jenkins jenkins 231 Oct 2 20:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:37 + 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=97477250f83449ec135a51078cdc7ddd64728142 --label arch=amd64 --label version=3.1.0-dev.29 . 20:08:37 Sending build context to Docker daemon 2.307MB 20:08:37 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 20:08:37 Step 2/36 : FROM ${BASE} AS builder 20:08:37 ---> 346657b3f5b0 20:08:37 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:08:37 ---> Running in 8d2039b87537 20:08:37 Removing intermediate container 8d2039b87537 20:08:37 ---> b27d1022cfc4 20:08:37 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:08:37 ---> Running in 25a1e664a985 20:08:37 Removing intermediate container 25a1e664a985 20:08:37 ---> 0644eec10291 20:08:37 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:08:37 ---> Running in 03a96cb9a837 20:08:37 Removing intermediate container 03a96cb9a837 20:08:37 ---> a3dba46bbfbd 20:08:37 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:08:37 ---> Running in aaa755e48a74 20:08:37 Removing intermediate container aaa755e48a74 20:08:37 ---> 075d947f2ac0 20:08:37 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:37 ---> Running in f3274dec3888 20:08:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:08:38 OK: 271 MiB in 65 packages 20:08:38 Removing intermediate container f3274dec3888 20:08:38 ---> 5c53fc50c110 20:08:38 Step 8/36 : WORKDIR /device-usb-camera 20:08:38 ---> Running in 4f239fc17cd3 20:08:38 Removing intermediate container 4f239fc17cd3 20:08:38 ---> 3308983b024d 20:08:38 Step 9/36 : COPY go.mod vendor* ./ 20:08:38 ---> 745a1ad45bd3 20:08:38 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:38 ---> Running in 093fb0aaedc5 20:08:39 Removing intermediate container 093fb0aaedc5 20:08:39 ---> 912d5da6cc67 20:08:39 Step 11/36 : COPY . . 20:08:40 ---> a3edaadc9e9f 20:08:40 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:08:40 ---> Running in 71750d47b1b9 20:08:40  % Total % Received % Xferd Average Speed Time Time Time Current 20:08:40 Dload Upload Total Spent Left Speed 20:08:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253  100  1253    0     0  38773      0 --:--:-- --:--:-- --:--:-- 39156 20:08:40 Removing intermediate container 71750d47b1b9 20:08:40 ---> debd01785501 20:08:40 Step 13/36 : RUN ${MAKE} 20:08:40 ---> Running in e5c1d46a01ec 20:08:40 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:09:02 Removing intermediate container e5c1d46a01ec 20:09:02 ---> c76aaca3b98c 20:09:02 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:09:02 v0.21.6: Pulling from aler9/rtsp-simple-server 20:09:02 4acc49c71d14: Pulling fs layer 20:09:02 4acc49c71d14: Verifying Checksum 20:09:02 4acc49c71d14: Download complete 20:09:02 4acc49c71d14: Pull complete 20:09:02 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:09:02 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:09:02 ---> 01a2bd3e5fff 20:09:02 Step 15/36 : FROM alpine:3.18 20:09:02 3.18: Pulling from library/alpine 20:09:02 96526aa774ef: Pulling fs layer 20:09:03 96526aa774ef: Download complete 20:09:03 96526aa774ef: Pull complete 20:09:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:09:03 Status: Downloaded newer image for alpine:3.18 20:09:03 ---> 8ca4688f4f35 20:09:03 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 20:09:03 ---> Running in 8fd73e829646 20:09:03 Removing intermediate container 8fd73e829646 20:09:03 ---> 36b7148c85d9 20:09:03 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:09:03 ---> Running in d87f86f090e1 20:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:09:04 (1/107) Installing dumb-init (1.2.5-r2) 20:09:04 (2/107) Installing sdl2 (2.26.5-r0) 20:09:04 (3/107) Installing svt-av1-libs (1.6.0-r0) 20:09:04 (4/107) Installing aom-libs (3.6.1-r0) 20:09:04 (5/107) Installing libxau (1.0.11-r2) 20:09:04 (6/107) Installing libmd (1.0.4-r2) 20:09:04 (7/107) Installing libbsd (0.11.7-r1) 20:09:04 (8/107) Installing libxdmcp (1.1.4-r2) 20:09:04 (9/107) Installing libxcb (1.15-r1) 20:09:04 (10/107) Installing libx11 (1.8.4-r4) 20:09:04 (11/107) Installing hwdata-pci (0.370-r0) 20:09:04 (12/107) Installing libpciaccess (0.17-r2) 20:09:04 (13/107) Installing libdrm (2.4.115-r4) 20:09:04 (14/107) Installing libxext (1.3.5-r2) 20:09:04 (15/107) Installing libxfixes (6.0.1-r2) 20:09:04 (16/107) Installing libffi (3.4.4-r2) 20:09:04 (17/107) Installing wayland-libs-client (1.22.0-r2) 20:09:04 (18/107) Installing libva (2.18.0-r1) 20:09:04 (19/107) Installing libvdpau (1.5-r1) 20:09:04 (20/107) Installing libgcc (12.2.1_git20220924-r10) 20:09:04 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 20:09:04 (22/107) Installing onevpl-libs (2023.2.1-r0) 20:09:04 (23/107) Installing ffmpeg-libavutil (6.0-r15) 20:09:04 (24/107) Installing libdav1d (1.2.1-r0) 20:09:04 (25/107) Installing brotli-libs (1.0.9-r14) 20:09:04 (26/107) Installing libhwy (1.0.4-r1) 20:09:04 (27/107) Installing lcms2 (2.15-r2) 20:09:04 (28/107) Installing libjxl (0.8.2-r0) 20:09:04 (29/107) Installing lame-libs (3.100-r5) 20:09:04 (30/107) Installing opus (1.4-r0) 20:09:04 (31/107) Installing libgomp (12.2.1_git20220924-r10) 20:09:04 (32/107) Installing soxr (0.1.3-r5) 20:09:04 (33/107) Installing ffmpeg-libswresample (6.0-r15) 20:09:04 (34/107) Installing libogg (1.3.5-r4) 20:09:04 (35/107) Installing libtheora (1.1.1-r17) 20:09:04 (36/107) Installing libvorbis (1.3.7-r1) 20:09:04 (37/107) Installing libvpx (1.13.0-r2) 20:09:04 (38/107) Installing libwebp (1.3.2-r0) 20:09:04 (39/107) Installing x264-libs (0.164_git20220602-r1) 20:09:04 (40/107) Installing numactl (2.0.16-r4) 20:09:04 (41/107) Installing x265-libs (3.5-r4) 20:09:04 (42/107) Installing xvidcore (1.3.7-r1) 20:09:04 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 20:09:04 (44/107) Installing alsa-lib (1.2.9-r1) 20:09:04 (45/107) Installing libexpat (2.5.0-r1) 20:09:04 (46/107) Installing libbz2 (1.0.8-r5) 20:09:04 (47/107) Installing libpng (1.6.39-r3) 20:09:04 (48/107) Installing freetype (2.13.0-r5) 20:09:04 (49/107) Installing fontconfig (2.14.2-r3) 20:09:04 (50/107) Installing fribidi (1.0.13-r0) 20:09:04 (51/107) Installing libintl (0.21.1-r7) 20:09:04 (52/107) Installing libblkid (2.38.1-r8) 20:09:04 (53/107) Installing libmount (2.38.1-r8) 20:09:04 (54/107) Installing pcre2 (10.42-r1) 20:09:04 (55/107) Installing glib (2.76.4-r0) 20:09:04 (56/107) Installing graphite2 (1.3.14-r5) 20:09:04 (57/107) Installing harfbuzz (7.3.0-r0) 20:09:04 (58/107) Installing libunibreak (5.1-r0) 20:09:04 (59/107) Installing libass (0.17.1-r0) 20:09:04 (60/107) Installing libbluray (1.3.4-r0) 20:09:04 (61/107) Installing gmp (6.2.1-r3) 20:09:04 (62/107) Installing nettle (3.8.1-r2) 20:09:04 (63/107) Installing libunistring (1.1-r1) 20:09:04 (64/107) Installing libidn2 (2.3.4-r1) 20:09:04 (65/107) Installing p11-kit (0.24.1-r2) 20:09:04 (66/107) Installing libtasn1 (4.19.0-r1) 20:09:05 (67/107) Installing gnutls (3.8.0-r2) 20:09:05 (68/107) Installing mpg123-libs (1.31.3-r1) 20:09:05 (69/107) Installing libopenmpt (0.7.2-r0) 20:09:05 (70/107) Installing cjson (1.7.15-r4) 20:09:05 (71/107) Installing mbedtls (2.28.4-r0) 20:09:05 (72/107) Installing librist (0.2.7-r0) 20:09:05 (73/107) Installing libsrt (1.5.2-r0) 20:09:05 (74/107) Installing libssh (0.10.5-r0) 20:09:05 (75/107) Installing xz-libs (5.4.3-r0) 20:09:05 (76/107) Installing libxml2 (2.11.4-r0) 20:09:05 (77/107) Installing libsodium (1.0.18-r3) 20:09:05 (78/107) Installing libzmq (4.3.4-r4) 20:09:05 (79/107) Installing ffmpeg-libavformat (6.0-r15) 20:09:05 (80/107) Installing glslang-libs (1.3.243.0-r1) 20:09:05 (81/107) Installing spirv-tools (1.3.243.0-r1) 20:09:05 (82/107) Installing shaderc (2023.3-r1) 20:09:05 (83/107) Installing vulkan-loader (1.3.243.0-r1) 20:09:05 (84/107) Installing libplacebo (5.264.1-r1) 20:09:05 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 20:09:05 (86/107) Installing ffmpeg-libswscale (6.0-r15) 20:09:05 (87/107) Installing vidstab (1.1.1-r0) 20:09:05 (88/107) Installing zimg (3.0.5-r0) 20:09:05 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 20:09:05 (90/107) Installing libasyncns (0.8-r1) 20:09:05 (91/107) Installing dbus-libs (1.14.8-r0) 20:09:05 (92/107) Installing libltdl (2.4.7-r2) 20:09:05 (93/107) Installing orc (0.4.34-r0) 20:09:05 (94/107) Installing flac-libs (1.4.3-r0) 20:09:05 (95/107) Installing libsndfile (1.2.0-r2) 20:09:05 (96/107) Installing speexdsp (1.2.1-r1) 20:09:05 (97/107) Installing tdb-libs (1.4.8-r1) 20:09:05 (98/107) Installing libpulse (16.1-r10) 20:09:05 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 20:09:05 (100/107) Installing v4l-utils-libs (1.24.1-r0) 20:09:05 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 20:09:05 (102/107) Installing ffmpeg (6.0-r15) 20:09:05 (103/107) Installing udev-init-scripts (35-r1) 20:09:05 (104/107) Installing eudev-libs (3.2.11-r8) 20:09:05 (105/107) Installing zstd-libs (1.5.5-r4) 20:09:05 (106/107) Installing kmod-libs (30-r3) 20:09:05 (107/107) Installing eudev (3.2.11-r8) 20:09:05 Executing busybox-1.36.1-r2.trigger 20:09:05 Executing glib-2.76.4-r0.trigger 20:09:05 Executing eudev-3.2.11-r8.trigger 20:09:05 OK: 131 MiB in 122 packages 20:09:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8338 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:09:07 Running in /w/workspace/device-usb-camera/154 [Pipeline] { [Pipeline] checkout 20:09:07 Selected Git installation does not exist. Using Default 20:09:07 The recommended git tool is: NONE 20:09:08 Removing intermediate container d87f86f090e1 20:09:08 ---> a858efc8f918 20:09:08 Step 18/36 : WORKDIR / 20:09:08 ---> Running in e96344cb85be 20:09:08 Removing intermediate container e96344cb85be 20:09:08 ---> 02f5b0c8b30e 20:09:08 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 20:09:08 ---> d897933b5c38 20:09:08 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:09:08 ---> ffc10ba045b9 20:09:08 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:09:09 ---> 377ade127255 20:09:09 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:09:09 ---> 62cbf4a423cc 20:09:09 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:09:09 ---> 40f8c2954584 20:09:09 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:09:09 ---> f3cfad2c054c 20:09:09 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 20:09:09 ---> 3989340d143e 20:09:09 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:09:09 ---> Running in c8e6a7de59c6 20:09:10 Removing intermediate container c8e6a7de59c6 20:09:10 ---> b0bb242eb911 20:09:10 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:09:10 ---> Running in eb4341ae5e11 20:09:11 Removing intermediate container eb4341ae5e11 20:09:11 ---> a71128b145cc 20:09:11 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:09:11 ---> Running in 3fbcc619289e 20:09:11 Removing intermediate container 3fbcc619289e 20:09:11 ---> a4632a806adc 20:09:11 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 20:09:11 ---> Running in a39b25d26e19 20:09:12 using credential edgex-jenkins-ssh 20:09:12 Removing intermediate container a39b25d26e19 20:09:12 ---> 69fa7b54eebf 20:09:12 Step 30/36 : EXPOSE 59983 20:09:12 ---> Running in eadabebad188 20:09:12 Removing intermediate container eadabebad188 20:09:12 ---> d5455dd5021b 20:09:12 Step 31/36 : EXPOSE 8554 20:09:12 ---> Running in d3a09856e671 20:09:12 Cloning the remote Git repository 20:09:12 Removing intermediate container d3a09856e671 20:09:12 ---> 2d681d94b254 20:09:12 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:09:12 ---> Running in bf0f459b3d3a 20:09:12 Removing intermediate container bf0f459b3d3a 20:09:12 ---> b2f7141badba 20:09:12 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:09:12 ---> Running in 7c9f999fedf0 20:09:12 Removing intermediate container 7c9f999fedf0 20:09:12 ---> 7adcad24075a 20:09:12 Step 34/36 : LABEL arch=amd64 20:09:12 ---> Running in 48b137544454 20:09:12 Removing intermediate container 48b137544454 20:09:12 ---> e5a6ac98a1c0 20:09:12 Step 35/36 : LABEL git_sha=97477250f83449ec135a51078cdc7ddd64728142 20:09:12 ---> Running in e73a2a425b13 20:09:12 Removing intermediate container e73a2a425b13 20:09:12 ---> 32a05ed3a55b 20:09:12 Step 36/36 : LABEL version=3.1.0-dev.29 20:09:12 ---> Running in 48a761155183 20:09:13 Removing intermediate container 48a761155183 20:09:13 ---> 9710f07a5e62 20:09:13 [Warning] One or more build-args [ARCH] were not consumed 20:09:13 Successfully built 9710f07a5e62 20:09:13 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 20:09:13 provisioning config files... 20:09:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2547753998740045251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:12 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:09:12 > git init /w/workspace/device-usb-camera/154 # timeout=10 20:09:12 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:09:12 > git --version # timeout=10 20:09:12 > git --version # 'git version 2.25.1' 20:09:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:09:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:09:13 ---> docker-login.sh 20:09:13 nexus3.edgexfoundry.org:10001 20:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:13 Configure a credential helper to remove this warning. See 20:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:13 20:09:13 Login Succeeded 20:09:13 nexus3.edgexfoundry.org:10002 20:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:13 Configure a credential helper to remove this warning. See 20:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:13 20:09:13 Login Succeeded 20:09:13 nexus3.edgexfoundry.org:10003 20:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:13 Configure a credential helper to remove this warning. See 20:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:13 20:09:13 Login Succeeded 20:09:13 nexus3.edgexfoundry.org:10004 20:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:13 Configure a credential helper to remove this warning. See 20:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:13 20:09:13 Login Succeeded 20:09:13 docker.io 20:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:14 Configure a credential helper to remove this warning. See 20:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:14 20:09:14 Login Succeeded 20:09:14 ---> docker-login.sh ends [Pipeline] } 20:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:14 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:09:14 97477250f83449ec135a51078cdc7ddd64728142 20:09:14 latest 20:09:14 3.1.0-dev.29 20:09:14 97477250f83449ec135a51078cdc7ddd64728142-3.1.0-dev.29 20:09:14 main 20:09:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:14 Avoid second fetch 20:09:14 Checking out Revision 97477250f83449ec135a51078cdc7ddd64728142 (main) 20:09:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:09:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:09:14 > git config core.sparsecheckout # timeout=10 20:09:14 > git checkout -f 97477250f83449ec135a51078cdc7ddd64728142 # timeout=10 20:09:14 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:14 Commit message: "Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/xfrr/goffmpeg-1.0.0" 20:09:14 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142 20:09:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:09:14 f37d31f73043: Preparing 20:09:14 c4325d5b079c: Preparing 20:09:14 c00f1f77fd1f: Preparing 20:09:14 803733ca1b2d: Preparing 20:09:14 3827b5b91e75: Preparing 20:09:14 acc83c6ca332: Preparing 20:09:14 2fb22e612b3a: Preparing 20:09:14 025b89ed21f9: Preparing 20:09:14 d78eb5332d9c: Preparing 20:09:14 6b5f1b2774b0: Preparing 20:09:14 d61a41e5f018: Preparing 20:09:14 55507b5dad1c: Preparing 20:09:14 cc2447e1835a: Preparing 20:09:14 d78eb5332d9c: Waiting 20:09:14 55507b5dad1c: Waiting 20:09:14 6b5f1b2774b0: Waiting 20:09:14 cc2447e1835a: Waiting 20:09:14 d61a41e5f018: Waiting 20:09:14 acc83c6ca332: Waiting 20:09:14 025b89ed21f9: Waiting 20:09:14 f37d31f73043: Pushed 20:09:14 803733ca1b2d: Pushed 20:09:14 c4325d5b079c: Pushed 20:09:14 c00f1f77fd1f: Pushed 20:09:14 acc83c6ca332: Pushed 20:09:15 025b89ed21f9: Pushed 20:09:15 2fb22e612b3a: Pushed 20:09:15 d78eb5332d9c: Pushed 20:09:15 6b5f1b2774b0: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:09:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:09:16 Dload Upload Total Spent Left Speed 20:09:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 20:09:16 cc2447e1835a: Pushed [Pipeline] sh 20:09:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:09:17 + sudo tee /etc/docker/daemon.new 20:09:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:09:17 { 20:09:17 "registry-mirrors": [ 20:09:17 "https://nexus3.edgexfoundry.org:10001" 20:09:17 ], 20:09:17 "bip": "10.250.0.254/24", 20:09:17 "hosts": [ 20:09:17 "tcp://0.0.0.0:5555", 20:09:17 "unix:///var/run/docker.sock" 20:09:17 ], 20:09:17 "mtu": 1458, 20:09:17 "selinux-enabled": true, 20:09:17 "seccomp-profile": "/etc/docker/seccomp.json" 20:09:17 } [Pipeline] sh 20:09:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:09:17 3827b5b91e75: Pushed 20:09:17 + sudo service docker restart 20:09:18 d61a41e5f018: Pushed 20:09:28 55507b5dad1c: Pushed 20:09:28 97477250f83449ec135a51078cdc7ddd64728142: digest: sha256:83ec2e7e112911b0f28299e286e23e2a63280d69257da63dcb6a6eec745ff0c9 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:28 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:09:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:09:28 f37d31f73043: Preparing 20:09:28 c4325d5b079c: Preparing 20:09:28 c00f1f77fd1f: Preparing 20:09:28 803733ca1b2d: Preparing 20:09:28 3827b5b91e75: Preparing 20:09:28 acc83c6ca332: Preparing 20:09:28 2fb22e612b3a: Preparing 20:09:28 025b89ed21f9: Preparing 20:09:28 d78eb5332d9c: Preparing 20:09:28 6b5f1b2774b0: Preparing 20:09:28 2fb22e612b3a: Waiting 20:09:28 acc83c6ca332: Waiting 20:09:28 025b89ed21f9: Waiting 20:09:28 d78eb5332d9c: Waiting 20:09:28 6b5f1b2774b0: Waiting 20:09:28 d61a41e5f018: Preparing 20:09:28 55507b5dad1c: Preparing 20:09:28 cc2447e1835a: Preparing 20:09:28 d61a41e5f018: Waiting 20:09:28 cc2447e1835a: Waiting 20:09:28 55507b5dad1c: Waiting 20:09:28 c00f1f77fd1f: Layer already exists 20:09:28 3827b5b91e75: Layer already exists 20:09:28 c4325d5b079c: Layer already exists 20:09:28 803733ca1b2d: Layer already exists 20:09:28 f37d31f73043: Layer already exists 20:09:28 2fb22e612b3a: Layer already exists 20:09:28 d78eb5332d9c: Layer already exists 20:09:28 acc83c6ca332: Layer already exists 20:09:28 6b5f1b2774b0: Layer already exists 20:09:28 025b89ed21f9: Layer already exists 20:09:28 d61a41e5f018: Layer already exists 20:09:28 cc2447e1835a: Layer already exists 20:09:28 55507b5dad1c: Layer already exists 20:09:28 latest: digest: sha256:83ec2e7e112911b0f28299e286e23e2a63280d69257da63dcb6a6eec745ff0c9 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.29 20:09:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:09:29 f37d31f73043: Preparing 20:09:29 c4325d5b079c: Preparing 20:09:29 c00f1f77fd1f: Preparing 20:09:29 803733ca1b2d: Preparing 20:09:29 3827b5b91e75: Preparing 20:09:29 acc83c6ca332: Preparing 20:09:29 2fb22e612b3a: Preparing 20:09:29 025b89ed21f9: Preparing 20:09:29 d78eb5332d9c: Preparing 20:09:29 6b5f1b2774b0: Preparing 20:09:29 d61a41e5f018: Preparing 20:09:29 55507b5dad1c: Preparing 20:09:29 cc2447e1835a: Preparing 20:09:29 025b89ed21f9: Waiting 20:09:29 d78eb5332d9c: Waiting 20:09:29 d61a41e5f018: Waiting 20:09:29 6b5f1b2774b0: Waiting 20:09:29 55507b5dad1c: Waiting 20:09:29 cc2447e1835a: Waiting 20:09:29 2fb22e612b3a: Waiting 20:09:29 f37d31f73043: Layer already exists 20:09:29 c00f1f77fd1f: Layer already exists 20:09:29 c4325d5b079c: Layer already exists 20:09:29 3827b5b91e75: Layer already exists 20:09:29 803733ca1b2d: Layer already exists 20:09:29 acc83c6ca332: Layer already exists 20:09:29 2fb22e612b3a: Layer already exists 20:09:29 6b5f1b2774b0: Layer already exists 20:09:29 025b89ed21f9: Layer already exists 20:09:29 d78eb5332d9c: Layer already exists 20:09:29 d61a41e5f018: Layer already exists 20:09:29 55507b5dad1c: Layer already exists 20:09:29 cc2447e1835a: Layer already exists 20:09:29 3.1.0-dev.29: digest: sha256:83ec2e7e112911b0f28299e286e23e2a63280d69257da63dcb6a6eec745ff0c9 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142-3.1.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142-3.1.0-dev.29 20:09:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:09:29 f37d31f73043: Preparing 20:09:29 c4325d5b079c: Preparing 20:09:29 c00f1f77fd1f: Preparing 20:09:29 803733ca1b2d: Preparing 20:09:29 3827b5b91e75: Preparing 20:09:29 acc83c6ca332: Preparing 20:09:29 2fb22e612b3a: Preparing 20:09:29 025b89ed21f9: Preparing 20:09:29 d78eb5332d9c: Preparing 20:09:29 6b5f1b2774b0: Preparing 20:09:29 d61a41e5f018: Preparing 20:09:29 025b89ed21f9: Waiting 20:09:29 acc83c6ca332: Waiting 20:09:29 d78eb5332d9c: Waiting 20:09:29 6b5f1b2774b0: Waiting 20:09:29 55507b5dad1c: Preparing 20:09:29 cc2447e1835a: Preparing 20:09:29 d61a41e5f018: Waiting 20:09:29 55507b5dad1c: Waiting 20:09:29 cc2447e1835a: Waiting 20:09:29 c4325d5b079c: Layer already exists 20:09:29 3827b5b91e75: Layer already exists 20:09:29 803733ca1b2d: Layer already exists 20:09:29 c00f1f77fd1f: Layer already exists 20:09:29 f37d31f73043: Layer already exists 20:09:29 2fb22e612b3a: Layer already exists 20:09:29 acc83c6ca332: Layer already exists 20:09:29 d78eb5332d9c: Layer already exists 20:09:29 025b89ed21f9: Layer already exists 20:09:29 6b5f1b2774b0: Layer already exists 20:09:29 d61a41e5f018: Layer already exists 20:09:29 55507b5dad1c: Layer already exists 20:09:29 cc2447e1835a: Layer already exists 20:09:29 97477250f83449ec135a51078cdc7ddd64728142-3.1.0-dev.29: digest: sha256:83ec2e7e112911b0f28299e286e23e2a63280d69257da63dcb6a6eec745ff0c9 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:30 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:09:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:09:30 f37d31f73043: Preparing 20:09:30 c4325d5b079c: Preparing 20:09:30 c00f1f77fd1f: Preparing 20:09:30 803733ca1b2d: Preparing 20:09:30 3827b5b91e75: Preparing 20:09:30 acc83c6ca332: Preparing 20:09:30 2fb22e612b3a: Preparing 20:09:30 025b89ed21f9: Preparing 20:09:30 d78eb5332d9c: Preparing 20:09:30 6b5f1b2774b0: Preparing 20:09:30 d61a41e5f018: Preparing 20:09:30 55507b5dad1c: Preparing 20:09:30 cc2447e1835a: Preparing 20:09:30 acc83c6ca332: Waiting 20:09:30 2fb22e612b3a: Waiting 20:09:30 025b89ed21f9: Waiting 20:09:30 d78eb5332d9c: Waiting 20:09:30 6b5f1b2774b0: Waiting 20:09:30 d61a41e5f018: Waiting 20:09:30 55507b5dad1c: Waiting 20:09:30 cc2447e1835a: Waiting 20:09:30 f37d31f73043: Layer already exists 20:09:30 c00f1f77fd1f: Layer already exists 20:09:30 3827b5b91e75: Layer already exists 20:09:30 c4325d5b079c: Layer already exists 20:09:30 803733ca1b2d: Layer already exists 20:09:30 acc83c6ca332: Layer already exists 20:09:30 2fb22e612b3a: Layer already exists 20:09:30 025b89ed21f9: Layer already exists 20:09:30 6b5f1b2774b0: Layer already exists 20:09:30 d61a41e5f018: Layer already exists 20:09:30 d78eb5332d9c: Layer already exists 20:09:30 55507b5dad1c: Layer already exists 20:09:30 cc2447e1835a: Layer already exists 20:09:30 main: digest: sha256:83ec2e7e112911b0f28299e286e23e2a63280d69257da63dcb6a6eec745ff0c9 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:09:30 ===================================================== [Pipeline] echo 20:09:30 taggedImages: 20:09:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142 20:09:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:09:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.29 20:09:30 - nexus3.edgexfoundry.org:10004/device-usb-camera:97477250f83449ec135a51078cdc7ddd64728142-3.1.0-dev.29 20:09:30 - 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 20:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:30 20:09:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:31 latest: Pulling from edgex-lftools-log-publisher 20:09:31 5eb5b503b376: Pulling fs layer 20:09:31 5c69ac0246d0: Pulling fs layer 20:09:31 ec43610c2a17: Pulling fs layer 20:09:31 3a2ae6a8a46f: Pulling fs layer 20:09:31 33b1e0a273af: Pulling fs layer 20:09:31 5d3b04190fa2: Pulling fs layer 20:09:31 2f39f015ded8: Pulling fs layer 20:09:31 33b1e0a273af: Waiting 20:09:31 5d3b04190fa2: Waiting 20:09:31 2f39f015ded8: Waiting 20:09:31 3a2ae6a8a46f: Waiting 20:09:31 5c69ac0246d0: Verifying Checksum 20:09:31 5c69ac0246d0: Download complete 20:09:31 3a2ae6a8a46f: Verifying Checksum 20:09:31 3a2ae6a8a46f: Download complete 20:09:31 33b1e0a273af: Verifying Checksum 20:09:31 33b1e0a273af: Download complete 20:09:31 5d3b04190fa2: Verifying Checksum 20:09:31 5d3b04190fa2: Download complete 20:09:31 ec43610c2a17: Verifying Checksum 20:09:31 ec43610c2a17: Download complete 20:09:31 5eb5b503b376: Verifying Checksum 20:09:31 5eb5b503b376: Download complete 20:09:32 2f39f015ded8: Download complete 20:09:32 5eb5b503b376: Pull complete 20:09:32 5c69ac0246d0: Pull complete 20:09:33 ec43610c2a17: Pull complete 20:09:33 3a2ae6a8a46f: Pull complete 20:09:33 33b1e0a273af: Pull complete 20:09:33 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:35 provisioning config files... 20:09:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/154@tmp/config15146900014814569243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:36 ---> docker-login.sh 20:09:36 nexus3.edgexfoundry.org:10001 20:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:36 Configure a credential helper to remove this warning. See 20:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:36 20:09:36 Login Succeeded 20:09:36 nexus3.edgexfoundry.org:10002 20:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:37 Configure a credential helper to remove this warning. See 20:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:37 20:09:37 Login Succeeded 20:09:37 nexus3.edgexfoundry.org:10003 20:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:37 2f39f015ded8: Pull complete 20:09:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:09:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 20:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:37 Configure a credential helper to remove this warning. See 20:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:37 20:09:37 Login Succeeded 20:09:37 nexus3.edgexfoundry.org:10004 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:09:37 prd-ubuntu20.04-docker-8c-8g-8337 does not seem to be running inside a container 20:09:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:37 Configure a credential helper to remove this warning. See 20:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:37 20:09:37 Login Succeeded 20:09:37 docker.io 20:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:38 Error response from daemon: Get "https://registry-1.docker.io/v2/": received unexpected HTTP status: 503 Service Unavailable 20:09:40 $ docker top b79b7cf784a439afa267009d529aa6aff9c945319be89acc22f07ce0e145d51c -eo pid,comm [Pipeline] { [Pipeline] } 20:09:40 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:41 ---> job-cost.sh 20:09:41 lf-activate-venv: SKIPPING 20:09:41 INFO: No Stack... 20:09:41 INFO: Retrieving Pricing Info for: v3-standard-8 20:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:41 20:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:41 INFO: Archiving Costs [Pipeline] sh 20:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:41 arm64: Pulling from edgex-lftools-log-publisher 20:09:41 8998bd30e6a1: Pulling fs layer 20:09:41 04944245beec: Pulling fs layer 20:09:41 699f458cf7ca: Pulling fs layer 20:09:41 765212b225bb: Pulling fs layer 20:09:41 f23df028b6ca: Pulling fs layer 20:09:41 d65c8cfc05b1: Pulling fs layer 20:09:41 2437ff75d9bd: Pulling fs layer 20:09:41 f23df028b6ca: Waiting 20:09:41 d65c8cfc05b1: Waiting 20:09:41 765212b225bb: Waiting 20:09:41 2437ff75d9bd: Waiting 20:09:41 + cut -d, -f6 20:09:41 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 20:09:41 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] 20:09:42 Resource [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] did not exist. Created. 20:09:42 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:09:42 04944245beec: Verifying Checksum 20:09:42 04944245beec: Download complete 20:09:42 765212b225bb: Verifying Checksum 20:09:42 765212b225bb: Download complete 20:09:42 f23df028b6ca: Verifying Checksum 20:09:42 f23df028b6ca: Download complete 20:09:42 d65c8cfc05b1: Verifying Checksum 20:09:42 d65c8cfc05b1: Download complete 20:09:42 + echo total: 0.2199999988079071 [Pipeline] stash 20:09:42 Stashed 1 file(s) [Pipeline] } 20:09:42 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] [Pipeline] // lock 20:09:42 699f458cf7ca: Verifying Checksum 20:09:42 699f458cf7ca: Download complete [Pipeline] } 20:09:42 $ docker stop --time=1 b79b7cf784a439afa267009d529aa6aff9c945319be89acc22f07ce0e145d51c 20:09:42 8998bd30e6a1: Verifying Checksum 20:09:42 8998bd30e6a1: Download complete 20:09:43 $ docker rm -f --volumes b79b7cf784a439afa267009d529aa6aff9c945319be89acc22f07ce0e145d51c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:09:45 2437ff75d9bd: Verifying Checksum 20:09:45 2437ff75d9bd: Download complete 20:09:46 8998bd30e6a1: Pull complete 20:09:47 04944245beec: Pull complete 20:09:48 699f458cf7ca: Pull complete 20:09:48 765212b225bb: Pull complete 20:09:49 f23df028b6ca: Pull complete 20:09:49 d65c8cfc05b1: Pull complete 20:10:04 2437ff75d9bd: Pull complete 20:10:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:04 prd-ubuntu20.04-docker-arm64-4c-16g-8338 does not seem to be running inside a container 20:10:04 $ 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/154 -v /w/workspace/device-usb-camera/154:/w/workspace/device-usb-camera/154:rw,z -v /w/workspace/device-usb-camera/154@tmp:/w/workspace/device-usb-camera/154@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 20:10:07 $ docker top eb1a32e273731c25727c8aa92ab2b7dc57c60face4fc2e2ca3f21a8528c39cf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:08 ---> job-cost.sh 20:10:08 lf-activate-venv: SKIPPING 20:10:08 INFO: No Stack... 20:10:08 INFO: Retrieving Pricing Info for: v3-standard-4 20:10:09 INFO: Archiving Costs [Pipeline] sh 20:10:10 + cat /w/workspace/device-usb-camera/154/archives/cost.csv 20:10:10 + cut -d, -f6 [Pipeline] lock 20:10:10 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] 20:10:10 Resource [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] did not exist. Created. 20:10:10 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:11 /w/workspace/device-usb-camera/154@tmp/durable-52769a64/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:10:11 + echo total: 0.10999999940395355 [Pipeline] stash 20:10:11 Warning: overwriting stash ‘stack-cost’ 20:10:12 Stashed 1 file(s) [Pipeline] } 20:10:12 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:12 $ docker stop --time=1 eb1a32e273731c25727c8aa92ab2b7dc57c60face4fc2e2ca3f21a8528c39cf6 20:10:13 $ docker rm -f --volumes eb1a32e273731c25727c8aa92ab2b7dc57c60face4fc2e2ca3f21a8528c39cf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:10:13 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:10:14 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 20:10:14 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:10:14 total 16 20:10:14 drwxr-xr-x 3 root root 4096 Oct 2 20:09 . 20:10:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 20:09 .. 20:10:14 drwxr-xr-x 2 root root 4096 Oct 2 20:09 cost 20:10:14 -rw-r--r-- 1 root root 89 Oct 2 20:09 cost.csv 20:10:14 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 20:10:14 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:10:14 total 16 20:10:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:09 . 20:10:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 20:09 .. 20:10:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 20:09 cost 20:10:14 -rw-r--r-- 1 jenkins jenkins 89 Oct 2 20:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:10:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:15 ---> package-listing.sh 20:10:15 ++ facter osfamily 20:10:15 ++ tr '[:upper:]' '[:lower:]' 20:10:15 + OS_FAMILY=debian 20:10:15 + workspace=/w/workspace/exfoundry_device-usb-camera_main 20:10:15 + START_PACKAGES=/tmp/packages_start.txt 20:10:15 + END_PACKAGES=/tmp/packages_end.txt 20:10:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:15 + PACKAGES=/tmp/packages_start.txt 20:10:15 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:10:15 + PACKAGES=/tmp/packages_end.txt 20:10:15 + case "${OS_FAMILY}" in 20:10:15 + dpkg -l 20:10:15 + grep '^ii' 20:10:15 + '[' -f /tmp/packages_start.txt ']' 20:10:15 + '[' -f /tmp/packages_end.txt ']' 20:10:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:15 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:10:15 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 20:10:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 20:10:15 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 20:10:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:16 prd-ubuntu20.04-docker-8c-8g-8337 does not seem to be running inside a container 20:10:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:10:17 $ docker top cf43f5910e2763b81df1d04969cba469fd3be9279d70cfd58058301609d84161 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:17 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:17 + mkdir -p /var/log/sysstat [Pipeline] sh 20:10:17 + ls /var/log/sa-host 20:10:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:18 provisioning config files... 20:10:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8674980720751559186tmp [Pipeline] { [Pipeline] echo 20:10:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:18 ---> create-netrc.sh [Pipeline] } 20:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:18 ---> python-tools-install.sh [Pipeline] echo 20:10:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:10:19 ---> sudo-logs.sh 20:10:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:10:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:10:19 ---> job-cost.sh 20:10:19 lf-activate-venv: SKIPPING 20:10:19 DEBUG: total: 0.2199999988079071 20:10:19 INFO: Retrieving Stack Cost... 20:10:19 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:20 INFO: Archiving Costs [Pipeline] echo 20:10:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:10:20 ---> logs-deploy.sh 20:10:20 lf-activate-venv: SKIPPING 20:10:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/154 20:10:20 INFO: archiving workspace using pattern(s): 20:10:21 Archives upload complete. 20:10:21 INFO: archiving logs to Nexus