Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from d489125bdbe00d3bc0774f527613743c1694101f+6741b2693d9de414b67a8d31d89bc7ad3a9d0867 (459c6b00ab8395918e21528ae95539ef7e079d2a) 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-ssh3261009099293868844.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6979700422064187349.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12759885321258551770.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5938317470871790582.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14280838085527957708.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3734672468716261579.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3068 in /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-219 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit d489125bdbe00d3bc0774f527613743c1694101f Merge succeeded, producing d489125bdbe00d3bc0774f527613743c1694101f Checking out Revision d489125bdbe00d3bc0774f527613743c1694101f (PR-219) > git config core.sparsecheckout # timeout=10 > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T02:58:08.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T02:58:09.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T02:58:09.269Z] ========================================================= [2023-01-19T02:58:09.269Z] EdgeX Global Pipelines Version Info [2023-01-19T02:58:09.269Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:58:10.008Z] ------------------- [2023-01-19T02:58:10.008Z] stable info: [2023-01-19T02:58:10.008Z] ------------------- [2023-01-19T02:58:10.009Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T02:58:10.009Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:58:10.009Z] Message: update stable to v1.0.244 [2023-01-19T02:58:10.577Z] ------------------- [2023-01-19T02:58:10.577Z] experimental info: [2023-01-19T02:58:10.577Z] ------------------- [2023-01-19T02:58:10.577Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T02:58:10.577Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:58:10.577Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T02:58:10.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-19T02:58:10.893Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-19T02:58:10.935Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T02:58:10.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T02:58:11.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T02:58:11.048Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T02:58:11.087Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T02:58:11.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T02:58:11.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T02:58:11.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T02:58:11.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T02:58:11.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-19T02:58:11.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T02:58:11.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T02:58:11.405Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:58:11.441Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:58:11.478Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:58:11.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:58:11.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T02:58:11.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T02:58:11.651Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-19T02:58:11.691Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-19T02:58:11.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T02:58:11.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T02:58:11.814Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T02:58:11.851Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T02:58:11.886Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T02:58:11.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2023-01-19T02:58:11.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2023-01-19T02:58:11.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2023-01-19T02:58:12.036Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d489125bdbe00d3bc0774f527613743c1694101f [Pipeline] echo [2023-01-19T02:58:12.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d489125 [Pipeline] echo [2023-01-19T02:58:12.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:58:12.230Z] provisioning config files... [2023-01-19T02:58:12.244Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config15786862802806322056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:58:12.591Z] ---> docker-login.sh [2023-01-19T02:58:12.591Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:58:12.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:12.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:12.850Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:12.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:12.850Z] [2023-01-19T02:58:12.850Z] Login Succeeded [2023-01-19T02:58:12.850Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:58:12.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:12.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:12.850Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:12.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:12.850Z] [2023-01-19T02:58:12.850Z] Login Succeeded [2023-01-19T02:58:12.850Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:58:13.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:13.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:13.109Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:13.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:13.109Z] [2023-01-19T02:58:13.109Z] Login Succeeded [2023-01-19T02:58:13.109Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:58:13.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:13.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:13.109Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:13.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:13.109Z] [2023-01-19T02:58:13.109Z] Login Succeeded [2023-01-19T02:58:13.109Z] docker.io [2023-01-19T02:58:13.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:13.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:13.369Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:13.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:13.369Z] [2023-01-19T02:58:13.369Z] Login Succeeded [2023-01-19T02:58:13.369Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:58:13.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T02:58:14.063Z] + git rev-list -1 --merges d489125bdbe00d3bc0774f527613743c1694101f~1..d489125bdbe00d3bc0774f527613743c1694101f [Pipeline] echo [2023-01-19T02:58:14.128Z] -----------> git rev-list -1 --merges d489125bdbe00d3bc0774f527613743c1694101f~1..d489125bdbe00d3bc0774f527613743c1694101f d489125bdbe00d3bc0774f527613743c1694101f [false] [Pipeline] sh [2023-01-19T02:58:14.441Z] + git log --format=format:%s -1 d489125bdbe00d3bc0774f527613743c1694101f [Pipeline] echo [2023-01-19T02:58:14.469Z] ========================================================= [2023-01-19T02:58:14.469Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T02:58:14.469Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:58:14.908Z] + git log --format=format:%s -1 d489125bdbe00d3bc0774f527613743c1694101f [Pipeline] echo [2023-01-19T02:58:14.943Z] [semverPrep] GIT_COMMIT: d489125bdbe00d3bc0774f527613743c1694101f, Commit Message: build(deps): bump device-sdk-go and go-mod dependencies [Pipeline] echo [2023-01-19T02:58:14.971Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T02:58:15.348Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T02:58:15.348Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T02:58:15.348Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T02:58:15.348Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T02:58:15.348Z] + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-01-19T02:58:15.348Z] /etc/ssh/ssh_known_hosts [2023-01-19T02:58:15.348Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:58:15.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:58:15.783Z] [2023-01-19T02:58:15.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:58:16.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:58:16.161Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T02:58:16.161Z] b85a868b505f: Pulling fs layer [2023-01-19T02:58:16.161Z] e2be974225ed: Pulling fs layer [2023-01-19T02:58:16.161Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T02:58:16.161Z] 988bab9f4d93: Pulling fs layer [2023-01-19T02:58:16.161Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T02:58:16.161Z] eaf3925da568: Pulling fs layer [2023-01-19T02:58:16.161Z] bab4dde63d76: Pulling fs layer [2023-01-19T02:58:16.161Z] bde34c3a00c8: Pulling fs layer [2023-01-19T02:58:16.161Z] b352a97aabf1: Pulling fs layer [2023-01-19T02:58:16.161Z] 4872d77fe225: Pulling fs layer [2023-01-19T02:58:16.161Z] 5851b861e8e6: Pulling fs layer [2023-01-19T02:58:16.161Z] 988bab9f4d93: Waiting [2023-01-19T02:58:16.161Z] bab4dde63d76: Waiting [2023-01-19T02:58:16.161Z] b352a97aabf1: Waiting [2023-01-19T02:58:16.161Z] eaf3925da568: Waiting [2023-01-19T02:58:16.161Z] 4872d77fe225: Waiting [2023-01-19T02:58:16.161Z] 5851b861e8e6: Waiting [2023-01-19T02:58:16.161Z] 1469e6f7b9e6: Waiting [2023-01-19T02:58:16.161Z] bde34c3a00c8: Waiting [2023-01-19T02:58:16.161Z] e2be974225ed: Download complete [2023-01-19T02:58:16.161Z] 988bab9f4d93: Verifying Checksum [2023-01-19T02:58:16.161Z] 988bab9f4d93: Download complete [2023-01-19T02:58:16.424Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T02:58:16.424Z] 1469e6f7b9e6: Download complete [2023-01-19T02:58:16.424Z] eaf3925da568: Download complete [2023-01-19T02:58:16.424Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T02:58:16.424Z] 339a4e72a1f5: Download complete [2023-01-19T02:58:16.424Z] bde34c3a00c8: Download complete [2023-01-19T02:58:16.424Z] b352a97aabf1: Download complete [2023-01-19T02:58:16.701Z] 4872d77fe225: Verifying Checksum [2023-01-19T02:58:16.701Z] 4872d77fe225: Download complete [2023-01-19T02:58:16.701Z] 5851b861e8e6: Verifying Checksum [2023-01-19T02:58:16.701Z] 5851b861e8e6: Download complete [2023-01-19T02:58:16.701Z] b85a868b505f: Verifying Checksum [2023-01-19T02:58:16.701Z] b85a868b505f: Download complete [2023-01-19T02:58:16.985Z] bab4dde63d76: Verifying Checksum [2023-01-19T02:58:16.986Z] bab4dde63d76: Download complete [2023-01-19T02:58:17.934Z] b85a868b505f: Pull complete [2023-01-19T02:58:18.193Z] e2be974225ed: Pull complete [2023-01-19T02:58:18.452Z] 339a4e72a1f5: Pull complete [2023-01-19T02:58:18.712Z] 988bab9f4d93: Pull complete [2023-01-19T02:58:18.981Z] 1469e6f7b9e6: Pull complete [2023-01-19T02:58:18.981Z] eaf3925da568: Pull complete [2023-01-19T02:58:20.878Z] bab4dde63d76: Pull complete [2023-01-19T02:58:20.878Z] bde34c3a00c8: Pull complete [2023-01-19T02:58:20.878Z] b352a97aabf1: Pull complete [2023-01-19T02:58:21.137Z] 4872d77fe225: Pull complete [2023-01-19T02:58:21.137Z] 5851b861e8e6: Pull complete [2023-01-19T02:58:21.137Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T02:58:21.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:58:21.137Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:58:21.369Z] prd-ubuntu20.04-docker-8c-8g-3068 does not seem to be running inside a container [2023-01-19T02:58:21.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-19T02:58:23.561Z] $ docker top 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae -eo pid,comm [2023-01-19T02:58:23.657Z] 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). [2023-01-19T02:58:23.657Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T02:58:23.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:58:23.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:58:23.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:58:23.908Z] $ docker exec 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae ssh-agent [2023-01-19T02:58:24.009Z] SSH_AUTH_SOCK=/tmp/ssh-OATvpzdPepmT/agent.33 [2023-01-19T02:58:24.009Z] SSH_AGENT_PID=39 [2023-01-19T02:58:24.014Z] Running ssh-add (command line suppressed) [2023-01-19T02:58:24.135Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_15524763684545696502.key (/w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_15524763684545696502.key) [2023-01-19T02:58:24.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:58:24.470Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T02:58:24.499Z] $ docker exec --env ******** --env ******** 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae ssh-agent -k [2023-01-19T02:58:24.607Z] unset SSH_AUTH_SOCK; [2023-01-19T02:58:24.607Z] unset SSH_AGENT_PID; [2023-01-19T02:58:24.607Z] echo Agent pid 39 killed; [2023-01-19T02:58:24.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T02:58:24.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:58:24.707Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:58:24.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:58:24.835Z] $ docker exec 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae ssh-agent [2023-01-19T02:58:24.945Z] SSH_AUTH_SOCK=/tmp/ssh-d8f7NIMm7nYn/agent.71 [2023-01-19T02:58:24.945Z] SSH_AGENT_PID=77 [2023-01-19T02:58:24.950Z] Running ssh-add (command line suppressed) [2023-01-19T02:58:25.052Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_15964010505355313473.key (/w/workspace/undry_device-onvif-camera_PR-219@tmp/private_key_15964010505355313473.key) [2023-01-19T02:58:25.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:58:25.396Z] + git semver init [2023-01-19T02:58:25.656Z] 2023-01-19 02:58:25,573 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T02:58:25.656Z] 2023-01-19 02:58:25,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-219/.semver [2023-01-19T02:58:25.656Z] 2023-01-19 02:58:25,575 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-219/.semver [2023-01-19T02:58:25.656Z] 2023-01-19 02:58:25,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-219/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-219, universal_newlines=False, shell=None, istream=None) [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,512 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-219/.git/info/exclude [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 with force:False [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,513 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,517 [execute] INFO git cat-file --batch-check [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,523 [execute] INFO git cat-file --batch [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:58:26.600Z] 2023-01-19 02:58:26,528 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-219/.semver/PR-219 [2023-01-19T02:58:26.600Z] 0.0.0 [Pipeline] } [2023-01-19T02:58:26.630Z] $ docker exec --env ******** --env ******** 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae ssh-agent -k [2023-01-19T02:58:26.742Z] unset SSH_AUTH_SOCK; [2023-01-19T02:58:26.742Z] unset SSH_AGENT_PID; [2023-01-19T02:58:26.742Z] echo Agent pid 77 killed; [2023-01-19T02:58:26.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T02:58:27.175Z] + git semver [Pipeline] } [2023-01-19T02:58:27.459Z] $ docker stop --time=1 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae [2023-01-19T02:58:28.771Z] $ docker rm -f --volumes 350a66e10d6e956e033e135dde3f61584a05568fb9bd9d62d6de325096f46aae [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:58:29.177Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T02:58:29.447Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T02:58:29.464Z] [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 [2023-01-19T02:58:30.071Z] provisioning config files... [2023-01-19T02:58:30.080Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config10633828439934738270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:58:30.426Z] ---> docker-login.sh [2023-01-19T02:58:30.426Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:58:30.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:30.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:30.426Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:30.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:30.426Z] [2023-01-19T02:58:30.426Z] Login Succeeded [2023-01-19T02:58:30.426Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:58:30.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:30.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:30.426Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:30.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:30.426Z] [2023-01-19T02:58:30.426Z] Login Succeeded [2023-01-19T02:58:30.426Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:58:30.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:30.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:30.684Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:30.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:30.684Z] [2023-01-19T02:58:30.684Z] Login Succeeded [2023-01-19T02:58:30.684Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:58:30.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:30.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:30.684Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:30.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:30.684Z] [2023-01-19T02:58:30.684Z] Login Succeeded [2023-01-19T02:58:30.684Z] docker.io [2023-01-19T02:58:30.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:58:30.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:58:30.942Z] Configure a credential helper to remove this warning. See [2023-01-19T02:58:30.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:58:30.942Z] [2023-01-19T02:58:30.942Z] Login Succeeded [2023-01-19T02:58:30.942Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:58:30.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:58:31.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:58:31.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:58:31.215Z] ========================================================= [2023-01-19T02:58:31.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T02:58:31.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:58:31.704Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:58:31.704Z] Sending build context to Docker daemon 27.69MB [2023-01-19T02:58:31.704Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:58:31.704Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-19T02:58:31.964Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T02:58:31.964Z] 213ec9aee27d: Pulling fs layer [2023-01-19T02:58:31.964Z] 4583459ba037: Pulling fs layer [2023-01-19T02:58:31.964Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T02:58:31.964Z] 53926ce57604: Pulling fs layer [2023-01-19T02:58:31.964Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T02:58:31.964Z] 22ff95d597cd: Pulling fs layer [2023-01-19T02:58:31.964Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T02:58:31.964Z] 53926ce57604: Waiting [2023-01-19T02:58:31.965Z] 22ff95d597cd: Waiting [2023-01-19T02:58:31.965Z] 21b2b0c7a3f4: Waiting [2023-01-19T02:58:31.965Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T02:58:31.965Z] a7acece74701: Pulling fs layer [2023-01-19T02:58:31.965Z] 12d6caf4c0d1: Waiting [2023-01-19T02:58:31.965Z] a7acece74701: Waiting [2023-01-19T02:58:31.965Z] 96b7cbca73a9: Waiting [2023-01-19T02:58:31.965Z] 93c1e223e6f2: Verifying Checksum [2023-01-19T02:58:31.965Z] 93c1e223e6f2: Download complete [2023-01-19T02:58:31.965Z] 4583459ba037: Download complete [2023-01-19T02:58:31.965Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-19T02:58:31.965Z] 21b2b0c7a3f4: Download complete [2023-01-19T02:58:31.965Z] 22ff95d597cd: Verifying Checksum [2023-01-19T02:58:31.965Z] 22ff95d597cd: Download complete [2023-01-19T02:58:31.965Z] 213ec9aee27d: Verifying Checksum [2023-01-19T02:58:31.965Z] 213ec9aee27d: Download complete [2023-01-19T02:58:31.965Z] 12d6caf4c0d1: Verifying Checksum [2023-01-19T02:58:31.965Z] 12d6caf4c0d1: Download complete [2023-01-19T02:58:32.233Z] 213ec9aee27d: Pull complete [2023-01-19T02:58:32.233Z] 4583459ba037: Pull complete [2023-01-19T02:58:32.498Z] 93c1e223e6f2: Pull complete [2023-01-19T02:58:33.097Z] 53926ce57604: Verifying Checksum [2023-01-19T02:58:33.097Z] 53926ce57604: Download complete [2023-01-19T02:58:33.355Z] a7acece74701: Verifying Checksum [2023-01-19T02:58:33.355Z] a7acece74701: Download complete [2023-01-19T02:58:33.355Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T02:58:33.355Z] 96b7cbca73a9: Download complete [2023-01-19T02:58:37.544Z] 53926ce57604: Pull complete [2023-01-19T02:58:37.544Z] 21b2b0c7a3f4: Pull complete [2023-01-19T02:58:37.544Z] 22ff95d597cd: Pull complete [2023-01-19T02:58:37.544Z] 12d6caf4c0d1: Pull complete [2023-01-19T02:58:39.441Z] 96b7cbca73a9: Pull complete [2023-01-19T02:58:40.475Z] a7acece74701: Pull complete [2023-01-19T02:58:40.475Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T02:58:40.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T02:58:40.475Z] ---> db6d94c90886 [2023-01-19T02:58:40.475Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:58:43.784Z] ---> Running in d2eee506d5fa [2023-01-19T02:58:44.049Z] Removing intermediate container d2eee506d5fa [2023-01-19T02:58:44.049Z] ---> 9dffda36ea4f [2023-01-19T02:58:44.049Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:58:44.049Z] ---> Running in 3fe891db5467 [2023-01-19T02:58:44.049Z] Removing intermediate container 3fe891db5467 [2023-01-19T02:58:44.049Z] ---> b608a41f161e [2023-01-19T02:58:44.049Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T02:58:44.049Z] ---> Running in 6e7bc6471e7f [2023-01-19T02:58:44.628Z] Removing intermediate container 6e7bc6471e7f [2023-01-19T02:58:44.628Z] ---> 37cd2edaaf92 [2023-01-19T02:58:44.628Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:58:44.628Z] ---> Running in 7dc985334cf6 [2023-01-19T02:58:44.628Z] Removing intermediate container 7dc985334cf6 [2023-01-19T02:58:44.628Z] ---> 3f821cd0f1e6 [2023-01-19T02:58:44.628Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-19T02:58:44.874Z] Still waiting to schedule task [2023-01-19T02:58:44.874Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-19T02:58:44.890Z] ---> Running in 9e15c0263e23 [2023-01-19T02:58:44.890Z] Removing intermediate container 9e15c0263e23 [2023-01-19T02:58:44.890Z] ---> 6f63bb510462 [2023-01-19T02:58:44.890Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:58:44.890Z] ---> Running in 565d66294783 [2023-01-19T02:58:45.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:58:45.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:58:45.670Z] OK: 211 MiB in 51 packages [2023-01-19T02:58:45.930Z] Removing intermediate container 565d66294783 [2023-01-19T02:58:45.930Z] ---> 6b8636f03a0f [2023-01-19T02:58:45.930Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-19T02:58:45.930Z] ---> Running in 5fa74274227a [2023-01-19T02:58:45.930Z] Removing intermediate container 5fa74274227a [2023-01-19T02:58:45.930Z] ---> 71b1f2ed1bc4 [2023-01-19T02:58:45.930Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-19T02:58:46.189Z] ---> b72e336dc82e [2023-01-19T02:58:46.189Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:58:46.189Z] ---> Running in a66a152babef [2023-01-19T02:59:18.320Z] Removing intermediate container a66a152babef [2023-01-19T02:59:18.320Z] ---> d18286a289ad [2023-01-19T02:59:18.320Z] Step 12/13 : COPY . . [2023-01-19T02:59:18.320Z] ---> a95bc67bca4a [2023-01-19T02:59:18.320Z] Step 13/13 : RUN ${MAKE} [2023-01-19T02:59:18.320Z] ---> Running in 73eacf5b4c35 [2023-01-19T02:59:18.320Z] noop [2023-01-19T02:59:18.320Z] Removing intermediate container 73eacf5b4c35 [2023-01-19T02:59:18.320Z] ---> dad8c7316026 [2023-01-19T02:59:18.320Z] Successfully built dad8c7316026 [2023-01-19T02:59:18.320Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:59:18.763Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:59:18.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:59:18.898Z] prd-ubuntu20.04-docker-8c-8g-3068 does not seem to be running inside a container [2023-01-19T02:59:18.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:59:19.290Z] $ docker top 5dbd2162705aae3dd3684675e1ccb3fc71bd1586225724fcae5d4a356ef397b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:59:19.682Z] + go version [2023-01-19T02:59:19.682Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T02:59:19.717Z] $ docker stop --time=1 5dbd2162705aae3dd3684675e1ccb3fc71bd1586225724fcae5d4a356ef397b1 [2023-01-19T02:59:20.998Z] $ docker rm -f --volumes 5dbd2162705aae3dd3684675e1ccb3fc71bd1586225724fcae5d4a356ef397b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:59:21.709Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:59:21.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:59:21.867Z] prd-ubuntu20.04-docker-8c-8g-3068 does not seem to be running inside a container [2023-01-19T02:59:21.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:59:22.235Z] $ docker top 7450681771fb55e5321ae1d3c190f2f3a32828ffb5eb6592a2e2aa3fd570bb6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:59:22.618Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:59:23.103Z] + make test [2023-01-19T02:59:23.103Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:59:23.361Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-19T02:59:33.324Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-19T02:59:37.516Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2023-01-19T02:59:37.516Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-19T02:59:37.516Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.466s coverage: 86.5% of statements [2023-01-19T02:59:45.618Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-19T02:59:45.618Z] go vet ./... [2023-01-19T02:59:48.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:59:48.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:59:48.145Z] ./bin/test-attribution-txt.sh [2023-01-19T02:59:48.145Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:59:48.145Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:59:48.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:59:48.219Z] $ docker stop --time=1 7450681771fb55e5321ae1d3c190f2f3a32828ffb5eb6592a2e2aa3fd570bb6c [2023-01-19T02:59:50.459Z] $ docker rm -f --volumes 7450681771fb55e5321ae1d3c190f2f3a32828ffb5eb6592a2e2aa3fd570bb6c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:59:50.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:59:51.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T02:59:51.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:59:51.910Z] + ls -al . [2023-01-19T02:59:51.910Z] total 236 [2023-01-19T02:59:51.910Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:59 . [2023-01-19T02:59:51.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:58 .. [2023-01-19T02:59:51.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:59 .git [2023-01-19T02:59:51.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:58 .github [2023-01-19T02:59:51.910Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 19 02:58 .gitignore [2023-01-19T02:59:51.910Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 02:58 .golangci.yml [2023-01-19T02:59:51.910Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:58 .semver [2023-01-19T02:59:51.910Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 19 02:58 Attribution.txt [2023-01-19T02:59:51.910Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 19 02:58 CHANGELOG.md [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 19 02:58 Dockerfile [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:58 GOVERNANCE.md [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 19 02:58 Jenkinsfile [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 19 02:58 LICENSE [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 19 02:58 Makefile [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 19 02:58 OWNERS.md [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 19 02:58 README.md [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:58 VERSION [2023-01-19T02:59:51.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:58 bin [2023-01-19T02:59:51.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:58 cmd [2023-01-19T02:59:51.911Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 19 02:59 coverage.out [2023-01-19T02:59:51.911Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 02:58 doc [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 3654 Jan 19 02:58 go.mod [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 36181 Jan 19 02:58 go.sum [2023-01-19T02:59:51.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:58 internal [2023-01-19T02:59:51.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:58 snap [2023-01-19T02:59:51.911Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 19 02:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:59:52.307Z] + 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=d489125bdbe00d3bc0774f527613743c1694101f --label arch=amd64 --label version=0.0.0 . [2023-01-19T02:59:52.307Z] Sending build context to Docker daemon 27.77MB [2023-01-19T02:59:52.307Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:59:52.307Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-19T02:59:52.307Z] ---> dad8c7316026 [2023-01-19T02:59:52.307Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:59:52.567Z] ---> Running in 817336b14c02 [2023-01-19T02:59:52.826Z] Removing intermediate container 817336b14c02 [2023-01-19T02:59:52.826Z] ---> 75d03331cd22 [2023-01-19T02:59:52.826Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:59:52.826Z] ---> Running in 36dde22621d5 [2023-01-19T02:59:52.826Z] Removing intermediate container 36dde22621d5 [2023-01-19T02:59:52.826Z] ---> 3ecbfe17f8c5 [2023-01-19T02:59:52.826Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T02:59:52.826Z] ---> Running in 0bf17ea9454d [2023-01-19T02:59:52.826Z] Removing intermediate container 0bf17ea9454d [2023-01-19T02:59:52.826Z] ---> 169592d3dc68 [2023-01-19T02:59:52.826Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:59:52.826Z] ---> Running in a77afcae856a [2023-01-19T02:59:53.083Z] Removing intermediate container a77afcae856a [2023-01-19T02:59:53.083Z] ---> 104ed98dad94 [2023-01-19T02:59:53.083Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-19T02:59:53.083Z] ---> Running in be56635427c3 [2023-01-19T02:59:53.083Z] Removing intermediate container be56635427c3 [2023-01-19T02:59:53.083Z] ---> 19af6f2f055f [2023-01-19T02:59:53.083Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:59:53.083Z] ---> Running in b66b2f626d0c [2023-01-19T02:59:53.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:59:53.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:59:53.863Z] OK: 211 MiB in 51 packages [2023-01-19T02:59:54.121Z] Removing intermediate container b66b2f626d0c [2023-01-19T02:59:54.121Z] ---> 6c1d43e4d44b [2023-01-19T02:59:54.121Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-19T02:59:54.121Z] ---> Running in 9dc56b723cc2 [2023-01-19T02:59:54.121Z] Removing intermediate container 9dc56b723cc2 [2023-01-19T02:59:54.121Z] ---> fb5050cfb7a9 [2023-01-19T02:59:54.121Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-19T02:59:54.381Z] ---> 853c0174a3d0 [2023-01-19T02:59:54.381Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:59:54.381Z] ---> Running in 1dc793ba04b3 [2023-01-19T02:59:55.322Z] Removing intermediate container 1dc793ba04b3 [2023-01-19T02:59:55.322Z] ---> d892190744c6 [2023-01-19T02:59:55.322Z] Step 12/26 : COPY . . [2023-01-19T02:59:55.925Z] ---> 366b51e6eca8 [2023-01-19T02:59:55.925Z] Step 13/26 : RUN ${MAKE} [2023-01-19T02:59:55.925Z] ---> Running in f4d91aa3c515 [2023-01-19T02:59:56.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-19T03:00:18.565Z] Removing intermediate container f4d91aa3c515 [2023-01-19T03:00:18.565Z] ---> acbcdebea926 [2023-01-19T03:00:18.565Z] Step 14/26 : FROM alpine:3.16 [2023-01-19T03:00:18.565Z] 3.16: Pulling from library/alpine [2023-01-19T03:00:18.565Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T03:00:18.565Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T03:00:18.565Z] ca7dd9ec2225: Download complete [2023-01-19T03:00:18.565Z] ca7dd9ec2225: Pull complete [2023-01-19T03:00:18.565Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T03:00:18.565Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T03:00:18.565Z] ---> bfe296a52501 [2023-01-19T03:00:18.565Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-19T03:00:18.565Z] ---> Running in aa649531fa08 [2023-01-19T03:00:18.565Z] Removing intermediate container aa649531fa08 [2023-01-19T03:00:18.565Z] ---> d6e75f478eb2 [2023-01-19T03:00:18.565Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-19T03:00:18.565Z] ---> Running in 3d1cc2568ce0 [2023-01-19T03:00:18.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T03:00:18.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T03:00:19.083Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T03:00:19.083Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T03:00:19.083Z] OK: 6 MiB in 15 packages [2023-01-19T03:00:19.347Z] Removing intermediate container 3d1cc2568ce0 [2023-01-19T03:00:19.347Z] ---> 2ef2bcedaca2 [2023-01-19T03:00:19.347Z] Step 17/26 : WORKDIR / [2023-01-19T03:00:19.347Z] ---> Running in ed8288429bc0 [2023-01-19T03:00:19.606Z] Removing intermediate container ed8288429bc0 [2023-01-19T03:00:19.606Z] ---> 746d6080f8fd [2023-01-19T03:00:19.606Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-19T03:00:20.174Z] ---> e6e811c7c638 [2023-01-19T03:00:20.174Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-19T03:00:20.433Z] ---> a7f388eacbc7 [2023-01-19T03:00:20.433Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-19T03:00:20.433Z] ---> 1180e0de338f [2023-01-19T03:00:20.433Z] Step 21/26 : EXPOSE 59984 [2023-01-19T03:00:20.433Z] ---> Running in 243afca239ae [2023-01-19T03:00:20.433Z] Removing intermediate container 243afca239ae [2023-01-19T03:00:20.433Z] ---> 037212b91770 [2023-01-19T03:00:20.433Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-19T03:00:20.433Z] ---> Running in bbb14dc1fdbf [2023-01-19T03:00:20.692Z] Removing intermediate container bbb14dc1fdbf [2023-01-19T03:00:20.692Z] ---> 0f6dec054d82 [2023-01-19T03:00:20.692Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T03:00:20.692Z] ---> Running in 1391042e7f22 [2023-01-19T03:00:20.692Z] Removing intermediate container 1391042e7f22 [2023-01-19T03:00:20.692Z] ---> a46c5edd446f [2023-01-19T03:00:20.692Z] Step 24/26 : LABEL arch=amd64 [2023-01-19T03:00:20.692Z] ---> Running in 532ce247a6e3 [2023-01-19T03:00:20.692Z] Removing intermediate container 532ce247a6e3 [2023-01-19T03:00:20.692Z] ---> 962415b4a772 [2023-01-19T03:00:20.692Z] Step 25/26 : LABEL git_sha=d489125bdbe00d3bc0774f527613743c1694101f [2023-01-19T03:00:20.692Z] ---> Running in fc9f290e3fe2 [2023-01-19T03:00:20.950Z] Removing intermediate container fc9f290e3fe2 [2023-01-19T03:00:20.950Z] ---> adb02291475a [2023-01-19T03:00:20.950Z] Step 26/26 : LABEL version=0.0.0 [2023-01-19T03:00:20.950Z] ---> Running in 0bba98329c1c [2023-01-19T03:00:20.950Z] Removing intermediate container 0bba98329c1c [2023-01-19T03:00:20.950Z] ---> 0c37cd51192e [2023-01-19T03:00:20.950Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T03:00:20.950Z] Successfully built 0c37cd51192e [2023-01-19T03:00:20.950Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:21.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:00:21.832Z] [2023-01-19T03:00:21.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:22.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:00:22.208Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T03:00:22.208Z] 5eb5b503b376: Pulling fs layer [2023-01-19T03:00:22.208Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T03:00:22.208Z] ec43610c2a17: Pulling fs layer [2023-01-19T03:00:22.208Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T03:00:22.208Z] 33b1e0a273af: Pulling fs layer [2023-01-19T03:00:22.209Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T03:00:22.209Z] 2f39f015ded8: Pulling fs layer [2023-01-19T03:00:22.209Z] 33b1e0a273af: Waiting [2023-01-19T03:00:22.209Z] 3a2ae6a8a46f: Waiting [2023-01-19T03:00:22.209Z] 5d3b04190fa2: Waiting [2023-01-19T03:00:22.209Z] 2f39f015ded8: Waiting [2023-01-19T03:00:22.209Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T03:00:22.209Z] 5c69ac0246d0: Download complete [2023-01-19T03:00:22.470Z] 33b1e0a273af: Verifying Checksum [2023-01-19T03:00:22.470Z] 33b1e0a273af: Download complete [2023-01-19T03:00:22.470Z] 5d3b04190fa2: Verifying Checksum [2023-01-19T03:00:22.470Z] 5d3b04190fa2: Download complete [2023-01-19T03:00:22.470Z] ec43610c2a17: Verifying Checksum [2023-01-19T03:00:22.470Z] ec43610c2a17: Download complete [2023-01-19T03:00:22.732Z] 5eb5b503b376: Verifying Checksum [2023-01-19T03:00:22.732Z] 5eb5b503b376: Download complete [2023-01-19T03:00:23.298Z] 2f39f015ded8: Download complete [2023-01-19T03:00:23.865Z] 5eb5b503b376: Pull complete [2023-01-19T03:00:24.124Z] 5c69ac0246d0: Pull complete [2023-01-19T03:00:24.384Z] ec43610c2a17: Pull complete [2023-01-19T03:00:24.643Z] 3a2ae6a8a46f: Pull complete [2023-01-19T03:00:24.901Z] 33b1e0a273af: Pull complete [2023-01-19T03:00:24.901Z] 5d3b04190fa2: Pull complete [2023-01-19T03:00:29.087Z] 2f39f015ded8: Pull complete [2023-01-19T03:00:29.087Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T03:00:29.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:00:29.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:00:29.306Z] prd-ubuntu20.04-docker-8c-8g-3068 does not seem to be running inside a container [2023-01-19T03:00:29.338Z] $ 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/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T03:00:32.316Z] $ docker top 059475ba18a95cfbf7c859b16bf94df91f1d126ce8c48758feb50b610ce8ea31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:32.747Z] ---> job-cost.sh [2023-01-19T03:00:32.747Z] lf-activate-venv: SKIPPING [2023-01-19T03:00:32.747Z] INFO: No Stack... [2023-01-19T03:00:33.005Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T03:00:33.572Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T03:00:33.889Z] + cat /w/workspace/undry_device-onvif-camera_PR-219/archives/cost.csv [2023-01-19T03:00:33.889Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T03:00:33.936Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [2023-01-19T03:00:33.942Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] did not exist. Created. [2023-01-19T03:00:33.942Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T03:00:34.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T03:00:34.385Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T03:00:34.413Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T03:00:34.487Z] $ docker stop --time=1 059475ba18a95cfbf7c859b16bf94df91f1d126ce8c48758feb50b610ce8ea31 [2023-01-19T03:00:35.636Z] $ docker rm -f --volumes 059475ba18a95cfbf7c859b16bf94df91f1d126ce8c48758feb50b610ce8ea31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T03:01:52.122Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3069 in /w/workspace/undry_device-onvif-camera_PR-219 [Pipeline] { [Pipeline] ws [2023-01-19T03:01:52.179Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-19T03:01:52.265Z] The recommended git tool is: git [2023-01-19T03:01:58.510Z] using credential edgex-jenkins-ssh [2023-01-19T03:01:58.528Z] Cloning the remote Git repository [2023-01-19T03:01:58.594Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T03:01:58.686Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-19T03:01:58.886Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T03:01:58.888Z] > git --version # timeout=10 [2023-01-19T03:01:58.912Z] > git --version # 'git version 2.25.1' [2023-01-19T03:01:58.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T03:01:58.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T03:02:00.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-19T03:02:00.555Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T03:02:02.382Z] Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit d489125bdbe00d3bc0774f527613743c1694101f [2023-01-19T03:02:01.594Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-19T03:02:01.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T03:02:01.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T03:02:01.672Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T03:02:02.406Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T03:02:02.451Z] > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 [2023-01-19T03:02:02.931Z] Merge succeeded, producing d489125bdbe00d3bc0774f527613743c1694101f [2023-01-19T03:02:02.931Z] Checking out Revision d489125bdbe00d3bc0774f527613743c1694101f (PR-219) [2023-01-19T03:02:02.799Z] > git remote # timeout=10 [2023-01-19T03:02:02.821Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T03:02:02.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T03:02:02.865Z] > git merge 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 [2023-01-19T03:02:02.899Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T03:02:02.939Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T03:02:02.953Z] > git checkout -f d489125bdbe00d3bc0774f527613743c1694101f # timeout=10 [2023-01-19T03:02:07.004Z] Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" [2023-01-19T03:02:07.060Z] > git --version # timeout=10 [2023-01-19T03:02:07.073Z] > git --version # 'git version 2.25.1' [2023-01-19T03:02:07.087Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T03:02:08.168Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T03:02:08.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T03:02:08.168Z] Dload Upload Total Spent Left Speed [2023-01-19T03:02:08.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63755 0 --:--:-- --:--:-- --:--:-- 63755 [Pipeline] sh [2023-01-19T03:02:08.903Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T03:02:09.254Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T03:02:09.254Z] + sudo tee /etc/docker/daemon.new [2023-01-19T03:02:09.254Z] { [2023-01-19T03:02:09.254Z] "registry-mirrors": [ [2023-01-19T03:02:09.254Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T03:02:09.254Z] ], [2023-01-19T03:02:09.254Z] "bip": "10.250.0.254/24", [2023-01-19T03:02:09.254Z] "hosts": [ [2023-01-19T03:02:09.254Z] "tcp://0.0.0.0:5555", [2023-01-19T03:02:09.254Z] "unix:///var/run/docker.sock" [2023-01-19T03:02:09.254Z] ], [2023-01-19T03:02:09.254Z] "mtu": 1458, [2023-01-19T03:02:09.254Z] "selinux-enabled": true, [2023-01-19T03:02:09.254Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T03:02:09.254Z] } [Pipeline] sh [2023-01-19T03:02:09.603Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T03:02:09.964Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T03:02:28.319Z] provisioning config files... [2023-01-19T03:02:28.346Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15163561684664879850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:02:28.734Z] ---> docker-login.sh [2023-01-19T03:02:28.734Z] nexus3.edgexfoundry.org:10001 [2023-01-19T03:02:29.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T03:02:29.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T03:02:29.320Z] Configure a credential helper to remove this warning. See [2023-01-19T03:02:29.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T03:02:29.320Z] [2023-01-19T03:02:29.320Z] Login Succeeded [2023-01-19T03:02:29.320Z] nexus3.edgexfoundry.org:10002 [2023-01-19T03:02:29.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T03:02:29.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T03:02:29.858Z] Configure a credential helper to remove this warning. See [2023-01-19T03:02:29.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T03:02:29.858Z] [2023-01-19T03:02:29.858Z] Login Succeeded [2023-01-19T03:02:29.858Z] nexus3.edgexfoundry.org:10003 [2023-01-19T03:02:30.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T03:02:30.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T03:02:30.126Z] Configure a credential helper to remove this warning. See [2023-01-19T03:02:30.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T03:02:30.126Z] [2023-01-19T03:02:30.126Z] Login Succeeded [2023-01-19T03:02:30.126Z] nexus3.edgexfoundry.org:10004 [2023-01-19T03:02:30.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T03:02:30.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T03:02:30.397Z] Configure a credential helper to remove this warning. See [2023-01-19T03:02:30.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T03:02:30.397Z] [2023-01-19T03:02:30.397Z] Login Succeeded [2023-01-19T03:02:30.397Z] docker.io [2023-01-19T03:02:30.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T03:02:30.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T03:02:30.936Z] Configure a credential helper to remove this warning. See [2023-01-19T03:02:30.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T03:02:30.936Z] [2023-01-19T03:02:30.936Z] Login Succeeded [2023-01-19T03:02:30.936Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T03:02:30.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T03:02:31.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T03:02:31.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T03:02:31.544Z] ========================================================= [2023-01-19T03:02:31.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T03:02:31.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:02:32.057Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T03:02:33.479Z] Sending build context to Docker daemon 20.54MB [2023-01-19T03:02:33.479Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T03:02:33.479Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-19T03:02:33.752Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T03:02:33.752Z] 9b18e9b68314: Pulling fs layer [2023-01-19T03:02:33.752Z] 35d82f9e3411: Pulling fs layer [2023-01-19T03:02:33.752Z] e16973657156: Pulling fs layer [2023-01-19T03:02:33.752Z] fc693d55d65f: Pulling fs layer [2023-01-19T03:02:33.752Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T03:02:33.752Z] dda99020689f: Pulling fs layer [2023-01-19T03:02:33.752Z] db1c61fa0a46: Pulling fs layer [2023-01-19T03:02:33.752Z] 891c053d2c06: Pulling fs layer [2023-01-19T03:02:33.752Z] fc693d55d65f: Waiting [2023-01-19T03:02:33.752Z] 7e9fc2657dce: Waiting [2023-01-19T03:02:33.752Z] dda99020689f: Waiting [2023-01-19T03:02:33.752Z] db1c61fa0a46: Waiting [2023-01-19T03:02:33.752Z] 891c053d2c06: Waiting [2023-01-19T03:02:33.752Z] e16973657156: Verifying Checksum [2023-01-19T03:02:33.752Z] e16973657156: Download complete [2023-01-19T03:02:33.752Z] 35d82f9e3411: Verifying Checksum [2023-01-19T03:02:33.752Z] 35d82f9e3411: Download complete [2023-01-19T03:02:33.752Z] 7e9fc2657dce: Verifying Checksum [2023-01-19T03:02:33.752Z] 7e9fc2657dce: Download complete [2023-01-19T03:02:33.752Z] dda99020689f: Download complete [2023-01-19T03:02:33.752Z] 9b18e9b68314: Verifying Checksum [2023-01-19T03:02:33.752Z] 9b18e9b68314: Download complete [2023-01-19T03:02:34.728Z] 9b18e9b68314: Pull complete [2023-01-19T03:02:34.728Z] 891c053d2c06: Verifying Checksum [2023-01-19T03:02:34.728Z] 891c053d2c06: Download complete [2023-01-19T03:02:35.321Z] 35d82f9e3411: Pull complete [2023-01-19T03:02:35.595Z] e16973657156: Pull complete [2023-01-19T03:02:36.188Z] db1c61fa0a46: Verifying Checksum [2023-01-19T03:02:36.188Z] db1c61fa0a46: Download complete [2023-01-19T03:02:36.778Z] fc693d55d65f: Verifying Checksum [2023-01-19T03:02:36.778Z] fc693d55d65f: Download complete [2023-01-19T03:02:49.304Z] fc693d55d65f: Pull complete [2023-01-19T03:02:49.304Z] 7e9fc2657dce: Pull complete [2023-01-19T03:02:49.304Z] dda99020689f: Pull complete [2023-01-19T03:02:55.991Z] db1c61fa0a46: Pull complete [2023-01-19T03:02:58.598Z] 891c053d2c06: Pull complete [2023-01-19T03:02:58.598Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T03:02:58.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T03:02:58.598Z] ---> f96f9c87975a [2023-01-19T03:02:58.598Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-19T03:03:00.553Z] ---> Running in c91b92e8fce7 [2023-01-19T03:03:00.824Z] Removing intermediate container c91b92e8fce7 [2023-01-19T03:03:00.824Z] ---> d4c1e143caab [2023-01-19T03:03:00.824Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T03:03:01.095Z] ---> Running in e0b849acb0a0 [2023-01-19T03:03:01.365Z] Removing intermediate container e0b849acb0a0 [2023-01-19T03:03:01.365Z] ---> bfe12ef801ca [2023-01-19T03:03:01.365Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T03:03:01.365Z] ---> Running in d1c97e96a0d7 [2023-01-19T03:03:01.634Z] Removing intermediate container d1c97e96a0d7 [2023-01-19T03:03:01.634Z] ---> 31eb6996cbb6 [2023-01-19T03:03:01.634Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T03:03:01.905Z] ---> Running in 0236620e92e8 [2023-01-19T03:03:02.175Z] Removing intermediate container 0236620e92e8 [2023-01-19T03:03:02.175Z] ---> bf559517a1fc [2023-01-19T03:03:02.175Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-19T03:03:02.175Z] ---> Running in 46291804dfd3 [2023-01-19T03:03:02.445Z] Removing intermediate container 46291804dfd3 [2023-01-19T03:03:02.445Z] ---> 0b4c588185c0 [2023-01-19T03:03:02.445Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T03:03:02.718Z] ---> Running in 0bdb3587e6ac [2023-01-19T03:03:03.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:03:03.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:03:04.918Z] OK: 221 MiB in 51 packages [2023-01-19T03:03:05.883Z] Removing intermediate container 0bdb3587e6ac [2023-01-19T03:03:05.883Z] ---> 28fb5840242c [2023-01-19T03:03:05.883Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-19T03:03:05.883Z] ---> Running in 368865e1c291 [2023-01-19T03:03:06.151Z] Removing intermediate container 368865e1c291 [2023-01-19T03:03:06.151Z] ---> 410d762fe20e [2023-01-19T03:03:06.151Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-19T03:03:06.735Z] ---> 1cf21041194f [2023-01-19T03:03:06.735Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T03:03:06.735Z] ---> Running in d027fb29e37d [2023-01-19T03:04:14.662Z] Removing intermediate container d027fb29e37d [2023-01-19T03:04:14.662Z] ---> 122041b3bde6 [2023-01-19T03:04:14.662Z] Step 12/13 : COPY . . [2023-01-19T03:04:14.662Z] ---> 905454b7d46a [2023-01-19T03:04:14.662Z] Step 13/13 : RUN ${MAKE} [2023-01-19T03:04:14.662Z] ---> Running in 60523abb8548 [2023-01-19T03:04:14.662Z] noop [2023-01-19T03:04:15.631Z] Removing intermediate container 60523abb8548 [2023-01-19T03:04:15.631Z] ---> f7dc2471002f [2023-01-19T03:04:15.631Z] Successfully built f7dc2471002f [2023-01-19T03:04:15.631Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:04:16.116Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T03:04:16.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:04:16.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-3069 does not seem to be running inside a container [2023-01-19T03:04:16.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T03:04:17.602Z] $ docker top f26f335cd761e367b9b49b5d96e474b2525b6faa8997420fb644e356f46aa40b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:04:18.472Z] + go version [2023-01-19T03:04:18.472Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T03:04:18.505Z] $ docker stop --time=1 f26f335cd761e367b9b49b5d96e474b2525b6faa8997420fb644e356f46aa40b [2023-01-19T03:04:20.107Z] $ docker rm -f --volumes f26f335cd761e367b9b49b5d96e474b2525b6faa8997420fb644e356f46aa40b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:04:20.953Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T03:04:20.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:04:21.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-3069 does not seem to be running inside a container [2023-01-19T03:04:21.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T03:04:22.434Z] $ docker top f1339f8b2d7cce84de5876741cc91dc04fa1017e0f3193c6e15edb519ddbe8ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:04:22.998Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T03:04:23.384Z] + make test [2023-01-19T03:04:23.384Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T03:04:25.331Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-19T03:06:02.030Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-19T03:06:02.652Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 29.3% of statements [2023-01-19T03:06:02.652Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-19T03:06:17.653Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.959s coverage: 86.5% of statements [2023-01-19T03:06:17.653Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T03:06:17.653Z] go vet ./... [2023-01-19T03:06:49.891Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T03:06:49.891Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T03:06:49.891Z] ./bin/test-attribution-txt.sh [2023-01-19T03:06:49.891Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T03:06:49.891Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T03:06:49.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T03:06:49.957Z] $ docker stop --time=1 f1339f8b2d7cce84de5876741cc91dc04fa1017e0f3193c6e15edb519ddbe8ac [2023-01-19T03:06:52.027Z] $ docker rm -f --volumes f1339f8b2d7cce84de5876741cc91dc04fa1017e0f3193c6e15edb519ddbe8ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T03:06:53.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T03:06:53.096Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T03:06:53.669Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T03:06:54.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T03:06:54.596Z] + ls -al . [2023-01-19T03:06:54.596Z] total 232 [2023-01-19T03:06:54.596Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 03:04 . [2023-01-19T03:06:54.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 03:01 .. [2023-01-19T03:06:54.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 03:02 .git [2023-01-19T03:06:54.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 03:02 .github [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 19 03:02 .gitignore [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 03:02 .golangci.yml [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 19 03:02 Attribution.txt [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 19 03:02 CHANGELOG.md [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 19 03:02 Dockerfile [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 03:02 GOVERNANCE.md [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 19 03:02 Jenkinsfile [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 19 03:02 LICENSE [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 19 03:02 Makefile [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 19 03:02 OWNERS.md [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 19 03:02 README.md [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:58 VERSION [2023-01-19T03:06:54.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 03:02 bin [2023-01-19T03:06:54.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 03:02 cmd [2023-01-19T03:06:54.596Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 19 03:06 coverage.out [2023-01-19T03:06:54.596Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 03:02 doc [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 3654 Jan 19 03:02 go.mod [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 36181 Jan 19 03:02 go.sum [2023-01-19T03:06:54.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 03:02 internal [2023-01-19T03:06:54.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 03:02 snap [2023-01-19T03:06:54.596Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 19 03:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:06:55.009Z] + 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=d489125bdbe00d3bc0774f527613743c1694101f --label arch=arm64 --label version=0.0.0 . [2023-01-19T03:06:55.602Z] Sending build context to Docker daemon 20.62MB [2023-01-19T03:06:55.602Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T03:06:55.602Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-19T03:06:55.602Z] ---> f7dc2471002f [2023-01-19T03:06:55.602Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-19T03:06:56.195Z] ---> Running in 56359fe7cb0e [2023-01-19T03:06:56.463Z] Removing intermediate container 56359fe7cb0e [2023-01-19T03:06:56.463Z] ---> dcbf20ed027a [2023-01-19T03:06:56.463Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T03:06:56.867Z] ---> Running in 8b4f2f62db86 [2023-01-19T03:06:57.163Z] Removing intermediate container 8b4f2f62db86 [2023-01-19T03:06:57.163Z] ---> 92aa3f13dc4a [2023-01-19T03:06:57.163Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T03:06:57.443Z] ---> Running in 351d30fdaf2c [2023-01-19T03:06:58.891Z] Removing intermediate container 351d30fdaf2c [2023-01-19T03:06:58.891Z] ---> 6ab175c6c71e [2023-01-19T03:06:58.891Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T03:06:58.891Z] ---> Running in 0b07d67ba19e [2023-01-19T03:06:59.169Z] Removing intermediate container 0b07d67ba19e [2023-01-19T03:06:59.169Z] ---> bed078e744f5 [2023-01-19T03:06:59.169Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-19T03:06:59.453Z] ---> Running in 1f29846e5e71 [2023-01-19T03:06:59.732Z] Removing intermediate container 1f29846e5e71 [2023-01-19T03:06:59.732Z] ---> 78224d0a08cd [2023-01-19T03:06:59.732Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T03:06:59.732Z] ---> Running in 8c9204622b12 [2023-01-19T03:07:01.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:07:02.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:07:03.246Z] OK: 221 MiB in 51 packages [2023-01-19T03:07:04.682Z] Removing intermediate container 8c9204622b12 [2023-01-19T03:07:04.682Z] ---> e03ce6f79bfa [2023-01-19T03:07:04.682Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-19T03:07:04.682Z] ---> Running in 60068ab5b7b0 [2023-01-19T03:07:04.958Z] Removing intermediate container 60068ab5b7b0 [2023-01-19T03:07:04.958Z] ---> 4da635907a76 [2023-01-19T03:07:04.958Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-19T03:07:07.005Z] ---> b08a9fcbed25 [2023-01-19T03:07:07.005Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T03:07:07.005Z] ---> Running in 4c9308a02c8b [2023-01-19T03:07:11.289Z] Removing intermediate container 4c9308a02c8b [2023-01-19T03:07:11.289Z] ---> c868b6e64351 [2023-01-19T03:07:11.289Z] Step 12/26 : COPY . . [2023-01-19T03:07:13.243Z] ---> 49f98d00e689 [2023-01-19T03:07:13.243Z] Step 13/26 : RUN ${MAKE} [2023-01-19T03:07:13.243Z] ---> Running in 64b3e0a17fec [2023-01-19T03:07:14.208Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-19T03:09:20.894Z] Removing intermediate container 64b3e0a17fec [2023-01-19T03:09:20.894Z] ---> f3da98028971 [2023-01-19T03:09:20.894Z] Step 14/26 : FROM alpine:3.16 [2023-01-19T03:09:20.894Z] 3.16: Pulling from library/alpine [2023-01-19T03:09:20.894Z] 6875df1f5354: Pulling fs layer [2023-01-19T03:09:20.894Z] 6875df1f5354: Verifying Checksum [2023-01-19T03:09:20.894Z] 6875df1f5354: Download complete [2023-01-19T03:09:20.894Z] 6875df1f5354: Pull complete [2023-01-19T03:09:20.894Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T03:09:20.894Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T03:09:20.894Z] ---> 2b4661558fb8 [2023-01-19T03:09:20.894Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-19T03:09:20.894Z] ---> Running in 004bf2705d6e [2023-01-19T03:09:20.894Z] Removing intermediate container 004bf2705d6e [2023-01-19T03:09:20.894Z] ---> 24170e245f11 [2023-01-19T03:09:20.894Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-19T03:09:20.894Z] ---> Running in 245b18230af1 [2023-01-19T03:09:20.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:09:20.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:09:21.854Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T03:09:21.854Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T03:09:21.854Z] OK: 5 MiB in 15 packages [2023-01-19T03:09:22.814Z] Removing intermediate container 245b18230af1 [2023-01-19T03:09:22.814Z] ---> c9041f7acb5b [2023-01-19T03:09:22.814Z] Step 17/26 : WORKDIR / [2023-01-19T03:09:22.814Z] ---> Running in dfb7c3e07232 [2023-01-19T03:09:23.081Z] Removing intermediate container dfb7c3e07232 [2023-01-19T03:09:23.081Z] ---> 1e3096817739 [2023-01-19T03:09:23.081Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-19T03:09:24.491Z] ---> 897bdf03f042 [2023-01-19T03:09:24.491Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-19T03:09:25.076Z] ---> 2d2a31c94eb1 [2023-01-19T03:09:25.076Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-19T03:09:25.661Z] ---> 6bd6fcc5653b [2023-01-19T03:09:25.661Z] Step 21/26 : EXPOSE 59984 [2023-01-19T03:09:25.661Z] ---> Running in 22bf1408e5c6 [2023-01-19T03:09:25.928Z] Removing intermediate container 22bf1408e5c6 [2023-01-19T03:09:25.928Z] ---> 994207f8f998 [2023-01-19T03:09:25.928Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-19T03:09:25.928Z] ---> Running in a87702624ea5 [2023-01-19T03:09:27.333Z] Removing intermediate container a87702624ea5 [2023-01-19T03:09:27.333Z] ---> d37f7a7158ca [2023-01-19T03:09:27.333Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T03:09:27.333Z] ---> Running in de801dd897ce [2023-01-19T03:09:27.600Z] Removing intermediate container de801dd897ce [2023-01-19T03:09:27.600Z] ---> 36ad89263141 [2023-01-19T03:09:27.600Z] Step 24/26 : LABEL arch=arm64 [2023-01-19T03:09:27.600Z] ---> Running in f610399b7843 [2023-01-19T03:09:27.867Z] Removing intermediate container f610399b7843 [2023-01-19T03:09:27.867Z] ---> 55f30713125d [2023-01-19T03:09:27.867Z] Step 25/26 : LABEL git_sha=d489125bdbe00d3bc0774f527613743c1694101f [2023-01-19T03:09:27.867Z] ---> Running in c9328a72268c [2023-01-19T03:09:28.134Z] Removing intermediate container c9328a72268c [2023-01-19T03:09:28.134Z] ---> 46e1e382e153 [2023-01-19T03:09:28.134Z] Step 26/26 : LABEL version=0.0.0 [2023-01-19T03:09:28.134Z] ---> Running in ab6bc80c1610 [2023-01-19T03:09:28.401Z] Removing intermediate container ab6bc80c1610 [2023-01-19T03:09:28.401Z] ---> 4d7711dece66 [2023-01-19T03:09:28.401Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T03:09:28.667Z] Successfully built 4d7711dece66 [2023-01-19T03:09:28.667Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:09:29.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:09:29.470Z] [2023-01-19T03:09:29.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:09:29.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:09:29.867Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T03:09:29.867Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T03:09:29.867Z] 04944245beec: Pulling fs layer [2023-01-19T03:09:29.867Z] 699f458cf7ca: Pulling fs layer [2023-01-19T03:09:29.867Z] 765212b225bb: Pulling fs layer [2023-01-19T03:09:29.867Z] f23df028b6ca: Pulling fs layer [2023-01-19T03:09:29.867Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T03:09:29.867Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T03:09:29.867Z] 765212b225bb: Waiting [2023-01-19T03:09:29.867Z] f23df028b6ca: Waiting [2023-01-19T03:09:29.867Z] d65c8cfc05b1: Waiting [2023-01-19T03:09:29.867Z] 2437ff75d9bd: Waiting [2023-01-19T03:09:30.142Z] 04944245beec: Download complete [2023-01-19T03:09:30.142Z] 765212b225bb: Download complete [2023-01-19T03:09:30.142Z] f23df028b6ca: Verifying Checksum [2023-01-19T03:09:30.142Z] f23df028b6ca: Download complete [2023-01-19T03:09:30.142Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T03:09:30.142Z] d65c8cfc05b1: Download complete [2023-01-19T03:09:30.410Z] 699f458cf7ca: Verifying Checksum [2023-01-19T03:09:30.410Z] 699f458cf7ca: Download complete [2023-01-19T03:09:30.679Z] 8998bd30e6a1: Verifying Checksum [2023-01-19T03:09:30.679Z] 8998bd30e6a1: Download complete [2023-01-19T03:09:33.260Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T03:09:33.260Z] 2437ff75d9bd: Download complete [2023-01-19T03:09:34.671Z] 8998bd30e6a1: Pull complete [2023-01-19T03:09:35.253Z] 04944245beec: Pull complete [2023-01-19T03:09:36.663Z] 699f458cf7ca: Pull complete [2023-01-19T03:09:36.663Z] 765212b225bb: Pull complete [2023-01-19T03:09:37.246Z] f23df028b6ca: Pull complete [2023-01-19T03:09:37.514Z] d65c8cfc05b1: Pull complete [2023-01-19T03:09:52.505Z] 2437ff75d9bd: Pull complete [2023-01-19T03:09:52.505Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T03:09:52.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:09:52.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:09:52.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-3069 does not seem to be running inside a container [2023-01-19T03:09:52.889Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T03:09:55.438Z] $ docker top d91bd209143ddd9c44bc8b0ac31f321e1a9971b740832f6eaa5c7456459e3ca6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:09:56.358Z] ---> job-cost.sh [2023-01-19T03:09:56.358Z] lf-activate-venv: SKIPPING [2023-01-19T03:09:56.358Z] INFO: No Stack... [2023-01-19T03:09:56.941Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T03:09:57.524Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T03:09:58.183Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-19T03:09:58.183Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T03:09:58.264Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [2023-01-19T03:09:58.268Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] did not exist. Created. [2023-01-19T03:09:58.269Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T03:09:58.990Z] /w/workspace/device-onvif-camera/1@tmp/durable-8c9ca578/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T03:09:59.336Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T03:09:59.371Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T03:09:59.434Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T03:09:59.448Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T03:09:59.527Z] $ docker stop --time=1 d91bd209143ddd9c44bc8b0ac31f321e1a9971b740832f6eaa5c7456459e3ca6 [2023-01-19T03:10:01.037Z] $ docker rm -f --volumes d91bd209143ddd9c44bc8b0ac31f321e1a9971b740832f6eaa5c7456459e3ca6 [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 [2023-01-19T03:10:02.004Z] provisioning config files... [2023-01-19T03:10:02.013Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config6614847069566210248tmp [Pipeline] { [Pipeline] sh [2023-01-19T03:10:02.353Z] + set +x [2023-01-19T03:10:02.353Z] + bash -s -- [2023-01-19T03:10:02.353Z] + curl -s https://codecov.io/bash [2023-01-19T03:10:02.353Z] [2023-01-19T03:10:02.353Z] _____ _ [2023-01-19T03:10:02.353Z] / ____| | | [2023-01-19T03:10:02.353Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T03:10:02.353Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T03:10:02.353Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T03:10:02.353Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T03:10:02.353Z] Bash-1.0.6 [2023-01-19T03:10:02.353Z] [2023-01-19T03:10:02.353Z] [2023-01-19T03:10:02.353Z] ==> git version 2.25.1 found [2023-01-19T03:10:02.353Z] ==> 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 [2023-01-19T03:10:02.353Z] Release-Date: 2020-01-08 [2023-01-19T03:10:02.353Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-19T03:10:02.353Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T03:10:02.353Z] ==> Jenkins CI detected. [2023-01-19T03:10:02.353Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-219 [2023-01-19T03:10:02.353Z] project root: . [2023-01-19T03:10:02.353Z] --> token set from env [2023-01-19T03:10:02.353Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T03:10:02.353Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T03:10:02.353Z] ==> Python coveragepy not found [2023-01-19T03:10:02.353Z] ==> Searching for coverage reports in: [2023-01-19T03:10:02.353Z] + . [2023-01-19T03:10:02.353Z] -> Found 1 reports [2023-01-19T03:10:02.353Z] ==> Detecting git/mercurial file structure [2023-01-19T03:10:02.613Z] ==> Reading reports [2023-01-19T03:10:02.613Z] + ./coverage.out bytes=79184 [2023-01-19T03:10:02.613Z] ==> Appending adjustments [2023-01-19T03:10:02.613Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T03:10:02.613Z] + Found adjustments [2023-01-19T03:10:02.613Z] ==> Gzipping contents [2023-01-19T03:10:02.613Z] 12K /tmp/codecov.ss8gUm.gz [2023-01-19T03:10:02.613Z] ==> Uploading reports [2023-01-19T03:10:02.613Z] url: https://codecov.io [2023-01-19T03:10:02.613Z] query: branch=PR-219&commit=d489125bdbe00d3bc0774f527613743c1694101f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-01-19T03:10:02.613Z] -> Pinging Codecov [2023-01-19T03:10:02.613Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-219&commit=d489125bdbe00d3bc0774f527613743c1694101f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=219&job=&cmd_args= [2023-01-19T03:10:04.003Z] -> Uploading to [2023-01-19T03:10:04.003Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/F29A59C45E3A92E06B3E522C9905F8EF/d489125bdbe00d3bc0774f527613743c1694101f/cbd19284-a883-40cc-801a-6251d1066ea4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T031003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfb7780a91b8e529c5fa17dab3a66d33bc294cdec4f50adad7d9075a839b8d3c [2023-01-19T03:10:04.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T03:10:04.003Z] Dload Upload Total Spent Left Speed [2023-01-19T03:10:04.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10836 0 0 100 10836 0 35067 --:--:-- --:--:-- --:--:-- 35067 [2023-01-19T03:10:04.269Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d489125bdbe00d3bc0774f527613743c1694101f [Pipeline] } [2023-01-19T03:10:04.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 [2023-01-19T03:10:06.149Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-219/archives ] [2023-01-19T03:10:06.149Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-19T03:10:06.149Z] total 16 [2023-01-19T03:10:06.149Z] drwxr-xr-x 3 root root 4096 Jan 19 03:00 . [2023-01-19T03:10:06.149Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 03:00 .. [2023-01-19T03:10:06.149Z] drwxr-xr-x 2 root root 4096 Jan 19 03:00 cost [2023-01-19T03:10:06.149Z] -rw-r--r-- 1 root root 91 Jan 19 03:00 cost.csv [2023-01-19T03:10:06.149Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-19T03:10:06.149Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-219/archives [2023-01-19T03:10:06.149Z] total 16 [2023-01-19T03:10:06.149Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 03:00 . [2023-01-19T03:10:06.149Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 03:00 .. [2023-01-19T03:10:06.149Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 03:00 cost [2023-01-19T03:10:06.149Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 19 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:06.466Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:07.354Z] ---> package-listing.sh [2023-01-19T03:10:07.354Z] ++ facter osfamily [2023-01-19T03:10:07.354Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T03:10:07.615Z] + OS_FAMILY=debian [2023-01-19T03:10:07.615Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-219 [2023-01-19T03:10:07.615Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T03:10:07.615Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T03:10:07.615Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T03:10:07.615Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T03:10:07.615Z] + '[' /w/workspace/undry_device-onvif-camera_PR-219 ']' [2023-01-19T03:10:07.615Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T03:10:07.615Z] + case "${OS_FAMILY}" in [2023-01-19T03:10:07.615Z] + dpkg -l [2023-01-19T03:10:07.615Z] + grep '^ii' [2023-01-19T03:10:07.615Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T03:10:07.615Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T03:10:07.615Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T03:10:07.615Z] + '[' /w/workspace/undry_device-onvif-camera_PR-219 ']' [2023-01-19T03:10:07.615Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-219/archives/ [2023-01-19T03:10:07.615Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-219/archives/ [Pipeline] echo [2023-01-19T03:10:07.646Z] 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/undry_device-onvif-camera_PR-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T03:10:07.944Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:10:08.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:10:08.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:10:08.717Z] prd-ubuntu20.04-docker-8c-8g-3068 does not seem to be running inside a container [2023-01-19T03:10:08.752Z] $ 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/undry_device-onvif-camera_PR-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-219 -v /w/workspace/undry_device-onvif-camera_PR-219:/w/workspace/undry_device-onvif-camera_PR-219:rw,z -v /w/workspace/undry_device-onvif-camera_PR-219@tmp:/w/workspace/undry_device-onvif-camera_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T03:10:08.935Z] $ docker top e9c77656e7ad7d1afceef03d9da4dad6a593f4258f411411915818570d7ed9db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:10:09.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T03:10:09.627Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T03:10:09.939Z] + ls /var/log/sa-host [2023-01-19T03:10:09.939Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T03:10:10.074Z] provisioning config files... [2023-01-19T03:10:10.082Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-219@tmp/config13066918631989394459tmp [Pipeline] { [Pipeline] echo [2023-01-19T03:10:10.138Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:10.448Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T03:10:10.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:10.894Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T03:10:10.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:11.233Z] ---> sudo-logs.sh [2023-01-19T03:10:11.233Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T03:10:11.322Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:11.631Z] ---> job-cost.sh [2023-01-19T03:10:11.631Z] lf-activate-venv: SKIPPING [2023-01-19T03:10:11.631Z] DEBUG: total: 0.2199999988079071 [2023-01-19T03:10:11.631Z] INFO: Retrieving Stack Cost... [2023-01-19T03:10:11.891Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T03:10:12.460Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T03:10:12.496Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:10:12.810Z] ---> logs-deploy.sh [2023-01-19T03:10:12.810Z] lf-activate-venv: SKIPPING [2023-01-19T03:10:12.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-219/1 [2023-01-19T03:10:12.810Z] INFO: archiving workspace using pattern(s): [2023-01-19T03:10:13.747Z] Archives upload complete. [2023-01-19T03:10:13.747Z] INFO: archiving logs to Nexus