Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d57e067b9f342878cbcddcb6845d242959a83275 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-ssh835178103404711717.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3501721268495243823.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13276363518694883752.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2240642414943348429.key Verifying host key using known hosts file > 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-ssh7130396082964038761.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-120675’ is offline Running on prd-ubuntu20.04-docker-8c-8g-120678 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 d57e067b9f342878cbcddcb6845d242959a83275 (main) Commit message: "docs: updates to usb documentation (#115)" > 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 d57e067b9f342878cbcddcb6845d242959a83275 # timeout=10 > git rev-list --no-walk a13c0d85fe61587dda65b2f8a27bf555b431ec25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:17:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:17:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:02 ========================================================= 21:17:02 EdgeX Global Pipelines Version Info 21:17:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:17:03 ------------------- 21:17:03 stable info: 21:17:03 ------------------- 21:17:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:17:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:17:03 Message: update stable to v1.0.244 21:17:03 ------------------- 21:17:03 experimental info: 21:17:03 ------------------- 21:17:03 Commited By: **** collab-it+edgex@linuxfoundation.org 21:17:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:17:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d57e067 [Pipeline] echo 21:17:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:04 provisioning config files... 21:17:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8875007505562737085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:04 ---> docker-login.sh 21:17:04 nexus3.edgexfoundry.org:10001 21:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:05 Configure a credential helper to remove this warning. See 21:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:05 21:17:05 Login Succeeded 21:17:05 nexus3.edgexfoundry.org:10002 21:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:05 Configure a credential helper to remove this warning. See 21:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:05 21:17:05 Login Succeeded 21:17:05 nexus3.edgexfoundry.org:10003 21:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:05 Configure a credential helper to remove this warning. See 21:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:05 21:17:05 Login Succeeded 21:17:05 nexus3.edgexfoundry.org:10004 21:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:05 Configure a credential helper to remove this warning. See 21:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:05 21:17:05 Login Succeeded 21:17:05 docker.io 21:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:05 Configure a credential helper to remove this warning. See 21:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:05 21:17:05 Login Succeeded 21:17:05 ---> docker-login.sh ends [Pipeline] } 21:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:17:06 + git rev-list -1 --merges d57e067b9f342878cbcddcb6845d242959a83275~1..d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] echo 21:17:06 -----------> git rev-list -1 --merges d57e067b9f342878cbcddcb6845d242959a83275~1..d57e067b9f342878cbcddcb6845d242959a83275 d57e067b9f342878cbcddcb6845d242959a83275 [false] [Pipeline] sh 21:17:06 + git log --format=format:%s -1 d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] echo 21:17:06 ========================================================= 21:17:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:17:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:06 + git log --format=format:%s -1 d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] echo 21:17:06 [semverPrep] GIT_COMMIT: d57e067b9f342878cbcddcb6845d242959a83275, Commit Message: docs: updates to usb documentation (#115) [Pipeline] echo 21:17:06 [semverPrep] This is not a build commit. [Pipeline] sh 21:17:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:07 + grep -v github /etc/ssh/ssh_known_hosts 21:17:07 + [ -e /tmp/ssh_known_hosts ] 21:17:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:17:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:17:07 + sudo tee -a /etc/ssh/ssh_known_hosts 21:17:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:07 21:17:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:07 0.1.4: Pulling from edgex-devops/py-git-semver 21:17:07 b85a868b505f: Pulling fs layer 21:17:07 e2be974225ed: Pulling fs layer 21:17:07 339a4e72a1f5: Pulling fs layer 21:17:07 988bab9f4d93: Pulling fs layer 21:17:07 1469e6f7b9e6: Pulling fs layer 21:17:07 eaf3925da568: Pulling fs layer 21:17:07 bab4dde63d76: Pulling fs layer 21:17:07 bde34c3a00c8: Pulling fs layer 21:17:07 b352a97aabf1: Pulling fs layer 21:17:07 4872d77fe225: Pulling fs layer 21:17:07 5851b861e8e6: Pulling fs layer 21:17:07 eaf3925da568: Waiting 21:17:07 bab4dde63d76: Waiting 21:17:07 bde34c3a00c8: Waiting 21:17:07 b352a97aabf1: Waiting 21:17:07 4872d77fe225: Waiting 21:17:07 5851b861e8e6: Waiting 21:17:07 988bab9f4d93: Waiting 21:17:07 1469e6f7b9e6: Waiting 21:17:07 e2be974225ed: Download complete 21:17:07 988bab9f4d93: Verifying Checksum 21:17:07 988bab9f4d93: Download complete 21:17:08 1469e6f7b9e6: Verifying Checksum 21:17:08 1469e6f7b9e6: Download complete 21:17:08 eaf3925da568: Verifying Checksum 21:17:08 eaf3925da568: Download complete 21:17:08 339a4e72a1f5: Verifying Checksum 21:17:08 339a4e72a1f5: Download complete 21:17:08 bde34c3a00c8: Verifying Checksum 21:17:08 bde34c3a00c8: Download complete 21:17:08 b352a97aabf1: Verifying Checksum 21:17:08 b352a97aabf1: Download complete 21:17:08 4872d77fe225: Verifying Checksum 21:17:08 4872d77fe225: Download complete 21:17:08 5851b861e8e6: Verifying Checksum 21:17:08 5851b861e8e6: Download complete 21:17:08 b85a868b505f: Verifying Checksum 21:17:08 b85a868b505f: Download complete 21:17:08 bab4dde63d76: Verifying Checksum 21:17:08 bab4dde63d76: Download complete 21:17:09 b85a868b505f: Pull complete 21:17:09 e2be974225ed: Pull complete 21:17:10 339a4e72a1f5: Pull complete 21:17:10 988bab9f4d93: Pull complete 21:17:10 1469e6f7b9e6: Pull complete 21:17:10 eaf3925da568: Pull complete 21:17:12 bab4dde63d76: Pull complete 21:17:12 bde34c3a00c8: Pull complete 21:17:12 b352a97aabf1: Pull complete 21:17:12 4872d77fe225: Pull complete 21:17:12 5851b861e8e6: Pull complete 21:17:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:12 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:17:12 $ 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 21:17:14 $ docker top 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 -eo pid,comm 21:17:14 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). 21:17:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:14 [ssh-agent] Looking for ssh-agent implementation... 21:17:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:14 $ docker exec 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 ssh-agent 21:17:14 SSH_AUTH_SOCK=/tmp/ssh-tsvKk9Sy1kVf/agent.32 21:17:14 SSH_AGENT_PID=38 21:17:14 Running ssh-add (command line suppressed) 21:17:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_943445582214870626.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_943445582214870626.key) 21:17:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:14 + git tag --points-at HEAD [Pipeline] } 21:17:14 $ docker exec --env ******** --env ******** 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 ssh-agent -k 21:17:15 unset SSH_AUTH_SOCK; 21:17:15 unset SSH_AGENT_PID; 21:17:15 echo Agent pid 38 killed; 21:17:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:17:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:15 [ssh-agent] Looking for ssh-agent implementation... 21:17:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:15 $ docker exec 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 ssh-agent 21:17:15 SSH_AUTH_SOCK=/tmp/ssh-QCep7fBrzuLC/agent.70 21:17:15 SSH_AGENT_PID=76 21:17:15 Running ssh-add (command line suppressed) 21:17:15 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5922513937685128072.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5922513937685128072.key) 21:17:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:15 + git semver init 21:17:15 2022-12-06 21:17:15,853 [run_init] DEBUG init version:0.0.0 force:False 21:17:15 2022-12-06 21:17:15,853 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 21:17:15 2022-12-06 21:17:15,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 21:17:15 2022-12-06 21:17:15,854 [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) 21:17:16 2022-12-06 21:17:16,560 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 21:17:16 2022-12-06 21:17:16,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 21:17:16 2022-12-06 21:17:16,561 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:17:16 2022-12-06 21:17:16,561 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:17:16 3.0.0-dev.1 [Pipeline] } 21:17:16 $ docker exec --env ******** --env ******** 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 ssh-agent -k 21:17:16 unset SSH_AUTH_SOCK; 21:17:16 unset SSH_AGENT_PID; 21:17:16 echo Agent pid 76 killed; 21:17:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:17 + git semver [Pipeline] } 21:17:17 $ docker stop --time=1 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 21:17:18 $ docker rm -f 001072dabc37d7e073a58fd5128ee97bc68e8634911d87a25021cce00ac5de25 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:17:19 Stashed 1 file(s) [Pipeline] echo 21:17:19 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:19 provisioning config files... 21:17:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14015476889843512401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:19 ---> docker-login.sh 21:17:19 nexus3.edgexfoundry.org:10001 21:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:19 Configure a credential helper to remove this warning. See 21:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:19 21:17:19 Login Succeeded 21:17:19 nexus3.edgexfoundry.org:10002 21:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:19 Configure a credential helper to remove this warning. See 21:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:19 21:17:19 Login Succeeded 21:17:19 nexus3.edgexfoundry.org:10003 21:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:20 Configure a credential helper to remove this warning. See 21:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:20 21:17:20 Login Succeeded 21:17:20 nexus3.edgexfoundry.org:10004 21:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:20 Configure a credential helper to remove this warning. See 21:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:20 21:17:20 Login Succeeded 21:17:20 docker.io 21:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:20 Configure a credential helper to remove this warning. See 21:17:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:20 21:17:20 Login Succeeded 21:17:20 ---> docker-login.sh ends [Pipeline] } 21:17:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:20 ========================================================= 21:17:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:17:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:17:20 Sending build context to Docker daemon 1.586MB 21:17:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:17:20 Step 2/13 : FROM ${BASE} AS builder 21:17:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:17:20 213ec9aee27d: Pulling fs layer 21:17:20 4583459ba037: Pulling fs layer 21:17:20 93c1e223e6f2: Pulling fs layer 21:17:20 53926ce57604: Pulling fs layer 21:17:20 21b2b0c7a3f4: Pulling fs layer 21:17:20 22ff95d597cd: Pulling fs layer 21:17:20 12d6caf4c0d1: Pulling fs layer 21:17:20 96b7cbca73a9: Pulling fs layer 21:17:20 a7acece74701: Pulling fs layer 21:17:20 21b2b0c7a3f4: Waiting 21:17:20 53926ce57604: Waiting 21:17:20 96b7cbca73a9: Waiting 21:17:20 22ff95d597cd: Waiting 21:17:20 12d6caf4c0d1: Waiting 21:17:20 93c1e223e6f2: Download complete 21:17:20 4583459ba037: Download complete 21:17:20 21b2b0c7a3f4: Verifying Checksum 21:17:20 21b2b0c7a3f4: Download complete 21:17:20 22ff95d597cd: Verifying Checksum 21:17:20 22ff95d597cd: Download complete 21:17:21 213ec9aee27d: Verifying Checksum 21:17:21 12d6caf4c0d1: Download complete 21:17:21 213ec9aee27d: Pull complete 21:17:21 4583459ba037: Pull complete 21:17:21 93c1e223e6f2: Pull complete 21:17:21 a7acece74701: Verifying Checksum 21:17:21 a7acece74701: Download complete 21:17:21 53926ce57604: Verifying Checksum 21:17:21 53926ce57604: Download complete 21:17:21 96b7cbca73a9: Verifying Checksum 21:17:21 96b7cbca73a9: Download complete 21:17:26 53926ce57604: Pull complete 21:17:26 21b2b0c7a3f4: Pull complete 21:17:26 22ff95d597cd: Pull complete 21:17:26 12d6caf4c0d1: Pull complete 21:17:28 96b7cbca73a9: Pull complete 21:17:28 a7acece74701: Pull complete 21:17:29 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:17:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:17:29 ---> db6d94c90886 21:17:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:17:31 ---> Running in c208a5d39ab7 21:17:31 Removing intermediate container c208a5d39ab7 21:17:31 ---> fa9d807d1fbc 21:17:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:31 ---> Running in 5dbac44999fc 21:17:31 Removing intermediate container 5dbac44999fc 21:17:31 ---> bde2ce93aef8 21:17:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:17:31 ---> Running in 5f6f8882c851 21:17:31 Removing intermediate container 5f6f8882c851 21:17:31 ---> b3958d4e11a8 21:17:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:17:31 ---> Running in 97fcc15df604 21:17:31 Removing intermediate container 97fcc15df604 21:17:31 ---> 844a4e9202d6 21:17:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:31 ---> Running in b8129521bb9b 21:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:17:32 (1/80) Installing mesa (21.3.8-r2) 21:17:32 (2/80) Installing libxau (1.0.9-r0) 21:17:32 (3/80) Installing libxdmcp (1.1.3-r0) 21:17:32 (4/80) Installing libxcb (1.15-r0) 21:17:32 (5/80) Installing libx11 (1.8-r0) 21:17:32 (6/80) Installing libxext (1.3.4-r0) 21:17:32 (7/80) Installing libxfixes (6.0.0-r0) 21:17:32 (8/80) Installing libxxf86vm (1.1.4-r2) 21:17:32 (9/80) Installing libpciaccess (0.16-r0) 21:17:32 (10/80) Installing libdrm (2.4.110-r0) 21:17:32 (11/80) Installing mesa-glapi (21.3.8-r2) 21:17:32 (12/80) Installing libxshmfence (1.3-r1) 21:17:32 (13/80) Installing mesa-gl (21.3.8-r2) 21:17:32 (14/80) Installing icu-data-full (71.1-r2) 21:17:32 (15/80) Installing libice (1.0.10-r0) 21:17:32 (16/80) Installing libuuid (2.38-r1) 21:17:32 (17/80) Installing libsm (1.2.3-r0) 21:17:32 (18/80) Installing libxt (1.2.1-r0) 21:17:32 (19/80) Installing libxmu (1.1.3-r0) 21:17:32 (20/80) Installing xset (1.2.4-r0) 21:17:32 (21/80) Installing xprop (1.2.5-r0) 21:17:32 (22/80) Installing xdg-utils (1.1.3-r3) 21:17:32 (23/80) Installing dbus-libs (1.14.4-r0) 21:17:32 (24/80) Installing libffi (3.4.2-r1) 21:17:32 (25/80) Installing libintl (0.21-r2) 21:17:32 (26/80) Installing libblkid (2.38-r1) 21:17:32 (27/80) Installing libmount (2.38-r1) 21:17:32 (28/80) Installing pcre (8.45-r2) 21:17:32 (29/80) Installing glib (2.72.1-r0) 21:17:32 (30/80) Installing icu-libs (71.1-r2) 21:17:32 (31/80) Installing libpcre2-16 (10.40-r0) 21:17:32 (32/80) Installing zstd-libs (1.5.2-r1) 21:17:32 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 21:17:32 (34/80) Installing hicolor-icon-theme (0.17-r1) 21:17:32 (35/80) Installing wayland-libs-server (1.20.0-r0) 21:17:32 (36/80) Installing mesa-gbm (21.3.8-r2) 21:17:32 (37/80) Installing wayland-libs-client (1.20.0-r0) 21:17:32 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 21:17:32 (39/80) Installing libxcomposite (0.4.5-r0) 21:17:32 (40/80) Installing libbz2 (1.0.8-r1) 21:17:32 (41/80) Installing libpng (1.6.37-r1) 21:17:32 (42/80) Installing freetype (2.12.1-r0) 21:17:32 (43/80) Installing fontconfig (2.14.0-r0) 21:17:32 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 21:17:32 (45/80) Installing wayland-libs-egl (1.20.0-r0) 21:17:32 (46/80) Installing xkeyboard-config (2.35.1-r0) 21:17:32 (47/80) Installing xz-libs (5.2.5-r1) 21:17:32 (48/80) Installing libxml2 (2.9.14-r2) 21:17:32 (49/80) Installing libxkbcommon (1.4.1-r0) 21:17:32 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 21:17:33 (51/80) Installing mesa-egl (21.3.8-r2) 21:17:33 (52/80) Installing avahi-libs (0.8-r6) 21:17:33 (53/80) Installing nettle (3.7.3-r0) 21:17:33 (54/80) Installing p11-kit (0.24.1-r0) 21:17:33 (55/80) Installing libtasn1 (4.18.0-r0) 21:17:33 (56/80) Installing libunistring (1.0-r0) 21:17:33 (57/80) Installing gnutls (3.7.7-r0) 21:17:33 (58/80) Installing cups-libs (2.4.2-r0) 21:17:33 (59/80) Installing graphite2 (1.3.14-r1) 21:17:33 (60/80) Installing harfbuzz (4.3.0-r0) 21:17:33 (61/80) Installing libevdev (1.12.1-r0) 21:17:33 (62/80) Installing mtdev (1.1.6-r0) 21:17:33 (63/80) Installing eudev-libs (3.2.11-r0) 21:17:33 (64/80) Installing libinput-libs (1.20.1-r0) 21:17:33 (65/80) Installing libjpeg-turbo (2.1.3-r1) 21:17:33 (66/80) Installing xcb-util-wm (0.4.1-r1) 21:17:33 (67/80) Installing xcb-util (0.4.0-r3) 21:17:33 (68/80) Installing xcb-util-image (0.4.0-r1) 21:17:33 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 21:17:33 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 21:17:33 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 21:17:33 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 21:17:33 (73/80) Installing v4l-utils-libs (1.22.1-r1) 21:17:33 (74/80) Installing v4l-utils (1.22.1-r1) 21:17:33 (75/80) Installing udev-init-scripts (35-r0) 21:17:33 Executing udev-init-scripts-35-r0.post-install 21:17:33 (76/80) Installing kmod-libs (29-r2) 21:17:33 (77/80) Installing eudev (3.2.11-r0) 21:17:33 (78/80) Installing eudev-dev (3.2.11-r0) 21:17:33 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:17:33 (80/80) Installing v4l-utils-dev (1.22.1-r1) 21:17:33 Executing busybox-1.35.0-r17.trigger 21:17:33 Executing eudev-3.2.11-r0.trigger 21:17:33 OK: 330 MiB in 131 packages 21:17:34 Still waiting to schedule task 21:17:34 ‘prd-ubuntu20.04-docker-arm64-4c-16g-120677’ is offline 21:17:35 Removing intermediate container b8129521bb9b 21:17:35 ---> 49f7708eac1f 21:17:35 Step 8/13 : WORKDIR /device-usb-camera 21:17:35 ---> Running in ab7f7f884c5f 21:17:35 Removing intermediate container ab7f7f884c5f 21:17:35 ---> 75977c6e4cc7 21:17:35 Step 9/13 : COPY go.mod vendor* ./ 21:17:35 ---> 081b37dcdb9d 21:17:35 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:35 ---> Running in c72bcf315824 21:18:02 Removing intermediate container c72bcf315824 21:18:02 ---> cb7e64dea367 21:18:02 Step 11/13 : COPY . . 21:18:02 ---> 70d5d18f695e 21:18:02 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:18:02 ---> Running in d865595e4f02 21:18:02  % Total % Received % Xferd Average Speed Time Time Time Current 21:18:02 Dload Upload Total Spent Left Speed 21:18:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9057 0 --:--:-- --:--:-- --:--:-- 9000 100 1062 100 1062 0 0 9050 0 --:--:-- --:--:-- --:--:-- 9000 21:18:02 Removing intermediate container d865595e4f02 21:18:02 ---> d3e9ce6f39ba 21:18:02 Step 13/13 : RUN ${MAKE} 21:18:02 ---> Running in 7ced3ddd8013 21:18:02 noop 21:18:02 Removing intermediate container 7ced3ddd8013 21:18:02 ---> 59f1a0ee070f 21:18:02 Successfully built 59f1a0ee070f 21:18:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:02 + docker inspect -f . ci-base-image-x86_64 21:18:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:02 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:18:02 $ 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 21:18:02 $ docker top c86a7b45d6368a331dff175afff569a1df8f166e9871410831fb82c5f0108f7f -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:03 + go version 21:18:03 go version go1.18.7 linux/amd64 [Pipeline] } 21:18:03 $ docker stop --time=1 c86a7b45d6368a331dff175afff569a1df8f166e9871410831fb82c5f0108f7f 21:18:04 $ docker rm -f c86a7b45d6368a331dff175afff569a1df8f166e9871410831fb82c5f0108f7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:05 + docker inspect -f . ci-base-image-x86_64 21:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:05 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:18:05 $ 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 21:18:05 $ docker top 3cc0cacbff1dcb490a1604b1e8cb8b924a33f76b43908949a26ccf1de244228b -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:05 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 21:18:06 + make test 21:18:06 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 21:18:06 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:18:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:18:16 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 21:18:25 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:18:25 CGO_ENABLED=1 go vet ./... 21:18:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:27 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:27 $ docker stop --time=1 3cc0cacbff1dcb490a1604b1e8cb8b924a33f76b43908949a26ccf1de244228b 21:18:29 $ docker rm -f 3cc0cacbff1dcb490a1604b1e8cb8b924a33f76b43908949a26ccf1de244228b [Pipeline] // withDockerContainer [Pipeline] sh 21:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:30 + ls -al . 21:18:30 total 200 21:18:30 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 21:18 . 21:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:17 .. 21:18:30 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 21:18 .git 21:18:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:17 .github 21:18:30 -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 21:17 .gitignore 21:18:30 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 21:17 .golangci.yml 21:18:30 -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 21:17 .hadolint.yml 21:18:30 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 21:17 .semver 21:18:30 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 21:17 Attribution.txt 21:18:30 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 21:17 CHANGELOG.md 21:18:30 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 21:17 Dockerfile 21:18:30 -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 21:17 GOVERNANCE.md 21:18:30 -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 21:17 Jenkinsfile 21:18:30 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 21:17 LICENSE 21:18:30 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 21:17 Makefile 21:18:30 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 21:17 OWNERS.md 21:18:30 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 6 21:17 README.md 21:18:30 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 21:17 VERSION 21:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 21:17 bin 21:18:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:17 cmd 21:18:30 -rw-r--r-- 1 jenkins jenkins 30072 Dec 6 21:18 coverage.out 21:18:30 -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 21:17 docker-entrypoint.sh 21:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:17 docs 21:18:30 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 21:17 go.mod 21:18:30 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 21:17 go.sum 21:18:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:17 internal 21:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:17 snap 21:18:30 -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 21:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:31 + 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=d57e067b9f342878cbcddcb6845d242959a83275 --label arch=amd64 --label version=3.0.0-dev.1 . 21:18:31 Sending build context to Docker daemon 1.617MB 21:18:31 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 21:18:31 Step 2/35 : FROM ${BASE} AS builder 21:18:31 ---> 59f1a0ee070f 21:18:31 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:18:31 ---> Running in 7be054b61891 21:18:31 Removing intermediate container 7be054b61891 21:18:31 ---> c8e87c55bd10 21:18:31 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:31 ---> Running in d777d8344ed4 21:18:31 Removing intermediate container d777d8344ed4 21:18:31 ---> 448471e02e14 21:18:31 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:18:31 ---> Running in 200bf4be2e5a 21:18:31 Removing intermediate container 200bf4be2e5a 21:18:31 ---> 0c83fe555cf7 21:18:31 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:18:31 ---> Running in e70817a31270 21:18:31 Removing intermediate container e70817a31270 21:18:31 ---> c75e815f5232 21:18:31 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:31 ---> Running in 269b904a3a9b 21:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:18:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:18:32 OK: 330 MiB in 131 packages 21:18:33 Removing intermediate container 269b904a3a9b 21:18:33 ---> fdccbe2dbe3d 21:18:33 Step 8/35 : WORKDIR /device-usb-camera 21:18:33 ---> Running in 589bd78c64bc 21:18:33 Removing intermediate container 589bd78c64bc 21:18:33 ---> 0a2bd4c6bbba 21:18:33 Step 9/35 : COPY go.mod vendor* ./ 21:18:33 ---> 6d87dff8b74e 21:18:33 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:33 ---> Running in a78be13a0015 21:18:33 Removing intermediate container a78be13a0015 21:18:33 ---> 67161c0e96db 21:18:33 Step 11/35 : COPY . . 21:18:34 ---> 62a7ac9764ac 21:18:34 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:18:34 ---> Running in a0e4deaa11a7 21:18:34  % Total % Received % Xferd Average Speed Time Time Time Current 21:18:34 Dload Upload Total Spent Left Speed 21:18:34 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 29010 0 --:--:-- --:--:-- --:--:-- 29500 21:18:34 Removing intermediate container a0e4deaa11a7 21:18:34 ---> 19837cc4df27 21:18:34 Step 13/35 : RUN ${MAKE} 21:18:34 ---> Running in e17afd6cbd33 21:18:35 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 21:18:57 Removing intermediate container e17afd6cbd33 21:18:57 ---> 6c1f1e9e1b77 21:18:57 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 21:18:57 v0.18.4: Pulling from aler9/rtsp-simple-server 21:18:57 af6660deedbd: Pulling fs layer 21:18:57 97cd0a44c592: Pulling fs layer 21:18:57 97cd0a44c592: Download complete 21:18:57 af6660deedbd: Verifying Checksum 21:18:57 af6660deedbd: Download complete 21:18:57 af6660deedbd: Pull complete 21:18:57 97cd0a44c592: Pull complete 21:18:57 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 21:18:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 21:18:57 ---> fea57e182299 21:18:57 Step 15/35 : FROM alpine:3.16 21:18:57 3.16: Pulling from library/alpine 21:18:57 ca7dd9ec2225: Pulling fs layer 21:18:58 ca7dd9ec2225: Verifying Checksum 21:18:58 ca7dd9ec2225: Download complete 21:18:58 ca7dd9ec2225: Pull complete 21:18:58 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:18:58 Status: Downloaded newer image for alpine:3.16 21:18:58 ---> bfe296a52501 21:18:58 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:18:58 ---> Running in b77278394a9c 21:18:58 Removing intermediate container b77278394a9c 21:18:58 ---> 32f510add316 21:18:58 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 21:18:58 ---> Running in da3133754230 21:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:18:59 (1/83) Installing dumb-init (1.2.5-r1) 21:18:59 (2/83) Installing sdl2 (2.0.22-r0) 21:18:59 (3/83) Installing libxau (1.0.9-r0) 21:18:59 (4/83) Installing libxdmcp (1.1.3-r0) 21:18:59 (5/83) Installing libxcb (1.15-r0) 21:18:59 (6/83) Installing libx11 (1.8-r0) 21:18:59 (7/83) Installing aom-libs (3.3.0-r0) 21:18:59 (8/83) Installing alsa-lib (1.2.7.2-r0) 21:18:59 (9/83) Installing expat (2.5.0-r0) 21:18:59 (10/83) Installing brotli-libs (1.0.9-r6) 21:18:59 (11/83) Installing libbz2 (1.0.8-r1) 21:18:59 (12/83) Installing libpng (1.6.37-r1) 21:18:59 (13/83) Installing freetype (2.12.1-r0) 21:18:59 (14/83) Installing fontconfig (2.14.0-r0) 21:18:59 (15/83) Installing fribidi (1.0.12-r0) 21:18:59 (16/83) Installing libffi (3.4.2-r1) 21:18:59 (17/83) Installing libintl (0.21-r2) 21:18:59 (18/83) Installing libblkid (2.38-r1) 21:18:59 (19/83) Installing libmount (2.38-r1) 21:18:59 (20/83) Installing pcre (8.45-r2) 21:18:59 (21/83) Installing glib (2.72.1-r0) 21:18:59 (22/83) Installing graphite2 (1.3.14-r1) 21:18:59 (23/83) Installing harfbuzz (4.3.0-r0) 21:18:59 (24/83) Installing libass (0.16.0-r0) 21:18:59 (25/83) Installing libdav1d (1.0.0-r0) 21:18:59 (26/83) Installing libpciaccess (0.16-r0) 21:18:59 (27/83) Installing libdrm (2.4.110-r0) 21:18:59 (28/83) Installing gmp (6.2.1-r2) 21:18:59 (29/83) Installing nettle (3.7.3-r0) 21:18:59 (30/83) Installing p11-kit (0.24.1-r0) 21:18:59 (31/83) Installing libtasn1 (4.18.0-r0) 21:18:59 (32/83) Installing libunistring (1.0-r0) 21:18:59 (33/83) Installing gnutls (3.7.7-r0) 21:18:59 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 21:18:59 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 21:18:59 (36/83) Installing lame (3.100-r0) 21:18:59 (37/83) Installing opus (1.3.1-r1) 21:18:59 (38/83) Installing libasyncns (0.8-r1) 21:18:59 (39/83) Installing dbus-libs (1.14.4-r0) 21:18:59 (40/83) Installing libltdl (2.4.7-r0) 21:18:59 (41/83) Installing orc (0.4.32-r0) 21:18:59 (42/83) Installing libgcc (11.2.1_git20220219-r2) 21:18:59 (43/83) Installing libogg (1.3.5-r1) 21:18:59 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 21:19:00 (45/83) Installing flac (1.3.4-r0) 21:19:00 (46/83) Installing libvorbis (1.3.7-r0) 21:19:00 (47/83) Installing libsndfile (1.1.0-r0) 21:19:00 (48/83) Installing libgomp (11.2.1_git20220219-r2) 21:19:00 (49/83) Installing soxr (0.1.3-r2) 21:19:00 (50/83) Installing speexdsp (1.2.0-r0) 21:19:00 (51/83) Installing tdb-libs (1.4.6-r0) 21:19:00 (52/83) Installing libpulse (15.0-r2) 21:19:00 (53/83) Installing cjson (1.7.15-r3) 21:19:00 (54/83) Installing mbedtls (2.28.1-r0) 21:19:00 (55/83) Installing librist (0.2.6-r1) 21:19:00 (56/83) Installing libsrt (1.4.4-r0) 21:19:00 (57/83) Installing libssh (0.9.6-r1) 21:19:00 (58/83) Installing libtheora (1.1.1-r16) 21:19:00 (59/83) Installing libjpeg-turbo (2.1.3-r1) 21:19:00 (60/83) Installing v4l-utils-libs (1.22.1-r1) 21:19:00 (61/83) Installing libxext (1.3.4-r0) 21:19:00 (62/83) Installing libxfixes (6.0.0-r0) 21:19:00 (63/83) Installing wayland-libs-client (1.20.0-r0) 21:19:00 (64/83) Installing libva (2.14.0-r0) 21:19:00 (65/83) Installing libvdpau (1.5-r0) 21:19:00 (66/83) Installing vidstab (1.1.0-r1) 21:19:00 (67/83) Installing libvpx (1.11.0-r1) 21:19:00 (68/83) Installing libwebp (1.2.3-r0) 21:19:00 (69/83) Installing x264-libs (0.163_git20210613-r0) 21:19:00 (70/83) Installing numactl (2.0.14-r0) 21:19:00 (71/83) Installing x265-libs (3.5-r3) 21:19:00 (72/83) Installing xvidcore (1.3.7-r1) 21:19:00 (73/83) Installing ffmpeg-libs (5.0.1-r1) 21:19:00 (74/83) Installing ffmpeg (5.0.1-r1) 21:19:00 (75/83) Installing udev-init-scripts (35-r0) 21:19:00 Executing udev-init-scripts-35-r0.post-install 21:19:00 (76/83) Installing eudev-libs (3.2.11-r0) 21:19:00 (77/83) Installing xz-libs (5.2.5-r1) 21:19:00 (78/83) Installing zstd-libs (1.5.2-r1) 21:19:00 (79/83) Installing kmod-libs (29-r2) 21:19:00 (80/83) Installing eudev (3.2.11-r0) 21:19:00 (81/83) Installing libsodium (1.0.18-r0) 21:19:00 (82/83) Installing libzmq (4.3.4-r0) 21:19:00 (83/83) Installing zeromq (4.3.4-r0) 21:19:00 Executing busybox-1.35.0-r17.trigger 21:19:00 Executing eudev-3.2.11-r0.trigger 21:19:00 OK: 101 MiB in 97 packages 21:19:02 Removing intermediate container da3133754230 21:19:02 ---> eb682898dc0c 21:19:02 Step 18/35 : WORKDIR / 21:19:02 ---> Running in aab6a44416ed 21:19:02 Removing intermediate container aab6a44416ed 21:19:02 ---> 967ccabc386d 21:19:02 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:19:02 ---> 9bedc335fa06 21:19:02 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:19:02 ---> 056521eb5efd 21:19:02 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:19:02 ---> e67d5ba47531 21:19:02 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:19:03 ---> df45b4949373 21:19:03 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:19:03 ---> b8005193b34e 21:19:03 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:19:03 ---> 42082459b7ea 21:19:03 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:19:03 ---> 151d655e9cc8 21:19:03 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:19:03 ---> Running in 3f7ece1a55be 21:19:04 Removing intermediate container 3f7ece1a55be 21:19:04 ---> b2c4770ec02a 21:19:04 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:19:04 ---> Running in fc07ebccd5a9 21:19:05 Removing intermediate container fc07ebccd5a9 21:19:05 ---> 609eb38538c8 21:19:05 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:19:05 ---> Running in a090e0a03ae5 21:19:05 Removing intermediate container a090e0a03ae5 21:19:05 ---> b0e4ed68979a 21:19:05 Step 29/35 : EXPOSE 59983 21:19:05 ---> Running in 98b9175e908c 21:19:05 Removing intermediate container 98b9175e908c 21:19:05 ---> ea15bba4e4d4 21:19:05 Step 30/35 : EXPOSE 8554 21:19:05 ---> Running in a536926d4006 21:19:05 Removing intermediate container a536926d4006 21:19:05 ---> 35bda5a03e4e 21:19:05 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:19:06 ---> Running in 0b87784ebb46 21:19:06 Removing intermediate container 0b87784ebb46 21:19:06 ---> e2e2f3822bc4 21:19:06 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 21:19:06 ---> Running in f6e08e78c481 21:19:06 Removing intermediate container f6e08e78c481 21:19:06 ---> 4a4c5a851c65 21:19:06 Step 33/35 : LABEL arch=amd64 21:19:06 ---> Running in a1d62a29cebc 21:19:06 Removing intermediate container a1d62a29cebc 21:19:06 ---> 502c60a7e7fb 21:19:06 Step 34/35 : LABEL git_sha=d57e067b9f342878cbcddcb6845d242959a83275 21:19:06 ---> Running in 8b40ea19b6d0 21:19:06 Removing intermediate container 8b40ea19b6d0 21:19:06 ---> 6e00d7a3554e 21:19:06 Step 35/35 : LABEL version=3.0.0-dev.1 21:19:06 ---> Running in 53dbf9609d90 21:19:06 Removing intermediate container 53dbf9609d90 21:19:06 ---> 7bfef248012f 21:19:06 [Warning] One or more build-args [ARCH] were not consumed 21:19:06 Successfully built 7bfef248012f 21:19:06 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 21:19:06 provisioning config files... 21:19:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config601709917939505132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:07 ---> docker-login.sh 21:19:07 nexus3.edgexfoundry.org:10001 21:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:07 Configure a credential helper to remove this warning. See 21:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:07 21:19:07 Login Succeeded 21:19:07 nexus3.edgexfoundry.org:10002 21:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:07 Configure a credential helper to remove this warning. See 21:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:07 21:19:07 Login Succeeded 21:19:07 nexus3.edgexfoundry.org:10003 21:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:07 Configure a credential helper to remove this warning. See 21:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:07 21:19:07 Login Succeeded 21:19:07 nexus3.edgexfoundry.org:10004 21:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:07 Configure a credential helper to remove this warning. See 21:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:07 21:19:07 Login Succeeded 21:19:07 docker.io 21:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:07 Configure a credential helper to remove this warning. See 21:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:07 21:19:07 Login Succeeded 21:19:07 ---> docker-login.sh ends [Pipeline] } 21:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:07 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 21:19:07 d57e067b9f342878cbcddcb6845d242959a83275 21:19:07 latest 21:19:07 3.0.0-dev.1 21:19:07 d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:19:07 main 21:19:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:07 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275 21:19:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:19:08 27db028bb668: Preparing 21:19:08 7fbfa9ec7f3d: Preparing 21:19:08 61feb3ff4526: Preparing 21:19:08 550e596c6d0e: Preparing 21:19:08 1207169bf42c: Preparing 21:19:08 27fee63c59b3: Preparing 21:19:08 8ba57a94742a: Preparing 21:19:08 3a00cf0b3eb5: Preparing 21:19:08 909480bdedec: Preparing 21:19:08 3c88ac95c138: Preparing 21:19:08 6449f46bd9b9: Preparing 21:19:08 e5e13b0c77cb: Preparing 21:19:08 3a00cf0b3eb5: Waiting 21:19:08 6449f46bd9b9: Waiting 21:19:08 27fee63c59b3: Waiting 21:19:08 e5e13b0c77cb: Waiting 21:19:08 909480bdedec: Waiting 21:19:08 8ba57a94742a: Waiting 21:19:08 3c88ac95c138: Waiting 21:19:08 7fbfa9ec7f3d: Pushed 21:19:08 1207169bf42c: Pushed 21:19:08 27db028bb668: Pushed 21:19:08 61feb3ff4526: Pushed 21:19:08 27fee63c59b3: Pushed 21:19:08 3a00cf0b3eb5: Pushed 21:19:08 8ba57a94742a: Pushed 21:19:08 909480bdedec: Pushed 21:19:08 e5e13b0c77cb: Layer already exists 21:19:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120679 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 21:19:08 Running in /w/workspace/device-usb-camera/65 [Pipeline] { [Pipeline] checkout 21:19:08 Selected Git installation does not exist. Using Default 21:19:08 The recommended git tool is: NONE 21:19:10 550e596c6d0e: Pushed 21:19:11 3c88ac95c138: Pushed 21:19:13 using credential edgex-jenkins-ssh 21:19:13 Cloning the remote Git repository 21:19:13 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:19:13 > git init /w/workspace/device-usb-camera/65 # timeout=10 21:19:14 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:19:14 > git --version # timeout=10 21:19:14 > git --version # 'git version 2.25.1' 21:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:14 Verifying host key using known hosts file 21:19:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:19:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:15 Avoid second fetch 21:19:15 Checking out Revision d57e067b9f342878cbcddcb6845d242959a83275 (main) 21:19:15 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:19:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:15 > git config core.sparsecheckout # timeout=10 21:19:15 > git checkout -f d57e067b9f342878cbcddcb6845d242959a83275 # timeout=10 21:19:16 Commit message: "docs: updates to usb documentation (#115)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:19:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:19:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:17 Dload Upload Total Spent Left Speed 21:19:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 21:19:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:19:17 6449f46bd9b9: Pushed 21:19:17 d57e067b9f342878cbcddcb6845d242959a83275: digest: sha256:5e5570922f1d7026ad36c2a0d84fd6c91aaa53d07a21ea0395be2a6f8a380bbf size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:19:18 + sudo tee /etc/docker/daemon.new 21:19:18 { 21:19:18 "registry-mirrors": [ 21:19:18 "https://nexus3.edgexfoundry.org:10001" 21:19:18 ], 21:19:18 "bip": "10.250.0.254/24", 21:19:18 "hosts": [ 21:19:18 "tcp://0.0.0.0:5555", 21:19:18 "unix:///var/run/docker.sock" 21:19:18 ], 21:19:18 "mtu": 1458, 21:19:18 "selinux-enabled": true, 21:19:18 "seccomp-profile": "/etc/docker/seccomp.json" 21:19:18 } [Pipeline] sh 21:19:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:19:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:19:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:19:18 27db028bb668: Preparing 21:19:18 7fbfa9ec7f3d: Preparing 21:19:18 61feb3ff4526: Preparing 21:19:18 550e596c6d0e: Preparing 21:19:18 1207169bf42c: Preparing 21:19:18 27fee63c59b3: Preparing 21:19:18 8ba57a94742a: Preparing 21:19:18 3a00cf0b3eb5: Preparing 21:19:18 909480bdedec: Preparing 21:19:18 3c88ac95c138: Preparing 21:19:18 6449f46bd9b9: Preparing 21:19:18 e5e13b0c77cb: Preparing 21:19:18 27fee63c59b3: Waiting 21:19:18 3a00cf0b3eb5: Waiting 21:19:18 909480bdedec: Waiting 21:19:18 3c88ac95c138: Waiting 21:19:18 8ba57a94742a: Waiting 21:19:18 6449f46bd9b9: Waiting 21:19:18 e5e13b0c77cb: Waiting 21:19:18 1207169bf42c: Layer already exists 21:19:18 27db028bb668: Layer already exists 21:19:18 7fbfa9ec7f3d: Layer already exists 21:19:18 550e596c6d0e: Layer already exists 21:19:18 61feb3ff4526: Layer already exists 21:19:18 27fee63c59b3: Layer already exists 21:19:18 8ba57a94742a: Layer already exists 21:19:18 3a00cf0b3eb5: Layer already exists 21:19:18 909480bdedec: Layer already exists 21:19:18 3c88ac95c138: Layer already exists 21:19:18 6449f46bd9b9: Layer already exists 21:19:18 e5e13b0c77cb: Layer already exists 21:19:18 latest: digest: sha256:5e5570922f1d7026ad36c2a0d84fd6c91aaa53d07a21ea0395be2a6f8a380bbf size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:18 + sudo service docker restart 21:19:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.1 21:19:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:19:19 27db028bb668: Preparing 21:19:19 7fbfa9ec7f3d: Preparing 21:19:19 61feb3ff4526: Preparing 21:19:19 550e596c6d0e: Preparing 21:19:19 1207169bf42c: Preparing 21:19:19 27fee63c59b3: Preparing 21:19:19 8ba57a94742a: Preparing 21:19:19 3a00cf0b3eb5: Preparing 21:19:19 909480bdedec: Preparing 21:19:19 3c88ac95c138: Preparing 21:19:19 6449f46bd9b9: Preparing 21:19:19 e5e13b0c77cb: Preparing 21:19:19 909480bdedec: Waiting 21:19:19 3c88ac95c138: Waiting 21:19:19 e5e13b0c77cb: Waiting 21:19:19 6449f46bd9b9: Waiting 21:19:19 27fee63c59b3: Waiting 21:19:19 8ba57a94742a: Waiting 21:19:19 3a00cf0b3eb5: Waiting 21:19:19 61feb3ff4526: Layer already exists 21:19:19 27db028bb668: Layer already exists 21:19:19 1207169bf42c: Layer already exists 21:19:19 550e596c6d0e: Layer already exists 21:19:19 7fbfa9ec7f3d: Layer already exists 21:19:19 3a00cf0b3eb5: Layer already exists 21:19:19 8ba57a94742a: Layer already exists 21:19:19 3c88ac95c138: Layer already exists 21:19:19 909480bdedec: Layer already exists 21:19:19 27fee63c59b3: Layer already exists 21:19:19 e5e13b0c77cb: Layer already exists 21:19:19 6449f46bd9b9: Layer already exists 21:19:19 3.0.0-dev.1: digest: sha256:5e5570922f1d7026ad36c2a0d84fd6c91aaa53d07a21ea0395be2a6f8a380bbf size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:19 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:19:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:19:19 27db028bb668: Preparing 21:19:19 7fbfa9ec7f3d: Preparing 21:19:19 61feb3ff4526: Preparing 21:19:19 550e596c6d0e: Preparing 21:19:19 1207169bf42c: Preparing 21:19:19 27fee63c59b3: Preparing 21:19:19 8ba57a94742a: Preparing 21:19:19 3a00cf0b3eb5: Preparing 21:19:19 909480bdedec: Preparing 21:19:19 3c88ac95c138: Preparing 21:19:19 6449f46bd9b9: Preparing 21:19:19 e5e13b0c77cb: Preparing 21:19:19 27fee63c59b3: Waiting 21:19:19 8ba57a94742a: Waiting 21:19:19 6449f46bd9b9: Waiting 21:19:19 3a00cf0b3eb5: Waiting 21:19:19 e5e13b0c77cb: Waiting 21:19:19 909480bdedec: Waiting 21:19:19 3c88ac95c138: Waiting 21:19:19 27db028bb668: Layer already exists 21:19:19 1207169bf42c: Layer already exists 21:19:19 61feb3ff4526: Layer already exists 21:19:19 7fbfa9ec7f3d: Layer already exists 21:19:19 550e596c6d0e: Layer already exists 21:19:19 8ba57a94742a: Layer already exists 21:19:19 27fee63c59b3: Layer already exists 21:19:19 3a00cf0b3eb5: Layer already exists 21:19:19 3c88ac95c138: Layer already exists 21:19:19 909480bdedec: Layer already exists 21:19:19 6449f46bd9b9: Layer already exists 21:19:19 e5e13b0c77cb: Layer already exists 21:19:19 d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1: digest: sha256:5e5570922f1d7026ad36c2a0d84fd6c91aaa53d07a21ea0395be2a6f8a380bbf size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:20 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 21:19:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:19:20 27db028bb668: Preparing 21:19:20 7fbfa9ec7f3d: Preparing 21:19:20 61feb3ff4526: Preparing 21:19:20 550e596c6d0e: Preparing 21:19:20 1207169bf42c: Preparing 21:19:20 27fee63c59b3: Preparing 21:19:20 8ba57a94742a: Preparing 21:19:20 3a00cf0b3eb5: Preparing 21:19:20 909480bdedec: Preparing 21:19:20 3c88ac95c138: Preparing 21:19:20 6449f46bd9b9: Preparing 21:19:20 e5e13b0c77cb: Preparing 21:19:20 3a00cf0b3eb5: Waiting 21:19:20 909480bdedec: Waiting 21:19:20 3c88ac95c138: Waiting 21:19:20 e5e13b0c77cb: Waiting 21:19:20 8ba57a94742a: Waiting 21:19:20 27fee63c59b3: Waiting 21:19:20 27db028bb668: Layer already exists 21:19:20 1207169bf42c: Layer already exists 21:19:20 7fbfa9ec7f3d: Layer already exists 21:19:20 550e596c6d0e: Layer already exists 21:19:20 61feb3ff4526: Layer already exists 21:19:20 27fee63c59b3: Layer already exists 21:19:20 909480bdedec: Layer already exists 21:19:20 3c88ac95c138: Layer already exists 21:19:20 3a00cf0b3eb5: Layer already exists 21:19:20 8ba57a94742a: Layer already exists 21:19:20 6449f46bd9b9: Layer already exists 21:19:20 e5e13b0c77cb: Layer already exists 21:19:20 main: digest: sha256:5e5570922f1d7026ad36c2a0d84fd6c91aaa53d07a21ea0395be2a6f8a380bbf size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:19:20 ===================================================== [Pipeline] echo 21:19:20 taggedImages: 21:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275 21:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.1 21:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:19:20 - 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 21:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:20 21:19:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:21 latest: Pulling from edgex-lftools-log-publisher 21:19:21 5eb5b503b376: Pulling fs layer 21:19:21 5c69ac0246d0: Pulling fs layer 21:19:21 ec43610c2a17: Pulling fs layer 21:19:21 3a2ae6a8a46f: Pulling fs layer 21:19:21 33b1e0a273af: Pulling fs layer 21:19:21 5d3b04190fa2: Pulling fs layer 21:19:21 2f39f015ded8: Pulling fs layer 21:19:21 5d3b04190fa2: Waiting 21:19:21 3a2ae6a8a46f: Waiting 21:19:21 2f39f015ded8: Waiting 21:19:21 33b1e0a273af: Waiting 21:19:21 5c69ac0246d0: Verifying Checksum 21:19:21 5c69ac0246d0: Download complete 21:19:21 3a2ae6a8a46f: Verifying Checksum 21:19:21 3a2ae6a8a46f: Download complete 21:19:21 33b1e0a273af: Verifying Checksum 21:19:21 33b1e0a273af: Download complete 21:19:21 5d3b04190fa2: Verifying Checksum 21:19:21 5d3b04190fa2: Download complete 21:19:21 ec43610c2a17: Download complete 21:19:21 5eb5b503b376: Verifying Checksum 21:19:21 5eb5b503b376: Download complete 21:19:21 2f39f015ded8: Verifying Checksum 21:19:21 2f39f015ded8: Download complete 21:19:22 5eb5b503b376: Pull complete 21:19:22 5c69ac0246d0: Pull complete 21:19:23 ec43610c2a17: Pull complete 21:19:23 3a2ae6a8a46f: Pull complete 21:19:23 33b1e0a273af: Pull complete 21:19:23 5d3b04190fa2: Pull complete 21:19:27 2f39f015ded8: Pull complete 21:19:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:19:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:27 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:19:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 21:19:29 $ docker top ac2d71b58d172b6012d1662960e76524942a6b1d20bf70f0089b3b652bd4a308 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:29 ---> job-cost.sh 21:19:29 lf-activate-venv: SKIPPING 21:19:29 INFO: No Stack... 21:19:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:30 INFO: Archiving Costs [Pipeline] sh 21:19:30 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 21:19:30 + cut -d, -f6 [Pipeline] lock 21:19:30 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] 21:19:30 Resource [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] did not exist. Created. 21:19:30 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:31 + echo total: 0.2199999988079071 [Pipeline] stash 21:19:31 Stashed 1 file(s) [Pipeline] } 21:19:31 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:31 $ docker stop --time=1 ac2d71b58d172b6012d1662960e76524942a6b1d20bf70f0089b3b652bd4a308 21:19:32 $ docker rm -f ac2d71b58d172b6012d1662960e76524942a6b1d20bf70f0089b3b652bd4a308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:19:37 provisioning config files... 21:19:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/65@tmp/config7207115533513213794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:37 ---> docker-login.sh 21:19:37 nexus3.edgexfoundry.org:10001 21:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:38 Configure a credential helper to remove this warning. See 21:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:38 21:19:38 Login Succeeded 21:19:38 nexus3.edgexfoundry.org:10002 21:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:38 Configure a credential helper to remove this warning. See 21:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:38 21:19:38 Login Succeeded 21:19:38 nexus3.edgexfoundry.org:10003 21:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:38 Configure a credential helper to remove this warning. See 21:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:38 21:19:38 Login Succeeded 21:19:38 nexus3.edgexfoundry.org:10004 21:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:39 Configure a credential helper to remove this warning. See 21:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:39 21:19:39 Login Succeeded 21:19:39 docker.io 21:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:39 Configure a credential helper to remove this warning. See 21:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:39 21:19:39 Login Succeeded 21:19:39 ---> docker-login.sh ends [Pipeline] } 21:19:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:19:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:39 ========================================================= 21:19:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:19:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:19:40 Sending build context to Docker daemon 1.05MB 21:19:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:19:40 Step 2/13 : FROM ${BASE} AS builder 21:19:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:19:40 9b18e9b68314: Pulling fs layer 21:19:40 35d82f9e3411: Pulling fs layer 21:19:40 e16973657156: Pulling fs layer 21:19:40 fc693d55d65f: Pulling fs layer 21:19:40 7e9fc2657dce: Pulling fs layer 21:19:40 dda99020689f: Pulling fs layer 21:19:40 db1c61fa0a46: Pulling fs layer 21:19:40 891c053d2c06: Pulling fs layer 21:19:40 dda99020689f: Waiting 21:19:40 db1c61fa0a46: Waiting 21:19:40 891c053d2c06: Waiting 21:19:40 fc693d55d65f: Waiting 21:19:40 7e9fc2657dce: Waiting 21:19:40 e16973657156: Verifying Checksum 21:19:40 e16973657156: Download complete 21:19:40 35d82f9e3411: Download complete 21:19:40 7e9fc2657dce: Verifying Checksum 21:19:40 7e9fc2657dce: Download complete 21:19:40 dda99020689f: Verifying Checksum 21:19:40 dda99020689f: Download complete 21:19:40 9b18e9b68314: Verifying Checksum 21:19:40 9b18e9b68314: Download complete 21:19:41 891c053d2c06: Verifying Checksum 21:19:41 891c053d2c06: Download complete 21:19:42 db1c61fa0a46: Verifying Checksum 21:19:42 db1c61fa0a46: Download complete 21:19:43 9b18e9b68314: Pull complete 21:19:43 fc693d55d65f: Download complete 21:19:43 35d82f9e3411: Pull complete 21:19:43 e16973657156: Pull complete 21:19:56 fc693d55d65f: Pull complete 21:19:56 7e9fc2657dce: Pull complete 21:19:56 dda99020689f: Pull complete 21:20:03 db1c61fa0a46: Pull complete 21:20:04 891c053d2c06: Pull complete 21:20:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:20:04 ---> f96f9c87975a 21:20:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:20:06 ---> Running in 6615799eb1f2 21:20:06 Removing intermediate container 6615799eb1f2 21:20:06 ---> 13566869aee1 21:20:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:06 ---> Running in 51f311785723 21:20:07 Removing intermediate container 51f311785723 21:20:07 ---> 64846baf0ab3 21:20:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:20:07 ---> Running in 9824ea8bc46c 21:20:07 Removing intermediate container 9824ea8bc46c 21:20:07 ---> 097d45772598 21:20:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:20:07 ---> Running in 8364d32d4828 21:20:07 Removing intermediate container 8364d32d4828 21:20:07 ---> 722df3607c10 21:20:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:07 ---> Running in 101bd058ed8e 21:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:20:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:20:10 (1/14) Installing libintl (0.21-r2) 21:20:10 (2/14) Installing eudev-libs (3.2.11-r0) 21:20:10 (3/14) Installing libjpeg-turbo (2.1.3-r1) 21:20:10 (4/14) Installing v4l-utils-libs (1.22.1-r1) 21:20:10 (5/14) Installing v4l-utils (1.22.1-r1) 21:20:10 (6/14) Installing udev-init-scripts (35-r0) 21:20:10 Executing udev-init-scripts-35-r0.post-install 21:20:10 (7/14) Installing libblkid (2.38-r1) 21:20:10 (8/14) Installing xz-libs (5.2.5-r1) 21:20:10 (9/14) Installing zstd-libs (1.5.2-r1) 21:20:10 (10/14) Installing kmod-libs (29-r2) 21:20:10 (11/14) Installing eudev (3.2.11-r0) 21:20:10 (12/14) Installing eudev-dev (3.2.11-r0) 21:20:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:20:10 (14/14) Installing v4l-utils-dev (1.22.1-r1) 21:20:10 Executing busybox-1.35.0-r17.trigger 21:20:10 Executing eudev-3.2.11-r0.trigger 21:20:10 OK: 228 MiB in 65 packages 21:20:11 Removing intermediate container 101bd058ed8e 21:20:11 ---> 7fdf8a0601a3 21:20:11 Step 8/13 : WORKDIR /device-usb-camera 21:20:11 ---> Running in 11007260535a 21:20:11 Removing intermediate container 11007260535a 21:20:11 ---> a156620a0159 21:20:11 Step 9/13 : COPY go.mod vendor* ./ 21:20:12 ---> db5e4e20aa19 21:20:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:12 ---> Running in 663222e26884 21:21:08 Removing intermediate container 663222e26884 21:21:08 ---> 1868adf25f3b 21:21:08 Step 11/13 : COPY . . 21:21:08 ---> df6467ee0105 21:21:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:21:08 ---> Running in 8fb58fe00268 21:21:08  % Total  % Received % Xferd Average Speed Time Time Time Current 21:21:08 Dload Upload Total Spent Left Speed 21:21:08 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 14757 0 --:--:-- --:--:-- --:--:-- 14957 21:21:08 Removing intermediate container 8fb58fe00268 21:21:08 ---> 7f9fd642e57d 21:21:08 Step 13/13 : RUN ${MAKE} 21:21:08 ---> Running in 7e22195df066 21:21:08 noop 21:21:08 Removing intermediate container 7e22195df066 21:21:08 ---> 3317cb153e7e 21:21:08 Successfully built 3317cb153e7e 21:21:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:09 + docker inspect -f . ci-base-image-arm64 21:21:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:09 prd-ubuntu20.04-docker-arm64-4c-16g-120679 does not seem to be running inside a container 21:21:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/65 -v /w/workspace/device-usb-camera/65:/w/workspace/device-usb-camera/65:rw,z -v /w/workspace/device-usb-camera/65@tmp:/w/workspace/device-usb-camera/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:21:10 $ docker top f259a3e26bf782e9a38c4a778e255c87a103e073500d66710189ee454536ce9d -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:11 + go version 21:21:11 go version go1.18.7 linux/arm64 [Pipeline] } 21:21:11 $ docker stop --time=1 f259a3e26bf782e9a38c4a778e255c87a103e073500d66710189ee454536ce9d 21:21:13 $ docker rm -f f259a3e26bf782e9a38c4a778e255c87a103e073500d66710189ee454536ce9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:13 + docker inspect -f . ci-base-image-arm64 21:21:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:13 prd-ubuntu20.04-docker-arm64-4c-16g-120679 does not seem to be running inside a container 21:21:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/65 -v /w/workspace/device-usb-camera/65:/w/workspace/device-usb-camera/65:rw,z -v /w/workspace/device-usb-camera/65@tmp:/w/workspace/device-usb-camera/65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:21:14 $ docker top fa94642c8cefe1d0a0ea077ee0a1ed17a8eaf50477ce1a09b4225afd53853bb3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:15 + git config --global --add safe.directory /w/workspace/device-usb-camera/65 [Pipeline] fileExists [Pipeline] sh 21:21:15 + make test 21:21:15 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 21:21:17 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:22:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:22:54 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.068s coverage: 1.9% of statements 21:22:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:22:54 CGO_ENABLED=1 go vet ./... 21:23:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:23:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:23:09 ./bin/test-attribution-txt.sh [Pipeline] echo 21:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:23:09 $ docker stop --time=1 fa94642c8cefe1d0a0ea077ee0a1ed17a8eaf50477ce1a09b4225afd53853bb3 21:23:11 $ docker rm -f fa94642c8cefe1d0a0ea077ee0a1ed17a8eaf50477ce1a09b4225afd53853bb3 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:23:12 Warning: overwriting stash ‘coverage-report’ 21:23:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:13 + ls -al . 21:23:13 total 196 21:23:13 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 21:21 . 21:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:19 .. 21:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 21:19 .git 21:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:19 .github 21:23:13 -rw-rw-r-- 1 jenkins jenkins 414 Dec 6 21:19 .gitignore 21:23:13 -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 21:19 .golangci.yml 21:23:13 -rw-rw-r-- 1 jenkins jenkins 77 Dec 6 21:19 .hadolint.yml 21:23:13 -rw-rw-r-- 1 jenkins jenkins 9702 Dec 6 21:19 Attribution.txt 21:23:13 -rw-rw-r-- 1 jenkins jenkins 1206 Dec 6 21:19 CHANGELOG.md 21:23:13 -rw-rw-r-- 1 jenkins jenkins 2378 Dec 6 21:19 Dockerfile 21:23:13 -rw-rw-r-- 1 jenkins jenkins 678 Dec 6 21:19 GOVERNANCE.md 21:23:13 -rw-rw-r-- 1 jenkins jenkins 659 Dec 6 21:19 Jenkinsfile 21:23:13 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 6 21:19 LICENSE 21:23:13 -rw-rw-r-- 1 jenkins jenkins 2554 Dec 6 21:19 Makefile 21:23:13 -rw-rw-r-- 1 jenkins jenkins 622 Dec 6 21:19 OWNERS.md 21:23:13 -rw-rw-r-- 1 jenkins jenkins 5934 Dec 6 21:19 README.md 21:23:13 -rw-rw-r-- 1 jenkins jenkins 11 Dec 6 21:17 VERSION 21:23:13 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 21:19 bin 21:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:19 cmd 21:23:13 -rw-r--r-- 1 jenkins jenkins 30072 Dec 6 21:22 coverage.out 21:23:13 -rwxrwxr-x 1 jenkins jenkins 140 Dec 6 21:19 docker-entrypoint.sh 21:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:19 docs 21:23:13 -rw-rw-r-- 1 jenkins jenkins 3573 Dec 6 21:19 go.mod 21:23:13 -rw-rw-r-- 1 jenkins jenkins 45026 Dec 6 21:19 go.sum 21:23:13 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 21:19 internal 21:23:13 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 21:19 snap 21:23:13 -rw-rw-r-- 1 jenkins jenkins 231 Dec 6 21:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:13 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d57e067b9f342878cbcddcb6845d242959a83275 --label arch=arm64 --label version=3.0.0-dev.1 . 21:23:14 Sending build context to Docker daemon 1.08MB 21:23:14 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 21:23:14 Step 2/35 : FROM ${BASE} AS builder 21:23:14 ---> 3317cb153e7e 21:23:14 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:23:14 ---> Running in 555d79ef8f42 21:23:14 Removing intermediate container 555d79ef8f42 21:23:14 ---> d865f1823db3 21:23:14 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:23:14 ---> Running in 330b01aeadc6 21:23:14 Removing intermediate container 330b01aeadc6 21:23:14 ---> 3bb54b816343 21:23:14 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:23:14 ---> Running in e52a58f13d9e 21:23:15 Removing intermediate container e52a58f13d9e 21:23:15 ---> 7e7a861aebb9 21:23:15 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:23:15 ---> Running in 8ba7dee33ee1 21:23:15 Removing intermediate container 8ba7dee33ee1 21:23:15 ---> b68c1fa03957 21:23:15 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:15 ---> Running in 3aa33a413390 21:23:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:23:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:23:17 OK: 228 MiB in 65 packages 21:23:18 Removing intermediate container 3aa33a413390 21:23:18 ---> 3d5cd7abf589 21:23:18 Step 8/35 : WORKDIR /device-usb-camera 21:23:18 ---> Running in 47bac8288f96 21:23:19 Removing intermediate container 47bac8288f96 21:23:19 ---> 5b1b6881c8c1 21:23:19 Step 9/35 : COPY go.mod vendor* ./ 21:23:19 ---> 2388e0115403 21:23:19 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:19 ---> Running in 8b1feee9a585 21:23:21 Removing intermediate container 8b1feee9a585 21:23:21 ---> 48fd05a7761f 21:23:21 Step 11/35 : COPY . . 21:23:22 ---> 9384dedbc5f0 21:23:22 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:23:22 ---> Running in fd921cbb6a63 21:23:23  % Total % Received % Xferd Average Speed Time Time Time Current 21:23:23 Dload Upload Total Spent Left Speed 21:23:23 0 0  0 0 0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6658 0 --:--:-- --:--:-- --:--:-- 6679 21:23:24 Removing intermediate container fd921cbb6a63 21:23:24 ---> 141f2fd9837b 21:23:24 Step 13/35 : RUN ${MAKE} 21:23:24 ---> Running in 3cbdf99c353c 21:23:25 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 21:26:02 Removing intermediate container 3cbdf99c353c 21:26:02 ---> f4de8aa8ef07 21:26:02 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 21:26:02 v0.18.4: Pulling from aler9/rtsp-simple-server 21:26:02 eab2503cf8f4: Pulling fs layer 21:26:02 97cd0a44c592: Pulling fs layer 21:26:03 97cd0a44c592: Verifying Checksum 21:26:03 97cd0a44c592: Download complete 21:26:03 eab2503cf8f4: Verifying Checksum 21:26:03 eab2503cf8f4: Download complete 21:26:03 eab2503cf8f4: Pull complete 21:26:04 97cd0a44c592: Pull complete 21:26:04 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 21:26:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 21:26:05 ---> 7f763cca56b3 21:26:05 Step 15/35 : FROM alpine:3.16 21:26:05 3.16: Pulling from library/alpine 21:26:05 6875df1f5354: Pulling fs layer 21:26:05 6875df1f5354: Download complete 21:26:06 6875df1f5354: Pull complete 21:26:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:26:06 Status: Downloaded newer image for alpine:3.16 21:26:06 ---> 2b4661558fb8 21:26:06 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:26:06 ---> Running in 304cfdda7f15 21:26:06 Removing intermediate container 304cfdda7f15 21:26:06 ---> b9b5a06e7d9d 21:26:06 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 21:26:06 ---> Running in a8a6145d870f 21:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:26:08 (1/82) Installing dumb-init (1.2.5-r1) 21:26:08 (2/82) Installing sdl2 (2.0.22-r0) 21:26:09 (3/82) Installing libxau (1.0.9-r0) 21:26:09 (4/82) Installing libxdmcp (1.1.3-r0) 21:26:09 (5/82) Installing libxcb (1.15-r0) 21:26:09 (6/82) Installing libx11 (1.8-r0) 21:26:09 (7/82) Installing aom-libs (3.3.0-r0) 21:26:09 (8/82) Installing alsa-lib (1.2.7.2-r0) 21:26:09 (9/82) Installing expat (2.5.0-r0) 21:26:09 (10/82) Installing brotli-libs (1.0.9-r6) 21:26:09 (11/82) Installing libbz2 (1.0.8-r1) 21:26:09 (12/82) Installing libpng (1.6.37-r1) 21:26:09 (13/82) Installing freetype (2.12.1-r0) 21:26:09 (14/82) Installing fontconfig (2.14.0-r0) 21:26:09 (15/82) Installing fribidi (1.0.12-r0) 21:26:09 (16/82) Installing libffi (3.4.2-r1) 21:26:09 (17/82) Installing libintl (0.21-r2) 21:26:09 (18/82) Installing libblkid (2.38-r1) 21:26:09 (19/82) Installing libmount (2.38-r1) 21:26:09 (20/82) Installing pcre (8.45-r2) 21:26:09 (21/82) Installing glib (2.72.1-r0) 21:26:09 (22/82) Installing graphite2 (1.3.14-r1) 21:26:09 (23/82) Installing harfbuzz (4.3.0-r0) 21:26:09 (24/82) Installing libass (0.16.0-r0) 21:26:09 (25/82) Installing libdav1d (1.0.0-r0) 21:26:09 (26/82) Installing libdrm (2.4.110-r0) 21:26:09 (27/82) Installing gmp (6.2.1-r2) 21:26:09 (28/82) Installing nettle (3.7.3-r0) 21:26:09 (29/82) Installing p11-kit (0.24.1-r0) 21:26:09 (30/82) Installing libtasn1 (4.18.0-r0) 21:26:09 (31/82) Installing libunistring (1.0-r0) 21:26:09 (32/82) Installing gnutls (3.7.7-r0) 21:26:09 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 21:26:09 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 21:26:09 (35/82) Installing lame (3.100-r0) 21:26:09 (36/82) Installing opus (1.3.1-r1) 21:26:09 (37/82) Installing libasyncns (0.8-r1) 21:26:09 (38/82) Installing dbus-libs (1.14.4-r0) 21:26:09 (39/82) Installing libltdl (2.4.7-r0) 21:26:09 (40/82) Installing orc (0.4.32-r0) 21:26:09 (41/82) Installing libgcc (11.2.1_git20220219-r2) 21:26:10 (42/82) Installing libogg (1.3.5-r1) 21:26:10 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 21:26:10 (44/82) Installing flac (1.3.4-r0) 21:26:10 (45/82) Installing libvorbis (1.3.7-r0) 21:26:10 (46/82) Installing libsndfile (1.1.0-r0) 21:26:10 (47/82) Installing libgomp (11.2.1_git20220219-r2) 21:26:10 (48/82) Installing soxr (0.1.3-r2) 21:26:10 (49/82) Installing speexdsp (1.2.0-r0) 21:26:10 (50/82) Installing tdb-libs (1.4.6-r0) 21:26:10 (51/82) Installing libpulse (15.0-r2) 21:26:10 (52/82) Installing cjson (1.7.15-r3) 21:26:10 (53/82) Installing mbedtls (2.28.1-r0) 21:26:10 (54/82) Installing librist (0.2.6-r1) 21:26:10 (55/82) Installing libsrt (1.4.4-r0) 21:26:10 (56/82) Installing libssh (0.9.6-r1) 21:26:10 (57/82) Installing libtheora (1.1.1-r16) 21:26:10 (58/82) Installing libjpeg-turbo (2.1.3-r1) 21:26:10 (59/82) Installing v4l-utils-libs (1.22.1-r1) 21:26:10 (60/82) Installing libxext (1.3.4-r0) 21:26:10 (61/82) Installing libxfixes (6.0.0-r0) 21:26:10 (62/82) Installing wayland-libs-client (1.20.0-r0) 21:26:10 (63/82) Installing libva (2.14.0-r0) 21:26:10 (64/82) Installing libvdpau (1.5-r0) 21:26:10 (65/82) Installing vidstab (1.1.0-r1) 21:26:10 (66/82) Installing libvpx (1.11.0-r1) 21:26:10 (67/82) Installing libwebp (1.2.3-r0) 21:26:10 (68/82) Installing x264-libs (0.163_git20210613-r0) 21:26:10 (69/82) Installing numactl (2.0.14-r0) 21:26:10 (70/82) Installing x265-libs (3.5-r3) 21:26:10 (71/82) Installing xvidcore (1.3.7-r1) 21:26:10 (72/82) Installing ffmpeg-libs (5.0.1-r1) 21:26:11 (73/82) Installing ffmpeg (5.0.1-r1) 21:26:11 (74/82) Installing udev-init-scripts (35-r0) 21:26:11 Executing udev-init-scripts-35-r0.post-install 21:26:11 (75/82) Installing eudev-libs (3.2.11-r0) 21:26:11 (76/82) Installing xz-libs (5.2.5-r1) 21:26:11 (77/82) Installing zstd-libs (1.5.2-r1) 21:26:11 (78/82) Installing kmod-libs (29-r2) 21:26:11 (79/82) Installing eudev (3.2.11-r0) 21:26:11 (80/82) Installing libsodium (1.0.18-r0) 21:26:11 (81/82) Installing libzmq (4.3.4-r0) 21:26:11 (82/82) Installing zeromq (4.3.4-r0) 21:26:11 Executing busybox-1.35.0-r17.trigger 21:26:11 Executing eudev-3.2.11-r0.trigger 21:26:11 OK: 78 MiB in 96 packages 21:26:14 Removing intermediate container a8a6145d870f 21:26:14 ---> f53f1b0b9265 21:26:14 Step 18/35 : WORKDIR / 21:26:14 ---> Running in f11229d53f14 21:26:14 Removing intermediate container f11229d53f14 21:26:14 ---> 980e8e2116e1 21:26:14 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:26:16 ---> 34e06ca09595 21:26:16 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:26:17 ---> a057f86f997a 21:26:17 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:26:17 ---> 394892e91e73 21:26:17 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:26:18 ---> 827533dd9a8a 21:26:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:26:18 ---> 6324317df115 21:26:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:26:19 ---> 363b07392232 21:26:19 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:26:20 ---> 9512efcb29de 21:26:20 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:26:20 ---> Running in 133045d17a2a 21:26:22 Removing intermediate container 133045d17a2a 21:26:22 ---> 9260e5732d49 21:26:22 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:26:22 ---> Running in b7efaff5e67f 21:26:23 Removing intermediate container b7efaff5e67f 21:26:23 ---> c106301eb5ff 21:26:23 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:26:23 ---> Running in 8b4c92f0890a 21:26:24 Removing intermediate container 8b4c92f0890a 21:26:24 ---> 334e23a6240b 21:26:24 Step 29/35 : EXPOSE 59983 21:26:24 ---> Running in eb10789a87fd 21:26:25 Removing intermediate container eb10789a87fd 21:26:25 ---> b7485db8740c 21:26:25 Step 30/35 : EXPOSE 8554 21:26:25 ---> Running in 130172dc75a2 21:26:25 Removing intermediate container 130172dc75a2 21:26:25 ---> 4b1f8d80bcac 21:26:25 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:26:25 ---> Running in c95ccb4e9341 21:26:25 Removing intermediate container c95ccb4e9341 21:26:25 ---> ba353d642c74 21:26:25 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 21:26:26 ---> Running in e16d1614f64f 21:26:26 Removing intermediate container e16d1614f64f 21:26:26 ---> 7d8ad7154a7a 21:26:26 Step 33/35 : LABEL arch=arm64 21:26:26 ---> Running in d4224f2fbb9e 21:26:26 Removing intermediate container d4224f2fbb9e 21:26:26 ---> 8db6d92c1c01 21:26:26 Step 34/35 : LABEL git_sha=d57e067b9f342878cbcddcb6845d242959a83275 21:26:26 ---> Running in 2db3c2e32839 21:26:26 Removing intermediate container 2db3c2e32839 21:26:26 ---> 60587fb94bd0 21:26:26 Step 35/35 : LABEL version=3.0.0-dev.1 21:26:26 ---> Running in 94109e8b5516 21:26:27 Removing intermediate container 94109e8b5516 21:26:27 ---> 17e8724e5063 21:26:27 [Warning] One or more build-args [ARCH] were not consumed 21:26:27 Successfully built 17e8724e5063 21:26:27 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:27 provisioning config files... 21:26:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/65@tmp/config16317404378231521013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:29 ---> docker-login.sh 21:26:29 nexus3.edgexfoundry.org:10001 21:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:30 Configure a credential helper to remove this warning. See 21:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:30 21:26:30 Login Succeeded 21:26:30 nexus3.edgexfoundry.org:10002 21:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:30 Configure a credential helper to remove this warning. See 21:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:30 21:26:30 Login Succeeded 21:26:30 nexus3.edgexfoundry.org:10003 21:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:30 Configure a credential helper to remove this warning. See 21:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:30 21:26:30 Login Succeeded 21:26:30 nexus3.edgexfoundry.org:10004 21:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 docker.io 21:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:31 Configure a credential helper to remove this warning. See 21:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:31 21:26:31 Login Succeeded 21:26:31 ---> docker-login.sh ends [Pipeline] } 21:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:31 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 21:26:31 d57e067b9f342878cbcddcb6845d242959a83275 21:26:31 latest 21:26:31 3.0.0-dev.1 21:26:31 d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:26:31 main 21:26:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:32 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275 21:26:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:26:32 d8640056fe01: Preparing 21:26:32 502b165beae6: Preparing 21:26:32 3f2c492990e8: Preparing 21:26:32 a43932d1df72: Preparing 21:26:32 1207169bf42c: Preparing 21:26:32 60667f8bf2a7: Preparing 21:26:32 41776ff954ff: Preparing 21:26:32 98b6b1df4708: Preparing 21:26:32 d5687edb459d: Preparing 21:26:32 07029128f0d7: Preparing 21:26:32 7c6fec5f79b2: Preparing 21:26:32 17bec77d7fdc: Preparing 21:26:32 d5687edb459d: Waiting 21:26:32 07029128f0d7: Waiting 21:26:32 7c6fec5f79b2: Waiting 21:26:32 17bec77d7fdc: Waiting 21:26:32 60667f8bf2a7: Waiting 21:26:32 41776ff954ff: Waiting 21:26:32 98b6b1df4708: Waiting 21:26:32 1207169bf42c: Pushed 21:26:32 502b165beae6: Pushed 21:26:32 3f2c492990e8: Pushed 21:26:32 d8640056fe01: Pushed 21:26:32 60667f8bf2a7: Pushed 21:26:33 98b6b1df4708: Pushed 21:26:33 41776ff954ff: Pushed 21:26:33 d5687edb459d: Pushed 21:26:33 17bec77d7fdc: Layer already exists 21:26:37 a43932d1df72: Pushed 21:26:38 07029128f0d7: Pushed 21:26:50 7c6fec5f79b2: Pushed 21:26:50 d57e067b9f342878cbcddcb6845d242959a83275: digest: sha256:3470fd0aa4b9adad31d1070c476b04f77c6716d5197c70dfb7a8c2c5d45672a1 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:51 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:26:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:26:51 d8640056fe01: Preparing 21:26:51 502b165beae6: Preparing 21:26:51 3f2c492990e8: Preparing 21:26:51 a43932d1df72: Preparing 21:26:51 1207169bf42c: Preparing 21:26:51 60667f8bf2a7: Preparing 21:26:51 41776ff954ff: Preparing 21:26:51 98b6b1df4708: Preparing 21:26:51 d5687edb459d: Preparing 21:26:51 07029128f0d7: Preparing 21:26:51 7c6fec5f79b2: Preparing 21:26:51 17bec77d7fdc: Preparing 21:26:51 98b6b1df4708: Waiting 21:26:51 d5687edb459d: Waiting 21:26:51 07029128f0d7: Waiting 21:26:51 7c6fec5f79b2: Waiting 21:26:51 17bec77d7fdc: Waiting 21:26:51 60667f8bf2a7: Waiting 21:26:51 41776ff954ff: Waiting 21:26:51 3f2c492990e8: Layer already exists 21:26:51 a43932d1df72: Layer already exists 21:26:51 502b165beae6: Layer already exists 21:26:51 d8640056fe01: Layer already exists 21:26:51 1207169bf42c: Layer already exists 21:26:51 60667f8bf2a7: Layer already exists 21:26:51 07029128f0d7: Layer already exists 21:26:51 98b6b1df4708: Layer already exists 21:26:51 d5687edb459d: Layer already exists 21:26:51 41776ff954ff: Layer already exists 21:26:51 7c6fec5f79b2: Layer already exists 21:26:51 17bec77d7fdc: Layer already exists 21:26:51 latest: digest: sha256:3470fd0aa4b9adad31d1070c476b04f77c6716d5197c70dfb7a8c2c5d45672a1 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:52 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.1 21:26:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:26:52 d8640056fe01: Preparing 21:26:52 502b165beae6: Preparing 21:26:52 3f2c492990e8: Preparing 21:26:52 a43932d1df72: Preparing 21:26:52 1207169bf42c: Preparing 21:26:52 60667f8bf2a7: Preparing 21:26:52 41776ff954ff: Preparing 21:26:52 98b6b1df4708: Preparing 21:26:52 d5687edb459d: Preparing 21:26:52 07029128f0d7: Preparing 21:26:52 7c6fec5f79b2: Preparing 21:26:52 17bec77d7fdc: Preparing 21:26:52 60667f8bf2a7: Waiting 21:26:52 41776ff954ff: Waiting 21:26:52 d5687edb459d: Waiting 21:26:52 07029128f0d7: Waiting 21:26:52 7c6fec5f79b2: Waiting 21:26:52 17bec77d7fdc: Waiting 21:26:52 1207169bf42c: Layer already exists 21:26:52 502b165beae6: Layer already exists 21:26:52 d8640056fe01: Layer already exists 21:26:52 3f2c492990e8: Layer already exists 21:26:52 a43932d1df72: Layer already exists 21:26:52 60667f8bf2a7: Layer already exists 21:26:52 41776ff954ff: Layer already exists 21:26:52 98b6b1df4708: Layer already exists 21:26:52 07029128f0d7: Layer already exists 21:26:52 d5687edb459d: Layer already exists 21:26:52 17bec77d7fdc: Layer already exists 21:26:52 7c6fec5f79b2: Layer already exists 21:26:52 3.0.0-dev.1: digest: sha256:3470fd0aa4b9adad31d1070c476b04f77c6716d5197c70dfb7a8c2c5d45672a1 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:53 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:26:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:26:56 d8640056fe01: Preparing 21:26:56 502b165beae6: Preparing 21:26:56 3f2c492990e8: Preparing 21:26:56 a43932d1df72: Preparing 21:26:56 1207169bf42c: Preparing 21:26:56 60667f8bf2a7: Preparing 21:26:56 41776ff954ff: Preparing 21:26:56 98b6b1df4708: Preparing 21:26:56 d5687edb459d: Preparing 21:26:56 07029128f0d7: Preparing 21:26:56 7c6fec5f79b2: Preparing 21:26:56 17bec77d7fdc: Preparing 21:26:56 60667f8bf2a7: Waiting 21:26:56 41776ff954ff: Waiting 21:26:56 98b6b1df4708: Waiting 21:26:56 7c6fec5f79b2: Waiting 21:26:56 17bec77d7fdc: Waiting 21:26:56 d5687edb459d: Waiting 21:26:56 07029128f0d7: Waiting 21:26:56 a43932d1df72: Layer already exists 21:26:56 1207169bf42c: Layer already exists 21:26:56 d8640056fe01: Layer already exists 21:26:56 3f2c492990e8: Layer already exists 21:26:56 502b165beae6: Layer already exists 21:26:56 41776ff954ff: Layer already exists 21:26:56 07029128f0d7: Layer already exists 21:26:56 60667f8bf2a7: Layer already exists 21:26:56 d5687edb459d: Layer already exists 21:26:56 98b6b1df4708: Layer already exists 21:26:56 17bec77d7fdc: Layer already exists 21:26:56 7c6fec5f79b2: Layer already exists 21:26:56 d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1: digest: sha256:3470fd0aa4b9adad31d1070c476b04f77c6716d5197c70dfb7a8c2c5d45672a1 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 21:26:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:26:57 d8640056fe01: Preparing 21:26:57 502b165beae6: Preparing 21:26:57 3f2c492990e8: Preparing 21:26:57 a43932d1df72: Preparing 21:26:57 1207169bf42c: Preparing 21:26:57 60667f8bf2a7: Preparing 21:26:57 41776ff954ff: Preparing 21:26:57 98b6b1df4708: Preparing 21:26:57 d5687edb459d: Preparing 21:26:57 07029128f0d7: Preparing 21:26:57 7c6fec5f79b2: Preparing 21:26:57 17bec77d7fdc: Preparing 21:26:57 d5687edb459d: Waiting 21:26:57 17bec77d7fdc: Waiting 21:26:57 07029128f0d7: Waiting 21:26:57 7c6fec5f79b2: Waiting 21:26:57 41776ff954ff: Waiting 21:26:57 60667f8bf2a7: Waiting 21:26:57 98b6b1df4708: Waiting 21:26:57 1207169bf42c: Layer already exists 21:26:57 502b165beae6: Layer already exists 21:26:57 3f2c492990e8: Layer already exists 21:26:57 d8640056fe01: Layer already exists 21:26:57 a43932d1df72: Layer already exists 21:26:57 60667f8bf2a7: Layer already exists 21:26:57 98b6b1df4708: Layer already exists 21:26:57 41776ff954ff: Layer already exists 21:26:57 07029128f0d7: Layer already exists 21:26:57 d5687edb459d: Layer already exists 21:26:57 7c6fec5f79b2: Layer already exists 21:26:57 17bec77d7fdc: Layer already exists 21:26:57 main: digest: sha256:3470fd0aa4b9adad31d1070c476b04f77c6716d5197c70dfb7a8c2c5d45672a1 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:26:57 ===================================================== [Pipeline] echo 21:26:57 taggedImages: 21:26:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275 21:26:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:26:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.1 21:26:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:d57e067b9f342878cbcddcb6845d242959a83275-3.0.0-dev.1 21:26:57 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:57 21:26:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:58 arm64: Pulling from edgex-lftools-log-publisher 21:26:58 8998bd30e6a1: Pulling fs layer 21:26:58 04944245beec: Pulling fs layer 21:26:58 699f458cf7ca: Pulling fs layer 21:26:58 765212b225bb: Pulling fs layer 21:26:58 f23df028b6ca: Pulling fs layer 21:26:58 d65c8cfc05b1: Pulling fs layer 21:26:58 2437ff75d9bd: Pulling fs layer 21:26:58 f23df028b6ca: Waiting 21:26:58 d65c8cfc05b1: Waiting 21:26:58 2437ff75d9bd: Waiting 21:26:58 765212b225bb: Waiting 21:26:58 04944245beec: Verifying Checksum 21:26:58 04944245beec: Download complete 21:26:58 765212b225bb: Verifying Checksum 21:26:58 765212b225bb: Download complete 21:26:58 f23df028b6ca: Verifying Checksum 21:26:58 f23df028b6ca: Download complete 21:26:58 d65c8cfc05b1: Verifying Checksum 21:26:58 d65c8cfc05b1: Download complete 21:26:58 699f458cf7ca: Verifying Checksum 21:26:58 699f458cf7ca: Download complete 21:26:58 8998bd30e6a1: Verifying Checksum 21:26:58 8998bd30e6a1: Download complete 21:27:00 2437ff75d9bd: Verifying Checksum 21:27:00 2437ff75d9bd: Download complete 21:27:02 8998bd30e6a1: Pull complete 21:27:02 04944245beec: Pull complete 21:27:03 699f458cf7ca: Pull complete 21:27:04 765212b225bb: Pull complete 21:27:04 f23df028b6ca: Pull complete 21:27:04 d65c8cfc05b1: Pull complete 21:27:19 2437ff75d9bd: Pull complete 21:27:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:20 prd-ubuntu20.04-docker-arm64-4c-16g-120679 does not seem to be running inside a container 21:27:20 $ 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/65 -v /w/workspace/device-usb-camera/65:/w/workspace/device-usb-camera/65:rw,z -v /w/workspace/device-usb-camera/65@tmp:/w/workspace/device-usb-camera/65@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 21:27:22 $ docker top 11f1e40342d5cc9d4a6b166e8a04300ff3affa70c2079fc67dd86d4ca23296f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:23 ---> job-cost.sh 21:27:23 lf-activate-venv: SKIPPING 21:27:23 INFO: No Stack... 21:27:23 INFO: Retrieving Pricing Info for: v3-standard-4 21:27:24 INFO: Archiving Costs [Pipeline] sh 21:27:25 + cat /w/workspace/device-usb-camera/65/archives/cost.csv 21:27:25 + cut -d, -f6 [Pipeline] lock 21:27:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] 21:27:25 Resource [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] did not exist. Created. 21:27:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:25 /w/workspace/device-usb-camera/65@tmp/durable-3f135b06/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:27:26 + echo total: 0.10999999940395355 [Pipeline] stash 21:27:26 Warning: overwriting stash ‘stack-cost’ 21:27:26 Stashed 1 file(s) [Pipeline] } 21:27:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-65-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:26 $ docker stop --time=1 11f1e40342d5cc9d4a6b166e8a04300ff3affa70c2079fc67dd86d4ca23296f6 21:27:27 $ docker rm -f 11f1e40342d5cc9d4a6b166e8a04300ff3affa70c2079fc67dd86d4ca23296f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:27:28 provisioning config files... 21:27:28 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14113543373801681761tmp [Pipeline] { [Pipeline] sh 21:27:28 + set +x 21:27:28 + curl -s https://codecov.io/bash+ 21:27:28 bash -s -- 21:27:28 21:27:28 _____ _ 21:27:28 / ____| | | 21:27:28 | | ___ __| | ___ ___ _____ __ 21:27:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:27:28 | |___| (_) | (_| | __/ (_| (_) \ V / 21:27:28 \_____\___/ \__,_|\___|\___\___/ \_/ 21:27:28 Bash-1.0.6 21:27:28 21:27:28 21:27:28 ==> git version 2.25.1 found 21:27:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:27:28 Release-Date: 2020-01-08 21:27:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:27:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:27:28 ==> Jenkins CI detected. 21:27:28 current dir:  /w/workspace/exfoundry_device-usb-camera_main 21:27:28 project root: . 21:27:28 --> token set from env 21:27:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:27:28 ==> Running gcov in . (disable via -X gcov) 21:27:28 ==> Python coveragepy not found 21:27:28 ==> Searching for coverage reports in: 21:27:28 + . 21:27:28 -> Found 1 reports 21:27:28 ==> Detecting git/mercurial file structure 21:27:28 ==> Reading reports 21:27:28 + ./coverage.out bytes=30072 21:27:28 ==> Appending adjustments 21:27:28 https://docs.codecov.io/docs/fixing-reports 21:27:28 + Found adjustments 21:27:28 ==> Gzipping contents 21:27:28 8.0K /tmp/codecov.LpwAv6.gz 21:27:28 ==> Uploading reports 21:27:28 url: https://codecov.io 21:27:28 query: branch=main&commit=d57e067b9f342878cbcddcb6845d242959a83275&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:27:28 -> Pinging Codecov 21:27:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=d57e067b9f342878cbcddcb6845d242959a83275&build=65&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F65%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:27:29 -> Uploading to 21:27:29 https://storage.googleapis.com/codecov/v4/raw/2022-12-06/73D8F5FF140700D3E01443B452E23636/d57e067b9f342878cbcddcb6845d242959a83275/a231ebf4-27cd-4cd6-a993-fbdd264a3f89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221206T212729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=425337537667ed6e14484cf601970a916d86fd1741bd0b0d23b71dd59a423b07 21:27:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:29 Dload Upload Total Spent Left Speed 21:27:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4254 0 0 100 4254 0 16236 --:--:-- --:--:-- --:--:-- 16236 21:27:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] } 21:27:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:27:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:27:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:27:30 21:27:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:27:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:27:30 df9b9388f04a: Pulling fs layer 21:27:30 52dc419b0ee2: Pulling fs layer 21:27:30 25bc292e5bac: Pulling fs layer 21:27:30 114826534d7a: Pulling fs layer 21:27:30 4657fd5d0bcf: Pulling fs layer 21:27:30 6ad1cebc031e: Pulling fs layer 21:27:30 8a3aa393b2d8: Pulling fs layer 21:27:30 8a3aa393b2d8: Waiting 21:27:30 6ad1cebc031e: Waiting 21:27:30 4657fd5d0bcf: Waiting 21:27:30 114826534d7a: Waiting 21:27:30 25bc292e5bac: Verifying Checksum 21:27:30 25bc292e5bac: Download complete 21:27:30 52dc419b0ee2: Verifying Checksum 21:27:30 52dc419b0ee2: Download complete 21:27:30 4657fd5d0bcf: Verifying Checksum 21:27:30 4657fd5d0bcf: Download complete 21:27:30 df9b9388f04a: Download complete 21:27:31 df9b9388f04a: Pull complete 21:27:31 6ad1cebc031e: Verifying Checksum 21:27:31 6ad1cebc031e: Download complete 21:27:31 52dc419b0ee2: Pull complete 21:27:31 25bc292e5bac: Pull complete 21:27:31 114826534d7a: Verifying Checksum 21:27:31 114826534d7a: Download complete 21:27:31 8a3aa393b2d8: Verifying Checksum 21:27:31 8a3aa393b2d8: Download complete 21:27:34 114826534d7a: Pull complete 21:27:34 4657fd5d0bcf: Pull complete 21:27:35 6ad1cebc031e: Pull complete 21:27:37 8a3aa393b2d8: Pull complete 21:27:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:27:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:37 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:27:39 $ docker top e129ebc4a3346e894a2bb43d3d055d09b5c75b98c548a73bc6bedc32f39e63fe -eo pid,comm [Pipeline] { [Pipeline] echo 21:27:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 21:27:39 + set -o pipefail 21:27:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 21:27:49 21:27:49 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 21:27:49 21:27:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/2a12fe0a-13b8-41de-8581-7ad32ebfae05 21:27:49 21:27:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:27:49 21:27:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:27:49 21:27:49 21:27:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:27:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:27:49 More details here: https://snyk.co/ue1NS [Pipeline] } 21:27:49 $ docker stop --time=1 e129ebc4a3346e894a2bb43d3d055d09b5c75b98c548a73bc6bedc32f39e63fe 21:27:52 $ docker rm -f e129ebc4a3346e894a2bb43d3d055d09b5c75b98c548a73bc6bedc32f39e63fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:52 + git log --format=format:%s -1 d57e067b9f342878cbcddcb6845d242959a83275 [Pipeline] sh 21:27:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:27:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:53 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:27:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:27:53 $ docker top 6b01b942b4d9094ba825c0b597205670af8ddabb632f3affa036ea15edaf7694 -eo pid,comm 21:27:53 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). 21:27:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:53 [ssh-agent] Looking for ssh-agent implementation... 21:27:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:53 $ docker exec 6b01b942b4d9094ba825c0b597205670af8ddabb632f3affa036ea15edaf7694 ssh-agent 21:27:54 SSH_AUTH_SOCK=/tmp/ssh-LGwDeDwE3acp/agent.31 21:27:54 SSH_AGENT_PID=37 21:27:54 Running ssh-add (command line suppressed) 21:27:54 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8837197729436528321.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8837197729436528321.key) 21:27:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:54 + git semver tag 21:27:54 2022-12-06 21:27:54,672 [run_tag] DEBUG tag force:False 21:27:54 2022-12-06 21:27:54,672 [check_head_tag] DEBUG check head tag 21:27:54 2022-12-06 21:27:54,673 [execute] INFO git cat-file --batch-check 21:27:54 2022-12-06 21:27:54,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:27:54 2022-12-06 21:27:54,676 [execute] INFO git cat-file --batch 21:27:54 2022-12-06 21:27:54,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:27:54 2022-12-06 21:27:54,689 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:27:54 2022-12-06 21:27:54,690 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 21:27:54 2022-12-06 21:27:54,690 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:27:54 2022-12-06 21:27:54,692 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:27:54 3.0.0-dev.1 [Pipeline] } 21:27:54 $ docker exec --env ******** --env ******** 6b01b942b4d9094ba825c0b597205670af8ddabb632f3affa036ea15edaf7694 ssh-agent -k 21:27:54 unset SSH_AUTH_SOCK; 21:27:54 unset SSH_AGENT_PID; 21:27:54 echo Agent pid 37 killed; 21:27:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:55 + git semver [Pipeline] } 21:27:55 $ docker stop --time=1 6b01b942b4d9094ba825c0b597205670af8ddabb632f3affa036ea15edaf7694 21:27:56 $ docker rm -f 6b01b942b4d9094ba825c0b597205670af8ddabb632f3affa036ea15edaf7694 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:27:57 21:27:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:27:57 0.23.1-centos7: Pulling from edgex-lftools 21:27:57 ab5ef0e58194: Pulling fs layer 21:27:57 9712f1f96733: Pulling fs layer 21:27:57 63f879dbbcfc: Pulling fs layer 21:27:57 0d9ebad4ef96: Pulling fs layer 21:27:57 e9a5061849ea: Pulling fs layer 21:27:57 d747dcd14b5f: Pulling fs layer 21:27:57 2de7ff778b66: Pulling fs layer 21:27:57 e9a5061849ea: Waiting 21:27:57 d747dcd14b5f: Waiting 21:27:57 2de7ff778b66: Waiting 21:27:57 0d9ebad4ef96: Waiting 21:27:57 9712f1f96733: Verifying Checksum 21:27:57 9712f1f96733: Download complete 21:27:58 63f879dbbcfc: Verifying Checksum 21:27:58 63f879dbbcfc: Download complete 21:27:58 e9a5061849ea: Verifying Checksum 21:27:58 e9a5061849ea: Download complete 21:27:58 0d9ebad4ef96: Verifying Checksum 21:27:58 0d9ebad4ef96: Download complete 21:27:58 d747dcd14b5f: Verifying Checksum 21:27:58 d747dcd14b5f: Download complete 21:27:58 2de7ff778b66: Download complete 21:27:58 ab5ef0e58194: Verifying Checksum 21:27:58 ab5ef0e58194: Download complete 21:28:01 ab5ef0e58194: Pull complete 21:28:01 9712f1f96733: Pull complete 21:28:02 63f879dbbcfc: Pull complete 21:28:05 0d9ebad4ef96: Pull complete 21:28:05 e9a5061849ea: Pull complete 21:28:05 d747dcd14b5f: Pull complete 21:28:06 2de7ff778b66: Pull complete 21:28:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:28:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:28:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:06 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:28:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:28:09 $ docker top 9155d22444ee34c37196edf025a8c7fc6852ef4fe3fac5e309bfa67cb8737fd1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:28:09 provisioning config files... 21:28:09 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3495275812386222526tmp 21:28:09 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5096641552944432234tmp 21:28:09 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9210318096201501060tmp [Pipeline] { [Pipeline] echo 21:28:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:28:09 ---> sigul-configuration.sh 21:28:09 gpg: directory `/root/.gnupg' created 21:28:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:28:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:28:09 gpg: keyring `/root/.gnupg/secring.gpg' created 21:28:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:28:09 gpg: CAST5 encrypted data 21:28:09 gpg: encrypted with 1 passphrase 21:28:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:28:09 + mkdir /home/jenkins 21:28:09 + mkdir /home/jenkins/sigul [Pipeline] sh 21:28:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:28:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:28:10 ---> sigul-install.sh 21:28:10 Sigul already installed; skipping installation. [Pipeline] sh 21:28:10 + git tag --list 21:28:10 v0.0.0 21:28:10 v0.0.1-dev.1 21:28:10 v0.0.1-dev.10 21:28:10 v0.0.1-dev.11 21:28:10 v0.0.1-dev.12 21:28:10 v0.0.1-dev.13 21:28:10 v0.0.1-dev.14 21:28:10 v0.0.1-dev.15 21:28:10 v0.0.1-dev.16 21:28:10 v0.0.1-dev.2 21:28:10 v0.0.1-dev.3 21:28:10 v0.0.1-dev.4 21:28:10 v0.0.1-dev.5 21:28:10 v0.0.1-dev.6 21:28:10 v0.0.1-dev.7 21:28:10 v0.0.1-dev.8 21:28:10 v0.0.1-dev.9 21:28:10 v2.2.0 21:28:10 v2.2.0-dev.17 21:28:10 v2.2.0-dev.18 21:28:10 v2.2.0-dev.19 21:28:10 v2.2.0-dev.20 21:28:10 v2.2.0-dev.21 21:28:10 v2.2.0-dev.22 21:28:10 v2.2.0-dev.23 21:28:10 v2.2.0-dev.24 21:28:10 v2.2.0-dev.25 21:28:10 v2.2.0-dev.26 21:28:10 v2.2.0-dev.27 21:28:10 v2.3.0-dev.1 21:28:10 v2.3.0-dev.10 21:28:10 v2.3.0-dev.11 21:28:10 v2.3.0-dev.12 21:28:10 v2.3.0-dev.13 21:28:10 v2.3.0-dev.14 21:28:10 v2.3.0-dev.15 21:28:10 v2.3.0-dev.16 21:28:10 v2.3.0-dev.17 21:28:10 v2.3.0-dev.18 21:28:10 v2.3.0-dev.19 21:28:10 v2.3.0-dev.2 21:28:10 v2.3.0-dev.20 21:28:10 v2.3.0-dev.21 21:28:10 v2.3.0-dev.22 21:28:10 v2.3.0-dev.23 21:28:10 v2.3.0-dev.3 21:28:10 v2.3.0-dev.4 21:28:10 v2.3.0-dev.5 21:28:10 v2.3.0-dev.6 21:28:10 v2.3.0-dev.7 21:28:10 v2.3.0-dev.8 21:28:10 v2.3.0-dev.9 21:28:10 v3.0.0-dev.1 [Pipeline] sh 21:28:10 + lftools sign git-tag v3.0.0-dev.1 21:28:11 Signing Git tag with Sigul... 21:28:11 Signing v3.0.0-dev.1 [Pipeline] echo 21:28:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:28:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:28:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:28:11 $ docker stop --time=1 9155d22444ee34c37196edf025a8c7fc6852ef4fe3fac5e309bfa67cb8737fd1 21:28:13 $ docker rm -f 9155d22444ee34c37196edf025a8c7fc6852ef4fe3fac5e309bfa67cb8737fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:28:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:14 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:14 $ docker top 55fff6e5ee001ef4f0e411bf05e6972b7515002fbf5eab8c10dcd58f70bcd2df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:14 [ssh-agent] Looking for ssh-agent implementation... 21:28:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:14 $ docker exec 55fff6e5ee001ef4f0e411bf05e6972b7515002fbf5eab8c10dcd58f70bcd2df ssh-agent 21:28:14 SSH_AUTH_SOCK=/tmp/ssh-INGJRE7uRiEO/agent.32 21:28:14 SSH_AGENT_PID=38 21:28:14 Running ssh-add (command line suppressed) 21:28:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2839721407141925988.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_2839721407141925988.key) 21:28:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:15 + git semver bump pre 21:28:15 2022-12-06 21:28:15,387 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:28:15 2022-12-06 21:28:15,387 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 21:28:15 2022-12-06 21:28:15,387 [bump_version] DEBUG bumped version:3.0.0-dev.2 21:28:15 2022-12-06 21:28:15,387 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 21:28:15 2022-12-06 21:28:15,387 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:28:15 2022-12-06 21:28:15,387 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:28:15 2022-12-06 21:28:15,389 [execute] INFO git cat-file --batch-check 21:28:15 2022-12-06 21:28:15,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:15 2022-12-06 21:28:15,395 [execute] INFO git cat-file --batch 21:28:15 2022-12-06 21:28:15,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:15 2022-12-06 21:28:15,400 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:28:15 3.0.0-dev.2 [Pipeline] } 21:28:15 $ docker exec --env ******** --env ******** 55fff6e5ee001ef4f0e411bf05e6972b7515002fbf5eab8c10dcd58f70bcd2df ssh-agent -k 21:28:15 unset SSH_AUTH_SOCK; 21:28:15 unset SSH_AGENT_PID; 21:28:15 echo Agent pid 38 killed; 21:28:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:15 + git semver [Pipeline] } 21:28:16 $ docker stop --time=1 55fff6e5ee001ef4f0e411bf05e6972b7515002fbf5eab8c10dcd58f70bcd2df 21:28:17 $ docker rm -f 55fff6e5ee001ef4f0e411bf05e6972b7515002fbf5eab8c10dcd58f70bcd2df [Pipeline] // withDockerContainer [Pipeline] sh 21:28:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:18 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:28:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:18 $ docker top eff0b1a7434ff5485140d70347082012cd4c59fa1946a10d75e1dcd069a18869 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:18 [ssh-agent] Looking for ssh-agent implementation... 21:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:18 $ docker exec eff0b1a7434ff5485140d70347082012cd4c59fa1946a10d75e1dcd069a18869 ssh-agent 21:28:18 SSH_AUTH_SOCK=/tmp/ssh-08Lj6p7RJw4J/agent.33 21:28:18 SSH_AGENT_PID=39 21:28:18 Running ssh-add (command line suppressed) 21:28:19 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8922755917568297880.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8922755917568297880.key) 21:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:19 + git semver push 21:28:19 2022-12-06 21:28:19,597 [run_push] DEBUG push 21:28:19 2022-12-06 21:28:19,597 [execute] INFO git cat-file --batch-check 21:28:19 2022-12-06 21:28:19,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:28:19 2022-12-06 21:28:19,601 [execute] INFO git rev-list d1f6b7292368977a1b0d1b319a32b54cac4e30e4 -- 21:28:19 2022-12-06 21:28:19,602 [execute] DEBUG Popen(['git', 'rev-list', 'd1f6b7292368977a1b0d1b319a32b54cac4e30e4', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:28:19 2022-12-06 21:28:19,606 [execute] INFO git fetch -v origin 21:28:19 2022-12-06 21:28:19,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:28:20 2022-12-06 21:28:20,140 [run_push] DEBUG no remote changes detected 21:28:20 2022-12-06 21:28:20,140 [execute] INFO git push origin semver 21:28:20 2022-12-06 21:28:20,141 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:28:21 2022-12-06 21:28:20,876 [run_push] DEBUG push all version tags 21:28:21 2022-12-06 21:28:20,877 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:28:21 2022-12-06 21:28:20,877 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:28:21 2022-12-06 21:28:21,593 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:28:21 3.0.0-dev.2 [Pipeline] } 21:28:21 $ docker exec --env ******** --env ******** eff0b1a7434ff5485140d70347082012cd4c59fa1946a10d75e1dcd069a18869 ssh-agent -k 21:28:21 unset SSH_AUTH_SOCK; 21:28:21 unset SSH_AGENT_PID; 21:28:21 echo Agent pid 39 killed; 21:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:22 + git semver [Pipeline] } 21:28:22 $ docker stop --time=1 eff0b1a7434ff5485140d70347082012cd4c59fa1946a10d75e1dcd069a18869 21:28:23 $ docker rm -f eff0b1a7434ff5485140d70347082012cd4c59fa1946a10d75e1dcd069a18869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:28:24 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 21:28:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:28:24 total 16 21:28:24 drwxr-xr-x 3 root root 4096 Dec 6 21:19 . 21:28:24 drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 21:28 .. 21:28:24 drwxr-xr-x 2 root root 4096 Dec 6 21:19 cost 21:28:24 -rw-r--r-- 1 root root 88 Dec 6 21:19 cost.csv 21:28:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 21:28:24 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:28:24 total 16 21:28:24 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 21:19 . 21:28:24 drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 21:28 .. 21:28:24 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 21:19 cost 21:28:24 -rw-r--r-- 1 jenkins jenkins 88 Dec 6 21:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:25 ---> package-listing.sh 21:28:25 ++ facter osfamily 21:28:25 ++ tr '[:upper:]' '[:lower:]' 21:28:25 + OS_FAMILY=debian 21:28:25 + workspace=/w/workspace/exfoundry_device-usb-camera_main 21:28:25 + START_PACKAGES=/tmp/packages_start.txt 21:28:25 + END_PACKAGES=/tmp/packages_end.txt 21:28:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:25 + PACKAGES=/tmp/packages_start.txt 21:28:25 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:28:25 + PACKAGES=/tmp/packages_end.txt 21:28:25 + case "${OS_FAMILY}" in 21:28:25 + dpkg -l 21:28:25 + grep '^ii' 21:28:25 + '[' -f /tmp/packages_start.txt ']' 21:28:25 + '[' -f /tmp/packages_end.txt ']' 21:28:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:25 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:28:25 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 21:28:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 21:28:25 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 21:28:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:26 prd-ubuntu20.04-docker-8c-8g-120678 does not seem to be running inside a container 21:28:26 $ 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 21:28:26 $ docker top f80433187e3afb8516ac6eb875f1ff721f99efb1506d59989427492123e27ccd -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:27 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:27 + ls /var/log/sa-host 21:28:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:28 provisioning config files... 21:28:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5792359401338311314tmp [Pipeline] { [Pipeline] echo 21:28:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:28 ---> create-netrc.sh [Pipeline] } 21:28:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:28 ---> python-tools-install.sh [Pipeline] echo 21:28:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:28 ---> sudo-logs.sh 21:28:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:29 ---> job-cost.sh 21:28:29 lf-activate-venv: SKIPPING 21:28:29 DEBUG: total: 0.2199999988079071 21:28:29 INFO: Retrieving Stack Cost... 21:28:29 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:30 INFO: Archiving Costs [Pipeline] echo 21:28:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:30 ---> logs-deploy.sh 21:28:30 lf-activate-venv: SKIPPING 21:28:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/65 21:28:30 INFO: archiving workspace using pattern(s): 21:28:31 Archives upload complete. 21:28:31 INFO: archiving logs to Nexus