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 [2022-05-19T02:16:18.331Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-19T02:16:18.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-19T02:16:18.386Z] ========================================================= [2022-05-19T02:16:18.386Z] EdgeX Global Pipelines Version Info [2022-05-19T02:16:18.386Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:16:19.144Z] ------------------- [2022-05-19T02:16:19.144Z] stable info: [2022-05-19T02:16:19.144Z] ------------------- [2022-05-19T02:16:19.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-19T02:16:19.144Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-19T02:16:19.144Z] Message: update stable to v1.0.230 [2022-05-19T02:16:19.716Z] ------------------- [2022-05-19T02:16:19.716Z] experimental info: [2022-05-19T02:16:19.716Z] ------------------- [2022-05-19T02:16:19.716Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-19T02:16:19.716Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-19T02:16:19.716Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-19T02:16:19.855Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-05-19T02:16:19.868Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-05-19T02:16:19.881Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-19T02:16:19.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-19T02:16:19.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-19T02:16:19.924Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-19T02:16:19.938Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-19T02:16:19.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-19T02:16:19.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-19T02:16:19.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-19T02:16:19.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-19T02:16:20.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-05-19T02:16:20.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-19T02:16:20.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-19T02:16:20.041Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-19T02:16:20.056Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-19T02:16:20.067Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T02:16:20.079Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-19T02:16:20.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-19T02:16:20.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-19T02:16:20.126Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-19T02:16:20.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-19T02:16:20.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-19T02:16:20.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-19T02:16:20.177Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-19T02:16:20.188Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-19T02:16:20.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-19T02:16:20.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-19T02:16:20.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-19T02:16:20.255Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo [2022-05-19T02:16:20.302Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84b3359 [Pipeline] echo [2022-05-19T02:16:20.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-19T02:16:20.367Z] provisioning config files... [2022-05-19T02:16:20.381Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4700100184249936571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:16:20.689Z] ---> docker-login.sh [2022-05-19T02:16:20.689Z] nexus3.edgexfoundry.org:10001 [2022-05-19T02:16:21.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:21.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:21.520Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:21.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:21.520Z] [2022-05-19T02:16:21.520Z] Login Succeeded [2022-05-19T02:16:21.520Z] nexus3.edgexfoundry.org:10002 [2022-05-19T02:16:21.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:21.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:21.520Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:21.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:21.520Z] [2022-05-19T02:16:21.520Z] Login Succeeded [2022-05-19T02:16:21.520Z] nexus3.edgexfoundry.org:10003 [2022-05-19T02:16:21.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:21.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:21.781Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:21.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:21.781Z] [2022-05-19T02:16:21.781Z] Login Succeeded [2022-05-19T02:16:21.781Z] nexus3.edgexfoundry.org:10004 [2022-05-19T02:16:21.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:21.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:21.781Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:21.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:21.781Z] [2022-05-19T02:16:21.781Z] Login Succeeded [2022-05-19T02:16:21.781Z] docker.io [2022-05-19T02:16:22.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:22.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:22.304Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:22.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:22.304Z] [2022-05-19T02:16:22.304Z] Login Succeeded [2022-05-19T02:16:22.304Z] ---> docker-login.sh ends [Pipeline] } [2022-05-19T02:16:22.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-19T02:16:22.690Z] + git rev-list -1 --merges 84b3359fcb453f79206b07ec4bf8f15846aef2e0~1..84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo [2022-05-19T02:16:22.826Z] -----------> git rev-list -1 --merges 84b3359fcb453f79206b07ec4bf8f15846aef2e0~1..84b3359fcb453f79206b07ec4bf8f15846aef2e0 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:16:22.826Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [false] [Pipeline] sh [2022-05-19T02:16:23.122Z] + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo [2022-05-19T02:16:23.140Z] ========================================================= [2022-05-19T02:16:23.140Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-19T02:16:23.140Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-19T02:16:23.491Z] + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] echo [2022-05-19T02:16:23.503Z] [semverPrep] GIT_COMMIT: 84b3359fcb453f79206b07ec4bf8f15846aef2e0, Commit Message: Merge pull request #61 from edgexfoundry-holding/issue-56 [Pipeline] echo [2022-05-19T02:16:23.511Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-19T02:16:23.899Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-19T02:16:23.899Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-19T02:16:23.899Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-19T02:16:23.899Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-19T02:16:23.899Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-19T02:16:23.899Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-19T02:16:23.900Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:16:24.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:16:24.254Z] [2022-05-19T02:16:24.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:16:24.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:16:24.569Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-19T02:16:24.569Z] 1fe172e4850f: Pulling fs layer [2022-05-19T02:16:24.569Z] caf521ccaac6: Pulling fs layer [2022-05-19T02:16:24.569Z] 3ead6fa29328: Pulling fs layer [2022-05-19T02:16:24.569Z] 5c2a1cbceb83: Pulling fs layer [2022-05-19T02:16:24.569Z] a8d5f1318db7: Pulling fs layer [2022-05-19T02:16:24.569Z] c427282e49a2: Pulling fs layer [2022-05-19T02:16:24.569Z] 1827001aaf11: Pulling fs layer [2022-05-19T02:16:24.569Z] 0714d37db230: Pulling fs layer [2022-05-19T02:16:24.569Z] ac28cf19c067: Pulling fs layer [2022-05-19T02:16:24.569Z] ca983d60f3e2: Pulling fs layer [2022-05-19T02:16:24.569Z] 9f894cec8388: Pulling fs layer [2022-05-19T02:16:24.569Z] 5c2a1cbceb83: Waiting [2022-05-19T02:16:24.569Z] a8d5f1318db7: Waiting [2022-05-19T02:16:24.569Z] c427282e49a2: Waiting [2022-05-19T02:16:24.569Z] 1827001aaf11: Waiting [2022-05-19T02:16:24.569Z] 0714d37db230: Waiting [2022-05-19T02:16:24.569Z] ac28cf19c067: Waiting [2022-05-19T02:16:24.569Z] 9f894cec8388: Waiting [2022-05-19T02:16:24.569Z] ca983d60f3e2: Waiting [2022-05-19T02:16:24.569Z] caf521ccaac6: Download complete [2022-05-19T02:16:24.569Z] 5c2a1cbceb83: Verifying Checksum [2022-05-19T02:16:24.569Z] 5c2a1cbceb83: Download complete [2022-05-19T02:16:24.829Z] a8d5f1318db7: Verifying Checksum [2022-05-19T02:16:24.829Z] a8d5f1318db7: Download complete [2022-05-19T02:16:24.829Z] c427282e49a2: Verifying Checksum [2022-05-19T02:16:24.829Z] c427282e49a2: Download complete [2022-05-19T02:16:24.829Z] 3ead6fa29328: Verifying Checksum [2022-05-19T02:16:24.829Z] 3ead6fa29328: Download complete [2022-05-19T02:16:24.829Z] 0714d37db230: Download complete [2022-05-19T02:16:24.829Z] ac28cf19c067: Download complete [2022-05-19T02:16:24.829Z] ca983d60f3e2: Download complete [2022-05-19T02:16:24.829Z] 9f894cec8388: Verifying Checksum [2022-05-19T02:16:24.829Z] 9f894cec8388: Download complete [2022-05-19T02:16:24.829Z] 1fe172e4850f: Verifying Checksum [2022-05-19T02:16:24.829Z] 1fe172e4850f: Download complete [2022-05-19T02:16:25.088Z] 1827001aaf11: Verifying Checksum [2022-05-19T02:16:25.088Z] 1827001aaf11: Download complete [2022-05-19T02:16:26.472Z] 1fe172e4850f: Pull complete [2022-05-19T02:16:26.472Z] caf521ccaac6: Pull complete [2022-05-19T02:16:27.038Z] 3ead6fa29328: Pull complete [2022-05-19T02:16:27.038Z] 5c2a1cbceb83: Pull complete [2022-05-19T02:16:27.298Z] a8d5f1318db7: Pull complete [2022-05-19T02:16:27.556Z] c427282e49a2: Pull complete [2022-05-19T02:16:29.467Z] 1827001aaf11: Pull complete [2022-05-19T02:16:29.467Z] 0714d37db230: Pull complete [2022-05-19T02:16:29.467Z] ac28cf19c067: Pull complete [2022-05-19T02:16:29.467Z] ca983d60f3e2: Pull complete [2022-05-19T02:16:29.467Z] 9f894cec8388: Pull complete [2022-05-19T02:16:29.727Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-19T02:16:29.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:16:29.727Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-19T02:16:29.800Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:16:29.849Z] $ 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 [2022-05-19T02:16:32.466Z] $ docker top 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b -eo pid,comm [2022-05-19T02:16:32.525Z] 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). [2022-05-19T02:16:32.525Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-19T02:16:32.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T02:16:32.568Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T02:16:32.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T02:16:32.718Z] $ docker exec 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent [2022-05-19T02:16:32.828Z] SSH_AUTH_SOCK=/tmp/ssh-lmZWkGcADzGm/agent.32 [2022-05-19T02:16:32.828Z] SSH_AGENT_PID=38 [2022-05-19T02:16:32.836Z] Running ssh-add (command line suppressed) [2022-05-19T02:16:32.956Z] 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) [2022-05-19T02:16:32.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T02:16:33.266Z] + git tag --points-at HEAD [Pipeline] } [2022-05-19T02:16:33.287Z] $ docker exec --env ******** --env ******** 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent -k [2022-05-19T02:16:33.397Z] unset SSH_AUTH_SOCK; [2022-05-19T02:16:33.397Z] unset SSH_AGENT_PID; [2022-05-19T02:16:33.397Z] echo Agent pid 38 killed; [2022-05-19T02:16:33.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-19T02:16:33.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T02:16:33.429Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T02:16:33.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T02:16:33.570Z] $ docker exec 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent [2022-05-19T02:16:33.687Z] SSH_AUTH_SOCK=/tmp/ssh-6hFIhCYFZBao/agent.71 [2022-05-19T02:16:33.687Z] SSH_AGENT_PID=77 [2022-05-19T02:16:33.693Z] Running ssh-add (command line suppressed) [2022-05-19T02:16:33.804Z] 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) [2022-05-19T02:16:33.818Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T02:16:34.109Z] + git semver init [2022-05-19T02:16:34.370Z] 2022-05-19 02:16:34,329 [run_init] DEBUG init version:0.0.0 force:False [2022-05-19T02:16:34.370Z] 2022-05-19 02:16:34,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2022-05-19T02:16:34.370Z] 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 [2022-05-19T02:16:34.370Z] 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) [2022-05-19T02:16:35.314Z] 2022-05-19 02:16:34,964 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2022-05-19T02:16:35.314Z] 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 [2022-05-19T02:16:35.314Z] 2022-05-19 02:16:34,965 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:16:35.314Z] 2022-05-19 02:16:34,969 [execute] INFO git cat-file --batch-check [2022-05-19T02:16:35.314Z] 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=) [2022-05-19T02:16:35.314Z] 2022-05-19 02:16:34,974 [execute] INFO git cat-file --batch [2022-05-19T02:16:35.314Z] 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=) [2022-05-19T02:16:35.314Z] 2022-05-19 02:16:34,980 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:16:35.314Z] 0.0.0 [Pipeline] } [2022-05-19T02:16:35.327Z] $ docker exec --env ******** --env ******** 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b ssh-agent -k [2022-05-19T02:16:35.444Z] unset SSH_AUTH_SOCK; [2022-05-19T02:16:35.445Z] unset SSH_AGENT_PID; [2022-05-19T02:16:35.445Z] echo Agent pid 77 killed; [2022-05-19T02:16:35.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-19T02:16:35.778Z] + git semver [Pipeline] } [2022-05-19T02:16:36.064Z] $ docker stop --time=1 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b [2022-05-19T02:16:37.449Z] $ docker rm -f 252c769b769acd6baccad4997de4990889bbe9701512244d8074e3eb799a834b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T02:16:37.809Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-19T02:16:38.138Z] Stashed 1 file(s) [Pipeline] echo [2022-05-19T02:16:38.142Z] [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 [2022-05-19T02:16:38.302Z] provisioning config files... [2022-05-19T02:16:38.310Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2578601342169702979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:16:38.612Z] ---> docker-login.sh [2022-05-19T02:16:38.612Z] nexus3.edgexfoundry.org:10001 [2022-05-19T02:16:38.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:38.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:38.612Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:38.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:38.612Z] [2022-05-19T02:16:38.612Z] Login Succeeded [2022-05-19T02:16:38.612Z] nexus3.edgexfoundry.org:10002 [2022-05-19T02:16:38.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:38.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:38.873Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:38.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:38.873Z] [2022-05-19T02:16:38.873Z] Login Succeeded [2022-05-19T02:16:38.873Z] nexus3.edgexfoundry.org:10003 [2022-05-19T02:16:38.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:38.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:38.873Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:38.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:38.873Z] [2022-05-19T02:16:38.873Z] Login Succeeded [2022-05-19T02:16:38.873Z] nexus3.edgexfoundry.org:10004 [2022-05-19T02:16:39.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:39.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:39.134Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:39.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:39.135Z] [2022-05-19T02:16:39.135Z] Login Succeeded [2022-05-19T02:16:39.135Z] docker.io [2022-05-19T02:16:39.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:16:39.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:16:39.395Z] Configure a credential helper to remove this warning. See [2022-05-19T02:16:39.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:16:39.395Z] [2022-05-19T02:16:39.395Z] Login Succeeded [2022-05-19T02:16:39.395Z] ---> docker-login.sh ends [Pipeline] } [2022-05-19T02:16:39.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-19T02:16:39.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T02:16:39.487Z] ========================================================= [2022-05-19T02:16:39.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-19T02:16:39.487Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:16:39.795Z] + 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 . [2022-05-19T02:16:39.795Z] Sending build context to Docker daemon 8.535MB [2022-05-19T02:16:39.795Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-19T02:16:39.795Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-19T02:16:39.795Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-19T02:16:39.795Z] 59bf1c3509f3: Pulling fs layer [2022-05-19T02:16:39.795Z] 666ba61612fd: Pulling fs layer [2022-05-19T02:16:39.795Z] 8ed8ca486205: Pulling fs layer [2022-05-19T02:16:39.795Z] 4fe6c5a15a65: Pulling fs layer [2022-05-19T02:16:39.795Z] 22a0e8bec74d: Pulling fs layer [2022-05-19T02:16:39.795Z] ca2b28591e48: Pulling fs layer [2022-05-19T02:16:39.795Z] a51346096db8: Pulling fs layer [2022-05-19T02:16:39.795Z] daebc70d1ce1: Pulling fs layer [2022-05-19T02:16:39.795Z] 0e18a0eac166: Pulling fs layer [2022-05-19T02:16:39.795Z] a51346096db8: Waiting [2022-05-19T02:16:39.795Z] 22a0e8bec74d: Waiting [2022-05-19T02:16:39.795Z] ca2b28591e48: Waiting [2022-05-19T02:16:39.795Z] 0e18a0eac166: Waiting [2022-05-19T02:16:39.795Z] 4fe6c5a15a65: Waiting [2022-05-19T02:16:39.795Z] 8ed8ca486205: Verifying Checksum [2022-05-19T02:16:39.795Z] 8ed8ca486205: Download complete [2022-05-19T02:16:40.056Z] 666ba61612fd: Download complete [2022-05-19T02:16:40.056Z] 22a0e8bec74d: Verifying Checksum [2022-05-19T02:16:40.056Z] 22a0e8bec74d: Download complete [2022-05-19T02:16:40.056Z] ca2b28591e48: Verifying Checksum [2022-05-19T02:16:40.056Z] ca2b28591e48: Download complete [2022-05-19T02:16:40.056Z] 59bf1c3509f3: Verifying Checksum [2022-05-19T02:16:40.056Z] 59bf1c3509f3: Download complete [2022-05-19T02:16:40.056Z] a51346096db8: Verifying Checksum [2022-05-19T02:16:40.056Z] a51346096db8: Download complete [2022-05-19T02:16:40.056Z] daebc70d1ce1: Verifying Checksum [2022-05-19T02:16:40.056Z] daebc70d1ce1: Download complete [2022-05-19T02:16:40.056Z] 59bf1c3509f3: Pull complete [2022-05-19T02:16:40.318Z] 666ba61612fd: Pull complete [2022-05-19T02:16:40.318Z] 8ed8ca486205: Pull complete [2022-05-19T02:16:40.579Z] 0e18a0eac166: Verifying Checksum [2022-05-19T02:16:40.579Z] 0e18a0eac166: Download complete [2022-05-19T02:16:40.840Z] 4fe6c5a15a65: Verifying Checksum [2022-05-19T02:16:40.840Z] 4fe6c5a15a65: Download complete [2022-05-19T02:16:45.039Z] 4fe6c5a15a65: Pull complete [2022-05-19T02:16:45.039Z] 22a0e8bec74d: Pull complete [2022-05-19T02:16:45.039Z] ca2b28591e48: Pull complete [2022-05-19T02:16:45.039Z] a51346096db8: Pull complete [2022-05-19T02:16:45.039Z] daebc70d1ce1: Pull complete [2022-05-19T02:16:46.948Z] 0e18a0eac166: Pull complete [2022-05-19T02:16:46.948Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-19T02:16:46.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-19T02:16:46.948Z] ---> f018257e8ee9 [2022-05-19T02:16:46.948Z] Step 3/13 : ARG MAKE="make build" [2022-05-19T02:16:48.865Z] ---> Running in ec058f200765 [2022-05-19T02:16:48.865Z] Removing intermediate container ec058f200765 [2022-05-19T02:16:48.865Z] ---> 7607d8f6e354 [2022-05-19T02:16:48.865Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-19T02:16:48.865Z] ---> Running in 260c1c9d9aa1 [2022-05-19T02:16:48.865Z] Removing intermediate container 260c1c9d9aa1 [2022-05-19T02:16:48.865Z] ---> 02c32c9ef350 [2022-05-19T02:16:48.865Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-19T02:16:48.865Z] ---> Running in 589498f9103f [2022-05-19T02:16:49.124Z] Removing intermediate container 589498f9103f [2022-05-19T02:16:49.124Z] ---> 61d241309b8f [2022-05-19T02:16:49.124Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-19T02:16:49.124Z] ---> Running in 1710998de03e [2022-05-19T02:16:49.124Z] Removing intermediate container 1710998de03e [2022-05-19T02:16:49.124Z] ---> 26c95907f649 [2022-05-19T02:16:49.124Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-19T02:16:49.124Z] ---> Running in 64f052f69dc0 [2022-05-19T02:16:50.073Z] Removing intermediate container 64f052f69dc0 [2022-05-19T02:16:50.073Z] ---> e480641a67a0 [2022-05-19T02:16:50.073Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-19T02:16:50.073Z] ---> Running in 6cf2fa914778 [2022-05-19T02:16:50.335Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-19T02:16:51.279Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-19T02:16:51.279Z] OK: 221 MiB in 52 packages [2022-05-19T02:16:51.848Z] Removing intermediate container 6cf2fa914778 [2022-05-19T02:16:51.848Z] ---> ac197052ae2f [2022-05-19T02:16:51.848Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-19T02:16:51.848Z] ---> Running in 582f4d030366 [2022-05-19T02:16:51.848Z] Removing intermediate container 582f4d030366 [2022-05-19T02:16:51.848Z] ---> 6995bdbf89ad [2022-05-19T02:16:51.848Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-19T02:16:52.107Z] ---> 5e15af3f7294 [2022-05-19T02:16:52.107Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-19T02:16:52.107Z] ---> Running in 08f918397543 [2022-05-19T02:16:53.254Z] Still waiting to schedule task [2022-05-19T02:16:53.255Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-64069’ is offline [2022-05-19T02:17:10.446Z] Removing intermediate container 08f918397543 [2022-05-19T02:17:10.446Z] ---> 6919b2492026 [2022-05-19T02:17:10.446Z] Step 12/13 : COPY . . [2022-05-19T02:17:10.446Z] ---> aecd4af1d125 [2022-05-19T02:17:10.446Z] Step 13/13 : RUN ${MAKE} [2022-05-19T02:17:10.446Z] ---> Running in f0199bd6d7e6 [2022-05-19T02:17:10.446Z] noop [2022-05-19T02:17:10.446Z] Removing intermediate container f0199bd6d7e6 [2022-05-19T02:17:10.446Z] ---> a0e146a2ab31 [2022-05-19T02:17:10.446Z] Successfully built a0e146a2ab31 [2022-05-19T02:17:10.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:17:10.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-19T02:17:10.751Z] . [Pipeline] withDockerContainer [2022-05-19T02:17:10.832Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:17:10.875Z] $ 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 [2022-05-19T02:17:11.299Z] $ docker top d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T02:17:11.683Z] + go version [2022-05-19T02:17:11.683Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-19T02:17:11.706Z] $ docker stop --time=1 d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e [2022-05-19T02:17:13.031Z] $ docker rm -f d50831a4cf034967a1f5fa64207ce3e74fdcfe04df3c3c66275923849a3b200e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:17:13.471Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-19T02:17:13.471Z] . [Pipeline] withDockerContainer [2022-05-19T02:17:13.557Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:17:13.595Z] $ 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 [2022-05-19T02:17:14.007Z] $ docker top 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-19T02:17:14.369Z] + make test [2022-05-19T02:17:14.369Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-19T02:17:14.628Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-19T02:17:24.620Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-19T02:17:24.620Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.0% of statements [2022-05-19T02:17:31.190Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-19T02:17:34.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T02:17:34.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-19T02:17:34.484Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-19T02:17:35.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-19T02:17:35.102Z] $ docker stop --time=1 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 [2022-05-19T02:17:37.219Z] $ docker rm -f 8577b7f00a2821432eb92f4d7d2bf6d9808378dd716aa5f80f7005a5dc69e476 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T02:17:37.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-19T02:17:37.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-19T02:17:38.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-19T02:17:38.876Z] + ls -al . [2022-05-19T02:17:38.876Z] total 216 [2022-05-19T02:17:38.876Z] drwxrwxr-x 9 jenkins jenkins 4096 May 19 02:17 . [2022-05-19T02:17:38.876Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:16 .. [2022-05-19T02:17:38.876Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:16 .git [2022-05-19T02:17:38.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:16 .github [2022-05-19T02:17:38.876Z] -rw-rw-r-- 1 jenkins jenkins 352 May 19 02:16 .gitignore [2022-05-19T02:17:38.876Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 02:16 .golangci.yml [2022-05-19T02:17:38.876Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 02:16 .semver [2022-05-19T02:17:38.876Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 19 02:16 Attribution.txt [2022-05-19T02:17:38.876Z] -rw-rw-r-- 1 jenkins jenkins 189 May 19 02:16 CHANGELOG.md [2022-05-19T02:17:38.876Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 19 02:16 Dockerfile [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 02:16 GOVERNANCE.md [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 660 May 19 02:16 Jenkinsfile [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 02:16 LICENSE [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 2161 May 19 02:16 Makefile [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 625 May 19 02:16 OWNERS.md [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 19 02:16 README.md [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 02:16 VERSION [2022-05-19T02:17:38.877Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:16 bin [2022-05-19T02:17:38.877Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:16 cmd [2022-05-19T02:17:38.877Z] -rw-r--r-- 1 jenkins jenkins 37307 May 19 02:17 coverage.out [2022-05-19T02:17:38.877Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:16 doc [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 3553 May 19 02:16 go.mod [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 37278 May 19 02:16 go.sum [2022-05-19T02:17:38.877Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:16 internal [2022-05-19T02:17:38.877Z] -rw-rw-r-- 1 jenkins jenkins 236 May 19 02:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:17:39.194Z] + 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 . [2022-05-19T02:17:39.194Z] Sending build context to Docker daemon 8.573MB [2022-05-19T02:17:39.194Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-19T02:17:39.194Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-19T02:17:39.194Z] ---> a0e146a2ab31 [2022-05-19T02:17:39.194Z] Step 3/26 : ARG MAKE="make build" [2022-05-19T02:17:39.454Z] ---> Running in a148f1319cac [2022-05-19T02:17:39.454Z] Removing intermediate container a148f1319cac [2022-05-19T02:17:39.454Z] ---> 3359f7250171 [2022-05-19T02:17:39.454Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-19T02:17:39.454Z] ---> Running in c64e0c6abea8 [2022-05-19T02:17:39.714Z] Removing intermediate container c64e0c6abea8 [2022-05-19T02:17:39.714Z] ---> 611431c6677b [2022-05-19T02:17:39.714Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-19T02:17:39.714Z] ---> Running in 6ad9f945ed96 [2022-05-19T02:17:39.714Z] Removing intermediate container 6ad9f945ed96 [2022-05-19T02:17:39.714Z] ---> 8a010bd0e512 [2022-05-19T02:17:39.714Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-19T02:17:39.714Z] ---> Running in a3ac9acaaa32 [2022-05-19T02:17:39.975Z] Removing intermediate container a3ac9acaaa32 [2022-05-19T02:17:39.975Z] ---> 741ca15d4a9b [2022-05-19T02:17:39.975Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-19T02:17:39.975Z] ---> Running in 5108ef3bdb34 [2022-05-19T02:17:40.918Z] Removing intermediate container 5108ef3bdb34 [2022-05-19T02:17:40.918Z] ---> 24b4c793f90b [2022-05-19T02:17:40.918Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-19T02:17:40.918Z] ---> Running in 51f235e85aae [2022-05-19T02:17:41.178Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-19T02:17:42.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-19T02:17:42.119Z] OK: 221 MiB in 52 packages [2022-05-19T02:17:42.689Z] Removing intermediate container 51f235e85aae [2022-05-19T02:17:42.689Z] ---> fc6c6588e012 [2022-05-19T02:17:42.689Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-19T02:17:42.689Z] ---> Running in 0437a4cc376f [2022-05-19T02:17:42.689Z] Removing intermediate container 0437a4cc376f [2022-05-19T02:17:42.689Z] ---> 0077a04c1e2f [2022-05-19T02:17:42.689Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-19T02:17:42.950Z] ---> 140ccb7b77b1 [2022-05-19T02:17:42.950Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-19T02:17:42.950Z] ---> Running in 71454c94fdbb [2022-05-19T02:17:43.522Z] Removing intermediate container 71454c94fdbb [2022-05-19T02:17:43.522Z] ---> 6f72f75b891e [2022-05-19T02:17:43.522Z] Step 12/26 : COPY . . [2022-05-19T02:17:44.093Z] ---> 24141444b982 [2022-05-19T02:17:44.093Z] Step 13/26 : RUN ${MAKE} [2022-05-19T02:17:44.093Z] ---> Running in 342c7e81a2b2 [2022-05-19T02:17:44.352Z] 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 [2022-05-19T02:18:06.312Z] Removing intermediate container 342c7e81a2b2 [2022-05-19T02:18:06.312Z] ---> cfcb318004c3 [2022-05-19T02:18:06.312Z] Step 14/26 : FROM alpine:3.15 [2022-05-19T02:18:06.312Z] 3.15: Pulling from library/alpine [2022-05-19T02:18:06.312Z] df9b9388f04a: Pulling fs layer [2022-05-19T02:18:06.312Z] df9b9388f04a: Verifying Checksum [2022-05-19T02:18:06.312Z] df9b9388f04a: Download complete [2022-05-19T02:18:06.312Z] df9b9388f04a: Pull complete [2022-05-19T02:18:06.312Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-19T02:18:06.312Z] Status: Downloaded newer image for alpine:3.15 [2022-05-19T02:18:06.312Z] ---> 0ac33e5f5afa [2022-05-19T02:18:06.312Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-19T02:18:06.312Z] ---> Running in abecd64c9f67 [2022-05-19T02:18:06.312Z] Removing intermediate container abecd64c9f67 [2022-05-19T02:18:06.312Z] ---> 69adf06c13ee [2022-05-19T02:18:06.312Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-19T02:18:06.312Z] ---> Running in 70239bf2f679 [2022-05-19T02:18:06.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-19T02:18:06.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-19T02:18:06.312Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-19T02:18:06.312Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-19T02:18:06.312Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-19T02:18:06.312Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-19T02:18:06.312Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-19T02:18:06.312Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-19T02:18:06.312Z] Executing busybox-1.34.1-r5.trigger [2022-05-19T02:18:06.312Z] OK: 8 MiB in 20 packages [2022-05-19T02:18:06.312Z] Removing intermediate container 70239bf2f679 [2022-05-19T02:18:06.312Z] ---> 9cb67f8e8c4e [2022-05-19T02:18:06.312Z] Step 17/26 : WORKDIR / [2022-05-19T02:18:06.312Z] ---> Running in 8c0920bf87d1 [2022-05-19T02:18:06.312Z] Removing intermediate container 8c0920bf87d1 [2022-05-19T02:18:06.312Z] ---> 6c4a006db169 [2022-05-19T02:18:06.312Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-19T02:18:06.886Z] ---> ae23f02aba41 [2022-05-19T02:18:06.886Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-19T02:18:07.147Z] ---> 71a04d2b5118 [2022-05-19T02:18:07.147Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-19T02:18:07.409Z] ---> 455e32b6fbb9 [2022-05-19T02:18:07.409Z] Step 21/26 : EXPOSE 59984 [2022-05-19T02:18:07.409Z] ---> Running in bafa4f5a55f0 [2022-05-19T02:18:07.409Z] Removing intermediate container bafa4f5a55f0 [2022-05-19T02:18:07.409Z] ---> 0d6e89270c8d [2022-05-19T02:18:07.409Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-19T02:18:07.409Z] ---> Running in b887aadda75a [2022-05-19T02:18:07.669Z] Removing intermediate container b887aadda75a [2022-05-19T02:18:07.669Z] ---> f0517d874a6d [2022-05-19T02:18:07.669Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-19T02:18:07.669Z] ---> Running in 7ad5d49c98e3 [2022-05-19T02:18:07.669Z] Removing intermediate container 7ad5d49c98e3 [2022-05-19T02:18:07.669Z] ---> 35cd25cc0011 [2022-05-19T02:18:07.669Z] Step 24/26 : LABEL arch=amd64 [2022-05-19T02:18:07.669Z] ---> Running in 646207f72591 [2022-05-19T02:18:07.929Z] Removing intermediate container 646207f72591 [2022-05-19T02:18:07.930Z] ---> 1ce539d63b8e [2022-05-19T02:18:07.930Z] Step 25/26 : LABEL git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:18:07.930Z] ---> Running in 39a96b8ee625 [2022-05-19T02:18:07.930Z] Removing intermediate container 39a96b8ee625 [2022-05-19T02:18:07.930Z] ---> 1624bdb7a00c [2022-05-19T02:18:07.930Z] Step 26/26 : LABEL version=0.0.0 [2022-05-19T02:18:07.930Z] ---> Running in 1eb14ca8525c [2022-05-19T02:18:08.191Z] Removing intermediate container 1eb14ca8525c [2022-05-19T02:18:08.191Z] ---> 1bc172564232 [2022-05-19T02:18:08.191Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-19T02:18:08.191Z] Successfully built 1bc172564232 [2022-05-19T02:18:08.191Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-19T02:18:08.305Z] provisioning config files... [2022-05-19T02:18:08.317Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8051849458122555281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:18:08.621Z] ---> docker-login.sh [2022-05-19T02:18:08.621Z] nexus3.edgexfoundry.org:10001 [2022-05-19T02:18:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:18:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:18:08.621Z] Configure a credential helper to remove this warning. See [2022-05-19T02:18:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:18:08.621Z] [2022-05-19T02:18:08.621Z] Login Succeeded [2022-05-19T02:18:08.621Z] nexus3.edgexfoundry.org:10002 [2022-05-19T02:18:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:18:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:18:08.621Z] Configure a credential helper to remove this warning. See [2022-05-19T02:18:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:18:08.621Z] [2022-05-19T02:18:08.621Z] Login Succeeded [2022-05-19T02:18:08.881Z] nexus3.edgexfoundry.org:10003 [2022-05-19T02:18:08.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:18:08.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:18:08.881Z] Configure a credential helper to remove this warning. See [2022-05-19T02:18:08.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:18:08.881Z] [2022-05-19T02:18:08.881Z] Login Succeeded [2022-05-19T02:18:08.881Z] nexus3.edgexfoundry.org:10004 [2022-05-19T02:18:09.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:18:09.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:18:09.142Z] Configure a credential helper to remove this warning. See [2022-05-19T02:18:09.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:18:09.142Z] [2022-05-19T02:18:09.142Z] Login Succeeded [2022-05-19T02:18:09.142Z] docker.io [2022-05-19T02:18:09.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:18:09.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:18:09.403Z] Configure a credential helper to remove this warning. See [2022-05-19T02:18:09.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:18:09.403Z] [2022-05-19T02:18:09.403Z] Login Succeeded [2022-05-19T02:18:09.403Z] ---> docker-login.sh ends [Pipeline] } [2022-05-19T02:18:09.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-19T02:18:09.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T02:18:09.489Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2022-05-19T02:18:09.489Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:18:09.489Z] latest [2022-05-19T02:18:09.489Z] 0.0.0 [2022-05-19T02:18:09.489Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:18:09.489Z] main [2022-05-19T02:18:09.489Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:09.821Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:10.113Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:18:10.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-19T02:18:10.113Z] 6eb4410649d3: Preparing [2022-05-19T02:18:10.113Z] b2b2d0972429: Preparing [2022-05-19T02:18:10.113Z] d580674f039c: Preparing [2022-05-19T02:18:10.113Z] 3d19c9f1b2e6: Preparing [2022-05-19T02:18:10.113Z] 4fc242d58285: Preparing [2022-05-19T02:18:10.113Z] 4fc242d58285: Layer already exists [2022-05-19T02:18:10.113Z] b2b2d0972429: Pushed [2022-05-19T02:18:10.113Z] 6eb4410649d3: Pushed [2022-05-19T02:18:10.374Z] 3d19c9f1b2e6: Pushed [2022-05-19T02:18:12.919Z] d580674f039c: Pushed [2022-05-19T02:18:12.919Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:13.223Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:13.513Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-05-19T02:18:13.514Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-19T02:18:13.514Z] 6eb4410649d3: Preparing [2022-05-19T02:18:13.514Z] b2b2d0972429: Preparing [2022-05-19T02:18:13.514Z] d580674f039c: Preparing [2022-05-19T02:18:13.514Z] 3d19c9f1b2e6: Preparing [2022-05-19T02:18:13.514Z] 4fc242d58285: Preparing [2022-05-19T02:18:13.514Z] d580674f039c: Layer already exists [2022-05-19T02:18:13.514Z] b2b2d0972429: Layer already exists [2022-05-19T02:18:13.514Z] 6eb4410649d3: Layer already exists [2022-05-19T02:18:13.514Z] 3d19c9f1b2e6: Layer already exists [2022-05-19T02:18:13.514Z] 4fc242d58285: Layer already exists [2022-05-19T02:18:13.514Z] latest: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:13.815Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:14.106Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 [2022-05-19T02:18:14.106Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-19T02:18:14.106Z] 6eb4410649d3: Preparing [2022-05-19T02:18:14.106Z] b2b2d0972429: Preparing [2022-05-19T02:18:14.106Z] d580674f039c: Preparing [2022-05-19T02:18:14.106Z] 3d19c9f1b2e6: Preparing [2022-05-19T02:18:14.106Z] 4fc242d58285: Preparing [2022-05-19T02:18:14.106Z] 4fc242d58285: Layer already exists [2022-05-19T02:18:14.106Z] 3d19c9f1b2e6: Layer already exists [2022-05-19T02:18:14.106Z] b2b2d0972429: Layer already exists [2022-05-19T02:18:14.106Z] d580674f039c: Layer already exists [2022-05-19T02:18:14.106Z] 6eb4410649d3: Layer already exists [2022-05-19T02:18:14.106Z] 0.0.0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:14.407Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:14.707Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:18:14.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-19T02:18:14.708Z] 6eb4410649d3: Preparing [2022-05-19T02:18:14.708Z] b2b2d0972429: Preparing [2022-05-19T02:18:14.708Z] d580674f039c: Preparing [2022-05-19T02:18:14.708Z] 3d19c9f1b2e6: Preparing [2022-05-19T02:18:14.708Z] 4fc242d58285: Preparing [2022-05-19T02:18:14.708Z] b2b2d0972429: Layer already exists [2022-05-19T02:18:14.708Z] 6eb4410649d3: Layer already exists [2022-05-19T02:18:14.708Z] 3d19c9f1b2e6: Layer already exists [2022-05-19T02:18:14.708Z] 4fc242d58285: Layer already exists [2022-05-19T02:18:14.708Z] d580674f039c: Layer already exists [2022-05-19T02:18:14.708Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:15.000Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:15.290Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2022-05-19T02:18:15.290Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2022-05-19T02:18:15.290Z] 6eb4410649d3: Preparing [2022-05-19T02:18:15.290Z] b2b2d0972429: Preparing [2022-05-19T02:18:15.290Z] d580674f039c: Preparing [2022-05-19T02:18:15.290Z] 3d19c9f1b2e6: Preparing [2022-05-19T02:18:15.290Z] 4fc242d58285: Preparing [2022-05-19T02:18:15.290Z] 4fc242d58285: Layer already exists [2022-05-19T02:18:15.290Z] 3d19c9f1b2e6: Layer already exists [2022-05-19T02:18:15.290Z] b2b2d0972429: Layer already exists [2022-05-19T02:18:15.290Z] d580674f039c: Layer already exists [2022-05-19T02:18:15.290Z] 6eb4410649d3: Layer already exists [2022-05-19T02:18:15.290Z] main: digest: sha256:1b9cfacc098a4c207cda6871bfcac3d9decb11b44bbbe33cc232c66cc181dbc2 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-19T02:18:15.318Z] ===================================================== [Pipeline] echo [2022-05-19T02:18:15.326Z] taggedImages: [2022-05-19T02:18:15.326Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:18:15.326Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2022-05-19T02:18:15.326Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 [2022-05-19T02:18:15.326Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:18:15.326Z] - 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 [2022-05-19T02:18:15.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T02:18:15.696Z] [2022-05-19T02:18:15.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:18:15.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T02:18:15.996Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-19T02:18:15.996Z] 5eb5b503b376: Pulling fs layer [2022-05-19T02:18:15.996Z] 5c69ac0246d0: Pulling fs layer [2022-05-19T02:18:15.996Z] ec43610c2a17: Pulling fs layer [2022-05-19T02:18:15.996Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-19T02:18:15.996Z] 33b1e0a273af: Pulling fs layer [2022-05-19T02:18:15.996Z] 5d3b04190fa2: Pulling fs layer [2022-05-19T02:18:15.996Z] 2f39f015ded8: Pulling fs layer [2022-05-19T02:18:15.996Z] 3a2ae6a8a46f: Waiting [2022-05-19T02:18:15.996Z] 33b1e0a273af: Waiting [2022-05-19T02:18:15.996Z] 5d3b04190fa2: Waiting [2022-05-19T02:18:15.996Z] 2f39f015ded8: Waiting [2022-05-19T02:18:15.996Z] 5c69ac0246d0: Verifying Checksum [2022-05-19T02:18:15.996Z] 5c69ac0246d0: Download complete [2022-05-19T02:18:15.996Z] 3a2ae6a8a46f: Download complete [2022-05-19T02:18:16.255Z] 33b1e0a273af: Verifying Checksum [2022-05-19T02:18:16.255Z] 33b1e0a273af: Download complete [2022-05-19T02:18:16.255Z] 5d3b04190fa2: Download complete [2022-05-19T02:18:16.255Z] ec43610c2a17: Verifying Checksum [2022-05-19T02:18:16.255Z] ec43610c2a17: Download complete [2022-05-19T02:18:16.255Z] 5eb5b503b376: Verifying Checksum [2022-05-19T02:18:16.255Z] 5eb5b503b376: Download complete [2022-05-19T02:18:17.194Z] 2f39f015ded8: Download complete [2022-05-19T02:18:17.452Z] 5eb5b503b376: Pull complete [2022-05-19T02:18:17.452Z] 5c69ac0246d0: Pull complete [2022-05-19T02:18:18.023Z] ec43610c2a17: Pull complete [2022-05-19T02:18:18.023Z] 3a2ae6a8a46f: Pull complete [2022-05-19T02:18:18.294Z] 33b1e0a273af: Pull complete [2022-05-19T02:18:18.565Z] 5d3b04190fa2: Pull complete [2022-05-19T02:18:22.790Z] 2f39f015ded8: Pull complete [2022-05-19T02:18:22.790Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-19T02:18:22.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T02:18:22.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-19T02:18:22.860Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:18:22.896Z] $ 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 [2022-05-19T02:18:25.986Z] $ docker top 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:18:26.388Z] ---> job-cost.sh [2022-05-19T02:18:26.388Z] lf-activate-venv: SKIPPING [2022-05-19T02:18:26.388Z] INFO: No Stack... [2022-05-19T02:18:26.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-19T02:18:27.218Z] INFO: Archiving Costs [Pipeline] sh [2022-05-19T02:18:27.515Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2022-05-19T02:18:27.515Z] + cut -d, -f6 [Pipeline] lock [2022-05-19T02:18:27.532Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [2022-05-19T02:18:27.541Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] did not exist. Created. [2022-05-19T02:18:27.541Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-19T02:18:27.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-19T02:18:27.878Z] Stashed 1 file(s) [Pipeline] } [2022-05-19T02:18:27.885Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-19T02:18:27.905Z] $ docker stop --time=1 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a [2022-05-19T02:18:29.133Z] $ docker rm -f 90eaf744bdeb67f78dd3b9e6d783f2317cbe04b951b59f96781556a8550faa3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-19T02:19:38.772Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64076 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2022-05-19T02:19:38.787Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-05-19T02:19:39.097Z] Selected Git installation does not exist. Using Default [2022-05-19T02:19:39.097Z] The recommended git tool is: NONE [2022-05-19T02:19:44.908Z] using credential edgex-jenkins-ssh [2022-05-19T02:19:44.929Z] Cloning the remote Git repository [2022-05-19T02:19:44.990Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-19T02:19:45.070Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-05-19T02:19:45.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-19T02:19:45.150Z] > git --version # timeout=10 [2022-05-19T02:19:45.167Z] > git --version # 'git version 2.25.1' [2022-05-19T02:19:45.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-19T02:19:45.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-19T02:19:46.011Z] Avoid second fetch [2022-05-19T02:19:46.012Z] Checking out Revision 84b3359fcb453f79206b07ec4bf8f15846aef2e0 (main) [2022-05-19T02:19:45.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-19T02:19:45.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-19T02:19:46.037Z] > git config core.sparsecheckout # timeout=10 [2022-05-19T02:19:46.056Z] > git checkout -f 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 [2022-05-19T02:19:50.425Z] 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 [2022-05-19T02:19:51.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-19T02:19:51.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-19T02:19:51.270Z] Dload Upload Total Spent Left Speed [2022-05-19T02:19:51.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh [2022-05-19T02:19:51.801Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-19T02:19:52.158Z] + sudo tee /etc/docker/daemon.new [2022-05-19T02:19:52.158Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-19T02:19:52.158Z] { [2022-05-19T02:19:52.158Z] "registry-mirrors": [ [2022-05-19T02:19:52.158Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-19T02:19:52.158Z] ], [2022-05-19T02:19:52.158Z] "bip": "10.250.0.254/24", [2022-05-19T02:19:52.158Z] "hosts": [ [2022-05-19T02:19:52.158Z] "tcp://0.0.0.0:5555", [2022-05-19T02:19:52.158Z] "unix:///var/run/docker.sock" [2022-05-19T02:19:52.158Z] ], [2022-05-19T02:19:52.158Z] "mtu": 1458, [2022-05-19T02:19:52.158Z] "selinux-enabled": true, [2022-05-19T02:19:52.158Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-19T02:19:52.158Z] } [Pipeline] sh [2022-05-19T02:19:52.565Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-19T02:19:52.919Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-19T02:20:11.332Z] provisioning config files... [2022-05-19T02:20:11.358Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3804239911210865747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:20:11.727Z] ---> docker-login.sh [2022-05-19T02:20:11.727Z] nexus3.edgexfoundry.org:10001 [2022-05-19T02:20:12.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:20:12.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:20:12.606Z] Configure a credential helper to remove this warning. See [2022-05-19T02:20:12.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:20:12.606Z] [2022-05-19T02:20:12.606Z] Login Succeeded [2022-05-19T02:20:12.606Z] nexus3.edgexfoundry.org:10002 [2022-05-19T02:20:12.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:20:13.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:20:13.164Z] Configure a credential helper to remove this warning. See [2022-05-19T02:20:13.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:20:13.164Z] [2022-05-19T02:20:13.164Z] Login Succeeded [2022-05-19T02:20:13.164Z] nexus3.edgexfoundry.org:10003 [2022-05-19T02:20:13.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:20:13.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:20:13.437Z] Configure a credential helper to remove this warning. See [2022-05-19T02:20:13.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:20:13.437Z] [2022-05-19T02:20:13.437Z] Login Succeeded [2022-05-19T02:20:13.437Z] nexus3.edgexfoundry.org:10004 [2022-05-19T02:20:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:20:14.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:20:14.060Z] Configure a credential helper to remove this warning. See [2022-05-19T02:20:14.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:20:14.060Z] [2022-05-19T02:20:14.060Z] Login Succeeded [2022-05-19T02:20:14.060Z] docker.io [2022-05-19T02:20:14.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:20:15.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:20:15.778Z] Configure a credential helper to remove this warning. See [2022-05-19T02:20:15.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:20:15.778Z] [2022-05-19T02:20:15.778Z] Login Succeeded [2022-05-19T02:20:15.778Z] ---> docker-login.sh ends [Pipeline] } [2022-05-19T02:20:15.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-19T02:20:16.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T02:20:16.338Z] ========================================================= [2022-05-19T02:20:16.338Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-19T02:20:16.338Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:20:16.710Z] + 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 . [2022-05-19T02:20:16.989Z] Sending build context to Docker daemon 5.81MB [2022-05-19T02:20:16.989Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-19T02:20:16.989Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-19T02:20:17.268Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-19T02:20:17.268Z] 9b3977197b4f: Pulling fs layer [2022-05-19T02:20:17.268Z] 1a89e8eeedd5: Pulling fs layer [2022-05-19T02:20:17.268Z] 94645a83ff95: Pulling fs layer [2022-05-19T02:20:17.268Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-19T02:20:17.268Z] 0c92f367c5e7: Pulling fs layer [2022-05-19T02:20:17.268Z] 3096ccb668a1: Pulling fs layer [2022-05-19T02:20:17.268Z] e8cf19c19ddd: Pulling fs layer [2022-05-19T02:20:17.268Z] a4caa8a26152: Pulling fs layer [2022-05-19T02:20:17.268Z] 3f3a8bcf1eab: Waiting [2022-05-19T02:20:17.268Z] 0c92f367c5e7: Waiting [2022-05-19T02:20:17.268Z] e8cf19c19ddd: Waiting [2022-05-19T02:20:17.268Z] a4caa8a26152: Waiting [2022-05-19T02:20:17.268Z] 3096ccb668a1: Waiting [2022-05-19T02:20:17.268Z] 94645a83ff95: Verifying Checksum [2022-05-19T02:20:17.268Z] 94645a83ff95: Download complete [2022-05-19T02:20:17.268Z] 1a89e8eeedd5: Verifying Checksum [2022-05-19T02:20:17.268Z] 1a89e8eeedd5: Download complete [2022-05-19T02:20:17.268Z] 0c92f367c5e7: Verifying Checksum [2022-05-19T02:20:17.268Z] 0c92f367c5e7: Download complete [2022-05-19T02:20:17.268Z] 3096ccb668a1: Verifying Checksum [2022-05-19T02:20:17.268Z] 3096ccb668a1: Download complete [2022-05-19T02:20:17.268Z] 9b3977197b4f: Verifying Checksum [2022-05-19T02:20:17.268Z] 9b3977197b4f: Download complete [2022-05-19T02:20:17.559Z] e8cf19c19ddd: Verifying Checksum [2022-05-19T02:20:17.559Z] e8cf19c19ddd: Download complete [2022-05-19T02:20:18.186Z] 9b3977197b4f: Pull complete [2022-05-19T02:20:18.796Z] 1a89e8eeedd5: Pull complete [2022-05-19T02:20:19.077Z] 94645a83ff95: Pull complete [2022-05-19T02:20:19.683Z] a4caa8a26152: Download complete [2022-05-19T02:20:20.288Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-19T02:20:20.288Z] 3f3a8bcf1eab: Download complete [2022-05-19T02:20:32.942Z] 3f3a8bcf1eab: Pull complete [2022-05-19T02:20:32.942Z] 0c92f367c5e7: Pull complete [2022-05-19T02:20:32.942Z] 3096ccb668a1: Pull complete [2022-05-19T02:20:33.217Z] e8cf19c19ddd: Pull complete [2022-05-19T02:20:39.974Z] a4caa8a26152: Pull complete [2022-05-19T02:20:39.974Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-19T02:20:39.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-19T02:20:39.974Z] ---> 725f1c02e7f9 [2022-05-19T02:20:39.974Z] Step 3/13 : ARG MAKE="make build" [2022-05-19T02:20:41.006Z] ---> Running in 317235796b68 [2022-05-19T02:20:41.289Z] Removing intermediate container 317235796b68 [2022-05-19T02:20:41.289Z] ---> 94c214884f07 [2022-05-19T02:20:41.289Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-19T02:20:41.289Z] ---> Running in f83e205cfcdf [2022-05-19T02:20:41.896Z] Removing intermediate container f83e205cfcdf [2022-05-19T02:20:41.896Z] ---> 03c39879c63d [2022-05-19T02:20:41.896Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-19T02:20:41.896Z] ---> Running in 9d42271b43e3 [2022-05-19T02:20:43.341Z] Removing intermediate container 9d42271b43e3 [2022-05-19T02:20:43.341Z] ---> 6824d9549617 [2022-05-19T02:20:43.341Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-19T02:20:43.341Z] ---> Running in fadd19e68029 [2022-05-19T02:20:43.341Z] Removing intermediate container fadd19e68029 [2022-05-19T02:20:43.341Z] ---> 1e15f3a551a0 [2022-05-19T02:20:43.341Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-19T02:20:43.623Z] ---> Running in 3d49d72df1cb [2022-05-19T02:20:45.613Z] Removing intermediate container 3d49d72df1cb [2022-05-19T02:20:45.613Z] ---> 0fb8f4d0d2e5 [2022-05-19T02:20:45.613Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-19T02:20:45.613Z] ---> Running in 341a39827958 [2022-05-19T02:20:46.599Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-19T02:20:47.198Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-19T02:20:48.177Z] OK: 220 MiB in 52 packages [2022-05-19T02:20:48.780Z] Removing intermediate container 341a39827958 [2022-05-19T02:20:48.780Z] ---> 50cd280a758c [2022-05-19T02:20:48.780Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-19T02:20:48.780Z] ---> Running in d15994aa9bb0 [2022-05-19T02:20:49.387Z] Removing intermediate container d15994aa9bb0 [2022-05-19T02:20:49.387Z] ---> 2f42579c9c78 [2022-05-19T02:20:49.387Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-19T02:20:49.664Z] ---> 5f61fb6bc1b3 [2022-05-19T02:20:49.664Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-19T02:20:49.664Z] ---> Running in 0a54168a4721 [2022-05-19T02:21:36.729Z] Removing intermediate container 0a54168a4721 [2022-05-19T02:21:36.729Z] ---> e2cbe9d84ba4 [2022-05-19T02:21:36.729Z] Step 12/13 : COPY . . [2022-05-19T02:21:36.729Z] ---> 6bd7ff87189b [2022-05-19T02:21:36.729Z] Step 13/13 : RUN ${MAKE} [2022-05-19T02:21:36.729Z] ---> Running in 6e7fbe519438 [2022-05-19T02:21:36.729Z] noop [2022-05-19T02:21:37.331Z] Removing intermediate container 6e7fbe519438 [2022-05-19T02:21:37.331Z] ---> 10a5f9e772de [2022-05-19T02:21:37.331Z] Successfully built 10a5f9e772de [2022-05-19T02:21:37.331Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:21:37.699Z] + docker inspect -f . ci-base-image-arm64 [2022-05-19T02:21:37.699Z] . [Pipeline] withDockerContainer [2022-05-19T02:21:37.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container [2022-05-19T02:21:38.059Z] $ 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 [2022-05-19T02:21:39.440Z] $ docker top ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T02:21:40.377Z] + go version [2022-05-19T02:21:40.377Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-19T02:21:40.404Z] $ docker stop --time=1 ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 [2022-05-19T02:21:42.041Z] $ docker rm -f ad25a63ed3fd4c41e7fa9d7aa09afc65cf4766ef438dc406e7b8c196c72ec016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:21:42.711Z] + docker inspect -f . ci-base-image-arm64 [2022-05-19T02:21:42.711Z] . [Pipeline] withDockerContainer [2022-05-19T02:21:42.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container [2022-05-19T02:21:43.037Z] $ 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 [2022-05-19T02:21:44.292Z] $ docker top 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-19T02:21:45.218Z] + make test [2022-05-19T02:21:45.218Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-19T02:21:47.214Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-19T02:23:24.390Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-19T02:23:24.390Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.070s coverage: 1.0% of statements [2022-05-19T02:23:24.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-19T02:23:24.390Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-19T02:23:39.540Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-19T02:23:39.540Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-19T02:23:39.540Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-19T02:23:42.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-19T02:23:42.213Z] $ docker stop --time=1 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 [2022-05-19T02:23:44.039Z] $ docker rm -f 00da5ea673a5a5e60273b585d02e18d93e78be91534bfc7b0be99878071285a6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T02:23:45.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-19T02:23:45.026Z] Warning: overwriting stash ‘coverage-report’ [2022-05-19T02:23:45.501Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-19T02:23:46.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-19T02:23:46.464Z] + ls -al . [2022-05-19T02:23:46.464Z] total 212 [2022-05-19T02:23:46.464Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:23 . [2022-05-19T02:23:46.464Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:19 .. [2022-05-19T02:23:46.464Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 02:19 .git [2022-05-19T02:23:46.464Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:19 .github [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 352 May 19 02:19 .gitignore [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 42 May 19 02:19 .golangci.yml [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 19 02:19 Attribution.txt [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 189 May 19 02:19 CHANGELOG.md [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 19 02:19 Dockerfile [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 677 May 19 02:19 GOVERNANCE.md [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 660 May 19 02:19 Jenkinsfile [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 19 02:19 LICENSE [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 2161 May 19 02:19 Makefile [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 625 May 19 02:19 OWNERS.md [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 19 02:19 README.md [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 02:16 VERSION [2022-05-19T02:23:46.464Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 02:19 bin [2022-05-19T02:23:46.464Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:19 cmd [2022-05-19T02:23:46.464Z] -rw-r--r-- 1 jenkins jenkins 37307 May 19 02:23 coverage.out [2022-05-19T02:23:46.464Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 02:19 doc [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 3553 May 19 02:19 go.mod [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 37278 May 19 02:19 go.sum [2022-05-19T02:23:46.464Z] drwxrwxr-x 3 jenkins jenkins 4096 May 19 02:19 internal [2022-05-19T02:23:46.464Z] -rw-rw-r-- 1 jenkins jenkins 236 May 19 02:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:23:46.812Z] + 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 . [2022-05-19T02:23:47.087Z] Sending build context to Docker daemon 5.848MB [2022-05-19T02:23:47.088Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-19T02:23:47.088Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-19T02:23:47.088Z] ---> 10a5f9e772de [2022-05-19T02:23:47.088Z] Step 3/26 : ARG MAKE="make build" [2022-05-19T02:23:47.363Z] ---> Running in 2022b648e85a [2022-05-19T02:23:47.638Z] Removing intermediate container 2022b648e85a [2022-05-19T02:23:47.638Z] ---> 6644f82e1927 [2022-05-19T02:23:47.638Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-19T02:23:47.638Z] ---> Running in 65812e4c7368 [2022-05-19T02:23:47.916Z] Removing intermediate container 65812e4c7368 [2022-05-19T02:23:47.916Z] ---> 086b5a506d46 [2022-05-19T02:23:47.916Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-19T02:23:47.916Z] ---> Running in 556ba75b09f6 [2022-05-19T02:23:48.201Z] Removing intermediate container 556ba75b09f6 [2022-05-19T02:23:48.201Z] ---> d224a77fe8d7 [2022-05-19T02:23:48.201Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-19T02:23:48.201Z] ---> Running in d971349274ed [2022-05-19T02:23:48.477Z] Removing intermediate container d971349274ed [2022-05-19T02:23:48.477Z] ---> 58de037183d7 [2022-05-19T02:23:48.477Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-19T02:23:48.761Z] ---> Running in 85382342b320 [2022-05-19T02:23:50.207Z] Removing intermediate container 85382342b320 [2022-05-19T02:23:50.207Z] ---> 84587ac59a88 [2022-05-19T02:23:50.207Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-19T02:23:50.207Z] ---> Running in 33a13f9ba56f [2022-05-19T02:23:51.193Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-19T02:23:51.998Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-19T02:23:53.000Z] OK: 220 MiB in 52 packages [2022-05-19T02:23:53.993Z] Removing intermediate container 33a13f9ba56f [2022-05-19T02:23:53.993Z] ---> e8ea3c99257e [2022-05-19T02:23:53.993Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-19T02:23:53.993Z] ---> Running in fc52d1c14986 [2022-05-19T02:23:54.270Z] Removing intermediate container fc52d1c14986 [2022-05-19T02:23:54.270Z] ---> 7d88d18d26de [2022-05-19T02:23:54.270Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-19T02:23:54.565Z] ---> 9229511b7aa7 [2022-05-19T02:23:54.565Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-19T02:23:54.850Z] ---> Running in 5becbae9c03f [2022-05-19T02:23:56.833Z] Removing intermediate container 5becbae9c03f [2022-05-19T02:23:56.833Z] ---> 882688a80b28 [2022-05-19T02:23:56.833Z] Step 12/26 : COPY . . [2022-05-19T02:23:57.442Z] ---> 22d1ab6975b4 [2022-05-19T02:23:57.442Z] Step 13/26 : RUN ${MAKE} [2022-05-19T02:23:57.727Z] ---> Running in 2ec7407d456e [2022-05-19T02:23:58.716Z] 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 [2022-05-19T02:26:05.848Z] Removing intermediate container 2ec7407d456e [2022-05-19T02:26:05.848Z] ---> 65a8f3f7291b [2022-05-19T02:26:05.848Z] Step 14/26 : FROM alpine:3.15 [2022-05-19T02:26:05.848Z] 3.15: Pulling from library/alpine [2022-05-19T02:26:05.848Z] 9981e73032c8: Pulling fs layer [2022-05-19T02:26:05.848Z] 9981e73032c8: Verifying Checksum [2022-05-19T02:26:05.848Z] 9981e73032c8: Download complete [2022-05-19T02:26:05.848Z] 9981e73032c8: Pull complete [2022-05-19T02:26:05.848Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-19T02:26:05.848Z] Status: Downloaded newer image for alpine:3.15 [2022-05-19T02:26:05.848Z] ---> 3fb3c9af89a9 [2022-05-19T02:26:05.848Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-19T02:26:05.848Z] ---> Running in 275c7f208598 [2022-05-19T02:26:05.848Z] Removing intermediate container 275c7f208598 [2022-05-19T02:26:05.848Z] ---> a3fa8e8f9dc4 [2022-05-19T02:26:05.848Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-19T02:26:05.848Z] ---> Running in b62710599db2 [2022-05-19T02:26:05.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-19T02:26:05.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-19T02:26:05.848Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-19T02:26:05.848Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-19T02:26:05.848Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-19T02:26:05.848Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-19T02:26:05.848Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-19T02:26:05.848Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-19T02:26:05.848Z] Executing busybox-1.34.1-r5.trigger [2022-05-19T02:26:05.848Z] OK: 8 MiB in 20 packages [2022-05-19T02:26:05.848Z] Removing intermediate container b62710599db2 [2022-05-19T02:26:05.848Z] ---> 7d5f3e046122 [2022-05-19T02:26:05.848Z] Step 17/26 : WORKDIR / [2022-05-19T02:26:05.848Z] ---> Running in 93f49f87658b [2022-05-19T02:26:05.848Z] Removing intermediate container 93f49f87658b [2022-05-19T02:26:05.848Z] ---> 0649fdb60818 [2022-05-19T02:26:05.848Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-19T02:26:05.848Z] ---> 54f2b26de23c [2022-05-19T02:26:05.848Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-19T02:26:05.848Z] ---> 5f61e1b32a03 [2022-05-19T02:26:05.848Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-19T02:26:05.848Z] ---> 8775553fe3ec [2022-05-19T02:26:05.848Z] Step 21/26 : EXPOSE 59984 [2022-05-19T02:26:05.848Z] ---> Running in 91f1b6038ed5 [2022-05-19T02:26:05.848Z] Removing intermediate container 91f1b6038ed5 [2022-05-19T02:26:05.848Z] ---> 739f122d8c55 [2022-05-19T02:26:05.848Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-19T02:26:05.848Z] ---> Running in c28a63c00dc1 [2022-05-19T02:26:05.848Z] Removing intermediate container c28a63c00dc1 [2022-05-19T02:26:05.848Z] ---> 04b3b0e52e1c [2022-05-19T02:26:05.848Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-19T02:26:06.133Z] ---> Running in 032204134c49 [2022-05-19T02:26:06.407Z] Removing intermediate container 032204134c49 [2022-05-19T02:26:06.408Z] ---> cb8bf4a04b77 [2022-05-19T02:26:06.408Z] Step 24/26 : LABEL arch=arm64 [2022-05-19T02:26:06.408Z] ---> Running in 0b9719f7635a [2022-05-19T02:26:06.687Z] Removing intermediate container 0b9719f7635a [2022-05-19T02:26:06.687Z] ---> 007bf74ecb19 [2022-05-19T02:26:06.687Z] Step 25/26 : LABEL git_sha=84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:26:06.687Z] ---> Running in 4628e0e9aecd [2022-05-19T02:26:06.963Z] Removing intermediate container 4628e0e9aecd [2022-05-19T02:26:06.964Z] ---> 650e1e401d86 [2022-05-19T02:26:06.964Z] Step 26/26 : LABEL version=0.0.0 [2022-05-19T02:26:07.241Z] ---> Running in a91ca72110b3 [2022-05-19T02:26:07.515Z] Removing intermediate container a91ca72110b3 [2022-05-19T02:26:07.515Z] ---> d9db7a19f319 [2022-05-19T02:26:07.515Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-19T02:26:07.515Z] Successfully built d9db7a19f319 [2022-05-19T02:26:07.515Z] 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 [2022-05-19T02:26:07.641Z] provisioning config files... [2022-05-19T02:26:07.662Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config1157675827124999392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:26:08.022Z] ---> docker-login.sh [2022-05-19T02:26:08.023Z] nexus3.edgexfoundry.org:10001 [2022-05-19T02:26:08.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:26:08.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:26:08.298Z] Configure a credential helper to remove this warning. See [2022-05-19T02:26:08.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:26:08.298Z] [2022-05-19T02:26:08.298Z] Login Succeeded [2022-05-19T02:26:08.298Z] nexus3.edgexfoundry.org:10002 [2022-05-19T02:26:08.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:26:08.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:26:08.786Z] Configure a credential helper to remove this warning. See [2022-05-19T02:26:08.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:26:08.786Z] [2022-05-19T02:26:08.786Z] Login Succeeded [2022-05-19T02:26:08.786Z] nexus3.edgexfoundry.org:10003 [2022-05-19T02:26:09.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:26:09.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:26:09.395Z] Configure a credential helper to remove this warning. See [2022-05-19T02:26:09.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:26:09.395Z] [2022-05-19T02:26:09.395Z] Login Succeeded [2022-05-19T02:26:09.395Z] nexus3.edgexfoundry.org:10004 [2022-05-19T02:26:09.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:26:09.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:26:09.944Z] Configure a credential helper to remove this warning. See [2022-05-19T02:26:09.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:26:09.944Z] [2022-05-19T02:26:09.944Z] Login Succeeded [2022-05-19T02:26:09.944Z] docker.io [2022-05-19T02:26:10.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-19T02:26:10.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-19T02:26:10.492Z] Configure a credential helper to remove this warning. See [2022-05-19T02:26:10.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-19T02:26:10.492Z] [2022-05-19T02:26:10.492Z] Login Succeeded [2022-05-19T02:26:10.492Z] ---> docker-login.sh ends [Pipeline] } [2022-05-19T02:26:10.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-19T02:26:10.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-19T02:26:10.599Z] [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: [2022-05-19T02:26:10.599Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:26:10.599Z] latest [2022-05-19T02:26:10.599Z] 0.0.0 [2022-05-19T02:26:10.599Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:26:10.599Z] main [2022-05-19T02:26:10.599Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:10.976Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:11.327Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:26:11.327Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-19T02:26:11.327Z] 681c71ecd554: Preparing [2022-05-19T02:26:11.327Z] c3231797b228: Preparing [2022-05-19T02:26:11.327Z] 90fd417db8c6: Preparing [2022-05-19T02:26:11.327Z] 0d46bef1c511: Preparing [2022-05-19T02:26:11.327Z] 4f4ce317c6bb: Preparing [2022-05-19T02:26:11.606Z] 4f4ce317c6bb: Layer already exists [2022-05-19T02:26:12.204Z] c3231797b228: Pushed [2022-05-19T02:26:12.204Z] 681c71ecd554: Pushed [2022-05-19T02:26:12.801Z] 0d46bef1c511: Pushed [2022-05-19T02:26:19.513Z] 90fd417db8c6: Pushed [2022-05-19T02:26:19.513Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:19.867Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:20.220Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-05-19T02:26:20.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-19T02:26:20.220Z] 681c71ecd554: Preparing [2022-05-19T02:26:20.220Z] c3231797b228: Preparing [2022-05-19T02:26:20.220Z] 90fd417db8c6: Preparing [2022-05-19T02:26:20.220Z] 0d46bef1c511: Preparing [2022-05-19T02:26:20.220Z] 4f4ce317c6bb: Preparing [2022-05-19T02:26:20.220Z] 4f4ce317c6bb: Layer already exists [2022-05-19T02:26:20.220Z] 90fd417db8c6: Layer already exists [2022-05-19T02:26:20.220Z] 0d46bef1c511: Layer already exists [2022-05-19T02:26:20.220Z] 681c71ecd554: Layer already exists [2022-05-19T02:26:20.220Z] c3231797b228: Layer already exists [2022-05-19T02:26:20.493Z] latest: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:20.852Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:21.205Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 [2022-05-19T02:26:21.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-19T02:26:21.205Z] 681c71ecd554: Preparing [2022-05-19T02:26:21.205Z] c3231797b228: Preparing [2022-05-19T02:26:21.205Z] 90fd417db8c6: Preparing [2022-05-19T02:26:21.205Z] 0d46bef1c511: Preparing [2022-05-19T02:26:21.205Z] 4f4ce317c6bb: Preparing [2022-05-19T02:26:21.205Z] 90fd417db8c6: Layer already exists [2022-05-19T02:26:21.205Z] 4f4ce317c6bb: Layer already exists [2022-05-19T02:26:21.205Z] c3231797b228: Layer already exists [2022-05-19T02:26:21.205Z] 0d46bef1c511: Layer already exists [2022-05-19T02:26:21.205Z] 681c71ecd554: Layer already exists [2022-05-19T02:26:21.478Z] 0.0.0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:21.835Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:22.185Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:26:22.186Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-19T02:26:22.186Z] 681c71ecd554: Preparing [2022-05-19T02:26:22.186Z] c3231797b228: Preparing [2022-05-19T02:26:22.186Z] 90fd417db8c6: Preparing [2022-05-19T02:26:22.186Z] 0d46bef1c511: Preparing [2022-05-19T02:26:22.186Z] 4f4ce317c6bb: Preparing [2022-05-19T02:26:22.186Z] 681c71ecd554: Layer already exists [2022-05-19T02:26:22.186Z] c3231797b228: Layer already exists [2022-05-19T02:26:22.186Z] 0d46bef1c511: Layer already exists [2022-05-19T02:26:22.186Z] 90fd417db8c6: Layer already exists [2022-05-19T02:26:22.186Z] 4f4ce317c6bb: Layer already exists [2022-05-19T02:26:22.459Z] 84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:22.816Z] + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:23.165Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [2022-05-19T02:26:23.165Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] [2022-05-19T02:26:23.165Z] 681c71ecd554: Preparing [2022-05-19T02:26:23.165Z] c3231797b228: Preparing [2022-05-19T02:26:23.165Z] 90fd417db8c6: Preparing [2022-05-19T02:26:23.165Z] 0d46bef1c511: Preparing [2022-05-19T02:26:23.165Z] 4f4ce317c6bb: Preparing [2022-05-19T02:26:23.165Z] 90fd417db8c6: Layer already exists [2022-05-19T02:26:23.165Z] 0d46bef1c511: Layer already exists [2022-05-19T02:26:23.165Z] 4f4ce317c6bb: Layer already exists [2022-05-19T02:26:23.165Z] c3231797b228: Layer already exists [2022-05-19T02:26:23.165Z] 681c71ecd554: Layer already exists [2022-05-19T02:26:23.441Z] main: digest: sha256:41a0d5c7234aed93164c7e1cebc15e9d4767a8aeab7c1f2419a9629a3f6ef021 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-19T02:26:23.489Z] ===================================================== [Pipeline] echo [2022-05-19T02:26:23.496Z] taggedImages: [2022-05-19T02:26:23.496Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0 [2022-05-19T02:26:23.496Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [2022-05-19T02:26:23.496Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 [2022-05-19T02:26:23.496Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:84b3359fcb453f79206b07ec4bf8f15846aef2e0-0.0.0 [2022-05-19T02:26:23.496Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:23.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T02:26:23.858Z] [2022-05-19T02:26:23.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:24.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T02:26:24.496Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-19T02:26:24.496Z] 8998bd30e6a1: Pulling fs layer [2022-05-19T02:26:24.496Z] 04944245beec: Pulling fs layer [2022-05-19T02:26:24.496Z] 699f458cf7ca: Pulling fs layer [2022-05-19T02:26:24.496Z] 765212b225bb: Pulling fs layer [2022-05-19T02:26:24.496Z] f23df028b6ca: Pulling fs layer [2022-05-19T02:26:24.496Z] d65c8cfc05b1: Pulling fs layer [2022-05-19T02:26:24.496Z] 2437ff75d9bd: Pulling fs layer [2022-05-19T02:26:24.496Z] 765212b225bb: Waiting [2022-05-19T02:26:24.496Z] f23df028b6ca: Waiting [2022-05-19T02:26:24.496Z] d65c8cfc05b1: Waiting [2022-05-19T02:26:24.496Z] 2437ff75d9bd: Waiting [2022-05-19T02:26:24.496Z] 04944245beec: Verifying Checksum [2022-05-19T02:26:24.496Z] 765212b225bb: Verifying Checksum [2022-05-19T02:26:24.496Z] 765212b225bb: Download complete [2022-05-19T02:26:24.496Z] f23df028b6ca: Verifying Checksum [2022-05-19T02:26:24.496Z] f23df028b6ca: Download complete [2022-05-19T02:26:24.496Z] d65c8cfc05b1: Download complete [2022-05-19T02:26:24.772Z] 699f458cf7ca: Verifying Checksum [2022-05-19T02:26:24.772Z] 699f458cf7ca: Download complete [2022-05-19T02:26:25.050Z] 8998bd30e6a1: Verifying Checksum [2022-05-19T02:26:25.050Z] 8998bd30e6a1: Download complete [2022-05-19T02:26:27.683Z] 2437ff75d9bd: Verifying Checksum [2022-05-19T02:26:27.683Z] 2437ff75d9bd: Download complete [2022-05-19T02:26:29.125Z] 8998bd30e6a1: Pull complete [2022-05-19T02:26:29.723Z] 04944245beec: Pull complete [2022-05-19T02:26:31.169Z] 699f458cf7ca: Pull complete [2022-05-19T02:26:31.443Z] 765212b225bb: Pull complete [2022-05-19T02:26:32.042Z] f23df028b6ca: Pull complete [2022-05-19T02:26:32.315Z] d65c8cfc05b1: Pull complete [2022-05-19T02:26:47.420Z] 2437ff75d9bd: Pull complete [2022-05-19T02:26:47.420Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-19T02:26:47.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-19T02:26:47.420Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-19T02:26:47.640Z] prd-ubuntu20.04-docker-arm64-4c-16g-64076 does not seem to be running inside a container [2022-05-19T02:26:47.730Z] $ 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 [2022-05-19T02:26:50.233Z] $ docker top ba9f69a2d58448822e2c55b2156531967a5787feba1e4b70f0f8795dd59ba975 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:26:51.167Z] ---> job-cost.sh [2022-05-19T02:26:51.167Z] lf-activate-venv: SKIPPING [2022-05-19T02:26:51.167Z] INFO: No Stack... [2022-05-19T02:26:51.439Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-19T02:26:52.421Z] INFO: Archiving Costs [Pipeline] sh [2022-05-19T02:26:53.095Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-05-19T02:26:53.095Z] + cut -d, -f6 [Pipeline] lock [2022-05-19T02:26:53.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [2022-05-19T02:26:53.166Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] did not exist. Created. [2022-05-19T02:26:53.166Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-19T02:26:53.845Z] /w/workspace/device-onvif-camera/2@tmp/durable-d0a55412/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-19T02:26:54.522Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-19T02:26:54.547Z] Warning: overwriting stash ‘stack-cost’ [2022-05-19T02:26:54.590Z] Stashed 1 file(s) [Pipeline] } [2022-05-19T02:26:54.599Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-19T02:26:54.618Z] $ docker stop --time=1 ba9f69a2d58448822e2c55b2156531967a5787feba1e4b70f0f8795dd59ba975 [2022-05-19T02:26:56.088Z] $ 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 [2022-05-19T02:26:56.608Z] provisioning config files... [2022-05-19T02:26:56.617Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4479942373910057102tmp [Pipeline] { [Pipeline] sh [2022-05-19T02:26:56.910Z] + set +x [2022-05-19T02:26:56.910Z] + curl -s https://codecov.io/bash [2022-05-19T02:26:56.910Z] + bash -s -- [2022-05-19T02:26:56.910Z] [2022-05-19T02:26:56.910Z] _____ _ [2022-05-19T02:26:56.910Z] / ____| | | [2022-05-19T02:26:56.910Z] | | ___ __| | ___ ___ _____ __ [2022-05-19T02:26:56.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-19T02:26:56.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-19T02:26:56.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-19T02:26:56.910Z] Bash-1.0.6 [2022-05-19T02:26:56.910Z] [2022-05-19T02:26:56.910Z] [2022-05-19T02:26:56.910Z] ==> git version 2.25.1 found [2022-05-19T02:26:56.910Z] ==> 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 [2022-05-19T02:26:56.910Z] Release-Date: 2020-01-08 [2022-05-19T02:26:56.910Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-19T02:26:56.910Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-19T02:26:56.910Z] ==> Jenkins CI detected. [2022-05-19T02:26:56.910Z] current dir:  /w/workspace/foundry_device-onvif-camera_main [2022-05-19T02:26:56.910Z] project root: . [2022-05-19T02:26:56.911Z] --> token set from env [2022-05-19T02:26:56.911Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-19T02:26:56.911Z] ==> Running gcov in . (disable via -X gcov) [2022-05-19T02:26:56.911Z] ==> Python coveragepy not found [2022-05-19T02:26:56.911Z] ==> Searching for coverage reports in: [2022-05-19T02:26:56.911Z] + . [2022-05-19T02:26:56.911Z] -> Found 1 reports [2022-05-19T02:26:56.911Z] ==> Detecting git/mercurial file structure [2022-05-19T02:26:56.911Z] ==> Reading reports [2022-05-19T02:26:57.172Z] + ./coverage.out bytes=37307 [2022-05-19T02:26:57.172Z] ==> Appending adjustments [2022-05-19T02:26:57.172Z] https://docs.codecov.io/docs/fixing-reports [2022-05-19T02:26:57.172Z] + Found adjustments [2022-05-19T02:26:57.172Z] ==> Gzipping contents [2022-05-19T02:26:57.172Z] 8.0K /tmp/codecov.NXIMcY.gz [2022-05-19T02:26:57.172Z] ==> Uploading reports [2022-05-19T02:26:57.172Z] url: https://codecov.io [2022-05-19T02:26:57.172Z] 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= [2022-05-19T02:26:57.172Z] -> Pinging Codecov [2022-05-19T02:26:57.172Z] 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= [2022-05-19T02:26:57.432Z] -> Uploading to [2022-05-19T02:26:57.432Z] 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 [2022-05-19T02:26:57.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-19T02:26:57.432Z] Dload Upload Total Spent Left Speed [2022-05-19T02:26:57.693Z] 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 [2022-05-19T02:26:57.693Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] } [2022-05-19T02:26:57.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-19T02:26:57.873Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-19T02:26:57.886Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:58.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-19T02:26:58.181Z] [2022-05-19T02:26:58.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:26:58.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-19T02:26:58.492Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-19T02:26:58.492Z] 188c0c94c7c5: Pulling fs layer [2022-05-19T02:26:58.492Z] 0ef7d3d256c8: Pulling fs layer [2022-05-19T02:26:58.492Z] de9db76c5a1d: Pulling fs layer [2022-05-19T02:26:58.492Z] 0eba1c9be4d2: Pulling fs layer [2022-05-19T02:26:58.492Z] 0d57e429df01: Pulling fs layer [2022-05-19T02:26:58.492Z] 4e4be7b47b0d: Pulling fs layer [2022-05-19T02:26:58.492Z] e1f770b5df2f: Pulling fs layer [2022-05-19T02:26:58.492Z] 85a0685a4137: Pulling fs layer [2022-05-19T02:26:58.492Z] 0eba1c9be4d2: Waiting [2022-05-19T02:26:58.492Z] e1f770b5df2f: Waiting [2022-05-19T02:26:58.492Z] 0d57e429df01: Waiting [2022-05-19T02:26:58.492Z] 85a0685a4137: Waiting [2022-05-19T02:26:58.492Z] de9db76c5a1d: Download complete [2022-05-19T02:26:58.492Z] 0ef7d3d256c8: Verifying Checksum [2022-05-19T02:26:58.492Z] 0ef7d3d256c8: Download complete [2022-05-19T02:26:58.492Z] 0d57e429df01: Download complete [2022-05-19T02:26:58.492Z] 4e4be7b47b0d: Verifying Checksum [2022-05-19T02:26:58.492Z] 4e4be7b47b0d: Download complete [2022-05-19T02:26:58.492Z] 188c0c94c7c5: Verifying Checksum [2022-05-19T02:26:58.492Z] 188c0c94c7c5: Download complete [2022-05-19T02:26:58.752Z] 188c0c94c7c5: Pull complete [2022-05-19T02:26:58.752Z] e1f770b5df2f: Verifying Checksum [2022-05-19T02:26:58.752Z] e1f770b5df2f: Download complete [2022-05-19T02:26:58.752Z] 0ef7d3d256c8: Pull complete [2022-05-19T02:26:58.752Z] de9db76c5a1d: Pull complete [2022-05-19T02:26:59.321Z] 0eba1c9be4d2: Download complete [2022-05-19T02:26:59.321Z] 85a0685a4137: Verifying Checksum [2022-05-19T02:26:59.321Z] 85a0685a4137: Download complete [2022-05-19T02:27:02.612Z] 0eba1c9be4d2: Pull complete [2022-05-19T02:27:02.612Z] 0d57e429df01: Pull complete [2022-05-19T02:27:02.612Z] 4e4be7b47b0d: Pull complete [2022-05-19T02:27:02.871Z] e1f770b5df2f: Pull complete [2022-05-19T02:27:06.162Z] 85a0685a4137: Pull complete [2022-05-19T02:27:06.162Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-19T02:27:06.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-19T02:27:06.162Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-19T02:27:06.230Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:06.265Z] $ 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 [2022-05-19T02:27:08.547Z] $ docker top 4c18dacb815c842925342dbc253b39e756e8dae27fca3c3939cca2de86017eb4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-19T02:27:08.624Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-19T02:27:08.910Z] + set -o pipefail [2022-05-19T02:27:08.910Z] + snyk monitor '--org=edgex-jenkins' [2022-05-19T02:27:15.541Z] [2022-05-19T02:27:15.541Z] Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... [2022-05-19T02:27:15.541Z] [2022-05-19T02:27:15.541Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/cc672bb3-ce95-45c3-947b-54254bf70991/history/488833a9-f9c6-4dcd-bc95-4c3c36627934 [2022-05-19T02:27:15.541Z] [2022-05-19T02:27:15.541Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-19T02:27:15.541Z] [2022-05-19T02:27:15.541Z] [Pipeline] } [2022-05-19T02:27:15.553Z] $ docker stop --time=1 4c18dacb815c842925342dbc253b39e756e8dae27fca3c3939cca2de86017eb4 [2022-05-19T02:27:17.835Z] $ 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 [2022-05-19T02:27:18.613Z] + git log --format=format:%s -1 84b3359fcb453f79206b07ec4bf8f15846aef2e0 [Pipeline] sh [2022-05-19T02:27:18.916Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-19T02:27:18.916Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:19.209Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:27:19.209Z] . [Pipeline] withDockerContainer [2022-05-19T02:27:19.274Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:19.313Z] $ 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 [2022-05-19T02:27:19.715Z] $ docker top 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-19T02:27:19.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T02:27:19.811Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T02:27:19.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T02:27:19.935Z] $ docker exec 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d ssh-agent [2022-05-19T02:27:20.064Z] SSH_AUTH_SOCK=/tmp/ssh-JKgJCKZ4bbnR/agent.32 [2022-05-19T02:27:20.064Z] SSH_AGENT_PID=38 [2022-05-19T02:27:20.070Z] Running ssh-add (command line suppressed) [2022-05-19T02:27:20.195Z] 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) [2022-05-19T02:27:20.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T02:27:20.511Z] + git semver tag [2022-05-19T02:27:20.771Z] 2022-05-19 02:27:20,732 [run_tag] DEBUG tag force:False [2022-05-19T02:27:20.771Z] 2022-05-19 02:27:20,732 [check_head_tag] DEBUG check head tag [2022-05-19T02:27:20.771Z] 2022-05-19 02:27:20,732 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:20.771Z] 2022-05-19 02:27:20,732 [execute] INFO git tag -a v0.0.0 -m v0.0.0 [2022-05-19T02:27:20.771Z] 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) [2022-05-19T02:27:20.771Z] 2022-05-19 02:27:20,737 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:20.771Z] 0.0.0 [Pipeline] } [2022-05-19T02:27:20.782Z] $ docker exec --env ******** --env ******** 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d ssh-agent -k [2022-05-19T02:27:20.893Z] unset SSH_AUTH_SOCK; [2022-05-19T02:27:20.893Z] unset SSH_AGENT_PID; [2022-05-19T02:27:20.893Z] echo Agent pid 38 killed; [2022-05-19T02:27:20.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-19T02:27:21.212Z] + git semver [Pipeline] } [2022-05-19T02:27:21.495Z] $ docker stop --time=1 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d [2022-05-19T02:27:22.854Z] $ docker rm -f 59c89b77989b329a24f968d3ae5cdab14c10e08cf0d357d2c139cc5ab41da60d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:23.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-19T02:27:23.271Z] [2022-05-19T02:27:23.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:23.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-19T02:27:23.584Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-19T02:27:23.584Z] ab5ef0e58194: Pulling fs layer [2022-05-19T02:27:23.584Z] 9712f1f96733: Pulling fs layer [2022-05-19T02:27:23.584Z] 63f879dbbcfc: Pulling fs layer [2022-05-19T02:27:23.584Z] 0d9ebad4ef96: Pulling fs layer [2022-05-19T02:27:23.584Z] e9a5061849ea: Pulling fs layer [2022-05-19T02:27:23.584Z] d747dcd14b5f: Pulling fs layer [2022-05-19T02:27:23.584Z] 2de7ff778b66: Pulling fs layer [2022-05-19T02:27:23.584Z] 0d9ebad4ef96: Waiting [2022-05-19T02:27:23.584Z] d747dcd14b5f: Waiting [2022-05-19T02:27:23.584Z] 2de7ff778b66: Waiting [2022-05-19T02:27:23.584Z] e9a5061849ea: Waiting [2022-05-19T02:27:23.584Z] 9712f1f96733: Verifying Checksum [2022-05-19T02:27:23.584Z] 9712f1f96733: Download complete [2022-05-19T02:27:23.845Z] 63f879dbbcfc: Verifying Checksum [2022-05-19T02:27:23.845Z] 63f879dbbcfc: Download complete [2022-05-19T02:27:24.106Z] e9a5061849ea: Verifying Checksum [2022-05-19T02:27:24.106Z] e9a5061849ea: Download complete [2022-05-19T02:27:24.106Z] d747dcd14b5f: Download complete [2022-05-19T02:27:24.106Z] ab5ef0e58194: Verifying Checksum [2022-05-19T02:27:24.106Z] ab5ef0e58194: Download complete [2022-05-19T02:27:24.366Z] 2de7ff778b66: Verifying Checksum [2022-05-19T02:27:24.366Z] 0d9ebad4ef96: Verifying Checksum [2022-05-19T02:27:24.366Z] 0d9ebad4ef96: Download complete [2022-05-19T02:27:26.903Z] ab5ef0e58194: Pull complete [2022-05-19T02:27:26.903Z] 9712f1f96733: Pull complete [2022-05-19T02:27:27.841Z] 63f879dbbcfc: Pull complete [2022-05-19T02:27:31.128Z] 0d9ebad4ef96: Pull complete [2022-05-19T02:27:31.389Z] e9a5061849ea: Pull complete [2022-05-19T02:27:31.649Z] d747dcd14b5f: Pull complete [2022-05-19T02:27:32.588Z] 2de7ff778b66: Pull complete [2022-05-19T02:27:32.588Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-19T02:27:32.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-19T02:27:32.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-19T02:27:32.651Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:32.684Z] $ 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 [2022-05-19T02:27:35.475Z] $ docker top ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-19T02:27:35.552Z] provisioning config files... [2022-05-19T02:27:35.562Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config433558024112444201tmp [2022-05-19T02:27:35.575Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3086934393717786310tmp [2022-05-19T02:27:35.588Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1864701802328600788tmp [Pipeline] { [Pipeline] echo [2022-05-19T02:27:35.604Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:35.892Z] ---> sigul-configuration.sh [2022-05-19T02:27:35.892Z] gpg: directory `/root/.gnupg' created [2022-05-19T02:27:35.892Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-19T02:27:35.892Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-19T02:27:35.892Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-19T02:27:35.892Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-19T02:27:35.892Z] gpg: CAST5 encrypted data [2022-05-19T02:27:35.892Z] gpg: encrypted with 1 passphrase [2022-05-19T02:27:35.892Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-19T02:27:36.186Z] + mkdir /home/jenkins [2022-05-19T02:27:36.186Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-19T02:27:36.474Z] + 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 [2022-05-19T02:27:36.484Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:36.773Z] ---> sigul-install.sh [2022-05-19T02:27:36.773Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-19T02:27:37.063Z] + git tag --list [2022-05-19T02:27:37.063Z] v0.0.0 [Pipeline] sh [2022-05-19T02:27:37.350Z] + lftools sign git-tag v0.0.0 [2022-05-19T02:27:37.924Z] Signing Git tag with Sigul... [2022-05-19T02:27:37.924Z] Signing v0.0.0 [Pipeline] echo [2022-05-19T02:27:38.196Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:38.484Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-19T02:27:38.490Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-19T02:27:38.513Z] $ docker stop --time=1 ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 [2022-05-19T02:27:39.816Z] $ docker rm -f ac45468725c79627cb3329226fb83d1985b0badbf068ca66a869fbf751198057 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-19T02:27:40.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-19T02:27:40.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:40.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:27:40.529Z] . [Pipeline] withDockerContainer [2022-05-19T02:27:40.601Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:40.634Z] $ 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 [2022-05-19T02:27:41.024Z] $ docker top b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-19T02:27:41.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T02:27:41.118Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T02:27:41.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T02:27:41.247Z] $ docker exec b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc ssh-agent [2022-05-19T02:27:41.372Z] SSH_AUTH_SOCK=/tmp/ssh-qoW4Gw5YOpCb/agent.32 [2022-05-19T02:27:41.372Z] SSH_AGENT_PID=38 [2022-05-19T02:27:41.377Z] Running ssh-add (command line suppressed) [2022-05-19T02:27:41.498Z] 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) [2022-05-19T02:27:41.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T02:27:41.808Z] + git semver bump pre [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,994 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,995 [bump_version] DEBUG bumping version:0.0.0 on axis:pre with prefix:dev [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,995 [bump_version] DEBUG bumped version:0.0.1-dev.1 [2022-05-19T02:27:42.069Z] 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 [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,995 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,995 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:41,997 [execute] INFO git cat-file --batch-check [2022-05-19T02:27:42.069Z] 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=) [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:42,002 [execute] INFO git cat-file --batch [2022-05-19T02:27:42.069Z] 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=) [2022-05-19T02:27:42.069Z] 2022-05-19 02:27:42,008 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:42.069Z] 0.0.1-dev.1 [Pipeline] } [2022-05-19T02:27:42.080Z] $ docker exec --env ******** --env ******** b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc ssh-agent -k [2022-05-19T02:27:42.191Z] unset SSH_AUTH_SOCK; [2022-05-19T02:27:42.191Z] unset SSH_AGENT_PID; [2022-05-19T02:27:42.191Z] echo Agent pid 38 killed; [2022-05-19T02:27:42.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-19T02:27:42.513Z] + git semver [Pipeline] } [2022-05-19T02:27:42.789Z] $ docker stop --time=1 b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc [2022-05-19T02:27:44.090Z] $ docker rm -f b7443d90d98f1ff344f76e282622463ae21a81277aecfc497974704b71ef39fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-19T02:27:44.471Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-19T02:27:44.472Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:44.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-19T02:27:44.769Z] . [Pipeline] withDockerContainer [2022-05-19T02:27:44.846Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:44.886Z] $ 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 [2022-05-19T02:27:45.284Z] $ docker top c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-19T02:27:45.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-19T02:27:45.409Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-19T02:27:45.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-19T02:27:45.545Z] $ docker exec c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 ssh-agent [2022-05-19T02:27:45.682Z] SSH_AUTH_SOCK=/tmp/ssh-tZphLhYLaX6x/agent.33 [2022-05-19T02:27:45.682Z] SSH_AGENT_PID=40 [2022-05-19T02:27:45.688Z] Running ssh-add (command line suppressed) [2022-05-19T02:27:45.797Z] 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) [2022-05-19T02:27:45.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-19T02:27:46.103Z] + git semver push [2022-05-19T02:27:46.364Z] 2022-05-19 02:27:46,276 [run_push] DEBUG push [2022-05-19T02:27:46.364Z] 2022-05-19 02:27:46,277 [execute] INFO git push origin semver [2022-05-19T02:27:46.364Z] 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) [2022-05-19T02:27:47.306Z] 2022-05-19 02:27:46,954 [run_push] DEBUG push all version tags [2022-05-19T02:27:47.306Z] 2022-05-19 02:27:46,955 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-19T02:27:47.306Z] 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) [2022-05-19T02:27:47.874Z] 2022-05-19 02:27:47,605 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2022-05-19T02:27:47.874Z] 0.0.1-dev.1 [Pipeline] } [2022-05-19T02:27:47.885Z] $ docker exec --env ******** --env ******** c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 ssh-agent -k [2022-05-19T02:27:47.996Z] unset SSH_AUTH_SOCK; [2022-05-19T02:27:47.996Z] unset SSH_AGENT_PID; [2022-05-19T02:27:47.996Z] echo Agent pid 40 killed; [2022-05-19T02:27:48.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-19T02:27:48.316Z] + git semver [Pipeline] } [2022-05-19T02:27:48.611Z] $ docker stop --time=1 c6389ab37f312fe773b07889c77e6e1ef192e6b58a3886a1c52fb4f7b62fcc42 [2022-05-19T02:27:49.906Z] $ 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 [2022-05-19T02:27:50.476Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2022-05-19T02:27:50.476Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-19T02:27:50.476Z] total 16 [2022-05-19T02:27:50.476Z] drwxr-xr-x 3 root root 4096 May 19 02:18 . [2022-05-19T02:27:50.476Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:27 .. [2022-05-19T02:27:50.476Z] drwxr-xr-x 2 root root 4096 May 19 02:18 cost [2022-05-19T02:27:50.476Z] -rw-r--r-- 1 root root 88 May 19 02:18 cost.csv [2022-05-19T02:27:50.476Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-19T02:27:50.476Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2022-05-19T02:27:50.476Z] total 16 [2022-05-19T02:27:50.476Z] drwxr-xr-x 3 jenkins jenkins 4096 May 19 02:18 . [2022-05-19T02:27:50.476Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:27 .. [2022-05-19T02:27:50.476Z] drwxr-xr-x 2 jenkins jenkins 4096 May 19 02:18 cost [2022-05-19T02:27:50.476Z] -rw-r--r-- 1 jenkins jenkins 88 May 19 02:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:50.778Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:51.643Z] ---> package-listing.sh [2022-05-19T02:27:51.643Z] ++ facter osfamily [2022-05-19T02:27:51.643Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-19T02:27:51.903Z] + OS_FAMILY=debian [2022-05-19T02:27:51.903Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2022-05-19T02:27:51.903Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-19T02:27:51.903Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-19T02:27:51.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-19T02:27:51.903Z] + PACKAGES=/tmp/packages_start.txt [2022-05-19T02:27:51.903Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-05-19T02:27:51.903Z] + PACKAGES=/tmp/packages_end.txt [2022-05-19T02:27:51.903Z] + case "${OS_FAMILY}" in [2022-05-19T02:27:51.903Z] + dpkg -l [2022-05-19T02:27:51.903Z] + grep '^ii' [2022-05-19T02:27:51.903Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-19T02:27:51.903Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-19T02:27:51.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-19T02:27:51.903Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2022-05-19T02:27:51.903Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2022-05-19T02:27:51.903Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2022-05-19T02:27:51.916Z] 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 [2022-05-19T02:27:52.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-19T02:27:52.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-19T02:27:52.773Z] . [Pipeline] withDockerContainer [2022-05-19T02:27:52.848Z] prd-ubuntu20.04-docker-8c-8g-64071 does not seem to be running inside a container [2022-05-19T02:27:52.889Z] $ 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 [2022-05-19T02:27:53.186Z] $ docker top f49e2eb2fb7d12ee7c5466a85265a089dc92f26aff311480efba99a269aeb048 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-19T02:27:53.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-19T02:27:53.841Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-19T02:27:54.135Z] + ls /var/log/sa-host [2022-05-19T02:27:54.135Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-19T02:27:54.225Z] provisioning config files... [2022-05-19T02:27:54.235Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8507967218165155744tmp [Pipeline] { [Pipeline] echo [2022-05-19T02:27:54.251Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:54.537Z] ---> create-netrc.sh [Pipeline] } [2022-05-19T02:27:54.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:54.873Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-19T02:27:54.882Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:55.169Z] ---> sudo-logs.sh [2022-05-19T02:27:55.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-19T02:27:55.208Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:55.498Z] ---> job-cost.sh [2022-05-19T02:27:55.498Z] lf-activate-venv: SKIPPING [2022-05-19T02:27:55.498Z] DEBUG: total: 0.2199999988079071 [2022-05-19T02:27:55.498Z] INFO: Retrieving Stack Cost... [2022-05-19T02:27:56.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-19T02:27:56.330Z] INFO: Archiving Costs [Pipeline] echo [2022-05-19T02:27:56.346Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-19T02:27:56.636Z] ---> logs-deploy.sh [2022-05-19T02:27:56.636Z] lf-activate-venv: SKIPPING [2022-05-19T02:27:56.636Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/2 [2022-05-19T02:27:56.636Z] INFO: archiving workspace using pattern(s): [2022-05-19T02:27:57.580Z] Archives upload complete. [2022-05-19T02:27:57.580Z] INFO: archiving logs to Nexus