Started by user Eric Ball Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84b3359fcb453f79206b07ec4bf8f15846aef2e0 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-ssh10814558913474976352.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-ssh6910027713309681663.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-onvif-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-onvif-camera/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10465267548439403264.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-ssh12916548624445348637.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-onvif-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-onvif-camera/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4944066451594471176.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-onvif-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-onvif-camera-settings PROJECT: device-onvif-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-onvif-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-64065’ Running on prd-ubuntu20.04-docker-8c-8g-64071 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 84b3359fcb453f79206b07ec4bf8f15846aef2e0 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-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 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 Commit message: "Merge pull request #61 from edgexfoundry-holding/issue-56" > git rev-list --no-walk 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:16:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:16:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:16:18 ========================================================= 02:16:18 EdgeX Global Pipelines Version Info 02:16:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:16:19 ------------------- 02:16:19 stable info: 02:16:19 ------------------- 02:16:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:16:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:16:19 Message: update stable to v1.0.230 02:16:19 ------------------- 02:16:19 experimental info: 02:16:19 ------------------- 02:16:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:16:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:16:19 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:16:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84b3359 [Pipeline] echo 02:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:20 provisioning config files... 02:16:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4700100184249936571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:20 ---> docker-login.sh 02:16:20 nexus3.edgexfoundry.org:10001 02:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:21 Configure a credential helper to remove this warning. See 02:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:21 02:16:21 Login Succeeded 02:16:21 nexus3.edgexfoundry.org:10002 02:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:21 Configure a credential helper to remove this warning. See 02:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:21 02:16:21 Login Succeeded 02:16:21 nexus3.edgexfoundry.org:10003 02:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:21 Configure a credential helper to remove this warning. See 02:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:21 02:16:21 Login Succeeded 02:16:21 nexus3.edgexfoundry.org:10004 02:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:21 Configure a credential helper to remove this warning. See 02:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:21 02:16:21 Login Succeeded 02:16:21 docker.io 02:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:22 Configure a credential helper to remove this warning. See 02:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:22 02:16:22 Login Succeeded 02:16:22 ---> docker-login.sh ends [Pipeline] } 02:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:16:22 + git rev-list -1 --merges 84b3359fcb453f79206b07ec4bf8f15846aef2e0~1..84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo 02:16:22 -----------> git rev-list -1 --merges 84b3359fcb453f79206b07ec4bf8f15846aef2e0~1..84b3359fcb453f79206b07ec4bf8f15846aef2e0 84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:16:22 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [false] [Pipeline] sh 02:16:23 + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo 02:16:23 ========================================================= 02:16:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:16:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:16:23 + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo 02:16:23 [semverPrep] GIT_COMMIT: 84b3359fcb453f79206b07ec4bf8f15846aef2e0, Commit Message: Merge pull request #61 from edgexfoundry-holding/issue-56 [Pipeline] echo 02:16:23 [semverPrep] This is not a build commit. [Pipeline] sh 02:16:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:16:23 + grep -v github /etc/ssh/ssh_known_hosts 02:16:23 + [ -e /tmp/ssh_known_hosts ] 02:16:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:16:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:16:23 + sudo tee -a /etc/ssh/ssh_known_hosts 02:16:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:24 02:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:24 latest: Pulling from edgex-devops/py-git-semver 02:16:24 1fe172e4850f: Pulling fs layer 02:16:24 caf521ccaac6: Pulling fs layer 02:16:24 3ead6fa29328: Pulling fs layer 02:16:24 5c2a1cbceb83: Pulling fs layer 02:16:24 a8d5f1318db7: Pulling fs layer 02:16:24 c427282e49a2: Pulling fs layer 02:16:24 1827001aaf11: Pulling fs layer 02:16:24 0714d37db230: Pulling fs layer 02:16:24 ac28cf19c067: Pulling fs layer 02:16:24 ca983d60f3e2: Pulling fs layer 02:16:24 9f894cec8388: Pulling fs layer 02:16:24 5c2a1cbceb83: Waiting 02:16:24 a8d5f1318db7: Waiting 02:16:24 c427282e49a2: Waiting 02:16:24 1827001aaf11: Waiting 02:16:24 0714d37db230: Waiting 02:16:24 ac28cf19c067: Waiting 02:16:24 9f894cec8388: Waiting 02:16:24 ca983d60f3e2: Waiting 02:16:24 caf521ccaac6: Download complete 02:16:24 5c2a1cbceb83: Verifying Checksum 02:16:24 5c2a1cbceb83: Download complete 02:16:24 a8d5f1318db7: Verifying Checksum 02:16:24 a8d5f1318db7: Download complete 02:16:24 c427282e49a2: Verifying Checksum 02:16:24 c427282e49a2: Download complete 02:16:24 3ead6fa29328: Verifying Checksum 02:16:24 3ead6fa29328: Download complete 02:16:24 0714d37db230: Download complete 02:16:24 ac28cf19c067: Download complete 02:16:24 ca983d60f3e2: Download complete 02:16:24 9f894cec8388: Verifying Checksum 02:16:24 9f894cec8388: Download complete 02:16:24 1fe172e4850f: Verifying Checksum 02:16:24 1fe172e4850f: Download complete 02:16:25 1827001aaf11: Verifying Checksum 02:16:25 1827001aaf11: Download complete 02:16:26 1fe172e4850f: Pull complete 02:16:26 caf521ccaac6: Pull complete 02:16:27 3ead6fa29328: Pull complete 02:16:27 5c2a1cbceb83: Pull complete 02:16:27 a8d5f1318db7: Pull complete 02:16:27 c427282e49a2: Pull complete 02:16:29 1827001aaf11: Pull complete 02:16:29 0714d37db230: Pull complete 02:16:29 ac28cf19c067: Pull complete 02:16:29 ca983d60f3e2: Pull complete 02:16:29 9f894cec8388: Pull complete 02:16:29 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:16:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:16:29 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:16:32 $ docker top 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b -eo pid,comm 02:16:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:16:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:16:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:16:32 [ssh-agent] Looking for ssh-agent implementation... 02:16:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:16:32 $ docker exec 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent 02:16:32 SSH_AUTH_SOCK=/tmp/ssh-lmZWkGcADzGm/agent.32 02:16:32 SSH_AGENT_PID=38 02:16:32 Running ssh-add (command line suppressed) 02:16:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7865152146086014559.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7865152146086014559.key) 02:16:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:16:33 + git tag --points-at HEAD [Pipeline] } 02:16:33 $ docker exec --env ******** --env ******** 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent -k 02:16:33 unset SSH_AUTH_SOCK; 02:16:33 unset SSH_AGENT_PID; 02:16:33 echo Agent pid 38 killed; 02:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:16:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:16:33 [ssh-agent] Looking for ssh-agent implementation... 02:16:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:16:33 $ docker exec 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent 02:16:33 SSH_AUTH_SOCK=/tmp/ssh-6hFIhCYFZBao/agent.71 02:16:33 SSH_AGENT_PID=77 02:16:33 Running ssh-add (command line suppressed) 02:16:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_441027558734332998.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_441027558734332998.key) 02:16:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:16:34 + git semver init 02:16:34 2022-05-19 02:16:34,329 [run_init] DEBUG init version:0.0.0 force:False 02:16:34 2022-05-19 02:16:34,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 02:16:34 2022-05-19 02:16:34,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 02:16:34 2022-05-19 02:16:34,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 02:16:35 2022-05-19 02:16:34,964 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 02:16:35 2022-05-19 02:16:34,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 02:16:35 2022-05-19 02:16:34,965 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 02:16:35 2022-05-19 02:16:34,969 [execute] INFO git cat-file --batch-check 02:16:35 2022-05-19 02:16:34,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:16:35 2022-05-19 02:16:34,974 [execute] INFO git cat-file --batch 02:16:35 2022-05-19 02:16:34,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:16:35 2022-05-19 02:16:34,980 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:16:35 0.0.0 [Pipeline] } 02:16:35 $ docker exec --env ******** --env ******** 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent -k 02:16:35 unset SSH_AUTH_SOCK; 02:16:35 unset SSH_AGENT_PID; 02:16:35 echo Agent pid 77 killed; 02:16:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:16:35 + git semver [Pipeline] } 02:16:36 $ docker stop --time=1 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b 02:16:37 $ docker rm -f 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b [Pipeline] // withDockerContainer [Pipeline] sh 02:16:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:16:38 Stashed 1 file(s) [Pipeline] echo 02:16:38 [edgeXSemver]: initialized semver on version 0.0.0 [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 02:16:38 provisioning config files... 02:16:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2578601342169702979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:38 ---> docker-login.sh 02:16:38 nexus3.edgexfoundry.org:10001 02:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:38 Configure a credential helper to remove this warning. See 02:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:38 02:16:38 Login Succeeded 02:16:38 nexus3.edgexfoundry.org:10002 02:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:38 Configure a credential helper to remove this warning. See 02:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:38 02:16:38 Login Succeeded 02:16:38 nexus3.edgexfoundry.org:10003 02:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:38 Configure a credential helper to remove this warning. See 02:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:38 02:16:38 Login Succeeded 02:16:38 nexus3.edgexfoundry.org:10004 02:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:39 Configure a credential helper to remove this warning. See 02:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:39 02:16:39 Login Succeeded 02:16:39 docker.io 02:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:39 Configure a credential helper to remove this warning. See 02:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:39 02:16:39 Login Succeeded 02:16:39 ---> docker-login.sh ends [Pipeline] } 02:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:16:39 ========================================================= 02:16:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:16:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:16:39 + 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 . 02:16:39 Sending build context to Docker daemon 8.535MB 02:16:39 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:16:39 Step 2/13 : FROM ${BASE} AS builder 02:16:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:16:39 59bf1c3509f3: Pulling fs layer 02:16:39 666ba61612fd: Pulling fs layer 02:16:39 8ed8ca486205: Pulling fs layer 02:16:39 4fe6c5a15a65: Pulling fs layer 02:16:39 22a0e8bec74d: Pulling fs layer 02:16:39 ca2b28591e48: Pulling fs layer 02:16:39 a51346096db8: Pulling fs layer 02:16:39 daebc70d1ce1: Pulling fs layer 02:16:39 0e18a0eac166: Pulling fs layer 02:16:39 a51346096db8: Waiting 02:16:39 22a0e8bec74d: Waiting 02:16:39 ca2b28591e48: Waiting 02:16:39 0e18a0eac166: Waiting 02:16:39 4fe6c5a15a65: Waiting 02:16:39 8ed8ca486205: Verifying Checksum 02:16:39 8ed8ca486205: Download complete 02:16:40 666ba61612fd: Download complete 02:16:40 22a0e8bec74d: Verifying Checksum 02:16:40 22a0e8bec74d: Download complete 02:16:40 ca2b28591e48: Verifying Checksum 02:16:40 ca2b28591e48: Download complete 02:16:40 59bf1c3509f3: Verifying Checksum 02:16:40 59bf1c3509f3: Download complete 02:16:40 a51346096db8: Verifying Checksum 02:16:40 a51346096db8: Download complete 02:16:40 daebc70d1ce1: Verifying Checksum 02:16:40 daebc70d1ce1: Download complete 02:16:40 59bf1c3509f3: Pull complete 02:16:40 666ba61612fd: Pull complete 02:16:40 8ed8ca486205: Pull complete 02:16:40 0e18a0eac166: Verifying Checksum 02:16:40 0e18a0eac166: Download complete 02:16:40 4fe6c5a15a65: Verifying Checksum 02:16:40 4fe6c5a15a65: Download complete 02:16:45 4fe6c5a15a65: Pull complete 02:16:45 22a0e8bec74d: Pull complete 02:16:45 ca2b28591e48: Pull complete 02:16:45 a51346096db8: Pull complete 02:16:45 daebc70d1ce1: Pull complete 02:16:46 0e18a0eac166: Pull complete 02:16:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:16:46 ---> f018257e8ee9 02:16:46 Step 3/13 : ARG MAKE="make build" 02:16:48 ---> Running in ec058f200765 02:16:48 Removing intermediate container ec058f200765 02:16:48 ---> 7607d8f6e354 02:16:48 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:16:48 ---> Running in 260c1c9d9aa1 02:16:48 Removing intermediate container 260c1c9d9aa1 02:16:48 ---> 02c32c9ef350 02:16:48 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:16:48 ---> Running in 589498f9103f 02:16:49 Removing intermediate container 589498f9103f 02:16:49 ---> 61d241309b8f 02:16:49 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:16:49 ---> Running in 1710998de03e 02:16:49 Removing intermediate container 1710998de03e 02:16:49 ---> 26c95907f649 02:16:49 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:16:49 ---> Running in 64f052f69dc0 02:16:50 Removing intermediate container 64f052f69dc0 02:16:50 ---> e480641a67a0 02:16:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:50 ---> Running in 6cf2fa914778 02:16:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:16:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:16:51 OK: 221 MiB in 52 packages 02:16:51 Removing intermediate container 6cf2fa914778 02:16:51 ---> ac197052ae2f 02:16:51 Step 9/13 : WORKDIR /device-onvif-camera 02:16:51 ---> Running in 582f4d030366 02:16:51 Removing intermediate container 582f4d030366 02:16:51 ---> 6995bdbf89ad 02:16:51 Step 10/13 : COPY go.mod vendor* ./ 02:16:52 ---> 5e15af3f7294 02:16:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:52 ---> Running in 08f918397543 02:16:53 Still waiting to schedule task 02:16:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64069’ is offline 02:17:10 Removing intermediate container 08f918397543 02:17:10 ---> 6919b2492026 02:17:10 Step 12/13 : COPY . . 02:17:10 ---> aecd4af1d125 02:17:10 Step 13/13 : RUN ${MAKE} 02:17:10 ---> Running in f0199bd6d7e6 02:17:10 noop 02:17:10 Removing intermediate container f0199bd6d7e6 02:17:10 ---> a0e146a2ab31 02:17:10 Successfully built a0e146a2ab31 02:17:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:17:10 + docker inspect -f . ci-base-image-x86_64 02:17:10 . [Pipeline] withDockerContainer 02:17:10 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:17:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:17:11 $ docker top d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:11 + go version 02:17:11 go version go1.17.6 linux/amd64 [Pipeline] } 02:17:11 $ docker stop --time=1 d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e 02:17:13 $ docker rm -f d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:17:13 + docker inspect -f . ci-base-image-x86_64 02:17:13 . [Pipeline] withDockerContainer 02:17:13 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:17:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:17:14 $ docker top 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:17:14 + make test 02:17:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:17:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:17:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.0% of statements 02:17:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:17:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:17:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:17:34 ./bin/test-attribution-txt.sh [Pipeline] echo 02:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:17:35 $ docker stop --time=1 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 02:17:37 $ docker rm -f 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 [Pipeline] // withDockerContainer [Pipeline] sh 02:17:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:17:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:17:38 + ls -al . 02:17:38 total 216 02:17:38 drwxrwxr-x 9 jenkins jenkins 4096 May 19 02:17 . 02:17:38 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:16 .. 02:17:38 drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:16 .git 02:17:38 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:16 .github 02:17:38 -rw-rw-r-- 1 jenkins jenkins 352 May 19 02:16 .gitignore 02:17:38 -rw-rw-r-- 1 jenkins jenkins 42 May 19 02:16 .golangci.yml 02:17:38 drwxr-xr-x 3 jenkins jenkins 4096 May 19 02:16 .semver 02:17:38 -rw-rw-r-- 1 jenkins jenkins 9099 May 19 02:16 Attribution.txt 02:17:38 -rw-rw-r-- 1 jenkins jenkins 189 May 19 02:16 CHANGELOG.md 02:17:38 -rw-rw-r-- 1 jenkins jenkins 1667 May 19 02:16 Dockerfile 02:17:38 -rw-rw-r-- 1 jenkins jenkins 677 May 19 02:16 GOVERNANCE.md 02:17:38 -rw-rw-r-- 1 jenkins jenkins 660 May 19 02:16 Jenkinsfile 02:17:38 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 02:16 LICENSE 02:17:38 -rw-rw-r-- 1 jenkins jenkins 2161 May 19 02:16 Makefile 02:17:38 -rw-rw-r-- 1 jenkins jenkins 625 May 19 02:16 OWNERS.md 02:17:38 -rw-rw-r-- 1 jenkins jenkins 28742 May 19 02:16 README.md 02:17:38 -rw-rw-r-- 1 jenkins jenkins 5 May 19 02:16 VERSION 02:17:38 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:16 bin 02:17:38 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:16 cmd 02:17:38 -rw-r--r-- 1 jenkins jenkins 37307 May 19 02:17 coverage.out 02:17:38 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:16 doc 02:17:38 -rw-rw-r-- 1 jenkins jenkins 3553 May 19 02:16 go.mod 02:17:38 -rw-rw-r-- 1 jenkins jenkins 37278 May 19 02:16 go.sum 02:17:38 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:16 internal 02:17:38 -rw-rw-r-- 1 jenkins jenkins 236 May 19 02:16 version.go [Pipeline] isUnix [Pipeline] sh 02:17:39 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 --label arch=amd64 --label version=0.0.0 . 02:17:39 Sending build context to Docker daemon 8.573MB 02:17:39 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:17:39 Step 2/26 : FROM ${BASE} AS builder 02:17:39 ---> a0e146a2ab31 02:17:39 Step 3/26 : ARG MAKE="make build" 02:17:39 ---> Running in a148f1319cac 02:17:39 Removing intermediate container a148f1319cac 02:17:39 ---> 3359f7250171 02:17:39 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:17:39 ---> Running in c64e0c6abea8 02:17:39 Removing intermediate container c64e0c6abea8 02:17:39 ---> 611431c6677b 02:17:39 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:17:39 ---> Running in 6ad9f945ed96 02:17:39 Removing intermediate container 6ad9f945ed96 02:17:39 ---> 8a010bd0e512 02:17:39 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:17:39 ---> Running in a3ac9acaaa32 02:17:39 Removing intermediate container a3ac9acaaa32 02:17:39 ---> 741ca15d4a9b 02:17:39 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:17:39 ---> Running in 5108ef3bdb34 02:17:40 Removing intermediate container 5108ef3bdb34 02:17:40 ---> 24b4c793f90b 02:17:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:17:40 ---> Running in 51f235e85aae 02:17:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:17:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:17:42 OK: 221 MiB in 52 packages 02:17:42 Removing intermediate container 51f235e85aae 02:17:42 ---> fc6c6588e012 02:17:42 Step 9/26 : WORKDIR /device-onvif-camera 02:17:42 ---> Running in 0437a4cc376f 02:17:42 Removing intermediate container 0437a4cc376f 02:17:42 ---> 0077a04c1e2f 02:17:42 Step 10/26 : COPY go.mod vendor* ./ 02:17:42 ---> 140ccb7b77b1 02:17:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:17:42 ---> Running in 71454c94fdbb 02:17:43 Removing intermediate container 71454c94fdbb 02:17:43 ---> 6f72f75b891e 02:17:43 Step 12/26 : COPY . . 02:17:44 ---> 24141444b982 02:17:44 Step 13/26 : RUN ${MAKE} 02:17:44 ---> Running in 342c7e81a2b2 02:17:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:18:06 Removing intermediate container 342c7e81a2b2 02:18:06 ---> cfcb318004c3 02:18:06 Step 14/26 : FROM alpine:3.15 02:18:06 3.15: Pulling from library/alpine 02:18:06 df9b9388f04a: Pulling fs layer 02:18:06 df9b9388f04a: Verifying Checksum 02:18:06 df9b9388f04a: Download complete 02:18:06 df9b9388f04a: Pull complete 02:18:06 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:18:06 Status: Downloaded newer image for alpine:3.15 02:18:06 ---> 0ac33e5f5afa 02:18:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:18:06 ---> Running in abecd64c9f67 02:18:06 Removing intermediate container abecd64c9f67 02:18:06 ---> 69adf06c13ee 02:18:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:18:06 ---> Running in 70239bf2f679 02:18:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:18:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:18:06 (1/6) Installing dumb-init (1.2.5-r1) 02:18:06 (2/6) Installing libgcc (10.3.1_git20211027-r0) 02:18:06 (3/6) Installing libsodium (1.0.18-r0) 02:18:06 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 02:18:06 (5/6) Installing libzmq (4.3.4-r0) 02:18:06 (6/6) Installing zeromq (4.3.4-r0) 02:18:06 Executing busybox-1.34.1-r5.trigger 02:18:06 OK: 8 MiB in 20 packages 02:18:06 Removing intermediate container 70239bf2f679 02:18:06 ---> 9cb67f8e8c4e 02:18:06 Step 17/26 : WORKDIR / 02:18:06 ---> Running in 8c0920bf87d1 02:18:06 Removing intermediate container 8c0920bf87d1 02:18:06 ---> 6c4a006db169 02:18:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:18:06 ---> ae23f02aba41 02:18:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:18:07 ---> 71a04d2b5118 02:18:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:18:07 ---> 455e32b6fbb9 02:18:07 Step 21/26 : EXPOSE 59984 02:18:07 ---> Running in bafa4f5a55f0 02:18:07 Removing intermediate container bafa4f5a55f0 02:18:07 ---> 0d6e89270c8d 02:18:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:18:07 ---> Running in b887aadda75a 02:18:07 Removing intermediate container b887aadda75a 02:18:07 ---> f0517d874a6d 02:18:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:18:07 ---> Running in 7ad5d49c98e3 02:18:07 Removing intermediate container 7ad5d49c98e3 02:18:07 ---> 35cd25cc0011 02:18:07 Step 24/26 : LABEL arch=amd64 02:18:07 ---> Running in 646207f72591 02:18:07 Removing intermediate container 646207f72591 02:18:07 ---> 1ce539d63b8e 02:18:07 Step 25/26 : LABEL git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:18:07 ---> Running in 39a96b8ee625 02:18:07 Removing intermediate container 39a96b8ee625 02:18:07 ---> 1624bdb7a00c 02:18:07 Step 26/26 : LABEL version=0.0.0 02:18:07 ---> Running in 1eb14ca8525c 02:18:08 Removing intermediate container 1eb14ca8525c 02:18:08 ---> 1bc172564232 02:18:08 [Warning] One or more build-args [ARCH] were not consumed 02:18:08 Successfully built 1bc172564232 02:18:08 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:08 provisioning config files... 02:18:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8051849458122555281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:08 ---> docker-login.sh 02:18:08 nexus3.edgexfoundry.org:10001 02:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:08 Configure a credential helper to remove this warning. See 02:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:08 02:18:08 Login Succeeded 02:18:08 nexus3.edgexfoundry.org:10002 02:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:08 Configure a credential helper to remove this warning. See 02:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:08 02:18:08 Login Succeeded 02:18:08 nexus3.edgexfoundry.org:10003 02:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:08 Configure a credential helper to remove this warning. See 02:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:08 02:18:08 Login Succeeded 02:18:08 nexus3.edgexfoundry.org:10004 02:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:09 Configure a credential helper to remove this warning. See 02:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:09 02:18:09 Login Succeeded 02:18:09 docker.io 02:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:09 Configure a credential helper to remove this warning. See 02:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:09 02:18:09 Login Succeeded 02:18:09 ---> docker-login.sh ends [Pipeline] } 02:18:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:18:09 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 02:18:09 84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:18:09 latest 02:18:09 0.0.0 02:18:09 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:18:09 main 02:18:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:18:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] isUnix [Pipeline] sh 02:18:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:18:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:18:10 6eb4410649d3: Preparing 02:18:10 b2b2d0972429: Preparing 02:18:10 d580674f039c: Preparing 02:18:10 3d19c9f1b2e6: Preparing 02:18:10 4fc242d58285: Preparing 02:18:10 4fc242d58285: Layer already exists 02:18:10 b2b2d0972429: Pushed 02:18:10 6eb4410649d3: Pushed 02:18:10 3d19c9f1b2e6: Pushed 02:18:12 d580674f039c: Pushed 02:18:12 84b3359fcb453f79206b07ec4bf8f15846aef2e0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:18:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] isUnix [Pipeline] sh 02:18:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:18:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:18:13 6eb4410649d3: Preparing 02:18:13 b2b2d0972429: Preparing 02:18:13 d580674f039c: Preparing 02:18:13 3d19c9f1b2e6: Preparing 02:18:13 4fc242d58285: Preparing 02:18:13 d580674f039c: Layer already exists 02:18:13 b2b2d0972429: Layer already exists 02:18:13 6eb4410649d3: Layer already exists 02:18:13 3d19c9f1b2e6: Layer already exists 02:18:13 4fc242d58285: Layer already exists 02:18:13 latest: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:18:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 [Pipeline] isUnix [Pipeline] sh 02:18:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 02:18:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:18:14 6eb4410649d3: Preparing 02:18:14 b2b2d0972429: Preparing 02:18:14 d580674f039c: Preparing 02:18:14 3d19c9f1b2e6: Preparing 02:18:14 4fc242d58285: Preparing 02:18:14 4fc242d58285: Layer already exists 02:18:14 3d19c9f1b2e6: Layer already exists 02:18:14 b2b2d0972429: Layer already exists 02:18:14 d580674f039c: Layer already exists 02:18:14 6eb4410649d3: Layer already exists 02:18:14 0.0.0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:18:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [Pipeline] isUnix [Pipeline] sh 02:18:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:18:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:18:14 6eb4410649d3: Preparing 02:18:14 b2b2d0972429: Preparing 02:18:14 d580674f039c: Preparing 02:18:14 3d19c9f1b2e6: Preparing 02:18:14 4fc242d58285: Preparing 02:18:14 b2b2d0972429: Layer already exists 02:18:14 6eb4410649d3: Layer already exists 02:18:14 3d19c9f1b2e6: Layer already exists 02:18:14 4fc242d58285: Layer already exists 02:18:14 d580674f039c: Layer already exists 02:18:14 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:18:15 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] isUnix [Pipeline] sh 02:18:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 02:18:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:18:15 6eb4410649d3: Preparing 02:18:15 b2b2d0972429: Preparing 02:18:15 d580674f039c: Preparing 02:18:15 3d19c9f1b2e6: Preparing 02:18:15 4fc242d58285: Preparing 02:18:15 4fc242d58285: Layer already exists 02:18:15 3d19c9f1b2e6: Layer already exists 02:18:15 b2b2d0972429: Layer already exists 02:18:15 d580674f039c: Layer already exists 02:18:15 6eb4410649d3: Layer already exists 02:18:15 main: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:18:15 ===================================================== [Pipeline] echo 02:18:15 taggedImages: 02:18:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:18:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:18:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 02:18:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:18:15 - nexus3.edgexfoundry.org:10004/device-onvif-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 02:18:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:15 02:18:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:18:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:15 latest: Pulling from edgex-lftools-log-publisher 02:18:15 5eb5b503b376: Pulling fs layer 02:18:15 5c69ac0246d0: Pulling fs layer 02:18:15 ec43610c2a17: Pulling fs layer 02:18:15 3a2ae6a8a46f: Pulling fs layer 02:18:15 33b1e0a273af: Pulling fs layer 02:18:15 5d3b04190fa2: Pulling fs layer 02:18:15 2f39f015ded8: Pulling fs layer 02:18:15 3a2ae6a8a46f: Waiting 02:18:15 33b1e0a273af: Waiting 02:18:15 5d3b04190fa2: Waiting 02:18:15 2f39f015ded8: Waiting 02:18:15 5c69ac0246d0: Verifying Checksum 02:18:15 5c69ac0246d0: Download complete 02:18:15 3a2ae6a8a46f: Download complete 02:18:16 33b1e0a273af: Verifying Checksum 02:18:16 33b1e0a273af: Download complete 02:18:16 5d3b04190fa2: Download complete 02:18:16 ec43610c2a17: Verifying Checksum 02:18:16 ec43610c2a17: Download complete 02:18:16 5eb5b503b376: Verifying Checksum 02:18:16 5eb5b503b376: Download complete 02:18:17 2f39f015ded8: Download complete 02:18:17 5eb5b503b376: Pull complete 02:18:17 5c69ac0246d0: Pull complete 02:18:18 ec43610c2a17: Pull complete 02:18:18 3a2ae6a8a46f: Pull complete 02:18:18 33b1e0a273af: Pull complete 02:18:18 5d3b04190fa2: Pull complete 02:18:22 2f39f015ded8: Pull complete 02:18:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:18:22 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:18:22 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:18:25 $ docker top 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:26 ---> job-cost.sh 02:18:26 lf-activate-venv: SKIPPING 02:18:26 INFO: No Stack... 02:18:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:18:27 INFO: Archiving Costs [Pipeline] sh 02:18:27 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 02:18:27 + cut -d, -f6 [Pipeline] lock 02:18:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] 02:18:27 Resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] did not exist. Created. 02:18:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:18:27 + echo total: 0.2199999988079071 [Pipeline] stash 02:18:27 Stashed 1 file(s) [Pipeline] } 02:18:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:18:27 $ docker stop --time=1 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a 02:18:29 $ docker rm -f 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:19:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64076 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 02:19:38 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 02:19:39 Selected Git installation does not exist. Using Default 02:19:39 The recommended git tool is: NONE 02:19:44 using credential edgex-jenkins-ssh 02:19:44 Cloning the remote Git repository 02:19:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:19:45 > git init /w/workspace/device-onvif-camera/2 # timeout=10 02:19:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:19:45 > git --version # timeout=10 02:19:45 > git --version # 'git version 2.25.1' 02:19:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:19:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:19:46 Avoid second fetch 02:19:46 Checking out Revision 84b3359fcb453f79206b07ec4bf8f15846aef2e0 (main) 02:19:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:19:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:19:46 > git config core.sparsecheckout # timeout=10 02:19:46 > git checkout -f 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 02:19:50 Commit message: "Merge pull request #61 from edgexfoundry-holding/issue-56" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:19:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:19:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:19:51 Dload Upload Total Spent Left Speed 02:19:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 02:19:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:19:52 + sudo tee /etc/docker/daemon.new 02:19:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:19:52 { 02:19:52 "registry-mirrors": [ 02:19:52 "https://nexus3.edgexfoundry.org:10001" 02:19:52 ], 02:19:52 "bip": "10.250.0.254/24", 02:19:52 "hosts": [ 02:19:52 "tcp://0.0.0.0:5555", 02:19:52 "unix:///var/run/docker.sock" 02:19:52 ], 02:19:52 "mtu": 1458, 02:19:52 "selinux-enabled": true, 02:19:52 "seccomp-profile": "/etc/docker/seccomp.json" 02:19:52 } [Pipeline] sh 02:19:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:19:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:20:11 provisioning config files... 02:20:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3804239911210865747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:20:11 ---> docker-login.sh 02:20:11 nexus3.edgexfoundry.org:10001 02:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:12 Configure a credential helper to remove this warning. See 02:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:12 02:20:12 Login Succeeded 02:20:12 nexus3.edgexfoundry.org:10002 02:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:13 Configure a credential helper to remove this warning. See 02:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:13 02:20:13 Login Succeeded 02:20:13 nexus3.edgexfoundry.org:10003 02:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:13 Configure a credential helper to remove this warning. See 02:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:13 02:20:13 Login Succeeded 02:20:13 nexus3.edgexfoundry.org:10004 02:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:14 Configure a credential helper to remove this warning. See 02:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:14 02:20:14 Login Succeeded 02:20:14 docker.io 02:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:20:15 Configure a credential helper to remove this warning. See 02:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:20:15 02:20:15 Login Succeeded 02:20:15 ---> docker-login.sh ends [Pipeline] } 02:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:20:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:20:16 ========================================================= 02:20:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:20:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:20:16 + 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 . 02:20:16 Sending build context to Docker daemon 5.81MB 02:20:16 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:20:16 Step 2/13 : FROM ${BASE} AS builder 02:20:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:20:17 9b3977197b4f: Pulling fs layer 02:20:17 1a89e8eeedd5: Pulling fs layer 02:20:17 94645a83ff95: Pulling fs layer 02:20:17 3f3a8bcf1eab: Pulling fs layer 02:20:17 0c92f367c5e7: Pulling fs layer 02:20:17 3096ccb668a1: Pulling fs layer 02:20:17 e8cf19c19ddd: Pulling fs layer 02:20:17 a4caa8a26152: Pulling fs layer 02:20:17 3f3a8bcf1eab: Waiting 02:20:17 0c92f367c5e7: Waiting 02:20:17 e8cf19c19ddd: Waiting 02:20:17 a4caa8a26152: Waiting 02:20:17 3096ccb668a1: Waiting 02:20:17 94645a83ff95: Verifying Checksum 02:20:17 94645a83ff95: Download complete 02:20:17 1a89e8eeedd5: Verifying Checksum 02:20:17 1a89e8eeedd5: Download complete 02:20:17 0c92f367c5e7: Verifying Checksum 02:20:17 0c92f367c5e7: Download complete 02:20:17 3096ccb668a1: Verifying Checksum 02:20:17 3096ccb668a1: Download complete 02:20:17 9b3977197b4f: Verifying Checksum 02:20:17 9b3977197b4f: Download complete 02:20:17 e8cf19c19ddd: Verifying Checksum 02:20:17 e8cf19c19ddd: Download complete 02:20:18 9b3977197b4f: Pull complete 02:20:18 1a89e8eeedd5: Pull complete 02:20:19 94645a83ff95: Pull complete 02:20:19 a4caa8a26152: Download complete 02:20:20 3f3a8bcf1eab: Verifying Checksum 02:20:20 3f3a8bcf1eab: Download complete 02:20:32 3f3a8bcf1eab: Pull complete 02:20:32 0c92f367c5e7: Pull complete 02:20:32 3096ccb668a1: Pull complete 02:20:33 e8cf19c19ddd: Pull complete 02:20:39 a4caa8a26152: Pull complete 02:20:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:20:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:20:39 ---> 725f1c02e7f9 02:20:39 Step 3/13 : ARG MAKE="make build" 02:20:41 ---> Running in 317235796b68 02:20:41 Removing intermediate container 317235796b68 02:20:41 ---> 94c214884f07 02:20:41 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:20:41 ---> Running in f83e205cfcdf 02:20:41 Removing intermediate container f83e205cfcdf 02:20:41 ---> 03c39879c63d 02:20:41 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:20:41 ---> Running in 9d42271b43e3 02:20:43 Removing intermediate container 9d42271b43e3 02:20:43 ---> 6824d9549617 02:20:43 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:20:43 ---> Running in fadd19e68029 02:20:43 Removing intermediate container fadd19e68029 02:20:43 ---> 1e15f3a551a0 02:20:43 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:20:43 ---> Running in 3d49d72df1cb 02:20:45 Removing intermediate container 3d49d72df1cb 02:20:45 ---> 0fb8f4d0d2e5 02:20:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:20:45 ---> Running in 341a39827958 02:20:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:20:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:20:48 OK: 220 MiB in 52 packages 02:20:48 Removing intermediate container 341a39827958 02:20:48 ---> 50cd280a758c 02:20:48 Step 9/13 : WORKDIR /device-onvif-camera 02:20:48 ---> Running in d15994aa9bb0 02:20:49 Removing intermediate container d15994aa9bb0 02:20:49 ---> 2f42579c9c78 02:20:49 Step 10/13 : COPY go.mod vendor* ./ 02:20:49 ---> 5f61fb6bc1b3 02:20:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:49 ---> Running in 0a54168a4721 02:21:36 Removing intermediate container 0a54168a4721 02:21:36 ---> e2cbe9d84ba4 02:21:36 Step 12/13 : COPY . . 02:21:36 ---> 6bd7ff87189b 02:21:36 Step 13/13 : RUN ${MAKE} 02:21:36 ---> Running in 6e7fbe519438 02:21:36 noop 02:21:37 Removing intermediate container 6e7fbe519438 02:21:37 ---> 10a5f9e772de 02:21:37 Successfully built 10a5f9e772de 02:21:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:21:37 + docker inspect -f . ci-base-image-arm64 02:21:37 . [Pipeline] withDockerContainer 02:21:37 prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container 02:21:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 02:21:39 $ docker top ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 -eo pid,comm [Pipeline] { [Pipeline] sh 02:21:40 + go version 02:21:40 go version go1.17.6 linux/arm64 [Pipeline] } 02:21:40 $ docker stop --time=1 ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 02:21:42 $ docker rm -f ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:21:42 + docker inspect -f . ci-base-image-arm64 02:21:42 . [Pipeline] withDockerContainer 02:21:42 prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container 02:21:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 02:21:44 $ docker top 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:21:45 + make test 02:21:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:21:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:23:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:23:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.070s coverage: 1.0% of statements 02:23:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:23:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:23:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:23:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:23:39 ./bin/test-attribution-txt.sh [Pipeline] echo 02:23:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:23:42 $ docker stop --time=1 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 02:23:44 $ docker rm -f 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 [Pipeline] // withDockerContainer [Pipeline] sh 02:23:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:23:45 Warning: overwriting stash ‘coverage-report’ 02:23:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:23:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:23:46 + ls -al . 02:23:46 total 212 02:23:46 drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:23 . 02:23:46 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:19 .. 02:23:46 drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:19 .git 02:23:46 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:19 .github 02:23:46 -rw-rw-r-- 1 jenkins jenkins 352 May 19 02:19 .gitignore 02:23:46 -rw-rw-r-- 1 jenkins jenkins 42 May 19 02:19 .golangci.yml 02:23:46 -rw-rw-r-- 1 jenkins jenkins 9099 May 19 02:19 Attribution.txt 02:23:46 -rw-rw-r-- 1 jenkins jenkins 189 May 19 02:19 CHANGELOG.md 02:23:46 -rw-rw-r-- 1 jenkins jenkins 1667 May 19 02:19 Dockerfile 02:23:46 -rw-rw-r-- 1 jenkins jenkins 677 May 19 02:19 GOVERNANCE.md 02:23:46 -rw-rw-r-- 1 jenkins jenkins 660 May 19 02:19 Jenkinsfile 02:23:46 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 02:19 LICENSE 02:23:46 -rw-rw-r-- 1 jenkins jenkins 2161 May 19 02:19 Makefile 02:23:46 -rw-rw-r-- 1 jenkins jenkins 625 May 19 02:19 OWNERS.md 02:23:46 -rw-rw-r-- 1 jenkins jenkins 28742 May 19 02:19 README.md 02:23:46 -rw-rw-r-- 1 jenkins jenkins 5 May 19 02:16 VERSION 02:23:46 drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:19 bin 02:23:46 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:19 cmd 02:23:46 -rw-r--r-- 1 jenkins jenkins 37307 May 19 02:23 coverage.out 02:23:46 drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:19 doc 02:23:46 -rw-rw-r-- 1 jenkins jenkins 3553 May 19 02:19 go.mod 02:23:46 -rw-rw-r-- 1 jenkins jenkins 37278 May 19 02:19 go.sum 02:23:46 drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:19 internal 02:23:46 -rw-rw-r-- 1 jenkins jenkins 236 May 19 02:19 version.go [Pipeline] isUnix [Pipeline] sh 02:23:46 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 --label arch=arm64 --label version=0.0.0 . 02:23:47 Sending build context to Docker daemon 5.848MB 02:23:47 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:23:47 Step 2/26 : FROM ${BASE} AS builder 02:23:47 ---> 10a5f9e772de 02:23:47 Step 3/26 : ARG MAKE="make build" 02:23:47 ---> Running in 2022b648e85a 02:23:47 Removing intermediate container 2022b648e85a 02:23:47 ---> 6644f82e1927 02:23:47 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:23:47 ---> Running in 65812e4c7368 02:23:47 Removing intermediate container 65812e4c7368 02:23:47 ---> 086b5a506d46 02:23:47 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:23:47 ---> Running in 556ba75b09f6 02:23:48 Removing intermediate container 556ba75b09f6 02:23:48 ---> d224a77fe8d7 02:23:48 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:23:48 ---> Running in d971349274ed 02:23:48 Removing intermediate container d971349274ed 02:23:48 ---> 58de037183d7 02:23:48 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:23:48 ---> Running in 85382342b320 02:23:50 Removing intermediate container 85382342b320 02:23:50 ---> 84587ac59a88 02:23:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:23:50 ---> Running in 33a13f9ba56f 02:23:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:23:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:23:53 OK: 220 MiB in 52 packages 02:23:53 Removing intermediate container 33a13f9ba56f 02:23:53 ---> e8ea3c99257e 02:23:53 Step 9/26 : WORKDIR /device-onvif-camera 02:23:53 ---> Running in fc52d1c14986 02:23:54 Removing intermediate container fc52d1c14986 02:23:54 ---> 7d88d18d26de 02:23:54 Step 10/26 : COPY go.mod vendor* ./ 02:23:54 ---> 9229511b7aa7 02:23:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:54 ---> Running in 5becbae9c03f 02:23:56 Removing intermediate container 5becbae9c03f 02:23:56 ---> 882688a80b28 02:23:56 Step 12/26 : COPY . . 02:23:57 ---> 22d1ab6975b4 02:23:57 Step 13/26 : RUN ${MAKE} 02:23:57 ---> Running in 2ec7407d456e 02:23:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 02:26:05 Removing intermediate container 2ec7407d456e 02:26:05 ---> 65a8f3f7291b 02:26:05 Step 14/26 : FROM alpine:3.15 02:26:05 3.15: Pulling from library/alpine 02:26:05 9981e73032c8: Pulling fs layer 02:26:05 9981e73032c8: Verifying Checksum 02:26:05 9981e73032c8: Download complete 02:26:05 9981e73032c8: Pull complete 02:26:05 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:26:05 Status: Downloaded newer image for alpine:3.15 02:26:05 ---> 3fb3c9af89a9 02:26:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:26:05 ---> Running in 275c7f208598 02:26:05 Removing intermediate container 275c7f208598 02:26:05 ---> a3fa8e8f9dc4 02:26:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:26:05 ---> Running in b62710599db2 02:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:26:05 (1/6) Installing dumb-init (1.2.5-r1) 02:26:05 (2/6) Installing libgcc (10.3.1_git20211027-r0) 02:26:05 (3/6) Installing libsodium (1.0.18-r0) 02:26:05 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 02:26:05 (5/6) Installing libzmq (4.3.4-r0) 02:26:05 (6/6) Installing zeromq (4.3.4-r0) 02:26:05 Executing busybox-1.34.1-r5.trigger 02:26:05 OK: 8 MiB in 20 packages 02:26:05 Removing intermediate container b62710599db2 02:26:05 ---> 7d5f3e046122 02:26:05 Step 17/26 : WORKDIR / 02:26:05 ---> Running in 93f49f87658b 02:26:05 Removing intermediate container 93f49f87658b 02:26:05 ---> 0649fdb60818 02:26:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:26:05 ---> 54f2b26de23c 02:26:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:26:05 ---> 5f61e1b32a03 02:26:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:26:05 ---> 8775553fe3ec 02:26:05 Step 21/26 : EXPOSE 59984 02:26:05 ---> Running in 91f1b6038ed5 02:26:05 Removing intermediate container 91f1b6038ed5 02:26:05 ---> 739f122d8c55 02:26:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:26:05 ---> Running in c28a63c00dc1 02:26:05 Removing intermediate container c28a63c00dc1 02:26:05 ---> 04b3b0e52e1c 02:26:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:26:06 ---> Running in 032204134c49 02:26:06 Removing intermediate container 032204134c49 02:26:06 ---> cb8bf4a04b77 02:26:06 Step 24/26 : LABEL arch=arm64 02:26:06 ---> Running in 0b9719f7635a 02:26:06 Removing intermediate container 0b9719f7635a 02:26:06 ---> 007bf74ecb19 02:26:06 Step 25/26 : LABEL git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:26:06 ---> Running in 4628e0e9aecd 02:26:06 Removing intermediate container 4628e0e9aecd 02:26:06 ---> 650e1e401d86 02:26:06 Step 26/26 : LABEL version=0.0.0 02:26:07 ---> Running in a91ca72110b3 02:26:07 Removing intermediate container a91ca72110b3 02:26:07 ---> d9db7a19f319 02:26:07 [Warning] One or more build-args [ARCH] were not consumed 02:26:07 Successfully built d9db7a19f319 02:26:07 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:26:07 provisioning config files... 02:26:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config1157675827124999392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:08 ---> docker-login.sh 02:26:08 nexus3.edgexfoundry.org:10001 02:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:08 Configure a credential helper to remove this warning. See 02:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:08 02:26:08 Login Succeeded 02:26:08 nexus3.edgexfoundry.org:10002 02:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:08 Configure a credential helper to remove this warning. See 02:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:08 02:26:08 Login Succeeded 02:26:08 nexus3.edgexfoundry.org:10003 02:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:09 Configure a credential helper to remove this warning. See 02:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:09 02:26:09 Login Succeeded 02:26:09 nexus3.edgexfoundry.org:10004 02:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:09 Configure a credential helper to remove this warning. See 02:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:09 02:26:09 Login Succeeded 02:26:09 docker.io 02:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:26:10 Configure a credential helper to remove this warning. See 02:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:26:10 02:26:10 Login Succeeded 02:26:10 ---> docker-login.sh ends [Pipeline] } 02:26:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:26:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:26:10 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 02:26:10 84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:26:10 latest 02:26:10 0.0.0 02:26:10 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:26:10 main 02:26:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] isUnix [Pipeline] sh 02:26:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:26:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 02:26:11 681c71ecd554: Preparing 02:26:11 c3231797b228: Preparing 02:26:11 90fd417db8c6: Preparing 02:26:11 0d46bef1c511: Preparing 02:26:11 4f4ce317c6bb: Preparing 02:26:11 4f4ce317c6bb: Layer already exists 02:26:12 c3231797b228: Pushed 02:26:12 681c71ecd554: Pushed 02:26:12 0d46bef1c511: Pushed 02:26:19 90fd417db8c6: Pushed 02:26:19 84b3359fcb453f79206b07ec4bf8f15846aef2e0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:26:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:26:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 02:26:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 02:26:20 681c71ecd554: Preparing 02:26:20 c3231797b228: Preparing 02:26:20 90fd417db8c6: Preparing 02:26:20 0d46bef1c511: Preparing 02:26:20 4f4ce317c6bb: Preparing 02:26:20 4f4ce317c6bb: Layer already exists 02:26:20 90fd417db8c6: Layer already exists 02:26:20 0d46bef1c511: Layer already exists 02:26:20 681c71ecd554: Layer already exists 02:26:20 c3231797b228: Layer already exists 02:26:20 latest: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:26:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh 02:26:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 02:26:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 02:26:21 681c71ecd554: Preparing 02:26:21 c3231797b228: Preparing 02:26:21 90fd417db8c6: Preparing 02:26:21 0d46bef1c511: Preparing 02:26:21 4f4ce317c6bb: Preparing 02:26:21 90fd417db8c6: Layer already exists 02:26:21 4f4ce317c6bb: Layer already exists 02:26:21 c3231797b228: Layer already exists 02:26:21 0d46bef1c511: Layer already exists 02:26:21 681c71ecd554: Layer already exists 02:26:21 0.0.0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:26:21 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [Pipeline] isUnix [Pipeline] sh 02:26:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:26:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 02:26:22 681c71ecd554: Preparing 02:26:22 c3231797b228: Preparing 02:26:22 90fd417db8c6: Preparing 02:26:22 0d46bef1c511: Preparing 02:26:22 4f4ce317c6bb: Preparing 02:26:22 681c71ecd554: Layer already exists 02:26:22 c3231797b228: Layer already exists 02:26:22 0d46bef1c511: Layer already exists 02:26:22 90fd417db8c6: Layer already exists 02:26:22 4f4ce317c6bb: Layer already exists 02:26:22 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh 02:26:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 02:26:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 02:26:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 02:26:23 681c71ecd554: Preparing 02:26:23 c3231797b228: Preparing 02:26:23 90fd417db8c6: Preparing 02:26:23 0d46bef1c511: Preparing 02:26:23 4f4ce317c6bb: Preparing 02:26:23 90fd417db8c6: Layer already exists 02:26:23 0d46bef1c511: Layer already exists 02:26:23 4f4ce317c6bb: Layer already exists 02:26:23 c3231797b228: Layer already exists 02:26:23 681c71ecd554: Layer already exists 02:26:23 main: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:26:23 ===================================================== [Pipeline] echo 02:26:23 taggedImages: 02:26:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 02:26:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 02:26:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 02:26:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 02:26:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:23 02:26:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:26:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:24 arm64: Pulling from edgex-lftools-log-publisher 02:26:24 8998bd30e6a1: Pulling fs layer 02:26:24 04944245beec: Pulling fs layer 02:26:24 699f458cf7ca: Pulling fs layer 02:26:24 765212b225bb: Pulling fs layer 02:26:24 f23df028b6ca: Pulling fs layer 02:26:24 d65c8cfc05b1: Pulling fs layer 02:26:24 2437ff75d9bd: Pulling fs layer 02:26:24 765212b225bb: Waiting 02:26:24 f23df028b6ca: Waiting 02:26:24 d65c8cfc05b1: Waiting 02:26:24 2437ff75d9bd: Waiting 02:26:24 04944245beec: Verifying Checksum 02:26:24 765212b225bb: Verifying Checksum 02:26:24 765212b225bb: Download complete 02:26:24 f23df028b6ca: Verifying Checksum 02:26:24 f23df028b6ca: Download complete 02:26:24 d65c8cfc05b1: Download complete 02:26:24 699f458cf7ca: Verifying Checksum 02:26:24 699f458cf7ca: Download complete 02:26:25 8998bd30e6a1: Verifying Checksum 02:26:25 8998bd30e6a1: Download complete 02:26:27 2437ff75d9bd: Verifying Checksum 02:26:27 2437ff75d9bd: Download complete 02:26:29 8998bd30e6a1: Pull complete 02:26:29 04944245beec: Pull complete 02:26:31 699f458cf7ca: Pull complete 02:26:31 765212b225bb: Pull complete 02:26:32 f23df028b6ca: Pull complete 02:26:32 d65c8cfc05b1: Pull complete 02:26:47 2437ff75d9bd: Pull complete 02:26:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:26:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:26:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:26:47 prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container 02:26:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 02:26:50 $ docker top ba9f69a2d58448822e2c55b2156531967a5787feba1e4b70f0f8795dd59ba975 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:51 ---> job-cost.sh 02:26:51 lf-activate-venv: SKIPPING 02:26:51 INFO: No Stack... 02:26:51 INFO: Retrieving Pricing Info for: v3-standard-4 02:26:52 INFO: Archiving Costs [Pipeline] sh 02:26:53 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 02:26:53 + cut -d, -f6 [Pipeline] lock 02:26:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] 02:26:53 Resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] did not exist. Created. 02:26:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:26:53 /w/workspace/device-onvif-camera/2@tmp/durable-d0a55412/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:26:54 + echo total: 0.10999999940395355 [Pipeline] stash 02:26:54 Warning: overwriting stash ‘stack-cost’ 02:26:54 Stashed 1 file(s) [Pipeline] } 02:26:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:26:54 $ docker stop --time=1 ba9f69a2d58448822e2c55b2156531967a5787feba1e4b70f0f8795dd59ba975 02:26:56 $ docker rm -f ba9f69a2d58448822e2c55b2156531967a5787feba1e4b70f0f8795dd59ba975 [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 02:26:56 provisioning config files... 02:26:56 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4479942373910057102tmp [Pipeline] { [Pipeline] sh 02:26:56 + set +x 02:26:56 + curl -s https://codecov.io/bash 02:26:56 + bash -s -- 02:26:56 02:26:56 _____ _ 02:26:56 / ____| | | 02:26:56 | | ___ __| | ___ ___ _____ __ 02:26:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:26:56 | |___| (_) | (_| | __/ (_| (_) \ V / 02:26:56 \_____\___/ \__,_|\___|\___\___/ \_/ 02:26:56 Bash-1.0.6 02:26:56 02:26:56 02:26:56 ==> git version 2.25.1 found 02:26:56 ==> 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 02:26:56 Release-Date: 2020-01-08 02:26:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:26:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:26:56 ==> Jenkins CI detected. 02:26:56 current dir:  /w/workspace/foundry_device-onvif-camera_main 02:26:56 project root: . 02:26:56 --> token set from env 02:26:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:26:56 ==> Running gcov in . (disable via -X gcov) 02:26:56 ==> Python coveragepy not found 02:26:56 ==> Searching for coverage reports in: 02:26:56 + . 02:26:56 -> Found 1 reports 02:26:56 ==> Detecting git/mercurial file structure 02:26:56 ==> Reading reports 02:26:57 + ./coverage.out bytes=37307 02:26:57 ==> Appending adjustments 02:26:57 https://docs.codecov.io/docs/fixing-reports 02:26:57 + Found adjustments 02:26:57 ==> Gzipping contents 02:26:57 8.0K /tmp/codecov.NXIMcY.gz 02:26:57 ==> Uploading reports 02:26:57 url: https://codecov.io 02:26:57 query: branch=main&commit=84b3359fcb453f79206b07ec4bf8f15846aef2e0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 02:26:57 -> Pinging Codecov 02:26:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=84b3359fcb453f79206b07ec4bf8f15846aef2e0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 02:26:57 -> Uploading to 02:26:57 https://storage.googleapis.com/codecov/v4/raw/2022-05-19/F29A59C45E3A92E06B3E522C9905F8EF/84b3359fcb453f79206b07ec4bf8f15846aef2e0/d7a8153b-280d-4e6a-98eb-3b6fc33aac7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220519T022657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=61b89acf4514f5b8640f21b28fe65c6046f4c935eaefead96f08d3e50516e973 02:26:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:26:57 Dload Upload Total Spent Left Speed 02:26:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4605 0 0 100 4605 0 20743 --:--:-- --:--:-- --:--:-- 20650 100 4605 0 0 100 4605 0 16505 --:--:-- --:--:-- --:--:-- 16446 02:26:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] } 02:26:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:26:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:26:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:26:58 02:26:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:26:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:26:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:26:58 188c0c94c7c5: Pulling fs layer 02:26:58 0ef7d3d256c8: Pulling fs layer 02:26:58 de9db76c5a1d: Pulling fs layer 02:26:58 0eba1c9be4d2: Pulling fs layer 02:26:58 0d57e429df01: Pulling fs layer 02:26:58 4e4be7b47b0d: Pulling fs layer 02:26:58 e1f770b5df2f: Pulling fs layer 02:26:58 85a0685a4137: Pulling fs layer 02:26:58 0eba1c9be4d2: Waiting 02:26:58 e1f770b5df2f: Waiting 02:26:58 0d57e429df01: Waiting 02:26:58 85a0685a4137: Waiting 02:26:58 de9db76c5a1d: Download complete 02:26:58 0ef7d3d256c8: Verifying Checksum 02:26:58 0ef7d3d256c8: Download complete 02:26:58 0d57e429df01: Download complete 02:26:58 4e4be7b47b0d: Verifying Checksum 02:26:58 4e4be7b47b0d: Download complete 02:26:58 188c0c94c7c5: Verifying Checksum 02:26:58 188c0c94c7c5: Download complete 02:26:58 188c0c94c7c5: Pull complete 02:26:58 e1f770b5df2f: Verifying Checksum 02:26:58 e1f770b5df2f: Download complete 02:26:58 0ef7d3d256c8: Pull complete 02:26:58 de9db76c5a1d: Pull complete 02:26:59 0eba1c9be4d2: Download complete 02:26:59 85a0685a4137: Verifying Checksum 02:26:59 85a0685a4137: Download complete 02:27:02 0eba1c9be4d2: Pull complete 02:27:02 0d57e429df01: Pull complete 02:27:02 4e4be7b47b0d: Pull complete 02:27:02 e1f770b5df2f: Pull complete 02:27:06 85a0685a4137: Pull complete 02:27:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:27:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:27:06 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:08 $ docker top 4c18dacb815c842925342dbc253b39e756e8dae27fca3c3939cca2de86017eb4 -eo pid,comm [Pipeline] { [Pipeline] echo 02:27:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:27:08 + set -o pipefail 02:27:08 + snyk monitor '--org=edgex-jenkins' 02:27:15 02:27:15 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 02:27:15 02:27:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/cc672bb3-ce95-45c3-947b-54254bf70991/history/488833a9-f9c6-4dcd-bc95-4c3c36627934 02:27:15 02:27:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:27:15 02:27:15 [Pipeline] } 02:27:15 $ docker stop --time=1 4c18dacb815c842925342dbc253b39e756e8dae27fca3c3939cca2de86017eb4 02:27:17 $ docker rm -f 4c18dacb815c842925342dbc253b39e756e8dae27fca3c3939cca2de86017eb4 [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 02:27:18 + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] sh 02:27:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:27:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:27:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:27:19 . [Pipeline] withDockerContainer 02:27:19 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:19 $ docker top 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:27:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:27:19 [ssh-agent] Looking for ssh-agent implementation... 02:27:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:27:19 $ docker exec 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d ssh-agent 02:27:20 SSH_AUTH_SOCK=/tmp/ssh-JKgJCKZ4bbnR/agent.32 02:27:20 SSH_AGENT_PID=38 02:27:20 Running ssh-add (command line suppressed) 02:27:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3637015927292342109.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3637015927292342109.key) 02:27:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:27:20 + git semver tag 02:27:20 2022-05-19 02:27:20,732 [run_tag] DEBUG tag force:False 02:27:20 2022-05-19 02:27:20,732 [check_head_tag] DEBUG check head tag 02:27:20 2022-05-19 02:27:20,732 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:20 2022-05-19 02:27:20,732 [execute] INFO git tag -a v0.0.0 -m v0.0.0 02:27:20 2022-05-19 02:27:20,732 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.0', '-m', 'v0.0.0'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 02:27:20 2022-05-19 02:27:20,737 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:20 0.0.0 [Pipeline] } 02:27:20 $ docker exec --env ******** --env ******** 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d ssh-agent -k 02:27:20 unset SSH_AUTH_SOCK; 02:27:20 unset SSH_AGENT_PID; 02:27:20 echo Agent pid 38 killed; 02:27:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:27:21 + git semver [Pipeline] } 02:27:21 $ docker stop --time=1 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d 02:27:22 $ docker rm -f 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:27:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:27:23 02:27:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:27:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:27:23 0.23.1-centos7: Pulling from edgex-lftools 02:27:23 ab5ef0e58194: Pulling fs layer 02:27:23 9712f1f96733: Pulling fs layer 02:27:23 63f879dbbcfc: Pulling fs layer 02:27:23 0d9ebad4ef96: Pulling fs layer 02:27:23 e9a5061849ea: Pulling fs layer 02:27:23 d747dcd14b5f: Pulling fs layer 02:27:23 2de7ff778b66: Pulling fs layer 02:27:23 0d9ebad4ef96: Waiting 02:27:23 d747dcd14b5f: Waiting 02:27:23 2de7ff778b66: Waiting 02:27:23 e9a5061849ea: Waiting 02:27:23 9712f1f96733: Verifying Checksum 02:27:23 9712f1f96733: Download complete 02:27:23 63f879dbbcfc: Verifying Checksum 02:27:23 63f879dbbcfc: Download complete 02:27:24 e9a5061849ea: Verifying Checksum 02:27:24 e9a5061849ea: Download complete 02:27:24 d747dcd14b5f: Download complete 02:27:24 ab5ef0e58194: Verifying Checksum 02:27:24 ab5ef0e58194: Download complete 02:27:24 2de7ff778b66: Verifying Checksum 02:27:24 0d9ebad4ef96: Verifying Checksum 02:27:24 0d9ebad4ef96: Download complete 02:27:26 ab5ef0e58194: Pull complete 02:27:26 9712f1f96733: Pull complete 02:27:27 63f879dbbcfc: Pull complete 02:27:31 0d9ebad4ef96: Pull complete 02:27:31 e9a5061849ea: Pull complete 02:27:31 d747dcd14b5f: Pull complete 02:27:32 2de7ff778b66: Pull complete 02:27:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:27:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:27:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:27:32 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:35 $ docker top ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:27:35 provisioning config files... 02:27:35 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config433558024112444201tmp 02:27:35 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3086934393717786310tmp 02:27:35 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1864701802328600788tmp [Pipeline] { [Pipeline] echo 02:27:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:27:35 ---> sigul-configuration.sh 02:27:35 gpg: directory `/root/.gnupg' created 02:27:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:27:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:27:35 gpg: keyring `/root/.gnupg/secring.gpg' created 02:27:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:27:35 gpg: CAST5 encrypted data 02:27:35 gpg: encrypted with 1 passphrase 02:27:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:27:36 + mkdir /home/jenkins 02:27:36 + mkdir /home/jenkins/sigul [Pipeline] sh 02:27:36 + 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 02:27:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:27:36 ---> sigul-install.sh 02:27:36 Sigul already installed; skipping installation. [Pipeline] sh 02:27:37 + git tag --list 02:27:37 v0.0.0 [Pipeline] sh 02:27:37 + lftools sign git-tag v0.0.0 02:27:37 Signing Git tag with Sigul... 02:27:37 Signing v0.0.0 [Pipeline] echo 02:27:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:27:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:27:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:27:38 $ docker stop --time=1 ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 02:27:39 $ docker rm -f ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:27:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:27:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:27:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:27:40 . [Pipeline] withDockerContainer 02:27:40 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:41 $ docker top b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:27:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:27:41 [ssh-agent] Looking for ssh-agent implementation... 02:27:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:27:41 $ docker exec b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc ssh-agent 02:27:41 SSH_AUTH_SOCK=/tmp/ssh-qoW4Gw5YOpCb/agent.32 02:27:41 SSH_AGENT_PID=38 02:27:41 Running ssh-add (command line suppressed) 02:27:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7832692922679732598.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7832692922679732598.key) 02:27:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:27:41 + git semver bump pre 02:27:42 2022-05-19 02:27:41,994 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:42 2022-05-19 02:27:41,995 [bump_version] DEBUG bumping version:0.0.0 on axis:pre with prefix:dev 02:27:42 2022-05-19 02:27:41,995 [bump_version] DEBUG bumped version:0.0.1-dev.1 02:27:42 2022-05-19 02:27:41,995 [write_version] DEBUG write version:0.0.1-dev.1 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 02:27:42 2022-05-19 02:27:41,995 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:42 2022-05-19 02:27:41,995 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:42 2022-05-19 02:27:41,997 [execute] INFO git cat-file --batch-check 02:27:42 2022-05-19 02:27:41,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:27:42 2022-05-19 02:27:42,002 [execute] INFO git cat-file --batch 02:27:42 2022-05-19 02:27:42,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 02:27:42 2022-05-19 02:27:42,008 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:42 0.0.1-dev.1 [Pipeline] } 02:27:42 $ docker exec --env ******** --env ******** b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc ssh-agent -k 02:27:42 unset SSH_AUTH_SOCK; 02:27:42 unset SSH_AGENT_PID; 02:27:42 echo Agent pid 38 killed; 02:27:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:27:42 + git semver [Pipeline] } 02:27:42 $ docker stop --time=1 b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc 02:27:44 $ docker rm -f b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc [Pipeline] // withDockerContainer [Pipeline] sh 02:27:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:27:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:27:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:27:44 . [Pipeline] withDockerContainer 02:27:44 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:45 $ docker top c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:27:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:27:45 [ssh-agent] Looking for ssh-agent implementation... 02:27:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:27:45 $ docker exec c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 ssh-agent 02:27:45 SSH_AUTH_SOCK=/tmp/ssh-tZphLhYLaX6x/agent.33 02:27:45 SSH_AGENT_PID=40 02:27:45 Running ssh-add (command line suppressed) 02:27:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4938632921408888065.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4938632921408888065.key) 02:27:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:27:46 + git semver push 02:27:46 2022-05-19 02:27:46,276 [run_push] DEBUG push 02:27:46 2022-05-19 02:27:46,277 [execute] INFO git push origin semver 02:27:46 2022-05-19 02:27:46,277 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 02:27:47 2022-05-19 02:27:46,954 [run_push] DEBUG push all version tags 02:27:47 2022-05-19 02:27:46,955 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:27:47 2022-05-19 02:27:46,955 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 02:27:47 2022-05-19 02:27:47,605 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:27:47 0.0.1-dev.1 [Pipeline] } 02:27:47 $ docker exec --env ******** --env ******** c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 ssh-agent -k 02:27:47 unset SSH_AUTH_SOCK; 02:27:47 unset SSH_AGENT_PID; 02:27:47 echo Agent pid 40 killed; 02:27:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:27:48 + git semver [Pipeline] } 02:27:48 $ docker stop --time=1 c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 02:27:49 $ docker rm -f c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 [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 02:27:50 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 02:27:50 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 02:27:50 total 16 02:27:50 drwxr-xr-x 3 root root 4096 May 19 02:18 . 02:27:50 drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:27 .. 02:27:50 drwxr-xr-x 2 root root 4096 May 19 02:18 cost 02:27:50 -rw-r--r-- 1 root root 88 May 19 02:18 cost.csv 02:27:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 02:27:50 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 02:27:50 total 16 02:27:50 drwxr-xr-x 3 jenkins jenkins 4096 May 19 02:18 . 02:27:50 drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:27 .. 02:27:50 drwxr-xr-x 2 jenkins jenkins 4096 May 19 02:18 cost 02:27:50 -rw-r--r-- 1 jenkins jenkins 88 May 19 02:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:27:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:27:51 ---> package-listing.sh 02:27:51 ++ facter osfamily 02:27:51 ++ tr '[:upper:]' '[:lower:]' 02:27:51 + OS_FAMILY=debian 02:27:51 + workspace=/w/workspace/foundry_device-onvif-camera_main 02:27:51 + START_PACKAGES=/tmp/packages_start.txt 02:27:51 + END_PACKAGES=/tmp/packages_end.txt 02:27:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:27:51 + PACKAGES=/tmp/packages_start.txt 02:27:51 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 02:27:51 + PACKAGES=/tmp/packages_end.txt 02:27:51 + case "${OS_FAMILY}" in 02:27:51 + dpkg -l 02:27:51 + grep '^ii' 02:27:51 + '[' -f /tmp/packages_start.txt ']' 02:27:51 + '[' -f /tmp/packages_end.txt ']' 02:27:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:27:51 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 02:27:51 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 02:27:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 02:27:51 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:27:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:27:52 . [Pipeline] withDockerContainer 02:27:52 prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container 02:27:52 $ 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/foundry_device-onvif-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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-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 02:27:53 $ docker top f49e2eb2fb7d12ee7c5466a85265a089dc92f26aff311480efba99a269aeb048 -eo pid,comm [Pipeline] { [Pipeline] sh 02:27:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:27:53 + mkdir -p /var/log/sysstat [Pipeline] sh 02:27:54 + ls /var/log/sa-host 02:27:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:27:54 provisioning config files... 02:27:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8507967218165155744tmp [Pipeline] { [Pipeline] echo 02:27:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:27:54 ---> create-netrc.sh [Pipeline] } 02:27:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:27:54 ---> python-tools-install.sh [Pipeline] echo 02:27:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:27:55 ---> sudo-logs.sh 02:27:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:27:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:27:55 ---> job-cost.sh 02:27:55 lf-activate-venv: SKIPPING 02:27:55 DEBUG: total: 0.2199999988079071 02:27:55 INFO: Retrieving Stack Cost... 02:27:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:27:56 INFO: Archiving Costs [Pipeline] echo 02:27:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:27:56 ---> logs-deploy.sh 02:27:56 lf-activate-venv: SKIPPING 02:27:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/2 02:27:56 INFO: archiving workspace using pattern(s): 02:27:57 Archives upload complete. 02:27:57 INFO: archiving logs to Nexus