Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4fe761a4bddde7a33328861bc9f22f27160dbe6b 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-ssh1854906762288657549.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-ssh17953872551914899381.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-ssh3226042731294314580.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-ssh13061882439961871571.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-ssh11609117104697680823.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64488’ Running on prd-ubuntu20.04-docker-8c-8g-64492 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 4fe761a4bddde7a33328861bc9f22f27160dbe6b (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 4fe761a4bddde7a33328861bc9f22f27160dbe6b # timeout=10 Commit message: "Merge pull request #36 from FelixTing/issue-35" > git rev-list --no-walk aaa7e572fda13da2933300a631edf8df830ba1ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:44:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:44:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:44:27 ========================================================= 15:44:27 EdgeX Global Pipelines Version Info 15:44:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:44:28 ------------------- 15:44:28 stable info: 15:44:28 ------------------- 15:44:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:44:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:44:28 Message: update stable to v1.0.230 15:44:28 ------------------- 15:44:28 experimental info: 15:44:28 ------------------- 15:44:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:44:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:44:28 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4fe761a [Pipeline] echo 15:44:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:29 provisioning config files... 15:44:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5152953767648233275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:29 ---> docker-login.sh 15:44:29 nexus3.edgexfoundry.org:10001 15:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:30 Configure a credential helper to remove this warning. See 15:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:30 15:44:30 Login Succeeded 15:44:30 nexus3.edgexfoundry.org:10002 15:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:30 Configure a credential helper to remove this warning. See 15:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:30 15:44:30 Login Succeeded 15:44:30 nexus3.edgexfoundry.org:10003 15:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:30 Configure a credential helper to remove this warning. See 15:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:30 15:44:30 Login Succeeded 15:44:30 nexus3.edgexfoundry.org:10004 15:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:30 Configure a credential helper to remove this warning. See 15:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:30 15:44:30 Login Succeeded 15:44:30 docker.io 15:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:31 Configure a credential helper to remove this warning. See 15:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:31 15:44:31 Login Succeeded 15:44:31 ---> docker-login.sh ends [Pipeline] } 15:44:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:44:31 + git rev-list -1 --merges 4fe761a4bddde7a33328861bc9f22f27160dbe6b~1..4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] echo 15:44:31 -----------> git rev-list -1 --merges 4fe761a4bddde7a33328861bc9f22f27160dbe6b~1..4fe761a4bddde7a33328861bc9f22f27160dbe6b 4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:44:31 4fe761a4bddde7a33328861bc9f22f27160dbe6b [false] [Pipeline] sh 15:44:32 + git log --format=format:%s -1 4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] echo 15:44:32 ========================================================= 15:44:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:44:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:32 + git log --format=format:%s -1 4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] echo 15:44:32 [semverPrep] GIT_COMMIT: 4fe761a4bddde7a33328861bc9f22f27160dbe6b, Commit Message: Merge pull request #36 from FelixTing/issue-35 [Pipeline] echo 15:44:32 [semverPrep] This is not a build commit. [Pipeline] sh 15:44:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:33 + grep -v github /etc/ssh/ssh_known_hosts 15:44:33 + [ -e /tmp/ssh_known_hosts ] 15:44:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:44:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:44:33 + sudo tee -a /etc/ssh/ssh_known_hosts 15:44:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:33 15:44:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:44:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:33 latest: Pulling from edgex-devops/py-git-semver 15:44:33 1fe172e4850f: Pulling fs layer 15:44:33 caf521ccaac6: Pulling fs layer 15:44:33 3ead6fa29328: Pulling fs layer 15:44:33 5c2a1cbceb83: Pulling fs layer 15:44:33 a8d5f1318db7: Pulling fs layer 15:44:33 c427282e49a2: Pulling fs layer 15:44:33 1827001aaf11: Pulling fs layer 15:44:33 0714d37db230: Pulling fs layer 15:44:33 ac28cf19c067: Pulling fs layer 15:44:33 ca983d60f3e2: Pulling fs layer 15:44:33 9f894cec8388: Pulling fs layer 15:44:33 a8d5f1318db7: Waiting 15:44:33 ac28cf19c067: Waiting 15:44:33 ca983d60f3e2: Waiting 15:44:33 5c2a1cbceb83: Waiting 15:44:33 0714d37db230: Waiting 15:44:33 9f894cec8388: Waiting 15:44:33 1827001aaf11: Waiting 15:44:33 caf521ccaac6: Download complete 15:44:33 5c2a1cbceb83: Verifying Checksum 15:44:33 5c2a1cbceb83: Download complete 15:44:33 a8d5f1318db7: Verifying Checksum 15:44:33 a8d5f1318db7: Download complete 15:44:33 3ead6fa29328: Verifying Checksum 15:44:33 3ead6fa29328: Download complete 15:44:33 c427282e49a2: Download complete 15:44:33 0714d37db230: Download complete 15:44:33 ac28cf19c067: Download complete 15:44:33 ca983d60f3e2: Verifying Checksum 15:44:33 ca983d60f3e2: Download complete 15:44:33 9f894cec8388: Download complete 15:44:33 1fe172e4850f: Download complete 15:44:34 1827001aaf11: Verifying Checksum 15:44:35 1fe172e4850f: Pull complete 15:44:35 caf521ccaac6: Pull complete 15:44:36 3ead6fa29328: Pull complete 15:44:36 5c2a1cbceb83: Pull complete 15:44:36 a8d5f1318db7: Pull complete 15:44:36 c427282e49a2: Pull complete 15:44:38 1827001aaf11: Pull complete 15:44:38 0714d37db230: Pull complete 15:44:38 ac28cf19c067: Pull complete 15:44:38 ca983d60f3e2: Pull complete 15:44:39 9f894cec8388: Pull complete 15:44:39 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:44:39 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:44:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:44:40 $ docker top e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 -eo pid,comm 15:44:40 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). 15:44:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:40 [ssh-agent] Looking for ssh-agent implementation... 15:44:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:41 $ docker exec e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 ssh-agent 15:44:41 SSH_AUTH_SOCK=/tmp/ssh-spBNF9SPOlxu/agent.32 15:44:41 SSH_AGENT_PID=38 15:44:41 Running ssh-add (command line suppressed) 15:44:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3803059028284928498.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3803059028284928498.key) 15:44:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:41 + git tag --points-at HEAD [Pipeline] } 15:44:41 $ docker exec --env ******** --env ******** e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 ssh-agent -k 15:44:41 unset SSH_AUTH_SOCK; 15:44:41 unset SSH_AGENT_PID; 15:44:41 echo Agent pid 38 killed; 15:44:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:41 [ssh-agent] Looking for ssh-agent implementation... 15:44:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:41 $ docker exec e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 ssh-agent 15:44:42 SSH_AUTH_SOCK=/tmp/ssh-hdI0jmNLysxx/agent.70 15:44:42 SSH_AGENT_PID=76 15:44:42 Running ssh-add (command line suppressed) 15:44:42 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8283643723879982162.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8283643723879982162.key) 15:44:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:42 + git semver init 15:44:42 2022-05-24 15:44:42,741 [run_init] DEBUG init version:0.0.0 force:False 15:44:42 2022-05-24 15:44:42,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 15:44:42 2022-05-24 15:44:42,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 15:44:42 2022-05-24 15:44:42,742 [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) 15:44:43 2022-05-24 15:44:43,261 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 15:44:43 2022-05-24 15:44:43,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 15:44:43 2022-05-24 15:44:43,262 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:44:43 2022-05-24 15:44:43,262 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:44:43 0.0.1-dev.4 [Pipeline] } 15:44:43 $ docker exec --env ******** --env ******** e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 ssh-agent -k 15:44:43 unset SSH_AUTH_SOCK; 15:44:43 unset SSH_AGENT_PID; 15:44:43 echo Agent pid 76 killed; 15:44:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:43 + git semver [Pipeline] } 15:44:44 $ docker stop --time=1 e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 15:44:45 $ docker rm -f e59be2658694dc5a59906108b73994501a447210b1fb9819f37f0431ebdfef69 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:44:46 Stashed 1 file(s) [Pipeline] echo 15:44:46 [edgeXSemver]: initialized semver on version 0.0.1-dev.4 [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 15:44:46 provisioning config files... 15:44:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4077636503683035890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:46 ---> docker-login.sh 15:44:46 nexus3.edgexfoundry.org:10001 15:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:46 Configure a credential helper to remove this warning. See 15:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:46 15:44:46 Login Succeeded 15:44:46 nexus3.edgexfoundry.org:10002 15:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:46 Configure a credential helper to remove this warning. See 15:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:46 15:44:46 Login Succeeded 15:44:46 nexus3.edgexfoundry.org:10003 15:44:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:46 Configure a credential helper to remove this warning. See 15:44:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:46 15:44:46 Login Succeeded 15:44:46 nexus3.edgexfoundry.org:10004 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 docker.io 15:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:47 Configure a credential helper to remove this warning. See 15:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:47 15:44:47 Login Succeeded 15:44:47 ---> docker-login.sh ends [Pipeline] } 15:44:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:47 ========================================================= 15:44:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:44:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:44:47 + 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 . 15:44:47 Sending build context to Docker daemon 574kB 15:44:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:44:47 Step 2/12 : FROM ${BASE} AS builder 15:44:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:44:47 59bf1c3509f3: Pulling fs layer 15:44:47 666ba61612fd: Pulling fs layer 15:44:47 8ed8ca486205: Pulling fs layer 15:44:47 4fe6c5a15a65: Pulling fs layer 15:44:47 22a0e8bec74d: Pulling fs layer 15:44:47 ca2b28591e48: Pulling fs layer 15:44:47 a51346096db8: Pulling fs layer 15:44:47 daebc70d1ce1: Pulling fs layer 15:44:47 0e18a0eac166: Pulling fs layer 15:44:47 4fe6c5a15a65: Waiting 15:44:47 22a0e8bec74d: Waiting 15:44:47 ca2b28591e48: Waiting 15:44:47 a51346096db8: Waiting 15:44:47 daebc70d1ce1: Waiting 15:44:47 0e18a0eac166: Waiting 15:44:47 8ed8ca486205: Verifying Checksum 15:44:47 8ed8ca486205: Download complete 15:44:47 666ba61612fd: Download complete 15:44:47 22a0e8bec74d: Download complete 15:44:47 ca2b28591e48: Download complete 15:44:47 a51346096db8: Verifying Checksum 15:44:47 a51346096db8: Download complete 15:44:48 59bf1c3509f3: Verifying Checksum 15:44:48 59bf1c3509f3: Download complete 15:44:48 daebc70d1ce1: Verifying Checksum 15:44:48 daebc70d1ce1: Download complete 15:44:48 59bf1c3509f3: Pull complete 15:44:48 666ba61612fd: Pull complete 15:44:48 8ed8ca486205: Pull complete 15:44:48 0e18a0eac166: Verifying Checksum 15:44:48 0e18a0eac166: Download complete 15:44:48 4fe6c5a15a65: Verifying Checksum 15:44:48 4fe6c5a15a65: Download complete 15:44:52 4fe6c5a15a65: Pull complete 15:44:52 22a0e8bec74d: Pull complete 15:44:52 ca2b28591e48: Pull complete 15:44:52 a51346096db8: Pull complete 15:44:52 daebc70d1ce1: Pull complete 15:44:55 0e18a0eac166: Pull complete 15:44:55 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:44:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:44:55 ---> f018257e8ee9 15:44:55 Step 3/12 : ARG MAKE="make build" 15:44:56 ---> Running in 8c4b7f11629d 15:44:56 Removing intermediate container 8c4b7f11629d 15:44:56 ---> 0517798ba395 15:44:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:44:56 ---> Running in dc1a84c60f2b 15:44:56 Removing intermediate container dc1a84c60f2b 15:44:56 ---> cce87ab9cf0c 15:44:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:44:57 ---> Running in ae6817fa3fcd 15:44:57 Removing intermediate container ae6817fa3fcd 15:44:57 ---> 10dc366ad6f5 15:44:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:57 ---> Running in 1e5ce8b760ca 15:44:57 Removing intermediate container 1e5ce8b760ca 15:44:57 ---> 2a374ba19564 15:44:57 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:57 ---> Running in 5c8a324e38a9 15:44:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:44:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:44:59 (1/81) Installing mesa (21.2.6-r0) 15:44:59 (2/81) Installing libxau (1.0.9-r0) 15:44:59 (3/81) Installing libmd (1.0.3-r0) 15:44:59 (4/81) Installing libbsd (0.11.3-r1) 15:44:59 (5/81) Installing libxdmcp (1.1.3-r0) 15:44:59 (6/81) Installing libxcb (1.14-r2) 15:44:59 (7/81) Installing libx11 (1.7.2-r0) 15:45:00 (8/81) Installing libxext (1.3.4-r0) 15:45:00 (9/81) Installing libxfixes (6.0.0-r0) 15:45:00 (10/81) Installing libxxf86vm (1.1.4-r2) 15:45:00 (11/81) Installing libpciaccess (0.16-r0) 15:45:00 (12/81) Installing libdrm (2.4.109-r0) 15:45:00 (13/81) Installing mesa-glapi (21.2.6-r0) 15:45:00 (14/81) Installing libxshmfence (1.3-r1) 15:45:00 (15/81) Installing mesa-gl (21.2.6-r0) 15:45:00 (16/81) Installing libice (1.0.10-r0) 15:45:00 (17/81) Installing libuuid (2.37.4-r0) 15:45:00 (18/81) Installing libsm (1.2.3-r0) 15:45:00 (19/81) Installing libxt (1.2.1-r0) 15:45:01 (20/81) Installing libxmu (1.1.3-r0) 15:45:01 (21/81) Installing xset (1.2.4-r0) 15:45:01 (22/81) Installing xprop (1.2.5-r0) 15:45:01 Still waiting to schedule task 15:45:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:45:01 (23/81) Installing xdg-utils (1.1.3-r0) 15:45:01 (24/81) Installing dbus-libs (1.12.20-r4) 15:45:01 (25/81) Installing libffi (3.4.2-r1) 15:45:01 (26/81) Installing libintl (0.21-r0) 15:45:01 (27/81) Installing libblkid (2.37.4-r0) 15:45:01 (28/81) Installing libmount (2.37.4-r0) 15:45:01 (29/81) Installing pcre (8.45-r1) 15:45:01 (30/81) Installing glib (2.70.1-r0) 15:45:02 (31/81) Installing icu-libs (69.1-r1) 15:45:03 (32/81) Installing libpcre2-16 (10.39-r0) 15:45:03 (33/81) Installing zstd-libs (1.5.0-r0) 15:45:03 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 15:45:03 (35/81) Installing hicolor-icon-theme (0.17-r1) 15:45:03 (36/81) Installing wayland-libs-server (1.19.0-r1) 15:45:04 (37/81) Installing mesa-gbm (21.2.6-r0) 15:45:04 (38/81) Installing wayland-libs-client (1.19.0-r1) 15:45:04 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 15:45:05 (40/81) Installing libxcomposite (0.4.5-r0) 15:45:05 (41/81) Installing libbz2 (1.0.8-r1) 15:45:05 (42/81) Installing libpng (1.6.37-r1) 15:45:05 (43/81) Installing freetype (2.11.1-r2) 15:45:05 (44/81) Installing fontconfig (2.13.1-r4) 15:45:05 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 15:45:05 (46/81) Installing wayland-libs-egl (1.19.0-r1) 15:45:05 (47/81) Installing xkeyboard-config (2.34-r0) 15:45:06 (48/81) Installing xz-libs (5.2.5-r1) 15:45:06 (49/81) Installing libxml2 (2.9.14-r0) 15:45:06 (50/81) Installing libxkbcommon (1.3.1-r0) 15:45:06 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 15:45:06 (52/81) Installing mesa-egl (21.2.6-r0) 15:45:06 (53/81) Installing avahi-libs (0.8-r5) 15:45:06 (54/81) Installing nettle (3.7.3-r0) 15:45:06 (55/81) Installing p11-kit (0.24.0-r1) 15:45:06 (56/81) Installing libtasn1 (4.18.0-r0) 15:45:06 (57/81) Installing libunistring (0.9.10-r1) 15:45:07 (58/81) Installing gnutls (3.7.1-r0) 15:45:07 (59/81) Installing cups-libs (2.3.3-r5) 15:45:07 (60/81) Installing graphite2 (1.3.14-r0) 15:45:07 (61/81) Installing harfbuzz (3.0.0-r2) 15:45:07 (62/81) Installing libevdev (1.12.0-r0) 15:45:07 (63/81) Installing mtdev (1.1.6-r0) 15:45:07 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 15:45:07 (65/81) Installing libinput-libs (1.19.4-r0) 15:45:07 (66/81) Installing libjpeg-turbo (2.1.2-r0) 15:45:08 (67/81) Installing xcb-util-wm (0.4.1-r1) 15:45:08 (68/81) Installing xcb-util (0.4.0-r3) 15:45:08 (69/81) Installing xcb-util-image (0.4.0-r1) 15:45:08 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 15:45:08 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 15:45:08 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 15:45:08 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 15:45:09 (74/81) Installing v4l-utils-libs (1.22.1-r1) 15:45:09 (75/81) Installing v4l-utils (1.22.1-r1) 15:45:09 (76/81) Installing udev-init-scripts (35-r0) 15:45:09 Executing udev-init-scripts-35-r0.post-install 15:45:09 (77/81) Installing kmod-libs (29-r2) 15:45:09 (78/81) Installing eudev (3.2.11_pre1-r0) 15:45:09 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 15:45:09 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:45:09 (81/81) Installing v4l-utils-dev (1.22.1-r1) 15:45:09 Executing busybox-1.34.1-r3.trigger 15:45:09 Executing eudev-3.2.11_pre1-r0.trigger 15:45:09 OK: 335 MiB in 133 packages 15:45:12 Removing intermediate container 5c8a324e38a9 15:45:12 ---> 3b3bdc2a7ddc 15:45:12 Step 8/12 : WORKDIR /device-usb-camera 15:45:12 ---> Running in 0b5128f4f959 15:45:12 Removing intermediate container 0b5128f4f959 15:45:12 ---> 78cf72fea1aa 15:45:12 Step 9/12 : COPY go.mod vendor* ./ 15:45:12 ---> bc8b0d09338d 15:45:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:12 ---> Running in da87614f7f72 15:45:27 Removing intermediate container da87614f7f72 15:45:27 ---> 62678f48a3c5 15:45:27 Step 11/12 : COPY . . 15:45:27 ---> 7606a2a4a6a3 15:45:27 Step 12/12 : RUN ${MAKE} 15:45:27 ---> Running in a52eba242b41 15:45:27 noop 15:45:27 Removing intermediate container a52eba242b41 15:45:27 ---> 253ee670de21 15:45:27 Successfully built 253ee670de21 15:45:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:45:27 + docker inspect -f . ci-base-image-x86_64 15:45:27 . [Pipeline] withDockerContainer 15:45:27 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:45:27 $ 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 15:45:28 $ docker top ff22497951f3cb484310f7aff21b8755de3473e67662ecb3c63edba6f418d293 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:28 + go version 15:45:28 go version go1.17.6 linux/amd64 [Pipeline] } 15:45:28 $ docker stop --time=1 ff22497951f3cb484310f7aff21b8755de3473e67662ecb3c63edba6f418d293 15:45:29 $ docker rm -f ff22497951f3cb484310f7aff21b8755de3473e67662ecb3c63edba6f418d293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:30 + docker inspect -f . ci-base-image-x86_64 15:45:30 . [Pipeline] withDockerContainer 15:45:30 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:45:30 $ 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 15:45:30 $ docker top fe8aaa67401bb7ae22e5f18c29334cc8bcaae10026917c7004f3ec4543975379 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:45:31 + make test 15:45:31 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 15:45:31 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:45:42 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:45:42 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 15:45:48 CGO_ENABLED=1 go vet ./... 15:45:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:45:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:45:52 ./bin/test-attribution-txt.sh [Pipeline] echo 15:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:45:53 $ docker stop --time=1 fe8aaa67401bb7ae22e5f18c29334cc8bcaae10026917c7004f3ec4543975379 15:45:55 $ docker rm -f fe8aaa67401bb7ae22e5f18c29334cc8bcaae10026917c7004f3ec4543975379 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:45:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:45:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:45:56 + ls -al . 15:45:56 total 164 15:45:56 drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:45 . 15:45:56 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:44 .. 15:45:56 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:44 .git 15:45:56 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:44 .github 15:45:56 -rw-rw-r-- 1 jenkins jenkins 349 May 24 15:44 .gitignore 15:45:56 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:44 .golangci.yml 15:45:56 -rw-rw-r-- 1 jenkins jenkins 77 May 24 15:44 .hadolint.yml 15:45:56 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:44 .semver 15:45:56 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 15:44 Attribution.txt 15:45:56 -rw-rw-r-- 1 jenkins jenkins 181 May 24 15:44 CHANGELOG.md 15:45:56 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 15:44 Dockerfile 15:45:56 -rw-rw-r-- 1 jenkins jenkins 678 May 24 15:44 GOVERNANCE.md 15:45:56 -rw-rw-r-- 1 jenkins jenkins 659 May 24 15:44 Jenkinsfile 15:45:56 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:44 LICENSE 15:45:56 -rw-rw-r-- 1 jenkins jenkins 2345 May 24 15:44 Makefile 15:45:56 -rw-rw-r-- 1 jenkins jenkins 622 May 24 15:44 OWNERS.md 15:45:56 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 15:44 README.md 15:45:56 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:44 VERSION 15:45:56 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:44 bin 15:45:56 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:44 cmd 15:45:56 -rw-r--r-- 1 jenkins jenkins 10 May 24 15:45 coverage.out 15:45:56 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:44 docker-compose 15:45:56 -rw-rw-r-- 1 jenkins jenkins 140 May 24 15:44 docker-entrypoint.sh 15:45:56 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 15:44 go.mod 15:45:56 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 15:44 go.sum 15:45:56 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:44 internal 15:45:56 -rw-rw-r-- 1 jenkins jenkins 231 May 24 15:44 version.go [Pipeline] isUnix [Pipeline] sh 15:45:57 + 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=4fe761a4bddde7a33328861bc9f22f27160dbe6b --label arch=amd64 --label version=0.0.1-dev.4 . 15:45:57 Sending build context to Docker daemon 575kB 15:45:57 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 15:45:57 Step 2/29 : FROM ${BASE} AS builder 15:45:57 ---> 253ee670de21 15:45:57 Step 3/29 : ARG MAKE="make build" 15:45:57 ---> Running in 181edb205324 15:45:57 Removing intermediate container 181edb205324 15:45:57 ---> 50f1c666dcf5 15:45:57 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:45:57 ---> Running in 684e23a33e88 15:45:57 Removing intermediate container 684e23a33e88 15:45:57 ---> cbefca0cfb56 15:45:57 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:45:57 ---> Running in 0cf92dda175a 15:45:57 Removing intermediate container 0cf92dda175a 15:45:57 ---> 60f19c0b783e 15:45:57 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:57 ---> Running in d92ca05227f7 15:45:58 Removing intermediate container d92ca05227f7 15:45:58 ---> f8acf24c88cf 15:45:58 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:45:58 ---> Running in b7c223f8df44 15:45:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:45:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:45:59 OK: 335 MiB in 133 packages 15:45:59 Removing intermediate container b7c223f8df44 15:45:59 ---> 79c5c7717eba 15:45:59 Step 8/29 : WORKDIR /device-usb-camera 15:45:59 ---> Running in ec32cff435bd 15:46:00 Removing intermediate container ec32cff435bd 15:46:00 ---> ec7702105d6e 15:46:00 Step 9/29 : COPY go.mod vendor* ./ 15:46:00 ---> 58fec17040da 15:46:00 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:00 ---> Running in c2ea111ade79 15:46:01 Removing intermediate container c2ea111ade79 15:46:01 ---> c7a214d86c02 15:46:01 Step 11/29 : COPY . . 15:46:01 ---> 2052bfff08c5 15:46:01 Step 12/29 : RUN ${MAKE} 15:46:01 ---> Running in d12894aab42f 15:46:01 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 15:46:23 Removing intermediate container d12894aab42f 15:46:23 ---> 4a5036226192 15:46:23 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:46:23 v0.18.4: Pulling from aler9/rtsp-simple-server 15:46:23 af6660deedbd: Pulling fs layer 15:46:23 97cd0a44c592: Pulling fs layer 15:46:23 97cd0a44c592: Download complete 15:46:23 af6660deedbd: Verifying Checksum 15:46:23 af6660deedbd: Download complete 15:46:23 af6660deedbd: Pull complete 15:46:23 97cd0a44c592: Pull complete 15:46:23 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:46:23 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:46:23 ---> fea57e182299 15:46:23 Step 14/29 : FROM alpine:3.15 15:46:23 3.15: Pulling from library/alpine 15:46:23 df9b9388f04a: Pulling fs layer 15:46:23 df9b9388f04a: Verifying Checksum 15:46:23 df9b9388f04a: Download complete 15:46:23 df9b9388f04a: Pull complete 15:46:23 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:46:23 Status: Downloaded newer image for alpine:3.15 15:46:23 ---> 0ac33e5f5afa 15:46:23 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:46:23 ---> Running in 35946f1fd428 15:46:23 Removing intermediate container 35946f1fd428 15:46:23 ---> 99abb63e3835 15:46:23 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 15:46:23 ---> Running in 48fb37a3eee5 15:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:46:23 (1/74) Installing dumb-init (1.2.5-r1) 15:46:23 (2/74) Installing sdl2 (2.0.16-r4) 15:46:23 (3/74) Installing libxau (1.0.9-r0) 15:46:23 (4/74) Installing libmd (1.0.3-r0) 15:46:23 (5/74) Installing libbsd (0.11.3-r1) 15:46:23 (6/74) Installing libxdmcp (1.1.3-r0) 15:46:23 (7/74) Installing libxcb (1.14-r2) 15:46:23 (8/74) Installing libx11 (1.7.2-r0) 15:46:23 (9/74) Installing aom-libs (3.2.0-r0) 15:46:23 (10/74) Installing alsa-lib (1.2.5.1-r1) 15:46:23 (11/74) Installing expat (2.4.7-r0) 15:46:23 (12/74) Installing brotli-libs (1.0.9-r5) 15:46:23 (13/74) Installing libbz2 (1.0.8-r1) 15:46:23 (14/74) Installing libpng (1.6.37-r1) 15:46:23 (15/74) Installing freetype (2.11.1-r2) 15:46:23 (16/74) Installing libuuid (2.37.4-r0) 15:46:23 (17/74) Installing fontconfig (2.13.1-r4) 15:46:23 (18/74) Installing fribidi (1.0.11-r0) 15:46:23 (19/74) Installing libffi (3.4.2-r1) 15:46:23 (20/74) Installing libintl (0.21-r0) 15:46:23 (21/74) Installing libblkid (2.37.4-r0) 15:46:23 (22/74) Installing libmount (2.37.4-r0) 15:46:23 (23/74) Installing pcre (8.45-r1) 15:46:23 (24/74) Installing glib (2.70.1-r0) 15:46:23 (25/74) Installing graphite2 (1.3.14-r0) 15:46:23 (26/74) Installing harfbuzz (3.0.0-r2) 15:46:23 (27/74) Installing libass (0.15.2-r0) 15:46:23 (28/74) Installing libdav1d (0.9.2-r0) 15:46:23 (29/74) Installing gmp (6.2.1-r1) 15:46:24 (30/74) Installing nettle (3.7.3-r0) 15:46:24 (31/74) Installing p11-kit (0.24.0-r1) 15:46:24 (32/74) Installing libtasn1 (4.18.0-r0) 15:46:24 (33/74) Installing libunistring (0.9.10-r1) 15:46:24 (34/74) Installing gnutls (3.7.1-r0) 15:46:24 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 15:46:24 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 15:46:24 (37/74) Installing lame (3.100-r0) 15:46:24 (38/74) Installing opus (1.3.1-r1) 15:46:24 (39/74) Installing libgomp (10.3.1_git20211027-r0) 15:46:24 (40/74) Installing soxr (0.1.3-r2) 15:46:24 (41/74) Installing libgcc (10.3.1_git20211027-r0) 15:46:24 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 15:46:24 (43/74) Installing libsrt (1.4.2-r1) 15:46:24 (44/74) Installing libssh (0.9.6-r1) 15:46:24 (45/74) Installing libogg (1.3.5-r0) 15:46:24 (46/74) Installing libtheora (1.1.1-r16) 15:46:24 (47/74) Installing libjpeg-turbo (2.1.2-r0) 15:46:24 (48/74) Installing v4l-utils-libs (1.22.1-r1) 15:46:24 (49/74) Installing libxext (1.3.4-r0) 15:46:24 (50/74) Installing libxfixes (6.0.0-r0) 15:46:24 (51/74) Installing libpciaccess (0.16-r0) 15:46:24 (52/74) Installing libdrm (2.4.109-r0) 15:46:24 (53/74) Installing wayland-libs-client (1.19.0-r1) 15:46:24 (54/74) Installing libva (2.13.0-r0) 15:46:24 (55/74) Installing libvdpau (1.4-r0) 15:46:24 (56/74) Installing vidstab (1.1.0-r1) 15:46:24 (57/74) Installing libvorbis (1.3.7-r0) 15:46:24 (58/74) Installing libvpx (1.10.0-r0) 15:46:24 (59/74) Installing vulkan-loader (1.2.196-r0) 15:46:24 (60/74) Installing libwebp (1.2.2-r0) 15:46:24 (61/74) Installing x264-libs (20210613-r0) 15:46:24 (62/74) Installing x265-libs (3.5-r0) 15:46:24 (63/74) Installing xvidcore (1.3.7-r1) 15:46:24 (64/74) Installing ffmpeg-libs (4.4.1-r2) 15:46:24 (65/74) Installing ffmpeg (4.4.1-r2) 15:46:24 (66/74) Installing udev-init-scripts (35-r0) 15:46:24 Executing udev-init-scripts-35-r0.post-install 15:46:24 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 15:46:24 (68/74) Installing xz-libs (5.2.5-r1) 15:46:24 (69/74) Installing zstd-libs (1.5.0-r0) 15:46:24 (70/74) Installing kmod-libs (29-r2) 15:46:24 (71/74) Installing eudev (3.2.11_pre1-r0) 15:46:24 (72/74) Installing libsodium (1.0.18-r0) 15:46:24 (73/74) Installing libzmq (4.3.4-r0) 15:46:24 (74/74) Installing zeromq (4.3.4-r0) 15:46:24 Executing busybox-1.34.1-r5.trigger 15:46:24 Executing eudev-3.2.11_pre1-r0.trigger 15:46:24 OK: 78 MiB in 88 packages 15:46:25 Removing intermediate container 48fb37a3eee5 15:46:25 ---> 70b4606cfaa3 15:46:25 Step 17/29 : WORKDIR / 15:46:25 ---> Running in a2e09776638a 15:46:25 Removing intermediate container a2e09776638a 15:46:25 ---> b8b2b3980ba3 15:46:25 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 15:46:26 ---> 899933b769f2 15:46:26 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 15:46:26 ---> 870d1e94c3eb 15:46:26 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:46:26 ---> 246a55ab7872 15:46:26 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:46:27 ---> 9e9f9d4539eb 15:46:27 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 15:46:27 ---> 80dee9f76b39 15:46:27 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 15:46:27 ---> 6ea2b78f7615 15:46:27 Step 24/29 : EXPOSE 59983 15:46:27 ---> Running in 78e935f09af4 15:46:27 Removing intermediate container 78e935f09af4 15:46:27 ---> b2bae95db153 15:46:27 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:46:27 ---> Running in 14fc33d1b273 15:46:27 Removing intermediate container 14fc33d1b273 15:46:27 ---> 704d3e3977cb 15:46:27 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 15:46:27 ---> Running in 3ad151957212 15:46:27 Removing intermediate container 3ad151957212 15:46:27 ---> f20d67dbe216 15:46:27 Step 27/29 : LABEL arch=amd64 15:46:27 ---> Running in 6177c2e2bd41 15:46:28 Removing intermediate container 6177c2e2bd41 15:46:28 ---> d4d874255577 15:46:28 Step 28/29 : LABEL git_sha=4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:46:28 ---> Running in cfbd22131a9e 15:46:28 Removing intermediate container cfbd22131a9e 15:46:28 ---> 19555bfcdd0d 15:46:28 Step 29/29 : LABEL version=0.0.1-dev.4 15:46:28 ---> Running in d88ba2f2f157 15:46:28 Removing intermediate container d88ba2f2f157 15:46:28 ---> 71010c5c2167 15:46:28 [Warning] One or more build-args [ARCH] were not consumed 15:46:28 Successfully built 71010c5c2167 15:46:28 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:28 provisioning config files... 15:46:28 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3323535524866994817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:28 ---> docker-login.sh 15:46:28 nexus3.edgexfoundry.org:10001 15:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:28 Configure a credential helper to remove this warning. See 15:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:28 15:46:28 Login Succeeded 15:46:28 nexus3.edgexfoundry.org:10002 15:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:28 Configure a credential helper to remove this warning. See 15:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:28 15:46:28 Login Succeeded 15:46:28 nexus3.edgexfoundry.org:10003 15:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:28 Configure a credential helper to remove this warning. See 15:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:28 15:46:28 Login Succeeded 15:46:28 nexus3.edgexfoundry.org:10004 15:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:29 Configure a credential helper to remove this warning. See 15:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:29 15:46:29 Login Succeeded 15:46:29 docker.io 15:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:29 Configure a credential helper to remove this warning. See 15:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:29 15:46:29 Login Succeeded 15:46:29 ---> docker-login.sh ends [Pipeline] } 15:46:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:46:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:29 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 15:46:29 4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:46:29 latest 15:46:29 0.0.1-dev.4 15:46:29 4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:46:29 main 15:46:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:46:29 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] isUnix [Pipeline] sh 15:46:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:46:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:46:30 550e596c6d0e: Preparing 15:46:30 1207169bf42c: Preparing 15:46:30 537f99a17c04: Preparing 15:46:30 8d45e0f3833d: Preparing 15:46:30 d821cd85e46c: Preparing 15:46:30 eec4cee19b1f: Preparing 15:46:30 33f1661a3157: Preparing 15:46:30 4fc242d58285: Preparing 15:46:30 eec4cee19b1f: Waiting 15:46:30 33f1661a3157: Waiting 15:46:30 4fc242d58285: Waiting 15:46:30 d821cd85e46c: Pushed 15:46:30 8d45e0f3833d: Pushed 15:46:30 537f99a17c04: Pushed 15:46:30 1207169bf42c: Pushed 15:46:30 4fc242d58285: Layer already exists 15:46:32 550e596c6d0e: Pushed 15:46:33 eec4cee19b1f: Pushed 15:46:37 33f1661a3157: Pushed 15:46:37 4fe761a4bddde7a33328861bc9f22f27160dbe6b: digest: sha256:030f870a89c8c0fe70681932302d199cb6a6ec2dc7677f9b0877aa2641c68605 size: 1994 [Pipeline] isUnix [Pipeline] sh 15:46:37 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] isUnix [Pipeline] sh 15:46:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:46:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:46:38 550e596c6d0e: Preparing 15:46:38 1207169bf42c: Preparing 15:46:38 537f99a17c04: Preparing 15:46:38 8d45e0f3833d: Preparing 15:46:38 d821cd85e46c: Preparing 15:46:38 eec4cee19b1f: Preparing 15:46:38 33f1661a3157: Preparing 15:46:38 4fc242d58285: Preparing 15:46:38 eec4cee19b1f: Waiting 15:46:38 33f1661a3157: Waiting 15:46:38 4fc242d58285: Waiting 15:46:38 1207169bf42c: Layer already exists 15:46:38 550e596c6d0e: Layer already exists 15:46:38 8d45e0f3833d: Layer already exists 15:46:38 537f99a17c04: Layer already exists 15:46:38 d821cd85e46c: Layer already exists 15:46:38 eec4cee19b1f: Layer already exists 15:46:38 33f1661a3157: Layer already exists 15:46:38 4fc242d58285: Layer already exists 15:46:38 latest: digest: sha256:030f870a89c8c0fe70681932302d199cb6a6ec2dc7677f9b0877aa2641c68605 size: 1994 [Pipeline] isUnix [Pipeline] sh 15:46:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 15:46:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.4 15:46:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:46:38 550e596c6d0e: Preparing 15:46:38 1207169bf42c: Preparing 15:46:38 537f99a17c04: Preparing 15:46:38 8d45e0f3833d: Preparing 15:46:38 d821cd85e46c: Preparing 15:46:38 eec4cee19b1f: Preparing 15:46:38 33f1661a3157: Preparing 15:46:38 4fc242d58285: Preparing 15:46:38 eec4cee19b1f: Waiting 15:46:38 4fc242d58285: Waiting 15:46:38 33f1661a3157: Waiting 15:46:38 537f99a17c04: Layer already exists 15:46:38 1207169bf42c: Layer already exists 15:46:38 8d45e0f3833d: Layer already exists 15:46:38 550e596c6d0e: Layer already exists 15:46:38 d821cd85e46c: Layer already exists 15:46:38 eec4cee19b1f: Layer already exists 15:46:38 4fc242d58285: Layer already exists 15:46:38 33f1661a3157: Layer already exists 15:46:38 0.0.1-dev.4: digest: sha256:030f870a89c8c0fe70681932302d199cb6a6ec2dc7677f9b0877aa2641c68605 size: 1994 [Pipeline] isUnix [Pipeline] sh 15:46:38 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 15:46:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:46:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:46:39 550e596c6d0e: Preparing 15:46:39 1207169bf42c: Preparing 15:46:39 537f99a17c04: Preparing 15:46:39 8d45e0f3833d: Preparing 15:46:39 d821cd85e46c: Preparing 15:46:39 eec4cee19b1f: Preparing 15:46:39 33f1661a3157: Preparing 15:46:39 4fc242d58285: Preparing 15:46:39 eec4cee19b1f: Waiting 15:46:39 4fc242d58285: Waiting 15:46:39 33f1661a3157: Waiting 15:46:39 d821cd85e46c: Layer already exists 15:46:39 8d45e0f3833d: Layer already exists 15:46:39 1207169bf42c: Layer already exists 15:46:39 550e596c6d0e: Layer already exists 15:46:39 537f99a17c04: Layer already exists 15:46:39 33f1661a3157: Layer already exists 15:46:39 eec4cee19b1f: Layer already exists 15:46:39 4fc242d58285: Layer already exists 15:46:39 4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4: digest: sha256:030f870a89c8c0fe70681932302d199cb6a6ec2dc7677f9b0877aa2641c68605 size: 1994 [Pipeline] isUnix [Pipeline] sh 15:46:39 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] isUnix [Pipeline] sh 15:46:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 15:46:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:46:39 550e596c6d0e: Preparing 15:46:39 1207169bf42c: Preparing 15:46:39 537f99a17c04: Preparing 15:46:39 8d45e0f3833d: Preparing 15:46:39 d821cd85e46c: Preparing 15:46:39 eec4cee19b1f: Preparing 15:46:39 33f1661a3157: Preparing 15:46:39 4fc242d58285: Preparing 15:46:39 33f1661a3157: Waiting 15:46:39 4fc242d58285: Waiting 15:46:39 eec4cee19b1f: Waiting 15:46:39 1207169bf42c: Layer already exists 15:46:39 537f99a17c04: Layer already exists 15:46:39 550e596c6d0e: Layer already exists 15:46:39 d821cd85e46c: Layer already exists 15:46:39 8d45e0f3833d: Layer already exists 15:46:39 eec4cee19b1f: Layer already exists 15:46:39 4fc242d58285: Layer already exists 15:46:39 33f1661a3157: Layer already exists 15:46:39 main: digest: sha256:030f870a89c8c0fe70681932302d199cb6a6ec2dc7677f9b0877aa2641c68605 size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:46:39 ===================================================== [Pipeline] echo 15:46:39 taggedImages: 15:46:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:46:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:46:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.1-dev.4 15:46:39 - nexus3.edgexfoundry.org:10004/device-usb-camera:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:46:39 - 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 15:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:40 15:46:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:46:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:40 latest: Pulling from edgex-lftools-log-publisher 15:46:40 5eb5b503b376: Pulling fs layer 15:46:40 5c69ac0246d0: Pulling fs layer 15:46:40 ec43610c2a17: Pulling fs layer 15:46:40 3a2ae6a8a46f: Pulling fs layer 15:46:40 33b1e0a273af: Pulling fs layer 15:46:40 5d3b04190fa2: Pulling fs layer 15:46:40 2f39f015ded8: Pulling fs layer 15:46:40 33b1e0a273af: Waiting 15:46:40 5d3b04190fa2: Waiting 15:46:40 2f39f015ded8: Waiting 15:46:40 3a2ae6a8a46f: Waiting 15:46:40 5c69ac0246d0: Download complete 15:46:40 3a2ae6a8a46f: Verifying Checksum 15:46:40 3a2ae6a8a46f: Download complete 15:46:40 33b1e0a273af: Verifying Checksum 15:46:40 33b1e0a273af: Download complete 15:46:40 5d3b04190fa2: Download complete 15:46:40 ec43610c2a17: Verifying Checksum 15:46:40 ec43610c2a17: Download complete 15:46:40 5eb5b503b376: Download complete 15:46:41 2f39f015ded8: Verifying Checksum 15:46:41 2f39f015ded8: Download complete 15:46:41 5eb5b503b376: Pull complete 15:46:42 5c69ac0246d0: Pull complete 15:46:42 ec43610c2a17: Pull complete 15:46:42 3a2ae6a8a46f: Pull complete 15:46:42 33b1e0a273af: Pull complete 15:46:43 5d3b04190fa2: Pull complete 15:46:47 2f39f015ded8: Pull complete 15:46:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:46:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:46:47 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:46:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 15:46:48 $ docker top 85be01108844af9c65cfc1906f6c57265302649d722f1d93dc47174882f1e6d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:49 ---> job-cost.sh 15:46:49 lf-activate-venv: SKIPPING 15:46:49 INFO: No Stack... 15:46:49 INFO: Retrieving Pricing Info for: v3-standard-8 15:46:50 INFO: Archiving Costs [Pipeline] sh 15:46:50 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 15:46:50 + cut -d, -f6 [Pipeline] lock 15:46:50 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] 15:46:50 Resource [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] did not exist. Created. 15:46:50 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:46:50 + echo total: 0.2199999988079071 [Pipeline] stash 15:46:50 Stashed 1 file(s) [Pipeline] } 15:46:50 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 15:46:50 $ docker stop --time=1 85be01108844af9c65cfc1906f6c57265302649d722f1d93dc47174882f1e6d7 15:46:51 $ docker rm -f 85be01108844af9c65cfc1906f6c57265302649d722f1d93dc47174882f1e6d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:47:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64495 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 15:47:46 Running in /w/workspace/device-usb-camera/15 [Pipeline] { [Pipeline] checkout 15:47:46 Selected Git installation does not exist. Using Default 15:47:46 The recommended git tool is: NONE 15:47:51 using credential edgex-jenkins-ssh 15:47:52 Cloning the remote Git repository 15:47:52 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:47:52 > git init /w/workspace/device-usb-camera/15 # timeout=10 15:47:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:47:52 > git --version # timeout=10 15:47:52 > git --version # 'git version 2.25.1' 15:47:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:52 Avoid second fetch 15:47:52 Checking out Revision 4fe761a4bddde7a33328861bc9f22f27160dbe6b (main) 15:47:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:47:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:53 > git config core.sparsecheckout # timeout=10 15:47:53 > git checkout -f 4fe761a4bddde7a33328861bc9f22f27160dbe6b # timeout=10 15:47:57 Commit message: "Merge pull request #36 from FelixTing/issue-35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:47:58 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:58 Dload Upload Total Spent Left Speed 15:47:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 15:47:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:47:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:47:59 + sudo tee /etc/docker/daemon.new 15:47:59 { 15:47:59 "registry-mirrors": [ 15:47:59 "https://nexus3.edgexfoundry.org:10001" 15:47:59 ], 15:47:59 "bip": "10.250.0.254/24", 15:47:59 "hosts": [ 15:47:59 "tcp://0.0.0.0:5555", 15:47:59 "unix:///var/run/docker.sock" 15:47:59 ], 15:47:59 "mtu": 1458, 15:47:59 "selinux-enabled": true, 15:47:59 "seccomp-profile": "/etc/docker/seccomp.json" 15:47:59 } [Pipeline] sh 15:47:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:48:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:18 provisioning config files... 15:48:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/15@tmp/config6447492512716355254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:18 ---> docker-login.sh 15:48:18 nexus3.edgexfoundry.org:10001 15:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:19 Configure a credential helper to remove this warning. See 15:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:19 15:48:19 Login Succeeded 15:48:19 nexus3.edgexfoundry.org:10002 15:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:20 Configure a credential helper to remove this warning. See 15:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:20 15:48:20 Login Succeeded 15:48:20 nexus3.edgexfoundry.org:10003 15:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:20 Configure a credential helper to remove this warning. See 15:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:20 15:48:20 Login Succeeded 15:48:20 nexus3.edgexfoundry.org:10004 15:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:21 Configure a credential helper to remove this warning. See 15:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:21 15:48:21 Login Succeeded 15:48:21 docker.io 15:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:21 Configure a credential helper to remove this warning. See 15:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:21 15:48:21 Login Succeeded 15:48:21 ---> docker-login.sh ends [Pipeline] } 15:48:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:48:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:22 ========================================================= 15:48:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:48:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:48:22 + 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 . 15:48:23 Sending build context to Docker daemon 390.1kB 15:48:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:48:23 Step 2/12 : FROM ${BASE} AS builder 15:48:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:48:23 9b3977197b4f: Pulling fs layer 15:48:23 1a89e8eeedd5: Pulling fs layer 15:48:23 94645a83ff95: Pulling fs layer 15:48:23 3f3a8bcf1eab: Pulling fs layer 15:48:23 0c92f367c5e7: Pulling fs layer 15:48:23 3096ccb668a1: Pulling fs layer 15:48:23 e8cf19c19ddd: Pulling fs layer 15:48:23 a4caa8a26152: Pulling fs layer 15:48:23 3f3a8bcf1eab: Waiting 15:48:23 0c92f367c5e7: Waiting 15:48:23 3096ccb668a1: Waiting 15:48:23 e8cf19c19ddd: Waiting 15:48:23 a4caa8a26152: Waiting 15:48:23 94645a83ff95: Verifying Checksum 15:48:23 94645a83ff95: Download complete 15:48:23 0c92f367c5e7: Verifying Checksum 15:48:23 0c92f367c5e7: Download complete 15:48:23 3096ccb668a1: Verifying Checksum 15:48:23 3096ccb668a1: Download complete 15:48:23 9b3977197b4f: Verifying Checksum 15:48:23 9b3977197b4f: Download complete 15:48:23 e8cf19c19ddd: Verifying Checksum 15:48:23 e8cf19c19ddd: Download complete 15:48:24 9b3977197b4f: Pull complete 15:48:24 1a89e8eeedd5: Pull complete 15:48:25 94645a83ff95: Pull complete 15:48:25 a4caa8a26152: Verifying Checksum 15:48:25 a4caa8a26152: Download complete 15:48:26 3f3a8bcf1eab: Verifying Checksum 15:48:26 3f3a8bcf1eab: Download complete 15:48:38 3f3a8bcf1eab: Pull complete 15:48:38 0c92f367c5e7: Pull complete 15:48:38 3096ccb668a1: Pull complete 15:48:38 e8cf19c19ddd: Pull complete 15:48:44 a4caa8a26152: Pull complete 15:48:44 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:48:44 ---> 725f1c02e7f9 15:48:44 Step 3/12 : ARG MAKE="make build" 15:48:45 ---> Running in 4baa097e6042 15:48:45 Removing intermediate container 4baa097e6042 15:48:45 ---> 23693445c727 15:48:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:48:45 ---> Running in 345377b2ca2d 15:48:45 Removing intermediate container 345377b2ca2d 15:48:45 ---> 0d26da891b1b 15:48:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:48:46 ---> Running in 74767d1030ff 15:48:46 Removing intermediate container 74767d1030ff 15:48:46 ---> 47605869517a 15:48:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:48:46 ---> Running in ba56f63978f8 15:48:48 Removing intermediate container ba56f63978f8 15:48:48 ---> a37f1df17e0c 15:48:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:48 ---> Running in e73fc60daa7f 15:48:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:48:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:48:50 (1/14) Installing libintl (0.21-r0) 15:48:51 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 15:48:51 (3/14) Installing libjpeg-turbo (2.1.2-r0) 15:48:51 (4/14) Installing v4l-utils-libs (1.22.1-r1) 15:48:51 (5/14) Installing v4l-utils (1.22.1-r1) 15:48:51 (6/14) Installing udev-init-scripts (35-r0) 15:48:51 Executing udev-init-scripts-35-r0.post-install 15:48:51 (7/14) Installing libblkid (2.37.4-r0) 15:48:51 (8/14) Installing xz-libs (5.2.5-r1) 15:48:52 (9/14) Installing zstd-libs (1.5.0-r0) 15:48:52 (10/14) Installing kmod-libs (29-r2) 15:48:52 (11/14) Installing eudev (3.2.11_pre1-r0) 15:48:52 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 15:48:52 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 15:48:52 (14/14) Installing v4l-utils-dev (1.22.1-r1) 15:48:52 Executing busybox-1.34.1-r3.trigger 15:48:52 Executing eudev-3.2.11_pre1-r0.trigger 15:48:52 OK: 227 MiB in 66 packages 15:48:54 Removing intermediate container e73fc60daa7f 15:48:54 ---> 96b339023cce 15:48:54 Step 8/12 : WORKDIR /device-usb-camera 15:48:54 ---> Running in ab424532b634 15:48:54 Removing intermediate container ab424532b634 15:48:54 ---> 2192ff1d484e 15:48:54 Step 9/12 : COPY go.mod vendor* ./ 15:48:54 ---> 48db0e4b905b 15:48:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:54 ---> Running in fbb38e14e8bc 15:49:52 Removing intermediate container fbb38e14e8bc 15:49:52 ---> d6715bd9de33 15:49:52 Step 11/12 : COPY . . 15:49:52 ---> a6cfee5c64ca 15:49:52 Step 12/12 : RUN ${MAKE} 15:49:52 ---> Running in f5b61c5f17ef 15:49:52 noop 15:49:52 Removing intermediate container f5b61c5f17ef 15:49:52 ---> 91543bfb5160 15:49:52 Successfully built 91543bfb5160 15:49:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:49:52 + docker inspect -f . ci-base-image-arm64 15:49:52 . [Pipeline] withDockerContainer 15:49:52 prd-ubuntu20.04-docker-arm64-4c-16g-64495 does not seem to be running inside a container 15:49:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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-arm64 cat 15:49:54 $ docker top 7556f0c5509280733827e30bd9ba90c83098dc105f1b508d6a945c757749c6cc -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:55 + go version 15:49:55 go version go1.17.6 linux/arm64 [Pipeline] } 15:49:55 $ docker stop --time=1 7556f0c5509280733827e30bd9ba90c83098dc105f1b508d6a945c757749c6cc 15:49:57 $ docker rm -f 7556f0c5509280733827e30bd9ba90c83098dc105f1b508d6a945c757749c6cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:57 + docker inspect -f . ci-base-image-arm64 15:49:57 . [Pipeline] withDockerContainer 15:49:57 prd-ubuntu20.04-docker-arm64-4c-16g-64495 does not seem to be running inside a container 15:49:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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-arm64 cat 15:49:59 $ docker top 12d2055255cd4ce5c3f0adc38036bd3afd5c2bf6695d8951769d0cb33f60fdfe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:50:00 + make test 15:50:00 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 15:50:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:51:39 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:51:39 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 15:51:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:51:39 CGO_ENABLED=1 go vet ./... 15:51:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:52:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:52:01 $ docker stop --time=1 12d2055255cd4ce5c3f0adc38036bd3afd5c2bf6695d8951769d0cb33f60fdfe 15:52:03 $ docker rm -f 12d2055255cd4ce5c3f0adc38036bd3afd5c2bf6695d8951769d0cb33f60fdfe [Pipeline] // withDockerContainer [Pipeline] sh 15:52:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:04 Warning: overwriting stash ‘coverage-report’ 15:52:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:05 + ls -al . 15:52:05 total 160 15:52:05 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:52 . 15:52:05 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:47 .. 15:52:05 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:47 .git 15:52:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 .github 15:52:05 -rw-rw-r-- 1 jenkins jenkins 349 May 24 15:47 .gitignore 15:52:05 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:47 .golangci.yml 15:52:05 -rw-rw-r-- 1 jenkins jenkins 77 May 24 15:47 .hadolint.yml 15:52:05 -rw-rw-r-- 1 jenkins jenkins 8706 May 24 15:47 Attribution.txt 15:52:05 -rw-rw-r-- 1 jenkins jenkins 181 May 24 15:47 CHANGELOG.md 15:52:05 -rw-rw-r-- 1 jenkins jenkins 1891 May 24 15:47 Dockerfile 15:52:05 -rw-rw-r-- 1 jenkins jenkins 678 May 24 15:47 GOVERNANCE.md 15:52:05 -rw-rw-r-- 1 jenkins jenkins 659 May 24 15:47 Jenkinsfile 15:52:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:47 LICENSE 15:52:05 -rw-rw-r-- 1 jenkins jenkins 2345 May 24 15:47 Makefile 15:52:05 -rw-rw-r-- 1 jenkins jenkins 622 May 24 15:47 OWNERS.md 15:52:05 -rw-rw-r-- 1 jenkins jenkins 8944 May 24 15:47 README.md 15:52:05 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:44 VERSION 15:52:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 bin 15:52:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 cmd 15:52:05 -rw-r--r-- 1 jenkins jenkins 10 May 24 15:50 coverage.out 15:52:05 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 docker-compose 15:52:05 -rw-rw-r-- 1 jenkins jenkins 140 May 24 15:47 docker-entrypoint.sh 15:52:05 -rw-rw-r-- 1 jenkins jenkins 3307 May 24 15:47 go.mod 15:52:05 -rw-rw-r-- 1 jenkins jenkins 35656 May 24 15:47 go.sum 15:52:05 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 internal 15:52:05 -rw-rw-r-- 1 jenkins jenkins 231 May 24 15:47 version.go [Pipeline] isUnix [Pipeline] sh 15:52:05 + 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=4fe761a4bddde7a33328861bc9f22f27160dbe6b --label arch=arm64 --label version=0.0.1-dev.4 . 15:52:06 Sending build context to Docker daemon 391.2kB 15:52:06 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 15:52:06 Step 2/29 : FROM ${BASE} AS builder 15:52:06 ---> 91543bfb5160 15:52:06 Step 3/29 : ARG MAKE="make build" 15:52:06 ---> Running in 4d660689f9a1 15:52:06 Removing intermediate container 4d660689f9a1 15:52:06 ---> a1b01f43604e 15:52:06 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:52:06 ---> Running in 665392650b34 15:52:07 Removing intermediate container 665392650b34 15:52:07 ---> daa480ba7aa5 15:52:07 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:52:07 ---> Running in 18aefc7372ba 15:52:07 Removing intermediate container 18aefc7372ba 15:52:07 ---> a991f33089e9 15:52:07 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:07 ---> Running in d6c913f8fa52 15:52:09 Removing intermediate container d6c913f8fa52 15:52:09 ---> 1213dc4af383 15:52:09 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:09 ---> Running in ab9df3c44295 15:52:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:52:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:52:12 OK: 227 MiB in 66 packages 15:52:13 Removing intermediate container ab9df3c44295 15:52:13 ---> f69d15956d3a 15:52:13 Step 8/29 : WORKDIR /device-usb-camera 15:52:13 ---> Running in cd418d59cebd 15:52:13 Removing intermediate container cd418d59cebd 15:52:13 ---> e502cd589ef2 15:52:13 Step 9/29 : COPY go.mod vendor* ./ 15:52:14 ---> c29d8d0a0a2b 15:52:14 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:14 ---> Running in c88ed6acacea 15:52:16 Removing intermediate container c88ed6acacea 15:52:16 ---> f75b023e6325 15:52:16 Step 11/29 : COPY . . 15:52:17 ---> cfd4c9a5f80e 15:52:17 Step 12/29 : RUN ${MAKE} 15:52:17 ---> Running in 87376b432e85 15:52:18 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 15:54:28 Removing intermediate container 87376b432e85 15:54:28 ---> 21e51f58b80a 15:54:28 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 15:54:29 v0.18.4: Pulling from aler9/rtsp-simple-server 15:54:29 eab2503cf8f4: Pulling fs layer 15:54:29 97cd0a44c592: Pulling fs layer 15:54:29 97cd0a44c592: Verifying Checksum 15:54:29 97cd0a44c592: Download complete 15:54:30 eab2503cf8f4: Verifying Checksum 15:54:30 eab2503cf8f4: Download complete 15:54:30 eab2503cf8f4: Pull complete 15:54:30 97cd0a44c592: Pull complete 15:54:30 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 15:54:30 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 15:54:30 ---> 7f763cca56b3 15:54:30 Step 14/29 : FROM alpine:3.15 15:54:31 3.15: Pulling from library/alpine 15:54:31 9981e73032c8: Pulling fs layer 15:54:32 9981e73032c8: Verifying Checksum 15:54:32 9981e73032c8: Download complete 15:54:32 9981e73032c8: Pull complete 15:54:32 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:54:32 Status: Downloaded newer image for alpine:3.15 15:54:32 ---> 3fb3c9af89a9 15:54:32 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:54:32 ---> Running in cff272d0aab3 15:54:33 Removing intermediate container cff272d0aab3 15:54:33 ---> 7d361843f370 15:54:33 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 15:54:33 ---> Running in 6738a9fc6664 15:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:54:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:54:35 (1/73) Installing dumb-init (1.2.5-r1) 15:54:35 (2/73) Installing sdl2 (2.0.16-r4) 15:54:35 (3/73) Installing libxau (1.0.9-r0) 15:54:35 (4/73) Installing libmd (1.0.3-r0) 15:54:35 (5/73) Installing libbsd (0.11.3-r1) 15:54:35 (6/73) Installing libxdmcp (1.1.3-r0) 15:54:35 (7/73) Installing libxcb (1.14-r2) 15:54:35 (8/73) Installing libx11 (1.7.2-r0) 15:54:35 (9/73) Installing aom-libs (3.2.0-r0) 15:54:35 (10/73) Installing alsa-lib (1.2.5.1-r1) 15:54:35 (11/73) Installing expat (2.4.7-r0) 15:54:35 (12/73) Installing brotli-libs (1.0.9-r5) 15:54:35 (13/73) Installing libbz2 (1.0.8-r1) 15:54:35 (14/73) Installing libpng (1.6.37-r1) 15:54:35 (15/73) Installing freetype (2.11.1-r2) 15:54:35 (16/73) Installing libuuid (2.37.4-r0) 15:54:35 (17/73) Installing fontconfig (2.13.1-r4) 15:54:35 (18/73) Installing fribidi (1.0.11-r0) 15:54:35 (19/73) Installing libffi (3.4.2-r1) 15:54:35 (20/73) Installing libintl (0.21-r0) 15:54:35 (21/73) Installing libblkid (2.37.4-r0) 15:54:35 (22/73) Installing libmount (2.37.4-r0) 15:54:35 (23/73) Installing pcre (8.45-r1) 15:54:35 (24/73) Installing glib (2.70.1-r0) 15:54:35 (25/73) Installing graphite2 (1.3.14-r0) 15:54:35 (26/73) Installing harfbuzz (3.0.0-r2) 15:54:35 (27/73) Installing libass (0.15.2-r0) 15:54:35 (28/73) Installing libdav1d (0.9.2-r0) 15:54:35 (29/73) Installing gmp (6.2.1-r1) 15:54:35 (30/73) Installing nettle (3.7.3-r0) 15:54:35 (31/73) Installing p11-kit (0.24.0-r1) 15:54:35 (32/73) Installing libtasn1 (4.18.0-r0) 15:54:35 (33/73) Installing libunistring (0.9.10-r1) 15:54:36 (34/73) Installing gnutls (3.7.1-r0) 15:54:36 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 15:54:36 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 15:54:36 (37/73) Installing lame (3.100-r0) 15:54:36 (38/73) Installing opus (1.3.1-r1) 15:54:36 (39/73) Installing libgomp (10.3.1_git20211027-r0) 15:54:36 (40/73) Installing soxr (0.1.3-r2) 15:54:36 (41/73) Installing libgcc (10.3.1_git20211027-r0) 15:54:36 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 15:54:36 (43/73) Installing libsrt (1.4.2-r1) 15:54:36 (44/73) Installing libssh (0.9.6-r1) 15:54:36 (45/73) Installing libogg (1.3.5-r0) 15:54:36 (46/73) Installing libtheora (1.1.1-r16) 15:54:36 (47/73) Installing libjpeg-turbo (2.1.2-r0) 15:54:36 (48/73) Installing v4l-utils-libs (1.22.1-r1) 15:54:36 (49/73) Installing libxext (1.3.4-r0) 15:54:36 (50/73) Installing libxfixes (6.0.0-r0) 15:54:36 (51/73) Installing libdrm (2.4.109-r0) 15:54:36 (52/73) Installing wayland-libs-client (1.19.0-r1) 15:54:36 (53/73) Installing libva (2.13.0-r0) 15:54:36 (54/73) Installing libvdpau (1.4-r0) 15:54:36 (55/73) Installing vidstab (1.1.0-r1) 15:54:36 (56/73) Installing libvorbis (1.3.7-r0) 15:54:36 (57/73) Installing libvpx (1.10.0-r0) 15:54:36 (58/73) Installing vulkan-loader (1.2.196-r0) 15:54:36 (59/73) Installing libwebp (1.2.2-r0) 15:54:36 (60/73) Installing x264-libs (20210613-r0) 15:54:36 (61/73) Installing x265-libs (3.5-r0) 15:54:36 (62/73) Installing xvidcore (1.3.7-r1) 15:54:36 (63/73) Installing ffmpeg-libs (4.4.1-r2) 15:54:36 (64/73) Installing ffmpeg (4.4.1-r2) 15:54:36 (65/73) Installing udev-init-scripts (35-r0) 15:54:36 Executing udev-init-scripts-35-r0.post-install 15:54:36 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 15:54:36 (67/73) Installing xz-libs (5.2.5-r1) 15:54:36 (68/73) Installing zstd-libs (1.5.0-r0) 15:54:36 (69/73) Installing kmod-libs (29-r2) 15:54:37 (70/73) Installing eudev (3.2.11_pre1-r0) 15:54:37 (71/73) Installing libsodium (1.0.18-r0) 15:54:37 (72/73) Installing libzmq (4.3.4-r0) 15:54:37 (73/73) Installing zeromq (4.3.4-r0) 15:54:37 Executing busybox-1.34.1-r5.trigger 15:54:37 Executing eudev-3.2.11_pre1-r0.trigger 15:54:37 OK: 67 MiB in 87 packages 15:54:40 Removing intermediate container 6738a9fc6664 15:54:40 ---> 67d2be68cda7 15:54:40 Step 17/29 : WORKDIR / 15:54:40 ---> Running in 5fb8c2e7b468 15:54:40 Removing intermediate container 5fb8c2e7b468 15:54:40 ---> a5c017ba2fa2 15:54:40 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 15:54:42 ---> eb76b3ee9826 15:54:42 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 15:54:42 ---> 3d6fd8d156c8 15:54:42 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:54:42 ---> 5c7e596a38d1 15:54:42 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:54:43 ---> ef996aafeb06 15:54:43 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 15:54:44 ---> 9facd8af2110 15:54:44 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 15:54:45 ---> 7e5ad8cced14 15:54:45 Step 24/29 : EXPOSE 59983 15:54:45 ---> Running in 043c7008a062 15:54:45 Removing intermediate container 043c7008a062 15:54:45 ---> 9b4e6eb97434 15:54:45 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:54:45 ---> Running in b55bc783c26c 15:54:45 Removing intermediate container b55bc783c26c 15:54:45 ---> a7388d7fe2bc 15:54:45 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 15:54:45 ---> Running in a1e0976ed850 15:54:46 Removing intermediate container a1e0976ed850 15:54:46 ---> acb5aa949720 15:54:46 Step 27/29 : LABEL arch=arm64 15:54:46 ---> Running in c29edd09a773 15:54:46 Removing intermediate container c29edd09a773 15:54:46 ---> 7d4c85773d1d 15:54:46 Step 28/29 : LABEL git_sha=4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:54:46 ---> Running in 0ccee629296b 15:54:46 Removing intermediate container 0ccee629296b 15:54:46 ---> b07801d4c68c 15:54:46 Step 29/29 : LABEL version=0.0.1-dev.4 15:54:46 ---> Running in 65474ffef5b1 15:54:47 Removing intermediate container 65474ffef5b1 15:54:47 ---> e7bf56e5401c 15:54:47 [Warning] One or more build-args [ARCH] were not consumed 15:54:47 Successfully built e7bf56e5401c 15:54:47 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 15:54:47 provisioning config files... 15:54:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/15@tmp/config3912861512424769201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:47 ---> docker-login.sh 15:54:47 nexus3.edgexfoundry.org:10001 15:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:47 Configure a credential helper to remove this warning. See 15:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:47 15:54:47 Login Succeeded 15:54:47 nexus3.edgexfoundry.org:10002 15:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:48 Configure a credential helper to remove this warning. See 15:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:48 15:54:48 Login Succeeded 15:54:48 nexus3.edgexfoundry.org:10003 15:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:48 Configure a credential helper to remove this warning. See 15:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:48 15:54:48 Login Succeeded 15:54:48 nexus3.edgexfoundry.org:10004 15:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:49 Configure a credential helper to remove this warning. See 15:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:49 15:54:49 Login Succeeded 15:54:49 docker.io 15:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:49 Configure a credential helper to remove this warning. See 15:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:49 15:54:49 Login Succeeded 15:54:49 ---> docker-login.sh ends [Pipeline] } 15:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:50 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 15:54:50 4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:54:50 latest 15:54:50 0.0.1-dev.4 15:54:50 4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:54:50 main 15:54:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:50 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] isUnix [Pipeline] sh 15:54:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:54:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:54:50 a43932d1df72: Preparing 15:54:50 1207169bf42c: Preparing 15:54:50 2ec39d5d467c: Preparing 15:54:50 aa42e7a87915: Preparing 15:54:50 ba0c2f6fa86a: Preparing 15:54:50 ff4008b79b53: Preparing 15:54:50 cd4250f4d6f6: Preparing 15:54:50 4f4ce317c6bb: Preparing 15:54:50 ff4008b79b53: Waiting 15:54:50 cd4250f4d6f6: Waiting 15:54:50 4f4ce317c6bb: Waiting 15:54:51 ba0c2f6fa86a: Pushed 15:54:51 1207169bf42c: Pushed 15:54:51 2ec39d5d467c: Pushed 15:54:51 aa42e7a87915: Pushed 15:54:51 4f4ce317c6bb: Layer already exists 15:54:55 a43932d1df72: Pushed 15:54:57 ff4008b79b53: Pushed 15:55:04 cd4250f4d6f6: Pushed 15:55:04 4fe761a4bddde7a33328861bc9f22f27160dbe6b: digest: sha256:5beaebf5fd7a4bfe6ea4ccc1b8d9a569aee4f522a226b9c2603877a4ed1b15ea size: 1994 [Pipeline] isUnix [Pipeline] sh 15:55:04 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:55:04 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:55:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:04 a43932d1df72: Preparing 15:55:04 1207169bf42c: Preparing 15:55:04 2ec39d5d467c: Preparing 15:55:04 aa42e7a87915: Preparing 15:55:04 ba0c2f6fa86a: Preparing 15:55:04 ff4008b79b53: Preparing 15:55:04 cd4250f4d6f6: Preparing 15:55:04 4f4ce317c6bb: Preparing 15:55:04 ff4008b79b53: Waiting 15:55:04 cd4250f4d6f6: Waiting 15:55:04 4f4ce317c6bb: Waiting 15:55:04 ba0c2f6fa86a: Layer already exists 15:55:04 a43932d1df72: Layer already exists 15:55:04 1207169bf42c: Layer already exists 15:55:04 aa42e7a87915: Layer already exists 15:55:04 2ec39d5d467c: Layer already exists 15:55:04 ff4008b79b53: Layer already exists 15:55:04 cd4250f4d6f6: Layer already exists 15:55:04 4f4ce317c6bb: Layer already exists 15:55:04 latest: digest: sha256:5beaebf5fd7a4bfe6ea4ccc1b8d9a569aee4f522a226b9c2603877a4ed1b15ea size: 1994 [Pipeline] isUnix [Pipeline] sh 15:55:05 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 15:55:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.4 15:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:05 a43932d1df72: Preparing 15:55:05 1207169bf42c: Preparing 15:55:05 2ec39d5d467c: Preparing 15:55:05 aa42e7a87915: Preparing 15:55:05 ba0c2f6fa86a: Preparing 15:55:05 ff4008b79b53: Preparing 15:55:05 cd4250f4d6f6: Preparing 15:55:05 4f4ce317c6bb: Preparing 15:55:05 cd4250f4d6f6: Waiting 15:55:05 4f4ce317c6bb: Waiting 15:55:05 ff4008b79b53: Waiting 15:55:05 1207169bf42c: Layer already exists 15:55:05 ba0c2f6fa86a: Layer already exists 15:55:05 a43932d1df72: Layer already exists 15:55:05 2ec39d5d467c: Layer already exists 15:55:05 cd4250f4d6f6: Layer already exists 15:55:05 aa42e7a87915: Layer already exists 15:55:05 ff4008b79b53: Layer already exists 15:55:05 4f4ce317c6bb: Layer already exists 15:55:05 0.0.1-dev.4: digest: sha256:5beaebf5fd7a4bfe6ea4ccc1b8d9a569aee4f522a226b9c2603877a4ed1b15ea size: 1994 [Pipeline] isUnix [Pipeline] sh 15:55:06 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 [Pipeline] isUnix [Pipeline] sh 15:55:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:55:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:06 a43932d1df72: Preparing 15:55:06 1207169bf42c: Preparing 15:55:06 2ec39d5d467c: Preparing 15:55:06 aa42e7a87915: Preparing 15:55:06 ba0c2f6fa86a: Preparing 15:55:06 ff4008b79b53: Preparing 15:55:06 cd4250f4d6f6: Preparing 15:55:06 4f4ce317c6bb: Preparing 15:55:06 cd4250f4d6f6: Waiting 15:55:06 4f4ce317c6bb: Waiting 15:55:06 ff4008b79b53: Waiting 15:55:06 aa42e7a87915: Layer already exists 15:55:06 2ec39d5d467c: Layer already exists 15:55:06 a43932d1df72: Layer already exists 15:55:06 ba0c2f6fa86a: Layer already exists 15:55:06 1207169bf42c: Layer already exists 15:55:06 cd4250f4d6f6: Layer already exists 15:55:06 ff4008b79b53: Layer already exists 15:55:06 4f4ce317c6bb: Layer already exists 15:55:06 4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4: digest: sha256:5beaebf5fd7a4bfe6ea4ccc1b8d9a569aee4f522a226b9c2603877a4ed1b15ea size: 1994 [Pipeline] isUnix [Pipeline] sh 15:55:07 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 15:55:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 15:55:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:07 a43932d1df72: Preparing 15:55:07 1207169bf42c: Preparing 15:55:07 2ec39d5d467c: Preparing 15:55:07 aa42e7a87915: Preparing 15:55:07 ba0c2f6fa86a: Preparing 15:55:07 ff4008b79b53: Preparing 15:55:07 cd4250f4d6f6: Preparing 15:55:07 4f4ce317c6bb: Preparing 15:55:07 ff4008b79b53: Waiting 15:55:07 cd4250f4d6f6: Waiting 15:55:07 4f4ce317c6bb: Waiting 15:55:07 aa42e7a87915: Layer already exists 15:55:07 2ec39d5d467c: Layer already exists 15:55:07 ba0c2f6fa86a: Layer already exists 15:55:07 1207169bf42c: Layer already exists 15:55:07 a43932d1df72: Layer already exists 15:55:07 4f4ce317c6bb: Layer already exists 15:55:07 cd4250f4d6f6: Layer already exists 15:55:07 ff4008b79b53: Layer already exists 15:55:07 main: digest: sha256:5beaebf5fd7a4bfe6ea4ccc1b8d9a569aee4f522a226b9c2603877a4ed1b15ea size: 1994 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:08 ===================================================== [Pipeline] echo 15:55:08 taggedImages: 15:55:08 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b 15:55:08 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:55:08 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.1-dev.4 15:55:08 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:4fe761a4bddde7a33328861bc9f22f27160dbe6b-0.0.1-dev.4 15:55:08 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:08 15:55:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:55:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:08 arm64: Pulling from edgex-lftools-log-publisher 15:55:09 8998bd30e6a1: Pulling fs layer 15:55:09 04944245beec: Pulling fs layer 15:55:09 699f458cf7ca: Pulling fs layer 15:55:09 765212b225bb: Pulling fs layer 15:55:09 f23df028b6ca: Pulling fs layer 15:55:09 d65c8cfc05b1: Pulling fs layer 15:55:09 2437ff75d9bd: Pulling fs layer 15:55:09 765212b225bb: Waiting 15:55:09 f23df028b6ca: Waiting 15:55:09 d65c8cfc05b1: Waiting 15:55:09 2437ff75d9bd: Waiting 15:55:09 04944245beec: Verifying Checksum 15:55:09 04944245beec: Download complete 15:55:09 765212b225bb: Verifying Checksum 15:55:09 765212b225bb: Download complete 15:55:09 f23df028b6ca: Verifying Checksum 15:55:09 f23df028b6ca: Download complete 15:55:09 d65c8cfc05b1: Verifying Checksum 15:55:09 d65c8cfc05b1: Download complete 15:55:09 699f458cf7ca: Verifying Checksum 15:55:09 699f458cf7ca: Download complete 15:55:09 8998bd30e6a1: Verifying Checksum 15:55:09 8998bd30e6a1: Download complete 15:55:12 2437ff75d9bd: Verifying Checksum 15:55:12 2437ff75d9bd: Download complete 15:55:13 8998bd30e6a1: Pull complete 15:55:14 04944245beec: Pull complete 15:55:15 699f458cf7ca: Pull complete 15:55:15 765212b225bb: Pull complete 15:55:16 f23df028b6ca: Pull complete 15:55:16 d65c8cfc05b1: Pull complete 15:55:32 2437ff75d9bd: Pull complete 15:55:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:55:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:55:32 prd-ubuntu20.04-docker-arm64-4c-16g-64495 does not seem to be running inside a container 15:55:32 $ 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/15 -v /w/workspace/device-usb-camera/15:/w/workspace/device-usb-camera/15:rw,z -v /w/workspace/device-usb-camera/15@tmp:/w/workspace/device-usb-camera/15@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:arm64 cat 15:55:34 $ docker top 6d98f63e1bb2bf8354366de4a05da45ed030dd42d69b1c7d7c98bbf17d2c2d3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:35 ---> job-cost.sh 15:55:35 lf-activate-venv: SKIPPING 15:55:35 INFO: No Stack... 15:55:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:55:37 INFO: Archiving Costs [Pipeline] sh 15:55:38 + cut+ -d, -f6 15:55:38 cat /w/workspace/device-usb-camera/15/archives/cost.csv [Pipeline] lock 15:55:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] 15:55:38 Resource [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] did not exist. Created. 15:55:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:38 /w/workspace/device-usb-camera/15@tmp/durable-e6a9a54a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:55:39 + echo total: 0.10999999940395355 [Pipeline] stash 15:55:39 Warning: overwriting stash ‘stack-cost’ 15:55:39 Stashed 1 file(s) [Pipeline] } 15:55:39 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-15-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:39 $ docker stop --time=1 6d98f63e1bb2bf8354366de4a05da45ed030dd42d69b1c7d7c98bbf17d2c2d3d 15:55:41 $ docker rm -f 6d98f63e1bb2bf8354366de4a05da45ed030dd42d69b1c7d7c98bbf17d2c2d3d [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 15:55:41 provisioning config files... 15:55:41 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7271352101611753694tmp [Pipeline] { [Pipeline] sh 15:55:41 + set +x 15:55:41 + curl -s https://codecov.io/bash 15:55:41 + bash -s -- 15:55:41 15:55:41 _____ _ 15:55:41 / ____| | | 15:55:41 | | ___ __| | ___ ___ _____ __ 15:55:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:55:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:55:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:55:41 Bash-1.0.6 15:55:41 15:55:41 15:55:41 ==> git version 2.25.1 found 15:55:41 ==> 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 15:55:41 Release-Date: 2020-01-08 15:55:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:55:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:55:41 ==> Jenkins CI detected. 15:55:41 current dir:  /w/workspace/exfoundry_device-usb-camera_main 15:55:41 project root: . 15:55:41 --> token set from env 15:55:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:55:41 ==> Running gcov in . (disable via -X gcov) 15:55:41 ==> Python coveragepy not found 15:55:41 ==> Searching for coverage reports in: 15:55:41 + . 15:55:41 -> Found 1 reports 15:55:41 ==> Detecting git/mercurial file structure 15:55:41 ==> Reading reports 15:55:41 + ./coverage.out bytes=10 15:55:41 ==> Appending adjustments 15:55:41 https://docs.codecov.io/docs/fixing-reports 15:55:41 + Found adjustments 15:55:42 ==> Gzipping contents 15:55:42 4.0K /tmp/codecov.KIx08i.gz 15:55:42 ==> Uploading reports 15:55:42 url: https://codecov.io 15:55:42 query: branch=main&commit=4fe761a4bddde7a33328861bc9f22f27160dbe6b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:55:42 -> Pinging Codecov 15:55:42 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=4fe761a4bddde7a33328861bc9f22f27160dbe6b&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:55:42 -> Uploading to 15:55:42 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/73D8F5FF140700D3E01443B452E23636/4fe761a4bddde7a33328861bc9f22f27160dbe6b/b7f0eddf-0ebf-416e-a4dc-2ad4721a276c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T155542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6eb137d684368352aa58326f33b36d3018fff624c41707012378273a1de7b7e 15:55:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:42 Dload Upload Total Spent Left Speed 15:55:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1007 0 0 100 1007 0 4727 --:--:-- --:--:-- --:--:-- 4727 15:55:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] } 15:55:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:55:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:55:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:55:43 15:55:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:55:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:55:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:55:43 188c0c94c7c5: Pulling fs layer 15:55:43 0ef7d3d256c8: Pulling fs layer 15:55:43 de9db76c5a1d: Pulling fs layer 15:55:43 0eba1c9be4d2: Pulling fs layer 15:55:43 0d57e429df01: Pulling fs layer 15:55:43 4e4be7b47b0d: Pulling fs layer 15:55:43 e1f770b5df2f: Pulling fs layer 15:55:43 85a0685a4137: Pulling fs layer 15:55:43 4e4be7b47b0d: Waiting 15:55:43 e1f770b5df2f: Waiting 15:55:43 85a0685a4137: Waiting 15:55:43 0eba1c9be4d2: Waiting 15:55:43 de9db76c5a1d: Download complete 15:55:43 0ef7d3d256c8: Download complete 15:55:43 0d57e429df01: Download complete 15:55:43 4e4be7b47b0d: Download complete 15:55:43 188c0c94c7c5: Download complete 15:55:43 188c0c94c7c5: Pull complete 15:55:43 e1f770b5df2f: Verifying Checksum 15:55:43 e1f770b5df2f: Download complete 15:55:43 0ef7d3d256c8: Pull complete 15:55:43 de9db76c5a1d: Pull complete 15:55:44 0eba1c9be4d2: Verifying Checksum 15:55:44 0eba1c9be4d2: Download complete 15:55:44 85a0685a4137: Verifying Checksum 15:55:44 85a0685a4137: Download complete 15:55:47 0eba1c9be4d2: Pull complete 15:55:47 0d57e429df01: Pull complete 15:55:47 4e4be7b47b0d: Pull complete 15:55:48 e1f770b5df2f: Pull complete 15:55:51 85a0685a4137: Pull complete 15:55:51 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:55:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:55:51 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:55:51 $ 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 15:55:53 $ docker top 17960b4aa5b413413295a706711adab63472c74e627e777853b16c4aaa030ff3 -eo pid,comm [Pipeline] { [Pipeline] echo 15:55:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:55:54 + set -o pipefail 15:55:54 + snyk monitor '--org=edgex-jenkins' 15:55:59 15:55:59 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 15:55:59 15:55:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0704d385-d3ec-41e9-ab35-6ec0fee52da4/history/b01a3bc5-68a5-47d1-a78d-240892a7afa6 15:55:59 15:55:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:55:59 15:56:00 [Pipeline] } 15:56:00 $ docker stop --time=1 17960b4aa5b413413295a706711adab63472c74e627e777853b16c4aaa030ff3 15:56:02 $ docker rm -f 17960b4aa5b413413295a706711adab63472c74e627e777853b16c4aaa030ff3 [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 15:56:03 + git log --format=format:%s -1 4fe761a4bddde7a33328861bc9f22f27160dbe6b [Pipeline] sh 15:56:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:56:03 . [Pipeline] withDockerContainer 15:56:03 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:56:03 $ 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 15:56:04 $ docker top 6dcc49b70e24595ed42a5ead5786b46e1b0f08905503378d9185ec83f96a818e -eo pid,comm 15:56:04 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). 15:56:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:04 [ssh-agent] Looking for ssh-agent implementation... 15:56:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:04 $ docker exec 6dcc49b70e24595ed42a5ead5786b46e1b0f08905503378d9185ec83f96a818e ssh-agent 15:56:04 SSH_AUTH_SOCK=/tmp/ssh-nL9UoawSrUGu/agent.32 15:56:04 SSH_AGENT_PID=38 15:56:04 Running ssh-add (command line suppressed) 15:56:04 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3094139103012237486.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3094139103012237486.key) 15:56:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:05 + git semver tag 15:56:05 2022-05-24 15:56:05,479 [run_tag] DEBUG tag force:False 15:56:05 2022-05-24 15:56:05,479 [check_head_tag] DEBUG check head tag 15:56:05 2022-05-24 15:56:05,480 [execute] INFO git cat-file --batch-check 15:56:05 2022-05-24 15:56:05,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:56:05 2022-05-24 15:56:05,483 [execute] INFO git cat-file --batch 15:56:05 2022-05-24 15:56:05,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:56:05 2022-05-24 15:56:05,490 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:05 2022-05-24 15:56:05,490 [execute] INFO git tag -a v0.0.1-dev.4 -m v0.0.1-dev.4 15:56:05 2022-05-24 15:56:05,490 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.4', '-m', 'v0.0.1-dev.4'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 15:56:05 2022-05-24 15:56:05,495 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:05 0.0.1-dev.4 [Pipeline] } 15:56:05 $ docker exec --env ******** --env ******** 6dcc49b70e24595ed42a5ead5786b46e1b0f08905503378d9185ec83f96a818e ssh-agent -k 15:56:05 unset SSH_AUTH_SOCK; 15:56:05 unset SSH_AGENT_PID; 15:56:05 echo Agent pid 38 killed; 15:56:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:05 + git semver [Pipeline] } 15:56:06 $ docker stop --time=1 6dcc49b70e24595ed42a5ead5786b46e1b0f08905503378d9185ec83f96a818e 15:56:07 $ docker rm -f 6dcc49b70e24595ed42a5ead5786b46e1b0f08905503378d9185ec83f96a818e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:07 15:56:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:08 0.23.1-centos7: Pulling from edgex-lftools 15:56:08 ab5ef0e58194: Pulling fs layer 15:56:08 9712f1f96733: Pulling fs layer 15:56:08 63f879dbbcfc: Pulling fs layer 15:56:08 0d9ebad4ef96: Pulling fs layer 15:56:08 e9a5061849ea: Pulling fs layer 15:56:08 d747dcd14b5f: Pulling fs layer 15:56:08 2de7ff778b66: Pulling fs layer 15:56:08 0d9ebad4ef96: Waiting 15:56:08 e9a5061849ea: Waiting 15:56:08 d747dcd14b5f: Waiting 15:56:08 2de7ff778b66: Waiting 15:56:08 9712f1f96733: Verifying Checksum 15:56:08 9712f1f96733: Download complete 15:56:08 63f879dbbcfc: Verifying Checksum 15:56:08 63f879dbbcfc: Download complete 15:56:08 0d9ebad4ef96: Verifying Checksum 15:56:08 0d9ebad4ef96: Download complete 15:56:08 e9a5061849ea: Verifying Checksum 15:56:08 e9a5061849ea: Download complete 15:56:08 d747dcd14b5f: Download complete 15:56:08 ab5ef0e58194: Verifying Checksum 15:56:08 ab5ef0e58194: Download complete 15:56:08 2de7ff778b66: Verifying Checksum 15:56:08 2de7ff778b66: Download complete 15:56:11 ab5ef0e58194: Pull complete 15:56:11 9712f1f96733: Pull complete 15:56:12 63f879dbbcfc: Pull complete 15:56:15 0d9ebad4ef96: Pull complete 15:56:15 e9a5061849ea: Pull complete 15:56:15 d747dcd14b5f: Pull complete 15:56:17 2de7ff778b66: Pull complete 15:56:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:56:17 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:56:17 $ 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 15:56:19 $ docker top 8428a4698b7963b201307550340b38699e5ec672aaef50cde8d4096941e62d2b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:56:19 provisioning config files... 15:56:19 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4122661779635896928tmp 15:56:19 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4975715221414906937tmp 15:56:19 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1996578317269549175tmp [Pipeline] { [Pipeline] echo 15:56:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:56:19 ---> sigul-configuration.sh 15:56:19 gpg: directory `/root/.gnupg' created 15:56:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:56:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:56:19 gpg: keyring `/root/.gnupg/secring.gpg' created 15:56:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:56:19 gpg: CAST5 encrypted data 15:56:19 gpg: encrypted with 1 passphrase 15:56:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:56:20 + mkdir /home/jenkins 15:56:20 + mkdir /home/jenkins/sigul [Pipeline] sh 15:56:20 + 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 15:56:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:56:20 ---> sigul-install.sh 15:56:20 Sigul already installed; skipping installation. [Pipeline] sh 15:56:20 + git tag --list 15:56:20 v0.0.0 15:56:20 v0.0.1-dev.1 15:56:20 v0.0.1-dev.2 15:56:20 v0.0.1-dev.3 15:56:20 v0.0.1-dev.4 [Pipeline] sh 15:56:21 + lftools sign git-tag v0.0.1-dev.4 15:56:21 Signing Git tag with Sigul... 15:56:21 Signing v0.0.1-dev.4 [Pipeline] echo 15:56:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:56:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:56:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:56:22 $ docker stop --time=1 8428a4698b7963b201307550340b38699e5ec672aaef50cde8d4096941e62d2b 15:56:23 $ docker rm -f 8428a4698b7963b201307550340b38699e5ec672aaef50cde8d4096941e62d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:56:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:56:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:56:24 . [Pipeline] withDockerContainer 15:56:24 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:56: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 15:56:24 $ docker top 03a109fb5ccbfb5c1faf98aa9e549d1ec4c04293925812ced785d2421615e956 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:25 [ssh-agent] Looking for ssh-agent implementation... 15:56:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:25 $ docker exec 03a109fb5ccbfb5c1faf98aa9e549d1ec4c04293925812ced785d2421615e956 ssh-agent 15:56:25 SSH_AUTH_SOCK=/tmp/ssh-caSzVExaOHZ8/agent.33 15:56:25 SSH_AGENT_PID=39 15:56:25 Running ssh-add (command line suppressed) 15:56:25 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1429616938824428462.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_1429616938824428462.key) 15:56:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:25 + git semver bump pre 15:56:26 2022-05-24 15:56:25,895 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:26 2022-05-24 15:56:25,895 [bump_version] DEBUG bumping version:0.0.1-dev.4 on axis:pre with prefix:dev 15:56:26 2022-05-24 15:56:25,895 [bump_version] DEBUG bumped version:0.0.1-dev.5 15:56:26 2022-05-24 15:56:25,895 [write_version] DEBUG write version:0.0.1-dev.5 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 15:56:26 2022-05-24 15:56:25,895 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:26 2022-05-24 15:56:25,895 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:26 2022-05-24 15:56:25,898 [execute] INFO git cat-file --batch-check 15:56:26 2022-05-24 15:56:25,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:56:26 2022-05-24 15:56:25,904 [execute] INFO git cat-file --batch 15:56:26 2022-05-24 15:56:25,904 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:56:26 2022-05-24 15:56:25,910 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:26 0.0.1-dev.5 [Pipeline] } 15:56:26 $ docker exec --env ******** --env ******** 03a109fb5ccbfb5c1faf98aa9e549d1ec4c04293925812ced785d2421615e956 ssh-agent -k 15:56:26 unset SSH_AUTH_SOCK; 15:56:26 unset SSH_AGENT_PID; 15:56:26 echo Agent pid 39 killed; 15:56:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:26 + git semver [Pipeline] } 15:56:26 $ docker stop --time=1 03a109fb5ccbfb5c1faf98aa9e549d1ec4c04293925812ced785d2421615e956 15:56:28 $ docker rm -f 03a109fb5ccbfb5c1faf98aa9e549d1ec4c04293925812ced785d2421615e956 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:56:28 . [Pipeline] withDockerContainer 15:56:28 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:56:28 $ 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 15:56:29 $ docker top 98066a40678ea4ed8a2cda2b205018f956b2d77272509196bae5dfcb90a8e14b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:29 [ssh-agent] Looking for ssh-agent implementation... 15:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:29 $ docker exec 98066a40678ea4ed8a2cda2b205018f956b2d77272509196bae5dfcb90a8e14b ssh-agent 15:56:29 SSH_AUTH_SOCK=/tmp/ssh-VnxpWnhqCVoa/agent.32 15:56:29 SSH_AGENT_PID=39 15:56:29 Running ssh-add (command line suppressed) 15:56:29 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_944081155720821019.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_944081155720821019.key) 15:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:29 + git semver push 15:56:30 2022-05-24 15:56:30,231 [run_push] DEBUG push 15:56:30 2022-05-24 15:56:30,231 [execute] INFO git push origin semver 15:56:30 2022-05-24 15:56:30,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:56:31 2022-05-24 15:56:30,901 [run_push] DEBUG push all version tags 15:56:31 2022-05-24 15:56:30,902 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:56:31 2022-05-24 15:56:30,903 [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) 15:56:31 2022-05-24 15:56:31,544 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:56:31 0.0.1-dev.5 [Pipeline] } 15:56:31 $ docker exec --env ******** --env ******** 98066a40678ea4ed8a2cda2b205018f956b2d77272509196bae5dfcb90a8e14b ssh-agent -k 15:56:31 unset SSH_AUTH_SOCK; 15:56:31 unset SSH_AGENT_PID; 15:56:31 echo Agent pid 39 killed; 15:56:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:32 + git semver [Pipeline] } 15:56:32 $ docker stop --time=1 98066a40678ea4ed8a2cda2b205018f956b2d77272509196bae5dfcb90a8e14b 15:56:33 $ docker rm -f 98066a40678ea4ed8a2cda2b205018f956b2d77272509196bae5dfcb90a8e14b [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 15:56:34 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 15:56:34 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:56:34 total 16 15:56:34 drwxr-xr-x 3 root root 4096 May 24 15:46 . 15:56:34 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:56 .. 15:56:34 drwxr-xr-x 2 root root 4096 May 24 15:46 cost 15:56:34 -rw-r--r-- 1 root root 87 May 24 15:46 cost.csv 15:56:34 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 15:56:34 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:56:34 total 16 15:56:34 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:46 . 15:56:34 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:56 .. 15:56:34 drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:46 cost 15:56:34 -rw-r--r-- 1 jenkins jenkins 87 May 24 15:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:56:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:56:35 ---> package-listing.sh 15:56:35 ++ facter osfamily 15:56:35 ++ tr '[:upper:]' '[:lower:]' 15:56:35 + OS_FAMILY=debian 15:56:35 + workspace=/w/workspace/exfoundry_device-usb-camera_main 15:56:35 + START_PACKAGES=/tmp/packages_start.txt 15:56:35 + END_PACKAGES=/tmp/packages_end.txt 15:56:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:56:35 + PACKAGES=/tmp/packages_start.txt 15:56:35 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:56:35 + PACKAGES=/tmp/packages_end.txt 15:56:35 + case "${OS_FAMILY}" in 15:56:35 + dpkg -l 15:56:35 + grep '^ii' 15:56:35 + '[' -f /tmp/packages_start.txt ']' 15:56:35 + '[' -f /tmp/packages_end.txt ']' 15:56:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:56:35 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:56:35 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 15:56:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 15:56:35 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 15:56:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:36 . [Pipeline] withDockerContainer 15:56:36 prd-ubuntu20.04-docker-8c-8g-64492 does not seem to be running inside a container 15:56:36 $ 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 15:56:37 $ docker top c53fa33909164047270aa019561efeb2067ecd29b838a25893d3c9f29b64ccd6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:37 + touch /tmp/pre-build-complete [Pipeline] sh 15:56:37 + mkdir -p /var/log/sysstat [Pipeline] sh 15:56:38 + ls /var/log/sa-host 15:56:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:38 provisioning config files... 15:56:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2044178191651997181tmp [Pipeline] { [Pipeline] echo 15:56:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:56:38 ---> create-netrc.sh [Pipeline] } 15:56:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:56:38 ---> python-tools-install.sh [Pipeline] echo 15:56:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:56:39 ---> sudo-logs.sh 15:56:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:56:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:56:39 ---> job-cost.sh 15:56:39 lf-activate-venv: SKIPPING 15:56:39 DEBUG: total: 0.2199999988079071 15:56:39 INFO: Retrieving Stack Cost... 15:56:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:56:40 INFO: Archiving Costs [Pipeline] echo 15:56:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:56:40 ---> logs-deploy.sh 15:56:40 lf-activate-venv: SKIPPING 15:56:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/15 15:56:40 INFO: archiving workspace using pattern(s): 15:56:41 Archives upload complete. 15:56:41 INFO: archiving logs to Nexus