Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f8c06fbfb8b0782f288c35171c6afc148f652fe 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-ssh13150957283133345157.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9457979142445057035.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6763335996378428120.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1337168904259038171.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-ssh13218925298225239827.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-1862’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1863 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 2f8c06fbfb8b0782f288c35171c6afc148f652fe (main) Commit message: "Merge pull request #90 from lenny-intel/nats" > 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 2f8c06fbfb8b0782f288c35171c6afc148f652fe # timeout=10 > git rev-list --no-walk 23873178f87621f494545d7f1b328385510a4cee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:03:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:03:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:03:38 ========================================================= 21:03:38 EdgeX Global Pipelines Version Info 21:03:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:03:39 ------------------- 21:03:39 stable info: 21:03:39 ------------------- 21:03:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:03:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:03:39 Message: update stable to v1.0.239 21:03:40 ------------------- 21:03:40 experimental info: 21:03:40 ------------------- 21:03:40 Commited By: **** collab-it+edgex@linuxfoundation.org 21:03:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:03:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f8c06f [Pipeline] echo 21:03:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:40 provisioning config files... 21:03:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4584104950015220915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:40 ---> docker-login.sh 21:03:40 nexus3.edgexfoundry.org:10001 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 nexus3.edgexfoundry.org:10002 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 nexus3.edgexfoundry.org:10003 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 nexus3.edgexfoundry.org:10004 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 docker.io 21:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:41 Configure a credential helper to remove this warning. See 21:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:41 21:03:41 Login Succeeded 21:03:41 ---> docker-login.sh ends [Pipeline] } 21:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:03:42 + git rev-list -1 --merges 2f8c06fbfb8b0782f288c35171c6afc148f652fe~1..2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] echo 21:03:42 -----------> git rev-list -1 --merges 2f8c06fbfb8b0782f288c35171c6afc148f652fe~1..2f8c06fbfb8b0782f288c35171c6afc148f652fe 2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:03:42 2f8c06fbfb8b0782f288c35171c6afc148f652fe [false] [Pipeline] sh 21:03:42 + git log --format=format:%s -1 2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] echo 21:03:42 ========================================================= 21:03:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:03:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:42 + git log --format=format:%s -1 2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] echo 21:03:42 [semverPrep] GIT_COMMIT: 2f8c06fbfb8b0782f288c35171c6afc148f652fe, Commit Message: Merge pull request #90 from lenny-intel/nats [Pipeline] echo 21:03:42 [semverPrep] This is not a build commit. [Pipeline] sh 21:03:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:03:43 + grep -v github /etc/ssh/ssh_known_hosts 21:03:43 + [ -e /tmp/ssh_known_hosts ] 21:03:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:03:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:03:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:03:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:43 21:03:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:43 0.1.4: Pulling from edgex-devops/py-git-semver 21:03:43 b85a868b505f: Pulling fs layer 21:03:43 e2be974225ed: Pulling fs layer 21:03:43 339a4e72a1f5: Pulling fs layer 21:03:43 988bab9f4d93: Pulling fs layer 21:03:43 1469e6f7b9e6: Pulling fs layer 21:03:43 eaf3925da568: Pulling fs layer 21:03:43 bab4dde63d76: Pulling fs layer 21:03:43 bde34c3a00c8: Pulling fs layer 21:03:43 b352a97aabf1: Pulling fs layer 21:03:43 4872d77fe225: Pulling fs layer 21:03:43 5851b861e8e6: Pulling fs layer 21:03:43 988bab9f4d93: Waiting 21:03:43 bde34c3a00c8: Waiting 21:03:43 1469e6f7b9e6: Waiting 21:03:43 eaf3925da568: Waiting 21:03:43 5851b861e8e6: Waiting 21:03:43 b352a97aabf1: Waiting 21:03:43 bab4dde63d76: Waiting 21:03:43 4872d77fe225: Waiting 21:03:43 e2be974225ed: Verifying Checksum 21:03:43 e2be974225ed: Download complete 21:03:43 988bab9f4d93: Verifying Checksum 21:03:43 988bab9f4d93: Download complete 21:03:44 1469e6f7b9e6: Verifying Checksum 21:03:44 1469e6f7b9e6: Download complete 21:03:44 eaf3925da568: Verifying Checksum 21:03:44 eaf3925da568: Download complete 21:03:44 339a4e72a1f5: Verifying Checksum 21:03:44 339a4e72a1f5: Download complete 21:03:44 bde34c3a00c8: Verifying Checksum 21:03:44 bde34c3a00c8: Download complete 21:03:44 b352a97aabf1: Verifying Checksum 21:03:44 b352a97aabf1: Download complete 21:03:44 4872d77fe225: Verifying Checksum 21:03:44 4872d77fe225: Download complete 21:03:44 5851b861e8e6: Verifying Checksum 21:03:44 5851b861e8e6: Download complete 21:03:44 b85a868b505f: Verifying Checksum 21:03:44 b85a868b505f: Download complete 21:03:44 bab4dde63d76: Verifying Checksum 21:03:44 bab4dde63d76: Download complete 21:03:45 b85a868b505f: Pull complete 21:03:45 e2be974225ed: Pull complete 21:03:45 339a4e72a1f5: Pull complete 21:03:45 988bab9f4d93: Pull complete 21:03:46 1469e6f7b9e6: Pull complete 21:03:46 eaf3925da568: Pull complete 21:03:48 bab4dde63d76: Pull complete 21:03:48 bde34c3a00c8: Pull complete 21:03:48 b352a97aabf1: Pull complete 21:03:48 4872d77fe225: Pull complete 21:03:48 5851b861e8e6: Pull complete 21:03:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:03:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:48 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:03:48 $ 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:03:50 $ docker top d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 -eo pid,comm 21:03:50 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:03:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:50 [ssh-agent] Looking for ssh-agent implementation... 21:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:50 $ docker exec d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 ssh-agent 21:03:50 SSH_AUTH_SOCK=/tmp/ssh-0Aqwb7Fxz8iG/agent.32 21:03:50 SSH_AGENT_PID=38 21:03:50 Running ssh-add (command line suppressed) 21:03:50 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18255818034142622889.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18255818034142622889.key) 21:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:50 + git tag --points-at HEAD [Pipeline] } 21:03:50 $ docker exec --env ******** --env ******** d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 ssh-agent -k 21:03:50 unset SSH_AUTH_SOCK; 21:03:50 unset SSH_AGENT_PID; 21:03:50 echo Agent pid 38 killed; 21:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:50 [ssh-agent] Looking for ssh-agent implementation... 21:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:50 $ docker exec d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 ssh-agent 21:03:51 SSH_AUTH_SOCK=/tmp/ssh-g7bgInxyzcYh/agent.70 21:03:51 SSH_AGENT_PID=76 21:03:51 Running ssh-add (command line suppressed) 21:03:51 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9478006207179648880.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9478006207179648880.key) 21:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:51 + git semver init 21:03:51 2022-09-28 21:03:51,660 [run_init] DEBUG init version:0.0.0 force:False 21:03:51 2022-09-28 21:03:51,661 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 21:03:51 2022-09-28 21:03:51,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 21:03:51 2022-09-28 21:03:51,661 [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:03:52 2022-09-28 21:03:52,429 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 21:03:52 2022-09-28 21:03:52,429 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 21:03:52 2022-09-28 21:03:52,429 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:03:52 2022-09-28 21:03:52,430 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:03:52 2.3.0-dev.12 [Pipeline] } 21:03:52 $ docker exec --env ******** --env ******** d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 ssh-agent -k 21:03:52 unset SSH_AUTH_SOCK; 21:03:52 unset SSH_AGENT_PID; 21:03:52 echo Agent pid 76 killed; 21:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:53 + git semver [Pipeline] } 21:03:53 $ docker stop --time=1 d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 21:03:54 $ docker rm -f d318768e0a67c8dc2749ec9fa746e527e6254c6f30a79f293115bcff05327a21 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:55 Stashed 1 file(s) [Pipeline] echo 21:03:55 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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:03:55 provisioning config files... 21:03:55 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4264082860917348196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:55 ---> docker-login.sh 21:03:55 nexus3.edgexfoundry.org:10001 21:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:55 Configure a credential helper to remove this warning. See 21:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:55 21:03:55 Login Succeeded 21:03:55 nexus3.edgexfoundry.org:10002 21:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:55 Configure a credential helper to remove this warning. See 21:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:55 21:03:55 Login Succeeded 21:03:55 nexus3.edgexfoundry.org:10003 21:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:55 Configure a credential helper to remove this warning. See 21:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:55 21:03:55 Login Succeeded 21:03:55 nexus3.edgexfoundry.org:10004 21:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:55 Configure a credential helper to remove this warning. See 21:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:55 21:03:55 Login Succeeded 21:03:55 docker.io 21:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:56 Configure a credential helper to remove this warning. See 21:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:56 21:03:56 Login Succeeded 21:03:56 ---> docker-login.sh ends [Pipeline] } 21:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:56 ========================================================= 21:03:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:03:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:56 + 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:03:56 Sending build context to Docker daemon 1.451MB 21:03:56 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:03:56 Step 2/14 : FROM ${BASE} AS builder 21:03:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:03:56 2408cc74d12b: Pulling fs layer 21:03:56 ea60b727a1ce: Pulling fs layer 21:03:56 30c4a7721957: Pulling fs layer 21:03:56 370296b7ddb6: Pulling fs layer 21:03:56 7c6cee850709: Pulling fs layer 21:03:56 39a5fcdaea64: Pulling fs layer 21:03:56 d94ebbe4e438: Pulling fs layer 21:03:56 bcfd1f05c69d: Pulling fs layer 21:03:56 59ccb84bbe0f: Pulling fs layer 21:03:56 39a5fcdaea64: Waiting 21:03:56 d94ebbe4e438: Waiting 21:03:56 bcfd1f05c69d: Waiting 21:03:56 59ccb84bbe0f: Waiting 21:03:56 370296b7ddb6: Waiting 21:03:56 7c6cee850709: Waiting 21:03:56 30c4a7721957: Download complete 21:03:56 ea60b727a1ce: Download complete 21:03:56 7c6cee850709: Verifying Checksum 21:03:56 7c6cee850709: Download complete 21:03:56 39a5fcdaea64: Verifying Checksum 21:03:56 39a5fcdaea64: Download complete 21:03:57 2408cc74d12b: Verifying Checksum 21:03:57 2408cc74d12b: Download complete 21:03:57 d94ebbe4e438: Download complete 21:03:57 2408cc74d12b: Pull complete 21:03:57 ea60b727a1ce: Pull complete 21:03:57 30c4a7721957: Pull complete 21:03:57 59ccb84bbe0f: Verifying Checksum 21:03:57 59ccb84bbe0f: Download complete 21:03:57 370296b7ddb6: Verifying Checksum 21:03:57 370296b7ddb6: Download complete 21:03:57 bcfd1f05c69d: Verifying Checksum 21:03:57 bcfd1f05c69d: Download complete 21:04:01 370296b7ddb6: Pull complete 21:04:01 7c6cee850709: Pull complete 21:04:01 39a5fcdaea64: Pull complete 21:04:01 d94ebbe4e438: Pull complete 21:04:03 bcfd1f05c69d: Pull complete 21:04:03 59ccb84bbe0f: Pull complete 21:04:03 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:04:03 ---> a4fb48ad2a94 21:04:03 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:04:07 ---> Running in d2d2d7eb031a 21:04:07 Removing intermediate container d2d2d7eb031a 21:04:07 ---> bc3f1b53669c 21:04:07 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:07 ---> Running in f5653fe29516 21:04:07 Removing intermediate container f5653fe29516 21:04:07 ---> 96feb7ec28d6 21:04:07 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:04:07 ---> Running in e4da20ae8b45 21:04:07 Removing intermediate container e4da20ae8b45 21:04:07 ---> 3a94fa229752 21:04:07 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:04:07 ---> Running in 6c73315926ba 21:04:07 Removing intermediate container 6c73315926ba 21:04:07 ---> 29d2a7ae090d 21:04:07 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:07 ---> Running in 962bed9d2c86 21:04:08 Removing intermediate container 962bed9d2c86 21:04:08 ---> 3a2617e66f8c 21:04:08 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:08 ---> Running in e834acdc2798 21:04:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:04:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:04:09 (1/80) Installing mesa (21.3.8-r2) 21:04:09 (2/80) Installing libxau (1.0.9-r0) 21:04:09 (3/80) Installing libxdmcp (1.1.3-r0) 21:04:09 (4/80) Installing libxcb (1.15-r0) 21:04:09 (5/80) Installing libx11 (1.8-r0) 21:04:10 (6/80) Installing libxext (1.3.4-r0) 21:04:10 (7/80) Installing libxfixes (6.0.0-r0) 21:04:10 (8/80) Installing libxxf86vm (1.1.4-r2) 21:04:10 Still waiting to schedule task 21:04:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1865’ is offline 21:04:10 (9/80) Installing libpciaccess (0.16-r0) 21:04:10 (10/80) Installing libdrm (2.4.110-r0) 21:04:10 (11/80) Installing mesa-glapi (21.3.8-r2) 21:04:10 (12/80) Installing libxshmfence (1.3-r1) 21:04:10 (13/80) Installing mesa-gl (21.3.8-r2) 21:04:10 (14/80) Installing icu-data-full (71.1-r2) 21:04:11 (15/80) Installing libice (1.0.10-r0) 21:04:11 (16/80) Installing libuuid (2.38-r1) 21:04:12 (17/80) Installing libsm (1.2.3-r0) 21:04:12 (18/80) Installing libxt (1.2.1-r0) 21:04:12 (19/80) Installing libxmu (1.1.3-r0) 21:04:12 (20/80) Installing xset (1.2.4-r0) 21:04:12 (21/80) Installing xprop (1.2.5-r0) 21:04:12 (22/80) Installing xdg-utils (1.1.3-r3) 21:04:12 (23/80) Installing dbus-libs (1.14.0-r1) 21:04:12 (24/80) Installing libffi (3.4.2-r1) 21:04:12 (25/80) Installing libintl (0.21-r2) 21:04:12 (26/80) Installing libblkid (2.38-r1) 21:04:12 (27/80) Installing libmount (2.38-r1) 21:04:13 (28/80) Installing pcre (8.45-r2) 21:04:13 (29/80) Installing glib (2.72.1-r0) 21:04:13 (30/80) Installing icu-libs (71.1-r2) 21:04:13 (31/80) Installing libpcre2-16 (10.40-r0) 21:04:13 (32/80) Installing zstd-libs (1.5.2-r1) 21:04:13 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 21:04:13 (34/80) Installing hicolor-icon-theme (0.17-r1) 21:04:14 (35/80) Installing wayland-libs-server (1.20.0-r0) 21:04:14 (36/80) Installing mesa-gbm (21.3.8-r2) 21:04:14 (37/80) Installing wayland-libs-client (1.20.0-r0) 21:04:14 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 21:04:14 (39/80) Installing libxcomposite (0.4.5-r0) 21:04:14 (40/80) Installing libbz2 (1.0.8-r1) 21:04:14 (41/80) Installing libpng (1.6.37-r1) 21:04:14 (42/80) Installing freetype (2.12.1-r0) 21:04:15 (43/80) Installing fontconfig (2.14.0-r0) 21:04:15 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 21:04:15 (45/80) Installing wayland-libs-egl (1.20.0-r0) 21:04:15 (46/80) Installing xkeyboard-config (2.35.1-r0) 21:04:15 (47/80) Installing xz-libs (5.2.5-r1) 21:04:15 (48/80) Installing libxml2 (2.9.14-r1) 21:04:15 (49/80) Installing libxkbcommon (1.4.1-r0) 21:04:15 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 21:04:15 (51/80) Installing mesa-egl (21.3.8-r2) 21:04:15 (52/80) Installing avahi-libs (0.8-r6) 21:04:16 (53/80) Installing nettle (3.7.3-r0) 21:04:16 (54/80) Installing p11-kit (0.24.1-r0) 21:04:16 (55/80) Installing libtasn1 (4.18.0-r0) 21:04:16 (56/80) Installing libunistring (1.0-r0) 21:04:16 (57/80) Installing gnutls (3.7.7-r0) 21:04:16 (58/80) Installing cups-libs (2.4.2-r0) 21:04:16 (59/80) Installing graphite2 (1.3.14-r1) 21:04:16 (60/80) Installing harfbuzz (4.3.0-r0) 21:04:16 (61/80) Installing libevdev (1.12.1-r0) 21:04:16 (62/80) Installing mtdev (1.1.6-r0) 21:04:16 (63/80) Installing eudev-libs (3.2.11-r0) 21:04:17 (64/80) Installing libinput-libs (1.20.1-r0) 21:04:17 (65/80) Installing libjpeg-turbo (2.1.3-r1) 21:04:17 (66/80) Installing xcb-util-wm (0.4.1-r1) 21:04:17 (67/80) Installing xcb-util (0.4.0-r3) 21:04:17 (68/80) Installing xcb-util-image (0.4.0-r1) 21:04:17 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 21:04:17 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 21:04:17 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 21:04:17 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 21:04:18 (73/80) Installing v4l-utils-libs (1.22.1-r1) 21:04:18 (74/80) Installing v4l-utils (1.22.1-r1) 21:04:18 (75/80) Installing udev-init-scripts (35-r0) 21:04:18 Executing udev-init-scripts-35-r0.post-install 21:04:18 (76/80) Installing kmod-libs (29-r2) 21:04:18 (77/80) Installing eudev (3.2.11-r0) 21:04:19 (78/80) Installing eudev-dev (3.2.11-r0) 21:04:19 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:04:19 (80/80) Installing v4l-utils-dev (1.22.1-r1) 21:04:19 Executing busybox-1.35.0-r13.trigger 21:04:19 Executing eudev-3.2.11-r0.trigger 21:04:19 OK: 330 MiB in 131 packages 21:04:21 Removing intermediate container e834acdc2798 21:04:21 ---> 100628d1e12c 21:04:21 Step 9/14 : WORKDIR /device-usb-camera 21:04:21 ---> Running in 7fa5817a4979 21:04:21 Removing intermediate container 7fa5817a4979 21:04:21 ---> 530de6ceb542 21:04:21 Step 10/14 : COPY go.mod vendor* ./ 21:04:22 ---> 3fef693f53c4 21:04:22 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:22 ---> Running in f5a0a3d0f746 21:04:40 Removing intermediate container f5a0a3d0f746 21:04:40 ---> 169655fc6b11 21:04:40 Step 12/14 : COPY . . 21:04:40 ---> fc131809b808 21:04:40 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:04:40 ---> Running in 06ef1ff3bc21 21:04:40  % Total % Received % Xferd Average Speed Time Time Time Current 21:04:40    Dload Upload  Total  Spent Left Speed 21:04:40   0 0 0  0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9090 0 --:--:-- --:--:-- --:--:-- 9076 100 1062 100 1062 0 0 9086 0 --:--:-- --:--:-- --:--:-- 9076 21:04:40 Removing intermediate container 06ef1ff3bc21 21:04:40 ---> 329b0b136a85 21:04:40 Step 14/14 : RUN ${MAKE} 21:04:40 ---> Running in 49147743e058 21:04:40 noop 21:04:40 Removing intermediate container 49147743e058 21:04:40 ---> ba0d139ff757 21:04:40 Successfully built ba0d139ff757 21:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:40 + docker inspect -f . ci-base-image-x86_64 21:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:40 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:04:40 $ 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:04:41 $ docker top 932fbd6a52a736d3635ae56b8f0b264e172ce318fa0ac88e2c6caf1dc253e50c -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:41 + go version 21:04:41 go version go1.18.3 linux/amd64 [Pipeline] } 21:04:41 $ docker stop --time=1 932fbd6a52a736d3635ae56b8f0b264e172ce318fa0ac88e2c6caf1dc253e50c 21:04:42 $ docker rm -f 932fbd6a52a736d3635ae56b8f0b264e172ce318fa0ac88e2c6caf1dc253e50c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:43 + docker inspect -f . ci-base-image-x86_64 21:04:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:43 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:04:43 $ 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:04:43 $ docker top 0edd644b548ee0c8302ceb35b59ed39dbf3479dc90ce7f709ee661a5ec26f64b -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:44 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 21:04:44 + make test 21:04:44 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 21:04:44 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:04:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:04:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 21:05:03 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:05:03 CGO_ENABLED=1 go vet ./... 21:05:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:06 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:06 $ docker stop --time=1 0edd644b548ee0c8302ceb35b59ed39dbf3479dc90ce7f709ee661a5ec26f64b 21:05:09 $ docker rm -f 0edd644b548ee0c8302ceb35b59ed39dbf3479dc90ce7f709ee661a5ec26f64b [Pipeline] // withDockerContainer [Pipeline] sh 21:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:10 + ls -al . 21:05:10 total 196 21:05:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 21:04 . 21:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:03 .. 21:05:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 21:04 .git 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:03 .github 21:05:10 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 21:03 .gitignore 21:05:10 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 21:03 .golangci.yml 21:05:10 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 21:03 .hadolint.yml 21:05:10 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 21:03 .semver 21:05:10 -rw-rw-r-- 1 jenkins jenkins 9702 Sep 28 21:03 Attribution.txt 21:05:10 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 21:03 CHANGELOG.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 2467 Sep 28 21:03 Dockerfile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 21:03 GOVERNANCE.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 21:03 Jenkinsfile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 21:03 LICENSE 21:05:10 -rw-rw-r-- 1 jenkins jenkins 2554 Sep 28 21:03 Makefile 21:05:10 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 21:03 OWNERS.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 5773 Sep 28 21:03 README.md 21:05:10 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 21:03 VERSION 21:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 21:03 bin 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:03 cmd 21:05:10 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 21:04 coverage.out 21:05:10 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 21:03 docker-entrypoint.sh 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:03 docs 21:05:10 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 21:03 go.mod 21:05:10 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 21:03 go.sum 21:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:03 internal 21:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:03 snap 21:05:10 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:11 + 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=2f8c06fbfb8b0782f288c35171c6afc148f652fe --label arch=amd64 --label version=2.3.0-dev.12 . 21:05:11 Sending build context to Docker daemon 1.481MB 21:05:11 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 21:05:11 Step 2/36 : FROM ${BASE} AS builder 21:05:11 ---> ba0d139ff757 21:05:11 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:05:11 ---> Running in 5f1eece427d1 21:05:11 Removing intermediate container 5f1eece427d1 21:05:11 ---> e2fed598ff54 21:05:11 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:11 ---> Running in 93258422ea60 21:05:11 Removing intermediate container 93258422ea60 21:05:11 ---> 348e92851e44 21:05:11 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:05:11 ---> Running in 3dcc762aab0a 21:05:11 Removing intermediate container 3dcc762aab0a 21:05:11 ---> 21a158e2bc61 21:05:11 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:05:11 ---> Running in b0d99d165215 21:05:12 Removing intermediate container b0d99d165215 21:05:12 ---> 59f0a036de7e 21:05:12 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:12 ---> Running in 4de2afc0f050 21:05:12 Removing intermediate container 4de2afc0f050 21:05:12 ---> 35b7cd412c72 21:05:12 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:12 ---> Running in 46b4606168c1 21:05:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:05:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:05:14 OK: 330 MiB in 131 packages 21:05:14 Removing intermediate container 46b4606168c1 21:05:14 ---> 01d602121d3a 21:05:14 Step 9/36 : WORKDIR /device-usb-camera 21:05:14 ---> Running in 2d7844026acb 21:05:14 Removing intermediate container 2d7844026acb 21:05:14 ---> 342a22c44e41 21:05:14 Step 10/36 : COPY go.mod vendor* ./ 21:05:14 ---> a4ec79f9f472 21:05:14 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:14 ---> Running in a83ac3559bf5 21:05:15 Removing intermediate container a83ac3559bf5 21:05:15 ---> 3957e429cebf 21:05:15 Step 12/36 : COPY . . 21:05:15 ---> c3d695e06b71 21:05:15 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:05:15 ---> Running in 37dadc0d4716 21:05:16  % Total % Received % Xferd Average Speed Time Time Time Current 21:05:16  Dload Upload Total Spent Left Speed 21:05:16 0 0 0 0 0  0   0  0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 45053 0 --:--:-- --:--:-- --:--:-- 46173 21:05:16 Removing intermediate container 37dadc0d4716 21:05:16 ---> 4527656b61d0 21:05:16 Step 14/36 : RUN ${MAKE} 21:05:16 ---> Running in 9f415c75b0d0 21:05:17 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 21:05:39 Removing intermediate container 9f415c75b0d0 21:05:39 ---> 96c843028fa0 21:05:39 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 21:05:39 v0.18.4: Pulling from aler9/rtsp-simple-server 21:05:39 af6660deedbd: Pulling fs layer 21:05:39 97cd0a44c592: Pulling fs layer 21:05:39 97cd0a44c592: Verifying Checksum 21:05:39 97cd0a44c592: Download complete 21:05:39 af6660deedbd: Verifying Checksum 21:05:39 af6660deedbd: Download complete 21:05:39 af6660deedbd: Pull complete 21:05:39 97cd0a44c592: Pull complete 21:05:39 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 21:05:39 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 21:05:39 ---> fea57e182299 21:05:39 Step 16/36 : FROM alpine:3.16 21:05:40 3.16: Pulling from library/alpine 21:05:40 213ec9aee27d: Pulling fs layer 21:05:40 213ec9aee27d: Verifying Checksum 21:05:40 213ec9aee27d: Download complete 21:05:40 213ec9aee27d: Pull complete 21:05:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:05:40 Status: Downloaded newer image for alpine:3.16 21:05:40 ---> 9c6f07244728 21:05:40 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:05:41 ---> Running in d7e2a5ae4ce4 21:05:41 Removing intermediate container d7e2a5ae4ce4 21:05:41 ---> 58dee035a9dd 21:05:41 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 21:05:41 ---> Running in 445b5a450223 21:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:05:41 (1/83) Installing dumb-init (1.2.5-r1) 21:05:41 (2/83) Installing sdl2 (2.0.22-r0) 21:05:41 (3/83) Installing libxau (1.0.9-r0) 21:05:41 (4/83) Installing libxdmcp (1.1.3-r0) 21:05:41 (5/83) Installing libxcb (1.15-r0) 21:05:41 (6/83) Installing libx11 (1.8-r0) 21:05:41 (7/83) Installing aom-libs (3.3.0-r0) 21:05:41 (8/83) Installing alsa-lib (1.2.7.2-r0) 21:05:42 (9/83) Installing expat (2.4.9-r0) 21:05:42 (10/83) Installing brotli-libs (1.0.9-r6) 21:05:42 (11/83) Installing libbz2 (1.0.8-r1) 21:05:42 (12/83) Installing libpng (1.6.37-r1) 21:05:42 (13/83) Installing freetype (2.12.1-r0) 21:05:42 (14/83) Installing fontconfig (2.14.0-r0) 21:05:42 (15/83) Installing fribidi (1.0.12-r0) 21:05:42 (16/83) Installing libffi (3.4.2-r1) 21:05:42 (17/83) Installing libintl (0.21-r2) 21:05:42 (18/83) Installing libblkid (2.38-r1) 21:05:42 (19/83) Installing libmount (2.38-r1) 21:05:42 (20/83) Installing pcre (8.45-r2) 21:05:42 (21/83) Installing glib (2.72.1-r0) 21:05:42 (22/83) Installing graphite2 (1.3.14-r1) 21:05:42 (23/83) Installing harfbuzz (4.3.0-r0) 21:05:42 (24/83) Installing libass (0.16.0-r0) 21:05:42 (25/83) Installing libdav1d (1.0.0-r0) 21:05:42 (26/83) Installing libpciaccess (0.16-r0) 21:05:42 (27/83) Installing libdrm (2.4.110-r0) 21:05:42 (28/83) Installing gmp (6.2.1-r2) 21:05:42 (29/83) Installing nettle (3.7.3-r0) 21:05:42 (30/83) Installing p11-kit (0.24.1-r0) 21:05:42 (31/83) Installing libtasn1 (4.18.0-r0) 21:05:42 (32/83) Installing libunistring (1.0-r0) 21:05:42 (33/83) Installing gnutls (3.7.7-r0) 21:05:42 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 21:05:42 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 21:05:42 (36/83) Installing lame (3.100-r0) 21:05:42 (37/83) Installing opus (1.3.1-r1) 21:05:42 (38/83) Installing libasyncns (0.8-r1) 21:05:42 (39/83) Installing dbus-libs (1.14.0-r1) 21:05:42 (40/83) Installing libltdl (2.4.7-r0) 21:05:42 (41/83) Installing orc (0.4.32-r0) 21:05:42 (42/83) Installing libgcc (11.2.1_git20220219-r2) 21:05:42 (43/83) Installing libogg (1.3.5-r1) 21:05:42 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 21:05:42 (45/83) Installing flac (1.3.4-r0) 21:05:42 (46/83) Installing libvorbis (1.3.7-r0) 21:05:42 (47/83) Installing libsndfile (1.1.0-r0) 21:05:42 (48/83) Installing libgomp (11.2.1_git20220219-r2) 21:05:42 (49/83) Installing soxr (0.1.3-r2) 21:05:42 (50/83) Installing speexdsp (1.2.0-r0) 21:05:42 (51/83) Installing tdb-libs (1.4.6-r0) 21:05:42 (52/83) Installing libpulse (15.0-r2) 21:05:42 (53/83) Installing cjson (1.7.15-r3) 21:05:42 (54/83) Installing mbedtls (2.28.1-r0) 21:05:42 (55/83) Installing librist (0.2.6-r1) 21:05:42 (56/83) Installing libsrt (1.4.4-r0) 21:05:42 (57/83) Installing libssh (0.9.6-r1) 21:05:42 (58/83) Installing libtheora (1.1.1-r16) 21:05:42 (59/83) Installing libjpeg-turbo (2.1.3-r1) 21:05:42 (60/83) Installing v4l-utils-libs (1.22.1-r1) 21:05:42 (61/83) Installing libxext (1.3.4-r0) 21:05:42 (62/83) Installing libxfixes (6.0.0-r0) 21:05:42 (63/83) Installing wayland-libs-client (1.20.0-r0) 21:05:42 (64/83) Installing libva (2.14.0-r0) 21:05:42 (65/83) Installing libvdpau (1.5-r0) 21:05:42 (66/83) Installing vidstab (1.1.0-r1) 21:05:42 (67/83) Installing libvpx (1.11.0-r1) 21:05:42 (68/83) Installing libwebp (1.2.3-r0) 21:05:42 (69/83) Installing x264-libs (0.163_git20210613-r0) 21:05:42 (70/83) Installing numactl (2.0.14-r0) 21:05:42 (71/83) Installing x265-libs (3.5-r3) 21:05:42 (72/83) Installing xvidcore (1.3.7-r1) 21:05:42 (73/83) Installing ffmpeg-libs (5.0.1-r1) 21:05:42 (74/83) Installing ffmpeg (5.0.1-r1) 21:05:42 (75/83) Installing udev-init-scripts (35-r0) 21:05:42 Executing udev-init-scripts-35-r0.post-install 21:05:42 (76/83) Installing eudev-libs (3.2.11-r0) 21:05:42 (77/83) Installing xz-libs (5.2.5-r1) 21:05:42 (78/83) Installing zstd-libs (1.5.2-r1) 21:05:42 (79/83) Installing kmod-libs (29-r2) 21:05:42 (80/83) Installing eudev (3.2.11-r0) 21:05:42 (81/83) Installing libsodium (1.0.18-r0) 21:05:42 (82/83) Installing libzmq (4.3.4-r0) 21:05:42 (83/83) Installing zeromq (4.3.4-r0) 21:05:42 Executing busybox-1.35.0-r17.trigger 21:05:42 Executing eudev-3.2.11-r0.trigger 21:05:42 OK: 101 MiB in 97 packages 21:05:45 Removing intermediate container 445b5a450223 21:05:45 ---> 319393f210fd 21:05:45 Step 19/36 : WORKDIR / 21:05:45 ---> Running in 73aabef51d8e 21:05:45 Removing intermediate container 73aabef51d8e 21:05:45 ---> 760e38d1b15d 21:05:45 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 21:05:45 ---> 4dfd860dce0f 21:05:45 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:05:46 ---> 772a7a237765 21:05:46 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:05:46 ---> e954e98b0d43 21:05:46 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:05:46 ---> 983d12729977 21:05:46 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:05:46 ---> cd5e0bff6c53 21:05:46 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:05:46 ---> fd4072b23fe9 21:05:46 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 21:05:47 ---> 1ad30bb1cbac 21:05:47 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:05:47 ---> Running in 3bb925b7ddca 21:05:47 Removing intermediate container 3bb925b7ddca 21:05:47 ---> fa472de5306d 21:05:47 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:05:47 ---> Running in 3db342d6683e 21:05:48 Removing intermediate container 3db342d6683e 21:05:48 ---> db1bf1c059ff 21:05:48 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:05:48 ---> Running in 40ee9c41ddd1 21:05:49 Removing intermediate container 40ee9c41ddd1 21:05:49 ---> d6976e6c12a1 21:05:49 Step 30/36 : EXPOSE 59983 21:05:49 ---> Running in ea257e465075 21:05:49 Removing intermediate container ea257e465075 21:05:49 ---> af76585757fc 21:05:49 Step 31/36 : EXPOSE 8554 21:05:49 ---> Running in d2047230666b 21:05:49 Removing intermediate container d2047230666b 21:05:49 ---> 00f892548b92 21:05:49 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:05:49 ---> Running in 90aa7148d025 21:05:49 Removing intermediate container 90aa7148d025 21:05:49 ---> 6f96aefc5640 21:05:49 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 21:05:49 ---> Running in 0b07dab94e70 21:05:49 Removing intermediate container 0b07dab94e70 21:05:49 ---> 6c7e724c8303 21:05:49 Step 34/36 : LABEL arch=amd64 21:05:49 ---> Running in 0e0057be7e40 21:05:49 Removing intermediate container 0e0057be7e40 21:05:49 ---> 3aa53d2935f0 21:05:49 Step 35/36 : LABEL git_sha=2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:05:49 ---> Running in 2705901c1ade 21:05:49 Removing intermediate container 2705901c1ade 21:05:49 ---> 3b638901819e 21:05:49 Step 36/36 : LABEL version=2.3.0-dev.12 21:05:49 ---> Running in 2c46bac12ef4 21:05:49 Removing intermediate container 2c46bac12ef4 21:05:49 ---> 67f9718c207f 21:05:49 [Warning] One or more build-args [ARCH] were not consumed 21:05:49 Successfully built 67f9718c207f 21:05:49 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:05:49 provisioning config files... 21:05:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7449860995350518231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:50 ---> docker-login.sh 21:05:50 nexus3.edgexfoundry.org:10001 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 nexus3.edgexfoundry.org:10002 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 nexus3.edgexfoundry.org:10003 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 nexus3.edgexfoundry.org:10004 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 docker.io 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:51 Configure a credential helper to remove this warning. See 21:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:51 21:05:51 Login Succeeded 21:05:51 ---> docker-login.sh ends [Pipeline] } 21:05:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:51 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 21:05:51 2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:05:51 latest 21:05:51 2.3.0-dev.12 21:05:51 2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:05:51 main 21:05:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:05:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:05:51 e41f7939895a: Preparing 21:05:51 2fbc2de4f387: Preparing 21:05:51 22f8b095124b: Preparing 21:05:51 550e596c6d0e: Preparing 21:05:51 1207169bf42c: Preparing 21:05:51 7957ed3a892a: Preparing 21:05:51 dd96a5707d0a: Preparing 21:05:51 72fc6d4460f1: Preparing 21:05:51 faeca36a9f4b: Preparing 21:05:51 57237dfac982: Preparing 21:05:51 1188b1e8813a: Preparing 21:05:51 994393dc58e7: Preparing 21:05:51 57237dfac982: Waiting 21:05:51 dd96a5707d0a: Waiting 21:05:51 1188b1e8813a: Waiting 21:05:51 994393dc58e7: Waiting 21:05:51 72fc6d4460f1: Waiting 21:05:51 7957ed3a892a: Waiting 21:05:51 1207169bf42c: Pushed 21:05:51 2fbc2de4f387: Pushed 21:05:51 22f8b095124b: Pushed 21:05:51 e41f7939895a: Pushed 21:05:51 7957ed3a892a: Pushed 21:05:51 dd96a5707d0a: Pushed 21:05:51 72fc6d4460f1: Pushed 21:05:51 faeca36a9f4b: Pushed 21:05:51 994393dc58e7: Layer already exists 21:05:53 550e596c6d0e: Pushed 21:05:54 57237dfac982: Pushed 21:06:00 1188b1e8813a: Pushed 21:06:00 2f8c06fbfb8b0782f288c35171c6afc148f652fe: digest: sha256:db22fc2db236be85eec23e214370760d12c601d6274dfae4a5b53e249846a431 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:01 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:01 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:06:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:06:01 e41f7939895a: Preparing 21:06:01 2fbc2de4f387: Preparing 21:06:01 22f8b095124b: Preparing 21:06:01 550e596c6d0e: Preparing 21:06:01 1207169bf42c: Preparing 21:06:01 7957ed3a892a: Preparing 21:06:01 dd96a5707d0a: Preparing 21:06:01 72fc6d4460f1: Preparing 21:06:01 faeca36a9f4b: Preparing 21:06:01 57237dfac982: Preparing 21:06:01 1188b1e8813a: Preparing 21:06:01 994393dc58e7: Preparing 21:06:01 72fc6d4460f1: Waiting 21:06:01 faeca36a9f4b: Waiting 21:06:01 57237dfac982: Waiting 21:06:01 1188b1e8813a: Waiting 21:06:01 994393dc58e7: Waiting 21:06:01 dd96a5707d0a: Waiting 21:06:01 7957ed3a892a: Waiting 21:06:01 1207169bf42c: Layer already exists 21:06:01 550e596c6d0e: Layer already exists 21:06:01 e41f7939895a: Layer already exists 21:06:01 22f8b095124b: Layer already exists 21:06:01 2fbc2de4f387: Layer already exists 21:06:01 7957ed3a892a: Layer already exists 21:06:01 dd96a5707d0a: Layer already exists 21:06:01 72fc6d4460f1: Layer already exists 21:06:01 faeca36a9f4b: Layer already exists 21:06:01 57237dfac982: Layer already exists 21:06:01 1188b1e8813a: Layer already exists 21:06:01 994393dc58e7: Layer already exists 21:06:01 latest: digest: sha256:db22fc2db236be85eec23e214370760d12c601d6274dfae4a5b53e249846a431 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:01 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:02 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.12 21:06:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:06:02 e41f7939895a: Preparing 21:06:02 2fbc2de4f387: Preparing 21:06:02 22f8b095124b: Preparing 21:06:02 550e596c6d0e: Preparing 21:06:02 1207169bf42c: Preparing 21:06:02 7957ed3a892a: Preparing 21:06:02 dd96a5707d0a: Preparing 21:06:02 72fc6d4460f1: Preparing 21:06:02 faeca36a9f4b: Preparing 21:06:02 57237dfac982: Preparing 21:06:02 1188b1e8813a: Preparing 21:06:02 994393dc58e7: Preparing 21:06:02 57237dfac982: Waiting 21:06:02 1188b1e8813a: Waiting 21:06:02 994393dc58e7: Waiting 21:06:02 faeca36a9f4b: Waiting 21:06:02 72fc6d4460f1: Waiting 21:06:02 7957ed3a892a: Waiting 21:06:02 dd96a5707d0a: Waiting 21:06:02 550e596c6d0e: Layer already exists 21:06:02 1207169bf42c: Layer already exists 21:06:02 2fbc2de4f387: Layer already exists 21:06:02 e41f7939895a: Layer already exists 21:06:02 22f8b095124b: Layer already exists 21:06:02 dd96a5707d0a: Layer already exists 21:06:02 7957ed3a892a: Layer already exists 21:06:02 72fc6d4460f1: Layer already exists 21:06:02 57237dfac982: Layer already exists 21:06:02 faeca36a9f4b: Layer already exists 21:06:02 994393dc58e7: Layer already exists 21:06:02 1188b1e8813a: Layer already exists 21:06:02 2.3.0-dev.12: digest: sha256:db22fc2db236be85eec23e214370760d12c601d6274dfae4a5b53e249846a431 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:02 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:02 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:06:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:06:02 e41f7939895a: Preparing 21:06:02 2fbc2de4f387: Preparing 21:06:02 22f8b095124b: Preparing 21:06:02 550e596c6d0e: Preparing 21:06:02 1207169bf42c: Preparing 21:06:02 7957ed3a892a: Preparing 21:06:02 dd96a5707d0a: Preparing 21:06:02 72fc6d4460f1: Preparing 21:06:02 7957ed3a892a: Waiting 21:06:02 dd96a5707d0a: Waiting 21:06:02 faeca36a9f4b: Preparing 21:06:02 57237dfac982: Preparing 21:06:02 72fc6d4460f1: Waiting 21:06:02 1188b1e8813a: Preparing 21:06:02 994393dc58e7: Preparing 21:06:02 faeca36a9f4b: Waiting 21:06:02 57237dfac982: Waiting 21:06:02 994393dc58e7: Waiting 21:06:02 1188b1e8813a: Waiting 21:06:02 e41f7939895a: Layer already exists 21:06:02 2fbc2de4f387: Layer already exists 21:06:02 22f8b095124b: Layer already exists 21:06:02 550e596c6d0e: Layer already exists 21:06:02 1207169bf42c: Layer already exists 21:06:02 7957ed3a892a: Layer already exists 21:06:02 72fc6d4460f1: Layer already exists 21:06:02 faeca36a9f4b: Layer already exists 21:06:02 dd96a5707d0a: Layer already exists 21:06:02 57237dfac982: Layer already exists 21:06:02 1188b1e8813a: Layer already exists 21:06:02 994393dc58e7: Layer already exists 21:06:02 2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12: digest: sha256:db22fc2db236be85eec23e214370760d12c601d6274dfae4a5b53e249846a431 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:03 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:03 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 21:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 21:06:03 e41f7939895a: Preparing 21:06:03 2fbc2de4f387: Preparing 21:06:03 22f8b095124b: Preparing 21:06:03 550e596c6d0e: Preparing 21:06:03 1207169bf42c: Preparing 21:06:03 7957ed3a892a: Preparing 21:06:03 dd96a5707d0a: Preparing 21:06:03 72fc6d4460f1: Preparing 21:06:03 faeca36a9f4b: Preparing 21:06:03 57237dfac982: Preparing 21:06:03 1188b1e8813a: Preparing 21:06:03 994393dc58e7: Preparing 21:06:03 7957ed3a892a: Waiting 21:06:03 dd96a5707d0a: Waiting 21:06:03 1188b1e8813a: Waiting 21:06:03 994393dc58e7: Waiting 21:06:03 faeca36a9f4b: Waiting 21:06:03 72fc6d4460f1: Waiting 21:06:03 57237dfac982: Waiting 21:06:03 550e596c6d0e: Layer already exists 21:06:03 e41f7939895a: Layer already exists 21:06:03 1207169bf42c: Layer already exists 21:06:03 2fbc2de4f387: Layer already exists 21:06:03 22f8b095124b: Layer already exists 21:06:03 7957ed3a892a: Layer already exists 21:06:03 dd96a5707d0a: Layer already exists 21:06:03 57237dfac982: Layer already exists 21:06:03 faeca36a9f4b: Layer already exists 21:06:03 72fc6d4460f1: Layer already exists 21:06:03 1188b1e8813a: Layer already exists 21:06:03 994393dc58e7: Layer already exists 21:06:03 main: digest: sha256:db22fc2db236be85eec23e214370760d12c601d6274dfae4a5b53e249846a431 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:06:03 ===================================================== [Pipeline] echo 21:06:03 taggedImages: 21:06:03 - nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:06:03 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 21:06:03 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.12 21:06:03 - nexus3.edgexfoundry.org:10004/device-usb-camera:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:06:03 - 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:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:03 21:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:04 latest: Pulling from edgex-lftools-log-publisher 21:06:04 5eb5b503b376: Pulling fs layer 21:06:04 5c69ac0246d0: Pulling fs layer 21:06:04 ec43610c2a17: Pulling fs layer 21:06:04 3a2ae6a8a46f: Pulling fs layer 21:06:04 33b1e0a273af: Pulling fs layer 21:06:04 5d3b04190fa2: Pulling fs layer 21:06:04 2f39f015ded8: Pulling fs layer 21:06:04 3a2ae6a8a46f: Waiting 21:06:04 33b1e0a273af: Waiting 21:06:04 5d3b04190fa2: Waiting 21:06:04 2f39f015ded8: Waiting 21:06:04 5c69ac0246d0: Verifying Checksum 21:06:04 5c69ac0246d0: Download complete 21:06:04 3a2ae6a8a46f: Verifying Checksum 21:06:04 3a2ae6a8a46f: Download complete 21:06:04 33b1e0a273af: Verifying Checksum 21:06:04 33b1e0a273af: Download complete 21:06:04 5d3b04190fa2: Verifying Checksum 21:06:04 5d3b04190fa2: Download complete 21:06:04 ec43610c2a17: Verifying Checksum 21:06:04 ec43610c2a17: Download complete 21:06:04 5eb5b503b376: Verifying Checksum 21:06:04 5eb5b503b376: Download complete 21:06:05 2f39f015ded8: Download complete 21:06:05 5eb5b503b376: Pull complete 21:06:05 5c69ac0246d0: Pull complete 21:06:06 ec43610c2a17: Pull complete 21:06:06 3a2ae6a8a46f: Pull complete 21:06:06 33b1e0a273af: Pull complete 21:06:06 5d3b04190fa2: Pull complete 21:06:10 2f39f015ded8: Pull complete 21:06:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:10 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:06:10 $ 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:06:13 $ docker top dacaefb5d8bdea61ada257dc04d1c59d230c90f10de1688b68356ff204c1efa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:13 ---> job-cost.sh 21:06:13 lf-activate-venv: SKIPPING 21:06:13 INFO: No Stack... 21:06:14 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:14 INFO: Archiving Costs [Pipeline] sh 21:06:14 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 21:06:14 + cut -d, -f6 [Pipeline] lock 21:06:14 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] 21:06:14 Resource [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] did not exist. Created. 21:06:14 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:15 + echo total: 0.2199999988079071 [Pipeline] stash 21:06:15 Stashed 1 file(s) [Pipeline] } 21:06:15 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:15 $ docker stop --time=1 dacaefb5d8bdea61ada257dc04d1c59d230c90f10de1688b68356ff204c1efa8 21:06:16 $ docker rm -f dacaefb5d8bdea61ada257dc04d1c59d230c90f10de1688b68356ff204c1efa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:06:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1866 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 21:06:27 Running in /w/workspace/device-usb-camera/51 [Pipeline] { [Pipeline] checkout 21:06:27 Selected Git installation does not exist. Using Default 21:06:27 The recommended git tool is: NONE 21:06:32 using credential edgex-jenkins-ssh 21:06:32 Cloning the remote Git repository 21:06:33 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:06:33 > git init /w/workspace/device-usb-camera/51 # timeout=10 21:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:06:33 > git --version # timeout=10 21:06:33 > git --version # 'git version 2.25.1' 21:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:33 Verifying host key using known hosts file 21:06:33 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:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:06:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:35 Avoid second fetch 21:06:35 Checking out Revision 2f8c06fbfb8b0782f288c35171c6afc148f652fe (main) 21:06:35 Commit message: "Merge pull request #90 from lenny-intel/nats" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:35 > git config core.sparsecheckout # timeout=10 21:06:35 > git checkout -f 2f8c06fbfb8b0782f288c35171c6afc148f652fe # timeout=10 21:06:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:36 Dload Upload Total Spent Left Speed 21:06:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 241k [Pipeline] sh 21:06:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:37 + sudo tee /etc/docker/daemon.new 21:06:37 { 21:06:37 "registry-mirrors": [ 21:06:37 "https://nexus3.edgexfoundry.org:10001" 21:06:37 ], 21:06:37 "bip": "10.250.0.254/24", 21:06:37 "hosts": [ 21:06:37 "tcp://0.0.0.0:5555", 21:06:37 "unix:///var/run/docker.sock" 21:06:37 ], 21:06:37 "mtu": 1458, 21:06:37 "selinux-enabled": true, 21:06:37 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:37 } [Pipeline] sh 21:06:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:56 provisioning config files... 21:06:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/51@tmp/config12690044883337975892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:56 ---> docker-login.sh 21:06:56 nexus3.edgexfoundry.org:10001 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:57 Configure a credential helper to remove this warning. See 21:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:57 21:06:57 Login Succeeded 21:06:57 nexus3.edgexfoundry.org:10002 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:57 Configure a credential helper to remove this warning. See 21:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:57 21:06:57 Login Succeeded 21:06:57 nexus3.edgexfoundry.org:10003 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 nexus3.edgexfoundry.org:10004 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 docker.io 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 ---> docker-login.sh ends [Pipeline] } 21:06:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:59 ========================================================= 21:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:59 + 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:06:59 Sending build context to Docker daemon 949.8kB 21:06:59 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:06:59 Step 2/14 : FROM ${BASE} AS builder 21:06:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:59 b3c136eddcbf: Pulling fs layer 21:06:59 c0a3192eca97: Pulling fs layer 21:06:59 a050256f5b6f: Pulling fs layer 21:06:59 656be50a0ddc: Pulling fs layer 21:06:59 2bbca73fdf42: Pulling fs layer 21:06:59 46d945488cbd: Pulling fs layer 21:06:59 8a5474983e97: Pulling fs layer 21:06:59 329c88fbcd65: Pulling fs layer 21:06:59 2bbca73fdf42: Waiting 21:06:59 46d945488cbd: Waiting 21:06:59 8a5474983e97: Waiting 21:06:59 329c88fbcd65: Waiting 21:06:59 656be50a0ddc: Waiting 21:06:59 a050256f5b6f: Verifying Checksum 21:06:59 a050256f5b6f: Download complete 21:06:59 c0a3192eca97: Download complete 21:06:59 2bbca73fdf42: Verifying Checksum 21:06:59 2bbca73fdf42: Download complete 21:06:59 46d945488cbd: Verifying Checksum 21:06:59 46d945488cbd: Download complete 21:06:59 b3c136eddcbf: Verifying Checksum 21:06:59 b3c136eddcbf: Download complete 21:07:01 329c88fbcd65: Verifying Checksum 21:07:01 329c88fbcd65: Download complete 21:07:01 b3c136eddcbf: Pull complete 21:07:01 c0a3192eca97: Pull complete 21:07:01 a050256f5b6f: Pull complete 21:07:02 8a5474983e97: Download complete 21:07:02 656be50a0ddc: Verifying Checksum 21:07:02 656be50a0ddc: Download complete 21:07:15 656be50a0ddc: Pull complete 21:07:15 2bbca73fdf42: Pull complete 21:07:15 46d945488cbd: Pull complete 21:07:19 8a5474983e97: Pull complete 21:07:21 329c88fbcd65: Pull complete 21:07:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:07:21 ---> ff4287adb874 21:07:21 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:07:23 ---> Running in d931e1b59786 21:07:23 Removing intermediate container d931e1b59786 21:07:23 ---> ae9b9d903827 21:07:23 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:23 ---> Running in 6ea84646e8f4 21:07:23 Removing intermediate container 6ea84646e8f4 21:07:23 ---> 7ecb34af9d79 21:07:23 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:07:24 ---> Running in e36a061a4de7 21:07:24 Removing intermediate container e36a061a4de7 21:07:24 ---> 9e5d1265668f 21:07:24 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:07:24 ---> Running in e312c0b54810 21:07:24 Removing intermediate container e312c0b54810 21:07:24 ---> 7506937f6116 21:07:24 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:07:24 ---> Running in c23393fd5dec 21:07:26 Removing intermediate container c23393fd5dec 21:07:26 ---> 85b72a29ffa2 21:07:26 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:26 ---> Running in a6d1cd12fc42 21:07:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:07:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:07:29 (1/14) Installing libintl (0.21-r2) 21:07:29 (2/14) Installing eudev-libs (3.2.11-r0) 21:07:29 (3/14) Installing libjpeg-turbo (2.1.3-r1) 21:07:29 (4/14) Installing v4l-utils-libs (1.22.1-r1) 21:07:29 (5/14) Installing v4l-utils (1.22.1-r1) 21:07:29 (6/14) Installing udev-init-scripts (35-r0) 21:07:29 Executing udev-init-scripts-35-r0.post-install 21:07:29 (7/14) Installing libblkid (2.38-r1) 21:07:29 (8/14) Installing xz-libs (5.2.5-r1) 21:07:30 (9/14) Installing zstd-libs (1.5.2-r1) 21:07:30 (10/14) Installing kmod-libs (29-r2) 21:07:30 (11/14) Installing eudev (3.2.11-r0) 21:07:30 (12/14) Installing eudev-dev (3.2.11-r0) 21:07:30 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 21:07:30 (14/14) Installing v4l-utils-dev (1.22.1-r1) 21:07:30 Executing busybox-1.35.0-r13.trigger 21:07:30 Executing eudev-3.2.11-r0.trigger 21:07:30 OK: 228 MiB in 65 packages 21:07:32 Removing intermediate container a6d1cd12fc42 21:07:32 ---> e400a08150ad 21:07:32 Step 9/14 : WORKDIR /device-usb-camera 21:07:32 ---> Running in bc7e270b6c5f 21:07:32 Removing intermediate container bc7e270b6c5f 21:07:32 ---> 79ea447a8e2c 21:07:32 Step 10/14 : COPY go.mod vendor* ./ 21:07:32 ---> 66da3ad19eb4 21:07:32 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:33 ---> Running in 541c1fb825b9 21:08:20 Removing intermediate container 541c1fb825b9 21:08:20 ---> 2f7eb87df7a2 21:08:20 Step 12/14 : COPY . . 21:08:20 ---> 2a588da31415 21:08:20 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:08:20 ---> Running in 74972d0cca62 21:08:21  % Total % Received % Xferd Average Speed Time Time Time Current 21:08:21   Dload Upload Total Spent Left Speed 21:08:21  0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 14294 0 --:--:-- --:--:-- --:--:-- 14547 21:08:22 Removing intermediate container 74972d0cca62 21:08:22 ---> d3d3ddc798d7 21:08:22 Step 14/14 : RUN ${MAKE} 21:08:22 ---> Running in beffc265ca62 21:08:23 noop 21:08:24 Removing intermediate container beffc265ca62 21:08:24 ---> 31f9c6407af4 21:08:24 Successfully built 31f9c6407af4 21:08:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:24 + docker inspect -f . ci-base-image-arm64 21:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:24 prd-ubuntu20.04-docker-arm64-4c-16g-1866 does not seem to be running inside a container 21:08:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/51 -v /w/workspace/device-usb-camera/51:/w/workspace/device-usb-camera/51:rw,z -v /w/workspace/device-usb-camera/51@tmp:/w/workspace/device-usb-camera/51@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:08:26 $ docker top 06fafbb3b37b5bc08d37fad2fbd0dba08a59b45093b5bebc21e1bc09aac3fe74 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:27 + go version 21:08:27 go version go1.18.3 linux/arm64 [Pipeline] } 21:08:27 $ docker stop --time=1 06fafbb3b37b5bc08d37fad2fbd0dba08a59b45093b5bebc21e1bc09aac3fe74 21:08:28 $ docker rm -f 06fafbb3b37b5bc08d37fad2fbd0dba08a59b45093b5bebc21e1bc09aac3fe74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:29 + docker inspect -f . ci-base-image-arm64 21:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:29 prd-ubuntu20.04-docker-arm64-4c-16g-1866 does not seem to be running inside a container 21:08:29 $ 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/51 -v /w/workspace/device-usb-camera/51:/w/workspace/device-usb-camera/51:rw,z -v /w/workspace/device-usb-camera/51@tmp:/w/workspace/device-usb-camera/51@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:08:30 $ docker top c286af4a48c911d178d7059051d5273098560f880f79322e5121ea29cd6d2aeb -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:31 + git config --global --add safe.directory /w/workspace/device-usb-camera/51 [Pipeline] fileExists [Pipeline] sh 21:08:32 + make test 21:08:32 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 21:08:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:10:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:10:10 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.068s coverage: 1.9% of statements 21:10:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:10:10 CGO_ENABLED=1 go vet ./... 21:10:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:32 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:32 $ docker stop --time=1 c286af4a48c911d178d7059051d5273098560f880f79322e5121ea29cd6d2aeb 21:10:34 $ docker rm -f c286af4a48c911d178d7059051d5273098560f880f79322e5121ea29cd6d2aeb [Pipeline] // withDockerContainer [Pipeline] sh 21:10:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:35 Warning: overwriting stash ‘coverage-report’ 21:10:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:36 + ls -al . 21:10:36 total 192 21:10:36 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 21:08 . 21:10:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:06 .. 21:10:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 21:06 .git 21:10:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:06 .github 21:10:36 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 21:06 .gitignore 21:10:36 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 21:06 .golangci.yml 21:10:36 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 21:06 .hadolint.yml 21:10:36 -rw-rw-r-- 1 jenkins jenkins 9702 Sep 28 21:06 Attribution.txt 21:10:36 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 21:06 CHANGELOG.md 21:10:36 -rw-rw-r-- 1 jenkins jenkins 2467 Sep 28 21:06 Dockerfile 21:10:36 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 21:06 GOVERNANCE.md 21:10:36 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 21:06 Jenkinsfile 21:10:36 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 21:06 LICENSE 21:10:36 -rw-rw-r-- 1 jenkins jenkins 2554 Sep 28 21:06 Makefile 21:10:36 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 21:06 OWNERS.md 21:10:36 -rw-rw-r-- 1 jenkins jenkins 5773 Sep 28 21:06 README.md 21:10:36 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 21:03 VERSION 21:10:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 21:06 bin 21:10:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:06 cmd 21:10:36 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 21:10 coverage.out 21:10:36 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 21:06 docker-entrypoint.sh 21:10:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:06 docs 21:10:36 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 21:06 go.mod 21:10:36 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 21:06 go.sum 21:10:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:06 internal 21:10:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:06 snap 21:10:36 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:37 + 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=2f8c06fbfb8b0782f288c35171c6afc148f652fe --label arch=arm64 --label version=2.3.0-dev.12 . 21:10:37 Sending build context to Docker daemon 980kB 21:10:37 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 21:10:37 Step 2/36 : FROM ${BASE} AS builder 21:10:37 ---> 31f9c6407af4 21:10:37 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:10:37 ---> Running in 02b07b3acf63 21:10:37 Removing intermediate container 02b07b3acf63 21:10:37 ---> 53ee502e0893 21:10:37 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:37 ---> Running in 60302625cd6b 21:10:38 Removing intermediate container 60302625cd6b 21:10:38 ---> a3b04ffef32f 21:10:38 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 21:10:38 ---> Running in 29f62313f1e9 21:10:38 Removing intermediate container 29f62313f1e9 21:10:38 ---> 1f486a6cfa21 21:10:38 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:10:38 ---> Running in 6d60d196a67c 21:10:38 Removing intermediate container 6d60d196a67c 21:10:38 ---> 6234245c0be4 21:10:38 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:38 ---> Running in f86f0c99e62a 21:10:40 Removing intermediate container f86f0c99e62a 21:10:40 ---> 1d7ad9ced7a3 21:10:40 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:40 ---> Running in 1cbad76cf74b 21:10:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:10:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:10:43 OK: 228 MiB in 65 packages 21:10:44 Removing intermediate container 1cbad76cf74b 21:10:44 ---> ce37da7887aa 21:10:44 Step 9/36 : WORKDIR /device-usb-camera 21:10:44 ---> Running in 081d445ced45 21:10:44 Removing intermediate container 081d445ced45 21:10:44 ---> 38f874d23b7f 21:10:44 Step 10/36 : COPY go.mod vendor* ./ 21:10:45 ---> 4c1989f6c56b 21:10:45 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:45 ---> Running in 90f82e82a21b 21:10:47 Removing intermediate container 90f82e82a21b 21:10:47 ---> 9c4b0e09169d 21:10:47 Step 12/36 : COPY . . 21:10:48 ---> a774f12941f1 21:10:48 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:10:48 ---> Running in daf8e3ece3d7 21:10:49  % Total % Received % Xferd Average Speed Time Time Time Current 21:10:49 Dload Upload Total Spent Left Speed 21:10:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100 1062 0 0 8028 0 --:--:-- --:--:-- --:--:-- 8106 21:10:51 Removing intermediate container daf8e3ece3d7 21:10:51 ---> 0375a707563f 21:10:51 Step 14/36 : RUN ${MAKE} 21:10:51 ---> Running in 7a234d02fce7 21:10:52 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 21:13:44 Removing intermediate container 7a234d02fce7 21:13:44 ---> 33bfb83969bf 21:13:44 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 21:13:44 v0.18.4: Pulling from aler9/rtsp-simple-server 21:13:44 eab2503cf8f4: Pulling fs layer 21:13:44 97cd0a44c592: Pulling fs layer 21:13:44 97cd0a44c592: Download complete 21:13:44 eab2503cf8f4: Verifying Checksum 21:13:44 eab2503cf8f4: Download complete 21:13:44 eab2503cf8f4: Pull complete 21:13:44 97cd0a44c592: Pull complete 21:13:44 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 21:13:44 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 21:13:44 ---> 7f763cca56b3 21:13:44 Step 16/36 : FROM alpine:3.16 21:13:44 3.16: Pulling from library/alpine 21:13:44 9b18e9b68314: Pulling fs layer 21:13:44 9b18e9b68314: Verifying Checksum 21:13:44 9b18e9b68314: Download complete 21:13:44 9b18e9b68314: Pull complete 21:13:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:13:44 Status: Downloaded newer image for alpine:3.16 21:13:44 ---> a6215f271958 21:13:44 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:13:44 ---> Running in e609053f401a 21:13:44 Removing intermediate container e609053f401a 21:13:44 ---> 3a7dbad666fd 21:13:44 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 21:13:44 ---> Running in 5ddb2afcba98 21:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:13:44 (1/82) Installing dumb-init (1.2.5-r1) 21:13:44 (2/82) Installing sdl2 (2.0.22-r0) 21:13:44 (3/82) Installing libxau (1.0.9-r0) 21:13:44 (4/82) Installing libxdmcp (1.1.3-r0) 21:13:44 (5/82) Installing libxcb (1.15-r0) 21:13:44 (6/82) Installing libx11 (1.8-r0) 21:13:44 (7/82) Installing aom-libs (3.3.0-r0) 21:13:44 (8/82) Installing alsa-lib (1.2.7.2-r0) 21:13:44 (9/82) Installing expat (2.4.9-r0) 21:13:44 (10/82) Installing brotli-libs (1.0.9-r6) 21:13:44 (11/82) Installing libbz2 (1.0.8-r1) 21:13:44 (12/82) Installing libpng (1.6.37-r1) 21:13:44 (13/82) Installing freetype (2.12.1-r0) 21:13:44 (14/82) Installing fontconfig (2.14.0-r0) 21:13:44 (15/82) Installing fribidi (1.0.12-r0) 21:13:44 (16/82) Installing libffi (3.4.2-r1) 21:13:44 (17/82) Installing libintl (0.21-r2) 21:13:44 (18/82) Installing libblkid (2.38-r1) 21:13:44 (19/82) Installing libmount (2.38-r1) 21:13:44 (20/82) Installing pcre (8.45-r2) 21:13:44 (21/82) Installing glib (2.72.1-r0) 21:13:44 (22/82) Installing graphite2 (1.3.14-r1) 21:13:44 (23/82) Installing harfbuzz (4.3.0-r0) 21:13:44 (24/82) Installing libass (0.16.0-r0) 21:13:44 (25/82) Installing libdav1d (1.0.0-r0) 21:13:44 (26/82) Installing libdrm (2.4.110-r0) 21:13:44 (27/82) Installing gmp (6.2.1-r2) 21:13:44 (28/82) Installing nettle (3.7.3-r0) 21:13:44 (29/82) Installing p11-kit (0.24.1-r0) 21:13:44 (30/82) Installing libtasn1 (4.18.0-r0) 21:13:44 (31/82) Installing libunistring (1.0-r0) 21:13:44 (32/82) Installing gnutls (3.7.7-r0) 21:13:44 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 21:13:44 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 21:13:44 (35/82) Installing lame (3.100-r0) 21:13:44 (36/82) Installing opus (1.3.1-r1) 21:13:44 (37/82) Installing libasyncns (0.8-r1) 21:13:44 (38/82) Installing dbus-libs (1.14.0-r1) 21:13:44 (39/82) Installing libltdl (2.4.7-r0) 21:13:44 (40/82) Installing orc (0.4.32-r0) 21:13:44 (41/82) Installing libgcc (11.2.1_git20220219-r2) 21:13:44 (42/82) Installing libogg (1.3.5-r1) 21:13:44 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 21:13:44 (44/82) Installing flac (1.3.4-r0) 21:13:44 (45/82) Installing libvorbis (1.3.7-r0) 21:13:44 (46/82) Installing libsndfile (1.1.0-r0) 21:13:44 (47/82) Installing libgomp (11.2.1_git20220219-r2) 21:13:44 (48/82) Installing soxr (0.1.3-r2) 21:13:44 (49/82) Installing speexdsp (1.2.0-r0) 21:13:44 (50/82) Installing tdb-libs (1.4.6-r0) 21:13:44 (51/82) Installing libpulse (15.0-r2) 21:13:44 (52/82) Installing cjson (1.7.15-r3) 21:13:44 (53/82) Installing mbedtls (2.28.1-r0) 21:13:44 (54/82) Installing librist (0.2.6-r1) 21:13:44 (55/82) Installing libsrt (1.4.4-r0) 21:13:44 (56/82) Installing libssh (0.9.6-r1) 21:13:44 (57/82) Installing libtheora (1.1.1-r16) 21:13:44 (58/82) Installing libjpeg-turbo (2.1.3-r1) 21:13:44 (59/82) Installing v4l-utils-libs (1.22.1-r1) 21:13:44 (60/82) Installing libxext (1.3.4-r0) 21:13:44 (61/82) Installing libxfixes (6.0.0-r0) 21:13:44 (62/82) Installing wayland-libs-client (1.20.0-r0) 21:13:44 (63/82) Installing libva (2.14.0-r0) 21:13:44 (64/82) Installing libvdpau (1.5-r0) 21:13:44 (65/82) Installing vidstab (1.1.0-r1) 21:13:44 (66/82) Installing libvpx (1.11.0-r1) 21:13:44 (67/82) Installing libwebp (1.2.3-r0) 21:13:44 (68/82) Installing x264-libs (0.163_git20210613-r0) 21:13:44 (69/82) Installing numactl (2.0.14-r0) 21:13:44 (70/82) Installing x265-libs (3.5-r3) 21:13:44 (71/82) Installing xvidcore (1.3.7-r1) 21:13:44 (72/82) Installing ffmpeg-libs (5.0.1-r1) 21:13:44 (73/82) Installing ffmpeg (5.0.1-r1) 21:13:44 (74/82) Installing udev-init-scripts (35-r0) 21:13:44 Executing udev-init-scripts-35-r0.post-install 21:13:44 (75/82) Installing eudev-libs (3.2.11-r0) 21:13:44 (76/82) Installing xz-libs (5.2.5-r1) 21:13:44 (77/82) Installing zstd-libs (1.5.2-r1) 21:13:44 (78/82) Installing kmod-libs (29-r2) 21:13:44 (79/82) Installing eudev (3.2.11-r0) 21:13:44 (80/82) Installing libsodium (1.0.18-r0) 21:13:44 (81/82) Installing libzmq (4.3.4-r0) 21:13:44 (82/82) Installing zeromq (4.3.4-r0) 21:13:44 Executing busybox-1.35.0-r17.trigger 21:13:44 Executing eudev-3.2.11-r0.trigger 21:13:44 OK: 78 MiB in 96 packages 21:13:44 Removing intermediate container 5ddb2afcba98 21:13:44 ---> c43ec2fa5ec2 21:13:44 Step 19/36 : WORKDIR / 21:13:44 ---> Running in 37930ef94265 21:13:44 Removing intermediate container 37930ef94265 21:13:44 ---> 78071cc03245 21:13:44 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 21:13:44 ---> 53ac7f27461a 21:13:44 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:13:44 ---> da40fa97534d 21:13:44 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:13:45 ---> c8bfb87f7d5b 21:13:45 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:13:45 ---> f068309894f5 21:13:45 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:13:45 ---> 337e91d12e92 21:13:45 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:13:46 ---> 3b277c12bae8 21:13:46 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 21:13:47 ---> dd8a1ab57b79 21:13:47 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:13:47 ---> Running in de71d372dbc6 21:13:49 Removing intermediate container de71d372dbc6 21:13:49 ---> befcea4490b2 21:13:49 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:13:49 ---> Running in bae4d12b381e 21:13:50 Removing intermediate container bae4d12b381e 21:13:50 ---> c565c3406ad3 21:13:50 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:13:50 ---> Running in 18dec40ab245 21:13:52 Removing intermediate container 18dec40ab245 21:13:52 ---> c5778e62ef07 21:13:52 Step 30/36 : EXPOSE 59983 21:13:52 ---> Running in d4baeb4cb8a0 21:13:52 Removing intermediate container d4baeb4cb8a0 21:13:52 ---> 7aba5068342f 21:13:52 Step 31/36 : EXPOSE 8554 21:13:52 ---> Running in cf2e47380a53 21:13:53 Removing intermediate container cf2e47380a53 21:13:53 ---> fe7386f155b2 21:13:53 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:13:53 ---> Running in 2aa627f91899 21:13:53 Removing intermediate container 2aa627f91899 21:13:53 ---> 6911ca490156 21:13:53 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 21:13:53 ---> Running in 70c5fccf53ac 21:13:53 Removing intermediate container 70c5fccf53ac 21:13:53 ---> 384f5c6182bb 21:13:53 Step 34/36 : LABEL arch=arm64 21:13:53 ---> Running in 15dff57983fc 21:13:54 Removing intermediate container 15dff57983fc 21:13:54 ---> c75ee50b8175 21:13:54 Step 35/36 : LABEL git_sha=2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:13:54 ---> Running in 36233ede4dea 21:13:54 Removing intermediate container 36233ede4dea 21:13:54 ---> 98530ffda9a2 21:13:54 Step 36/36 : LABEL version=2.3.0-dev.12 21:13:54 ---> Running in 870ea30e91c5 21:13:54 Removing intermediate container 870ea30e91c5 21:13:54 ---> cd5f5cc5770a 21:13:54 [Warning] One or more build-args [ARCH] were not consumed 21:13:54 Successfully built cd5f5cc5770a 21:13:54 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:13:54 provisioning config files... 21:13:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/51@tmp/config6149085407851247588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:55 ---> docker-login.sh 21:13:55 nexus3.edgexfoundry.org:10001 21:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:55 Configure a credential helper to remove this warning. See 21:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:55 21:13:55 Login Succeeded 21:13:55 nexus3.edgexfoundry.org:10002 21:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:55 Configure a credential helper to remove this warning. See 21:13:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:55 21:13:55 Login Succeeded 21:13:55 nexus3.edgexfoundry.org:10003 21:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:56 Configure a credential helper to remove this warning. See 21:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:56 21:13:56 Login Succeeded 21:13:56 nexus3.edgexfoundry.org:10004 21:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:56 Configure a credential helper to remove this warning. See 21:13:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:56 21:13:56 Login Succeeded 21:13:56 docker.io 21:13:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:57 Configure a credential helper to remove this warning. See 21:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:57 21:13:57 Login Succeeded 21:13:57 ---> docker-login.sh ends [Pipeline] } 21:13:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:13:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:57 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 21:13:57 2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:13:57 latest 21:13:57 2.3.0-dev.12 21:13:57 2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:13:57 main 21:13:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:13:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:13:57 85c6a48ee141: Preparing 21:13:57 0a8913582a92: Preparing 21:13:57 d1cabfba2cde: Preparing 21:13:57 a43932d1df72: Preparing 21:13:57 1207169bf42c: Preparing 21:13:57 e25842270833: Preparing 21:13:57 874a651d377d: Preparing 21:13:57 e2456870f298: Preparing 21:13:57 00a7280a667f: Preparing 21:13:57 55bfe00c473f: Preparing 21:13:57 dcfe1eea14d2: Preparing 21:13:57 5d3e392a13a0: Preparing 21:13:57 e25842270833: Waiting 21:13:57 874a651d377d: Waiting 21:13:57 e2456870f298: Waiting 21:13:57 55bfe00c473f: Waiting 21:13:57 dcfe1eea14d2: Waiting 21:13:57 5d3e392a13a0: Waiting 21:13:57 00a7280a667f: Waiting 21:13:58 d1cabfba2cde: Pushed 21:13:58 0a8913582a92: Pushed 21:13:58 85c6a48ee141: Pushed 21:13:58 1207169bf42c: Pushed 21:13:58 e25842270833: Pushed 21:13:58 874a651d377d: Pushed 21:13:58 e2456870f298: Pushed 21:13:58 00a7280a667f: Pushed 21:13:58 5d3e392a13a0: Layer already exists 21:14:02 a43932d1df72: Pushed 21:14:03 55bfe00c473f: Pushed 21:14:13 dcfe1eea14d2: Pushed 21:14:13 2f8c06fbfb8b0782f288c35171c6afc148f652fe: digest: sha256:5838fba2d74343c6d4ed159e12236c2391657c4cc45f63e65e6751f4874406c4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:14 + 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:14:14 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:14:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:14:14 85c6a48ee141: Preparing 21:14:14 0a8913582a92: Preparing 21:14:14 d1cabfba2cde: Preparing 21:14:14 a43932d1df72: Preparing 21:14:14 1207169bf42c: Preparing 21:14:14 e25842270833: Preparing 21:14:14 874a651d377d: Preparing 21:14:14 e2456870f298: Preparing 21:14:14 00a7280a667f: Preparing 21:14:14 55bfe00c473f: Preparing 21:14:14 dcfe1eea14d2: Preparing 21:14:14 5d3e392a13a0: Preparing 21:14:14 00a7280a667f: Waiting 21:14:14 55bfe00c473f: Waiting 21:14:14 e25842270833: Waiting 21:14:14 874a651d377d: Waiting 21:14:14 e2456870f298: Waiting 21:14:14 dcfe1eea14d2: Waiting 21:14:14 5d3e392a13a0: Waiting 21:14:14 d1cabfba2cde: Layer already exists 21:14:14 0a8913582a92: Layer already exists 21:14:14 1207169bf42c: Layer already exists 21:14:14 85c6a48ee141: Layer already exists 21:14:14 a43932d1df72: Layer already exists 21:14:14 e25842270833: Layer already exists 21:14:14 e2456870f298: Layer already exists 21:14:14 874a651d377d: Layer already exists 21:14:14 55bfe00c473f: Layer already exists 21:14:14 00a7280a667f: Layer already exists 21:14:14 dcfe1eea14d2: Layer already exists 21:14:14 5d3e392a13a0: Layer already exists 21:14:14 latest: digest: sha256:5838fba2d74343c6d4ed159e12236c2391657c4cc45f63e65e6751f4874406c4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.12 21:14:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:14:15 85c6a48ee141: Preparing 21:14:15 0a8913582a92: Preparing 21:14:15 d1cabfba2cde: Preparing 21:14:15 a43932d1df72: Preparing 21:14:15 1207169bf42c: Preparing 21:14:15 e25842270833: Preparing 21:14:15 874a651d377d: Preparing 21:14:15 e2456870f298: Preparing 21:14:15 00a7280a667f: Preparing 21:14:15 874a651d377d: Waiting 21:14:15 55bfe00c473f: Preparing 21:14:15 dcfe1eea14d2: Preparing 21:14:15 5d3e392a13a0: Preparing 21:14:15 e2456870f298: Waiting 21:14:15 00a7280a667f: Waiting 21:14:15 dcfe1eea14d2: Waiting 21:14:15 55bfe00c473f: Waiting 21:14:15 5d3e392a13a0: Waiting 21:14:15 e25842270833: Waiting 21:14:15 a43932d1df72: Layer already exists 21:14:15 0a8913582a92: Layer already exists 21:14:15 1207169bf42c: Layer already exists 21:14:15 d1cabfba2cde: Layer already exists 21:14:15 85c6a48ee141: Layer already exists 21:14:15 e2456870f298: Layer already exists 21:14:15 e25842270833: Layer already exists 21:14:15 55bfe00c473f: Layer already exists 21:14:15 874a651d377d: Layer already exists 21:14:15 00a7280a667f: Layer already exists 21:14:15 5d3e392a13a0: Layer already exists 21:14:15 dcfe1eea14d2: Layer already exists 21:14:15 2.3.0-dev.12: digest: sha256:5838fba2d74343c6d4ed159e12236c2391657c4cc45f63e65e6751f4874406c4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:16 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:14:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:14:16 85c6a48ee141: Preparing 21:14:16 0a8913582a92: Preparing 21:14:16 d1cabfba2cde: Preparing 21:14:16 a43932d1df72: Preparing 21:14:16 1207169bf42c: Preparing 21:14:16 e25842270833: Preparing 21:14:16 874a651d377d: Preparing 21:14:16 e2456870f298: Preparing 21:14:16 00a7280a667f: Preparing 21:14:16 55bfe00c473f: Preparing 21:14:16 dcfe1eea14d2: Preparing 21:14:16 5d3e392a13a0: Preparing 21:14:16 e25842270833: Waiting 21:14:16 874a651d377d: Waiting 21:14:16 00a7280a667f: Waiting 21:14:16 55bfe00c473f: Waiting 21:14:16 dcfe1eea14d2: Waiting 21:14:16 5d3e392a13a0: Waiting 21:14:16 e2456870f298: Waiting 21:14:16 0a8913582a92: Layer already exists 21:14:16 d1cabfba2cde: Layer already exists 21:14:16 1207169bf42c: Layer already exists 21:14:16 85c6a48ee141: Layer already exists 21:14:16 a43932d1df72: Layer already exists 21:14:16 874a651d377d: Layer already exists 21:14:16 e2456870f298: Layer already exists 21:14:16 e25842270833: Layer already exists 21:14:16 55bfe00c473f: Layer already exists 21:14:16 00a7280a667f: Layer already exists 21:14:16 dcfe1eea14d2: Layer already exists 21:14:16 5d3e392a13a0: Layer already exists 21:14:16 2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12: digest: sha256:5838fba2d74343c6d4ed159e12236c2391657c4cc45f63e65e6751f4874406c4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:16 + 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:14:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 21:14:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 21:14:17 85c6a48ee141: Preparing 21:14:17 0a8913582a92: Preparing 21:14:17 d1cabfba2cde: Preparing 21:14:17 a43932d1df72: Preparing 21:14:17 1207169bf42c: Preparing 21:14:17 e25842270833: Preparing 21:14:17 874a651d377d: Preparing 21:14:17 e2456870f298: Preparing 21:14:17 00a7280a667f: Preparing 21:14:17 55bfe00c473f: Preparing 21:14:17 dcfe1eea14d2: Preparing 21:14:17 5d3e392a13a0: Preparing 21:14:17 e2456870f298: Waiting 21:14:17 dcfe1eea14d2: Waiting 21:14:17 00a7280a667f: Waiting 21:14:17 55bfe00c473f: Waiting 21:14:17 e25842270833: Waiting 21:14:17 5d3e392a13a0: Waiting 21:14:17 874a651d377d: Waiting 21:14:17 a43932d1df72: Layer already exists 21:14:17 85c6a48ee141: Layer already exists 21:14:17 0a8913582a92: Layer already exists 21:14:17 1207169bf42c: Layer already exists 21:14:17 d1cabfba2cde: Layer already exists 21:14:17 00a7280a667f: Layer already exists 21:14:17 874a651d377d: Layer already exists 21:14:17 e25842270833: Layer already exists 21:14:17 e2456870f298: Layer already exists 21:14:17 55bfe00c473f: Layer already exists 21:14:17 5d3e392a13a0: Layer already exists 21:14:17 dcfe1eea14d2: Layer already exists 21:14:17 main: digest: sha256:5838fba2d74343c6d4ed159e12236c2391657c4cc45f63e65e6751f4874406c4 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:14:17 ===================================================== [Pipeline] echo 21:14:17 taggedImages: 21:14:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe 21:14:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 21:14:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.12 21:14:17 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2f8c06fbfb8b0782f288c35171c6afc148f652fe-2.3.0-dev.12 21:14:17 - 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:14:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:17 21:14:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:18 arm64: Pulling from edgex-lftools-log-publisher 21:14:18 8998bd30e6a1: Pulling fs layer 21:14:18 04944245beec: Pulling fs layer 21:14:18 699f458cf7ca: Pulling fs layer 21:14:18 765212b225bb: Pulling fs layer 21:14:18 f23df028b6ca: Pulling fs layer 21:14:18 d65c8cfc05b1: Pulling fs layer 21:14:18 2437ff75d9bd: Pulling fs layer 21:14:18 765212b225bb: Waiting 21:14:18 d65c8cfc05b1: Waiting 21:14:18 2437ff75d9bd: Waiting 21:14:18 f23df028b6ca: Waiting 21:14:18 04944245beec: Verifying Checksum 21:14:18 04944245beec: Download complete 21:14:18 765212b225bb: Download complete 21:14:18 f23df028b6ca: Verifying Checksum 21:14:18 f23df028b6ca: Download complete 21:14:18 d65c8cfc05b1: Verifying Checksum 21:14:18 d65c8cfc05b1: Download complete 21:14:18 699f458cf7ca: Verifying Checksum 21:14:18 699f458cf7ca: Download complete 21:14:19 8998bd30e6a1: Verifying Checksum 21:14:19 8998bd30e6a1: Download complete 21:14:21 2437ff75d9bd: Verifying Checksum 21:14:21 2437ff75d9bd: Download complete 21:14:23 8998bd30e6a1: Pull complete 21:14:23 04944245beec: Pull complete 21:14:24 699f458cf7ca: Pull complete 21:14:24 765212b225bb: Pull complete 21:14:25 f23df028b6ca: Pull complete 21:14:25 d65c8cfc05b1: Pull complete 21:14:40 2437ff75d9bd: Pull complete 21:14:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-1866 does not seem to be running inside a container 21:14:40 $ 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/51 -v /w/workspace/device-usb-camera/51:/w/workspace/device-usb-camera/51:rw,z -v /w/workspace/device-usb-camera/51@tmp:/w/workspace/device-usb-camera/51@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:14:43 $ docker top f15911e634ec80f5234d9b666fe263b8fd3a19a9d4e293b6797408d6b9a0042c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:43 ---> job-cost.sh 21:14:43 lf-activate-venv: SKIPPING 21:14:43 INFO: No Stack... 21:14:44 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:45 INFO: Archiving Costs [Pipeline] sh 21:14:45 + cat /w/workspace/device-usb-camera/51/archives/cost.csv 21:14:45 + cut -d, -f6 [Pipeline] lock 21:14:45 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] 21:14:45 Resource [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] did not exist. Created. 21:14:45 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:46 /w/workspace/device-usb-camera/51@tmp/durable-68fe380f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:46 Warning: overwriting stash ‘stack-cost’ 21:14:46 Stashed 1 file(s) [Pipeline] } 21:14:46 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:46 $ docker stop --time=1 f15911e634ec80f5234d9b666fe263b8fd3a19a9d4e293b6797408d6b9a0042c 21:14:48 $ docker rm -f f15911e634ec80f5234d9b666fe263b8fd3a19a9d4e293b6797408d6b9a0042c [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:14:48 provisioning config files... 21:14:48 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11547409124164720957tmp [Pipeline] { [Pipeline] sh 21:14:48 + set +x 21:14:48 + curl -s https://codecov.io/bash 21:14:48 + bash -s -- 21:14:48 21:14:48 _____ _ 21:14:48 / ____| | | 21:14:48 | | ___ __| | ___ ___ _____ __ 21:14:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:48 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:48 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:48 Bash-1.0.6 21:14:48 21:14:48 21:14:48 ==> git version 2.25.1 found 21:14:48 ==> 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:14:48 Release-Date: 2020-01-08 21:14:48 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:14:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:48 ==> Jenkins CI detected. 21:14:48 current dir:  /w/workspace/exfoundry_device-usb-camera_main 21:14:48 project root: . 21:14:48 --> token set from env 21:14:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:48 ==> Running gcov in . (disable via -X gcov) 21:14:48 ==> Python coveragepy not found 21:14:48 ==> Searching for coverage reports in: 21:14:48 + . 21:14:48 -> Found 1 reports 21:14:48 ==> Detecting git/mercurial file structure 21:14:48 ==> Reading reports 21:14:48 + ./coverage.out bytes=29387 21:14:48 ==> Appending adjustments 21:14:48 https://docs.codecov.io/docs/fixing-reports 21:14:48 + Found adjustments 21:14:48 ==> Gzipping contents 21:14:48 8.0K /tmp/codecov.0F19r7.gz 21:14:48 ==> Uploading reports 21:14:48 url: https://codecov.io 21:14:48 query: branch=main&commit=2f8c06fbfb8b0782f288c35171c6afc148f652fe&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:48 -> Pinging Codecov 21:14:48 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=2f8c06fbfb8b0782f288c35171c6afc148f652fe&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:49 -> Uploading to 21:14:49 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/73D8F5FF140700D3E01443B452E23636/2f8c06fbfb8b0782f288c35171c6afc148f652fe/a5d5b173-2d9b-45af-a4b4-7dd1ef1582d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T211449Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b87d5566a5fdce9259e5815a517325a0a2a26377806d98e7ce6d1cd54c9a693 21:14:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:49 Dload Upload Total Spent Left Speed 21:14:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4125 0 0 100 4125 0 19275 --:--:-- --:--:-- --:--:-- 19275 21:14:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] } 21:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:14:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:14:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:49 21:14:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:14:50 df9b9388f04a: Pulling fs layer 21:14:50 52dc419b0ee2: Pulling fs layer 21:14:50 25bc292e5bac: Pulling fs layer 21:14:50 114826534d7a: Pulling fs layer 21:14:50 4657fd5d0bcf: Pulling fs layer 21:14:50 6ad1cebc031e: Pulling fs layer 21:14:50 4657fd5d0bcf: Waiting 21:14:50 114826534d7a: Waiting 21:14:50 8a3aa393b2d8: Pulling fs layer 21:14:50 8a3aa393b2d8: Waiting 21:14:50 6ad1cebc031e: Waiting 21:14:50 25bc292e5bac: Verifying Checksum 21:14:50 25bc292e5bac: Download complete 21:14:50 52dc419b0ee2: Verifying Checksum 21:14:50 52dc419b0ee2: Download complete 21:14:50 4657fd5d0bcf: Verifying Checksum 21:14:50 4657fd5d0bcf: Download complete 21:14:50 df9b9388f04a: Download complete 21:14:50 df9b9388f04a: Pull complete 21:14:50 6ad1cebc031e: Verifying Checksum 21:14:50 6ad1cebc031e: Download complete 21:14:50 52dc419b0ee2: Pull complete 21:14:50 25bc292e5bac: Pull complete 21:14:50 114826534d7a: Verifying Checksum 21:14:50 114826534d7a: Download complete 21:14:50 8a3aa393b2d8: Verifying Checksum 21:14:50 8a3aa393b2d8: Download complete 21:14:54 114826534d7a: Pull complete 21:14:54 4657fd5d0bcf: Pull complete 21:14:54 6ad1cebc031e: Pull complete 21:14:56 8a3aa393b2d8: Pull complete 21:14:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:14:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:56 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:14:56 $ 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:15:02 $ docker top 554264f0763004b529865a1ccf1da4dcc67bb50f4a60633c916b15da7bf57a1e -eo pid,comm [Pipeline] { [Pipeline] echo 21:15:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 21:15:02 + set -o pipefail 21:15:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 21:15:07 21:15:07 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 21:15:07 21:15:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/3340fdc2-487e-4a34-bfdf-4d639223cc3a 21:15:07 21:15:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:15:07 21:15:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:15:07 21:15:08 [Pipeline] } 21:15:08 $ docker stop --time=1 554264f0763004b529865a1ccf1da4dcc67bb50f4a60633c916b15da7bf57a1e 21:15:11 $ docker rm -f 554264f0763004b529865a1ccf1da4dcc67bb50f4a60633c916b15da7bf57a1e [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:15:11 + git log --format=format:%s -1 2f8c06fbfb8b0782f288c35171c6afc148f652fe [Pipeline] sh 21:15:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:12 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:15: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:12 $ docker top 0a2fde6348145982270298594f65415a73ee7478901ebaf6dba2a54e08eee91c -eo pid,comm 21:15:12 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:15:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:12 [ssh-agent] Looking for ssh-agent implementation... 21:15:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:13 $ docker exec 0a2fde6348145982270298594f65415a73ee7478901ebaf6dba2a54e08eee91c ssh-agent 21:15:13 SSH_AUTH_SOCK=/tmp/ssh-4XjavmX4xk3i/agent.33 21:15:13 SSH_AGENT_PID=39 21:15:13 Running ssh-add (command line suppressed) 21:15:13 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4980270379188645612.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4980270379188645612.key) 21:15:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:13 + git semver tag 21:15:13 2022-09-28 21:15:13,715 [run_tag] DEBUG tag force:False 21:15:13 2022-09-28 21:15:13,715 [check_head_tag] DEBUG check head tag 21:15:13 2022-09-28 21:15:13,716 [execute] INFO git cat-file --batch-check 21:15:13 2022-09-28 21:15:13,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:15:13 2022-09-28 21:15:13,719 [execute] INFO git cat-file --batch 21:15:13 2022-09-28 21:15:13,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 21:15:13 2022-09-28 21:15:13,734 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:13 2022-09-28 21:15:13,735 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 21:15:13 2022-09-28 21:15:13,735 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 21:15:13 2022-09-28 21:15:13,739 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:13 2.3.0-dev.12 [Pipeline] } 21:15:13 $ docker exec --env ******** --env ******** 0a2fde6348145982270298594f65415a73ee7478901ebaf6dba2a54e08eee91c ssh-agent -k 21:15:13 unset SSH_AUTH_SOCK; 21:15:13 unset SSH_AGENT_PID; 21:15:13 echo Agent pid 39 killed; 21:15:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:14 + git semver [Pipeline] } 21:15:14 $ docker stop --time=1 0a2fde6348145982270298594f65415a73ee7478901ebaf6dba2a54e08eee91c 21:15:15 $ docker rm -f 0a2fde6348145982270298594f65415a73ee7478901ebaf6dba2a54e08eee91c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:16 21:15:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:16 0.23.1-centos7: Pulling from edgex-lftools 21:15:16 ab5ef0e58194: Pulling fs layer 21:15:16 9712f1f96733: Pulling fs layer 21:15:16 63f879dbbcfc: Pulling fs layer 21:15:16 0d9ebad4ef96: Pulling fs layer 21:15:16 e9a5061849ea: Pulling fs layer 21:15:16 d747dcd14b5f: Pulling fs layer 21:15:16 2de7ff778b66: Pulling fs layer 21:15:16 0d9ebad4ef96: Waiting 21:15:16 e9a5061849ea: Waiting 21:15:16 d747dcd14b5f: Waiting 21:15:16 2de7ff778b66: Waiting 21:15:16 9712f1f96733: Verifying Checksum 21:15:16 9712f1f96733: Download complete 21:15:16 63f879dbbcfc: Verifying Checksum 21:15:16 63f879dbbcfc: Download complete 21:15:16 e9a5061849ea: Verifying Checksum 21:15:16 e9a5061849ea: Download complete 21:15:16 d747dcd14b5f: Download complete 21:15:16 ab5ef0e58194: Verifying Checksum 21:15:16 ab5ef0e58194: Download complete 21:15:16 0d9ebad4ef96: Verifying Checksum 21:15:16 0d9ebad4ef96: Download complete 21:15:16 2de7ff778b66: Verifying Checksum 21:15:16 2de7ff778b66: Download complete 21:15:19 ab5ef0e58194: Pull complete 21:15:19 9712f1f96733: Pull complete 21:15:20 63f879dbbcfc: Pull complete 21:15:23 0d9ebad4ef96: Pull complete 21:15:23 e9a5061849ea: Pull complete 21:15:23 d747dcd14b5f: Pull complete 21:15:24 2de7ff778b66: Pull complete 21:15:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:15:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:25 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:15:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:15:30 $ docker top cfa66baca03b1a3eb9e80a53d985cb2ebacd030d066792355fce8c0afd9bb9c7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:15:30 provisioning config files... 21:15:30 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config568751630667774618tmp 21:15:30 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10120919021451895281tmp 21:15:30 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2279318334218302983tmp [Pipeline] { [Pipeline] echo 21:15:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:15:30 ---> sigul-configuration.sh 21:15:30 gpg: directory `/root/.gnupg' created 21:15:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:15:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:15:30 gpg: keyring `/root/.gnupg/secring.gpg' created 21:15:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:15:30 gpg: CAST5 encrypted data 21:15:30 gpg: encrypted with 1 passphrase 21:15:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:15:31 + mkdir /home/jenkins 21:15:31 + mkdir /home/jenkins/sigul [Pipeline] sh 21:15:31 + 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:15:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:15:31 ---> sigul-install.sh 21:15:31 Sigul already installed; skipping installation. [Pipeline] sh 21:15:32 + git tag --list 21:15:32 v0.0.0 21:15:32 v0.0.1-dev.1 21:15:32 v0.0.1-dev.10 21:15:32 v0.0.1-dev.11 21:15:32 v0.0.1-dev.12 21:15:32 v0.0.1-dev.13 21:15:32 v0.0.1-dev.14 21:15:32 v0.0.1-dev.15 21:15:32 v0.0.1-dev.16 21:15:32 v0.0.1-dev.2 21:15:32 v0.0.1-dev.3 21:15:32 v0.0.1-dev.4 21:15:32 v0.0.1-dev.5 21:15:32 v0.0.1-dev.6 21:15:32 v0.0.1-dev.7 21:15:32 v0.0.1-dev.8 21:15:32 v0.0.1-dev.9 21:15:32 v2.2.0 21:15:32 v2.2.0-dev.17 21:15:32 v2.2.0-dev.18 21:15:32 v2.2.0-dev.19 21:15:32 v2.2.0-dev.20 21:15:32 v2.2.0-dev.21 21:15:32 v2.2.0-dev.22 21:15:32 v2.2.0-dev.23 21:15:32 v2.2.0-dev.24 21:15:32 v2.2.0-dev.25 21:15:32 v2.2.0-dev.26 21:15:32 v2.2.0-dev.27 21:15:32 v2.3.0-dev.1 21:15:32 v2.3.0-dev.10 21:15:32 v2.3.0-dev.11 21:15:32 v2.3.0-dev.12 21:15:32 v2.3.0-dev.2 21:15:32 v2.3.0-dev.3 21:15:32 v2.3.0-dev.4 21:15:32 v2.3.0-dev.5 21:15:32 v2.3.0-dev.6 21:15:32 v2.3.0-dev.7 21:15:32 v2.3.0-dev.8 21:15:32 v2.3.0-dev.9 [Pipeline] sh 21:15:32 + lftools sign git-tag v2.3.0-dev.12 21:15:32 Signing Git tag with Sigul... 21:15:32 Signing v2.3.0-dev.12 [Pipeline] echo 21:15:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:15:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:15:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:15:33 $ docker stop --time=1 cfa66baca03b1a3eb9e80a53d985cb2ebacd030d066792355fce8c0afd9bb9c7 21:15:34 $ docker rm -f cfa66baca03b1a3eb9e80a53d985cb2ebacd030d066792355fce8c0afd9bb9c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:15:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:35 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:15:35 $ 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:15:36 $ docker top 027a920cca877e25e608760e649a69501cdf5452a9da0dabceb415d9aa1bed23 -eo pid,comm 21:15:36 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:15:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:36 [ssh-agent] Looking for ssh-agent implementation... 21:15:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:36 $ docker exec 027a920cca877e25e608760e649a69501cdf5452a9da0dabceb415d9aa1bed23 ssh-agent 21:15:36 SSH_AUTH_SOCK=/tmp/ssh-04J4479HrTJL/agent.32 21:15:36 SSH_AGENT_PID=38 21:15:36 Running ssh-add (command line suppressed) 21:15:36 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14164307244983740048.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_14164307244983740048.key) 21:15:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:36 + git semver bump pre 21:15:36 2022-09-28 21:15:36,939 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:36 2022-09-28 21:15:36,940 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 21:15:36 2022-09-28 21:15:36,940 [bump_version] DEBUG bumped version:2.3.0-dev.13 21:15:36 2022-09-28 21:15:36,940 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 21:15:36 2022-09-28 21:15:36,940 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:36 2022-09-28 21:15:36,940 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:36 2022-09-28 21:15:36,941 [execute] INFO git cat-file --batch-check 21:15:36 2022-09-28 21:15:36,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:36 2022-09-28 21:15:36,948 [execute] INFO git cat-file --batch 21:15:36 2022-09-28 21:15:36,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:36 2022-09-28 21:15:36,954 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:36 2.3.0-dev.13 [Pipeline] } 21:15:36 $ docker exec --env ******** --env ******** 027a920cca877e25e608760e649a69501cdf5452a9da0dabceb415d9aa1bed23 ssh-agent -k 21:15:37 unset SSH_AUTH_SOCK; 21:15:37 unset SSH_AGENT_PID; 21:15:37 echo Agent pid 38 killed; 21:15:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:37 + git semver [Pipeline] } 21:15:37 $ docker stop --time=1 027a920cca877e25e608760e649a69501cdf5452a9da0dabceb415d9aa1bed23 21:15:38 $ docker rm -f 027a920cca877e25e608760e649a69501cdf5452a9da0dabceb415d9aa1bed23 [Pipeline] // withDockerContainer [Pipeline] sh 21:15:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:39 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:15:39 $ 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:15:40 $ docker top 59e337f4f0d84eba17fbf8e4f3de9fea708cc9a6c938b3962e2258d5212815f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:40 [ssh-agent] Looking for ssh-agent implementation... 21:15:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:40 $ docker exec 59e337f4f0d84eba17fbf8e4f3de9fea708cc9a6c938b3962e2258d5212815f6 ssh-agent 21:15:40 SSH_AUTH_SOCK=/tmp/ssh-8YhxCZeLghr1/agent.32 21:15:40 SSH_AGENT_PID=38 21:15:40 Running ssh-add (command line suppressed) 21:15:40 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3138012842488507300.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3138012842488507300.key) 21:15:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:40 + git semver push 21:15:40 2022-09-28 21:15:40,902 [run_push] DEBUG push 21:15:40 2022-09-28 21:15:40,902 [execute] INFO git cat-file --batch-check 21:15:40 2022-09-28 21:15:40,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:40 2022-09-28 21:15:40,906 [execute] INFO git rev-list df6df692355ab2fff2d680cd875f2fc996ded7a5 -- 21:15:40 2022-09-28 21:15:40,907 [execute] DEBUG Popen(['git', 'rev-list', 'df6df692355ab2fff2d680cd875f2fc996ded7a5', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:40 2022-09-28 21:15:40,912 [execute] INFO git fetch -v origin 21:15:40 2022-09-28 21:15:40,912 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:15:41 2022-09-28 21:15:41,502 [run_push] DEBUG no remote changes detected 21:15:41 2022-09-28 21:15:41,503 [execute] INFO git push origin semver 21:15:41 2022-09-28 21:15:41,503 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:42 2022-09-28 21:15:42,265 [run_push] DEBUG push all version tags 21:15:42 2022-09-28 21:15:42,266 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:15:42 2022-09-28 21:15:42,266 [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:15:43 2022-09-28 21:15:42,996 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 21:15:43 2.3.0-dev.13 [Pipeline] } 21:15:43 $ docker exec --env ******** --env ******** 59e337f4f0d84eba17fbf8e4f3de9fea708cc9a6c938b3962e2258d5212815f6 ssh-agent -k 21:15:43 unset SSH_AUTH_SOCK; 21:15:43 unset SSH_AGENT_PID; 21:15:43 echo Agent pid 38 killed; 21:15:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:43 + git semver [Pipeline] } 21:15:43 $ docker stop --time=1 59e337f4f0d84eba17fbf8e4f3de9fea708cc9a6c938b3962e2258d5212815f6 21:15:45 $ docker rm -f 59e337f4f0d84eba17fbf8e4f3de9fea708cc9a6c938b3962e2258d5212815f6 [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:15:45 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 21:15:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:15:45 total 16 21:15:45 drwxr-xr-x 3 root root 4096 Sep 28 21:06 . 21:15:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 21:15 .. 21:15:45 drwxr-xr-x 2 root root 4096 Sep 28 21:06 cost 21:15:45 -rw-r--r-- 1 root root 88 Sep 28 21:06 cost.csv 21:15:45 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 21:15:45 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 21:15:45 total 16 21:15:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 21:06 . 21:15:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 21:15 .. 21:15:45 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 21:06 cost 21:15:45 -rw-r--r-- 1 jenkins jenkins 88 Sep 28 21:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:46 ---> package-listing.sh 21:15:46 ++ facter osfamily 21:15:46 ++ tr '[:upper:]' '[:lower:]' 21:15:47 + OS_FAMILY=debian 21:15:47 + workspace=/w/workspace/exfoundry_device-usb-camera_main 21:15:47 + START_PACKAGES=/tmp/packages_start.txt 21:15:47 + END_PACKAGES=/tmp/packages_end.txt 21:15:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:47 + PACKAGES=/tmp/packages_start.txt 21:15:47 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:15:47 + PACKAGES=/tmp/packages_end.txt 21:15:47 + case "${OS_FAMILY}" in 21:15:47 + dpkg -l 21:15:47 + grep '^ii' 21:15:47 + '[' -f /tmp/packages_start.txt ']' 21:15:47 + '[' -f /tmp/packages_end.txt ']' 21:15:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:47 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 21:15:47 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 21:15:47 + 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:15:47 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:15:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:47 prd-ubuntu20.04-docker-8c-8g-1863 does not seem to be running inside a container 21:15:48 $ 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:15:48 $ docker top e2eff61ca980c12568573d27722c2de1aebd8d74aa3ec0c0e92a2149ddc8252c -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:48 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:48 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:49 + ls /var/log/sa-host 21:15:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:49 provisioning config files... 21:15:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12579606877291879934tmp [Pipeline] { [Pipeline] echo 21:15:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:49 ---> create-netrc.sh [Pipeline] } 21:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:49 ---> python-tools-install.sh [Pipeline] echo 21:15:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:50 ---> sudo-logs.sh 21:15:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:50 ---> job-cost.sh 21:15:50 lf-activate-venv: SKIPPING 21:15:50 DEBUG: total: 0.2199999988079071 21:15:50 INFO: Retrieving Stack Cost... 21:15:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:51 INFO: Archiving Costs [Pipeline] echo 21:15:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:51 ---> logs-deploy.sh 21:15:51 lf-activate-venv: SKIPPING 21:15:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/51 21:15:51 INFO: archiving workspace using pattern(s): 21:15:52 Archives upload complete. 21:15:52 INFO: archiving logs to Nexus