Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 23873178f87621f494545d7f1b328385510a4cee 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-ssh9617303885442096080.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-ssh5588782638733957045.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-ssh12025176109799537726.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-ssh8619342308211608444.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-ssh900167165591860346.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1842’ Running on prd-ubuntu20.04-docker-8c-8g-1844 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 23873178f87621f494545d7f1b328385510a4cee (main) Commit message: "docs: usb rtsp streaming guide and readme (#1) (#92)" > 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 23873178f87621f494545d7f1b328385510a4cee # timeout=10 > git rev-list --no-walk 00fef7e065bed1f02203b218570c3778d916ab48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:20 ========================================================= 17:52:20 EdgeX Global Pipelines Version Info 17:52:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:21 ------------------- 17:52:21 stable info: 17:52:21 ------------------- 17:52:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:52:21 Message: update stable to v1.0.239 17:52:21 ------------------- 17:52:21 experimental info: 17:52:21 ------------------- 17:52:21 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:52:21 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23873178f87621f494545d7f1b328385510a4cee [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2387317 [Pipeline] echo 17:52:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:22 provisioning config files... 17:52:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16716890981855449069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:22 ---> docker-login.sh 17:52:22 nexus3.edgexfoundry.org:10001 17:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:23 Configure a credential helper to remove this warning. See 17:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:23 17:52:23 Login Succeeded 17:52:23 nexus3.edgexfoundry.org:10002 17:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:23 Configure a credential helper to remove this warning. See 17:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:23 17:52:23 Login Succeeded 17:52:23 nexus3.edgexfoundry.org:10003 17:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:23 Configure a credential helper to remove this warning. See 17:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:23 17:52:23 Login Succeeded 17:52:23 nexus3.edgexfoundry.org:10004 17:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:23 Configure a credential helper to remove this warning. See 17:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:23 17:52:23 Login Succeeded 17:52:23 docker.io 17:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:23 Configure a credential helper to remove this warning. See 17:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:23 17:52:23 Login Succeeded 17:52:23 ---> docker-login.sh ends [Pipeline] } 17:52:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:24 + git rev-list -1 --merges 23873178f87621f494545d7f1b328385510a4cee~1..23873178f87621f494545d7f1b328385510a4cee [Pipeline] echo 17:52:24 -----------> git rev-list -1 --merges 23873178f87621f494545d7f1b328385510a4cee~1..23873178f87621f494545d7f1b328385510a4cee 23873178f87621f494545d7f1b328385510a4cee [false] [Pipeline] sh 17:52:24 + git log --format=format:%s -1 23873178f87621f494545d7f1b328385510a4cee [Pipeline] echo 17:52:24 ========================================================= 17:52:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:24 + git log --format=format:%s -1 23873178f87621f494545d7f1b328385510a4cee [Pipeline] echo 17:52:24 [semverPrep] GIT_COMMIT: 23873178f87621f494545d7f1b328385510a4cee, Commit Message: docs: usb rtsp streaming guide and readme (#1) (#92) [Pipeline] echo 17:52:24 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:25 + grep -v github /etc/ssh/ssh_known_hosts 17:52:25 + [ -e /tmp/ssh_known_hosts ] 17:52:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:25 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:25 17:52:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:25 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:25 b85a868b505f: Pulling fs layer 17:52:25 e2be974225ed: Pulling fs layer 17:52:25 339a4e72a1f5: Pulling fs layer 17:52:25 988bab9f4d93: Pulling fs layer 17:52:25 1469e6f7b9e6: Pulling fs layer 17:52:25 eaf3925da568: Pulling fs layer 17:52:25 bab4dde63d76: Pulling fs layer 17:52:25 bde34c3a00c8: Pulling fs layer 17:52:25 b352a97aabf1: Pulling fs layer 17:52:25 4872d77fe225: Pulling fs layer 17:52:25 5851b861e8e6: Pulling fs layer 17:52:25 eaf3925da568: Waiting 17:52:25 bab4dde63d76: Waiting 17:52:25 4872d77fe225: Waiting 17:52:25 5851b861e8e6: Waiting 17:52:25 bde34c3a00c8: Waiting 17:52:25 b352a97aabf1: Waiting 17:52:25 1469e6f7b9e6: Waiting 17:52:25 988bab9f4d93: Waiting 17:52:25 e2be974225ed: Verifying Checksum 17:52:25 e2be974225ed: Download complete 17:52:25 988bab9f4d93: Verifying Checksum 17:52:25 988bab9f4d93: Download complete 17:52:26 1469e6f7b9e6: Verifying Checksum 17:52:26 1469e6f7b9e6: Download complete 17:52:26 eaf3925da568: Verifying Checksum 17:52:26 eaf3925da568: Download complete 17:52:26 339a4e72a1f5: Verifying Checksum 17:52:26 339a4e72a1f5: Download complete 17:52:26 bde34c3a00c8: Verifying Checksum 17:52:26 bde34c3a00c8: Download complete 17:52:26 b352a97aabf1: Verifying Checksum 17:52:26 4872d77fe225: Download complete 17:52:26 5851b861e8e6: Verifying Checksum 17:52:26 5851b861e8e6: Download complete 17:52:26 b85a868b505f: Verifying Checksum 17:52:26 b85a868b505f: Download complete 17:52:26 bab4dde63d76: Verifying Checksum 17:52:26 bab4dde63d76: Download complete 17:52:27 b85a868b505f: Pull complete 17:52:27 e2be974225ed: Pull complete 17:52:28 339a4e72a1f5: Pull complete 17:52:28 988bab9f4d93: Pull complete 17:52:28 1469e6f7b9e6: Pull complete 17:52:28 eaf3925da568: Pull complete 17:52:30 bab4dde63d76: Pull complete 17:52:30 bde34c3a00c8: Pull complete 17:52:30 b352a97aabf1: Pull complete 17:52:30 4872d77fe225: Pull complete 17:52:31 5851b861e8e6: Pull complete 17:52:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:31 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 17:52:31 $ 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 17:52:32 $ docker top 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 -eo pid,comm 17:52:32 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). 17:52:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:32 [ssh-agent] Looking for ssh-agent implementation... 17:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:32 $ docker exec 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 ssh-agent 17:52:32 SSH_AUTH_SOCK=/tmp/ssh-qnM6rsnKvuC4/agent.32 17:52:32 SSH_AGENT_PID=38 17:52:32 Running ssh-add (command line suppressed) 17:52:33 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6931415527544292313.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6931415527544292313.key) 17:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:33 + git tag --points-at HEAD [Pipeline] } 17:52:33 $ docker exec --env ******** --env ******** 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 ssh-agent -k 17:52:33 unset SSH_AUTH_SOCK; 17:52:33 unset SSH_AGENT_PID; 17:52:33 echo Agent pid 38 killed; 17:52:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:33 [ssh-agent] Looking for ssh-agent implementation... 17:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:33 $ docker exec 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 ssh-agent 17:52:33 SSH_AUTH_SOCK=/tmp/ssh-joCGTmYnIlf3/agent.70 17:52:33 SSH_AGENT_PID=77 17:52:33 Running ssh-add (command line suppressed) 17:52:33 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_344945288789563961.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_344945288789563961.key) 17:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:34 + git semver init 17:52:34 2022-09-28 17:52:34,423 [run_init] DEBUG init version:0.0.0 force:False 17:52:34 2022-09-28 17:52:34,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 17:52:34 2022-09-28 17:52:34,424 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 17:52:34 2022-09-28 17:52:34,424 [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) 17:52:35 2022-09-28 17:52:35,183 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 17:52:35 2022-09-28 17:52:35,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 17:52:35 2022-09-28 17:52:35,183 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:52:35 2022-09-28 17:52:35,184 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 17:52:35 2.3.0-dev.11 [Pipeline] } 17:52:35 $ docker exec --env ******** --env ******** 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 ssh-agent -k 17:52:35 unset SSH_AUTH_SOCK; 17:52:35 unset SSH_AGENT_PID; 17:52:35 echo Agent pid 77 killed; 17:52:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:35 + git semver [Pipeline] } 17:52:36 $ docker stop --time=1 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 17:52:37 $ docker rm -f 785e0d728898ef451c07cb070e1c7087b1702ade5fb3c85944b7dd69e75ed515 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:38 Stashed 1 file(s) [Pipeline] echo 17:52:38 [edgeXSemver]: initialized semver on version 2.3.0-dev.11 [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 17:52:38 provisioning config files... 17:52:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7143504274228392431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:38 ---> docker-login.sh 17:52:38 nexus3.edgexfoundry.org:10001 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 nexus3.edgexfoundry.org:10002 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 nexus3.edgexfoundry.org:10003 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 nexus3.edgexfoundry.org:10004 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:38 Configure a credential helper to remove this warning. See 17:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:38 17:52:38 Login Succeeded 17:52:38 docker.io 17:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:39 Configure a credential helper to remove this warning. See 17:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:39 17:52:39 Login Succeeded 17:52:39 ---> docker-login.sh ends [Pipeline] } 17:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:39 ========================================================= 17:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:39 + 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 . 17:52:39 Sending build context to Docker daemon 1.438MB 17:52:39 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:52:39 Step 2/13 : FROM ${BASE} AS builder 17:52:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:39 2408cc74d12b: Pulling fs layer 17:52:39 ea60b727a1ce: Pulling fs layer 17:52:39 30c4a7721957: Pulling fs layer 17:52:39 370296b7ddb6: Pulling fs layer 17:52:39 7c6cee850709: Pulling fs layer 17:52:39 39a5fcdaea64: Pulling fs layer 17:52:39 d94ebbe4e438: Pulling fs layer 17:52:39 bcfd1f05c69d: Pulling fs layer 17:52:39 370296b7ddb6: Waiting 17:52:39 7c6cee850709: Waiting 17:52:39 39a5fcdaea64: Waiting 17:52:39 59ccb84bbe0f: Pulling fs layer 17:52:39 bcfd1f05c69d: Waiting 17:52:39 59ccb84bbe0f: Waiting 17:52:39 30c4a7721957: Verifying Checksum 17:52:39 30c4a7721957: Download complete 17:52:39 ea60b727a1ce: Verifying Checksum 17:52:39 ea60b727a1ce: Download complete 17:52:39 7c6cee850709: Verifying Checksum 17:52:39 7c6cee850709: Download complete 17:52:39 39a5fcdaea64: Download complete 17:52:39 2408cc74d12b: Verifying Checksum 17:52:39 2408cc74d12b: Download complete 17:52:39 d94ebbe4e438: Download complete 17:52:39 2408cc74d12b: Pull complete 17:52:40 ea60b727a1ce: Pull complete 17:52:40 30c4a7721957: Pull complete 17:52:40 59ccb84bbe0f: Verifying Checksum 17:52:40 59ccb84bbe0f: Download complete 17:52:40 370296b7ddb6: Verifying Checksum 17:52:40 370296b7ddb6: Download complete 17:52:40 bcfd1f05c69d: Verifying Checksum 17:52:40 bcfd1f05c69d: Download complete 17:52:45 370296b7ddb6: Pull complete 17:52:45 7c6cee850709: Pull complete 17:52:45 39a5fcdaea64: Pull complete 17:52:45 d94ebbe4e438: Pull complete 17:52:47 bcfd1f05c69d: Pull complete 17:52:47 59ccb84bbe0f: Pull complete 17:52:47 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:52:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:52:47 ---> a4fb48ad2a94 17:52:47 Step 3/13 : ARG MAKE="make build" 17:52:49 ---> Running in c7c20db46863 17:52:49 Removing intermediate container c7c20db46863 17:52:49 ---> 23f6692a92ec 17:52:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:52:49 ---> Running in 3ed3f0c428bb 17:52:49 Removing intermediate container 3ed3f0c428bb 17:52:49 ---> 2465e453ad27 17:52:49 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:52:49 ---> Running in 79ee7053752c 17:52:50 Removing intermediate container 79ee7053752c 17:52:50 ---> 2896a3fb1ff1 17:52:50 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:50 ---> Running in 371c4cbbb856 17:52:50 Removing intermediate container 371c4cbbb856 17:52:50 ---> e7776e7d29be 17:52:50 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:50 ---> Running in af9e2438f587 17:52:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:52:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:52:52 (1/80) Installing mesa (21.3.8-r2) 17:52:52 (2/80) Installing libxau (1.0.9-r0) 17:52:52 (3/80) Installing libxdmcp (1.1.3-r0) 17:52:52 (4/80) Installing libxcb (1.15-r0) 17:52:52 (5/80) Installing libx11 (1.8-r0) 17:52:52 (6/80) Installing libxext (1.3.4-r0) 17:52:52 (7/80) Installing libxfixes (6.0.0-r0) 17:52:52 (8/80) Installing libxxf86vm (1.1.4-r2) 17:52:52 (9/80) Installing libpciaccess (0.16-r0) 17:52:53 Still waiting to schedule task 17:52:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1843’ 17:52:53 (10/80) Installing libdrm (2.4.110-r0) 17:52:53 (11/80) Installing mesa-glapi (21.3.8-r2) 17:52:53 (12/80) Installing libxshmfence (1.3-r1) 17:52:53 (13/80) Installing mesa-gl (21.3.8-r2) 17:52:53 (14/80) Installing icu-data-full (71.1-r2) 17:52:54 (15/80) Installing libice (1.0.10-r0) 17:52:54 (16/80) Installing libuuid (2.38-r1) 17:52:54 (17/80) Installing libsm (1.2.3-r0) 17:52:54 (18/80) Installing libxt (1.2.1-r0) 17:52:54 (19/80) Installing libxmu (1.1.3-r0) 17:52:54 (20/80) Installing xset (1.2.4-r0) 17:52:54 (21/80) Installing xprop (1.2.5-r0) 17:52:54 (22/80) Installing xdg-utils (1.1.3-r3) 17:52:55 (23/80) Installing dbus-libs (1.14.0-r1) 17:52:55 (24/80) Installing libffi (3.4.2-r1) 17:52:55 (25/80) Installing libintl (0.21-r2) 17:52:55 (26/80) Installing libblkid (2.38-r1) 17:52:55 (27/80) Installing libmount (2.38-r1) 17:52:55 (28/80) Installing pcre (8.45-r2) 17:52:55 (29/80) Installing glib (2.72.1-r0) 17:52:55 (30/80) Installing icu-libs (71.1-r2) 17:52:55 (31/80) Installing libpcre2-16 (10.40-r0) 17:52:55 (32/80) Installing zstd-libs (1.5.2-r1) 17:52:55 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:52:57 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:52:57 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:52:57 (36/80) Installing mesa-gbm (21.3.8-r2) 17:52:57 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:52:57 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:52:58 (39/80) Installing libxcomposite (0.4.5-r0) 17:52:58 (40/80) Installing libbz2 (1.0.8-r1) 17:52:58 (41/80) Installing libpng (1.6.37-r1) 17:52:58 (42/80) Installing freetype (2.12.1-r0) 17:52:58 (43/80) Installing fontconfig (2.14.0-r0) 17:52:58 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:52:58 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:52:58 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:52:59 (47/80) Installing xz-libs (5.2.5-r1) 17:52:59 (48/80) Installing libxml2 (2.9.14-r1) 17:52:59 (49/80) Installing libxkbcommon (1.4.1-r0) 17:52:59 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:52:59 (51/80) Installing mesa-egl (21.3.8-r2) 17:52:59 (52/80) Installing avahi-libs (0.8-r6) 17:52:59 (53/80) Installing nettle (3.7.3-r0) 17:52:59 (54/80) Installing p11-kit (0.24.1-r0) 17:52:59 (55/80) Installing libtasn1 (4.18.0-r0) 17:52:59 (56/80) Installing libunistring (1.0-r0) 17:53:00 (57/80) Installing gnutls (3.7.7-r0) 17:53:00 (58/80) Installing cups-libs (2.4.2-r0) 17:53:00 (59/80) Installing graphite2 (1.3.14-r1) 17:53:00 (60/80) Installing harfbuzz (4.3.0-r0) 17:53:00 (61/80) Installing libevdev (1.12.1-r0) 17:53:00 (62/80) Installing mtdev (1.1.6-r0) 17:53:00 (63/80) Installing eudev-libs (3.2.11-r0) 17:53:00 (64/80) Installing libinput-libs (1.20.1-r0) 17:53:00 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:53:00 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:53:01 (67/80) Installing xcb-util (0.4.0-r3) 17:53:01 (68/80) Installing xcb-util-image (0.4.0-r1) 17:53:01 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:53:01 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:53:01 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:53:01 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:53:02 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:53:02 (74/80) Installing v4l-utils (1.22.1-r1) 17:53:02 (75/80) Installing udev-init-scripts (35-r0) 17:53:02 Executing udev-init-scripts-35-r0.post-install 17:53:02 (76/80) Installing kmod-libs (29-r2) 17:53:02 (77/80) Installing eudev (3.2.11-r0) 17:53:02 (78/80) Installing eudev-dev (3.2.11-r0) 17:53:02 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:53:02 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:53:02 Executing busybox-1.35.0-r13.trigger 17:53:03 Executing eudev-3.2.11-r0.trigger 17:53:03 OK: 330 MiB in 131 packages 17:53:05 Removing intermediate container af9e2438f587 17:53:05 ---> fd8138e44d30 17:53:05 Step 8/13 : WORKDIR /device-usb-camera 17:53:05 ---> Running in addccc887f91 17:53:05 Removing intermediate container addccc887f91 17:53:05 ---> 364d3c7ab341 17:53:05 Step 9/13 : COPY go.mod vendor* ./ 17:53:05 ---> 3a2831f648de 17:53:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:05 ---> Running in c4cbe1c4f6de 17:53:23 Removing intermediate container c4cbe1c4f6de 17:53:23 ---> d63ab39e3b2b 17:53:23 Step 11/13 : COPY . . 17:53:23 ---> 826444486834 17:53:23 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:53:23 ---> Running in 157275e35e85 17:53:23  % Total % Received % Xferd Average Speed Time Time Time Current 17:53:23 Dload Upload Total Spent Left Speed 17:53:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8760 0 --:--:-- --:--:-- --:--:-- 8776 17:53:23 Removing intermediate container 157275e35e85 17:53:23 ---> 8e7fda819a6d 17:53:23 Step 13/13 : RUN ${MAKE} 17:53:23 ---> Running in a8a3af0aed2a 17:53:23 noop 17:53:23 Removing intermediate container a8a3af0aed2a 17:53:23 ---> 44fb2a8139b7 17:53:23 Successfully built 44fb2a8139b7 17:53:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:23 + docker inspect -f . ci-base-image-x86_64 17:53:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:24 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 17:53:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:24 $ docker top 0545951fbcd11b38f6261032fb39b1c1b2c4b12cb425696c762a9dad4898d716 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:24 + go version 17:53:24 go version go1.18.3 linux/amd64 [Pipeline] } 17:53:24 $ docker stop --time=1 0545951fbcd11b38f6261032fb39b1c1b2c4b12cb425696c762a9dad4898d716 17:53:26 $ docker rm -f 0545951fbcd11b38f6261032fb39b1c1b2c4b12cb425696c762a9dad4898d716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:26 + docker inspect -f . ci-base-image-x86_64 17:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:26 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 17:53:26 $ 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 17:53:26 $ docker top 3761d14b0a5b7816cba34012b3445371c7efe849496c76eef5dbe733d6768327 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:27 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 17:53:27 + make test 17:53:27 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:53:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:53:40 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:53:40 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements 17:53:46 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." 17:53:46 CGO_ENABLED=1 go vet ./... 17:53:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:53:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:53:49 ./bin/test-attribution-txt.sh 17:53:49 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 17:53:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:53:49 $ docker stop --time=1 3761d14b0a5b7816cba34012b3445371c7efe849496c76eef5dbe733d6768327 17:53:51 $ docker rm -f 3761d14b0a5b7816cba34012b3445371c7efe849496c76eef5dbe733d6768327 [Pipeline] // withDockerContainer [Pipeline] sh 17:53:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:53:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:53:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:53:53 + ls -al . 17:53:53 total 196 17:53:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 17:53 . 17:53:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:52 .. 17:53:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:53 .git 17:53:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:52 .github 17:53:53 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 17:52 .gitignore 17:53:53 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:52 .golangci.yml 17:53:53 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 17:52 .hadolint.yml 17:53:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:52 .semver 17:53:53 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 17:52 Attribution.txt 17:53:53 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 17:52 CHANGELOG.md 17:53:53 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 17:52 Dockerfile 17:53:53 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 17:52 GOVERNANCE.md 17:53:53 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 17:52 Jenkinsfile 17:53:53 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:52 LICENSE 17:53:53 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 17:52 Makefile 17:53:53 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 17:52 OWNERS.md 17:53:53 -rw-rw-r-- 1 jenkins jenkins 5109 Sep 28 17:52 README.md 17:53:53 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 17:52 VERSION 17:53:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:52 bin 17:53:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:52 cmd 17:53:53 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 17:53 coverage.out 17:53:53 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 17:52 docker-entrypoint.sh 17:53:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:52 docs 17:53:53 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 17:52 go.mod 17:53:53 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 17:52 go.sum 17:53:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:52 internal 17:53:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:52 snap 17:53:53 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:53 + 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=23873178f87621f494545d7f1b328385510a4cee --label arch=amd64 --label version=2.3.0-dev.11 . 17:53:53 Sending build context to Docker daemon 1.468MB 17:53:53 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:53:53 Step 2/35 : FROM ${BASE} AS builder 17:53:53 ---> 44fb2a8139b7 17:53:53 Step 3/35 : ARG MAKE="make build" 17:53:53 ---> Running in d5846d6496d8 17:53:53 Removing intermediate container d5846d6496d8 17:53:53 ---> b1c0e6f9e67e 17:53:53 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:53:53 ---> Running in 014e79f6ccf3 17:53:53 Removing intermediate container 014e79f6ccf3 17:53:53 ---> 7dadeed7e7c6 17:53:53 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:53:53 ---> Running in 1d23ebe21b02 17:53:53 Removing intermediate container 1d23ebe21b02 17:53:53 ---> 2f3f196c3a70 17:53:53 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:53:53 ---> Running in a1b7a4c590cc 17:53:54 Removing intermediate container a1b7a4c590cc 17:53:54 ---> 5ca2f0152cdc 17:53:54 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:54 ---> Running in 0d39556b01e0 17:53:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:53:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:53:55 OK: 330 MiB in 131 packages 17:53:56 Removing intermediate container 0d39556b01e0 17:53:56 ---> 4a8daee83adf 17:53:56 Step 8/35 : WORKDIR /device-usb-camera 17:53:56 ---> Running in 2767968db8c6 17:53:56 Removing intermediate container 2767968db8c6 17:53:56 ---> fa12a621c78a 17:53:56 Step 9/35 : COPY go.mod vendor* ./ 17:53:56 ---> a4f8a28eb37d 17:53:56 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:56 ---> Running in fb85fd895676 17:53:57 Removing intermediate container fb85fd895676 17:53:57 ---> 1e3797de4446 17:53:57 Step 11/35 : COPY . . 17:53:57 ---> 685f022a1845 17:53:57 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:53:57 ---> Running in e8e5bb4f1294 17:53:57  % Total % Received % Xferd Average Speed Time Time Time Current 17:53:57 Dload Upload Total Spent Left Speed 17:53:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 35173 0 --:--:-- --:--:-- --:--:-- 35400 17:53:58 Removing intermediate container e8e5bb4f1294 17:53:58 ---> 3ba4c40861c3 17:53:58 Step 13/35 : RUN ${MAKE} 17:53:58 ---> Running in 5170544e8d1a 17:53:58 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.11 -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 17:54:20 Removing intermediate container 5170544e8d1a 17:54:20 ---> b34b07ab2212 17:54:20 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:54:20 v0.18.4: Pulling from aler9/rtsp-simple-server 17:54:20 af6660deedbd: Pulling fs layer 17:54:20 97cd0a44c592: Pulling fs layer 17:54:20 97cd0a44c592: Download complete 17:54:21 af6660deedbd: Verifying Checksum 17:54:21 af6660deedbd: Download complete 17:54:21 af6660deedbd: Pull complete 17:54:21 97cd0a44c592: Pull complete 17:54:21 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:54:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:54:21 ---> fea57e182299 17:54:21 Step 15/35 : FROM alpine:3.16 17:54:22 3.16: Pulling from library/alpine 17:54:22 213ec9aee27d: Pulling fs layer 17:54:22 213ec9aee27d: Verifying Checksum 17:54:22 213ec9aee27d: Download complete 17:54:22 213ec9aee27d: Pull complete 17:54:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:54:22 Status: Downloaded newer image for alpine:3.16 17:54:22 ---> 9c6f07244728 17:54:22 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:54:22 ---> Running in 5af60ff96180 17:54:22 Removing intermediate container 5af60ff96180 17:54:22 ---> 6b207cf9836a 17:54:22 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:54:22 ---> Running in bce604a10034 17:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:23 (1/83) Installing dumb-init (1.2.5-r1) 17:54:23 (2/83) Installing sdl2 (2.0.22-r0) 17:54:23 (3/83) Installing libxau (1.0.9-r0) 17:54:23 (4/83) Installing libxdmcp (1.1.3-r0) 17:54:23 (5/83) Installing libxcb (1.15-r0) 17:54:23 (6/83) Installing libx11 (1.8-r0) 17:54:23 (7/83) Installing aom-libs (3.3.0-r0) 17:54:23 (8/83) Installing alsa-lib (1.2.7.2-r0) 17:54:23 (9/83) Installing expat (2.4.9-r0) 17:54:23 (10/83) Installing brotli-libs (1.0.9-r6) 17:54:23 (11/83) Installing libbz2 (1.0.8-r1) 17:54:23 (12/83) Installing libpng (1.6.37-r1) 17:54:23 (13/83) Installing freetype (2.12.1-r0) 17:54:23 (14/83) Installing fontconfig (2.14.0-r0) 17:54:23 (15/83) Installing fribidi (1.0.12-r0) 17:54:23 (16/83) Installing libffi (3.4.2-r1) 17:54:23 (17/83) Installing libintl (0.21-r2) 17:54:23 (18/83) Installing libblkid (2.38-r1) 17:54:23 (19/83) Installing libmount (2.38-r1) 17:54:23 (20/83) Installing pcre (8.45-r2) 17:54:23 (21/83) Installing glib (2.72.1-r0) 17:54:23 (22/83) Installing graphite2 (1.3.14-r1) 17:54:23 (23/83) Installing harfbuzz (4.3.0-r0) 17:54:23 (24/83) Installing libass (0.16.0-r0) 17:54:23 (25/83) Installing libdav1d (1.0.0-r0) 17:54:23 (26/83) Installing libpciaccess (0.16-r0) 17:54:23 (27/83) Installing libdrm (2.4.110-r0) 17:54:23 (28/83) Installing gmp (6.2.1-r2) 17:54:23 (29/83) Installing nettle (3.7.3-r0) 17:54:23 (30/83) Installing p11-kit (0.24.1-r0) 17:54:23 (31/83) Installing libtasn1 (4.18.0-r0) 17:54:23 (32/83) Installing libunistring (1.0-r0) 17:54:23 (33/83) Installing gnutls (3.7.7-r0) 17:54:23 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:54:23 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 17:54:24 (36/83) Installing lame (3.100-r0) 17:54:24 (37/83) Installing opus (1.3.1-r1) 17:54:24 (38/83) Installing libasyncns (0.8-r1) 17:54:24 (39/83) Installing dbus-libs (1.14.0-r1) 17:54:24 (40/83) Installing libltdl (2.4.7-r0) 17:54:24 (41/83) Installing orc (0.4.32-r0) 17:54:24 (42/83) Installing libgcc (11.2.1_git20220219-r2) 17:54:24 (43/83) Installing libogg (1.3.5-r1) 17:54:24 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 17:54:24 (45/83) Installing flac (1.3.4-r0) 17:54:24 (46/83) Installing libvorbis (1.3.7-r0) 17:54:24 (47/83) Installing libsndfile (1.1.0-r0) 17:54:24 (48/83) Installing libgomp (11.2.1_git20220219-r2) 17:54:24 (49/83) Installing soxr (0.1.3-r2) 17:54:24 (50/83) Installing speexdsp (1.2.0-r0) 17:54:24 (51/83) Installing tdb-libs (1.4.6-r0) 17:54:24 (52/83) Installing libpulse (15.0-r2) 17:54:24 (53/83) Installing cjson (1.7.15-r3) 17:54:24 (54/83) Installing mbedtls (2.28.1-r0) 17:54:24 (55/83) Installing librist (0.2.6-r1) 17:54:24 (56/83) Installing libsrt (1.4.4-r0) 17:54:24 (57/83) Installing libssh (0.9.6-r1) 17:54:24 (58/83) Installing libtheora (1.1.1-r16) 17:54:24 (59/83) Installing libjpeg-turbo (2.1.3-r1) 17:54:24 (60/83) Installing v4l-utils-libs (1.22.1-r1) 17:54:24 (61/83) Installing libxext (1.3.4-r0) 17:54:24 (62/83) Installing libxfixes (6.0.0-r0) 17:54:24 (63/83) Installing wayland-libs-client (1.20.0-r0) 17:54:24 (64/83) Installing libva (2.14.0-r0) 17:54:24 (65/83) Installing libvdpau (1.5-r0) 17:54:24 (66/83) Installing vidstab (1.1.0-r1) 17:54:24 (67/83) Installing libvpx (1.11.0-r1) 17:54:24 (68/83) Installing libwebp (1.2.3-r0) 17:54:24 (69/83) Installing x264-libs (0.163_git20210613-r0) 17:54:24 (70/83) Installing numactl (2.0.14-r0) 17:54:24 (71/83) Installing x265-libs (3.5-r3) 17:54:24 (72/83) Installing xvidcore (1.3.7-r1) 17:54:24 (73/83) Installing ffmpeg-libs (5.0.1-r1) 17:54:24 (74/83) Installing ffmpeg (5.0.1-r1) 17:54:24 (75/83) Installing udev-init-scripts (35-r0) 17:54:24 Executing udev-init-scripts-35-r0.post-install 17:54:24 (76/83) Installing eudev-libs (3.2.11-r0) 17:54:24 (77/83) Installing xz-libs (5.2.5-r1) 17:54:24 (78/83) Installing zstd-libs (1.5.2-r1) 17:54:24 (79/83) Installing kmod-libs (29-r2) 17:54:24 (80/83) Installing eudev (3.2.11-r0) 17:54:24 (81/83) Installing libsodium (1.0.18-r0) 17:54:24 (82/83) Installing libzmq (4.3.4-r0) 17:54:24 (83/83) Installing zeromq (4.3.4-r0) 17:54:24 Executing busybox-1.35.0-r17.trigger 17:54:24 Executing eudev-3.2.11-r0.trigger 17:54:24 OK: 101 MiB in 97 packages 17:54:26 Removing intermediate container bce604a10034 17:54:26 ---> 1b7cb23deea8 17:54:26 Step 18/35 : WORKDIR / 17:54:26 ---> Running in c6859bf5795c 17:54:26 Removing intermediate container c6859bf5795c 17:54:26 ---> 049bdc726703 17:54:26 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:54:27 ---> 08a05a661d37 17:54:27 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:54:27 ---> dde2357c1ea4 17:54:27 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:54:27 ---> 57da2e1facc8 17:54:27 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:54:27 ---> 89d8726927bf 17:54:27 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:54:27 ---> 898e1ed8467a 17:54:27 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:54:27 ---> 75fbcfa2af7a 17:54:27 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:54:28 ---> b1c8a198c5d7 17:54:28 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:54:28 ---> Running in 3090685c1c90 17:54:29 Removing intermediate container 3090685c1c90 17:54:29 ---> d9e9837f8ceb 17:54:29 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:54:29 ---> Running in 71f6457cb148 17:54:29 Removing intermediate container 71f6457cb148 17:54:29 ---> 2e6752e4fb1c 17:54:29 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:54:29 ---> Running in c34ce6c39a2c 17:54:30 Removing intermediate container c34ce6c39a2c 17:54:30 ---> f123b30eaa33 17:54:30 Step 29/35 : EXPOSE 59983 17:54:30 ---> Running in 1ede1b0a5103 17:54:30 Removing intermediate container 1ede1b0a5103 17:54:30 ---> 782136edef1b 17:54:30 Step 30/35 : EXPOSE 8554 17:54:30 ---> Running in 9231af4a2cf4 17:54:30 Removing intermediate container 9231af4a2cf4 17:54:30 ---> 72e45cba5eca 17:54:30 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:54:30 ---> Running in 2629c10177fc 17:54:30 Removing intermediate container 2629c10177fc 17:54:30 ---> 8c52d834c706 17:54:30 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:54:30 ---> Running in a206d1959953 17:54:30 Removing intermediate container a206d1959953 17:54:30 ---> 758bcc9f2894 17:54:30 Step 33/35 : LABEL arch=amd64 17:54:30 ---> Running in 2df28b0549ba 17:54:30 Removing intermediate container 2df28b0549ba 17:54:30 ---> dfa60297ab75 17:54:30 Step 34/35 : LABEL git_sha=23873178f87621f494545d7f1b328385510a4cee 17:54:30 ---> Running in 9f7206d4a7cb 17:54:30 Removing intermediate container 9f7206d4a7cb 17:54:30 ---> 12b3d6b301db 17:54:30 Step 35/35 : LABEL version=2.3.0-dev.11 17:54:31 ---> Running in 390a01b2bd3e 17:54:31 Removing intermediate container 390a01b2bd3e 17:54:31 ---> 19518bd1e952 17:54:31 [Warning] One or more build-args [ARCH] were not consumed 17:54:31 Successfully built 19518bd1e952 17:54:31 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 17:54:31 provisioning config files... 17:54:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16874408995386217697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:31 ---> docker-login.sh 17:54:31 nexus3.edgexfoundry.org:10001 17:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:31 Configure a credential helper to remove this warning. See 17:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:31 17:54:31 Login Succeeded 17:54:31 nexus3.edgexfoundry.org:10002 17:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:31 Configure a credential helper to remove this warning. See 17:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:31 17:54:31 Login Succeeded 17:54:31 nexus3.edgexfoundry.org:10003 17:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:31 Configure a credential helper to remove this warning. See 17:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:31 17:54:31 Login Succeeded 17:54:31 nexus3.edgexfoundry.org:10004 17:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 docker.io 17:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 ---> docker-login.sh ends [Pipeline] } 17:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:32 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 17:54:32 23873178f87621f494545d7f1b328385510a4cee 17:54:32 latest 17:54:32 2.3.0-dev.11 17:54:32 23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 17:54:32 main 17:54:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:32 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee 17:54:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:54:33 6c13fb6fd417: Preparing 17:54:33 50191cf5d0a6: Preparing 17:54:33 52e78b02817c: Preparing 17:54:33 550e596c6d0e: Preparing 17:54:33 1207169bf42c: Preparing 17:54:33 48b66b1ffa41: Preparing 17:54:33 f3426d5b9376: Preparing 17:54:33 4dcd9b4d3975: Preparing 17:54:33 b0b700e61b7e: Preparing 17:54:33 dd76baac411a: Preparing 17:54:33 d3b661145439: Preparing 17:54:33 994393dc58e7: Preparing 17:54:33 48b66b1ffa41: Waiting 17:54:33 f3426d5b9376: Waiting 17:54:33 4dcd9b4d3975: Waiting 17:54:33 b0b700e61b7e: Waiting 17:54:33 994393dc58e7: Waiting 17:54:33 dd76baac411a: Waiting 17:54:33 d3b661145439: Waiting 17:54:33 52e78b02817c: Pushed 17:54:33 6c13fb6fd417: Pushed 17:54:33 1207169bf42c: Pushed 17:54:33 50191cf5d0a6: Pushed 17:54:33 f3426d5b9376: Pushed 17:54:33 48b66b1ffa41: Pushed 17:54:33 4dcd9b4d3975: Pushed 17:54:33 b0b700e61b7e: Pushed 17:54:33 994393dc58e7: Layer already exists 17:54:35 550e596c6d0e: Pushed 17:54:36 dd76baac411a: Pushed 17:54:44 d3b661145439: Pushed 17:54:44 23873178f87621f494545d7f1b328385510a4cee: digest: sha256:2744dd49f322e10ccf25f6ab43ffd7043a45912a7c38702a3f2dd74b599fd16e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:54:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:54:44 6c13fb6fd417: Preparing 17:54:44 50191cf5d0a6: Preparing 17:54:44 52e78b02817c: Preparing 17:54:44 550e596c6d0e: Preparing 17:54:44 1207169bf42c: Preparing 17:54:44 48b66b1ffa41: Preparing 17:54:44 f3426d5b9376: Preparing 17:54:44 4dcd9b4d3975: Preparing 17:54:44 b0b700e61b7e: Preparing 17:54:44 dd76baac411a: Preparing 17:54:44 d3b661145439: Preparing 17:54:44 994393dc58e7: Preparing 17:54:44 4dcd9b4d3975: Waiting 17:54:44 f3426d5b9376: Waiting 17:54:44 dd76baac411a: Waiting 17:54:44 d3b661145439: Waiting 17:54:44 b0b700e61b7e: Waiting 17:54:44 994393dc58e7: Waiting 17:54:44 48b66b1ffa41: Waiting 17:54:44 52e78b02817c: Layer already exists 17:54:44 550e596c6d0e: Layer already exists 17:54:44 6c13fb6fd417: Layer already exists 17:54:44 50191cf5d0a6: Layer already exists 17:54:44 1207169bf42c: Layer already exists 17:54:44 48b66b1ffa41: Layer already exists 17:54:44 f3426d5b9376: Layer already exists 17:54:44 dd76baac411a: Layer already exists 17:54:44 b0b700e61b7e: Layer already exists 17:54:44 4dcd9b4d3975: Layer already exists 17:54:44 d3b661145439: Layer already exists 17:54:44 994393dc58e7: Layer already exists 17:54:44 latest: digest: sha256:2744dd49f322e10ccf25f6ab43ffd7043a45912a7c38702a3f2dd74b599fd16e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.11 17:54:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:54:45 6c13fb6fd417: Preparing 17:54:45 50191cf5d0a6: Preparing 17:54:45 52e78b02817c: Preparing 17:54:45 550e596c6d0e: Preparing 17:54:45 1207169bf42c: Preparing 17:54:45 48b66b1ffa41: Preparing 17:54:45 f3426d5b9376: Preparing 17:54:45 4dcd9b4d3975: Preparing 17:54:45 b0b700e61b7e: Preparing 17:54:45 dd76baac411a: Preparing 17:54:45 d3b661145439: Preparing 17:54:45 994393dc58e7: Preparing 17:54:45 d3b661145439: Waiting 17:54:45 4dcd9b4d3975: Waiting 17:54:45 f3426d5b9376: Waiting 17:54:45 994393dc58e7: Waiting 17:54:45 b0b700e61b7e: Waiting 17:54:45 dd76baac411a: Waiting 17:54:45 48b66b1ffa41: Waiting 17:54:45 50191cf5d0a6: Layer already exists 17:54:45 1207169bf42c: Layer already exists 17:54:45 52e78b02817c: Layer already exists 17:54:45 6c13fb6fd417: Layer already exists 17:54:45 550e596c6d0e: Layer already exists 17:54:45 48b66b1ffa41: Layer already exists 17:54:45 4dcd9b4d3975: Layer already exists 17:54:45 dd76baac411a: Layer already exists 17:54:45 b0b700e61b7e: Layer already exists 17:54:45 f3426d5b9376: Layer already exists 17:54:45 994393dc58e7: Layer already exists 17:54:45 d3b661145439: Layer already exists 17:54:45 2.3.0-dev.11: digest: sha256:2744dd49f322e10ccf25f6ab43ffd7043a45912a7c38702a3f2dd74b599fd16e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:45 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 17:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:54:46 6c13fb6fd417: Preparing 17:54:46 50191cf5d0a6: Preparing 17:54:46 52e78b02817c: Preparing 17:54:46 550e596c6d0e: Preparing 17:54:46 1207169bf42c: Preparing 17:54:46 48b66b1ffa41: Preparing 17:54:46 f3426d5b9376: Preparing 17:54:46 4dcd9b4d3975: Preparing 17:54:46 b0b700e61b7e: Preparing 17:54:46 dd76baac411a: Preparing 17:54:46 d3b661145439: Preparing 17:54:46 994393dc58e7: Preparing 17:54:46 f3426d5b9376: Waiting 17:54:46 4dcd9b4d3975: Waiting 17:54:46 994393dc58e7: Waiting 17:54:46 b0b700e61b7e: Waiting 17:54:46 dd76baac411a: Waiting 17:54:46 d3b661145439: Waiting 17:54:46 48b66b1ffa41: Waiting 17:54:46 6c13fb6fd417: Layer already exists 17:54:46 550e596c6d0e: Layer already exists 17:54:46 50191cf5d0a6: Layer already exists 17:54:46 52e78b02817c: Layer already exists 17:54:46 1207169bf42c: Layer already exists 17:54:46 48b66b1ffa41: Layer already exists 17:54:46 4dcd9b4d3975: Layer already exists 17:54:46 b0b700e61b7e: Layer already exists 17:54:46 dd76baac411a: Layer already exists 17:54:46 f3426d5b9376: Layer already exists 17:54:46 d3b661145439: Layer already exists 17:54:46 994393dc58e7: Layer already exists 17:54:46 23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11: digest: sha256:2744dd49f322e10ccf25f6ab43ffd7043a45912a7c38702a3f2dd74b599fd16e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 17:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 17:54:46 6c13fb6fd417: Preparing 17:54:46 50191cf5d0a6: Preparing 17:54:46 52e78b02817c: Preparing 17:54:46 550e596c6d0e: Preparing 17:54:46 1207169bf42c: Preparing 17:54:46 48b66b1ffa41: Preparing 17:54:46 f3426d5b9376: Preparing 17:54:46 4dcd9b4d3975: Preparing 17:54:46 b0b700e61b7e: Preparing 17:54:46 dd76baac411a: Preparing 17:54:46 d3b661145439: Preparing 17:54:46 994393dc58e7: Preparing 17:54:46 4dcd9b4d3975: Waiting 17:54:46 b0b700e61b7e: Waiting 17:54:46 dd76baac411a: Waiting 17:54:46 d3b661145439: Waiting 17:54:46 994393dc58e7: Waiting 17:54:46 48b66b1ffa41: Waiting 17:54:46 f3426d5b9376: Waiting 17:54:46 50191cf5d0a6: Layer already exists 17:54:46 550e596c6d0e: Layer already exists 17:54:46 6c13fb6fd417: Layer already exists 17:54:46 52e78b02817c: Layer already exists 17:54:46 1207169bf42c: Layer already exists 17:54:46 48b66b1ffa41: Layer already exists 17:54:46 4dcd9b4d3975: Layer already exists 17:54:46 b0b700e61b7e: Layer already exists 17:54:46 f3426d5b9376: Layer already exists 17:54:46 dd76baac411a: Layer already exists 17:54:46 d3b661145439: Layer already exists 17:54:46 994393dc58e7: Layer already exists 17:54:46 main: digest: sha256:2744dd49f322e10ccf25f6ab43ffd7043a45912a7c38702a3f2dd74b599fd16e size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:54:46 ===================================================== [Pipeline] echo 17:54:46 taggedImages: 17:54:46 - nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee 17:54:46 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 17:54:46 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.11 17:54:46 - nexus3.edgexfoundry.org:10004/device-usb-camera:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 17:54:46 - 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 17:54:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:47 17:54:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:47 latest: Pulling from edgex-lftools-log-publisher 17:54:47 5eb5b503b376: Pulling fs layer 17:54:47 5c69ac0246d0: Pulling fs layer 17:54:47 ec43610c2a17: Pulling fs layer 17:54:47 3a2ae6a8a46f: Pulling fs layer 17:54:47 33b1e0a273af: Pulling fs layer 17:54:47 5d3b04190fa2: Pulling fs layer 17:54:47 2f39f015ded8: Pulling fs layer 17:54:47 2f39f015ded8: Waiting 17:54:47 5d3b04190fa2: Waiting 17:54:47 33b1e0a273af: Waiting 17:54:47 3a2ae6a8a46f: Waiting 17:54:47 5c69ac0246d0: Verifying Checksum 17:54:47 5c69ac0246d0: Download complete 17:54:47 3a2ae6a8a46f: Download complete 17:54:47 33b1e0a273af: Verifying Checksum 17:54:47 33b1e0a273af: Download complete 17:54:47 ec43610c2a17: Verifying Checksum 17:54:47 ec43610c2a17: Download complete 17:54:47 5d3b04190fa2: Verifying Checksum 17:54:47 5d3b04190fa2: Download complete 17:54:47 5eb5b503b376: Download complete 17:54:48 2f39f015ded8: Download complete 17:54:49 5eb5b503b376: Pull complete 17:54:49 5c69ac0246d0: Pull complete 17:54:49 ec43610c2a17: Pull complete 17:54:49 3a2ae6a8a46f: Pull complete 17:54:50 33b1e0a273af: Pull complete 17:54:50 5d3b04190fa2: Pull complete 17:54:55 2f39f015ded8: Pull complete 17:54:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:55 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 17:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:57 $ docker top ef600b765c06ad214aa9bb0ff1c877a27557b9ebbaba88cc33534525100bd713 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:57 ---> job-cost.sh 17:54:57 lf-activate-venv: SKIPPING 17:54:57 INFO: No Stack... 17:54:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:58 INFO: Archiving Costs [Pipeline] sh 17:54:58 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 17:54:58 + cut -d, -f6 [Pipeline] lock 17:54:58 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] 17:54:58 Resource [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] did not exist. Created. 17:54:58 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:59 Stashed 1 file(s) [Pipeline] } 17:54:59 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:59 $ docker stop --time=1 ef600b765c06ad214aa9bb0ff1c877a27557b9ebbaba88cc33534525100bd713 17:55:00 $ docker rm -f ef600b765c06ad214aa9bb0ff1c877a27557b9ebbaba88cc33534525100bd713 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1845 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 17:56:16 Running in /w/workspace/device-usb-camera/50 [Pipeline] { [Pipeline] checkout 17:56:16 Selected Git installation does not exist. Using Default 17:56:16 The recommended git tool is: NONE 17:56:22 using credential edgex-jenkins-ssh 17:56:22 Cloning the remote Git repository 17:56:22 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:56:22 > git init /w/workspace/device-usb-camera/50 # timeout=10 17:56:22 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:56:22 > git --version # timeout=10 17:56:22 > git --version # 'git version 2.25.1' 17:56:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:22 Verifying host key using known hosts file 17:56:23 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. 17:56:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:23 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:56:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:24 Avoid second fetch 17:56:24 Checking out Revision 23873178f87621f494545d7f1b328385510a4cee (main) 17:56:25 Commit message: "docs: usb rtsp streaming guide and readme (#1) (#92)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:24 > git config core.sparsecheckout # timeout=10 17:56:24 > git checkout -f 23873178f87621f494545d7f1b328385510a4cee # timeout=10 17:56:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:26 Dload Upload Total Spent Left Speed 17:56:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 87360 0 --:--:-- --:--:-- --:--:-- 87360 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 17:56:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:56:27 + sudo tee /etc/docker/daemon.new 17:56:27 { 17:56:27 "registry-mirrors": [ 17:56:27 "https://nexus3.edgexfoundry.org:10001" 17:56:27 ], 17:56:27 "bip": "10.250.0.254/24", 17:56:27 "hosts": [ 17:56:27 "tcp://0.0.0.0:5555", 17:56:27 "unix:///var/run/docker.sock" 17:56:27 ], 17:56:27 "mtu": 1458, 17:56:27 "selinux-enabled": true, 17:56:27 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:27 } [Pipeline] sh 17:56:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:56:46 provisioning config files... 17:56:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/50@tmp/config3798915725031819895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:46 ---> docker-login.sh 17:56:46 nexus3.edgexfoundry.org:10001 17:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:46 Configure a credential helper to remove this warning. See 17:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:46 17:56:46 Login Succeeded 17:56:46 nexus3.edgexfoundry.org:10002 17:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:47 Configure a credential helper to remove this warning. See 17:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:47 17:56:47 Login Succeeded 17:56:47 nexus3.edgexfoundry.org:10003 17:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:47 Configure a credential helper to remove this warning. See 17:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:47 17:56:47 Login Succeeded 17:56:47 nexus3.edgexfoundry.org:10004 17:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:48 Configure a credential helper to remove this warning. See 17:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:48 17:56:48 Login Succeeded 17:56:48 docker.io 17:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:48 Configure a credential helper to remove this warning. See 17:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:48 17:56:48 Login Succeeded 17:56:48 ---> docker-login.sh ends [Pipeline] } 17:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:49 ========================================================= 17:56:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:56:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:49 + 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 . 17:56:49 Sending build context to Docker daemon 944.6kB 17:56:49 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:56:49 Step 2/13 : FROM ${BASE} AS builder 17:56:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:56:51 b3c136eddcbf: Pulling fs layer 17:56:51 c0a3192eca97: Pulling fs layer 17:56:51 a050256f5b6f: Pulling fs layer 17:56:51 656be50a0ddc: Pulling fs layer 17:56:51 2bbca73fdf42: Pulling fs layer 17:56:51 46d945488cbd: Pulling fs layer 17:56:51 8a5474983e97: Pulling fs layer 17:56:51 329c88fbcd65: Pulling fs layer 17:56:51 2bbca73fdf42: Waiting 17:56:51 46d945488cbd: Waiting 17:56:51 8a5474983e97: Waiting 17:56:51 656be50a0ddc: Waiting 17:56:51 329c88fbcd65: Waiting 17:56:51 a050256f5b6f: Download complete 17:56:51 c0a3192eca97: Verifying Checksum 17:56:51 c0a3192eca97: Download complete 17:56:51 2bbca73fdf42: Verifying Checksum 17:56:51 2bbca73fdf42: Download complete 17:56:51 46d945488cbd: Verifying Checksum 17:56:51 46d945488cbd: Download complete 17:56:51 b3c136eddcbf: Download complete 17:56:52 b3c136eddcbf: Pull complete 17:56:52 329c88fbcd65: Verifying Checksum 17:56:52 329c88fbcd65: Download complete 17:56:52 c0a3192eca97: Pull complete 17:56:52 a050256f5b6f: Pull complete 17:56:53 8a5474983e97: Verifying Checksum 17:56:53 8a5474983e97: Download complete 17:56:53 656be50a0ddc: Verifying Checksum 17:56:53 656be50a0ddc: Download complete 17:57:06 656be50a0ddc: Pull complete 17:57:06 2bbca73fdf42: Pull complete 17:57:06 46d945488cbd: Pull complete 17:57:11 8a5474983e97: Pull complete 17:57:14 329c88fbcd65: Pull complete 17:57:14 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:57:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:57:14 ---> ff4287adb874 17:57:14 Step 3/13 : ARG MAKE="make build" 17:57:15 ---> Running in 28afe4d280db 17:57:15 Removing intermediate container 28afe4d280db 17:57:15 ---> e5d184352247 17:57:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:57:15 ---> Running in 3d1544b6d3a6 17:57:15 Removing intermediate container 3d1544b6d3a6 17:57:15 ---> 47b0dec5692a 17:57:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:57:15 ---> Running in 4b92888943fe 17:57:15 Removing intermediate container 4b92888943fe 17:57:15 ---> 2459c5e43968 17:57:15 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:16 ---> Running in 03cbcfe7d015 17:57:18 Removing intermediate container 03cbcfe7d015 17:57:18 ---> 83366bada541 17:57:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:18 ---> Running in e102790ea913 17:57:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:57:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:57:20 (1/14) Installing libintl (0.21-r2) 17:57:20 (2/14) Installing eudev-libs (3.2.11-r0) 17:57:20 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:57:20 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:57:20 (5/14) Installing v4l-utils (1.22.1-r1) 17:57:21 (6/14) Installing udev-init-scripts (35-r0) 17:57:21 Executing udev-init-scripts-35-r0.post-install 17:57:21 (7/14) Installing libblkid (2.38-r1) 17:57:21 (8/14) Installing xz-libs (5.2.5-r1) 17:57:21 (9/14) Installing zstd-libs (1.5.2-r1) 17:57:21 (10/14) Installing kmod-libs (29-r2) 17:57:21 (11/14) Installing eudev (3.2.11-r0) 17:57:21 (12/14) Installing eudev-dev (3.2.11-r0) 17:57:21 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:57:22 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:57:22 Executing busybox-1.35.0-r13.trigger 17:57:22 Executing eudev-3.2.11-r0.trigger 17:57:22 OK: 228 MiB in 65 packages 17:57:23 Removing intermediate container e102790ea913 17:57:23 ---> c567fc33bd69 17:57:23 Step 8/13 : WORKDIR /device-usb-camera 17:57:23 ---> Running in 724869889dbe 17:57:23 Removing intermediate container 724869889dbe 17:57:23 ---> d64f18137dc5 17:57:23 Step 9/13 : COPY go.mod vendor* ./ 17:57:24 ---> 20b7ee2dc5fa 17:57:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:24 ---> Running in bf64c35f9e9a 17:58:11 Removing intermediate container bf64c35f9e9a 17:58:11 ---> 183e2ed59b63 17:58:11 Step 11/13 : COPY . . 17:58:11 ---> 21d5ea729940 17:58:11 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:58:11 ---> Running in 6a9213bfe799 17:58:12  % Total % Received % Xferd Average Speed Time Time Time Current 17:58:12 Dload Upload Total Spent Left Speed 17:58:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15440 0 --:--:-- --:--:-- --:--:-- 15617 17:58:13 Removing intermediate container 6a9213bfe799 17:58:13 ---> a2123d93f692 17:58:13 Step 13/13 : RUN ${MAKE} 17:58:13 ---> Running in 505bf3c8c49b 17:58:14 noop 17:58:15 Removing intermediate container 505bf3c8c49b 17:58:15 ---> d96425ff146f 17:58:15 Successfully built d96425ff146f 17:58:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:15 + docker inspect -f . ci-base-image-arm64 17:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:15 prd-ubuntu20.04-docker-arm64-4c-16g-1845 does not seem to be running inside a container 17:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/50 -v /w/workspace/device-usb-camera/50:/w/workspace/device-usb-camera/50:rw,z -v /w/workspace/device-usb-camera/50@tmp:/w/workspace/device-usb-camera/50@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 17:58:16 $ docker top 68ae9f787052dd5f1d7637cd98c38a2bb1bc3cbd1184d7e54723505f804fd4cf -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:17 + go version 17:58:17 go version go1.18.3 linux/arm64 [Pipeline] } 17:58:17 $ docker stop --time=1 68ae9f787052dd5f1d7637cd98c38a2bb1bc3cbd1184d7e54723505f804fd4cf 17:58:19 $ docker rm -f 68ae9f787052dd5f1d7637cd98c38a2bb1bc3cbd1184d7e54723505f804fd4cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:19 + docker inspect -f . ci-base-image-arm64 17:58:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:20 prd-ubuntu20.04-docker-arm64-4c-16g-1845 does not seem to be running inside a container 17:58:20 $ 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/50 -v /w/workspace/device-usb-camera/50:/w/workspace/device-usb-camera/50:rw,z -v /w/workspace/device-usb-camera/50@tmp:/w/workspace/device-usb-camera/50@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 17:58:21 $ docker top 6f1a90f1310365679a3197acc5f58632b418e5e47da3c54ca64748864fd50f0d -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:21 + git config --global --add safe.directory /w/workspace/device-usb-camera/50 [Pipeline] fileExists [Pipeline] sh 17:58:22 + make test 17:58:22 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:58:23 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:00:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:00:00 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 1.9% of statements 18:00:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:00:00 CGO_ENABLED=1 go vet ./... 18:00:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:00:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:00:22 ./bin/test-attribution-txt.sh 18:00:22 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 18:00:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:00:22 $ docker stop --time=1 6f1a90f1310365679a3197acc5f58632b418e5e47da3c54ca64748864fd50f0d 18:00:24 $ docker rm -f 6f1a90f1310365679a3197acc5f58632b418e5e47da3c54ca64748864fd50f0d [Pipeline] // withDockerContainer [Pipeline] sh 18:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:25 Warning: overwriting stash ‘coverage-report’ 18:00:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:26 + ls -al . 18:00:26 total 192 18:00:26 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 17:58 . 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:56 .. 18:00:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 17:56 .git 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:56 .github 18:00:26 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 17:56 .gitignore 18:00:26 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 17:56 .golangci.yml 18:00:26 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 17:56 .hadolint.yml 18:00:26 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 17:56 Attribution.txt 18:00:26 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 17:56 CHANGELOG.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 17:56 Dockerfile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 17:56 GOVERNANCE.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 17:56 Jenkinsfile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 17:56 LICENSE 18:00:26 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 17:56 Makefile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 17:56 OWNERS.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 5109 Sep 28 17:56 README.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 17:52 VERSION 18:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 17:56 bin 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:56 cmd 18:00:26 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 17:59 coverage.out 18:00:26 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 17:56 docker-entrypoint.sh 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:56 docs 18:00:26 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 17:56 go.mod 18:00:26 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 17:56 go.sum 18:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 17:56 internal 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 17:56 snap 18:00:26 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:27 + 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=23873178f87621f494545d7f1b328385510a4cee --label arch=arm64 --label version=2.3.0-dev.11 . 18:00:27 Sending build context to Docker daemon 974.8kB 18:00:27 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 18:00:27 Step 2/35 : FROM ${BASE} AS builder 18:00:27 ---> d96425ff146f 18:00:27 Step 3/35 : ARG MAKE="make build" 18:00:27 ---> Running in 342a541233c0 18:00:28 Removing intermediate container 342a541233c0 18:00:28 ---> 70149c831c7a 18:00:28 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:00:28 ---> Running in 0d2001d9b9cc 18:00:28 Removing intermediate container 0d2001d9b9cc 18:00:28 ---> 9273d8b0cadd 18:00:28 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:00:28 ---> Running in e85cf163a791 18:00:28 Removing intermediate container e85cf163a791 18:00:28 ---> 9579f61a9a1c 18:00:28 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:00:28 ---> Running in 9971f5034517 18:00:30 Removing intermediate container 9971f5034517 18:00:30 ---> 08fa6876cf4a 18:00:30 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:00:30 ---> Running in 0ef6877511e4 18:00:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:00:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:00:33 OK: 228 MiB in 65 packages 18:00:34 Removing intermediate container 0ef6877511e4 18:00:34 ---> 485aec3b5728 18:00:34 Step 8/35 : WORKDIR /device-usb-camera 18:00:34 ---> Running in eaab53a714b6 18:00:35 Removing intermediate container eaab53a714b6 18:00:35 ---> aecb196094ab 18:00:35 Step 9/35 : COPY go.mod vendor* ./ 18:00:35 ---> fade6bda80a0 18:00:35 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:00:35 ---> Running in 6d415418b4d8 18:00:38 Removing intermediate container 6d415418b4d8 18:00:38 ---> b3177b7ce2d9 18:00:38 Step 11/35 : COPY . . 18:00:40 ---> b35408739de2 18:00:40 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:00:40 ---> Running in eff8d0982600 18:00:41  % Total % Received % Xferd Average Speed Time Time Time Current 18:00:41 Dload Upload Total Spent Left Speed 18:00:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6682 0 --:--:-- --:--:-- --:--:-- 6721 18:00:42 Removing intermediate container eff8d0982600 18:00:42 ---> 3a1d0dc7bf5f 18:00:42 Step 13/35 : RUN ${MAKE} 18:00:42 ---> Running in 6406c20d4020 18:00:43 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.11 -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 18:03:35 Removing intermediate container 6406c20d4020 18:03:35 ---> c1d1b747b895 18:03:35 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:03:35 v0.18.4: Pulling from aler9/rtsp-simple-server 18:03:35 eab2503cf8f4: Pulling fs layer 18:03:35 97cd0a44c592: Pulling fs layer 18:03:35 97cd0a44c592: Verifying Checksum 18:03:35 97cd0a44c592: Download complete 18:03:35 eab2503cf8f4: Verifying Checksum 18:03:35 eab2503cf8f4: Download complete 18:03:35 eab2503cf8f4: Pull complete 18:03:35 97cd0a44c592: Pull complete 18:03:35 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:03:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:03:35 ---> 7f763cca56b3 18:03:35 Step 15/35 : FROM alpine:3.16 18:03:35 3.16: Pulling from library/alpine 18:03:35 9b18e9b68314: Pulling fs layer 18:03:35 9b18e9b68314: Verifying Checksum 18:03:35 9b18e9b68314: Download complete 18:03:35 9b18e9b68314: Pull complete 18:03:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:03:35 Status: Downloaded newer image for alpine:3.16 18:03:35 ---> a6215f271958 18:03:35 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:03:35 ---> Running in abb6bef17ac3 18:03:36 Removing intermediate container abb6bef17ac3 18:03:36 ---> 443686be5743 18:03:36 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:03:36 ---> Running in 5e648d2a5150 18:03:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:03:39 (1/82) Installing dumb-init (1.2.5-r1) 18:03:39 (2/82) Installing sdl2 (2.0.22-r0) 18:03:39 (3/82) Installing libxau (1.0.9-r0) 18:03:39 (4/82) Installing libxdmcp (1.1.3-r0) 18:03:39 (5/82) Installing libxcb (1.15-r0) 18:03:39 (6/82) Installing libx11 (1.8-r0) 18:03:39 (7/82) Installing aom-libs (3.3.0-r0) 18:03:39 (8/82) Installing alsa-lib (1.2.7.2-r0) 18:03:39 (9/82) Installing expat (2.4.9-r0) 18:03:39 (10/82) Installing brotli-libs (1.0.9-r6) 18:03:39 (11/82) Installing libbz2 (1.0.8-r1) 18:03:39 (12/82) Installing libpng (1.6.37-r1) 18:03:39 (13/82) Installing freetype (2.12.1-r0) 18:03:39 (14/82) Installing fontconfig (2.14.0-r0) 18:03:39 (15/82) Installing fribidi (1.0.12-r0) 18:03:39 (16/82) Installing libffi (3.4.2-r1) 18:03:39 (17/82) Installing libintl (0.21-r2) 18:03:39 (18/82) Installing libblkid (2.38-r1) 18:03:39 (19/82) Installing libmount (2.38-r1) 18:03:39 (20/82) Installing pcre (8.45-r2) 18:03:39 (21/82) Installing glib (2.72.1-r0) 18:03:39 (22/82) Installing graphite2 (1.3.14-r1) 18:03:39 (23/82) Installing harfbuzz (4.3.0-r0) 18:03:39 (24/82) Installing libass (0.16.0-r0) 18:03:39 (25/82) Installing libdav1d (1.0.0-r0) 18:03:39 (26/82) Installing libdrm (2.4.110-r0) 18:03:39 (27/82) Installing gmp (6.2.1-r2) 18:03:39 (28/82) Installing nettle (3.7.3-r0) 18:03:40 (29/82) Installing p11-kit (0.24.1-r0) 18:03:40 (30/82) Installing libtasn1 (4.18.0-r0) 18:03:40 (31/82) Installing libunistring (1.0-r0) 18:03:40 (32/82) Installing gnutls (3.7.7-r0) 18:03:40 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:03:40 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 18:03:40 (35/82) Installing lame (3.100-r0) 18:03:40 (36/82) Installing opus (1.3.1-r1) 18:03:40 (37/82) Installing libasyncns (0.8-r1) 18:03:40 (38/82) Installing dbus-libs (1.14.0-r1) 18:03:40 (39/82) Installing libltdl (2.4.7-r0) 18:03:40 (40/82) Installing orc (0.4.32-r0) 18:03:40 (41/82) Installing libgcc (11.2.1_git20220219-r2) 18:03:40 (42/82) Installing libogg (1.3.5-r1) 18:03:40 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 18:03:40 (44/82) Installing flac (1.3.4-r0) 18:03:40 (45/82) Installing libvorbis (1.3.7-r0) 18:03:40 (46/82) Installing libsndfile (1.1.0-r0) 18:03:40 (47/82) Installing libgomp (11.2.1_git20220219-r2) 18:03:40 (48/82) Installing soxr (0.1.3-r2) 18:03:40 (49/82) Installing speexdsp (1.2.0-r0) 18:03:40 (50/82) Installing tdb-libs (1.4.6-r0) 18:03:40 (51/82) Installing libpulse (15.0-r2) 18:03:40 (52/82) Installing cjson (1.7.15-r3) 18:03:40 (53/82) Installing mbedtls (2.28.1-r0) 18:03:40 (54/82) Installing librist (0.2.6-r1) 18:03:40 (55/82) Installing libsrt (1.4.4-r0) 18:03:40 (56/82) Installing libssh (0.9.6-r1) 18:03:40 (57/82) Installing libtheora (1.1.1-r16) 18:03:40 (58/82) Installing libjpeg-turbo (2.1.3-r1) 18:03:40 (59/82) Installing v4l-utils-libs (1.22.1-r1) 18:03:40 (60/82) Installing libxext (1.3.4-r0) 18:03:40 (61/82) Installing libxfixes (6.0.0-r0) 18:03:40 (62/82) Installing wayland-libs-client (1.20.0-r0) 18:03:40 (63/82) Installing libva (2.14.0-r0) 18:03:40 (64/82) Installing libvdpau (1.5-r0) 18:03:40 (65/82) Installing vidstab (1.1.0-r1) 18:03:40 (66/82) Installing libvpx (1.11.0-r1) 18:03:40 (67/82) Installing libwebp (1.2.3-r0) 18:03:40 (68/82) Installing x264-libs (0.163_git20210613-r0) 18:03:40 (69/82) Installing numactl (2.0.14-r0) 18:03:41 (70/82) Installing x265-libs (3.5-r3) 18:03:41 (71/82) Installing xvidcore (1.3.7-r1) 18:03:41 (72/82) Installing ffmpeg-libs (5.0.1-r1) 18:03:41 (73/82) Installing ffmpeg (5.0.1-r1) 18:03:41 (74/82) Installing udev-init-scripts (35-r0) 18:03:41 Executing udev-init-scripts-35-r0.post-install 18:03:41 (75/82) Installing eudev-libs (3.2.11-r0) 18:03:41 (76/82) Installing xz-libs (5.2.5-r1) 18:03:41 (77/82) Installing zstd-libs (1.5.2-r1) 18:03:41 (78/82) Installing kmod-libs (29-r2) 18:03:41 (79/82) Installing eudev (3.2.11-r0) 18:03:41 (80/82) Installing libsodium (1.0.18-r0) 18:03:41 (81/82) Installing libzmq (4.3.4-r0) 18:03:41 (82/82) Installing zeromq (4.3.4-r0) 18:03:41 Executing busybox-1.35.0-r17.trigger 18:03:41 Executing eudev-3.2.11-r0.trigger 18:03:41 OK: 78 MiB in 96 packages 18:03:45 Removing intermediate container 5e648d2a5150 18:03:45 ---> 13437c6cd7c7 18:03:45 Step 18/35 : WORKDIR / 18:03:45 ---> Running in f93a14d2be8b 18:03:45 Removing intermediate container f93a14d2be8b 18:03:45 ---> 56bc9a23c400 18:03:45 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:03:46 ---> 5e90c51e9bf7 18:03:46 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:03:47 ---> 6506e2bcde72 18:03:47 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:03:47 ---> 35f1905d74a9 18:03:47 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:03:48 ---> 00981dcc22f9 18:03:48 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:03:49 ---> 79ce86d56a90 18:03:49 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:03:49 ---> df3b140192cc 18:03:49 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:03:50 ---> 74f4ede6064c 18:03:50 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:03:50 ---> Running in 86ef9431ae6d 18:03:52 Removing intermediate container 86ef9431ae6d 18:03:52 ---> 27c5e6517006 18:03:52 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:03:52 ---> Running in 3fc4486e60af 18:03:54 Removing intermediate container 3fc4486e60af 18:03:54 ---> a8ef95945034 18:03:54 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:03:54 ---> Running in abfb569afe3d 18:03:56 Removing intermediate container abfb569afe3d 18:03:56 ---> c67961c1ff09 18:03:56 Step 29/35 : EXPOSE 59983 18:03:56 ---> Running in e4780603c77d 18:03:56 Removing intermediate container e4780603c77d 18:03:56 ---> 915b512918cb 18:03:56 Step 30/35 : EXPOSE 8554 18:03:56 ---> Running in d60063b77d92 18:03:56 Removing intermediate container d60063b77d92 18:03:56 ---> ab15d1221095 18:03:56 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:03:57 ---> Running in 81d5613948e6 18:03:57 Removing intermediate container 81d5613948e6 18:03:57 ---> 96412f0a9af0 18:03:57 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:03:57 ---> Running in 1fc8a71a418c 18:03:57 Removing intermediate container 1fc8a71a418c 18:03:57 ---> 82d291a19bf8 18:03:57 Step 33/35 : LABEL arch=arm64 18:03:57 ---> Running in 3d374ff201bc 18:03:58 Removing intermediate container 3d374ff201bc 18:03:58 ---> 7a7498c4e47a 18:03:58 Step 34/35 : LABEL git_sha=23873178f87621f494545d7f1b328385510a4cee 18:03:58 ---> Running in c3d27aad2b1b 18:03:58 Removing intermediate container c3d27aad2b1b 18:03:58 ---> a018a287c865 18:03:58 Step 35/35 : LABEL version=2.3.0-dev.11 18:03:58 ---> Running in b5bcf14a9d06 18:03:58 Removing intermediate container b5bcf14a9d06 18:03:58 ---> 8030a2cd3b4d 18:03:58 [Warning] One or more build-args [ARCH] were not consumed 18:03:58 Successfully built 8030a2cd3b4d 18:03:58 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 18:03:59 provisioning config files... 18:03:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/50@tmp/config10313324728965392613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:59 ---> docker-login.sh 18:03:59 nexus3.edgexfoundry.org:10001 18:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:59 Configure a credential helper to remove this warning. See 18:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:59 18:03:59 Login Succeeded 18:03:59 nexus3.edgexfoundry.org:10002 18:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:59 Configure a credential helper to remove this warning. See 18:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:59 18:03:59 Login Succeeded 18:03:59 nexus3.edgexfoundry.org:10003 18:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:00 Configure a credential helper to remove this warning. See 18:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:00 18:04:00 Login Succeeded 18:04:00 nexus3.edgexfoundry.org:10004 18:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:00 Configure a credential helper to remove this warning. See 18:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:00 18:04:00 Login Succeeded 18:04:00 docker.io 18:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:01 Configure a credential helper to remove this warning. See 18:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:01 18:04:01 Login Succeeded 18:04:01 ---> docker-login.sh ends [Pipeline] } 18:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:01 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 18:04:01 23873178f87621f494545d7f1b328385510a4cee 18:04:01 latest 18:04:01 2.3.0-dev.11 18:04:01 23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 18:04:01 main 18:04:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:01 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:02 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee 18:04:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:04:02 fe980878e7c8: Preparing 18:04:02 055d2c6a7cd4: Preparing 18:04:02 633631222aeb: Preparing 18:04:02 a43932d1df72: Preparing 18:04:02 1207169bf42c: Preparing 18:04:02 c94e64c85cae: Preparing 18:04:02 4669bea41c39: Preparing 18:04:02 bde83a60a7d1: Preparing 18:04:02 5e441902fd64: Preparing 18:04:02 f126942ba3d1: Preparing 18:04:02 94934cd3c87f: Preparing 18:04:02 5d3e392a13a0: Preparing 18:04:02 bde83a60a7d1: Waiting 18:04:02 5e441902fd64: Waiting 18:04:02 c94e64c85cae: Waiting 18:04:02 f126942ba3d1: Waiting 18:04:02 94934cd3c87f: Waiting 18:04:02 5d3e392a13a0: Waiting 18:04:02 4669bea41c39: Waiting 18:04:02 1207169bf42c: Pushed 18:04:02 fe980878e7c8: Pushed 18:04:02 633631222aeb: Pushed 18:04:02 055d2c6a7cd4: Pushed 18:04:02 c94e64c85cae: Pushed 18:04:02 4669bea41c39: Pushed 18:04:02 bde83a60a7d1: Pushed 18:04:02 5e441902fd64: Pushed 18:04:02 5d3e392a13a0: Layer already exists 18:04:06 a43932d1df72: Pushed 18:04:07 f126942ba3d1: Pushed 18:04:19 94934cd3c87f: Pushed 18:04:19 23873178f87621f494545d7f1b328385510a4cee: digest: sha256:54b97bcaf7ac05e90504b15dd754549f327dcaa74a3c039087dca7e07dbb99b7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:20 + 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 18:04:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:04:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:04:20 fe980878e7c8: Preparing 18:04:20 055d2c6a7cd4: Preparing 18:04:20 633631222aeb: Preparing 18:04:20 a43932d1df72: Preparing 18:04:20 1207169bf42c: Preparing 18:04:20 c94e64c85cae: Preparing 18:04:20 4669bea41c39: Preparing 18:04:20 bde83a60a7d1: Preparing 18:04:20 5e441902fd64: Preparing 18:04:20 f126942ba3d1: Preparing 18:04:20 94934cd3c87f: Preparing 18:04:20 5d3e392a13a0: Preparing 18:04:20 c94e64c85cae: Waiting 18:04:20 4669bea41c39: Waiting 18:04:20 bde83a60a7d1: Waiting 18:04:20 94934cd3c87f: Waiting 18:04:20 5d3e392a13a0: Waiting 18:04:20 5e441902fd64: Waiting 18:04:20 f126942ba3d1: Waiting 18:04:20 1207169bf42c: Layer already exists 18:04:20 055d2c6a7cd4: Layer already exists 18:04:20 fe980878e7c8: Layer already exists 18:04:20 633631222aeb: Layer already exists 18:04:20 a43932d1df72: Layer already exists 18:04:20 bde83a60a7d1: Layer already exists 18:04:20 c94e64c85cae: Layer already exists 18:04:20 4669bea41c39: Layer already exists 18:04:20 5e441902fd64: Layer already exists 18:04:20 f126942ba3d1: Layer already exists 18:04:20 5d3e392a13a0: Layer already exists 18:04:20 94934cd3c87f: Layer already exists 18:04:20 latest: digest: sha256:54b97bcaf7ac05e90504b15dd754549f327dcaa74a3c039087dca7e07dbb99b7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:21 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:21 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.11 18:04:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:04:21 fe980878e7c8: Preparing 18:04:21 055d2c6a7cd4: Preparing 18:04:21 633631222aeb: Preparing 18:04:21 a43932d1df72: Preparing 18:04:21 1207169bf42c: Preparing 18:04:21 c94e64c85cae: Preparing 18:04:21 4669bea41c39: Preparing 18:04:21 bde83a60a7d1: Preparing 18:04:21 5e441902fd64: Preparing 18:04:21 f126942ba3d1: Preparing 18:04:21 94934cd3c87f: Preparing 18:04:21 5d3e392a13a0: Preparing 18:04:21 c94e64c85cae: Waiting 18:04:21 4669bea41c39: Waiting 18:04:21 94934cd3c87f: Waiting 18:04:21 bde83a60a7d1: Waiting 18:04:21 f126942ba3d1: Waiting 18:04:21 5e441902fd64: Waiting 18:04:21 5d3e392a13a0: Waiting 18:04:21 fe980878e7c8: Layer already exists 18:04:21 a43932d1df72: Layer already exists 18:04:21 055d2c6a7cd4: Layer already exists 18:04:21 1207169bf42c: Layer already exists 18:04:21 633631222aeb: Layer already exists 18:04:21 4669bea41c39: Layer already exists 18:04:21 c94e64c85cae: Layer already exists 18:04:21 bde83a60a7d1: Layer already exists 18:04:21 f126942ba3d1: Layer already exists 18:04:21 5e441902fd64: Layer already exists 18:04:21 94934cd3c87f: Layer already exists 18:04:21 5d3e392a13a0: Layer already exists 18:04:21 2.3.0-dev.11: digest: sha256:54b97bcaf7ac05e90504b15dd754549f327dcaa74a3c039087dca7e07dbb99b7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:22 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:22 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 18:04:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:04:22 fe980878e7c8: Preparing 18:04:22 055d2c6a7cd4: Preparing 18:04:22 633631222aeb: Preparing 18:04:22 a43932d1df72: Preparing 18:04:22 1207169bf42c: Preparing 18:04:22 c94e64c85cae: Preparing 18:04:22 4669bea41c39: Preparing 18:04:22 bde83a60a7d1: Preparing 18:04:22 5e441902fd64: Preparing 18:04:22 f126942ba3d1: Preparing 18:04:22 94934cd3c87f: Preparing 18:04:22 5d3e392a13a0: Preparing 18:04:22 5e441902fd64: Waiting 18:04:22 c94e64c85cae: Waiting 18:04:22 f126942ba3d1: Waiting 18:04:22 94934cd3c87f: Waiting 18:04:22 4669bea41c39: Waiting 18:04:22 5d3e392a13a0: Waiting 18:04:22 bde83a60a7d1: Waiting 18:04:22 1207169bf42c: Layer already exists 18:04:22 fe980878e7c8: Layer already exists 18:04:22 055d2c6a7cd4: Layer already exists 18:04:22 633631222aeb: Layer already exists 18:04:22 a43932d1df72: Layer already exists 18:04:22 4669bea41c39: Layer already exists 18:04:22 c94e64c85cae: Layer already exists 18:04:22 5e441902fd64: Layer already exists 18:04:22 bde83a60a7d1: Layer already exists 18:04:22 f126942ba3d1: Layer already exists 18:04:22 94934cd3c87f: Layer already exists 18:04:22 5d3e392a13a0: Layer already exists 18:04:22 23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11: digest: sha256:54b97bcaf7ac05e90504b15dd754549f327dcaa74a3c039087dca7e07dbb99b7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:23 + 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 18:04:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 18:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:04:23 fe980878e7c8: Preparing 18:04:23 055d2c6a7cd4: Preparing 18:04:23 633631222aeb: Preparing 18:04:23 a43932d1df72: Preparing 18:04:23 1207169bf42c: Preparing 18:04:23 c94e64c85cae: Preparing 18:04:23 4669bea41c39: Preparing 18:04:23 bde83a60a7d1: Preparing 18:04:23 5e441902fd64: Preparing 18:04:23 f126942ba3d1: Preparing 18:04:23 94934cd3c87f: Preparing 18:04:23 5d3e392a13a0: Preparing 18:04:23 bde83a60a7d1: Waiting 18:04:23 5e441902fd64: Waiting 18:04:23 f126942ba3d1: Waiting 18:04:23 c94e64c85cae: Waiting 18:04:23 4669bea41c39: Waiting 18:04:23 94934cd3c87f: Waiting 18:04:23 fe980878e7c8: Layer already exists 18:04:23 a43932d1df72: Layer already exists 18:04:23 1207169bf42c: Layer already exists 18:04:23 055d2c6a7cd4: Layer already exists 18:04:23 633631222aeb: Layer already exists 18:04:23 c94e64c85cae: Layer already exists 18:04:23 4669bea41c39: Layer already exists 18:04:23 bde83a60a7d1: Layer already exists 18:04:23 5e441902fd64: Layer already exists 18:04:23 f126942ba3d1: Layer already exists 18:04:23 94934cd3c87f: Layer already exists 18:04:23 5d3e392a13a0: Layer already exists 18:04:23 main: digest: sha256:54b97bcaf7ac05e90504b15dd754549f327dcaa74a3c039087dca7e07dbb99b7 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:23 ===================================================== [Pipeline] echo 18:04:23 taggedImages: 18:04:23 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee 18:04:23 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:04:23 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.11 18:04:23 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:23873178f87621f494545d7f1b328385510a4cee-2.3.0-dev.11 18:04:23 - 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 18:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:24 18:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:24 arm64: Pulling from edgex-lftools-log-publisher 18:04:24 8998bd30e6a1: Pulling fs layer 18:04:24 04944245beec: Pulling fs layer 18:04:24 699f458cf7ca: Pulling fs layer 18:04:24 765212b225bb: Pulling fs layer 18:04:24 f23df028b6ca: Pulling fs layer 18:04:24 d65c8cfc05b1: Pulling fs layer 18:04:24 2437ff75d9bd: Pulling fs layer 18:04:24 765212b225bb: Waiting 18:04:24 f23df028b6ca: Waiting 18:04:24 d65c8cfc05b1: Waiting 18:04:24 2437ff75d9bd: Waiting 18:04:24 04944245beec: Verifying Checksum 18:04:24 04944245beec: Download complete 18:04:24 765212b225bb: Verifying Checksum 18:04:24 765212b225bb: Download complete 18:04:24 f23df028b6ca: Download complete 18:04:24 d65c8cfc05b1: Verifying Checksum 18:04:24 d65c8cfc05b1: Download complete 18:04:24 699f458cf7ca: Verifying Checksum 18:04:24 699f458cf7ca: Download complete 18:04:25 8998bd30e6a1: Verifying Checksum 18:04:25 8998bd30e6a1: Download complete 18:04:27 2437ff75d9bd: Verifying Checksum 18:04:27 2437ff75d9bd: Download complete 18:04:29 8998bd30e6a1: Pull complete 18:04:29 04944245beec: Pull complete 18:04:31 699f458cf7ca: Pull complete 18:04:31 765212b225bb: Pull complete 18:04:32 f23df028b6ca: Pull complete 18:04:32 d65c8cfc05b1: Pull complete 18:04:47 2437ff75d9bd: Pull complete 18:04:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:47 prd-ubuntu20.04-docker-arm64-4c-16g-1845 does not seem to be running inside a container 18:04:47 $ 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/50 -v /w/workspace/device-usb-camera/50:/w/workspace/device-usb-camera/50:rw,z -v /w/workspace/device-usb-camera/50@tmp:/w/workspace/device-usb-camera/50@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 18:04:50 $ docker top a0aef52fc361e2df4cc7d3c8c9bc83447c1ec2ccbf4096647aec4671466efcaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:51 ---> job-cost.sh 18:04:51 lf-activate-venv: SKIPPING 18:04:51 INFO: No Stack... 18:04:52 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:53 INFO: Archiving Costs [Pipeline] sh 18:04:53 + cat /w/workspace/device-usb-camera/50/archives/cost.csv 18:04:53 + cut -d, -f6 [Pipeline] lock 18:04:53 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] 18:04:53 Resource [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] did not exist. Created. 18:04:53 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:54 /w/workspace/device-usb-camera/50@tmp/durable-d8b7f0fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:55 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:55 Warning: overwriting stash ‘stack-cost’ 18:04:55 Stashed 1 file(s) [Pipeline] } 18:04:55 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:55 $ docker stop --time=1 a0aef52fc361e2df4cc7d3c8c9bc83447c1ec2ccbf4096647aec4671466efcaa 18:04:56 $ docker rm -f a0aef52fc361e2df4cc7d3c8c9bc83447c1ec2ccbf4096647aec4671466efcaa [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 18:04:57 provisioning config files... 18:04:57 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9950069650659748447tmp [Pipeline] { [Pipeline] sh 18:04:57 + set +x 18:04:57 + curl -s https://codecov.io/bash 18:04:57 + bash -s -- 18:04:57 18:04:57 _____ _ 18:04:57 / ____| | | 18:04:57 | | ___ __| | ___ ___ _____ __ 18:04:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:57 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:57 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:57 Bash-1.0.6 18:04:57 18:04:57 18:04:57 ==> git version 2.25.1 found 18:04:57 ==> 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 18:04:57 Release-Date: 2020-01-08 18:04:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:57 ==> Jenkins CI detected. 18:04:57 current dir:  /w/workspace/exfoundry_device-usb-camera_main 18:04:57 project root: . 18:04:57 --> token set from env 18:04:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:57 ==> Running gcov in . (disable via -X gcov) 18:04:57 ==> Python coveragepy not found 18:04:57 ==> Searching for coverage reports in: 18:04:57 + . 18:04:57 -> Found 1 reports 18:04:57 ==> Detecting git/mercurial file structure 18:04:57 ==> Reading reports 18:04:57 + ./coverage.out bytes=29387 18:04:57 ==> Appending adjustments 18:04:57 https://docs.codecov.io/docs/fixing-reports 18:04:57 + Found adjustments 18:04:57 ==> Gzipping contents 18:04:57 8.0K /tmp/codecov.mHCrqk.gz 18:04:57 ==> Uploading reports 18:04:57 url: https://codecov.io 18:04:57 query: branch=main&commit=23873178f87621f494545d7f1b328385510a4cee&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:57 -> Pinging Codecov 18:04:57 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=23873178f87621f494545d7f1b328385510a4cee&build=50&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F50%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:58 -> Uploading to 18:04:58 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/73D8F5FF140700D3E01443B452E23636/23873178f87621f494545d7f1b328385510a4cee/21bbcca4-fc6c-48b2-ae9c-463597bb02d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T180457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b2515f5595d46bdefb03ec6fa0126260cd7b6fadece562644509558e2db4185 18:04:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:58 Dload Upload Total Spent Left Speed 18:04:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4135 0 0 100 4135 0 16215 --:--:-- --:--:-- --:--:-- 16215 18:04:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/23873178f87621f494545d7f1b328385510a4cee [Pipeline] } 18:04:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:04:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:04:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:58 18:04:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:04:59 df9b9388f04a: Pulling fs layer 18:04:59 52dc419b0ee2: Pulling fs layer 18:04:59 25bc292e5bac: Pulling fs layer 18:04:59 114826534d7a: Pulling fs layer 18:04:59 4657fd5d0bcf: Pulling fs layer 18:04:59 6ad1cebc031e: Pulling fs layer 18:04:59 8a3aa393b2d8: Pulling fs layer 18:04:59 114826534d7a: Waiting 18:04:59 6ad1cebc031e: Waiting 18:04:59 4657fd5d0bcf: Waiting 18:04:59 8a3aa393b2d8: Waiting 18:04:59 52dc419b0ee2: Verifying Checksum 18:04:59 52dc419b0ee2: Download complete 18:04:59 4657fd5d0bcf: Verifying Checksum 18:04:59 4657fd5d0bcf: Download complete 18:04:59 df9b9388f04a: Download complete 18:04:59 df9b9388f04a: Pull complete 18:04:59 6ad1cebc031e: Verifying Checksum 18:04:59 6ad1cebc031e: Download complete 18:04:59 52dc419b0ee2: Pull complete 18:04:59 25bc292e5bac: Pull complete 18:05:00 114826534d7a: Verifying Checksum 18:05:00 114826534d7a: Download complete 18:05:00 8a3aa393b2d8: Verifying Checksum 18:05:00 8a3aa393b2d8: Download complete 18:05:04 114826534d7a: Pull complete 18:05:04 4657fd5d0bcf: Pull complete 18:05:04 6ad1cebc031e: Pull complete 18:05:07 8a3aa393b2d8: Pull complete 18:05:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:05:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:07 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:07 $ 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 18:05:10 $ docker top 76e815cb0572f7d44e41eb1888b877bfaa7a5fffd1056e770620198e958c97dc -eo pid,comm [Pipeline] { [Pipeline] echo 18:05:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 18:05:10 + set -o pipefail 18:05:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 18:05:15 18:05:15 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 18:05:15 18:05:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/3fc8ec87-f780-4ffd-ad83-e9434b3d1969 18:05:15 18:05:15 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:05:15 18:05:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:05:15 18:05:16 [Pipeline] } 18:05:16 $ docker stop --time=1 76e815cb0572f7d44e41eb1888b877bfaa7a5fffd1056e770620198e958c97dc 18:05:18 $ docker rm -f 76e815cb0572f7d44e41eb1888b877bfaa7a5fffd1056e770620198e958c97dc [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 18:05:19 + git log --format=format:%s -1 23873178f87621f494545d7f1b328385510a4cee [Pipeline] sh 18:05:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:19 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:19 $ 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 18:05:20 $ docker top c0d79fcd2e68d0b5440745427fa56fc37bae21aa8bfc04621c9b344f53f6dc00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:20 [ssh-agent] Looking for ssh-agent implementation... 18:05:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:20 $ docker exec c0d79fcd2e68d0b5440745427fa56fc37bae21aa8bfc04621c9b344f53f6dc00 ssh-agent 18:05:20 SSH_AUTH_SOCK=/tmp/ssh-GNuK08miDRqv/agent.32 18:05:20 SSH_AGENT_PID=38 18:05:20 Running ssh-add (command line suppressed) 18:05:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9380122621429283906.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9380122621429283906.key) 18:05:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:20 + git semver tag 18:05:21 2022-09-28 18:05:21,024 [run_tag] DEBUG tag force:False 18:05:21 2022-09-28 18:05:21,024 [check_head_tag] DEBUG check head tag 18:05:21 2022-09-28 18:05:21,025 [execute] INFO git cat-file --batch-check 18:05:21 2022-09-28 18:05:21,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:05:21 2022-09-28 18:05:21,029 [execute] INFO git cat-file --batch 18:05:21 2022-09-28 18:05:21,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:05:21 2022-09-28 18:05:21,043 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:21 2022-09-28 18:05:21,043 [execute] INFO git tag -a v2.3.0-dev.11 -m v2.3.0-dev.11 18:05:21 2022-09-28 18:05:21,043 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.11', '-m', 'v2.3.0-dev.11'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:05:21 2022-09-28 18:05:21,048 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:21 2.3.0-dev.11 [Pipeline] } 18:05:21 $ docker exec --env ******** --env ******** c0d79fcd2e68d0b5440745427fa56fc37bae21aa8bfc04621c9b344f53f6dc00 ssh-agent -k 18:05:21 unset SSH_AUTH_SOCK; 18:05:21 unset SSH_AGENT_PID; 18:05:21 echo Agent pid 38 killed; 18:05:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:21 + git semver [Pipeline] } 18:05:21 $ docker stop --time=1 c0d79fcd2e68d0b5440745427fa56fc37bae21aa8bfc04621c9b344f53f6dc00 18:05:23 $ docker rm -f c0d79fcd2e68d0b5440745427fa56fc37bae21aa8bfc04621c9b344f53f6dc00 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:23 18:05:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:23 0.23.1-centos7: Pulling from edgex-lftools 18:05:23 ab5ef0e58194: Pulling fs layer 18:05:23 9712f1f96733: Pulling fs layer 18:05:23 63f879dbbcfc: Pulling fs layer 18:05:23 0d9ebad4ef96: Pulling fs layer 18:05:23 e9a5061849ea: Pulling fs layer 18:05:23 d747dcd14b5f: Pulling fs layer 18:05:23 2de7ff778b66: Pulling fs layer 18:05:23 0d9ebad4ef96: Waiting 18:05:23 e9a5061849ea: Waiting 18:05:23 d747dcd14b5f: Waiting 18:05:23 2de7ff778b66: Waiting 18:05:23 9712f1f96733: Verifying Checksum 18:05:23 9712f1f96733: Download complete 18:05:24 63f879dbbcfc: Verifying Checksum 18:05:24 63f879dbbcfc: Download complete 18:05:24 e9a5061849ea: Verifying Checksum 18:05:24 e9a5061849ea: Download complete 18:05:24 d747dcd14b5f: Verifying Checksum 18:05:24 d747dcd14b5f: Download complete 18:05:24 ab5ef0e58194: Verifying Checksum 18:05:24 ab5ef0e58194: Download complete 18:05:24 2de7ff778b66: Verifying Checksum 18:05:24 2de7ff778b66: Download complete 18:05:24 0d9ebad4ef96: Verifying Checksum 18:05:24 0d9ebad4ef96: Download complete 18:05:27 ab5ef0e58194: Pull complete 18:05:27 9712f1f96733: Pull complete 18:05:28 63f879dbbcfc: Pull complete 18:05:32 0d9ebad4ef96: Pull complete 18:05:32 e9a5061849ea: Pull complete 18:05:32 d747dcd14b5f: Pull complete 18:05:33 2de7ff778b66: Pull complete 18:05:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:33 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:34 $ 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 18:05:36 $ docker top 9b9623d3e13972596a0aa479e3581262349ae77636104218c5f17fd781261d7e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:05:36 provisioning config files... 18:05:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8132421157604642198tmp 18:05:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9520793067523390342tmp 18:05:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14904934773958979326tmp [Pipeline] { [Pipeline] echo 18:05:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:05:36 ---> sigul-configuration.sh 18:05:36 gpg: directory `/root/.gnupg' created 18:05:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:05:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:05:36 gpg: keyring `/root/.gnupg/secring.gpg' created 18:05:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:05:36 gpg: CAST5 encrypted data 18:05:36 gpg: encrypted with 1 passphrase 18:05:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:05:37 + mkdir /home/jenkins 18:05:37 + mkdir /home/jenkins/sigul [Pipeline] sh 18:05:37 + 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 18:05:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:05:37 ---> sigul-install.sh 18:05:37 Sigul already installed; skipping installation. [Pipeline] sh 18:05:38 + git tag --list 18:05:38 v0.0.0 18:05:38 v0.0.1-dev.1 18:05:38 v0.0.1-dev.10 18:05:38 v0.0.1-dev.11 18:05:38 v0.0.1-dev.12 18:05:38 v0.0.1-dev.13 18:05:38 v0.0.1-dev.14 18:05:38 v0.0.1-dev.15 18:05:38 v0.0.1-dev.16 18:05:38 v0.0.1-dev.2 18:05:38 v0.0.1-dev.3 18:05:38 v0.0.1-dev.4 18:05:38 v0.0.1-dev.5 18:05:38 v0.0.1-dev.6 18:05:38 v0.0.1-dev.7 18:05:38 v0.0.1-dev.8 18:05:38 v0.0.1-dev.9 18:05:38 v2.2.0 18:05:38 v2.2.0-dev.17 18:05:38 v2.2.0-dev.18 18:05:38 v2.2.0-dev.19 18:05:38 v2.2.0-dev.20 18:05:38 v2.2.0-dev.21 18:05:38 v2.2.0-dev.22 18:05:38 v2.2.0-dev.23 18:05:38 v2.2.0-dev.24 18:05:38 v2.2.0-dev.25 18:05:38 v2.2.0-dev.26 18:05:38 v2.2.0-dev.27 18:05:38 v2.3.0-dev.1 18:05:38 v2.3.0-dev.10 18:05:38 v2.3.0-dev.11 18:05:38 v2.3.0-dev.2 18:05:38 v2.3.0-dev.3 18:05:38 v2.3.0-dev.4 18:05:38 v2.3.0-dev.5 18:05:38 v2.3.0-dev.6 18:05:38 v2.3.0-dev.7 18:05:38 v2.3.0-dev.8 18:05:38 v2.3.0-dev.9 [Pipeline] sh 18:05:38 + lftools sign git-tag v2.3.0-dev.11 18:05:38 Signing Git tag with Sigul... 18:05:38 Signing v2.3.0-dev.11 [Pipeline] echo 18:05:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:05:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:05:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:05:39 $ docker stop --time=1 9b9623d3e13972596a0aa479e3581262349ae77636104218c5f17fd781261d7e 18:05:40 $ docker rm -f 9b9623d3e13972596a0aa479e3581262349ae77636104218c5f17fd781261d7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:05:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:41 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:41 $ 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 18:05:42 $ docker top fcd536c4c02abe9385ed10635ed0c086c7dceae00940aafc8b4835d0c576043c -eo pid,comm 18:05:42 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). 18:05:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:42 [ssh-agent] Looking for ssh-agent implementation... 18:05:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:42 $ docker exec fcd536c4c02abe9385ed10635ed0c086c7dceae00940aafc8b4835d0c576043c ssh-agent 18:05:42 SSH_AUTH_SOCK=/tmp/ssh-lhwqx1LvgkKa/agent.32 18:05:42 SSH_AGENT_PID=38 18:05:42 Running ssh-add (command line suppressed) 18:05:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9280079764966763155.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9280079764966763155.key) 18:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:42 + git semver bump pre 18:05:43 2022-09-28 18:05:43,036 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:43 2022-09-28 18:05:43,036 [bump_version] DEBUG bumping version:2.3.0-dev.11 on axis:pre with prefix:dev 18:05:43 2022-09-28 18:05:43,036 [bump_version] DEBUG bumped version:2.3.0-dev.12 18:05:43 2022-09-28 18:05:43,036 [write_version] DEBUG write version:2.3.0-dev.12 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 18:05:43 2022-09-28 18:05:43,037 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:43 2022-09-28 18:05:43,037 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:43 2022-09-28 18:05:43,041 [execute] INFO git cat-file --batch-check 18:05:43 2022-09-28 18:05:43,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:43 2022-09-28 18:05:43,048 [execute] INFO git cat-file --batch 18:05:43 2022-09-28 18:05:43,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:43 2022-09-28 18:05:43,053 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:43 2.3.0-dev.12 [Pipeline] } 18:05:43 $ docker exec --env ******** --env ******** fcd536c4c02abe9385ed10635ed0c086c7dceae00940aafc8b4835d0c576043c ssh-agent -k 18:05:43 unset SSH_AUTH_SOCK; 18:05:43 unset SSH_AGENT_PID; 18:05:43 echo Agent pid 38 killed; 18:05:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:43 + git semver [Pipeline] } 18:05:43 $ docker stop --time=1 fcd536c4c02abe9385ed10635ed0c086c7dceae00940aafc8b4835d0c576043c 18:05:45 $ docker rm -f fcd536c4c02abe9385ed10635ed0c086c7dceae00940aafc8b4835d0c576043c [Pipeline] // withDockerContainer [Pipeline] sh 18:05:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:45 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:45 $ 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 18:05:46 $ docker top a3931dd92dd690b60e667c4990e836f5bcbd78115fb555739747589c935c1ab8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:46 [ssh-agent] Looking for ssh-agent implementation... 18:05:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:46 $ docker exec a3931dd92dd690b60e667c4990e836f5bcbd78115fb555739747589c935c1ab8 ssh-agent 18:05:46 SSH_AUTH_SOCK=/tmp/ssh-ar0Y31Hvjmz2/agent.32 18:05:46 SSH_AGENT_PID=38 18:05:46 Running ssh-add (command line suppressed) 18:05:46 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10772060371399271734.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10772060371399271734.key) 18:05:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:46 + git semver push 18:05:47 2022-09-28 18:05:47,174 [run_push] DEBUG push 18:05:47 2022-09-28 18:05:47,174 [execute] INFO git cat-file --batch-check 18:05:47 2022-09-28 18:05:47,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:47 2022-09-28 18:05:47,179 [execute] INFO git rev-list 0e96753b06fbd4a8aff58522fbe4ebfeeb0a6c52 -- 18:05:47 2022-09-28 18:05:47,179 [execute] DEBUG Popen(['git', 'rev-list', '0e96753b06fbd4a8aff58522fbe4ebfeeb0a6c52', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:47 2022-09-28 18:05:47,186 [execute] INFO git fetch -v origin 18:05:47 2022-09-28 18:05:47,186 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:05:47 2022-09-28 18:05:47,769 [run_push] DEBUG no remote changes detected 18:05:47 2022-09-28 18:05:47,769 [execute] INFO git push origin semver 18:05:47 2022-09-28 18:05:47,770 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:48 2022-09-28 18:05:48,598 [run_push] DEBUG push all version tags 18:05:48 2022-09-28 18:05:48,598 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:05:48 2022-09-28 18:05:48,598 [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) 18:05:49 2022-09-28 18:05:49,416 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:05:49 2.3.0-dev.12 [Pipeline] } 18:05:49 $ docker exec --env ******** --env ******** a3931dd92dd690b60e667c4990e836f5bcbd78115fb555739747589c935c1ab8 ssh-agent -k 18:05:49 unset SSH_AUTH_SOCK; 18:05:49 unset SSH_AGENT_PID; 18:05:49 echo Agent pid 38 killed; 18:05:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:50 + git semver [Pipeline] } 18:05:50 $ docker stop --time=1 a3931dd92dd690b60e667c4990e836f5bcbd78115fb555739747589c935c1ab8 18:05:51 $ docker rm -f a3931dd92dd690b60e667c4990e836f5bcbd78115fb555739747589c935c1ab8 [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 18:05:52 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 18:05:52 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:05:52 total 16 18:05:52 drwxr-xr-x 3 root root 4096 Sep 28 17:54 . 18:05:52 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 18:05 .. 18:05:52 drwxr-xr-x 2 root root 4096 Sep 28 17:54 cost 18:05:52 -rw-r--r-- 1 root root 88 Sep 28 17:54 cost.csv 18:05:52 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 18:05:52 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:05:52 total 16 18:05:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 17:54 . 18:05:52 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 18:05 .. 18:05:52 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 17:54 cost 18:05:52 -rw-r--r-- 1 jenkins jenkins 88 Sep 28 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:53 ---> package-listing.sh 18:05:53 ++ facter osfamily 18:05:53 ++ tr '[:upper:]' '[:lower:]' 18:05:53 + OS_FAMILY=debian 18:05:53 + workspace=/w/workspace/exfoundry_device-usb-camera_main 18:05:53 + START_PACKAGES=/tmp/packages_start.txt 18:05:53 + END_PACKAGES=/tmp/packages_end.txt 18:05:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:53 + PACKAGES=/tmp/packages_start.txt 18:05:53 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:05:53 + PACKAGES=/tmp/packages_end.txt 18:05:53 + case "${OS_FAMILY}" in 18:05:53 + dpkg -l 18:05:53 + grep '^ii' 18:05:53 + '[' -f /tmp/packages_start.txt ']' 18:05:53 + '[' -f /tmp/packages_end.txt ']' 18:05:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:53 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:05:53 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 18:05:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 18:05:53 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 18:05:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:54 prd-ubuntu20.04-docker-8c-8g-1844 does not seem to be running inside a container 18:05:54 $ 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 18:05:54 $ docker top 222733a0408c05d85012bcd510750ae826ac1aad289a0ebc3755d5efe6d58797 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:55 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:55 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:55 + ls /var/log/sa-host 18:05:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:55 provisioning config files... 18:05:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5404861637080434215tmp [Pipeline] { [Pipeline] echo 18:05:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:56 ---> create-netrc.sh [Pipeline] } 18:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:56 ---> python-tools-install.sh [Pipeline] echo 18:05:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:56 ---> sudo-logs.sh 18:05:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:56 ---> job-cost.sh 18:05:56 lf-activate-venv: SKIPPING 18:05:56 DEBUG: total: 0.2199999988079071 18:05:56 INFO: Retrieving Stack Cost... 18:05:57 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:57 INFO: Archiving Costs [Pipeline] echo 18:05:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:58 ---> logs-deploy.sh 18:05:58 lf-activate-venv: SKIPPING 18:05:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/50 18:05:58 INFO: archiving workspace using pattern(s): 18:05:59 Archives upload complete. 18:05:59 INFO: archiving logs to Nexus 18:05:59 ---> uname -a: 18:05:59 Linux prd-ubuntu20-04-docker-8c-8g-1844 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:05:59 18:05:59 18:05:59 ---> lscpu: 18:05:59 Architecture: x86_64 18:05:59 CPU op-mode(s): 32-bit, 64-bit 18:05:59 Byte Order: Little Endian 18:05:59 Address sizes: 40 bits physical, 48 bits virtual 18:05:59 CPU(s): 8 18:05:59 On-line CPU(s) list: 0-7 18:05:59 Thread(s) per core: 1 18:05:59 Core(s) per socket: 1 18:05:59 Socket(s): 8 18:05:59 NUMA node(s): 1 18:05:59 Vendor ID: AuthenticAMD 18:05:59 CPU family: 23 18:05:59 Model: 49 18:05:59 Model name: AMD EPYC-Rome Processor 18:05:59 Stepping: 0 18:05:59 CPU MHz: 2799.994 18:05:59 BogoMIPS: 5599.98 18:05:59 Virtualization: AMD-V 18:05:59 Hypervisor vendor: KVM 18:05:59 Virtualization type: full 18:05:59 L1d cache: 256 KiB 18:05:59 L1i cache: 256 KiB 18:05:59 L2 cache: 4 MiB 18:05:59 L3 cache: 128 MiB 18:05:59 NUMA node0 CPU(s): 0-7 18:05:59 Vulnerability Itlb multihit: Not affected 18:05:59 Vulnerability L1tf: Not affected 18:05:59 Vulnerability Mds: Not affected 18:05:59 Vulnerability Meltdown: Not affected 18:05:59 Vulnerability Mmio stale data: Not affected 18:05:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:05:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:05:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:05:59 Vulnerability Srbds: Not affected 18:05:59 Vulnerability Tsx async abort: Not affected 18:05:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:05:59 18:05:59 18:05:59 ---> nproc: 18:05:59 8 18:05:59 18:05:59 18:05:59 ---> df -h: 18:05:59 Filesystem Size Used Avail Use% Mounted on 18:05:59 overlay 155G 13G 143G 9% / 18:05:59 tmpfs 64M 0 64M 0% /dev 18:05:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:05:59 shm 64M 0 64M 0% /dev/shm 18:05:59 /dev/vda1 155G 13G 143G 9% /facter-os 18:05:59 18:05:59