Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aaa7e572fda13da2933300a631edf8df830ba1ce 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-ssh18249446441439388164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh4144554699731827073.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2579824202940164403.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh4236860876833927330.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh16941021777875458678.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64331 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 Avoid second fetch Checking out Revision aaa7e572fda13da2933300a631edf8df830ba1ce (main) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 Commit message: "Merge pull request #31 from farshidtz/fix-interval" > git rev-list --no-walk b3ac92876ed7254f502f0442b6fc7078abc266ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:29:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:29:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:29:12 ========================================================= 04:29:12 EdgeX Global Pipelines Version Info 04:29:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:29:13 ------------------- 04:29:13 stable info: 04:29:13 ------------------- 04:29:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:29:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:29:13 Message: update stable to v1.0.230 04:29:13 ------------------- 04:29:13 experimental info: 04:29:13 ------------------- 04:29:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:29:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 04:29:13 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:29:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aaa7e57 [Pipeline] echo 04:29:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:14 provisioning config files... 04:29:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6743970783529451966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:14 ---> docker-login.sh 04:29:14 nexus3.edgexfoundry.org:10001 04:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:15 Configure a credential helper to remove this warning. See 04:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:15 04:29:15 Login Succeeded 04:29:15 nexus3.edgexfoundry.org:10002 04:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:15 Configure a credential helper to remove this warning. See 04:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:15 04:29:15 Login Succeeded 04:29:15 nexus3.edgexfoundry.org:10003 04:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:15 Configure a credential helper to remove this warning. See 04:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:15 04:29:15 Login Succeeded 04:29:15 nexus3.edgexfoundry.org:10004 04:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:15 Configure a credential helper to remove this warning. See 04:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:15 04:29:15 Login Succeeded 04:29:15 docker.io 04:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:15 Configure a credential helper to remove this warning. See 04:29:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:15 04:29:15 Login Succeeded 04:29:15 ---> docker-login.sh ends [Pipeline] } 04:29:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:29:16 + git rev-list -1 --merges aaa7e572fda13da2933300a631edf8df830ba1ce~1..aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] echo 04:29:16 -----------> git rev-list -1 --merges aaa7e572fda13da2933300a631edf8df830ba1ce~1..aaa7e572fda13da2933300a631edf8df830ba1ce aaa7e572fda13da2933300a631edf8df830ba1ce 04:29:16 aaa7e572fda13da2933300a631edf8df830ba1ce [false] [Pipeline] sh 04:29:16 + git log --format=format:%s -1 aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] echo 04:29:16 ========================================================= 04:29:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:29:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:17 + git log --format=format:%s -1 aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] echo 04:29:17 [semverPrep] GIT_COMMIT: aaa7e572fda13da2933300a631edf8df830ba1ce, Commit Message: Merge pull request #31 from farshidtz/fix-interval [Pipeline] echo 04:29:17 [semverPrep] This is not a build commit. [Pipeline] sh 04:29:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:17 + grep -v github /etc/ssh/ssh_known_hosts 04:29:17 + [ -e /tmp/ssh_known_hosts ] 04:29:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:29:17 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 04:29:17 -a /etc/ssh/ssh_known_hosts 04:29:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:29:18 04:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:29:18 latest: Pulling from edgex-devops/py-git-semver 04:29:18 1fe172e4850f: Pulling fs layer 04:29:18 caf521ccaac6: Pulling fs layer 04:29:18 3ead6fa29328: Pulling fs layer 04:29:18 5c2a1cbceb83: Pulling fs layer 04:29:18 a8d5f1318db7: Pulling fs layer 04:29:18 c427282e49a2: Pulling fs layer 04:29:18 1827001aaf11: Pulling fs layer 04:29:18 0714d37db230: Pulling fs layer 04:29:18 ac28cf19c067: Pulling fs layer 04:29:18 ca983d60f3e2: Pulling fs layer 04:29:18 9f894cec8388: Pulling fs layer 04:29:18 1827001aaf11: Waiting 04:29:18 0714d37db230: Waiting 04:29:18 ac28cf19c067: Waiting 04:29:18 5c2a1cbceb83: Waiting 04:29:18 a8d5f1318db7: Waiting 04:29:18 9f894cec8388: Waiting 04:29:18 ca983d60f3e2: Waiting 04:29:18 c427282e49a2: Waiting 04:29:18 caf521ccaac6: Download complete 04:29:18 5c2a1cbceb83: Verifying Checksum 04:29:18 5c2a1cbceb83: Download complete 04:29:18 a8d5f1318db7: Verifying Checksum 04:29:18 a8d5f1318db7: Download complete 04:29:18 3ead6fa29328: Verifying Checksum 04:29:18 3ead6fa29328: Download complete 04:29:18 c427282e49a2: Download complete 04:29:18 0714d37db230: Download complete 04:29:18 ac28cf19c067: Download complete 04:29:18 ca983d60f3e2: Download complete 04:29:18 9f894cec8388: Download complete 04:29:18 1fe172e4850f: Verifying Checksum 04:29:18 1fe172e4850f: Download complete 04:29:18 1827001aaf11: Verifying Checksum 04:29:18 1827001aaf11: Download complete 04:29:20 1fe172e4850f: Pull complete 04:29:20 caf521ccaac6: Pull complete 04:29:20 3ead6fa29328: Pull complete 04:29:20 5c2a1cbceb83: Pull complete 04:29:21 a8d5f1318db7: Pull complete 04:29:21 c427282e49a2: Pull complete 04:29:22 1827001aaf11: Pull complete 04:29:22 0714d37db230: Pull complete 04:29:23 ac28cf19c067: Pull complete 04:29:23 ca983d60f3e2: Pull complete 04:29:23 9f894cec8388: Pull complete 04:29:23 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:29:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 04:29:23 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:29: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:29:25 $ docker top e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 -eo pid,comm 04:29:25 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). 04:29:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:25 [ssh-agent] Looking for ssh-agent implementation... 04:29:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:25 $ docker exec e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 ssh-agent 04:29:25 SSH_AUTH_SOCK=/tmp/ssh-xVFBTwhffe2x/agent.34 04:29:25 SSH_AGENT_PID=40 04:29:25 Running ssh-add (command line suppressed) 04:29:25 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6267463284021889249.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6267463284021889249.key) 04:29:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:26 + git tag --points-at HEAD [Pipeline] } 04:29:26 $ docker exec --env ******** --env ******** e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 ssh-agent -k 04:29:26 unset SSH_AUTH_SOCK; 04:29:26 unset SSH_AGENT_PID; 04:29:26 echo Agent pid 40 killed; 04:29:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:29:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:26 [ssh-agent] Looking for ssh-agent implementation... 04:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:26 $ docker exec e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 ssh-agent 04:29:26 SSH_AUTH_SOCK=/tmp/ssh-ZvDTV1Uz2ERc/agent.75 04:29:26 SSH_AGENT_PID=81 04:29:26 Running ssh-add (command line suppressed) 04:29:26 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7445409188174098327.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7445409188174098327.key) 04:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:26 + git semver init 04:29:27 2022-05-23 04:29:27,189 [run_init] DEBUG init version:0.0.0 force:False 04:29:27 2022-05-23 04:29:27,190 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 04:29:27 2022-05-23 04:29:27,191 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 04:29:27 2022-05-23 04:29:27,191 [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) 04:29:27 2022-05-23 04:29:27,758 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 04:29:27 2022-05-23 04:29:27,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 04:29:27 2022-05-23 04:29:27,758 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:29:27 2022-05-23 04:29:27,759 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:29:27 0.0.1-dev.3 [Pipeline] } 04:29:27 $ docker exec --env ******** --env ******** e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 ssh-agent -k 04:29:27 unset SSH_AUTH_SOCK; 04:29:27 unset SSH_AGENT_PID; 04:29:27 echo Agent pid 81 killed; 04:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:28 + git semver [Pipeline] } 04:29:28 $ docker stop --time=1 e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 04:29:29 $ docker rm -f e19d5f14c6895f0e5075c46f215d0afdd010f06b84219cbc81fefffe69b65868 [Pipeline] // withDockerContainer [Pipeline] sh 04:29:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:29:30 Stashed 1 file(s) [Pipeline] echo 04:29:30 [edgeXSemver]: initialized semver on version 0.0.1-dev.3 [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 04:29:30 provisioning config files... 04:29:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7845815315814618694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:30 ---> docker-login.sh 04:29:30 nexus3.edgexfoundry.org:10001 04:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:30 Configure a credential helper to remove this warning. See 04:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:30 04:29:30 Login Succeeded 04:29:30 nexus3.edgexfoundry.org:10002 04:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:31 Configure a credential helper to remove this warning. See 04:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:31 04:29:31 Login Succeeded 04:29:31 nexus3.edgexfoundry.org:10003 04:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:31 Configure a credential helper to remove this warning. See 04:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:31 04:29:31 Login Succeeded 04:29:31 nexus3.edgexfoundry.org:10004 04:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:31 Configure a credential helper to remove this warning. See 04:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:31 04:29:31 Login Succeeded 04:29:31 docker.io 04:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:31 Configure a credential helper to remove this warning. See 04:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:31 04:29:31 Login Succeeded 04:29:31 ---> docker-login.sh ends [Pipeline] } 04:29:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:29:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:31 ========================================================= 04:29:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:29:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:29:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:29:32 Sending build context to Docker daemon 591.9kB 04:29:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:29:32 Step 2/12 : FROM ${BASE} AS builder 04:29:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:29:32 59bf1c3509f3: Pulling fs layer 04:29:32 666ba61612fd: Pulling fs layer 04:29:32 8ed8ca486205: Pulling fs layer 04:29:32 4fe6c5a15a65: Pulling fs layer 04:29:32 22a0e8bec74d: Pulling fs layer 04:29:32 ca2b28591e48: Pulling fs layer 04:29:32 a51346096db8: Pulling fs layer 04:29:32 daebc70d1ce1: Pulling fs layer 04:29:32 0e18a0eac166: Pulling fs layer 04:29:32 4fe6c5a15a65: Waiting 04:29:32 22a0e8bec74d: Waiting 04:29:32 ca2b28591e48: Waiting 04:29:32 a51346096db8: Waiting 04:29:32 daebc70d1ce1: Waiting 04:29:32 0e18a0eac166: Waiting 04:29:32 8ed8ca486205: Verifying Checksum 04:29:32 666ba61612fd: Download complete 04:29:32 22a0e8bec74d: Verifying Checksum 04:29:32 22a0e8bec74d: Download complete 04:29:32 59bf1c3509f3: Verifying Checksum 04:29:32 59bf1c3509f3: Download complete 04:29:32 ca2b28591e48: Download complete 04:29:32 a51346096db8: Download complete 04:29:32 daebc70d1ce1: Verifying Checksum 04:29:32 daebc70d1ce1: Download complete 04:29:32 59bf1c3509f3: Pull complete 04:29:32 666ba61612fd: Pull complete 04:29:32 8ed8ca486205: Pull complete 04:29:32 0e18a0eac166: Verifying Checksum 04:29:32 0e18a0eac166: Download complete 04:29:33 4fe6c5a15a65: Verifying Checksum 04:29:33 4fe6c5a15a65: Download complete 04:29:37 4fe6c5a15a65: Pull complete 04:29:37 22a0e8bec74d: Pull complete 04:29:37 ca2b28591e48: Pull complete 04:29:37 a51346096db8: Pull complete 04:29:37 daebc70d1ce1: Pull complete 04:29:39 0e18a0eac166: Pull complete 04:29:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:29:39 ---> f018257e8ee9 04:29:39 Step 3/12 : ARG MAKE="make build" 04:29:41 ---> Running in d6900aca31d0 04:29:41 Removing intermediate container d6900aca31d0 04:29:41 ---> b101dbac54cf 04:29:41 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:29:41 ---> Running in 8595b080ef53 04:29:41 Removing intermediate container 8595b080ef53 04:29:41 ---> 7cd6c6fc9678 04:29:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 04:29:41 ---> Running in 5b1f9fa3ac0e 04:29:41 Removing intermediate container 5b1f9fa3ac0e 04:29:41 ---> e05acc1fafc0 04:29:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:29:41 ---> Running in 00f74b4ce171 04:29:42 Removing intermediate container 00f74b4ce171 04:29:42 ---> bacb00f6375b 04:29:42 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:29:42 ---> Running in 5f695a420bca 04:29:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:29:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:29:43 (1/81) Installing mesa (21.2.6-r0) 04:29:43 (2/81) Installing libxau (1.0.9-r0) 04:29:43 (3/81) Installing libmd (1.0.3-r0) 04:29:44 (4/81) Installing libbsd (0.11.3-r1) 04:29:44 (5/81) Installing libxdmcp (1.1.3-r0) 04:29:44 (6/81) Installing libxcb (1.14-r2) 04:29:44 (7/81) Installing libx11 (1.7.2-r0) 04:29:44 (8/81) Installing libxext (1.3.4-r0) 04:29:44 (9/81) Installing libxfixes (6.0.0-r0) 04:29:44 (10/81) Installing libxxf86vm (1.1.4-r2) 04:29:44 (11/81) Installing libpciaccess (0.16-r0) 04:29:44 (12/81) Installing libdrm (2.4.109-r0) 04:29:44 (13/81) Installing mesa-glapi (21.2.6-r0) 04:29:44 (14/81) Installing libxshmfence (1.3-r1) 04:29:45 (15/81) Installing mesa-gl (21.2.6-r0) 04:29:45 (16/81) Installing libice (1.0.10-r0) 04:29:45 (17/81) Installing libuuid (2.37.4-r0) 04:29:45 (18/81) Installing libsm (1.2.3-r0) 04:29:45 (19/81) Installing libxt (1.2.1-r0) 04:29:45 (20/81) Installing libxmu (1.1.3-r0) 04:29:45 Still waiting to schedule task 04:29:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:29:45 (21/81) Installing xset (1.2.4-r0) 04:29:45 (22/81) Installing xprop (1.2.5-r0) 04:29:45 (23/81) Installing xdg-utils (1.1.3-r0) 04:29:46 (24/81) Installing dbus-libs (1.12.20-r4) 04:29:46 (25/81) Installing libffi (3.4.2-r1) 04:29:46 (26/81) Installing libintl (0.21-r0) 04:29:46 (27/81) Installing libblkid (2.37.4-r0) 04:29:46 (28/81) Installing libmount (2.37.4-r0) 04:29:46 (29/81) Installing pcre (8.45-r1) 04:29:46 (30/81) Installing glib (2.70.1-r0) 04:29:46 (31/81) Installing icu-libs (69.1-r1) 04:29:47 (32/81) Installing libpcre2-16 (10.39-r0) 04:29:47 (33/81) Installing zstd-libs (1.5.0-r0) 04:29:47 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 04:29:47 (35/81) Installing hicolor-icon-theme (0.17-r1) 04:29:47 (36/81) Installing wayland-libs-server (1.19.0-r1) 04:29:48 (37/81) Installing mesa-gbm (21.2.6-r0) 04:29:48 (38/81) Installing wayland-libs-client (1.19.0-r1) 04:29:48 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 04:29:48 (40/81) Installing libxcomposite (0.4.5-r0) 04:29:48 (41/81) Installing libbz2 (1.0.8-r1) 04:29:48 (42/81) Installing libpng (1.6.37-r1) 04:29:48 (43/81) Installing freetype (2.11.1-r2) 04:29:48 (44/81) Installing fontconfig (2.13.1-r4) 04:29:48 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 04:29:48 (46/81) Installing wayland-libs-egl (1.19.0-r1) 04:29:49 (47/81) Installing xkeyboard-config (2.34-r0) 04:29:49 (48/81) Installing xz-libs (5.2.5-r1) 04:29:49 (49/81) Installing libxml2 (2.9.14-r0) 04:29:49 (50/81) Installing libxkbcommon (1.3.1-r0) 04:29:49 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 04:29:49 (52/81) Installing mesa-egl (21.2.6-r0) 04:29:49 (53/81) Installing avahi-libs (0.8-r5) 04:29:49 (54/81) Installing nettle (3.7.3-r0) 04:29:49 (55/81) Installing p11-kit (0.24.0-r1) 04:29:49 (56/81) Installing libtasn1 (4.18.0-r0) 04:29:49 (57/81) Installing libunistring (0.9.10-r1) 04:29:50 (58/81) Installing gnutls (3.7.1-r0) 04:29:50 (59/81) Installing cups-libs (2.3.3-r5) 04:29:50 (60/81) Installing graphite2 (1.3.14-r0) 04:29:50 (61/81) Installing harfbuzz (3.0.0-r2) 04:29:50 (62/81) Installing libevdev (1.12.0-r0) 04:29:50 (63/81) Installing mtdev (1.1.6-r0) 04:29:50 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 04:29:50 (65/81) Installing libinput-libs (1.19.4-r0) 04:29:50 (66/81) Installing libjpeg-turbo (2.1.2-r0) 04:29:50 (67/81) Installing xcb-util-wm (0.4.1-r1) 04:29:50 (68/81) Installing xcb-util (0.4.0-r3) 04:29:50 (69/81) Installing xcb-util-image (0.4.0-r1) 04:29:51 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 04:29:51 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 04:29:51 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 04:29:51 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 04:29:52 (74/81) Installing v4l-utils-libs (1.22.1-r1) 04:29:52 (75/81) Installing v4l-utils (1.22.1-r1) 04:29:52 (76/81) Installing udev-init-scripts (35-r0) 04:29:52 Executing udev-init-scripts-35-r0.post-install 04:29:52 (77/81) Installing kmod-libs (29-r2) 04:29:52 (78/81) Installing eudev (3.2.11_pre1-r0) 04:29:52 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 04:29:52 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 04:29:52 (81/81) Installing v4l-utils-dev (1.22.1-r1) 04:29:53 Executing busybox-1.34.1-r3.trigger 04:29:53 Executing eudev-3.2.11_pre1-r0.trigger 04:29:53 OK: 335 MiB in 133 packages 04:29:55 Removing intermediate container 5f695a420bca 04:29:55 ---> 5fd53b479b2e 04:29:55 Step 8/12 : WORKDIR /device-usb-camera 04:29:55 ---> Running in 7efb7dfc3fc8 04:29:55 Removing intermediate container 7efb7dfc3fc8 04:29:55 ---> dfad22988a06 04:29:55 Step 9/12 : COPY go.mod vendor* ./ 04:29:55 ---> a015ad7444ca 04:29:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:29:55 ---> Running in 377feecfbd42 04:30:17 Removing intermediate container 377feecfbd42 04:30:17 ---> 0588b097f778 04:30:17 Step 11/12 : COPY . . 04:30:17 ---> 2058945b97d7 04:30:17 Step 12/12 : RUN ${MAKE} 04:30:17 ---> Running in 4345cd53ebb5 04:30:17 noop 04:30:17 Removing intermediate container 4345cd53ebb5 04:30:17 ---> 1ddd73ff292f 04:30:17 Successfully built 1ddd73ff292f 04:30:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:30:18 + docker inspect -f . ci-base-image-x86_64 04:30:18 . [Pipeline] withDockerContainer 04:30:18 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:30: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 ******** ci-base-image-x86_64 cat 04:30:18 $ docker top c2860d0ffa5fd4c58ffaecdbc8beef9976d0ec9d691aa262db84040287cf8895 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:18 + go version 04:30:18 go version go1.17.6 linux/amd64 [Pipeline] } 04:30:18 $ docker stop --time=1 c2860d0ffa5fd4c58ffaecdbc8beef9976d0ec9d691aa262db84040287cf8895 04:30:20 $ docker rm -f c2860d0ffa5fd4c58ffaecdbc8beef9976d0ec9d691aa262db84040287cf8895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:30:20 + docker inspect -f . ci-base-image-x86_64 04:30:20 . [Pipeline] withDockerContainer 04:30:20 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:30:20 $ 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 ******** ci-base-image-x86_64 cat 04:30:21 $ docker top 1df69477a2f78a17e4a0fba345779ece43fb15386acaa1b9435c738bca732268 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:30:21 + make test 04:30:21 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 04:30:21 ? github.com/edgexfoundry/device-usb-camera [no test files] 04:30:31 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 04:30:31 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 04:30:37 CGO_ENABLED=1 go vet ./... 04:30:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:30:41 ./bin/test-attribution-txt.sh [Pipeline] echo 04:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:30:41 $ docker stop --time=1 1df69477a2f78a17e4a0fba345779ece43fb15386acaa1b9435c738bca732268 04:30:43 $ docker rm -f 1df69477a2f78a17e4a0fba345779ece43fb15386acaa1b9435c738bca732268 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:30:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:30:44 + ls -al . 04:30:44 total 164 04:30:44 drwxrwxr-x 9 jenkins jenkins 4096 May 23 04:30 . 04:30:44 drwxrwxr-x 4 jenkins jenkins 4096 May 23 04:29 .. 04:30:44 drwxrwxr-x 8 jenkins jenkins 4096 May 23 04:29 .git 04:30:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:29 .github 04:30:44 -rw-rw-r-- 1 jenkins jenkins 349 May 23 04:29 .gitignore 04:30:44 -rw-rw-r-- 1 jenkins jenkins 42 May 23 04:29 .golangci.yml 04:30:44 -rw-rw-r-- 1 jenkins jenkins 77 May 23 04:29 .hadolint.yml 04:30:44 drwxr-xr-x 3 jenkins jenkins 4096 May 23 04:29 .semver 04:30:44 -rw-rw-r-- 1 jenkins jenkins 8706 May 23 04:29 Attribution.txt 04:30:44 -rw-rw-r-- 1 jenkins jenkins 181 May 23 04:29 CHANGELOG.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 1891 May 23 04:29 Dockerfile 04:30:44 -rw-rw-r-- 1 jenkins jenkins 678 May 23 04:29 GOVERNANCE.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 659 May 23 04:29 Jenkinsfile 04:30:44 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 04:29 LICENSE 04:30:44 -rw-rw-r-- 1 jenkins jenkins 2030 May 23 04:29 Makefile 04:30:44 -rw-rw-r-- 1 jenkins jenkins 622 May 23 04:29 OWNERS.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 8944 May 23 04:29 README.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 11 May 23 04:29 VERSION 04:30:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:29 bin 04:30:44 drwxrwxr-x 3 jenkins jenkins 4096 May 23 04:29 cmd 04:30:44 -rw-r--r-- 1 jenkins jenkins 10 May 23 04:30 coverage.out 04:30:44 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:29 docker-compose 04:30:44 -rw-rw-r-- 1 jenkins jenkins 140 May 23 04:29 docker-entrypoint.sh 04:30:44 -rw-rw-r-- 1 jenkins jenkins 3307 May 23 04:29 go.mod 04:30:44 -rw-rw-r-- 1 jenkins jenkins 35656 May 23 04:29 go.sum 04:30:44 drwxrwxr-x 3 jenkins jenkins 4096 May 23 04:29 internal 04:30:44 -rw-rw-r-- 1 jenkins jenkins 231 May 23 04:29 version.go [Pipeline] isUnix [Pipeline] sh 04:30:45 + 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=aaa7e572fda13da2933300a631edf8df830ba1ce --label arch=amd64 --label version=0.0.1-dev.3 . 04:30:45 Sending build context to Docker daemon 592.9kB 04:30:45 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 04:30:45 Step 2/29 : FROM ${BASE} AS builder 04:30:45 ---> 1ddd73ff292f 04:30:45 Step 3/29 : ARG MAKE="make build" 04:30:45 ---> Running in 8e4edd0fff74 04:30:45 Removing intermediate container 8e4edd0fff74 04:30:45 ---> 78edf12d6a2f 04:30:45 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:30:45 ---> Running in 6bc494bbeaec 04:30:45 Removing intermediate container 6bc494bbeaec 04:30:45 ---> 76594bbafc70 04:30:45 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 04:30:45 ---> Running in 1698f3815f47 04:30:45 Removing intermediate container 1698f3815f47 04:30:45 ---> 33ac84b95287 04:30:45 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:30:45 ---> Running in 0926ff328c1a 04:30:46 Removing intermediate container 0926ff328c1a 04:30:46 ---> fc039545df70 04:30:46 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:46 ---> Running in fdfa614f92c1 04:30:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:30:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:30:47 OK: 335 MiB in 133 packages 04:30:47 Removing intermediate container fdfa614f92c1 04:30:47 ---> a6a163072373 04:30:47 Step 8/29 : WORKDIR /device-usb-camera 04:30:47 ---> Running in 98fba9ecc2cb 04:30:47 Removing intermediate container 98fba9ecc2cb 04:30:47 ---> 90d89dbfc273 04:30:47 Step 9/29 : COPY go.mod vendor* ./ 04:30:47 ---> bb3e94897bce 04:30:47 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:48 ---> Running in 755bfb99430f 04:30:48 Removing intermediate container 755bfb99430f 04:30:48 ---> 5908f09ac505 04:30:48 Step 11/29 : COPY . . 04:30:48 ---> 773a4b108960 04:30:48 Step 12/29 : RUN ${MAKE} 04:30:48 ---> Running in 710ff757e1b3 04:30:49 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 04:31:11 Removing intermediate container 710ff757e1b3 04:31:11 ---> 3545b6565b07 04:31:11 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 04:31:11 v0.18.4: Pulling from aler9/rtsp-simple-server 04:31:11 af6660deedbd: Pulling fs layer 04:31:11 97cd0a44c592: Pulling fs layer 04:31:11 97cd0a44c592: Verifying Checksum 04:31:11 97cd0a44c592: Download complete 04:31:11 af6660deedbd: Verifying Checksum 04:31:11 af6660deedbd: Download complete 04:31:11 af6660deedbd: Pull complete 04:31:11 97cd0a44c592: Pull complete 04:31:11 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 04:31:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 04:31:11 ---> fea57e182299 04:31:11 Step 14/29 : FROM alpine:3.15 04:31:11 3.15: Pulling from library/alpine 04:31:11 df9b9388f04a: Pulling fs layer 04:31:11 df9b9388f04a: Verifying Checksum 04:31:11 df9b9388f04a: Download complete 04:31:11 df9b9388f04a: Pull complete 04:31:11 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:31:11 Status: Downloaded newer image for alpine:3.15 04:31:11 ---> 0ac33e5f5afa 04:31:11 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:31:11 ---> Running in a97b5ef1c572 04:31:11 Removing intermediate container a97b5ef1c572 04:31:11 ---> dd6ca1cd2a17 04:31:11 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 04:31:11 ---> Running in 3b13b5e8871f 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:31:12 (1/74) Installing dumb-init (1.2.5-r1) 04:31:12 (2/74) Installing sdl2 (2.0.16-r4) 04:31:12 (3/74) Installing libxau (1.0.9-r0) 04:31:12 (4/74) Installing libmd (1.0.3-r0) 04:31:12 (5/74) Installing libbsd (0.11.3-r1) 04:31:12 (6/74) Installing libxdmcp (1.1.3-r0) 04:31:12 (7/74) Installing libxcb (1.14-r2) 04:31:12 (8/74) Installing libx11 (1.7.2-r0) 04:31:12 (9/74) Installing aom-libs (3.2.0-r0) 04:31:12 (10/74) Installing alsa-lib (1.2.5.1-r1) 04:31:12 (11/74) Installing expat (2.4.7-r0) 04:31:12 (12/74) Installing brotli-libs (1.0.9-r5) 04:31:12 (13/74) Installing libbz2 (1.0.8-r1) 04:31:12 (14/74) Installing libpng (1.6.37-r1) 04:31:12 (15/74) Installing freetype (2.11.1-r2) 04:31:12 (16/74) Installing libuuid (2.37.4-r0) 04:31:12 (17/74) Installing fontconfig (2.13.1-r4) 04:31:12 (18/74) Installing fribidi (1.0.11-r0) 04:31:12 (19/74) Installing libffi (3.4.2-r1) 04:31:12 (20/74) Installing libintl (0.21-r0) 04:31:12 (21/74) Installing libblkid (2.37.4-r0) 04:31:12 (22/74) Installing libmount (2.37.4-r0) 04:31:12 (23/74) Installing pcre (8.45-r1) 04:31:12 (24/74) Installing glib (2.70.1-r0) 04:31:12 (25/74) Installing graphite2 (1.3.14-r0) 04:31:12 (26/74) Installing harfbuzz (3.0.0-r2) 04:31:12 (27/74) Installing libass (0.15.2-r0) 04:31:12 (28/74) Installing libdav1d (0.9.2-r0) 04:31:12 (29/74) Installing gmp (6.2.1-r1) 04:31:12 (30/74) Installing nettle (3.7.3-r0) 04:31:12 (31/74) Installing p11-kit (0.24.0-r1) 04:31:12 (32/74) Installing libtasn1 (4.18.0-r0) 04:31:12 (33/74) Installing libunistring (0.9.10-r1) 04:31:12 (34/74) Installing gnutls (3.7.1-r0) 04:31:12 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 04:31:12 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 04:31:12 (37/74) Installing lame (3.100-r0) 04:31:12 (38/74) Installing opus (1.3.1-r1) 04:31:12 (39/74) Installing libgomp (10.3.1_git20211027-r0) 04:31:12 (40/74) Installing soxr (0.1.3-r2) 04:31:12 (41/74) Installing libgcc (10.3.1_git20211027-r0) 04:31:12 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 04:31:12 (43/74) Installing libsrt (1.4.2-r1) 04:31:12 (44/74) Installing libssh (0.9.6-r1) 04:31:12 (45/74) Installing libogg (1.3.5-r0) 04:31:12 (46/74) Installing libtheora (1.1.1-r16) 04:31:12 (47/74) Installing libjpeg-turbo (2.1.2-r0) 04:31:12 (48/74) Installing v4l-utils-libs (1.22.1-r1) 04:31:12 (49/74) Installing libxext (1.3.4-r0) 04:31:12 (50/74) Installing libxfixes (6.0.0-r0) 04:31:12 (51/74) Installing libpciaccess (0.16-r0) 04:31:12 (52/74) Installing libdrm (2.4.109-r0) 04:31:12 (53/74) Installing wayland-libs-client (1.19.0-r1) 04:31:12 (54/74) Installing libva (2.13.0-r0) 04:31:12 (55/74) Installing libvdpau (1.4-r0) 04:31:12 (56/74) Installing vidstab (1.1.0-r1) 04:31:12 (57/74) Installing libvorbis (1.3.7-r0) 04:31:12 (58/74) Installing libvpx (1.10.0-r0) 04:31:12 (59/74) Installing vulkan-loader (1.2.196-r0) 04:31:12 (60/74) Installing libwebp (1.2.2-r0) 04:31:12 (61/74) Installing x264-libs (20210613-r0) 04:31:13 (62/74) Installing x265-libs (3.5-r0) 04:31:13 (63/74) Installing xvidcore (1.3.7-r1) 04:31:13 (64/74) Installing ffmpeg-libs (4.4.1-r2) 04:31:13 (65/74) Installing ffmpeg (4.4.1-r2) 04:31:13 (66/74) Installing udev-init-scripts (35-r0) 04:31:13 Executing udev-init-scripts-35-r0.post-install 04:31:13 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 04:31:13 (68/74) Installing xz-libs (5.2.5-r1) 04:31:13 (69/74) Installing zstd-libs (1.5.0-r0) 04:31:13 (70/74) Installing kmod-libs (29-r2) 04:31:13 (71/74) Installing eudev (3.2.11_pre1-r0) 04:31:13 (72/74) Installing libsodium (1.0.18-r0) 04:31:13 (73/74) Installing libzmq (4.3.4-r0) 04:31:13 (74/74) Installing zeromq (4.3.4-r0) 04:31:13 Executing busybox-1.34.1-r5.trigger 04:31:13 Executing eudev-3.2.11_pre1-r0.trigger 04:31:13 OK: 78 MiB in 88 packages 04:31:14 Removing intermediate container 3b13b5e8871f 04:31:14 ---> 4674d8b7dd40 04:31:14 Step 17/29 : WORKDIR / 04:31:14 ---> Running in e8577b8b185c 04:31:14 Removing intermediate container e8577b8b185c 04:31:14 ---> e6f16e48821c 04:31:14 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 04:31:15 ---> dcd4ad880bf3 04:31:15 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 04:31:15 ---> 1f2fb04dae35 04:31:15 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 04:31:15 ---> e8ca222ad013 04:31:15 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 04:31:15 ---> 94d6f2a51c27 04:31:15 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 04:31:15 ---> eb2e9abe3d6c 04:31:15 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 04:31:16 ---> 366b68fc3afd 04:31:16 Step 24/29 : EXPOSE 59983 04:31:16 ---> Running in 090944d4fb75 04:31:16 Removing intermediate container 090944d4fb75 04:31:16 ---> f90a75d5c8b3 04:31:16 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 04:31:16 ---> Running in af4ec7f3c101 04:31:16 Removing intermediate container af4ec7f3c101 04:31:16 ---> fb177b8229f3 04:31:16 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 04:31:16 ---> Running in 11766c600dc0 04:31:16 Removing intermediate container 11766c600dc0 04:31:16 ---> d99497af7ab9 04:31:16 Step 27/29 : LABEL arch=amd64 04:31:16 ---> Running in 70befc15a0dc 04:31:17 Removing intermediate container 70befc15a0dc 04:31:17 ---> 61cb358ab836 04:31:17 Step 28/29 : LABEL git_sha=aaa7e572fda13da2933300a631edf8df830ba1ce 04:31:17 ---> Running in 2e50db4d5e81 04:31:17 Removing intermediate container 2e50db4d5e81 04:31:17 ---> 24390e0962e6 04:31:17 Step 29/29 : LABEL version=0.0.1-dev.3 04:31:17 ---> Running in 89196f71b336 04:31:17 Removing intermediate container 89196f71b336 04:31:17 ---> 40e56f4db9dd 04:31:17 [Warning] One or more build-args [ARCH] were not consumed 04:31:17 Successfully built 40e56f4db9dd 04:31:17 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:17 provisioning config files... 04:31:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5389872296442966143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:17 ---> docker-login.sh 04:31:17 nexus3.edgexfoundry.org:10001 04:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:17 Configure a credential helper to remove this warning. See 04:31:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:17 04:31:17 Login Succeeded 04:31:17 nexus3.edgexfoundry.org:10002 04:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:18 Configure a credential helper to remove this warning. See 04:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:18 04:31:18 Login Succeeded 04:31:18 nexus3.edgexfoundry.org:10003 04:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:18 Configure a credential helper to remove this warning. See 04:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:18 04:31:18 Login Succeeded 04:31:18 nexus3.edgexfoundry.org:10004 04:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:18 Configure a credential helper to remove this warning. See 04:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:18 04:31:18 Login Succeeded 04:31:18 docker.io 04:31:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64332 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { 04:31:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:18 Configure a credential helper to remove this warning. See 04:31:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:18 04:31:18 Login Succeeded 04:31:18 ---> docker-login.sh ends [Pipeline] ws 04:31:18 Running in /w/workspace/device-usb-camera/14 [Pipeline] { [Pipeline] } 04:31:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] checkout [Pipeline] // withEnv [Pipeline] echo 04:31:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:18 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 04:31:18 aaa7e572fda13da2933300a631edf8df830ba1ce 04:31:18 latest 04:31:18 0.0.1-dev.3 04:31:18 aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:31:18 main 04:31:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:31:19 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] isUnix [Pipeline] sh 04:31:19 Selected Git installation does not exist. Using Default 04:31:19 The recommended git tool is: NONE 04:31:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce 04:31:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 04:31:19 550e596c6d0e: Preparing 04:31:19 1207169bf42c: Preparing 04:31:19 6e3c2b15aba5: Preparing 04:31:19 9f40e0f75c94: Preparing 04:31:19 2a2f3cc370ac: Preparing 04:31:19 309a2af84f0d: Preparing 04:31:19 f51dc95b525d: Preparing 04:31:19 4fc242d58285: Preparing 04:31:19 f51dc95b525d: Waiting 04:31:19 4fc242d58285: Waiting 04:31:19 309a2af84f0d: Waiting 04:31:19 2a2f3cc370ac: Pushed 04:31:19 9f40e0f75c94: Pushed 04:31:19 6e3c2b15aba5: Pushed 04:31:19 1207169bf42c: Pushed 04:31:19 4fc242d58285: Layer already exists 04:31:21 550e596c6d0e: Pushed 04:31:22 309a2af84f0d: Pushed 04:31:25 using credential edgex-jenkins-ssh 04:31:25 Cloning the remote Git repository 04:31:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 04:31:25 > git init /w/workspace/device-usb-camera/14 # timeout=10 04:31:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 04:31:25 > git --version # timeout=10 04:31:25 > git --version # 'git version 2.25.1' 04:31:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:31:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:31:26 Avoid second fetch 04:31:26 Checking out Revision aaa7e572fda13da2933300a631edf8df830ba1ce (main) 04:31:26 f51dc95b525d: Pushed 04:31:26 aaa7e572fda13da2933300a631edf8df830ba1ce: digest: sha256:06d868993bb9d2a55027efce1100ceb02200cfdda3e4ead3f4a8d41dee9c1571 size: 1994 [Pipeline] isUnix [Pipeline] sh 04:31:26 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] isUnix [Pipeline] sh 04:31:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 04:31:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:31:26 > git config core.sparsecheckout # timeout=10 04:31:26 > git checkout -f aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 04:31:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 04:31:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 04:31:27 550e596c6d0e: Preparing 04:31:27 1207169bf42c: Preparing 04:31:27 6e3c2b15aba5: Preparing 04:31:27 9f40e0f75c94: Preparing 04:31:27 2a2f3cc370ac: Preparing 04:31:27 309a2af84f0d: Preparing 04:31:27 f51dc95b525d: Preparing 04:31:27 4fc242d58285: Preparing 04:31:27 f51dc95b525d: Waiting 04:31:27 309a2af84f0d: Waiting 04:31:27 6e3c2b15aba5: Layer already exists 04:31:27 2a2f3cc370ac: Layer already exists 04:31:27 550e596c6d0e: Layer already exists 04:31:27 1207169bf42c: Layer already exists 04:31:27 9f40e0f75c94: Layer already exists 04:31:27 309a2af84f0d: Layer already exists 04:31:27 f51dc95b525d: Layer already exists 04:31:27 4fc242d58285: Layer already exists 04:31:27 latest: digest: sha256:06d868993bb9d2a55027efce1100ceb02200cfdda3e4ead3f4a8d41dee9c1571 size: 1994 [Pipeline] isUnix [Pipeline] sh 04:31:27 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 04:31:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.3 04:31:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 04:31:27 550e596c6d0e: Preparing 04:31:27 1207169bf42c: Preparing 04:31:27 6e3c2b15aba5: Preparing 04:31:27 9f40e0f75c94: Preparing 04:31:27 2a2f3cc370ac: Preparing 04:31:27 309a2af84f0d: Preparing 04:31:27 f51dc95b525d: Preparing 04:31:27 4fc242d58285: Preparing 04:31:27 309a2af84f0d: Waiting 04:31:27 f51dc95b525d: Waiting 04:31:27 4fc242d58285: Waiting 04:31:27 2a2f3cc370ac: Layer already exists 04:31:27 550e596c6d0e: Layer already exists 04:31:27 1207169bf42c: Layer already exists 04:31:27 9f40e0f75c94: Layer already exists 04:31:27 6e3c2b15aba5: Layer already exists 04:31:27 309a2af84f0d: Layer already exists 04:31:27 f51dc95b525d: Layer already exists 04:31:27 4fc242d58285: Layer already exists 04:31:27 0.0.1-dev.3: digest: sha256:06d868993bb9d2a55027efce1100ceb02200cfdda3e4ead3f4a8d41dee9c1571 size: 1994 [Pipeline] isUnix [Pipeline] sh 04:31:27 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 04:31:28 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:31:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 04:31:28 550e596c6d0e: Preparing 04:31:28 1207169bf42c: Preparing 04:31:28 6e3c2b15aba5: Preparing 04:31:28 9f40e0f75c94: Preparing 04:31:28 2a2f3cc370ac: Preparing 04:31:28 309a2af84f0d: Preparing 04:31:28 f51dc95b525d: Preparing 04:31:28 4fc242d58285: Preparing 04:31:28 f51dc95b525d: Waiting 04:31:28 4fc242d58285: Waiting 04:31:28 309a2af84f0d: Waiting 04:31:28 6e3c2b15aba5: Layer already exists 04:31:28 2a2f3cc370ac: Layer already exists 04:31:28 9f40e0f75c94: Layer already exists 04:31:28 1207169bf42c: Layer already exists 04:31:28 550e596c6d0e: Layer already exists 04:31:28 4fc242d58285: Layer already exists 04:31:28 f51dc95b525d: Layer already exists 04:31:28 309a2af84f0d: Layer already exists 04:31:28 aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3: digest: sha256:06d868993bb9d2a55027efce1100ceb02200cfdda3e4ead3f4a8d41dee9c1571 size: 1994 [Pipeline] isUnix [Pipeline] sh 04:31:28 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] isUnix [Pipeline] sh 04:31:29 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 04:31:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 04:31:29 550e596c6d0e: Preparing 04:31:29 1207169bf42c: Preparing 04:31:29 6e3c2b15aba5: Preparing 04:31:29 9f40e0f75c94: Preparing 04:31:29 2a2f3cc370ac: Preparing 04:31:29 309a2af84f0d: Preparing 04:31:29 f51dc95b525d: Preparing 04:31:29 4fc242d58285: Preparing 04:31:29 f51dc95b525d: Waiting 04:31:29 309a2af84f0d: Waiting 04:31:29 4fc242d58285: Waiting 04:31:29 2a2f3cc370ac: Layer already exists 04:31:29 1207169bf42c: Layer already exists 04:31:29 9f40e0f75c94: Layer already exists 04:31:29 550e596c6d0e: Layer already exists 04:31:29 6e3c2b15aba5: Layer already exists 04:31:29 f51dc95b525d: Layer already exists 04:31:29 4fc242d58285: Layer already exists 04:31:29 309a2af84f0d: Layer already exists 04:31:29 main: digest: sha256:06d868993bb9d2a55027efce1100ceb02200cfdda3e4ead3f4a8d41dee9c1571 size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:31:29 ===================================================== [Pipeline] echo 04:31:29 taggedImages: 04:31:29 - nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce 04:31:29 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 04:31:29 - nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.3 04:31:29 - nexus3.edgexfoundry.org:10004/device-usb-camera:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:31:29 - 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] sh 04:31:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:29 04:31:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:31:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:29 latest: Pulling from edgex-lftools-log-publisher 04:31:29 5eb5b503b376: Pulling fs layer 04:31:29 5c69ac0246d0: Pulling fs layer 04:31:29 ec43610c2a17: Pulling fs layer 04:31:29 3a2ae6a8a46f: Pulling fs layer 04:31:29 33b1e0a273af: Pulling fs layer 04:31:29 5d3b04190fa2: Pulling fs layer 04:31:29 2f39f015ded8: Pulling fs layer 04:31:29 3a2ae6a8a46f: Waiting 04:31:29 33b1e0a273af: Waiting 04:31:29 5d3b04190fa2: Waiting 04:31:29 2f39f015ded8: Waiting 04:31:29 5c69ac0246d0: Verifying Checksum 04:31:29 5c69ac0246d0: Download complete 04:31:29 3a2ae6a8a46f: Verifying Checksum 04:31:29 3a2ae6a8a46f: Download complete 04:31:29 33b1e0a273af: Verifying Checksum 04:31:29 33b1e0a273af: Download complete 04:31:30 5d3b04190fa2: Verifying Checksum 04:31:30 5d3b04190fa2: Download complete 04:31:30 ec43610c2a17: Verifying Checksum 04:31:30 5eb5b503b376: Verifying Checksum 04:31:30 5eb5b503b376: Download complete 04:31:30 Commit message: "Merge pull request #31 from farshidtz/fix-interval" 04:31:30 2f39f015ded8: Download complete 04:31:30 04:31:30 GitHub has been notified of this commit’s build result 04:31:30 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:31:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:31:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:31 Dload Upload Total Spent Left Speed 04:31:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51700 0 --:--:-- --:--:-- --:--:-- 51700 04:31:31 5eb5b503b376: Pull complete 04:31:31 5c69ac0246d0: Pull complete [Pipeline] sh 04:31:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:31:32 ec43610c2a17: Pull complete 04:31:32 3a2ae6a8a46f: Pull complete 04:31:32 + sudo tee /etc/docker/daemon.new 04:31:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:31:32 { 04:31:32 "registry-mirrors": [ 04:31:32 "https://nexus3.edgexfoundry.org:10001" 04:31:32 ], 04:31:32 "bip": "10.250.0.254/24", 04:31:32 "hosts": [ 04:31:32 "tcp://0.0.0.0:5555", 04:31:32 "unix:///var/run/docker.sock" 04:31:32 ], 04:31:32 "mtu": 1458, 04:31:32 "selinux-enabled": true, 04:31:32 "seccomp-profile": "/etc/docker/seccomp.json" 04:31:32 } [Pipeline] sh 04:31:32 33b1e0a273af: Pull complete 04:31:32 5d3b04190fa2: Pull complete 04:31:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:31:33 + sudo service docker restart 04:31:36 2f39f015ded8: Pull complete 04:31:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:31:36 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:31:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:31:39 $ docker top 1ca535fddbe46697cfb2a8ab5d0589eb491da80cfa0503b2e9a4953a1622779a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:39 ---> job-cost.sh 04:31:39 lf-activate-venv: SKIPPING 04:31:39 INFO: No Stack... 04:31:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:31:40 INFO: Archiving Costs [Pipeline] sh 04:31:41 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 04:31:41 + cut -d, -f6 [Pipeline] lock 04:31:41 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] 04:31:41 Resource [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] did not exist. Created. 04:31:41 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:41 + echo total: 0.2199999988079071 [Pipeline] stash 04:31:41 Stashed 1 file(s) [Pipeline] } 04:31:41 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 04:31:41 $ docker stop --time=1 1ca535fddbe46697cfb2a8ab5d0589eb491da80cfa0503b2e9a4953a1622779a 04:31:42 $ docker rm -f 1ca535fddbe46697cfb2a8ab5d0589eb491da80cfa0503b2e9a4953a1622779a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:51 provisioning config files... 04:31:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/14@tmp/config9196970699930190134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:51 ---> docker-login.sh 04:31:51 nexus3.edgexfoundry.org:10001 04:31:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:52 Configure a credential helper to remove this warning. See 04:31:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:52 04:31:52 Login Succeeded 04:31:52 nexus3.edgexfoundry.org:10002 04:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:53 Configure a credential helper to remove this warning. See 04:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:53 04:31:53 Login Succeeded 04:31:53 nexus3.edgexfoundry.org:10003 04:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:53 Configure a credential helper to remove this warning. See 04:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:53 04:31:53 Login Succeeded 04:31:53 nexus3.edgexfoundry.org:10004 04:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:54 Configure a credential helper to remove this warning. See 04:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:54 04:31:54 Login Succeeded 04:31:54 docker.io 04:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:54 Configure a credential helper to remove this warning. See 04:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:54 04:31:54 Login Succeeded 04:31:54 ---> docker-login.sh ends [Pipeline] } 04:31:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:55 ========================================================= 04:31:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:31:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:31:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:31:55 Sending build context to Docker daemon 398.3kB 04:31:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:31:55 Step 2/12 : FROM ${BASE} AS builder 04:31:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:31:56 9b3977197b4f: Pulling fs layer 04:31:56 1a89e8eeedd5: Pulling fs layer 04:31:56 94645a83ff95: Pulling fs layer 04:31:56 3f3a8bcf1eab: Pulling fs layer 04:31:56 0c92f367c5e7: Pulling fs layer 04:31:56 3f3a8bcf1eab: Waiting 04:31:56 3096ccb668a1: Pulling fs layer 04:31:56 e8cf19c19ddd: Pulling fs layer 04:31:56 a4caa8a26152: Pulling fs layer 04:31:56 0c92f367c5e7: Waiting 04:31:56 e8cf19c19ddd: Waiting 04:31:56 3096ccb668a1: Waiting 04:31:56 a4caa8a26152: Waiting 04:31:56 94645a83ff95: Verifying Checksum 04:31:56 94645a83ff95: Download complete 04:31:56 1a89e8eeedd5: Verifying Checksum 04:31:56 1a89e8eeedd5: Download complete 04:31:56 0c92f367c5e7: Verifying Checksum 04:31:56 0c92f367c5e7: Download complete 04:31:56 3096ccb668a1: Verifying Checksum 04:31:56 3096ccb668a1: Download complete 04:31:56 9b3977197b4f: Verifying Checksum 04:31:56 9b3977197b4f: Download complete 04:31:56 e8cf19c19ddd: Verifying Checksum 04:31:56 e8cf19c19ddd: Download complete 04:31:56 9b3977197b4f: Pull complete 04:31:57 1a89e8eeedd5: Pull complete 04:31:57 94645a83ff95: Pull complete 04:31:58 a4caa8a26152: Verifying Checksum 04:31:58 a4caa8a26152: Download complete 04:31:58 3f3a8bcf1eab: Verifying Checksum 04:31:58 3f3a8bcf1eab: Download complete 04:32:11 3f3a8bcf1eab: Pull complete 04:32:11 0c92f367c5e7: Pull complete 04:32:11 3096ccb668a1: Pull complete 04:32:11 e8cf19c19ddd: Pull complete 04:32:18 a4caa8a26152: Pull complete 04:32:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:32:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:32:18 ---> 725f1c02e7f9 04:32:18 Step 3/12 : ARG MAKE="make build" 04:32:18 ---> Running in cb48539da1aa 04:32:18 Removing intermediate container cb48539da1aa 04:32:18 ---> 294c66f3a407 04:32:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:32:18 ---> Running in 42a26d942208 04:32:19 Removing intermediate container 42a26d942208 04:32:19 ---> d19c1bccf8a9 04:32:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 04:32:19 ---> Running in 68a82a9cf7f9 04:32:19 Removing intermediate container 68a82a9cf7f9 04:32:19 ---> 92bf69932076 04:32:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:32:19 ---> Running in c7801dda5a69 04:32:21 Removing intermediate container c7801dda5a69 04:32:21 ---> 9976c163f49b 04:32:21 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:32:21 ---> Running in 5de96d30d39a 04:32:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:32:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:32:23 (1/14) Installing libintl (0.21-r0) 04:32:23 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 04:32:23 (3/14) Installing libjpeg-turbo (2.1.2-r0) 04:32:24 (4/14) Installing v4l-utils-libs (1.22.1-r1) 04:32:24 (5/14) Installing v4l-utils (1.22.1-r1) 04:32:24 (6/14) Installing udev-init-scripts (35-r0) 04:32:24 Executing udev-init-scripts-35-r0.post-install 04:32:24 (7/14) Installing libblkid (2.37.4-r0) 04:32:24 (8/14) Installing xz-libs (5.2.5-r1) 04:32:24 (9/14) Installing zstd-libs (1.5.0-r0) 04:32:24 (10/14) Installing kmod-libs (29-r2) 04:32:25 (11/14) Installing eudev (3.2.11_pre1-r0) 04:32:25 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 04:32:25 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 04:32:25 (14/14) Installing v4l-utils-dev (1.22.1-r1) 04:32:25 Executing busybox-1.34.1-r3.trigger 04:32:25 Executing eudev-3.2.11_pre1-r0.trigger 04:32:25 OK: 227 MiB in 66 packages 04:32:26 Removing intermediate container 5de96d30d39a 04:32:26 ---> 780cc86299fa 04:32:26 Step 8/12 : WORKDIR /device-usb-camera 04:32:26 ---> Running in 4c22f16b7b20 04:32:27 Removing intermediate container 4c22f16b7b20 04:32:27 ---> a5612cadc21c 04:32:27 Step 9/12 : COPY go.mod vendor* ./ 04:32:27 ---> 5b32cfb9092b 04:32:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:27 ---> Running in fee64668b476 04:33:14 Removing intermediate container fee64668b476 04:33:14 ---> 38f32ebd31de 04:33:14 Step 11/12 : COPY . . 04:33:14 ---> 0dc2fa226f2f 04:33:14 Step 12/12 : RUN ${MAKE} 04:33:14 ---> Running in a14477dcf57c 04:33:14 noop 04:33:14 Removing intermediate container a14477dcf57c 04:33:14 ---> 8a3ab8574e0d 04:33:14 Successfully built 8a3ab8574e0d 04:33:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:33:15 + docker inspect -f . ci-base-image-arm64 04:33:15 . [Pipeline] withDockerContainer 04:33:15 prd-ubuntu20.04-docker-arm64-4c-16g-64332 does not seem to be running inside a container 04:33:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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 ******** ci-base-image-arm64 cat 04:33:16 $ docker top f30187d58dcdf7d54626aea1e02238dc8554422862847f1dc1c88c4983240d1c -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:17 + go version 04:33:17 go version go1.17.6 linux/arm64 [Pipeline] } 04:33:17 $ docker stop --time=1 f30187d58dcdf7d54626aea1e02238dc8554422862847f1dc1c88c4983240d1c 04:33:19 $ docker rm -f f30187d58dcdf7d54626aea1e02238dc8554422862847f1dc1c88c4983240d1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:33:19 + docker inspect -f . ci-base-image-arm64 04:33:19 . [Pipeline] withDockerContainer 04:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-64332 does not seem to be running inside a container 04:33:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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 ******** ci-base-image-arm64 cat 04:33:21 $ docker top 0a546f08b98467942ce25f8034ae5d9b05b263318113dc537e4f57ead006a1d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:33:22 + make test 04:33:22 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 04:33:23 ? github.com/edgexfoundry/device-usb-camera [no test files] 04:34:45 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 04:34:45 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 04:34:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:45 CGO_ENABLED=1 go vet ./... 04:35:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:07 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:35:08 $ docker stop --time=1 0a546f08b98467942ce25f8034ae5d9b05b263318113dc537e4f57ead006a1d5 04:35:10 $ docker rm -f 0a546f08b98467942ce25f8034ae5d9b05b263318113dc537e4f57ead006a1d5 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:11 Warning: overwriting stash ‘coverage-report’ 04:35:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:12 + ls -al . 04:35:12 total 160 04:35:12 drwxrwxr-x 8 jenkins jenkins 4096 May 23 04:35 . 04:35:12 drwxrwxr-x 4 jenkins jenkins 4096 May 23 04:31 .. 04:35:12 drwxrwxr-x 8 jenkins jenkins 4096 May 23 04:31 .git 04:35:12 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:31 .github 04:35:12 -rw-rw-r-- 1 jenkins jenkins 349 May 23 04:31 .gitignore 04:35:12 -rw-rw-r-- 1 jenkins jenkins 42 May 23 04:31 .golangci.yml 04:35:12 -rw-rw-r-- 1 jenkins jenkins 77 May 23 04:31 .hadolint.yml 04:35:12 -rw-rw-r-- 1 jenkins jenkins 8706 May 23 04:31 Attribution.txt 04:35:12 -rw-rw-r-- 1 jenkins jenkins 181 May 23 04:31 CHANGELOG.md 04:35:12 -rw-rw-r-- 1 jenkins jenkins 1891 May 23 04:31 Dockerfile 04:35:12 -rw-rw-r-- 1 jenkins jenkins 678 May 23 04:31 GOVERNANCE.md 04:35:12 -rw-rw-r-- 1 jenkins jenkins 659 May 23 04:31 Jenkinsfile 04:35:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 23 04:31 LICENSE 04:35:12 -rw-rw-r-- 1 jenkins jenkins 2030 May 23 04:31 Makefile 04:35:12 -rw-rw-r-- 1 jenkins jenkins 622 May 23 04:31 OWNERS.md 04:35:12 -rw-rw-r-- 1 jenkins jenkins 8944 May 23 04:31 README.md 04:35:12 -rw-rw-r-- 1 jenkins jenkins 11 May 23 04:29 VERSION 04:35:12 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:31 bin 04:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 23 04:31 cmd 04:35:12 -rw-r--r-- 1 jenkins jenkins 10 May 23 04:33 coverage.out 04:35:12 drwxrwxr-x 2 jenkins jenkins 4096 May 23 04:31 docker-compose 04:35:12 -rw-rw-r-- 1 jenkins jenkins 140 May 23 04:31 docker-entrypoint.sh 04:35:12 -rw-rw-r-- 1 jenkins jenkins 3307 May 23 04:31 go.mod 04:35:12 -rw-rw-r-- 1 jenkins jenkins 35656 May 23 04:31 go.sum 04:35:12 drwxrwxr-x 3 jenkins jenkins 4096 May 23 04:31 internal 04:35:12 -rw-rw-r-- 1 jenkins jenkins 231 May 23 04:31 version.go [Pipeline] isUnix [Pipeline] sh 04:35:12 + 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=aaa7e572fda13da2933300a631edf8df830ba1ce --label arch=arm64 --label version=0.0.1-dev.3 . 04:35:13 Sending build context to Docker daemon 399.4kB 04:35:13 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 04:35:13 Step 2/29 : FROM ${BASE} AS builder 04:35:13 ---> 8a3ab8574e0d 04:35:13 Step 3/29 : ARG MAKE="make build" 04:35:13 ---> Running in 3fa5832f65c3 04:35:13 Removing intermediate container 3fa5832f65c3 04:35:13 ---> 316a23d4bb71 04:35:13 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:35:13 ---> Running in afd84064803b 04:35:13 Removing intermediate container afd84064803b 04:35:13 ---> 1ddd0366c28c 04:35:13 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 04:35:13 ---> Running in 907abc6da221 04:35:14 Removing intermediate container 907abc6da221 04:35:14 ---> b8655b86a38c 04:35:14 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:35:14 ---> Running in e85200ed5a7e 04:35:16 Removing intermediate container e85200ed5a7e 04:35:16 ---> 1d1558d55f90 04:35:16 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:16 ---> Running in 5027c11ccb5b 04:35:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:35:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:35:18 OK: 227 MiB in 66 packages 04:35:19 Removing intermediate container 5027c11ccb5b 04:35:19 ---> 6877115aa03e 04:35:19 Step 8/29 : WORKDIR /device-usb-camera 04:35:19 ---> Running in 5ef33c157f6b 04:35:19 Removing intermediate container 5ef33c157f6b 04:35:19 ---> 9a03ec472fe9 04:35:19 Step 9/29 : COPY go.mod vendor* ./ 04:35:20 ---> e58e672c2502 04:35:20 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:20 ---> Running in 6c1415b17445 04:35:22 Removing intermediate container 6c1415b17445 04:35:22 ---> 7fa3f8c4724e 04:35:22 Step 11/29 : COPY . . 04:35:23 ---> e03de1df021f 04:35:23 Step 12/29 : RUN ${MAKE} 04:35:23 ---> Running in fb27dedc2e2d 04:35:24 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 04:37:31 Removing intermediate container fb27dedc2e2d 04:37:31 ---> 8e344e137fe8 04:37:31 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 04:37:31 v0.18.4: Pulling from aler9/rtsp-simple-server 04:37:31 eab2503cf8f4: Pulling fs layer 04:37:31 97cd0a44c592: Pulling fs layer 04:37:31 97cd0a44c592: Verifying Checksum 04:37:31 97cd0a44c592: Download complete 04:37:31 eab2503cf8f4: Verifying Checksum 04:37:31 eab2503cf8f4: Download complete 04:37:31 eab2503cf8f4: Pull complete 04:37:31 97cd0a44c592: Pull complete 04:37:31 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 04:37:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 04:37:31 ---> 7f763cca56b3 04:37:31 Step 14/29 : FROM alpine:3.15 04:37:31 3.15: Pulling from library/alpine 04:37:31 9981e73032c8: Pulling fs layer 04:37:31 9981e73032c8: Verifying Checksum 04:37:31 9981e73032c8: Download complete 04:37:31 9981e73032c8: Pull complete 04:37:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 04:37:31 Status: Downloaded newer image for alpine:3.15 04:37:31 ---> 3fb3c9af89a9 04:37:31 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:37:31 ---> Running in 1791c91642a3 04:37:31 Removing intermediate container 1791c91642a3 04:37:31 ---> e22553aa84a0 04:37:31 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 04:37:31 ---> Running in 5bde41ef5fc1 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:37:31 (1/73) Installing dumb-init (1.2.5-r1) 04:37:31 (2/73) Installing sdl2 (2.0.16-r4) 04:37:31 (3/73) Installing libxau (1.0.9-r0) 04:37:31 (4/73) Installing libmd (1.0.3-r0) 04:37:31 (5/73) Installing libbsd (0.11.3-r1) 04:37:31 (6/73) Installing libxdmcp (1.1.3-r0) 04:37:31 (7/73) Installing libxcb (1.14-r2) 04:37:31 (8/73) Installing libx11 (1.7.2-r0) 04:37:31 (9/73) Installing aom-libs (3.2.0-r0) 04:37:31 (10/73) Installing alsa-lib (1.2.5.1-r1) 04:37:31 (11/73) Installing expat (2.4.7-r0) 04:37:31 (12/73) Installing brotli-libs (1.0.9-r5) 04:37:31 (13/73) Installing libbz2 (1.0.8-r1) 04:37:31 (14/73) Installing libpng (1.6.37-r1) 04:37:31 (15/73) Installing freetype (2.11.1-r2) 04:37:31 (16/73) Installing libuuid (2.37.4-r0) 04:37:31 (17/73) Installing fontconfig (2.13.1-r4) 04:37:31 (18/73) Installing fribidi (1.0.11-r0) 04:37:31 (19/73) Installing libffi (3.4.2-r1) 04:37:31 (20/73) Installing libintl (0.21-r0) 04:37:31 (21/73) Installing libblkid (2.37.4-r0) 04:37:31 (22/73) Installing libmount (2.37.4-r0) 04:37:31 (23/73) Installing pcre (8.45-r1) 04:37:31 (24/73) Installing glib (2.70.1-r0) 04:37:31 (25/73) Installing graphite2 (1.3.14-r0) 04:37:31 (26/73) Installing harfbuzz (3.0.0-r2) 04:37:31 (27/73) Installing libass (0.15.2-r0) 04:37:31 (28/73) Installing libdav1d (0.9.2-r0) 04:37:31 (29/73) Installing gmp (6.2.1-r1) 04:37:31 (30/73) Installing nettle (3.7.3-r0) 04:37:31 (31/73) Installing p11-kit (0.24.0-r1) 04:37:31 (32/73) Installing libtasn1 (4.18.0-r0) 04:37:31 (33/73) Installing libunistring (0.9.10-r1) 04:37:31 (34/73) Installing gnutls (3.7.1-r0) 04:37:31 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 04:37:31 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 04:37:31 (37/73) Installing lame (3.100-r0) 04:37:31 (38/73) Installing opus (1.3.1-r1) 04:37:31 (39/73) Installing libgomp (10.3.1_git20211027-r0) 04:37:31 (40/73) Installing soxr (0.1.3-r2) 04:37:31 (41/73) Installing libgcc (10.3.1_git20211027-r0) 04:37:31 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 04:37:31 (43/73) Installing libsrt (1.4.2-r1) 04:37:31 (44/73) Installing libssh (0.9.6-r1) 04:37:31 (45/73) Installing libogg (1.3.5-r0) 04:37:31 (46/73) Installing libtheora (1.1.1-r16) 04:37:31 (47/73) Installing libjpeg-turbo (2.1.2-r0) 04:37:31 (48/73) Installing v4l-utils-libs (1.22.1-r1) 04:37:31 (49/73) Installing libxext (1.3.4-r0) 04:37:31 (50/73) Installing libxfixes (6.0.0-r0) 04:37:31 (51/73) Installing libdrm (2.4.109-r0) 04:37:31 (52/73) Installing wayland-libs-client (1.19.0-r1) 04:37:31 (53/73) Installing libva (2.13.0-r0) 04:37:31 (54/73) Installing libvdpau (1.4-r0) 04:37:31 (55/73) Installing vidstab (1.1.0-r1) 04:37:31 (56/73) Installing libvorbis (1.3.7-r0) 04:37:31 (57/73) Installing libvpx (1.10.0-r0) 04:37:31 (58/73) Installing vulkan-loader (1.2.196-r0) 04:37:31 (59/73) Installing libwebp (1.2.2-r0) 04:37:31 (60/73) Installing x264-libs (20210613-r0) 04:37:31 (61/73) Installing x265-libs (3.5-r0) 04:37:31 (62/73) Installing xvidcore (1.3.7-r1) 04:37:31 (63/73) Installing ffmpeg-libs (4.4.1-r2) 04:37:31 (64/73) Installing ffmpeg (4.4.1-r2) 04:37:31 (65/73) Installing udev-init-scripts (35-r0) 04:37:31 Executing udev-init-scripts-35-r0.post-install 04:37:31 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 04:37:31 (67/73) Installing xz-libs (5.2.5-r1) 04:37:31 (68/73) Installing zstd-libs (1.5.0-r0) 04:37:31 (69/73) Installing kmod-libs (29-r2) 04:37:31 (70/73) Installing eudev (3.2.11_pre1-r0) 04:37:31 (71/73) Installing libsodium (1.0.18-r0) 04:37:31 (72/73) Installing libzmq (4.3.4-r0) 04:37:31 (73/73) Installing zeromq (4.3.4-r0) 04:37:31 Executing busybox-1.34.1-r5.trigger 04:37:31 Executing eudev-3.2.11_pre1-r0.trigger 04:37:31 OK: 67 MiB in 87 packages 04:37:31 Removing intermediate container 5bde41ef5fc1 04:37:31 ---> efdf0e410abf 04:37:31 Step 17/29 : WORKDIR / 04:37:31 ---> Running in 459509394dae 04:37:31 Removing intermediate container 459509394dae 04:37:31 ---> 94aa665d2f01 04:37:31 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 04:37:33 ---> 1d6790d60286 04:37:33 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 04:37:33 ---> 7b0fc0b8524c 04:37:33 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 04:37:34 ---> 279697d69c09 04:37:34 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 04:37:35 ---> bd2ca63b5213 04:37:35 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 04:37:35 ---> dfe3b65bff19 04:37:35 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 04:37:36 ---> 61eefffdb772 04:37:36 Step 24/29 : EXPOSE 59983 04:37:36 ---> Running in d7f359695816 04:37:36 Removing intermediate container d7f359695816 04:37:36 ---> 0e021ac70a25 04:37:36 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 04:37:37 ---> Running in 79f9f2a8fb33 04:37:37 Removing intermediate container 79f9f2a8fb33 04:37:37 ---> 08ec7cfa730e 04:37:37 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 04:37:37 ---> Running in bb76b4381a26 04:37:37 Removing intermediate container bb76b4381a26 04:37:37 ---> 4dce9e390f1a 04:37:37 Step 27/29 : LABEL arch=arm64 04:37:37 ---> Running in aaabb99cc72a 04:37:38 Removing intermediate container aaabb99cc72a 04:37:38 ---> 17ab70ab6548 04:37:38 Step 28/29 : LABEL git_sha=aaa7e572fda13da2933300a631edf8df830ba1ce 04:37:38 ---> Running in 4e5d290e3e99 04:37:38 Removing intermediate container 4e5d290e3e99 04:37:38 ---> 8a386e8472ad 04:37:38 Step 29/29 : LABEL version=0.0.1-dev.3 04:37:38 ---> Running in b315e88cc05b 04:37:38 Removing intermediate container b315e88cc05b 04:37:38 ---> e346c52ead23 04:37:38 [Warning] One or more build-args [ARCH] were not consumed 04:37:38 Successfully built e346c52ead23 04:37:38 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:39 provisioning config files... 04:37:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/14@tmp/config916889536209872887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:39 ---> docker-login.sh 04:37:39 nexus3.edgexfoundry.org:10001 04:37:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:39 Configure a credential helper to remove this warning. See 04:37:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:39 04:37:39 Login Succeeded 04:37:39 nexus3.edgexfoundry.org:10002 04:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:40 Configure a credential helper to remove this warning. See 04:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:40 04:37:40 Login Succeeded 04:37:40 nexus3.edgexfoundry.org:10003 04:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:40 Configure a credential helper to remove this warning. See 04:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:40 04:37:40 Login Succeeded 04:37:40 nexus3.edgexfoundry.org:10004 04:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:41 Configure a credential helper to remove this warning. See 04:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:41 04:37:41 Login Succeeded 04:37:41 docker.io 04:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:41 Configure a credential helper to remove this warning. See 04:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:41 04:37:41 Login Succeeded 04:37:41 ---> docker-login.sh ends [Pipeline] } 04:37:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:37:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:37:42 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 04:37:42 aaa7e572fda13da2933300a631edf8df830ba1ce 04:37:42 latest 04:37:42 0.0.1-dev.3 04:37:42 aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:37:42 main 04:37:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:37:42 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] isUnix [Pipeline] sh 04:37:42 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce 04:37:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 04:37:42 a43932d1df72: Preparing 04:37:42 1207169bf42c: Preparing 04:37:42 1a7a23833557: Preparing 04:37:42 ee2a75c3dd63: Preparing 04:37:42 fde431931c56: Preparing 04:37:42 470ad3c13fc0: Preparing 04:37:42 2835d33fc8be: Preparing 04:37:42 4f4ce317c6bb: Preparing 04:37:42 470ad3c13fc0: Waiting 04:37:42 2835d33fc8be: Waiting 04:37:42 4f4ce317c6bb: Waiting 04:37:43 1207169bf42c: Pushed 04:37:43 fde431931c56: Pushed 04:37:43 ee2a75c3dd63: Pushed 04:37:43 1a7a23833557: Pushed 04:37:43 4f4ce317c6bb: Layer already exists 04:37:47 a43932d1df72: Pushed 04:37:49 470ad3c13fc0: Pushed 04:37:56 2835d33fc8be: Pushed 04:37:56 aaa7e572fda13da2933300a631edf8df830ba1ce: digest: sha256:0a3d4a624cca52554d1faba2866b01420c92040059b00062f23a2687799d68ad size: 1994 [Pipeline] isUnix [Pipeline] sh 04:37:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:37:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 04:37:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 04:37:57 a43932d1df72: Preparing 04:37:57 1207169bf42c: Preparing 04:37:57 1a7a23833557: Preparing 04:37:57 ee2a75c3dd63: Preparing 04:37:57 fde431931c56: Preparing 04:37:57 470ad3c13fc0: Preparing 04:37:57 2835d33fc8be: Preparing 04:37:57 4f4ce317c6bb: Preparing 04:37:57 2835d33fc8be: Waiting 04:37:57 470ad3c13fc0: Waiting 04:37:57 4f4ce317c6bb: Waiting 04:37:57 1a7a23833557: Layer already exists 04:37:57 fde431931c56: Layer already exists 04:37:57 a43932d1df72: Layer already exists 04:37:57 1207169bf42c: Layer already exists 04:37:57 ee2a75c3dd63: Layer already exists 04:37:57 4f4ce317c6bb: Layer already exists 04:37:57 470ad3c13fc0: Layer already exists 04:37:57 2835d33fc8be: Layer already exists 04:37:57 latest: digest: sha256:0a3d4a624cca52554d1faba2866b01420c92040059b00062f23a2687799d68ad size: 1994 [Pipeline] isUnix [Pipeline] sh 04:37:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 04:37:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.3 04:37:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 04:37:58 a43932d1df72: Preparing 04:37:58 1207169bf42c: Preparing 04:37:58 1a7a23833557: Preparing 04:37:58 ee2a75c3dd63: Preparing 04:37:58 fde431931c56: Preparing 04:37:58 470ad3c13fc0: Preparing 04:37:58 2835d33fc8be: Preparing 04:37:58 4f4ce317c6bb: Preparing 04:37:58 470ad3c13fc0: Waiting 04:37:58 2835d33fc8be: Waiting 04:37:58 4f4ce317c6bb: Waiting 04:37:58 1207169bf42c: Layer already exists 04:37:58 fde431931c56: Layer already exists 04:37:58 ee2a75c3dd63: Layer already exists 04:37:58 1a7a23833557: Layer already exists 04:37:58 a43932d1df72: Layer already exists 04:37:58 470ad3c13fc0: Layer already exists 04:37:58 2835d33fc8be: Layer already exists 04:37:58 4f4ce317c6bb: Layer already exists 04:37:58 0.0.1-dev.3: digest: sha256:0a3d4a624cca52554d1faba2866b01420c92040059b00062f23a2687799d68ad size: 1994 [Pipeline] isUnix [Pipeline] sh 04:37:58 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 [Pipeline] isUnix [Pipeline] sh 04:37:59 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:37:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 04:37:59 a43932d1df72: Preparing 04:37:59 1207169bf42c: Preparing 04:37:59 1a7a23833557: Preparing 04:37:59 ee2a75c3dd63: Preparing 04:37:59 fde431931c56: Preparing 04:37:59 470ad3c13fc0: Preparing 04:37:59 2835d33fc8be: Preparing 04:37:59 4f4ce317c6bb: Preparing 04:37:59 470ad3c13fc0: Waiting 04:37:59 4f4ce317c6bb: Waiting 04:37:59 2835d33fc8be: Waiting 04:37:59 a43932d1df72: Layer already exists 04:37:59 1a7a23833557: Layer already exists 04:37:59 1207169bf42c: Layer already exists 04:37:59 ee2a75c3dd63: Layer already exists 04:37:59 fde431931c56: Layer already exists 04:37:59 470ad3c13fc0: Layer already exists 04:37:59 4f4ce317c6bb: Layer already exists 04:37:59 2835d33fc8be: Layer already exists 04:37:59 aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3: digest: sha256:0a3d4a624cca52554d1faba2866b01420c92040059b00062f23a2687799d68ad size: 1994 [Pipeline] isUnix [Pipeline] sh 04:37:59 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 04:38:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 04:38:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 04:38:00 a43932d1df72: Preparing 04:38:00 1207169bf42c: Preparing 04:38:00 1a7a23833557: Preparing 04:38:00 ee2a75c3dd63: Preparing 04:38:00 fde431931c56: Preparing 04:38:00 470ad3c13fc0: Preparing 04:38:00 2835d33fc8be: Preparing 04:38:00 4f4ce317c6bb: Preparing 04:38:00 470ad3c13fc0: Waiting 04:38:00 2835d33fc8be: Waiting 04:38:00 4f4ce317c6bb: Waiting 04:38:00 fde431931c56: Layer already exists 04:38:00 1a7a23833557: Layer already exists 04:38:00 1207169bf42c: Layer already exists 04:38:00 ee2a75c3dd63: Layer already exists 04:38:00 a43932d1df72: Layer already exists 04:38:00 470ad3c13fc0: Layer already exists 04:38:00 2835d33fc8be: Layer already exists 04:38:00 4f4ce317c6bb: Layer already exists 04:38:00 main: digest: sha256:0a3d4a624cca52554d1faba2866b01420c92040059b00062f23a2687799d68ad size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:38:00 ===================================================== [Pipeline] echo 04:38:00 taggedImages: 04:38:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce 04:38:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 04:38:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.3 04:38:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aaa7e572fda13da2933300a631edf8df830ba1ce-0.0.1-dev.3 04:38:00 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:00 04:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:01 arm64: Pulling from edgex-lftools-log-publisher 04:38:01 8998bd30e6a1: Pulling fs layer 04:38:01 04944245beec: Pulling fs layer 04:38:01 699f458cf7ca: Pulling fs layer 04:38:01 765212b225bb: Pulling fs layer 04:38:01 f23df028b6ca: Pulling fs layer 04:38:01 d65c8cfc05b1: Pulling fs layer 04:38:01 2437ff75d9bd: Pulling fs layer 04:38:01 f23df028b6ca: Waiting 04:38:01 d65c8cfc05b1: Waiting 04:38:01 765212b225bb: Waiting 04:38:01 2437ff75d9bd: Waiting 04:38:01 04944245beec: Verifying Checksum 04:38:01 04944245beec: Download complete 04:38:01 765212b225bb: Verifying Checksum 04:38:01 765212b225bb: Download complete 04:38:01 f23df028b6ca: Verifying Checksum 04:38:01 f23df028b6ca: Download complete 04:38:01 d65c8cfc05b1: Verifying Checksum 04:38:01 d65c8cfc05b1: Download complete 04:38:01 699f458cf7ca: Verifying Checksum 04:38:01 699f458cf7ca: Download complete 04:38:01 8998bd30e6a1: Verifying Checksum 04:38:01 8998bd30e6a1: Download complete 04:38:04 2437ff75d9bd: Verifying Checksum 04:38:04 2437ff75d9bd: Download complete 04:38:06 8998bd30e6a1: Pull complete 04:38:06 04944245beec: Pull complete 04:38:07 699f458cf7ca: Pull complete 04:38:08 765212b225bb: Pull complete 04:38:09 f23df028b6ca: Pull complete 04:38:09 d65c8cfc05b1: Pull complete 04:38:24 2437ff75d9bd: Pull complete 04:38:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:38:24 prd-ubuntu20.04-docker-arm64-4c-16g-64332 does not seem to be running inside a container 04:38:24 $ 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/14 -v /w/workspace/device-usb-camera/14:/w/workspace/device-usb-camera/14:rw,z -v /w/workspace/device-usb-camera/14@tmp:/w/workspace/device-usb-camera/14@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:arm64 cat 04:38:27 $ docker top 689c6c2e4cbebf45357b23dbf44373c67df818e59d07a92083bdb34d63cf1a5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:28 ---> job-cost.sh 04:38:28 lf-activate-venv: SKIPPING 04:38:28 INFO: No Stack... 04:38:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:38:29 INFO: Archiving Costs [Pipeline] sh 04:38:30 + cat /w/workspace/device-usb-camera/14/archives/cost.csv 04:38:30 + cut -d, -f6 [Pipeline] lock 04:38:30 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] 04:38:30 Resource [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] did not exist. Created. 04:38:30 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:38:31 /w/workspace/device-usb-camera/14@tmp/durable-53f17680/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:38:31 + echo total: 0.10999999940395355 [Pipeline] stash 04:38:31 Warning: overwriting stash ‘stack-cost’ 04:38:31 Stashed 1 file(s) [Pipeline] } 04:38:31 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 04:38:31 $ docker stop --time=1 689c6c2e4cbebf45357b23dbf44373c67df818e59d07a92083bdb34d63cf1a5b 04:38:33 $ docker rm -f 689c6c2e4cbebf45357b23dbf44373c67df818e59d07a92083bdb34d63cf1a5b [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 04:38:33 provisioning config files... 04:38:33 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2681401698689055452tmp [Pipeline] { [Pipeline] sh 04:38:34 + set +x 04:38:34 + curl -s https://codecov.io/bash 04:38:34 + bash -s -- 04:38:34 04:38:34 _____ _ 04:38:34 / ____| | | 04:38:34 | | ___ __| | ___ ___ _____ __ 04:38:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:38:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:38:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:38:34 Bash-1.0.6 04:38:34 04:38:34 04:38:34 ==> git version 2.25.1 found 04:38:34 ==> 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 04:38:34 Release-Date: 2020-01-08 04:38:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:38:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:38:34 ==> Jenkins CI detected. 04:38:34 current dir:  /w/workspace/exfoundry_device-usb-camera_main 04:38:34 project root: . 04:38:34 --> token set from env 04:38:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:38:34 ==> Running gcov in . (disable via -X gcov) 04:38:34 ==> Python coveragepy not found 04:38:34 ==> Searching for coverage reports in: 04:38:34 + . 04:38:34 -> Found 1 reports 04:38:34 ==> Detecting git/mercurial file structure 04:38:34 ==> Reading reports 04:38:34 + ./coverage.out bytes=10 04:38:34 ==> Appending adjustments 04:38:34 https://docs.codecov.io/docs/fixing-reports 04:38:34 + Found adjustments 04:38:34 ==> Gzipping contents 04:38:34 4.0K /tmp/codecov.x1T3zZ.gz 04:38:34 ==> Uploading reports 04:38:34 url: https://codecov.io 04:38:34 query: branch=main&commit=aaa7e572fda13da2933300a631edf8df830ba1ce&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:38:34 -> Pinging Codecov 04:38:34 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=aaa7e572fda13da2933300a631edf8df830ba1ce&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:38:34 -> Uploading to 04:38:34 https://storage.googleapis.com/codecov/v4/raw/2022-05-23/73D8F5FF140700D3E01443B452E23636/aaa7e572fda13da2933300a631edf8df830ba1ce/12aa7519-a67f-4056-b7fa-701cdb102a8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220523T043834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c2c2f5fc17c136a6df8c2933b006c7f85a16dec41304dc2a42bfa63fbf88a72 04:38:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:34 Dload Upload Total Spent Left Speed 04:38:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1007 0 0 100 1007 0 4266 --:--:-- --:--:-- --:--:-- 4266 04:38:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] } 04:38:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:38:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:38:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:38:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:35 04:38:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:38:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:38:35 188c0c94c7c5: Pulling fs layer 04:38:35 0ef7d3d256c8: Pulling fs layer 04:38:35 de9db76c5a1d: Pulling fs layer 04:38:35 0eba1c9be4d2: Pulling fs layer 04:38:35 0d57e429df01: Pulling fs layer 04:38:35 4e4be7b47b0d: Pulling fs layer 04:38:35 e1f770b5df2f: Pulling fs layer 04:38:35 85a0685a4137: Pulling fs layer 04:38:35 e1f770b5df2f: Waiting 04:38:35 4e4be7b47b0d: Waiting 04:38:35 0eba1c9be4d2: Waiting 04:38:35 0d57e429df01: Waiting 04:38:35 de9db76c5a1d: Verifying Checksum 04:38:35 de9db76c5a1d: Download complete 04:38:35 0ef7d3d256c8: Download complete 04:38:35 0d57e429df01: Download complete 04:38:35 4e4be7b47b0d: Verifying Checksum 04:38:35 4e4be7b47b0d: Download complete 04:38:35 188c0c94c7c5: Download complete 04:38:36 188c0c94c7c5: Pull complete 04:38:36 e1f770b5df2f: Verifying Checksum 04:38:36 e1f770b5df2f: Download complete 04:38:36 0ef7d3d256c8: Pull complete 04:38:36 de9db76c5a1d: Pull complete 04:38:36 0eba1c9be4d2: Verifying Checksum 04:38:36 0eba1c9be4d2: Download complete 04:38:37 85a0685a4137: Verifying Checksum 04:38:37 85a0685a4137: Download complete 04:38:40 0eba1c9be4d2: Pull complete 04:38:40 0d57e429df01: Pull complete 04:38:40 4e4be7b47b0d: Pull complete 04:38:40 e1f770b5df2f: Pull complete 04:38:43 85a0685a4137: Pull complete 04:38:43 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:38:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:38:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:38:43 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:38:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:38:45 $ docker top 9e589bfbcad021a426e10a589c839efd739af30d7796315022dfd79dfe7b3acf -eo pid,comm [Pipeline] { [Pipeline] echo 04:38:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:38:46 + set -o pipefail 04:38:46 + snyk monitor '--org=edgex-jenkins' 04:38:54 04:38:54 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 04:38:54 04:38:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0704d385-d3ec-41e9-ab35-6ec0fee52da4/history/8d2b0e0f-a8dd-49d3-838b-2b3876460004 04:38:54 04:38:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:38:54 04:38:54 [Pipeline] } 04:38:54 $ docker stop --time=1 9e589bfbcad021a426e10a589c839efd739af30d7796315022dfd79dfe7b3acf 04:38:56 $ docker rm -f 9e589bfbcad021a426e10a589c839efd739af30d7796315022dfd79dfe7b3acf [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 04:38:57 + git log --format=format:%s -1 aaa7e572fda13da2933300a631edf8df830ba1ce [Pipeline] sh 04:38:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:38:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:38:58 . [Pipeline] withDockerContainer 04:38:58 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:38:58 $ 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:latest cat 04:38:58 $ docker top 9df47cbaf4a31605a710603dedd69eece2dbf450f18c684182900cd8467db85c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:38:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:38:58 [ssh-agent] Looking for ssh-agent implementation... 04:38:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:38:58 $ docker exec 9df47cbaf4a31605a710603dedd69eece2dbf450f18c684182900cd8467db85c ssh-agent 04:38:58 SSH_AUTH_SOCK=/tmp/ssh-4kCYIF9c9yY6/agent.32 04:38:58 SSH_AGENT_PID=39 04:38:59 Running ssh-add (command line suppressed) 04:38:59 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7629043717909517694.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7629043717909517694.key) 04:38:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:38:59 + git semver tag 04:38:59 2022-05-23 04:38:59,611 [run_tag] DEBUG tag force:False 04:38:59 2022-05-23 04:38:59,611 [check_head_tag] DEBUG check head tag 04:38:59 2022-05-23 04:38:59,611 [execute] INFO git cat-file --batch-check 04:38:59 2022-05-23 04:38:59,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 04:38:59 2022-05-23 04:38:59,615 [execute] INFO git cat-file --batch 04:38:59 2022-05-23 04:38:59,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 04:38:59 2022-05-23 04:38:59,621 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:38:59 2022-05-23 04:38:59,622 [execute] INFO git tag -a v0.0.1-dev.3 -m v0.0.1-dev.3 04:38:59 2022-05-23 04:38:59,622 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.3', '-m', 'v0.0.1-dev.3'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 04:38:59 2022-05-23 04:38:59,627 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:38:59 0.0.1-dev.3 [Pipeline] } 04:38:59 $ docker exec --env ******** --env ******** 9df47cbaf4a31605a710603dedd69eece2dbf450f18c684182900cd8467db85c ssh-agent -k 04:38:59 unset SSH_AUTH_SOCK; 04:38:59 unset SSH_AGENT_PID; 04:38:59 echo Agent pid 39 killed; 04:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:00 + git semver [Pipeline] } 04:39:00 $ docker stop --time=1 9df47cbaf4a31605a710603dedd69eece2dbf450f18c684182900cd8467db85c 04:39:01 $ docker rm -f 9df47cbaf4a31605a710603dedd69eece2dbf450f18c684182900cd8467db85c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:39:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:39:02 04:39:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:39:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:39:02 0.23.1-centos7: Pulling from edgex-lftools 04:39:02 ab5ef0e58194: Pulling fs layer 04:39:02 9712f1f96733: Pulling fs layer 04:39:02 63f879dbbcfc: Pulling fs layer 04:39:02 0d9ebad4ef96: Pulling fs layer 04:39:02 e9a5061849ea: Pulling fs layer 04:39:02 d747dcd14b5f: Pulling fs layer 04:39:02 2de7ff778b66: Pulling fs layer 04:39:02 0d9ebad4ef96: Waiting 04:39:02 d747dcd14b5f: Waiting 04:39:02 2de7ff778b66: Waiting 04:39:02 9712f1f96733: Download complete 04:39:02 63f879dbbcfc: Verifying Checksum 04:39:02 63f879dbbcfc: Download complete 04:39:02 e9a5061849ea: Verifying Checksum 04:39:02 e9a5061849ea: Download complete 04:39:02 d747dcd14b5f: Verifying Checksum 04:39:02 d747dcd14b5f: Download complete 04:39:02 ab5ef0e58194: Verifying Checksum 04:39:02 ab5ef0e58194: Download complete 04:39:02 0d9ebad4ef96: Verifying Checksum 04:39:02 0d9ebad4ef96: Download complete 04:39:03 2de7ff778b66: Verifying Checksum 04:39:03 2de7ff778b66: Download complete 04:39:05 ab5ef0e58194: Pull complete 04:39:05 9712f1f96733: Pull complete 04:39:06 63f879dbbcfc: Pull complete 04:39:10 0d9ebad4ef96: Pull complete 04:39:10 e9a5061849ea: Pull complete 04:39:10 d747dcd14b5f: Pull complete 04:39:11 2de7ff778b66: Pull complete 04:39:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:39:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:39:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:39:11 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:39:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:39:14 $ docker top 0e05955a4ff75790f7b2373343586e37f4dcf4daa063f13eccf002be89c5454a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:39:14 provisioning config files... 04:39:14 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2423641679760934395tmp 04:39:14 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7618494636986329322tmp 04:39:14 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4565933382678966386tmp [Pipeline] { [Pipeline] echo 04:39:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:39:15 ---> sigul-configuration.sh 04:39:15 gpg: directory `/root/.gnupg' created 04:39:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:39:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:39:15 gpg: keyring `/root/.gnupg/secring.gpg' created 04:39:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:39:15 gpg: CAST5 encrypted data 04:39:15 gpg: encrypted with 1 passphrase 04:39:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:39:15 + mkdir /home/jenkins 04:39:15 + mkdir /home/jenkins/sigul [Pipeline] sh 04:39:15 + 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 04:39:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:39:16 ---> sigul-install.sh 04:39:16 Sigul already installed; skipping installation. [Pipeline] sh 04:39:16 + git tag --list 04:39:16 v0.0.0 04:39:16 v0.0.1-dev.1 04:39:16 v0.0.1-dev.2 04:39:16 v0.0.1-dev.3 [Pipeline] sh 04:39:16 + lftools sign git-tag v0.0.1-dev.3 04:39:17 Signing Git tag with Sigul... 04:39:17 Signing v0.0.1-dev.3 [Pipeline] echo 04:39:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:39:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:39:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:39:17 $ docker stop --time=1 0e05955a4ff75790f7b2373343586e37f4dcf4daa063f13eccf002be89c5454a 04:39:19 $ docker rm -f 0e05955a4ff75790f7b2373343586e37f4dcf4daa063f13eccf002be89c5454a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:39:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:39:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:39:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:39:19 . [Pipeline] withDockerContainer 04:39:20 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:39:20 $ 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:latest cat 04:39:20 $ docker top eb0c5953623b5e36c211940395c77510cce3c4be7fa58baf166e6bef5249ee72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:20 [ssh-agent] Looking for ssh-agent implementation... 04:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:20 $ docker exec eb0c5953623b5e36c211940395c77510cce3c4be7fa58baf166e6bef5249ee72 ssh-agent 04:39:20 SSH_AUTH_SOCK=/tmp/ssh-vKXcLHQsrVDX/agent.32 04:39:20 SSH_AGENT_PID=38 04:39:20 Running ssh-add (command line suppressed) 04:39:20 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5244845806017416644.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5244845806017416644.key) 04:39:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:21 + git semver bump pre 04:39:21 2022-05-23 04:39:21,493 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:39:21 2022-05-23 04:39:21,493 [bump_version] DEBUG bumping version:0.0.1-dev.3 on axis:pre with prefix:dev 04:39:21 2022-05-23 04:39:21,494 [bump_version] DEBUG bumped version:0.0.1-dev.4 04:39:21 2022-05-23 04:39:21,494 [write_version] DEBUG write version:0.0.1-dev.4 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 04:39:21 2022-05-23 04:39:21,494 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:39:21 2022-05-23 04:39:21,494 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:39:21 2022-05-23 04:39:21,496 [execute] INFO git cat-file --batch-check 04:39:21 2022-05-23 04:39:21,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:39:21 2022-05-23 04:39:21,501 [execute] INFO git cat-file --batch 04:39:21 2022-05-23 04:39:21,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:39:21 2022-05-23 04:39:21,506 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:39:21 0.0.1-dev.4 [Pipeline] } 04:39:21 $ docker exec --env ******** --env ******** eb0c5953623b5e36c211940395c77510cce3c4be7fa58baf166e6bef5249ee72 ssh-agent -k 04:39:21 unset SSH_AUTH_SOCK; 04:39:21 unset SSH_AGENT_PID; 04:39:21 echo Agent pid 38 killed; 04:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:22 + git semver [Pipeline] } 04:39:22 $ docker stop --time=1 eb0c5953623b5e36c211940395c77510cce3c4be7fa58baf166e6bef5249ee72 04:39:23 $ docker rm -f eb0c5953623b5e36c211940395c77510cce3c4be7fa58baf166e6bef5249ee72 [Pipeline] // withDockerContainer [Pipeline] sh 04:39:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:39:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:39:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:39:24 . [Pipeline] withDockerContainer 04:39:24 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:39:24 $ 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:latest cat 04:39:24 $ docker top a0846fb09c4233648b2a35b44b820553e41c65dfece08b6d7c1580fc40a5e961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:39:24 [ssh-agent] Looking for ssh-agent implementation... 04:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:39:25 $ docker exec a0846fb09c4233648b2a35b44b820553e41c65dfece08b6d7c1580fc40a5e961 ssh-agent 04:39:25 SSH_AUTH_SOCK=/tmp/ssh-VbZSQfn8XOvY/agent.32 04:39:25 SSH_AGENT_PID=38 04:39:25 Running ssh-add (command line suppressed) 04:39:25 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3252782436678441487.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3252782436678441487.key) 04:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:39:25 + git semver push 04:39:25 2022-05-23 04:39:25,808 [run_push] DEBUG push 04:39:25 2022-05-23 04:39:25,809 [execute] INFO git push origin semver 04:39:25 2022-05-23 04:39:25,809 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:39:26 2022-05-23 04:39:26,463 [run_push] DEBUG push all version tags 04:39:26 2022-05-23 04:39:26,464 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:39:26 2022-05-23 04:39:26,464 [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) 04:39:27 2022-05-23 04:39:27,086 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 04:39:27 0.0.1-dev.4 [Pipeline] } 04:39:27 $ docker exec --env ******** --env ******** a0846fb09c4233648b2a35b44b820553e41c65dfece08b6d7c1580fc40a5e961 ssh-agent -k 04:39:27 unset SSH_AUTH_SOCK; 04:39:27 unset SSH_AGENT_PID; 04:39:27 echo Agent pid 38 killed; 04:39:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:39:27 + git semver [Pipeline] } 04:39:28 $ docker stop --time=1 a0846fb09c4233648b2a35b44b820553e41c65dfece08b6d7c1580fc40a5e961 04:39:29 $ docker rm -f a0846fb09c4233648b2a35b44b820553e41c65dfece08b6d7c1580fc40a5e961 [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 04:39:30 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 04:39:30 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 04:39:30 total 16 04:39:30 drwxr-xr-x 3 root root 4096 May 23 04:31 . 04:39:30 drwxrwxr-x 10 jenkins jenkins 4096 May 23 04:39 .. 04:39:30 drwxr-xr-x 2 root root 4096 May 23 04:31 cost 04:39:30 -rw-r--r-- 1 root root 87 May 23 04:31 cost.csv 04:39:30 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 04:39:30 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 04:39:30 total 16 04:39:30 drwxr-xr-x 3 jenkins jenkins 4096 May 23 04:31 . 04:39:30 drwxrwxr-x 10 jenkins jenkins 4096 May 23 04:39 .. 04:39:30 drwxr-xr-x 2 jenkins jenkins 4096 May 23 04:31 cost 04:39:30 -rw-r--r-- 1 jenkins jenkins 87 May 23 04:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:39:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:39:31 ---> package-listing.sh 04:39:31 ++ facter osfamily 04:39:31 ++ tr '[:upper:]' '[:lower:]' 04:39:31 + OS_FAMILY=debian 04:39:31 + workspace=/w/workspace/exfoundry_device-usb-camera_main 04:39:31 + START_PACKAGES=/tmp/packages_start.txt 04:39:31 + END_PACKAGES=/tmp/packages_end.txt 04:39:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:39:31 + PACKAGES=/tmp/packages_start.txt 04:39:31 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 04:39:31 + PACKAGES=/tmp/packages_end.txt 04:39:31 + case "${OS_FAMILY}" in 04:39:31 + dpkg -l 04:39:31 + grep '^ii' 04:39:31 + '[' -f /tmp/packages_start.txt ']' 04:39:31 + '[' -f /tmp/packages_end.txt ']' 04:39:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:39:31 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 04:39:31 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 04:39:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 04:39:31 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 04:39:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:39:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:39:32 . [Pipeline] withDockerContainer 04:39:32 prd-ubuntu20.04-docker-8c-8g-64331 does not seem to be running inside a container 04:39:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:39:32 $ docker top 549bfe68c93e3e6646cbd399f5aeabb456a2e7490557d57c33d92bf6e3ac639e -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:33 + touch /tmp/pre-build-complete [Pipeline] sh 04:39:33 + mkdir -p /var/log/sysstat [Pipeline] sh 04:39:33 + ls /var/log/sa-host 04:39:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:33 provisioning config files... 04:39:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1054595061155166000tmp [Pipeline] { [Pipeline] echo 04:39:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:39:34 ---> create-netrc.sh [Pipeline] } 04:39:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:39:34 ---> python-tools-install.sh [Pipeline] echo 04:39:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:39:34 ---> sudo-logs.sh 04:39:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:39:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:39:35 ---> job-cost.sh 04:39:35 lf-activate-venv: SKIPPING 04:39:35 DEBUG: total: 0.2199999988079071 04:39:35 INFO: Retrieving Stack Cost... 04:39:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:39:35 INFO: Archiving Costs [Pipeline] echo 04:39:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:39:36 ---> logs-deploy.sh 04:39:36 lf-activate-venv: SKIPPING 04:39:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/14 04:39:36 INFO: archiving workspace using pattern(s): 04:39:37 Archives upload complete. 04:39:37 INFO: archiving logs to Nexus