Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00fef7e065bed1f02203b218570c3778d916ab48 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-ssh3948439757134075787.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-ssh17231387985436767718.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-ssh15752442311530297966.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-ssh9324649078407119485.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-ssh7591048837579682763.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-1809’ Running on prd-ubuntu20.04-docker-8c-8g-1812 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 00fef7e065bed1f02203b218570c3778d916ab48 (main) Commit message: "Merge pull request #91 from hahattan/internal" > 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 00fef7e065bed1f02203b218570c3778d916ab48 # timeout=10 > git rev-list --no-walk 9d1c11cd5ef3cc85f13508c1a424f1ce30faa340 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:03:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:03:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:03:13 ========================================================= 09:03:13 EdgeX Global Pipelines Version Info 09:03:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:03:14 ------------------- 09:03:14 stable info: 09:03:14 ------------------- 09:03:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:03:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:03:14 Message: update stable to v1.0.239 09:03:14 ------------------- 09:03:14 experimental info: 09:03:14 ------------------- 09:03:14 Commited By: **** collab-it+edgex@linuxfoundation.org 09:03:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:03:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:03:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00fef7e [Pipeline] echo 09:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:15 provisioning config files... 09:03:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14100245013730012223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:15 ---> docker-login.sh 09:03:15 nexus3.edgexfoundry.org:10001 09:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:15 Configure a credential helper to remove this warning. See 09:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:15 09:03:15 Login Succeeded 09:03:15 nexus3.edgexfoundry.org:10002 09:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:15 Configure a credential helper to remove this warning. See 09:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:15 09:03:15 Login Succeeded 09:03:15 nexus3.edgexfoundry.org:10003 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 nexus3.edgexfoundry.org:10004 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 docker.io 09:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:16 Configure a credential helper to remove this warning. See 09:03:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:16 09:03:16 Login Succeeded 09:03:16 ---> docker-login.sh ends [Pipeline] } 09:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:03:16 + git rev-list -1 --merges 00fef7e065bed1f02203b218570c3778d916ab48~1..00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] echo 09:03:16 -----------> git rev-list -1 --merges 00fef7e065bed1f02203b218570c3778d916ab48~1..00fef7e065bed1f02203b218570c3778d916ab48 00fef7e065bed1f02203b218570c3778d916ab48 09:03:16 00fef7e065bed1f02203b218570c3778d916ab48 [false] [Pipeline] sh 09:03:17 + git log --format=format:%s -1 00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] echo 09:03:17 ========================================================= 09:03:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:03:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:17 + git log --format=format:%s -1 00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] echo 09:03:17 [semverPrep] GIT_COMMIT: 00fef7e065bed1f02203b218570c3778d916ab48, Commit Message: Merge pull request #91 from hahattan/internal [Pipeline] echo 09:03:17 [semverPrep] This is not a build commit. [Pipeline] sh 09:03:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:03:17 + grep -v github /etc/ssh/ssh_known_hosts 09:03:17 + [ -e /tmp/ssh_known_hosts ] 09:03:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:03:17 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:03:17 sudo tee -a /etc/ssh/ssh_known_hosts 09:03:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:18 09:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:18 0.1.4: Pulling from edgex-devops/py-git-semver 09:03:18 b85a868b505f: Pulling fs layer 09:03:18 e2be974225ed: Pulling fs layer 09:03:18 339a4e72a1f5: Pulling fs layer 09:03:18 988bab9f4d93: Pulling fs layer 09:03:18 1469e6f7b9e6: Pulling fs layer 09:03:18 eaf3925da568: Pulling fs layer 09:03:18 bab4dde63d76: Pulling fs layer 09:03:18 bde34c3a00c8: Pulling fs layer 09:03:18 b352a97aabf1: Pulling fs layer 09:03:18 4872d77fe225: Pulling fs layer 09:03:18 5851b861e8e6: Pulling fs layer 09:03:18 988bab9f4d93: Waiting 09:03:18 1469e6f7b9e6: Waiting 09:03:18 bde34c3a00c8: Waiting 09:03:18 b352a97aabf1: Waiting 09:03:18 4872d77fe225: Waiting 09:03:18 eaf3925da568: Waiting 09:03:18 bab4dde63d76: Waiting 09:03:18 5851b861e8e6: Waiting 09:03:18 e2be974225ed: Download complete 09:03:18 988bab9f4d93: Verifying Checksum 09:03:18 988bab9f4d93: Download complete 09:03:18 1469e6f7b9e6: Verifying Checksum 09:03:18 1469e6f7b9e6: Download complete 09:03:18 eaf3925da568: Download complete 09:03:18 b85a868b505f: Verifying Checksum 09:03:18 b85a868b505f: Download complete 09:03:18 bde34c3a00c8: Download complete 09:03:18 339a4e72a1f5: Verifying Checksum 09:03:18 339a4e72a1f5: Download complete 09:03:19 4872d77fe225: Verifying Checksum 09:03:19 4872d77fe225: Download complete 09:03:19 5851b861e8e6: Verifying Checksum 09:03:19 5851b861e8e6: Download complete 09:03:19 b352a97aabf1: Verifying Checksum 09:03:19 b352a97aabf1: Download complete 09:03:19 bab4dde63d76: Verifying Checksum 09:03:19 bab4dde63d76: Download complete 09:03:20 b85a868b505f: Pull complete 09:03:20 e2be974225ed: Pull complete 09:03:20 339a4e72a1f5: Pull complete 09:03:20 988bab9f4d93: Pull complete 09:03:21 1469e6f7b9e6: Pull complete 09:03:21 eaf3925da568: Pull complete 09:03:23 bab4dde63d76: Pull complete 09:03:23 bde34c3a00c8: Pull complete 09:03:23 b352a97aabf1: Pull complete 09:03:23 4872d77fe225: Pull complete 09:03:23 5851b861e8e6: Pull complete 09:03:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:23 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:03:23 $ 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 09:03:25 $ docker top 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb -eo pid,comm 09:03:26 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). 09:03:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:26 [ssh-agent] Looking for ssh-agent implementation... 09:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:26 $ docker exec 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb ssh-agent 09:03:26 SSH_AUTH_SOCK=/tmp/ssh-G5ts9DvTj5Ht/agent.32 09:03:26 SSH_AGENT_PID=38 09:03:26 Running ssh-add (command line suppressed) 09:03:26 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16272033667791594911.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16272033667791594911.key) 09:03:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:26 + git tag --points-at HEAD [Pipeline] } 09:03:26 $ docker exec --env ******** --env ******** 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb ssh-agent -k 09:03:26 unset SSH_AUTH_SOCK; 09:03:26 unset SSH_AGENT_PID; 09:03:26 echo Agent pid 38 killed; 09:03:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:26 [ssh-agent] Looking for ssh-agent implementation... 09:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:26 $ docker exec 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb ssh-agent 09:03:27 SSH_AUTH_SOCK=/tmp/ssh-KMUhhSvTSmwN/agent.70 09:03:27 SSH_AGENT_PID=76 09:03:27 Running ssh-add (command line suppressed) 09:03:27 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5955796552523785858.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5955796552523785858.key) 09:03:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:27 + git semver init 09:03:27 2022-09-28 09:03:27,701 [run_init] DEBUG init version:0.0.0 force:False 09:03:27 2022-09-28 09:03:27,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 09:03:27 2022-09-28 09:03:27,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 09:03:27 2022-09-28 09:03:27,702 [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) 09:03:28 2022-09-28 09:03:28,480 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 09:03:28 2022-09-28 09:03:28,480 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 09:03:28 2022-09-28 09:03:28,480 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:03:28 2022-09-28 09:03:28,481 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:03:28 2.3.0-dev.10 [Pipeline] } 09:03:28 $ docker exec --env ******** --env ******** 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb ssh-agent -k 09:03:28 unset SSH_AUTH_SOCK; 09:03:28 unset SSH_AGENT_PID; 09:03:28 echo Agent pid 76 killed; 09:03:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:29 + git semver [Pipeline] } 09:03:29 $ docker stop --time=1 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb 09:03:30 $ docker rm -f 9292b02c9826a6a1b9ffef61366c7a5d729f98d5cfa79960a7563c9f0ac380cb [Pipeline] // withDockerContainer [Pipeline] sh 09:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:03:31 Stashed 1 file(s) [Pipeline] echo 09:03:31 [edgeXSemver]: initialized semver on version 2.3.0-dev.10 [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 09:03:31 provisioning config files... 09:03:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8777566398172546629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:31 ---> docker-login.sh 09:03:31 nexus3.edgexfoundry.org:10001 09:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:31 Configure a credential helper to remove this warning. See 09:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:31 09:03:31 Login Succeeded 09:03:31 nexus3.edgexfoundry.org:10002 09:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:31 Configure a credential helper to remove this warning. See 09:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:31 09:03:31 Login Succeeded 09:03:31 nexus3.edgexfoundry.org:10003 09:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:31 Configure a credential helper to remove this warning. See 09:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:31 09:03:31 Login Succeeded 09:03:31 nexus3.edgexfoundry.org:10004 09:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:31 Configure a credential helper to remove this warning. See 09:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:31 09:03:31 Login Succeeded 09:03:31 docker.io 09:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:32 Configure a credential helper to remove this warning. See 09:03:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:32 09:03:32 Login Succeeded 09:03:32 ---> docker-login.sh ends [Pipeline] } 09:03:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:32 ========================================================= 09:03:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:03:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:32 + 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 . 09:03:32 Sending build context to Docker daemon 906.2kB 09:03:32 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:03:32 Step 2/13 : FROM ${BASE} AS builder 09:03:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:03:32 2408cc74d12b: Pulling fs layer 09:03:32 ea60b727a1ce: Pulling fs layer 09:03:32 30c4a7721957: Pulling fs layer 09:03:32 370296b7ddb6: Pulling fs layer 09:03:32 7c6cee850709: Pulling fs layer 09:03:32 39a5fcdaea64: Pulling fs layer 09:03:32 370296b7ddb6: Waiting 09:03:32 7c6cee850709: Waiting 09:03:32 d94ebbe4e438: Pulling fs layer 09:03:32 bcfd1f05c69d: Pulling fs layer 09:03:32 59ccb84bbe0f: Pulling fs layer 09:03:32 59ccb84bbe0f: Waiting 09:03:32 d94ebbe4e438: Waiting 09:03:32 bcfd1f05c69d: Waiting 09:03:32 30c4a7721957: Verifying Checksum 09:03:32 30c4a7721957: Download complete 09:03:32 ea60b727a1ce: Download complete 09:03:32 7c6cee850709: Download complete 09:03:33 39a5fcdaea64: Verifying Checksum 09:03:33 39a5fcdaea64: Download complete 09:03:33 2408cc74d12b: Verifying Checksum 09:03:33 2408cc74d12b: Download complete 09:03:33 d94ebbe4e438: Verifying Checksum 09:03:33 d94ebbe4e438: Download complete 09:03:33 2408cc74d12b: Pull complete 09:03:33 ea60b727a1ce: Pull complete 09:03:33 30c4a7721957: Pull complete 09:03:34 59ccb84bbe0f: Verifying Checksum 09:03:34 59ccb84bbe0f: Download complete 09:03:34 bcfd1f05c69d: Verifying Checksum 09:03:34 bcfd1f05c69d: Download complete 09:03:34 370296b7ddb6: Verifying Checksum 09:03:34 370296b7ddb6: Download complete 09:03:38 370296b7ddb6: Pull complete 09:03:38 7c6cee850709: Pull complete 09:03:38 39a5fcdaea64: Pull complete 09:03:38 d94ebbe4e438: Pull complete 09:03:40 bcfd1f05c69d: Pull complete 09:03:40 59ccb84bbe0f: Pull complete 09:03:40 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:03:40 ---> a4fb48ad2a94 09:03:40 Step 3/13 : ARG MAKE="make build" 09:03:43 ---> Running in 063ef28b855e 09:03:44 Removing intermediate container 063ef28b855e 09:03:44 ---> 0addb2073cb7 09:03:44 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:03:44 ---> Running in 27850bd65ac3 09:03:44 Removing intermediate container 27850bd65ac3 09:03:44 ---> f665df719f57 09:03:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:03:44 ---> Running in 2f06eee9a392 09:03:44 Removing intermediate container 2f06eee9a392 09:03:44 ---> 3d096f653019 09:03:44 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:44 ---> Running in 62c5eeebb72d 09:03:45 Removing intermediate container 62c5eeebb72d 09:03:45 ---> fb0f50121249 09:03:45 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:03:45 ---> Running in 3e2d9111e659 09:03:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:03:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:03:46 Still waiting to schedule task 09:03:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1811’ 09:03:46 (1/80) Installing mesa (21.3.8-r2) 09:03:46 (2/80) Installing libxau (1.0.9-r0) 09:03:46 (3/80) Installing libxdmcp (1.1.3-r0) 09:03:46 (4/80) Installing libxcb (1.15-r0) 09:03:46 (5/80) Installing libx11 (1.8-r0) 09:03:46 (6/80) Installing libxext (1.3.4-r0) 09:03:47 (7/80) Installing libxfixes (6.0.0-r0) 09:03:47 (8/80) Installing libxxf86vm (1.1.4-r2) 09:03:47 (9/80) Installing libpciaccess (0.16-r0) 09:03:47 (10/80) Installing libdrm (2.4.110-r0) 09:03:47 (11/80) Installing mesa-glapi (21.3.8-r2) 09:03:47 (12/80) Installing libxshmfence (1.3-r1) 09:03:47 (13/80) Installing mesa-gl (21.3.8-r2) 09:03:47 (14/80) Installing icu-data-full (71.1-r2) 09:03:48 (15/80) Installing libice (1.0.10-r0) 09:03:48 (16/80) Installing libuuid (2.38-r1) 09:03:48 (17/80) Installing libsm (1.2.3-r0) 09:03:48 (18/80) Installing libxt (1.2.1-r0) 09:03:49 (19/80) Installing libxmu (1.1.3-r0) 09:03:49 (20/80) Installing xset (1.2.4-r0) 09:03:49 (21/80) Installing xprop (1.2.5-r0) 09:03:49 (22/80) Installing xdg-utils (1.1.3-r3) 09:03:49 (23/80) Installing dbus-libs (1.14.0-r1) 09:03:49 (24/80) Installing libffi (3.4.2-r1) 09:03:49 (25/80) Installing libintl (0.21-r2) 09:03:49 (26/80) Installing libblkid (2.38-r1) 09:03:49 (27/80) Installing libmount (2.38-r1) 09:03:49 (28/80) Installing pcre (8.45-r2) 09:03:49 (29/80) Installing glib (2.72.1-r0) 09:03:50 (30/80) Installing icu-libs (71.1-r2) 09:03:50 (31/80) Installing libpcre2-16 (10.40-r0) 09:03:50 (32/80) Installing zstd-libs (1.5.2-r1) 09:03:50 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 09:03:50 (34/80) Installing hicolor-icon-theme (0.17-r1) 09:03:50 (35/80) Installing wayland-libs-server (1.20.0-r0) 09:03:50 (36/80) Installing mesa-gbm (21.3.8-r2) 09:03:50 (37/80) Installing wayland-libs-client (1.20.0-r0) 09:03:51 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 09:03:51 (39/80) Installing libxcomposite (0.4.5-r0) 09:03:51 (40/80) Installing libbz2 (1.0.8-r1) 09:03:51 (41/80) Installing libpng (1.6.37-r1) 09:03:51 (42/80) Installing freetype (2.12.1-r0) 09:03:51 (43/80) Installing fontconfig (2.14.0-r0) 09:03:51 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 09:03:52 (45/80) Installing wayland-libs-egl (1.20.0-r0) 09:03:52 (46/80) Installing xkeyboard-config (2.35.1-r0) 09:03:52 (47/80) Installing xz-libs (5.2.5-r1) 09:03:52 (48/80) Installing libxml2 (2.9.14-r1) 09:03:52 (49/80) Installing libxkbcommon (1.4.1-r0) 09:03:52 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 09:03:52 (51/80) Installing mesa-egl (21.3.8-r2) 09:03:52 (52/80) Installing avahi-libs (0.8-r6) 09:03:52 (53/80) Installing nettle (3.7.3-r0) 09:03:52 (54/80) Installing p11-kit (0.24.1-r0) 09:03:52 (55/80) Installing libtasn1 (4.18.0-r0) 09:03:53 (56/80) Installing libunistring (1.0-r0) 09:03:53 (57/80) Installing gnutls (3.7.7-r0) 09:03:53 (58/80) Installing cups-libs (2.4.2-r0) 09:03:53 (59/80) Installing graphite2 (1.3.14-r1) 09:03:53 (60/80) Installing harfbuzz (4.3.0-r0) 09:03:53 (61/80) Installing libevdev (1.12.1-r0) 09:03:53 (62/80) Installing mtdev (1.1.6-r0) 09:03:53 (63/80) Installing eudev-libs (3.2.11-r0) 09:03:53 (64/80) Installing libinput-libs (1.20.1-r0) 09:03:53 (65/80) Installing libjpeg-turbo (2.1.3-r1) 09:03:54 (66/80) Installing xcb-util-wm (0.4.1-r1) 09:03:54 (67/80) Installing xcb-util (0.4.0-r3) 09:03:54 (68/80) Installing xcb-util-image (0.4.0-r1) 09:03:54 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 09:03:54 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 09:03:54 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 09:03:54 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 09:03:55 (73/80) Installing v4l-utils-libs (1.22.1-r1) 09:03:55 (74/80) Installing v4l-utils (1.22.1-r1) 09:03:55 (75/80) Installing udev-init-scripts (35-r0) 09:03:55 Executing udev-init-scripts-35-r0.post-install 09:03:55 (76/80) Installing kmod-libs (29-r2) 09:03:55 (77/80) Installing eudev (3.2.11-r0) 09:03:55 (78/80) Installing eudev-dev (3.2.11-r0) 09:03:55 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:03:55 (80/80) Installing v4l-utils-dev (1.22.1-r1) 09:03:56 Executing busybox-1.35.0-r13.trigger 09:03:56 Executing eudev-3.2.11-r0.trigger 09:03:56 OK: 330 MiB in 131 packages 09:03:58 Removing intermediate container 3e2d9111e659 09:03:58 ---> 7057ebf596d4 09:03:58 Step 8/13 : WORKDIR /device-usb-camera 09:03:58 ---> Running in 74057d0af282 09:03:58 Removing intermediate container 74057d0af282 09:03:58 ---> 927712f6b67c 09:03:58 Step 9/13 : COPY go.mod vendor* ./ 09:03:58 ---> ae392f6f8a6e 09:03:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:58 ---> Running in 6434c35d3f10 09:04:17 Removing intermediate container 6434c35d3f10 09:04:17 ---> eb85bc171be9 09:04:17 Step 11/13 : COPY . . 09:04:17 ---> f409883dff21 09:04:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:04:17 ---> Running in 270e0829d707 09:04:17  % Total % Received % Xferd Average Speed Time Time Time Current 09:04:17 Dload Upload Total Spent Left Speed 09:04:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10850 0 --:--:-- --:--:-- --:--:-- 10948 09:04:17 Removing intermediate container 270e0829d707 09:04:17 ---> 8e9b2c4910a4 09:04:17 Step 13/13 : RUN ${MAKE} 09:04:17 ---> Running in b5377cc0a3ce 09:04:17 noop 09:04:18 Removing intermediate container b5377cc0a3ce 09:04:18 ---> 7f6435e8a335 09:04:18 Successfully built 7f6435e8a335 09:04:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:18 + docker inspect -f . ci-base-image-x86_64 09:04:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:18 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:04:18 $ 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 09:04:18 $ docker top 8371ab15af1ea9558c82e7ae3a94cfaee72d1c8ec871167d7bdd0dacc1f63e21 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:19 + go version 09:04:19 go version go1.18.3 linux/amd64 [Pipeline] } 09:04:19 $ docker stop --time=1 8371ab15af1ea9558c82e7ae3a94cfaee72d1c8ec871167d7bdd0dacc1f63e21 09:04:20 $ docker rm -f 8371ab15af1ea9558c82e7ae3a94cfaee72d1c8ec871167d7bdd0dacc1f63e21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:20 + docker inspect -f . ci-base-image-x86_64 09:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:20 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:04:20 $ 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 09:04:21 $ docker top b5acb95fbf5f6e883f1540d10e5cb1efa04542ee1c8e688c6fa106afe6b79776 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:21 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 09:04:21 + make test 09:04:21 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:04:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:04:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:04:32 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements 09:04:38 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." 09:04:38 CGO_ENABLED=1 go vet ./... 09:04:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:04:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:04:40 ./bin/test-attribution-txt.sh 09:04:40 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 09:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:04:40 $ docker stop --time=1 b5acb95fbf5f6e883f1540d10e5cb1efa04542ee1c8e688c6fa106afe6b79776 09:04:43 $ docker rm -f b5acb95fbf5f6e883f1540d10e5cb1efa04542ee1c8e688c6fa106afe6b79776 [Pipeline] // withDockerContainer [Pipeline] sh 09:04:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:44 + ls -al . 09:04:44 total 200 09:04:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 09:04 . 09:04:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:03 .. 09:04:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 09:04 .git 09:04:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:03 .github 09:04:44 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 09:03 .gitignore 09:04:44 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 09:03 .golangci.yml 09:04:44 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 09:03 .hadolint.yml 09:04:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 09:03 .semver 09:04:44 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 09:03 Attribution.txt 09:04:44 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 09:03 CHANGELOG.md 09:04:44 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 09:03 Dockerfile 09:04:44 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 09:03 GOVERNANCE.md 09:04:44 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 09:03 Jenkinsfile 09:04:44 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 09:03 LICENSE 09:04:44 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 09:03 Makefile 09:04:44 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 09:03 OWNERS.md 09:04:44 -rw-rw-r-- 1 jenkins jenkins 12817 Sep 28 09:03 README.md 09:04:44 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 09:03 VERSION 09:04:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 09:03 bin 09:04:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:03 cmd 09:04:44 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 09:04 coverage.out 09:04:44 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 09:03 docker-entrypoint.sh 09:04:44 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 09:03 go.mod 09:04:44 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 09:03 go.sum 09:04:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:03 internal 09:04:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:03 snap 09:04:44 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 09:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:44 + 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=00fef7e065bed1f02203b218570c3778d916ab48 --label arch=amd64 --label version=2.3.0-dev.10 . 09:04:44 Sending build context to Docker daemon 936.4kB 09:04:44 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 09:04:44 Step 2/35 : FROM ${BASE} AS builder 09:04:44 ---> 7f6435e8a335 09:04:44 Step 3/35 : ARG MAKE="make build" 09:04:44 ---> Running in 601b0495f202 09:04:44 Removing intermediate container 601b0495f202 09:04:44 ---> 7ddb15f7ff05 09:04:44 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:04:44 ---> Running in 0030b2266fd6 09:04:45 Removing intermediate container 0030b2266fd6 09:04:45 ---> 00d07e46a1d5 09:04:45 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:04:45 ---> Running in fb877ffd7805 09:04:45 Removing intermediate container fb877ffd7805 09:04:45 ---> 5ce613742507 09:04:45 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:45 ---> Running in 0dedd739f31d 09:04:45 Removing intermediate container 0dedd739f31d 09:04:45 ---> d1752b6f2c5a 09:04:45 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:45 ---> Running in c7ecdd56f7c9 09:04:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:04:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:04:47 OK: 330 MiB in 131 packages 09:04:47 Removing intermediate container c7ecdd56f7c9 09:04:47 ---> f2f5afe8502c 09:04:47 Step 8/35 : WORKDIR /device-usb-camera 09:04:47 ---> Running in 6480c3f55a9c 09:04:47 Removing intermediate container 6480c3f55a9c 09:04:47 ---> 8f3e2192580d 09:04:47 Step 9/35 : COPY go.mod vendor* ./ 09:04:47 ---> 56854c7818c2 09:04:47 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:47 ---> Running in 4efc960f2652 09:04:48 Removing intermediate container 4efc960f2652 09:04:48 ---> 185994ce9c4a 09:04:48 Step 11/35 : COPY . . 09:04:48 ---> 185dcf0515c0 09:04:48 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:04:48 ---> Running in 2e3124a8059e 09:04:48  % Total % Received % Xferd Average Speed Time Time Time Current 09:04:48 Dload Upload Total  Spent Left Speed 09:04:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 55578 0 --:--:-- --:--:-- --:--:-- 59000 09:04:49 Removing intermediate container 2e3124a8059e 09:04:49 ---> fef14a12118a 09:04:49 Step 13/35 : RUN ${MAKE} 09:04:49 ---> Running in bd07490f451b 09:04:49 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.10 -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 09:05:11 Removing intermediate container bd07490f451b 09:05:11 ---> 95e35abddc64 09:05:11 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:05:11 v0.18.4: Pulling from aler9/rtsp-simple-server 09:05:11 af6660deedbd: Pulling fs layer 09:05:11 97cd0a44c592: Pulling fs layer 09:05:11 97cd0a44c592: Verifying Checksum 09:05:11 97cd0a44c592: Download complete 09:05:11 af6660deedbd: Verifying Checksum 09:05:11 af6660deedbd: Download complete 09:05:12 af6660deedbd: Pull complete 09:05:12 97cd0a44c592: Pull complete 09:05:12 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:05:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:05:12 ---> fea57e182299 09:05:12 Step 15/35 : FROM alpine:3.16 09:05:12 3.16: Pulling from library/alpine 09:05:12 213ec9aee27d: Pulling fs layer 09:05:13 213ec9aee27d: Download complete 09:05:13 213ec9aee27d: Pull complete 09:05:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:05:13 Status: Downloaded newer image for alpine:3.16 09:05:13 ---> 9c6f07244728 09:05:13 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:05:13 ---> Running in e263cabf4b7b 09:05:13 Removing intermediate container e263cabf4b7b 09:05:13 ---> 12b37f262a20 09:05:13 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:05:13 ---> Running in fbe16030d668 09:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:05:14 (1/83) Installing dumb-init (1.2.5-r1) 09:05:14 (2/83) Installing sdl2 (2.0.22-r0) 09:05:14 (3/83) Installing libxau (1.0.9-r0) 09:05:14 (4/83) Installing libxdmcp (1.1.3-r0) 09:05:14 (5/83) Installing libxcb (1.15-r0) 09:05:14 (6/83) Installing libx11 (1.8-r0) 09:05:14 (7/83) Installing aom-libs (3.3.0-r0) 09:05:14 (8/83) Installing alsa-lib (1.2.7.2-r0) 09:05:14 (9/83) Installing expat (2.4.9-r0) 09:05:14 (10/83) Installing brotli-libs (1.0.9-r6) 09:05:14 (11/83) Installing libbz2 (1.0.8-r1) 09:05:14 (12/83) Installing libpng (1.6.37-r1) 09:05:14 (13/83) Installing freetype (2.12.1-r0) 09:05:14 (14/83) Installing fontconfig (2.14.0-r0) 09:05:14 (15/83) Installing fribidi (1.0.12-r0) 09:05:14 (16/83) Installing libffi (3.4.2-r1) 09:05:14 (17/83) Installing libintl (0.21-r2) 09:05:14 (18/83) Installing libblkid (2.38-r1) 09:05:14 (19/83) Installing libmount (2.38-r1) 09:05:14 (20/83) Installing pcre (8.45-r2) 09:05:14 (21/83) Installing glib (2.72.1-r0) 09:05:14 (22/83) Installing graphite2 (1.3.14-r1) 09:05:14 (23/83) Installing harfbuzz (4.3.0-r0) 09:05:14 (24/83) Installing libass (0.16.0-r0) 09:05:14 (25/83) Installing libdav1d (1.0.0-r0) 09:05:14 (26/83) Installing libpciaccess (0.16-r0) 09:05:14 (27/83) Installing libdrm (2.4.110-r0) 09:05:14 (28/83) Installing gmp (6.2.1-r2) 09:05:14 (29/83) Installing nettle (3.7.3-r0) 09:05:14 (30/83) Installing p11-kit (0.24.1-r0) 09:05:14 (31/83) Installing libtasn1 (4.18.0-r0) 09:05:14 (32/83) Installing libunistring (1.0-r0) 09:05:14 (33/83) Installing gnutls (3.7.7-r0) 09:05:14 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:05:14 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 09:05:14 (36/83) Installing lame (3.100-r0) 09:05:14 (37/83) Installing opus (1.3.1-r1) 09:05:14 (38/83) Installing libasyncns (0.8-r1) 09:05:14 (39/83) Installing dbus-libs (1.14.0-r1) 09:05:14 (40/83) Installing libltdl (2.4.7-r0) 09:05:14 (41/83) Installing orc (0.4.32-r0) 09:05:14 (42/83) Installing libgcc (11.2.1_git20220219-r2) 09:05:14 (43/83) Installing libogg (1.3.5-r1) 09:05:14 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 09:05:14 (45/83) Installing flac (1.3.4-r0) 09:05:14 (46/83) Installing libvorbis (1.3.7-r0) 09:05:14 (47/83) Installing libsndfile (1.1.0-r0) 09:05:14 (48/83) Installing libgomp (11.2.1_git20220219-r2) 09:05:14 (49/83) Installing soxr (0.1.3-r2) 09:05:14 (50/83) Installing speexdsp (1.2.0-r0) 09:05:14 (51/83) Installing tdb-libs (1.4.6-r0) 09:05:14 (52/83) Installing libpulse (15.0-r2) 09:05:14 (53/83) Installing cjson (1.7.15-r3) 09:05:14 (54/83) Installing mbedtls (2.28.1-r0) 09:05:14 (55/83) Installing librist (0.2.6-r1) 09:05:14 (56/83) Installing libsrt (1.4.4-r0) 09:05:14 (57/83) Installing libssh (0.9.6-r1) 09:05:14 (58/83) Installing libtheora (1.1.1-r16) 09:05:14 (59/83) Installing libjpeg-turbo (2.1.3-r1) 09:05:14 (60/83) Installing v4l-utils-libs (1.22.1-r1) 09:05:14 (61/83) Installing libxext (1.3.4-r0) 09:05:14 (62/83) Installing libxfixes (6.0.0-r0) 09:05:14 (63/83) Installing wayland-libs-client (1.20.0-r0) 09:05:14 (64/83) Installing libva (2.14.0-r0) 09:05:14 (65/83) Installing libvdpau (1.5-r0) 09:05:14 (66/83) Installing vidstab (1.1.0-r1) 09:05:14 (67/83) Installing libvpx (1.11.0-r1) 09:05:14 (68/83) Installing libwebp (1.2.3-r0) 09:05:14 (69/83) Installing x264-libs (0.163_git20210613-r0) 09:05:14 (70/83) Installing numactl (2.0.14-r0) 09:05:14 (71/83) Installing x265-libs (3.5-r3) 09:05:14 (72/83) Installing xvidcore (1.3.7-r1) 09:05:14 (73/83) Installing ffmpeg-libs (5.0.1-r1) 09:05:15 (74/83) Installing ffmpeg (5.0.1-r1) 09:05:15 (75/83) Installing udev-init-scripts (35-r0) 09:05:15 Executing udev-init-scripts-35-r0.post-install 09:05:15 (76/83) Installing eudev-libs (3.2.11-r0) 09:05:15 (77/83) Installing xz-libs (5.2.5-r1) 09:05:15 (78/83) Installing zstd-libs (1.5.2-r1) 09:05:15 (79/83) Installing kmod-libs (29-r2) 09:05:15 (80/83) Installing eudev (3.2.11-r0) 09:05:15 (81/83) Installing libsodium (1.0.18-r0) 09:05:15 (82/83) Installing libzmq (4.3.4-r0) 09:05:15 (83/83) Installing zeromq (4.3.4-r0) 09:05:15 Executing busybox-1.35.0-r17.trigger 09:05:15 Executing eudev-3.2.11-r0.trigger 09:05:15 OK: 101 MiB in 97 packages 09:05:17 Removing intermediate container fbe16030d668 09:05:17 ---> f09073000c18 09:05:17 Step 18/35 : WORKDIR / 09:05:17 ---> Running in d311a7121038 09:05:17 Removing intermediate container d311a7121038 09:05:17 ---> 4162e5afc5d9 09:05:17 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 09:05:18 ---> 88d2bb4b7cf2 09:05:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 09:05:18 ---> 5fd0a34b0b88 09:05:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:05:18 ---> f82f2c590c78 09:05:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:05:18 ---> f959dbc3c2d6 09:05:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:05:18 ---> 7b0f0ffb2e25 09:05:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 09:05:19 ---> e6a5f073f104 09:05:19 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 09:05:19 ---> f4f8b87b68ba 09:05:19 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:05:19 ---> Running in c7bf663e6935 09:05:20 Removing intermediate container c7bf663e6935 09:05:20 ---> f612e97e12e6 09:05:20 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:05:20 ---> Running in 16c37dcd6504 09:05:20 Removing intermediate container 16c37dcd6504 09:05:20 ---> b392ab3bcbc9 09:05:20 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:05:20 ---> Running in 81b7416b24d9 09:05:21 Removing intermediate container 81b7416b24d9 09:05:21 ---> 16e162ef7b8b 09:05:21 Step 29/35 : EXPOSE 59983 09:05:21 ---> Running in 5565c8493e06 09:05:21 Removing intermediate container 5565c8493e06 09:05:21 ---> 63e321750427 09:05:21 Step 30/35 : EXPOSE 8554 09:05:21 ---> Running in b5c1acc1ee54 09:05:21 Removing intermediate container b5c1acc1ee54 09:05:21 ---> 25f09d93080b 09:05:21 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:05:21 ---> Running in b0202816a334 09:05:21 Removing intermediate container b0202816a334 09:05:21 ---> e386ede205a2 09:05:21 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:05:21 ---> Running in 5f0a35a5e2fe 09:05:21 Removing intermediate container 5f0a35a5e2fe 09:05:21 ---> cbb069aa1f54 09:05:21 Step 33/35 : LABEL arch=amd64 09:05:21 ---> Running in 8f98209da181 09:05:21 Removing intermediate container 8f98209da181 09:05:21 ---> ba3f3785f261 09:05:21 Step 34/35 : LABEL git_sha=00fef7e065bed1f02203b218570c3778d916ab48 09:05:21 ---> Running in 234501ce94e0 09:05:22 Removing intermediate container 234501ce94e0 09:05:22 ---> 605338dfb35e 09:05:22 Step 35/35 : LABEL version=2.3.0-dev.10 09:05:22 ---> Running in 280714c8231b 09:05:22 Removing intermediate container 280714c8231b 09:05:22 ---> 669195c35065 09:05:22 [Warning] One or more build-args [ARCH] were not consumed 09:05:22 Successfully built 669195c35065 09:05:22 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 09:05:22 provisioning config files... 09:05:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13574966322527948466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:22 ---> docker-login.sh 09:05:22 nexus3.edgexfoundry.org:10001 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10002 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10003 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10004 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 docker.io 09:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:23 Configure a credential helper to remove this warning. See 09:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:23 09:05:23 Login Succeeded 09:05:23 ---> docker-login.sh ends [Pipeline] } 09:05:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:05:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:05:23 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 09:05:23 00fef7e065bed1f02203b218570c3778d916ab48 09:05:23 latest 09:05:23 2.3.0-dev.10 09:05:23 00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:05:23 main 09:05:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48 09:05:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:05:24 8f786cc38c44: Preparing 09:05:24 08f21e487a75: Preparing 09:05:24 bb8d7256b2f4: Preparing 09:05:24 550e596c6d0e: Preparing 09:05:24 1207169bf42c: Preparing 09:05:24 d1f41fc726aa: Preparing 09:05:24 4f4a4649b880: Preparing 09:05:24 1bcdb290a55d: Preparing 09:05:24 3f34b92bf54d: Preparing 09:05:24 4f4a4649b880: Waiting 09:05:24 d1f41fc726aa: Waiting 09:05:24 856a5dfafbf8: Preparing 09:05:24 f189c3f09a9c: Preparing 09:05:24 3f34b92bf54d: Waiting 09:05:24 994393dc58e7: Preparing 09:05:24 856a5dfafbf8: Waiting 09:05:24 f189c3f09a9c: Waiting 09:05:24 994393dc58e7: Waiting 09:05:24 1bcdb290a55d: Waiting 09:05:24 8f786cc38c44: Pushed 09:05:24 08f21e487a75: Pushed 09:05:24 bb8d7256b2f4: Pushed 09:05:24 1207169bf42c: Pushed 09:05:24 d1f41fc726aa: Pushed 09:05:24 4f4a4649b880: Pushed 09:05:24 1bcdb290a55d: Pushed 09:05:24 3f34b92bf54d: Pushed 09:05:24 994393dc58e7: Layer already exists 09:05:26 550e596c6d0e: Pushed 09:05:26 856a5dfafbf8: Pushed 09:05:33 f189c3f09a9c: Pushed 09:05:33 00fef7e065bed1f02203b218570c3778d916ab48: digest: sha256:12312d9d50787a5ae7db1d1479c57b3c7c44304e9d581f088c4b59c8dba8ac2c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:33 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:05:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:05:34 8f786cc38c44: Preparing 09:05:34 08f21e487a75: Preparing 09:05:34 bb8d7256b2f4: Preparing 09:05:34 550e596c6d0e: Preparing 09:05:34 1207169bf42c: Preparing 09:05:34 d1f41fc726aa: Preparing 09:05:34 4f4a4649b880: Preparing 09:05:34 1bcdb290a55d: Preparing 09:05:34 3f34b92bf54d: Preparing 09:05:34 856a5dfafbf8: Preparing 09:05:34 f189c3f09a9c: Preparing 09:05:34 994393dc58e7: Preparing 09:05:34 d1f41fc726aa: Waiting 09:05:34 856a5dfafbf8: Waiting 09:05:34 f189c3f09a9c: Waiting 09:05:34 994393dc58e7: Waiting 09:05:34 1bcdb290a55d: Waiting 09:05:34 3f34b92bf54d: Waiting 09:05:34 4f4a4649b880: Waiting 09:05:34 bb8d7256b2f4: Layer already exists 09:05:34 08f21e487a75: Layer already exists 09:05:34 550e596c6d0e: Layer already exists 09:05:34 8f786cc38c44: Layer already exists 09:05:34 1207169bf42c: Layer already exists 09:05:34 d1f41fc726aa: Layer already exists 09:05:34 1bcdb290a55d: Layer already exists 09:05:34 4f4a4649b880: Layer already exists 09:05:34 856a5dfafbf8: Layer already exists 09:05:34 3f34b92bf54d: Layer already exists 09:05:34 994393dc58e7: Layer already exists 09:05:34 f189c3f09a9c: Layer already exists 09:05:34 latest: digest: sha256:12312d9d50787a5ae7db1d1479c57b3c7c44304e9d581f088c4b59c8dba8ac2c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.10 09:05:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:05:34 8f786cc38c44: Preparing 09:05:34 08f21e487a75: Preparing 09:05:34 bb8d7256b2f4: Preparing 09:05:34 550e596c6d0e: Preparing 09:05:34 1207169bf42c: Preparing 09:05:34 d1f41fc726aa: Preparing 09:05:34 4f4a4649b880: Preparing 09:05:34 1bcdb290a55d: Preparing 09:05:34 3f34b92bf54d: Preparing 09:05:34 d1f41fc726aa: Waiting 09:05:34 4f4a4649b880: Waiting 09:05:34 1bcdb290a55d: Waiting 09:05:34 856a5dfafbf8: Preparing 09:05:34 f189c3f09a9c: Preparing 09:05:34 994393dc58e7: Preparing 09:05:34 3f34b92bf54d: Waiting 09:05:34 994393dc58e7: Waiting 09:05:34 856a5dfafbf8: Waiting 09:05:34 f189c3f09a9c: Waiting 09:05:34 bb8d7256b2f4: Layer already exists 09:05:34 550e596c6d0e: Layer already exists 09:05:34 1207169bf42c: Layer already exists 09:05:34 8f786cc38c44: Layer already exists 09:05:34 08f21e487a75: Layer already exists 09:05:34 d1f41fc726aa: Layer already exists 09:05:34 4f4a4649b880: Layer already exists 09:05:34 1bcdb290a55d: Layer already exists 09:05:34 856a5dfafbf8: Layer already exists 09:05:34 3f34b92bf54d: Layer already exists 09:05:34 f189c3f09a9c: Layer already exists 09:05:34 994393dc58e7: Layer already exists 09:05:34 2.3.0-dev.10: digest: sha256:12312d9d50787a5ae7db1d1479c57b3c7c44304e9d581f088c4b59c8dba8ac2c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:34 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:05:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:05:35 8f786cc38c44: Preparing 09:05:35 08f21e487a75: Preparing 09:05:35 bb8d7256b2f4: Preparing 09:05:35 550e596c6d0e: Preparing 09:05:35 1207169bf42c: Preparing 09:05:35 d1f41fc726aa: Preparing 09:05:35 4f4a4649b880: Preparing 09:05:35 1bcdb290a55d: Preparing 09:05:35 3f34b92bf54d: Preparing 09:05:35 856a5dfafbf8: Preparing 09:05:35 f189c3f09a9c: Preparing 09:05:35 994393dc58e7: Preparing 09:05:35 f189c3f09a9c: Waiting 09:05:35 1bcdb290a55d: Waiting 09:05:35 994393dc58e7: Waiting 09:05:35 3f34b92bf54d: Waiting 09:05:35 856a5dfafbf8: Waiting 09:05:35 d1f41fc726aa: Waiting 09:05:35 4f4a4649b880: Waiting 09:05:35 550e596c6d0e: Layer already exists 09:05:35 bb8d7256b2f4: Layer already exists 09:05:35 08f21e487a75: Layer already exists 09:05:35 8f786cc38c44: Layer already exists 09:05:35 1207169bf42c: Layer already exists 09:05:35 d1f41fc726aa: Layer already exists 09:05:35 4f4a4649b880: Layer already exists 09:05:35 1bcdb290a55d: Layer already exists 09:05:35 3f34b92bf54d: Layer already exists 09:05:35 856a5dfafbf8: Layer already exists 09:05:35 f189c3f09a9c: Layer already exists 09:05:35 994393dc58e7: Layer already exists 09:05:35 00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10: digest: sha256:12312d9d50787a5ae7db1d1479c57b3c7c44304e9d581f088c4b59c8dba8ac2c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:35 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 09:05:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 09:05:35 8f786cc38c44: Preparing 09:05:35 08f21e487a75: Preparing 09:05:35 bb8d7256b2f4: Preparing 09:05:35 550e596c6d0e: Preparing 09:05:35 1207169bf42c: Preparing 09:05:35 d1f41fc726aa: Preparing 09:05:35 4f4a4649b880: Preparing 09:05:35 1bcdb290a55d: Preparing 09:05:35 3f34b92bf54d: Preparing 09:05:35 856a5dfafbf8: Preparing 09:05:35 f189c3f09a9c: Preparing 09:05:35 994393dc58e7: Preparing 09:05:35 4f4a4649b880: Waiting 09:05:35 1bcdb290a55d: Waiting 09:05:35 3f34b92bf54d: Waiting 09:05:35 f189c3f09a9c: Waiting 09:05:35 d1f41fc726aa: Waiting 09:05:35 bb8d7256b2f4: Layer already exists 09:05:35 550e596c6d0e: Layer already exists 09:05:35 1207169bf42c: Layer already exists 09:05:35 08f21e487a75: Layer already exists 09:05:35 8f786cc38c44: Layer already exists 09:05:35 4f4a4649b880: Layer already exists 09:05:35 856a5dfafbf8: Layer already exists 09:05:35 1bcdb290a55d: Layer already exists 09:05:35 d1f41fc726aa: Layer already exists 09:05:35 3f34b92bf54d: Layer already exists 09:05:35 f189c3f09a9c: Layer already exists 09:05:35 994393dc58e7: Layer already exists 09:05:35 main: digest: sha256:12312d9d50787a5ae7db1d1479c57b3c7c44304e9d581f088c4b59c8dba8ac2c size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:05:35 ===================================================== [Pipeline] echo 09:05:35 taggedImages: 09:05:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48 09:05:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 09:05:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.10 09:05:35 - nexus3.edgexfoundry.org:10004/device-usb-camera:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:05:35 - 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 09:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:36 09:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:36 latest: Pulling from edgex-lftools-log-publisher 09:05:36 5eb5b503b376: Pulling fs layer 09:05:36 5c69ac0246d0: Pulling fs layer 09:05:36 ec43610c2a17: Pulling fs layer 09:05:36 3a2ae6a8a46f: Pulling fs layer 09:05:36 33b1e0a273af: Pulling fs layer 09:05:36 5d3b04190fa2: Pulling fs layer 09:05:36 2f39f015ded8: Pulling fs layer 09:05:36 3a2ae6a8a46f: Waiting 09:05:36 2f39f015ded8: Waiting 09:05:36 33b1e0a273af: Waiting 09:05:36 5d3b04190fa2: Waiting 09:05:36 5c69ac0246d0: Verifying Checksum 09:05:36 5c69ac0246d0: Download complete 09:05:36 3a2ae6a8a46f: Verifying Checksum 09:05:36 3a2ae6a8a46f: Download complete 09:05:36 33b1e0a273af: Verifying Checksum 09:05:36 33b1e0a273af: Download complete 09:05:36 5d3b04190fa2: Download complete 09:05:36 ec43610c2a17: Verifying Checksum 09:05:36 ec43610c2a17: Download complete 09:05:36 5eb5b503b376: Verifying Checksum 09:05:36 5eb5b503b376: Download complete 09:05:37 2f39f015ded8: Verifying Checksum 09:05:37 2f39f015ded8: Download complete 09:05:37 5eb5b503b376: Pull complete 09:05:37 5c69ac0246d0: Pull complete 09:05:38 ec43610c2a17: Pull complete 09:05:38 3a2ae6a8a46f: Pull complete 09:05:38 33b1e0a273af: Pull complete 09:05:38 5d3b04190fa2: Pull complete 09:05:42 2f39f015ded8: Pull complete 09:05:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:43 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:05:43 $ 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 09:05:46 $ docker top 6782f16df0649a61584b4bdca739ba66dccf11e7dadd0b70bb7ff7d097fa7d7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:46 ---> job-cost.sh 09:05:46 lf-activate-venv: SKIPPING 09:05:46 INFO: No Stack... 09:05:47 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:47 INFO: Archiving Costs [Pipeline] sh 09:05:48 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 09:05:48 + cut -d, -f6 [Pipeline] lock 09:05:48 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] 09:05:48 Resource [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] did not exist. Created. 09:05:48 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:48 + echo total: 0.2199999988079071 [Pipeline] stash 09:05:48 Stashed 1 file(s) [Pipeline] } 09:05:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 09:05:48 $ docker stop --time=1 6782f16df0649a61584b4bdca739ba66dccf11e7dadd0b70bb7ff7d097fa7d7b 09:05:49 $ docker rm -f 6782f16df0649a61584b4bdca739ba66dccf11e7dadd0b70bb7ff7d097fa7d7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:06:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1816 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 09:06:20 Running in /w/workspace/device-usb-camera/49 [Pipeline] { [Pipeline] checkout 09:06:20 Selected Git installation does not exist. Using Default 09:06:20 The recommended git tool is: NONE 09:06:25 using credential edgex-jenkins-ssh 09:06:25 Cloning the remote Git repository 09:06:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 09:06:25 > git init /w/workspace/device-usb-camera/49 # timeout=10 09:06:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 09:06:25 > git --version # timeout=10 09:06:25 > git --version # 'git version 2.25.1' 09:06:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:26 Verifying host key using known hosts file 09:06:26 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. 09:06:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 09:06:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:27 Avoid second fetch 09:06:27 Checking out Revision 00fef7e065bed1f02203b218570c3778d916ab48 (main) 09:06:28 Commit message: "Merge pull request #91 from hahattan/internal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:27 > git config core.sparsecheckout # timeout=10 09:06:27 > git checkout -f 00fef7e065bed1f02203b218570c3778d916ab48 # timeout=10 09:06:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:06:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:06:29 Dload Upload Total Spent Left Speed 09:06:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 09:06:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:06:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:06:30 + sudo tee /etc/docker/daemon.new 09:06:30 { 09:06:30 "registry-mirrors": [ 09:06:30 "https://nexus3.edgexfoundry.org:10001" 09:06:30 ], 09:06:30 "bip": "10.250.0.254/24", 09:06:30 "hosts": [ 09:06:30 "tcp://0.0.0.0:5555", 09:06:30 "unix:///var/run/docker.sock" 09:06:30 ], 09:06:30 "mtu": 1458, 09:06:30 "selinux-enabled": true, 09:06:30 "seccomp-profile": "/etc/docker/seccomp.json" 09:06:30 } [Pipeline] sh 09:06:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:06:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:06:49 provisioning config files... 09:06:49 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/49@tmp/config9524508203882306894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:49 ---> docker-login.sh 09:06:49 nexus3.edgexfoundry.org:10001 09:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:50 Configure a credential helper to remove this warning. See 09:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:50 09:06:50 Login Succeeded 09:06:50 nexus3.edgexfoundry.org:10002 09:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:50 Configure a credential helper to remove this warning. See 09:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:50 09:06:50 Login Succeeded 09:06:50 nexus3.edgexfoundry.org:10003 09:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:50 Configure a credential helper to remove this warning. See 09:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:50 09:06:50 Login Succeeded 09:06:50 nexus3.edgexfoundry.org:10004 09:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:51 Configure a credential helper to remove this warning. See 09:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:51 09:06:51 Login Succeeded 09:06:51 docker.io 09:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:51 Configure a credential helper to remove this warning. See 09:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:51 09:06:51 Login Succeeded 09:06:51 ---> docker-login.sh ends [Pipeline] } 09:06:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:06:51 ========================================================= 09:06:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:06:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:52 + 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 . 09:06:52 Sending build context to Docker daemon 581.6kB 09:06:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:06:52 Step 2/13 : FROM ${BASE} AS builder 09:06:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:06:52 b3c136eddcbf: Pulling fs layer 09:06:52 c0a3192eca97: Pulling fs layer 09:06:52 a050256f5b6f: Pulling fs layer 09:06:52 656be50a0ddc: Pulling fs layer 09:06:52 2bbca73fdf42: Pulling fs layer 09:06:52 46d945488cbd: Pulling fs layer 09:06:52 8a5474983e97: Pulling fs layer 09:06:52 329c88fbcd65: Pulling fs layer 09:06:52 656be50a0ddc: Waiting 09:06:52 2bbca73fdf42: Waiting 09:06:52 46d945488cbd: Waiting 09:06:52 8a5474983e97: Waiting 09:06:52 329c88fbcd65: Waiting 09:06:52 a050256f5b6f: Verifying Checksum 09:06:52 a050256f5b6f: Download complete 09:06:52 c0a3192eca97: Verifying Checksum 09:06:52 c0a3192eca97: Download complete 09:06:52 2bbca73fdf42: Verifying Checksum 09:06:52 2bbca73fdf42: Download complete 09:06:52 46d945488cbd: Download complete 09:06:52 b3c136eddcbf: Verifying Checksum 09:06:52 b3c136eddcbf: Download complete 09:06:53 b3c136eddcbf: Pull complete 09:06:53 329c88fbcd65: Verifying Checksum 09:06:53 329c88fbcd65: Download complete 09:06:54 c0a3192eca97: Pull complete 09:06:54 a050256f5b6f: Pull complete 09:06:55 8a5474983e97: Verifying Checksum 09:06:55 8a5474983e97: Download complete 09:06:55 656be50a0ddc: Download complete 09:07:10 656be50a0ddc: Pull complete 09:07:10 2bbca73fdf42: Pull complete 09:07:10 46d945488cbd: Pull complete 09:07:15 8a5474983e97: Pull complete 09:07:16 329c88fbcd65: Pull complete 09:07:16 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:07:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:07:17 ---> ff4287adb874 09:07:17 Step 3/13 : ARG MAKE="make build" 09:07:19 ---> Running in 5ef9587f6d5e 09:07:19 Removing intermediate container 5ef9587f6d5e 09:07:19 ---> 4b73c3d4d733 09:07:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:07:19 ---> Running in 18ea61e4951f 09:07:20 Removing intermediate container 18ea61e4951f 09:07:20 ---> 96abcbc11a62 09:07:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:07:20 ---> Running in de8ff21c4d5d 09:07:20 Removing intermediate container de8ff21c4d5d 09:07:20 ---> a8063d4bd3ac 09:07:20 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:20 ---> Running in 0dab2550c34d 09:07:23 Removing intermediate container 0dab2550c34d 09:07:23 ---> edb0e20dd443 09:07:23 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:07:23 ---> Running in 343067d4490b 09:07:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:07:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:07:26 (1/14) Installing libintl (0.21-r2) 09:07:26 (2/14) Installing eudev-libs (3.2.11-r0) 09:07:26 (3/14) Installing libjpeg-turbo (2.1.3-r1) 09:07:26 (4/14) Installing v4l-utils-libs (1.22.1-r1) 09:07:26 (5/14) Installing v4l-utils (1.22.1-r1) 09:07:26 (6/14) Installing udev-init-scripts (35-r0) 09:07:26 Executing udev-init-scripts-35-r0.post-install 09:07:26 (7/14) Installing libblkid (2.38-r1) 09:07:26 (8/14) Installing xz-libs (5.2.5-r1) 09:07:26 (9/14) Installing zstd-libs (1.5.2-r1) 09:07:27 (10/14) Installing kmod-libs (29-r2) 09:07:27 (11/14) Installing eudev (3.2.11-r0) 09:07:27 (12/14) Installing eudev-dev (3.2.11-r0) 09:07:27 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 09:07:27 (14/14) Installing v4l-utils-dev (1.22.1-r1) 09:07:27 Executing busybox-1.35.0-r13.trigger 09:07:27 Executing eudev-3.2.11-r0.trigger 09:07:27 OK: 228 MiB in 65 packages 09:07:28 Removing intermediate container 343067d4490b 09:07:28 ---> 6f12d6a05410 09:07:28 Step 8/13 : WORKDIR /device-usb-camera 09:07:28 ---> Running in db17141bd655 09:07:29 Removing intermediate container db17141bd655 09:07:29 ---> d1a3a243352d 09:07:29 Step 9/13 : COPY go.mod vendor* ./ 09:07:29 ---> 869dcf4ca07b 09:07:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:07:29 ---> Running in 4415e57716fa 09:08:26 Removing intermediate container 4415e57716fa 09:08:26 ---> d015f1454ab8 09:08:26 Step 11/13 : COPY . . 09:08:26 ---> d08dce56355e 09:08:26 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:08:26 ---> Running in 51ec1e96a599 09:08:26  % Total % Received % Xferd Average Speed Time Time Time Current 09:08:26 Dload Upload Total Spent Left Speed 09:08:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13089 0 --:--:-- --:--:-- --:--:-- 13275 09:08:26 Removing intermediate container 51ec1e96a599 09:08:26 ---> d8d4e385941e 09:08:26 Step 13/13 : RUN ${MAKE} 09:08:26 ---> Running in ab0d4f25501c 09:08:27 noop 09:08:28 Removing intermediate container ab0d4f25501c 09:08:28 ---> 64cf28c05e06 09:08:28 Successfully built 64cf28c05e06 09:08:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:28 + docker inspect -f . ci-base-image-arm64 09:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:28 prd-ubuntu20.04-docker-arm64-4c-16g-1816 does not seem to be running inside a container 09:08:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 09:08:29 $ docker top 3e414f3fdb4b1a42cc6ad55bdb206d3e0172aa42f24e2d2cfcc27bf342688d14 -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:30 + go version 09:08:30 go version go1.18.3 linux/arm64 [Pipeline] } 09:08:30 $ docker stop --time=1 3e414f3fdb4b1a42cc6ad55bdb206d3e0172aa42f24e2d2cfcc27bf342688d14 09:08:32 $ docker rm -f 3e414f3fdb4b1a42cc6ad55bdb206d3e0172aa42f24e2d2cfcc27bf342688d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:33 + docker inspect -f . ci-base-image-arm64 09:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:08:33 prd-ubuntu20.04-docker-arm64-4c-16g-1816 does not seem to be running inside a container 09:08:33 $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 09:08:34 $ docker top 36eb1341cc72dea22d4a9c8a32561312cabef24c07a12f0b24b16cfa5ba19bab -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:35 + git config --global --add safe.directory /w/workspace/device-usb-camera/49 [Pipeline] fileExists [Pipeline] sh 09:08:36 + make test 09:08:36 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 09:08:38 ? github.com/edgexfoundry/device-usb-camera [no test files] 09:10:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 09:10:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.080s coverage: 1.9% of statements 09:10:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:10:29 CGO_ENABLED=1 go vet ./... 09:10:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:52 ./bin/test-attribution-txt.sh 09:10:52 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 09:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:10:52 $ docker stop --time=1 36eb1341cc72dea22d4a9c8a32561312cabef24c07a12f0b24b16cfa5ba19bab 09:10:53 $ docker rm -f 36eb1341cc72dea22d4a9c8a32561312cabef24c07a12f0b24b16cfa5ba19bab [Pipeline] // withDockerContainer [Pipeline] sh 09:10:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:55 Warning: overwriting stash ‘coverage-report’ 09:10:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:56 + ls -al . 09:10:56 total 196 09:10:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 09:08 . 09:10:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:06 .. 09:10:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 09:06 .git 09:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:06 .github 09:10:56 -rw-rw-r-- 1 jenkins jenkins 414 Sep 28 09:06 .gitignore 09:10:56 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 09:06 .golangci.yml 09:10:56 -rw-rw-r-- 1 jenkins jenkins 77 Sep 28 09:06 .hadolint.yml 09:10:56 -rw-rw-r-- 1 jenkins jenkins 9569 Sep 28 09:06 Attribution.txt 09:10:56 -rw-rw-r-- 1 jenkins jenkins 1206 Sep 28 09:06 CHANGELOG.md 09:10:56 -rw-rw-r-- 1 jenkins jenkins 2410 Sep 28 09:06 Dockerfile 09:10:56 -rw-rw-r-- 1 jenkins jenkins 678 Sep 28 09:06 GOVERNANCE.md 09:10:56 -rw-rw-r-- 1 jenkins jenkins 659 Sep 28 09:06 Jenkinsfile 09:10:56 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 09:06 LICENSE 09:10:56 -rw-rw-r-- 1 jenkins jenkins 2345 Sep 28 09:06 Makefile 09:10:56 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 09:06 OWNERS.md 09:10:56 -rw-rw-r-- 1 jenkins jenkins 12817 Sep 28 09:06 README.md 09:10:56 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 09:03 VERSION 09:10:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 09:06 bin 09:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:06 cmd 09:10:56 -rw-r--r-- 1 jenkins jenkins 29387 Sep 28 09:10 coverage.out 09:10:56 -rwxrwxr-x 1 jenkins jenkins 140 Sep 28 09:06 docker-entrypoint.sh 09:10:56 -rw-rw-r-- 1 jenkins jenkins 3633 Sep 28 09:06 go.mod 09:10:56 -rw-rw-r-- 1 jenkins jenkins 38103 Sep 28 09:06 go.sum 09:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:06 internal 09:10:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:06 snap 09:10:56 -rw-rw-r-- 1 jenkins jenkins 231 Sep 28 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:56 + 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=00fef7e065bed1f02203b218570c3778d916ab48 --label arch=arm64 --label version=2.3.0-dev.10 . 09:10:57 Sending build context to Docker daemon 611.8kB 09:10:57 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 09:10:57 Step 2/35 : FROM ${BASE} AS builder 09:10:57 ---> 64cf28c05e06 09:10:57 Step 3/35 : ARG MAKE="make build" 09:10:57 ---> Running in 381fd9b5260d 09:10:57 Removing intermediate container 381fd9b5260d 09:10:57 ---> 7124abaffc51 09:10:57 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 09:10:57 ---> Running in f93c47b7ae02 09:10:57 Removing intermediate container f93c47b7ae02 09:10:57 ---> e8e874eb3b49 09:10:57 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 09:10:58 ---> Running in bae4e5669bbf 09:10:58 Removing intermediate container bae4e5669bbf 09:10:58 ---> 412bb4177585 09:10:58 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:58 ---> Running in 5ebe2fa77992 09:11:00 Removing intermediate container 5ebe2fa77992 09:11:00 ---> b0b40e54252e 09:11:00 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:11:00 ---> Running in 5b80a6d98a57 09:11:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:11:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:11:03 OK: 228 MiB in 65 packages 09:11:04 Removing intermediate container 5b80a6d98a57 09:11:04 ---> 42b4635bde85 09:11:04 Step 8/35 : WORKDIR /device-usb-camera 09:11:04 ---> Running in 0a70f151f553 09:11:05 Removing intermediate container 0a70f151f553 09:11:05 ---> 2d54294152f4 09:11:05 Step 9/35 : COPY go.mod vendor* ./ 09:11:05 ---> 4c25fdeed6aa 09:11:05 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:11:05 ---> Running in c4119209ee54 09:11:08 Removing intermediate container c4119209ee54 09:11:08 ---> 46212b16bcfc 09:11:08 Step 11/35 : COPY . . 09:11:09 ---> dc131aa79e2a 09:11:09 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 09:11:09 ---> Running in 52896f4de265 09:11:10  % Total % Received % Xferd Average Speed Time Time Time Current 09:11:10  Dload Upload Total Spent Left Speed 09:11:10 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6173 0 --:--:-- --:--:-- --:--:-- 6210 09:11:11 Removing intermediate container 52896f4de265 09:11:11 ---> 95cf87e159aa 09:11:11 Step 13/35 : RUN ${MAKE} 09:11:11 ---> Running in 287b7dfe3790 09:11:13 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.10 -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 09:14:05 Removing intermediate container 287b7dfe3790 09:14:05 ---> 9ff842bf215f 09:14:05 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 09:14:05 v0.18.4: Pulling from aler9/rtsp-simple-server 09:14:05 eab2503cf8f4: Pulling fs layer 09:14:05 97cd0a44c592: Pulling fs layer 09:14:05 97cd0a44c592: Verifying Checksum 09:14:05 97cd0a44c592: Download complete 09:14:05 eab2503cf8f4: Verifying Checksum 09:14:05 eab2503cf8f4: Download complete 09:14:05 eab2503cf8f4: Pull complete 09:14:05 97cd0a44c592: Pull complete 09:14:05 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 09:14:05 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 09:14:05 ---> 7f763cca56b3 09:14:05 Step 15/35 : FROM alpine:3.16 09:14:05 3.16: Pulling from library/alpine 09:14:05 9b18e9b68314: Pulling fs layer 09:14:05 9b18e9b68314: Verifying Checksum 09:14:05 9b18e9b68314: Download complete 09:14:05 9b18e9b68314: Pull complete 09:14:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:14:05 Status: Downloaded newer image for alpine:3.16 09:14:05 ---> a6215f271958 09:14:05 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:14:05 ---> Running in 2ad5b06e5900 09:14:05 Removing intermediate container 2ad5b06e5900 09:14:05 ---> cca581cc771c 09:14:05 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 09:14:05 ---> Running in 2461d4bd0f02 09:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:14:05 (1/82) Installing dumb-init (1.2.5-r1) 09:14:05 (2/82) Installing sdl2 (2.0.22-r0) 09:14:05 (3/82) Installing libxau (1.0.9-r0) 09:14:05 (4/82) Installing libxdmcp (1.1.3-r0) 09:14:05 (5/82) Installing libxcb (1.15-r0) 09:14:05 (6/82) Installing libx11 (1.8-r0) 09:14:05 (7/82) Installing aom-libs (3.3.0-r0) 09:14:05 (8/82) Installing alsa-lib (1.2.7.2-r0) 09:14:05 (9/82) Installing expat (2.4.9-r0) 09:14:05 (10/82) Installing brotli-libs (1.0.9-r6) 09:14:05 (11/82) Installing libbz2 (1.0.8-r1) 09:14:05 (12/82) Installing libpng (1.6.37-r1) 09:14:05 (13/82) Installing freetype (2.12.1-r0) 09:14:05 (14/82) Installing fontconfig (2.14.0-r0) 09:14:05 (15/82) Installing fribidi (1.0.12-r0) 09:14:05 (16/82) Installing libffi (3.4.2-r1) 09:14:05 (17/82) Installing libintl (0.21-r2) 09:14:05 (18/82) Installing libblkid (2.38-r1) 09:14:05 (19/82) Installing libmount (2.38-r1) 09:14:05 (20/82) Installing pcre (8.45-r2) 09:14:05 (21/82) Installing glib (2.72.1-r0) 09:14:05 (22/82) Installing graphite2 (1.3.14-r1) 09:14:05 (23/82) Installing harfbuzz (4.3.0-r0) 09:14:05 (24/82) Installing libass (0.16.0-r0) 09:14:05 (25/82) Installing libdav1d (1.0.0-r0) 09:14:05 (26/82) Installing libdrm (2.4.110-r0) 09:14:05 (27/82) Installing gmp (6.2.1-r2) 09:14:05 (28/82) Installing nettle (3.7.3-r0) 09:14:05 (29/82) Installing p11-kit (0.24.1-r0) 09:14:05 (30/82) Installing libtasn1 (4.18.0-r0) 09:14:05 (31/82) Installing libunistring (1.0-r0) 09:14:05 (32/82) Installing gnutls (3.7.7-r0) 09:14:05 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 09:14:05 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 09:14:05 (35/82) Installing lame (3.100-r0) 09:14:05 (36/82) Installing opus (1.3.1-r1) 09:14:05 (37/82) Installing libasyncns (0.8-r1) 09:14:05 (38/82) Installing dbus-libs (1.14.0-r1) 09:14:05 (39/82) Installing libltdl (2.4.7-r0) 09:14:05 (40/82) Installing orc (0.4.32-r0) 09:14:05 (41/82) Installing libgcc (11.2.1_git20220219-r2) 09:14:05 (42/82) Installing libogg (1.3.5-r1) 09:14:05 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 09:14:05 (44/82) Installing flac (1.3.4-r0) 09:14:05 (45/82) Installing libvorbis (1.3.7-r0) 09:14:05 (46/82) Installing libsndfile (1.1.0-r0) 09:14:05 (47/82) Installing libgomp (11.2.1_git20220219-r2) 09:14:05 (48/82) Installing soxr (0.1.3-r2) 09:14:05 (49/82) Installing speexdsp (1.2.0-r0) 09:14:05 (50/82) Installing tdb-libs (1.4.6-r0) 09:14:05 (51/82) Installing libpulse (15.0-r2) 09:14:05 (52/82) Installing cjson (1.7.15-r3) 09:14:05 (53/82) Installing mbedtls (2.28.1-r0) 09:14:05 (54/82) Installing librist (0.2.6-r1) 09:14:05 (55/82) Installing libsrt (1.4.4-r0) 09:14:05 (56/82) Installing libssh (0.9.6-r1) 09:14:05 (57/82) Installing libtheora (1.1.1-r16) 09:14:05 (58/82) Installing libjpeg-turbo (2.1.3-r1) 09:14:05 (59/82) Installing v4l-utils-libs (1.22.1-r1) 09:14:05 (60/82) Installing libxext (1.3.4-r0) 09:14:05 (61/82) Installing libxfixes (6.0.0-r0) 09:14:05 (62/82) Installing wayland-libs-client (1.20.0-r0) 09:14:05 (63/82) Installing libva (2.14.0-r0) 09:14:05 (64/82) Installing libvdpau (1.5-r0) 09:14:05 (65/82) Installing vidstab (1.1.0-r1) 09:14:05 (66/82) Installing libvpx (1.11.0-r1) 09:14:05 (67/82) Installing libwebp (1.2.3-r0) 09:14:05 (68/82) Installing x264-libs (0.163_git20210613-r0) 09:14:05 (69/82) Installing numactl (2.0.14-r0) 09:14:05 (70/82) Installing x265-libs (3.5-r3) 09:14:05 (71/82) Installing xvidcore (1.3.7-r1) 09:14:05 (72/82) Installing ffmpeg-libs (5.0.1-r1) 09:14:05 (73/82) Installing ffmpeg (5.0.1-r1) 09:14:05 (74/82) Installing udev-init-scripts (35-r0) 09:14:05 Executing udev-init-scripts-35-r0.post-install 09:14:05 (75/82) Installing eudev-libs (3.2.11-r0) 09:14:05 (76/82) Installing xz-libs (5.2.5-r1) 09:14:05 (77/82) Installing zstd-libs (1.5.2-r1) 09:14:05 (78/82) Installing kmod-libs (29-r2) 09:14:05 (79/82) Installing eudev (3.2.11-r0) 09:14:05 (80/82) Installing libsodium (1.0.18-r0) 09:14:05 (81/82) Installing libzmq (4.3.4-r0) 09:14:05 (82/82) Installing zeromq (4.3.4-r0) 09:14:05 Executing busybox-1.35.0-r17.trigger 09:14:05 Executing eudev-3.2.11-r0.trigger 09:14:05 OK: 78 MiB in 96 packages 09:14:05 Removing intermediate container 2461d4bd0f02 09:14:05 ---> d8d390632539 09:14:05 Step 18/35 : WORKDIR / 09:14:05 ---> Running in fb45329488c2 09:14:05 Removing intermediate container fb45329488c2 09:14:05 ---> 7100dea37728 09:14:05 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 09:14:05 ---> 4e45ff7016a5 09:14:05 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 09:14:06 ---> 08ee53020d3e 09:14:06 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 09:14:06 ---> bba062876b8a 09:14:06 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 09:14:07 ---> 35dafcee3dfa 09:14:07 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 09:14:07 ---> 6c4a098021ba 09:14:07 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 09:14:08 ---> 23c70e43e0eb 09:14:08 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 09:14:09 ---> 509fcbfd3a8c 09:14:09 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 09:14:09 ---> Running in bd8bb58ee142 09:14:11 Removing intermediate container bd8bb58ee142 09:14:11 ---> 37f748ff6389 09:14:11 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 09:14:11 ---> Running in 1aab86430eca 09:14:12 Removing intermediate container 1aab86430eca 09:14:12 ---> 44891fa12d27 09:14:12 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 09:14:12 ---> Running in 1a91ed5f7920 09:14:14 Removing intermediate container 1a91ed5f7920 09:14:14 ---> c457ddc52a14 09:14:14 Step 29/35 : EXPOSE 59983 09:14:14 ---> Running in a0ace9220345 09:14:14 Removing intermediate container a0ace9220345 09:14:14 ---> 0a505ea5bc53 09:14:14 Step 30/35 : EXPOSE 8554 09:14:14 ---> Running in 649ed54bf1ce 09:14:15 Removing intermediate container 649ed54bf1ce 09:14:15 ---> e720f62e1d7b 09:14:15 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 09:14:15 ---> Running in 03d9f9337888 09:14:15 Removing intermediate container 03d9f9337888 09:14:15 ---> d80d45d531a1 09:14:15 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 09:14:15 ---> Running in 9eff4722c424 09:14:15 Removing intermediate container 9eff4722c424 09:14:15 ---> e51330c2f934 09:14:15 Step 33/35 : LABEL arch=arm64 09:14:15 ---> Running in 7c457d94679d 09:14:16 Removing intermediate container 7c457d94679d 09:14:16 ---> b1b78bae1871 09:14:16 Step 34/35 : LABEL git_sha=00fef7e065bed1f02203b218570c3778d916ab48 09:14:16 ---> Running in 9dd6ee1900eb 09:14:16 Removing intermediate container 9dd6ee1900eb 09:14:16 ---> ff0042255fc8 09:14:16 Step 35/35 : LABEL version=2.3.0-dev.10 09:14:16 ---> Running in 809f9256cddb 09:14:16 Removing intermediate container 809f9256cddb 09:14:16 ---> e37e8df07429 09:14:16 [Warning] One or more build-args [ARCH] were not consumed 09:14:16 Successfully built e37e8df07429 09:14:16 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 09:14:17 provisioning config files... 09:14:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/49@tmp/config18405958536180530784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:17 ---> docker-login.sh 09:14:17 nexus3.edgexfoundry.org:10001 09:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:17 Configure a credential helper to remove this warning. See 09:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:17 09:14:17 Login Succeeded 09:14:17 nexus3.edgexfoundry.org:10002 09:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:18 Configure a credential helper to remove this warning. See 09:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:18 09:14:18 Login Succeeded 09:14:18 nexus3.edgexfoundry.org:10003 09:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:18 Configure a credential helper to remove this warning. See 09:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:18 09:14:18 Login Succeeded 09:14:18 nexus3.edgexfoundry.org:10004 09:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:18 Configure a credential helper to remove this warning. See 09:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:18 09:14:18 Login Succeeded 09:14:18 docker.io 09:14:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:19 Configure a credential helper to remove this warning. See 09:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:19 09:14:19 Login Succeeded 09:14:19 ---> docker-login.sh ends [Pipeline] } 09:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:14:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:19 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 09:14:19 00fef7e065bed1f02203b218570c3778d916ab48 09:14:19 latest 09:14:19 2.3.0-dev.10 09:14:19 00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:14:19 main 09:14:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:19 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48 09:14:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:14:20 b297c1c69d81: Preparing 09:14:20 a9a58040950e: Preparing 09:14:20 8009eac26f05: Preparing 09:14:20 a43932d1df72: Preparing 09:14:20 1207169bf42c: Preparing 09:14:20 51a29ff60a69: Preparing 09:14:20 aa35fab9b7f8: Preparing 09:14:20 278901f070b5: Preparing 09:14:20 8cf9207eb1f0: Preparing 09:14:20 45dba63831d2: Preparing 09:14:20 1dee2bdbb831: Preparing 09:14:20 5d3e392a13a0: Preparing 09:14:20 8cf9207eb1f0: Waiting 09:14:20 51a29ff60a69: Waiting 09:14:20 aa35fab9b7f8: Waiting 09:14:20 278901f070b5: Waiting 09:14:20 45dba63831d2: Waiting 09:14:20 1dee2bdbb831: Waiting 09:14:20 5d3e392a13a0: Waiting 09:14:20 a9a58040950e: Pushed 09:14:20 b297c1c69d81: Pushed 09:14:20 8009eac26f05: Pushed 09:14:20 1207169bf42c: Pushed 09:14:20 51a29ff60a69: Pushed 09:14:20 aa35fab9b7f8: Pushed 09:14:20 8cf9207eb1f0: Pushed 09:14:20 278901f070b5: Pushed 09:14:20 5d3e392a13a0: Layer already exists 09:14:24 a43932d1df72: Pushed 09:14:25 45dba63831d2: Pushed 09:14:35 1dee2bdbb831: Pushed 09:14:35 00fef7e065bed1f02203b218570c3778d916ab48: digest: sha256:69c80503d4ba3e902673512f8b8336b24634153b477040aa0f3f9b88f3db692f size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:36 + 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 09:14:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:14:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:14:36 b297c1c69d81: Preparing 09:14:36 a9a58040950e: Preparing 09:14:36 8009eac26f05: Preparing 09:14:36 a43932d1df72: Preparing 09:14:36 1207169bf42c: Preparing 09:14:36 51a29ff60a69: Preparing 09:14:36 aa35fab9b7f8: Preparing 09:14:36 278901f070b5: Preparing 09:14:36 8cf9207eb1f0: Preparing 09:14:36 45dba63831d2: Preparing 09:14:36 1dee2bdbb831: Preparing 09:14:36 5d3e392a13a0: Preparing 09:14:36 278901f070b5: Waiting 09:14:36 8cf9207eb1f0: Waiting 09:14:36 45dba63831d2: Waiting 09:14:36 1dee2bdbb831: Waiting 09:14:36 5d3e392a13a0: Waiting 09:14:36 51a29ff60a69: Waiting 09:14:36 aa35fab9b7f8: Waiting 09:14:36 b297c1c69d81: Layer already exists 09:14:36 8009eac26f05: Layer already exists 09:14:36 a43932d1df72: Layer already exists 09:14:36 a9a58040950e: Layer already exists 09:14:36 1207169bf42c: Layer already exists 09:14:36 aa35fab9b7f8: Layer already exists 09:14:36 51a29ff60a69: Layer already exists 09:14:36 278901f070b5: Layer already exists 09:14:36 45dba63831d2: Layer already exists 09:14:36 8cf9207eb1f0: Layer already exists 09:14:36 5d3e392a13a0: Layer already exists 09:14:36 1dee2bdbb831: Layer already exists 09:14:36 latest: digest: sha256:69c80503d4ba3e902673512f8b8336b24634153b477040aa0f3f9b88f3db692f size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:37 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.10 09:14:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:14:37 b297c1c69d81: Preparing 09:14:37 a9a58040950e: Preparing 09:14:37 8009eac26f05: Preparing 09:14:37 a43932d1df72: Preparing 09:14:37 1207169bf42c: Preparing 09:14:37 51a29ff60a69: Preparing 09:14:37 aa35fab9b7f8: Preparing 09:14:37 278901f070b5: Preparing 09:14:37 8cf9207eb1f0: Preparing 09:14:37 45dba63831d2: Preparing 09:14:37 1dee2bdbb831: Preparing 09:14:37 5d3e392a13a0: Preparing 09:14:37 278901f070b5: Waiting 09:14:37 8cf9207eb1f0: Waiting 09:14:37 5d3e392a13a0: Waiting 09:14:37 45dba63831d2: Waiting 09:14:37 1dee2bdbb831: Waiting 09:14:37 51a29ff60a69: Waiting 09:14:37 aa35fab9b7f8: Waiting 09:14:37 1207169bf42c: Layer already exists 09:14:37 b297c1c69d81: Layer already exists 09:14:37 a43932d1df72: Layer already exists 09:14:37 8009eac26f05: Layer already exists 09:14:37 a9a58040950e: Layer already exists 09:14:37 8cf9207eb1f0: Layer already exists 09:14:37 45dba63831d2: Layer already exists 09:14:37 278901f070b5: Layer already exists 09:14:37 aa35fab9b7f8: Layer already exists 09:14:37 51a29ff60a69: Layer already exists 09:14:37 1dee2bdbb831: Layer already exists 09:14:37 5d3e392a13a0: Layer already exists 09:14:37 2.3.0-dev.10: digest: sha256:69c80503d4ba3e902673512f8b8336b24634153b477040aa0f3f9b88f3db692f size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:38 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:14:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:14:38 b297c1c69d81: Preparing 09:14:38 a9a58040950e: Preparing 09:14:38 8009eac26f05: Preparing 09:14:38 a43932d1df72: Preparing 09:14:38 1207169bf42c: Preparing 09:14:38 51a29ff60a69: Preparing 09:14:38 aa35fab9b7f8: Preparing 09:14:38 278901f070b5: Preparing 09:14:38 8cf9207eb1f0: Preparing 09:14:38 45dba63831d2: Preparing 09:14:38 1dee2bdbb831: Preparing 09:14:38 5d3e392a13a0: Preparing 09:14:38 278901f070b5: Waiting 09:14:38 8cf9207eb1f0: Waiting 09:14:38 45dba63831d2: Waiting 09:14:38 1dee2bdbb831: Waiting 09:14:38 5d3e392a13a0: Waiting 09:14:38 51a29ff60a69: Waiting 09:14:38 aa35fab9b7f8: Waiting 09:14:38 a9a58040950e: Layer already exists 09:14:38 b297c1c69d81: Layer already exists 09:14:38 1207169bf42c: Layer already exists 09:14:38 8009eac26f05: Layer already exists 09:14:38 a43932d1df72: Layer already exists 09:14:38 51a29ff60a69: Layer already exists 09:14:38 278901f070b5: Layer already exists 09:14:38 aa35fab9b7f8: Layer already exists 09:14:38 45dba63831d2: Layer already exists 09:14:38 8cf9207eb1f0: Layer already exists 09:14:38 1dee2bdbb831: Layer already exists 09:14:38 5d3e392a13a0: Layer already exists 09:14:38 00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10: digest: sha256:69c80503d4ba3e902673512f8b8336b24634153b477040aa0f3f9b88f3db692f size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:39 + 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 09:14:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 09:14:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 09:14:39 b297c1c69d81: Preparing 09:14:39 a9a58040950e: Preparing 09:14:39 8009eac26f05: Preparing 09:14:39 a43932d1df72: Preparing 09:14:39 1207169bf42c: Preparing 09:14:39 51a29ff60a69: Preparing 09:14:39 aa35fab9b7f8: Preparing 09:14:39 278901f070b5: Preparing 09:14:39 8cf9207eb1f0: Preparing 09:14:39 45dba63831d2: Preparing 09:14:39 1dee2bdbb831: Preparing 09:14:39 5d3e392a13a0: Preparing 09:14:39 278901f070b5: Waiting 09:14:39 8cf9207eb1f0: Waiting 09:14:39 45dba63831d2: Waiting 09:14:39 1dee2bdbb831: Waiting 09:14:39 51a29ff60a69: Waiting 09:14:39 aa35fab9b7f8: Waiting 09:14:39 5d3e392a13a0: Waiting 09:14:39 1207169bf42c: Layer already exists 09:14:39 a9a58040950e: Layer already exists 09:14:39 8009eac26f05: Layer already exists 09:14:39 a43932d1df72: Layer already exists 09:14:39 b297c1c69d81: Layer already exists 09:14:39 51a29ff60a69: Layer already exists 09:14:39 8cf9207eb1f0: Layer already exists 09:14:39 aa35fab9b7f8: Layer already exists 09:14:39 278901f070b5: Layer already exists 09:14:39 45dba63831d2: Layer already exists 09:14:39 5d3e392a13a0: Layer already exists 09:14:39 1dee2bdbb831: Layer already exists 09:14:39 main: digest: sha256:69c80503d4ba3e902673512f8b8336b24634153b477040aa0f3f9b88f3db692f size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:14:39 ===================================================== [Pipeline] echo 09:14:39 taggedImages: 09:14:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48 09:14:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 09:14:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.10 09:14:39 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:00fef7e065bed1f02203b218570c3778d916ab48-2.3.0-dev.10 09:14:39 - 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 09:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:14:40 09:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:14:40 arm64: Pulling from edgex-lftools-log-publisher 09:14:40 8998bd30e6a1: Pulling fs layer 09:14:40 04944245beec: Pulling fs layer 09:14:40 699f458cf7ca: Pulling fs layer 09:14:40 765212b225bb: Pulling fs layer 09:14:40 f23df028b6ca: Pulling fs layer 09:14:40 d65c8cfc05b1: Pulling fs layer 09:14:40 2437ff75d9bd: Pulling fs layer 09:14:40 765212b225bb: Waiting 09:14:40 f23df028b6ca: Waiting 09:14:40 d65c8cfc05b1: Waiting 09:14:40 2437ff75d9bd: Waiting 09:14:40 04944245beec: Verifying Checksum 09:14:40 04944245beec: Download complete 09:14:40 765212b225bb: Verifying Checksum 09:14:40 765212b225bb: Download complete 09:14:40 f23df028b6ca: Download complete 09:14:40 d65c8cfc05b1: Download complete 09:14:40 699f458cf7ca: Verifying Checksum 09:14:40 699f458cf7ca: Download complete 09:14:41 8998bd30e6a1: Verifying Checksum 09:14:41 8998bd30e6a1: Download complete 09:14:43 2437ff75d9bd: Verifying Checksum 09:14:43 2437ff75d9bd: Download complete 09:14:45 8998bd30e6a1: Pull complete 09:14:45 04944245beec: Pull complete 09:14:47 699f458cf7ca: Pull complete 09:14:47 765212b225bb: Pull complete 09:14:48 f23df028b6ca: Pull complete 09:14:48 d65c8cfc05b1: Pull complete 09:15:03 2437ff75d9bd: Pull complete 09:15:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:15:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-1816 does not seem to be running inside a container 09:15:03 $ 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/49 -v /w/workspace/device-usb-camera/49:/w/workspace/device-usb-camera/49:rw,z -v /w/workspace/device-usb-camera/49@tmp:/w/workspace/device-usb-camera/49@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 09:15:06 $ docker top c437f454fdc69496b34ceed2d96f843a09b9d3afc43513188816559afdb1b070 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:07 ---> job-cost.sh 09:15:07 lf-activate-venv: SKIPPING 09:15:07 INFO: No Stack... 09:15:07 INFO: Retrieving Pricing Info for: v3-standard-4 09:15:08 INFO: Archiving Costs [Pipeline] sh 09:15:08 + cut -d, -f6 09:15:08 + cat /w/workspace/device-usb-camera/49/archives/cost.csv [Pipeline] lock 09:15:09 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] 09:15:09 Resource [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] did not exist. Created. 09:15:09 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:15:09 /w/workspace/device-usb-camera/49@tmp/durable-5cc2e84c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:15:10 + echo total: 0.10999999940395355 [Pipeline] stash 09:15:10 Warning: overwriting stash ‘stack-cost’ 09:15:10 Stashed 1 file(s) [Pipeline] } 09:15:10 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 09:15:10 $ docker stop --time=1 c437f454fdc69496b34ceed2d96f843a09b9d3afc43513188816559afdb1b070 09:15:11 $ docker rm -f c437f454fdc69496b34ceed2d96f843a09b9d3afc43513188816559afdb1b070 [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 09:15:11 provisioning config files... 09:15:11 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14437464227533764354tmp [Pipeline] { [Pipeline] sh 09:15:12 + set +x 09:15:12 + curl -s https://codecov.io/bash 09:15:12 + bash -s -- 09:15:12 09:15:12 _____ _ 09:15:12 / ____| | | 09:15:12 | | ___ __| | ___ ___ _____ __ 09:15:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:15:12 | |___| (_) | (_| | __/ (_| (_) \ V / 09:15:12 \_____\___/ \__,_|\___|\___\___/ \_/ 09:15:12 Bash-1.0.6 09:15:12 09:15:12 09:15:12 ==> git version 2.25.1 found 09:15:12 ==> 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 09:15:12 Release-Date: 2020-01-08 09:15:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:15:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:15:12 ==> Jenkins CI detected. 09:15:12 current dir:  /w/workspace/exfoundry_device-usb-camera_main 09:15:12 project root: . 09:15:12 --> token set from env 09:15:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:15:12 ==> Running gcov in . (disable via -X gcov) 09:15:12 ==> Python coveragepy not found 09:15:12 ==> Searching for coverage reports in: 09:15:12 + . 09:15:12 -> Found 1 reports 09:15:12 ==> Detecting git/mercurial file structure 09:15:12 ==> Reading reports 09:15:12 + ./coverage.out bytes=29387 09:15:12 ==> Appending adjustments 09:15:12 https://docs.codecov.io/docs/fixing-reports 09:15:12 + Found adjustments 09:15:12 ==> Gzipping contents 09:15:12 8.0K /tmp/codecov.R58BEl.gz 09:15:12 ==> Uploading reports 09:15:12 url: https://codecov.io 09:15:12 query: branch=main&commit=00fef7e065bed1f02203b218570c3778d916ab48&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:15:12 -> Pinging Codecov 09:15:12 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=00fef7e065bed1f02203b218570c3778d916ab48&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:15:13 -> Uploading to 09:15:13 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/73D8F5FF140700D3E01443B452E23636/00fef7e065bed1f02203b218570c3778d916ab48/1f9b229a-497c-48de-bcbf-d8b5ed00cb10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T091512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c37f7a15726172387e9b747928e92531986c7ce02bc83c3bc54be1783bce694 09:15:13 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:13 Dload Upload Total Spent Left Speed 09:15:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4135 0 0 100 4135 0 14927 --:--:-- --:--:-- --:--:-- 14927 09:15:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] } 09:15:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:15:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:15:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:15:13 09:15:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:15:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:15:14 df9b9388f04a: Pulling fs layer 09:15:14 52dc419b0ee2: Pulling fs layer 09:15:14 25bc292e5bac: Pulling fs layer 09:15:14 114826534d7a: Pulling fs layer 09:15:14 4657fd5d0bcf: Pulling fs layer 09:15:14 6ad1cebc031e: Pulling fs layer 09:15:14 8a3aa393b2d8: Pulling fs layer 09:15:14 4657fd5d0bcf: Waiting 09:15:14 114826534d7a: Waiting 09:15:14 6ad1cebc031e: Waiting 09:15:14 8a3aa393b2d8: Waiting 09:15:14 25bc292e5bac: Verifying Checksum 09:15:14 25bc292e5bac: Download complete 09:15:14 52dc419b0ee2: Verifying Checksum 09:15:14 52dc419b0ee2: Download complete 09:15:14 4657fd5d0bcf: Verifying Checksum 09:15:14 4657fd5d0bcf: Download complete 09:15:14 df9b9388f04a: Download complete 09:15:14 6ad1cebc031e: Verifying Checksum 09:15:14 6ad1cebc031e: Download complete 09:15:14 df9b9388f04a: Pull complete 09:15:14 52dc419b0ee2: Pull complete 09:15:14 25bc292e5bac: Pull complete 09:15:14 114826534d7a: Download complete 09:15:14 8a3aa393b2d8: Verifying Checksum 09:15:14 8a3aa393b2d8: Download complete 09:15:18 114826534d7a: Pull complete 09:15:18 4657fd5d0bcf: Pull complete 09:15:18 6ad1cebc031e: Pull complete 09:15:20 8a3aa393b2d8: Pull complete 09:15:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:15:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:15:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:20 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:15:21 $ 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 09:15:24 $ docker top c3f492ffc5abd50138e5bd4d553d10dbad38df6eaea9f3b4741411fe0c7b8332 -eo pid,comm [Pipeline] { [Pipeline] echo 09:15:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 09:15:24 + set -o pipefail 09:15:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 09:15:29 09:15:29 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 09:15:29 09:15:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/0fb6cf40-2ecb-452b-8a73-ffa0d2a1f115 09:15:29 09:15:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:15:29 09:15:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:15:29 09:15:29 [Pipeline] } 09:15:30 $ docker stop --time=1 c3f492ffc5abd50138e5bd4d553d10dbad38df6eaea9f3b4741411fe0c7b8332 09:15:33 $ docker rm -f c3f492ffc5abd50138e5bd4d553d10dbad38df6eaea9f3b4741411fe0c7b8332 [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 09:15:33 + git log --format=format:%s -1 00fef7e065bed1f02203b218570c3778d916ab48 [Pipeline] sh 09:15:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:15:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:15:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:34 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:15:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:15:35 $ docker top 701913d0788d3a42165dd0dd777a2deb8c8b8f891843df391028f5f5a76e2ee6 -eo pid,comm 09:15:35 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). 09:15:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:15:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:15:35 [ssh-agent] Looking for ssh-agent implementation... 09:15:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:15:35 $ docker exec 701913d0788d3a42165dd0dd777a2deb8c8b8f891843df391028f5f5a76e2ee6 ssh-agent 09:15:35 SSH_AUTH_SOCK=/tmp/ssh-UocX9FG4yS4l/agent.32 09:15:35 SSH_AGENT_PID=38 09:15:35 Running ssh-add (command line suppressed) 09:15:35 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_180984352550176388.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_180984352550176388.key) 09:15:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:15:35 + git semver tag 09:15:36 2022-09-28 09:15:35,953 [run_tag] DEBUG tag force:False 09:15:36 2022-09-28 09:15:35,953 [check_head_tag] DEBUG check head tag 09:15:36 2022-09-28 09:15:35,954 [execute] INFO git cat-file --batch-check 09:15:36 2022-09-28 09:15:35,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:15:36 2022-09-28 09:15:35,958 [execute] INFO git cat-file --batch 09:15:36 2022-09-28 09:15:35,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 09:15:36 2022-09-28 09:15:35,974 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:36 2022-09-28 09:15:35,974 [execute] INFO git tag -a v2.3.0-dev.10 -m v2.3.0-dev.10 09:15:36 2022-09-28 09:15:35,975 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.10', '-m', 'v2.3.0-dev.10'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 09:15:36 2022-09-28 09:15:35,979 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:36 2.3.0-dev.10 [Pipeline] } 09:15:36 $ docker exec --env ******** --env ******** 701913d0788d3a42165dd0dd777a2deb8c8b8f891843df391028f5f5a76e2ee6 ssh-agent -k 09:15:36 unset SSH_AUTH_SOCK; 09:15:36 unset SSH_AGENT_PID; 09:15:36 echo Agent pid 38 killed; 09:15:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:15:36 + git semver [Pipeline] } 09:15:36 $ docker stop --time=1 701913d0788d3a42165dd0dd777a2deb8c8b8f891843df391028f5f5a76e2ee6 09:15:38 $ docker rm -f 701913d0788d3a42165dd0dd777a2deb8c8b8f891843df391028f5f5a76e2ee6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:15:38 09:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:15:38 0.23.1-centos7: Pulling from edgex-lftools 09:15:38 ab5ef0e58194: Pulling fs layer 09:15:38 9712f1f96733: Pulling fs layer 09:15:38 63f879dbbcfc: Pulling fs layer 09:15:38 0d9ebad4ef96: Pulling fs layer 09:15:38 e9a5061849ea: Pulling fs layer 09:15:38 d747dcd14b5f: Pulling fs layer 09:15:38 2de7ff778b66: Pulling fs layer 09:15:38 e9a5061849ea: Waiting 09:15:38 d747dcd14b5f: Waiting 09:15:38 2de7ff778b66: Waiting 09:15:38 0d9ebad4ef96: Waiting 09:15:38 9712f1f96733: Verifying Checksum 09:15:38 9712f1f96733: Download complete 09:15:38 63f879dbbcfc: Verifying Checksum 09:15:38 63f879dbbcfc: Download complete 09:15:39 e9a5061849ea: Verifying Checksum 09:15:39 e9a5061849ea: Download complete 09:15:39 0d9ebad4ef96: Verifying Checksum 09:15:39 0d9ebad4ef96: Download complete 09:15:39 d747dcd14b5f: Download complete 09:15:39 ab5ef0e58194: Verifying Checksum 09:15:39 ab5ef0e58194: Download complete 09:15:39 2de7ff778b66: Download complete 09:15:42 ab5ef0e58194: Pull complete 09:15:42 9712f1f96733: Pull complete 09:15:42 63f879dbbcfc: Pull complete 09:15:45 0d9ebad4ef96: Pull complete 09:15:46 e9a5061849ea: Pull complete 09:15:46 d747dcd14b5f: Pull complete 09:15:47 2de7ff778b66: Pull complete 09:15:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:15:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:47 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:15:47 $ 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 09:15:51 $ docker top 0d1246e8a9b0c0aaf82b5b1ea6bd07ac0daad7544da4e00989675d62514291e5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:15:51 provisioning config files... 09:15:51 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14320225471153735801tmp 09:15:51 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9272108840421800390tmp 09:15:51 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4099868575847032842tmp [Pipeline] { [Pipeline] echo 09:15:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:15:51 ---> sigul-configuration.sh 09:15:51 gpg: directory `/root/.gnupg' created 09:15:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:15:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:15:51 gpg: keyring `/root/.gnupg/secring.gpg' created 09:15:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:15:51 gpg: CAST5 encrypted data 09:15:51 gpg: encrypted with 1 passphrase 09:15:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:15:51 + mkdir /home/jenkins 09:15:51 + mkdir /home/jenkins/sigul [Pipeline] sh 09:15:51 + 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 09:15:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:15:52 ---> sigul-install.sh 09:15:52 Sigul already installed; skipping installation. [Pipeline] sh 09:15:52 + git tag --list 09:15:52 v0.0.0 09:15:52 v0.0.1-dev.1 09:15:52 v0.0.1-dev.10 09:15:52 v0.0.1-dev.11 09:15:52 v0.0.1-dev.12 09:15:52 v0.0.1-dev.13 09:15:52 v0.0.1-dev.14 09:15:52 v0.0.1-dev.15 09:15:52 v0.0.1-dev.16 09:15:52 v0.0.1-dev.2 09:15:52 v0.0.1-dev.3 09:15:52 v0.0.1-dev.4 09:15:52 v0.0.1-dev.5 09:15:52 v0.0.1-dev.6 09:15:52 v0.0.1-dev.7 09:15:52 v0.0.1-dev.8 09:15:52 v0.0.1-dev.9 09:15:52 v2.2.0 09:15:52 v2.2.0-dev.17 09:15:52 v2.2.0-dev.18 09:15:52 v2.2.0-dev.19 09:15:52 v2.2.0-dev.20 09:15:52 v2.2.0-dev.21 09:15:52 v2.2.0-dev.22 09:15:52 v2.2.0-dev.23 09:15:52 v2.2.0-dev.24 09:15:52 v2.2.0-dev.25 09:15:52 v2.2.0-dev.26 09:15:52 v2.2.0-dev.27 09:15:52 v2.3.0-dev.1 09:15:52 v2.3.0-dev.10 09:15:52 v2.3.0-dev.2 09:15:52 v2.3.0-dev.3 09:15:52 v2.3.0-dev.4 09:15:52 v2.3.0-dev.5 09:15:52 v2.3.0-dev.6 09:15:52 v2.3.0-dev.7 09:15:52 v2.3.0-dev.8 09:15:52 v2.3.0-dev.9 [Pipeline] sh 09:15:52 + lftools sign git-tag v2.3.0-dev.10 09:15:53 Signing Git tag with Sigul... 09:15:53 Signing v2.3.0-dev.10 [Pipeline] echo 09:15:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:15:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:15:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:15:53 $ docker stop --time=1 0d1246e8a9b0c0aaf82b5b1ea6bd07ac0daad7544da4e00989675d62514291e5 09:15:55 $ docker rm -f 0d1246e8a9b0c0aaf82b5b1ea6bd07ac0daad7544da4e00989675d62514291e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:15:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:15:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:15:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:56 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:15:56 $ 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 09:15:56 $ docker top d5ddb26a06211ae6041ad8f294dcd95b6aabe1653c93e01b1c0f6f2e4469ec1a -eo pid,comm 09:15:56 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). 09:15:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:15:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:15:56 [ssh-agent] Looking for ssh-agent implementation... 09:15:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:15:56 $ docker exec d5ddb26a06211ae6041ad8f294dcd95b6aabe1653c93e01b1c0f6f2e4469ec1a ssh-agent 09:15:56 SSH_AUTH_SOCK=/tmp/ssh-VJW7dtj4T4Sv/agent.32 09:15:56 SSH_AGENT_PID=38 09:15:56 Running ssh-add (command line suppressed) 09:15:56 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18302492690243626520.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_18302492690243626520.key) 09:15:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:15:57 + git semver bump pre 09:15:57 2022-09-28 09:15:57,297 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:57 2022-09-28 09:15:57,297 [bump_version] DEBUG bumping version:2.3.0-dev.10 on axis:pre with prefix:dev 09:15:57 2022-09-28 09:15:57,297 [bump_version] DEBUG bumped version:2.3.0-dev.11 09:15:57 2022-09-28 09:15:57,297 [write_version] DEBUG write version:2.3.0-dev.11 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 09:15:57 2022-09-28 09:15:57,297 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:57 2022-09-28 09:15:57,297 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:57 2022-09-28 09:15:57,299 [execute] INFO git cat-file --batch-check 09:15:57 2022-09-28 09:15:57,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:15:57 2022-09-28 09:15:57,304 [execute] INFO git cat-file --batch 09:15:57 2022-09-28 09:15:57,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:15:57 2022-09-28 09:15:57,308 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:15:57 2.3.0-dev.11 [Pipeline] } 09:15:57 $ docker exec --env ******** --env ******** d5ddb26a06211ae6041ad8f294dcd95b6aabe1653c93e01b1c0f6f2e4469ec1a ssh-agent -k 09:15:57 unset SSH_AUTH_SOCK; 09:15:57 unset SSH_AGENT_PID; 09:15:57 echo Agent pid 38 killed; 09:15:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:15:57 + git semver [Pipeline] } 09:15:58 $ docker stop --time=1 d5ddb26a06211ae6041ad8f294dcd95b6aabe1653c93e01b1c0f6f2e4469ec1a 09:15:59 $ docker rm -f d5ddb26a06211ae6041ad8f294dcd95b6aabe1653c93e01b1c0f6f2e4469ec1a [Pipeline] // withDockerContainer [Pipeline] sh 09:15:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:15:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:16:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:00 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:16:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:16:00 $ docker top 3d560bcc00dbec47c32009517d122e3672e4be011ee30d53eddf46d77dcbef35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:16:00 [ssh-agent] Looking for ssh-agent implementation... 09:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:16:00 $ docker exec 3d560bcc00dbec47c32009517d122e3672e4be011ee30d53eddf46d77dcbef35 ssh-agent 09:16:00 SSH_AUTH_SOCK=/tmp/ssh-ng2iVHb2iJDf/agent.32 09:16:00 SSH_AGENT_PID=38 09:16:00 Running ssh-add (command line suppressed) 09:16:00 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5232273833131318787.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5232273833131318787.key) 09:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:16:01 + git semver push 09:16:01 2022-09-28 09:16:01,498 [run_push] DEBUG push 09:16:01 2022-09-28 09:16:01,499 [execute] INFO git cat-file --batch-check 09:16:01 2022-09-28 09:16:01,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:16:01 2022-09-28 09:16:01,502 [execute] INFO git rev-list c3a5dbcc2b5b8d48be2b18eb4306501879cabcae -- 09:16:01 2022-09-28 09:16:01,503 [execute] DEBUG Popen(['git', 'rev-list', 'c3a5dbcc2b5b8d48be2b18eb4306501879cabcae', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:16:01 2022-09-28 09:16:01,507 [execute] INFO git fetch -v origin 09:16:01 2022-09-28 09:16:01,507 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 09:16:02 2022-09-28 09:16:02,185 [run_push] DEBUG no remote changes detected 09:16:02 2022-09-28 09:16:02,186 [execute] INFO git push origin semver 09:16:02 2022-09-28 09:16:02,186 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:16:03 2022-09-28 09:16:03,021 [run_push] DEBUG push all version tags 09:16:03 2022-09-28 09:16:03,021 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:16:03 2022-09-28 09:16:03,021 [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) 09:16:04 2022-09-28 09:16:03,806 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 09:16:04 2.3.0-dev.11 [Pipeline] } 09:16:04 $ docker exec --env ******** --env ******** 3d560bcc00dbec47c32009517d122e3672e4be011ee30d53eddf46d77dcbef35 ssh-agent -k 09:16:04 unset SSH_AUTH_SOCK; 09:16:04 unset SSH_AGENT_PID; 09:16:04 echo Agent pid 38 killed; 09:16:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:16:04 + git semver [Pipeline] } 09:16:04 $ docker stop --time=1 3d560bcc00dbec47c32009517d122e3672e4be011ee30d53eddf46d77dcbef35 09:16:06 $ docker rm -f 3d560bcc00dbec47c32009517d122e3672e4be011ee30d53eddf46d77dcbef35 [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 09:16:06 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 09:16:06 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:16:06 total 16 09:16:06 drwxr-xr-x 3 root root 4096 Sep 28 09:05 . 09:16:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 09:15 .. 09:16:06 drwxr-xr-x 2 root root 4096 Sep 28 09:05 cost 09:16:06 -rw-r--r-- 1 root root 88 Sep 28 09:05 cost.csv 09:16:06 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 09:16:06 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 09:16:06 total 16 09:16:06 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 09:05 . 09:16:06 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 09:15 .. 09:16:06 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 09:05 cost 09:16:06 -rw-r--r-- 1 jenkins jenkins 88 Sep 28 09:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:16:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:16:07 ---> package-listing.sh 09:16:07 ++ facter osfamily 09:16:07 ++ tr '[:upper:]' '[:lower:]' 09:16:07 + OS_FAMILY=debian 09:16:07 + workspace=/w/workspace/exfoundry_device-usb-camera_main 09:16:07 + START_PACKAGES=/tmp/packages_start.txt 09:16:07 + END_PACKAGES=/tmp/packages_end.txt 09:16:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:16:07 + PACKAGES=/tmp/packages_start.txt 09:16:07 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:16:07 + PACKAGES=/tmp/packages_end.txt 09:16:07 + case "${OS_FAMILY}" in 09:16:07 + dpkg -l 09:16:07 + grep '^ii' 09:16:07 + '[' -f /tmp/packages_start.txt ']' 09:16:07 + '[' -f /tmp/packages_end.txt ']' 09:16:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:16:07 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 09:16:07 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 09:16:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 09:16:07 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 09:16:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:16:08 prd-ubuntu20.04-docker-8c-8g-1812 does not seem to be running inside a container 09:16:08 $ 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 09:16:09 $ docker top c0f449dabc49f1d9c6bfb125cf6a8e8bded29203f6b5d193234d794f0e6575fb -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:09 + touch /tmp/pre-build-complete [Pipeline] sh 09:16:09 + mkdir -p /var/log/sysstat [Pipeline] sh 09:16:09 + ls /var/log/sa-host 09:16:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:10 provisioning config files... 09:16:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3790623127608335737tmp [Pipeline] { [Pipeline] echo 09:16:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:16:10 ---> create-netrc.sh [Pipeline] } 09:16:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:16:10 ---> python-tools-install.sh [Pipeline] echo 09:16:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:16:10 ---> sudo-logs.sh 09:16:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:16:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:16:11 ---> job-cost.sh 09:16:11 lf-activate-venv: SKIPPING 09:16:11 DEBUG: total: 0.2199999988079071 09:16:11 INFO: Retrieving Stack Cost... 09:16:11 INFO: Retrieving Pricing Info for: v3-standard-8 09:16:12 INFO: Archiving Costs [Pipeline] echo 09:16:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:16:12 ---> logs-deploy.sh 09:16:12 lf-activate-venv: SKIPPING 09:16:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/49 09:16:12 INFO: archiving workspace using pattern(s): 09:16:13 Archives upload complete. 09:16:13 INFO: archiving logs to Nexus 09:16:14 ---> uname -a: 09:16:14 Linux prd-ubuntu20-04-docker-8c-8g-1812 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:16:14 09:16:14