Pull request #149 updated 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than b438f1b0fabeebaca79cfd15cabf7b8636d6ad52 Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh9195869583309445702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15609378740574778632.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6683484071668635730.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5895045030908555744.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1782942758096985913.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24218 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-149 # 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 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b438f1b0fabeebaca79cfd15cabf7b8636d6ad52 Merge succeeded, producing 3be8273faf73dd65351172bacc916ff88d7cc124 Checking out Revision 3be8273faf73dd65351172bacc916ff88d7cc124 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b438f1b0fabeebaca79cfd15cabf7b8636d6ad52 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3be8273faf73dd65351172bacc916ff88d7cc124 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk ab3203f8ff95aa26f4c496710e8e5ed17a41c506 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T17:17:09.744Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T17:17:09.809Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T17:17:09.827Z] ========================================================= [2022-08-31T17:17:09.827Z] EdgeX Global Pipelines Version Info [2022-08-31T17:17:09.827Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:17:10.588Z] ------------------- [2022-08-31T17:17:10.588Z] stable info: [2022-08-31T17:17:10.588Z] ------------------- [2022-08-31T17:17:10.588Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T17:17:10.588Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T17:17:10.588Z] Message: update stable to v1.0.239 [2022-08-31T17:17:11.162Z] ------------------- [2022-08-31T17:17:11.162Z] experimental info: [2022-08-31T17:17:11.162Z] ------------------- [2022-08-31T17:17:11.162Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T17:17:11.162Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T17:17:11.162Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T17:17:11.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T17:17:11.390Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T17:17:11.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T17:17:11.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T17:17:11.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T17:17:11.455Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T17:17:11.474Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T17:17:11.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T17:17:11.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T17:17:11.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T17:17:11.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T17:17:11.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T17:17:11.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T17:17:11.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T17:17:11.610Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T17:17:11.626Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T17:17:11.644Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T17:17:11.666Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T17:17:11.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T17:17:11.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T17:17:11.708Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T17:17:11.726Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T17:17:11.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T17:17:11.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T17:17:11.782Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T17:17:11.801Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T17:17:11.817Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T17:17:11.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-31T17:17:11.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-31T17:17:11.866Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-31T17:17:11.887Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3be8273faf73dd65351172bacc916ff88d7cc124 [Pipeline] echo [2022-08-31T17:17:11.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3be8273 [Pipeline] echo [2022-08-31T17:17:11.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T17:17:11.973Z] provisioning config files... [2022-08-31T17:17:11.989Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config3703684722837156972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:17:12.302Z] ---> docker-login.sh [2022-08-31T17:17:12.303Z] nexus3.edgexfoundry.org:10001 [2022-08-31T17:17:12.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:12.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:12.828Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:12.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:12.828Z] [2022-08-31T17:17:12.828Z] Login Succeeded [2022-08-31T17:17:12.828Z] nexus3.edgexfoundry.org:10002 [2022-08-31T17:17:12.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:12.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:12.828Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:12.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:12.828Z] [2022-08-31T17:17:12.828Z] Login Succeeded [2022-08-31T17:17:12.828Z] nexus3.edgexfoundry.org:10003 [2022-08-31T17:17:13.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:13.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:13.090Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:13.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:13.090Z] [2022-08-31T17:17:13.090Z] Login Succeeded [2022-08-31T17:17:13.090Z] nexus3.edgexfoundry.org:10004 [2022-08-31T17:17:13.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:13.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:13.353Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:13.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:13.353Z] [2022-08-31T17:17:13.353Z] Login Succeeded [2022-08-31T17:17:13.353Z] docker.io [2022-08-31T17:17:13.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:13.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:13.615Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:13.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:13.615Z] [2022-08-31T17:17:13.615Z] Login Succeeded [2022-08-31T17:17:13.615Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T17:17:13.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T17:17:14.026Z] + git rev-list -1 --merges 3be8273faf73dd65351172bacc916ff88d7cc124~1..3be8273faf73dd65351172bacc916ff88d7cc124 [Pipeline] echo [2022-08-31T17:17:14.056Z] -----------> git rev-list -1 --merges 3be8273faf73dd65351172bacc916ff88d7cc124~1..3be8273faf73dd65351172bacc916ff88d7cc124 3be8273faf73dd65351172bacc916ff88d7cc124 [2022-08-31T17:17:14.056Z] 3be8273faf73dd65351172bacc916ff88d7cc124 [false] [Pipeline] sh [2022-08-31T17:17:14.356Z] + git log --format=format:%s -1 3be8273faf73dd65351172bacc916ff88d7cc124 [Pipeline] echo [2022-08-31T17:17:14.376Z] ========================================================= [2022-08-31T17:17:14.376Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T17:17:14.376Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T17:17:14.730Z] + git log --format=format:%s -1 3be8273faf73dd65351172bacc916ff88d7cc124 [Pipeline] echo [2022-08-31T17:17:14.746Z] [semverPrep] GIT_COMMIT: 3be8273faf73dd65351172bacc916ff88d7cc124, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T17:17:14.758Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T17:17:15.132Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T17:17:15.132Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T17:17:15.132Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T17:17:15.132Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T17:17:15.132Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T17:17:15.132Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T17:17:15.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:17:15.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T17:17:15.556Z] [2022-08-31T17:17:15.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:17:15.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T17:17:15.867Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T17:17:15.867Z] b85a868b505f: Pulling fs layer [2022-08-31T17:17:15.867Z] e2be974225ed: Pulling fs layer [2022-08-31T17:17:15.867Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T17:17:15.867Z] 988bab9f4d93: Pulling fs layer [2022-08-31T17:17:15.867Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T17:17:15.867Z] eaf3925da568: Pulling fs layer [2022-08-31T17:17:15.867Z] bab4dde63d76: Pulling fs layer [2022-08-31T17:17:15.867Z] bde34c3a00c8: Pulling fs layer [2022-08-31T17:17:15.867Z] b352a97aabf1: Pulling fs layer [2022-08-31T17:17:15.867Z] 4872d77fe225: Pulling fs layer [2022-08-31T17:17:15.867Z] 5851b861e8e6: Pulling fs layer [2022-08-31T17:17:15.867Z] 1469e6f7b9e6: Waiting [2022-08-31T17:17:15.867Z] 988bab9f4d93: Waiting [2022-08-31T17:17:15.867Z] eaf3925da568: Waiting [2022-08-31T17:17:15.867Z] bab4dde63d76: Waiting [2022-08-31T17:17:15.867Z] bde34c3a00c8: Waiting [2022-08-31T17:17:15.867Z] 5851b861e8e6: Waiting [2022-08-31T17:17:15.867Z] b352a97aabf1: Waiting [2022-08-31T17:17:15.867Z] 4872d77fe225: Waiting [2022-08-31T17:17:15.867Z] e2be974225ed: Verifying Checksum [2022-08-31T17:17:15.867Z] e2be974225ed: Download complete [2022-08-31T17:17:15.867Z] 988bab9f4d93: Download complete [2022-08-31T17:17:16.129Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T17:17:16.129Z] 1469e6f7b9e6: Download complete [2022-08-31T17:17:16.129Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T17:17:16.129Z] 339a4e72a1f5: Download complete [2022-08-31T17:17:16.129Z] eaf3925da568: Verifying Checksum [2022-08-31T17:17:16.129Z] eaf3925da568: Download complete [2022-08-31T17:17:16.129Z] bde34c3a00c8: Download complete [2022-08-31T17:17:16.129Z] b352a97aabf1: Verifying Checksum [2022-08-31T17:17:16.129Z] b352a97aabf1: Download complete [2022-08-31T17:17:16.129Z] 4872d77fe225: Verifying Checksum [2022-08-31T17:17:16.129Z] 4872d77fe225: Download complete [2022-08-31T17:17:16.129Z] 5851b861e8e6: Download complete [2022-08-31T17:17:16.129Z] b85a868b505f: Verifying Checksum [2022-08-31T17:17:16.129Z] b85a868b505f: Download complete [2022-08-31T17:17:16.389Z] bab4dde63d76: Verifying Checksum [2022-08-31T17:17:16.389Z] bab4dde63d76: Download complete [2022-08-31T17:17:17.784Z] b85a868b505f: Pull complete [2022-08-31T17:17:17.784Z] e2be974225ed: Pull complete [2022-08-31T17:17:18.045Z] 339a4e72a1f5: Pull complete [2022-08-31T17:17:18.305Z] 988bab9f4d93: Pull complete [2022-08-31T17:17:18.566Z] 1469e6f7b9e6: Pull complete [2022-08-31T17:17:18.566Z] eaf3925da568: Pull complete [2022-08-31T17:17:20.477Z] bab4dde63d76: Pull complete [2022-08-31T17:17:20.477Z] bde34c3a00c8: Pull complete [2022-08-31T17:17:20.737Z] b352a97aabf1: Pull complete [2022-08-31T17:17:20.737Z] 4872d77fe225: Pull complete [2022-08-31T17:17:20.737Z] 5851b861e8e6: Pull complete [2022-08-31T17:17:20.737Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T17:17:20.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T17:17:20.737Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:17:20.838Z] prd-ubuntu20.04-docker-8c-8g-24218 does not seem to be running inside a container [2022-08-31T17:17:20.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-devops/py-git-semver:0.1.4 cat [2022-08-31T17:17:22.232Z] $ docker top c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b -eo pid,comm [2022-08-31T17:17:22.306Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-31T17:17:22.306Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T17:17:22.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T17:17:22.347Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T17:17:22.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T17:17:22.467Z] $ docker exec c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b ssh-agent [2022-08-31T17:17:22.595Z] SSH_AUTH_SOCK=/tmp/ssh-tvv5HvGQSd4i/agent.32 [2022-08-31T17:17:22.595Z] SSH_AGENT_PID=39 [2022-08-31T17:17:22.602Z] Running ssh-add (command line suppressed) [2022-08-31T17:17:22.725Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4543505630988886104.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4543505630988886104.key) [2022-08-31T17:17:22.747Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T17:17:23.038Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T17:17:23.049Z] $ docker exec --env ******** --env ******** c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b ssh-agent -k [2022-08-31T17:17:23.162Z] unset SSH_AUTH_SOCK; [2022-08-31T17:17:23.162Z] unset SSH_AGENT_PID; [2022-08-31T17:17:23.162Z] echo Agent pid 39 killed; [2022-08-31T17:17:23.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T17:17:23.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T17:17:23.201Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T17:17:23.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T17:17:23.319Z] $ docker exec c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b ssh-agent [2022-08-31T17:17:23.442Z] SSH_AUTH_SOCK=/tmp/ssh-5I3ZBACGPUZR/agent.72 [2022-08-31T17:17:23.442Z] SSH_AGENT_PID=78 [2022-08-31T17:17:23.448Z] Running ssh-add (command line suppressed) [2022-08-31T17:17:23.547Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3161459355307947698.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3161459355307947698.key) [2022-08-31T17:17:23.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T17:17:23.864Z] + git semver init [2022-08-31T17:17:24.126Z] 2022-08-31 17:17:24,085 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T17:17:24.126Z] 2022-08-31 17:17:24,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T17:17:24.126Z] 2022-08-31 17:17:24,086 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T17:17:24.126Z] 2022-08-31 17:17:24,086 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,959 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,959 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,960 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,964 [execute] INFO git cat-file --batch-check [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,971 [execute] INFO git cat-file --batch [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T17:17:25.069Z] 2022-08-31 17:17:24,977 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T17:17:25.069Z] 0.0.0 [Pipeline] } [2022-08-31T17:17:25.075Z] $ docker exec --env ******** --env ******** c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b ssh-agent -k [2022-08-31T17:17:25.196Z] unset SSH_AUTH_SOCK; [2022-08-31T17:17:25.196Z] unset SSH_AGENT_PID; [2022-08-31T17:17:25.196Z] echo Agent pid 78 killed; [2022-08-31T17:17:25.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T17:17:25.529Z] + git semver [Pipeline] } [2022-08-31T17:17:25.800Z] $ docker stop --time=1 c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b [2022-08-31T17:17:27.156Z] $ docker rm -f c4f2ed85ff31390e6826b19818cb6d2a8034587e3ce7e03b63538795bccc947b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T17:17:27.512Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T17:17:27.783Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T17:17:27.786Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T17:17:27.943Z] provisioning config files... [2022-08-31T17:17:27.954Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5008459285080549782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:17:28.256Z] ---> docker-login.sh [2022-08-31T17:17:28.256Z] nexus3.edgexfoundry.org:10001 [2022-08-31T17:17:28.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:28.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:28.256Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:28.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:28.256Z] [2022-08-31T17:17:28.256Z] Login Succeeded [2022-08-31T17:17:28.256Z] nexus3.edgexfoundry.org:10002 [2022-08-31T17:17:28.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:28.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:28.517Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:28.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:28.517Z] [2022-08-31T17:17:28.517Z] Login Succeeded [2022-08-31T17:17:28.517Z] nexus3.edgexfoundry.org:10003 [2022-08-31T17:17:28.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:28.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:28.517Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:28.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:28.517Z] [2022-08-31T17:17:28.517Z] Login Succeeded [2022-08-31T17:17:28.517Z] nexus3.edgexfoundry.org:10004 [2022-08-31T17:17:28.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:28.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:28.778Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:28.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:28.778Z] [2022-08-31T17:17:28.778Z] Login Succeeded [2022-08-31T17:17:28.778Z] docker.io [2022-08-31T17:17:28.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:17:29.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:17:29.041Z] Configure a credential helper to remove this warning. See [2022-08-31T17:17:29.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:17:29.041Z] [2022-08-31T17:17:29.041Z] Login Succeeded [2022-08-31T17:17:29.041Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T17:17:29.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T17:17:29.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T17:17:29.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T17:17:29.155Z] ========================================================= [2022-08-31T17:17:29.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T17:17:29.155Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:17:29.484Z] + 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 . [2022-08-31T17:17:29.484Z] Sending build context to Docker daemon 20.72MB [2022-08-31T17:17:29.484Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T17:17:29.484Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T17:17:29.748Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T17:17:29.748Z] 2408cc74d12b: Pulling fs layer [2022-08-31T17:17:29.748Z] ea60b727a1ce: Pulling fs layer [2022-08-31T17:17:29.748Z] 30c4a7721957: Pulling fs layer [2022-08-31T17:17:29.748Z] 370296b7ddb6: Pulling fs layer [2022-08-31T17:17:29.748Z] 7c6cee850709: Pulling fs layer [2022-08-31T17:17:29.748Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T17:17:29.748Z] d94ebbe4e438: Pulling fs layer [2022-08-31T17:17:29.748Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T17:17:29.748Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T17:17:29.748Z] 370296b7ddb6: Waiting [2022-08-31T17:17:29.748Z] 7c6cee850709: Waiting [2022-08-31T17:17:29.748Z] 39a5fcdaea64: Waiting [2022-08-31T17:17:29.748Z] d94ebbe4e438: Waiting [2022-08-31T17:17:29.748Z] bcfd1f05c69d: Waiting [2022-08-31T17:17:29.748Z] 59ccb84bbe0f: Waiting [2022-08-31T17:17:29.748Z] 30c4a7721957: Verifying Checksum [2022-08-31T17:17:29.748Z] 30c4a7721957: Download complete [2022-08-31T17:17:29.748Z] ea60b727a1ce: Verifying Checksum [2022-08-31T17:17:29.748Z] ea60b727a1ce: Download complete [2022-08-31T17:17:29.748Z] 7c6cee850709: Verifying Checksum [2022-08-31T17:17:29.748Z] 7c6cee850709: Download complete [2022-08-31T17:17:29.748Z] 39a5fcdaea64: Verifying Checksum [2022-08-31T17:17:29.748Z] 39a5fcdaea64: Download complete [2022-08-31T17:17:29.748Z] 2408cc74d12b: Verifying Checksum [2022-08-31T17:17:29.748Z] 2408cc74d12b: Download complete [2022-08-31T17:17:29.748Z] d94ebbe4e438: Download complete [2022-08-31T17:17:30.016Z] 2408cc74d12b: Pull complete [2022-08-31T17:17:30.016Z] ea60b727a1ce: Pull complete [2022-08-31T17:17:30.279Z] 30c4a7721957: Pull complete [2022-08-31T17:17:30.279Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T17:17:30.279Z] 59ccb84bbe0f: Download complete [2022-08-31T17:17:30.279Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T17:17:30.279Z] bcfd1f05c69d: Download complete [2022-08-31T17:17:30.540Z] 370296b7ddb6: Verifying Checksum [2022-08-31T17:17:30.540Z] 370296b7ddb6: Download complete [2022-08-31T17:17:34.738Z] 370296b7ddb6: Pull complete [2022-08-31T17:17:34.738Z] 7c6cee850709: Pull complete [2022-08-31T17:17:34.738Z] 39a5fcdaea64: Pull complete [2022-08-31T17:17:34.997Z] d94ebbe4e438: Pull complete [2022-08-31T17:17:37.539Z] bcfd1f05c69d: Pull complete [2022-08-31T17:17:37.799Z] 59ccb84bbe0f: Pull complete [2022-08-31T17:17:37.799Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T17:17:37.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T17:17:37.799Z] ---> a4fb48ad2a94 [2022-08-31T17:17:37.799Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T17:17:39.733Z] ---> Running in 1664ea642b4b [2022-08-31T17:17:39.733Z] Removing intermediate container 1664ea642b4b [2022-08-31T17:17:39.733Z] ---> 4fd11f489a6b [2022-08-31T17:17:39.733Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T17:17:39.733Z] ---> Running in 041eddb915bc [2022-08-31T17:17:39.994Z] Removing intermediate container 041eddb915bc [2022-08-31T17:17:39.994Z] ---> 9a2b427c8ec1 [2022-08-31T17:17:39.994Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T17:17:39.994Z] ---> Running in b5ebd3021f8b [2022-08-31T17:17:39.994Z] Removing intermediate container b5ebd3021f8b [2022-08-31T17:17:39.994Z] ---> c73d4111f5a2 [2022-08-31T17:17:39.994Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T17:17:39.994Z] ---> Running in a30b7ca11b83 [2022-08-31T17:17:40.255Z] Removing intermediate container a30b7ca11b83 [2022-08-31T17:17:40.255Z] ---> 98ac2f6a8534 [2022-08-31T17:17:40.255Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T17:17:40.255Z] ---> Running in cd86101c2f6c [2022-08-31T17:17:40.828Z] Removing intermediate container cd86101c2f6c [2022-08-31T17:17:40.828Z] ---> db94a52fb4e3 [2022-08-31T17:17:40.828Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T17:17:40.828Z] ---> Running in eb462e9ecadc [2022-08-31T17:17:41.090Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T17:17:42.039Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T17:17:42.303Z] OK: 211 MiB in 51 packages [2022-08-31T17:17:42.565Z] Removing intermediate container eb462e9ecadc [2022-08-31T17:17:42.565Z] ---> 99615c555c45 [2022-08-31T17:17:42.565Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T17:17:42.565Z] ---> Running in 4b5faf4c694b [2022-08-31T17:17:42.827Z] Removing intermediate container 4b5faf4c694b [2022-08-31T17:17:42.827Z] ---> d8fae1cab5c6 [2022-08-31T17:17:42.827Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T17:17:42.827Z] ---> 84b2cb032fad [2022-08-31T17:17:42.827Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T17:17:42.827Z] ---> Running in 1e405f229eb9 [2022-08-31T17:17:42.895Z] Still waiting to schedule task [2022-08-31T17:17:42.895Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-31T17:18:00.955Z] Removing intermediate container 1e405f229eb9 [2022-08-31T17:18:00.955Z] ---> 7a9b0274c43c [2022-08-31T17:18:00.955Z] Step 12/13 : COPY . . [2022-08-31T17:18:00.955Z] ---> 6d66281de2ff [2022-08-31T17:18:00.955Z] Step 13/13 : RUN ${MAKE} [2022-08-31T17:18:00.955Z] ---> Running in 35f58f0a90f3 [2022-08-31T17:18:01.216Z] noop [2022-08-31T17:18:01.476Z] Removing intermediate container 35f58f0a90f3 [2022-08-31T17:18:01.476Z] ---> 552ee9d7de6c [2022-08-31T17:18:01.476Z] Successfully built 552ee9d7de6c [2022-08-31T17:18:01.476Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:18:01.800Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T17:18:01.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:18:01.889Z] prd-ubuntu20.04-docker-8c-8g-24218 does not seem to be running inside a container [2022-08-31T17:18:01.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T17:18:02.365Z] $ docker top d63bcccc91dc429da413ba57863d9510dd645baf4fdeebc80d0d19fc7ae137c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:18:02.735Z] + go version [2022-08-31T17:18:02.735Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T17:18:02.754Z] $ docker stop --time=1 d63bcccc91dc429da413ba57863d9510dd645baf4fdeebc80d0d19fc7ae137c6 [2022-08-31T17:18:04.068Z] $ docker rm -f d63bcccc91dc429da413ba57863d9510dd645baf4fdeebc80d0d19fc7ae137c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:18:04.520Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T17:18:04.520Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:18:04.612Z] prd-ubuntu20.04-docker-8c-8g-24218 does not seem to be running inside a container [2022-08-31T17:18:04.670Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T17:18:05.038Z] $ docker top 793680d880f07ab84c7d6001d9231bcc4627e63e7728d0571fd23053a1e59d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:18:05.405Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-31T17:18:05.704Z] + make test [2022-08-31T17:18:05.704Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T17:18:05.964Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T17:18:15.945Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T17:18:16.207Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.5% of statements [2022-08-31T17:18:16.207Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T17:18:19.506Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.034s coverage: 13.8% of statements [2022-08-31T17:18:26.081Z] 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." [2022-08-31T17:18:26.081Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T17:18:29.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T17:18:29.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T17:18:29.378Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T17:18:29.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T17:18:29.415Z] $ docker stop --time=1 793680d880f07ab84c7d6001d9231bcc4627e63e7728d0571fd23053a1e59d5f [2022-08-31T17:18:31.243Z] $ docker rm -f 793680d880f07ab84c7d6001d9231bcc4627e63e7728d0571fd23053a1e59d5f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T17:18:31.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T17:18:31.757Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T17:18:32.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T17:18:32.604Z] + ls -al . [2022-08-31T17:18:32.604Z] total 232 [2022-08-31T17:18:32.604Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 17:18 . [2022-08-31T17:18:32.604Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:17 .. [2022-08-31T17:18:32.604Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 17:18 .git [2022-08-31T17:18:32.604Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 17:17 .github [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 17:17 .gitignore [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 17:17 .golangci.yml [2022-08-31T17:18:32.604Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 17:17 .semver [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 17:17 Attribution.txt [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 17:17 CHANGELOG.md [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 17:17 Dockerfile [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 17:17 GOVERNANCE.md [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 17:17 Jenkinsfile [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 17:17 LICENSE [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 17:17 Makefile [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 17:17 OWNERS.md [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 17:17 README.md [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 17:17 VERSION [2022-08-31T17:18:32.604Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 17:17 bin [2022-08-31T17:18:32.604Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 17:17 cmd [2022-08-31T17:18:32.604Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 17:18 coverage.out [2022-08-31T17:18:32.604Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 17:17 doc [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 17:17 go.mod [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 17:17 go.sum [2022-08-31T17:18:32.604Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:17 internal [2022-08-31T17:18:32.604Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:17 snap [2022-08-31T17:18:32.604Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 17:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:18:32.926Z] + 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=3be8273faf73dd65351172bacc916ff88d7cc124 --label arch=amd64 --label version=0.0.0 . [2022-08-31T17:18:32.926Z] Sending build context to Docker daemon 20.8MB [2022-08-31T17:18:32.926Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T17:18:32.926Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T17:18:32.926Z] ---> 552ee9d7de6c [2022-08-31T17:18:32.926Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T17:18:33.192Z] ---> Running in 60bf8892574d [2022-08-31T17:18:33.192Z] Removing intermediate container 60bf8892574d [2022-08-31T17:18:33.192Z] ---> cfd0cb955ff2 [2022-08-31T17:18:33.192Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T17:18:33.192Z] ---> Running in 3d6f5489673b [2022-08-31T17:18:33.453Z] Removing intermediate container 3d6f5489673b [2022-08-31T17:18:33.453Z] ---> dbe7d485237c [2022-08-31T17:18:33.453Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T17:18:33.453Z] ---> Running in e3e8c38414d9 [2022-08-31T17:18:33.453Z] Removing intermediate container e3e8c38414d9 [2022-08-31T17:18:33.453Z] ---> 1abdbc7b80d7 [2022-08-31T17:18:33.453Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T17:18:33.453Z] ---> Running in b01e127c91e5 [2022-08-31T17:18:33.453Z] Removing intermediate container b01e127c91e5 [2022-08-31T17:18:33.453Z] ---> b5f422864dcd [2022-08-31T17:18:33.453Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T17:18:33.714Z] ---> Running in 573b8e0327a8 [2022-08-31T17:18:34.284Z] Removing intermediate container 573b8e0327a8 [2022-08-31T17:18:34.284Z] ---> b4111da42700 [2022-08-31T17:18:34.284Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T17:18:34.284Z] ---> Running in e11bfe584a39 [2022-08-31T17:18:34.544Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T17:18:35.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T17:18:35.747Z] OK: 211 MiB in 51 packages [2022-08-31T17:18:36.007Z] Removing intermediate container e11bfe584a39 [2022-08-31T17:18:36.007Z] ---> c67fe4f92d7d [2022-08-31T17:18:36.007Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T17:18:36.007Z] ---> Running in c3b88be1a8b2 [2022-08-31T17:18:36.007Z] Removing intermediate container c3b88be1a8b2 [2022-08-31T17:18:36.007Z] ---> d8878aac58f7 [2022-08-31T17:18:36.007Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T17:18:36.267Z] ---> d0300346fe1b [2022-08-31T17:18:36.267Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T17:18:36.267Z] ---> Running in cb7c9327307b [2022-08-31T17:18:36.838Z] Removing intermediate container cb7c9327307b [2022-08-31T17:18:36.838Z] ---> 0e3025d47bdd [2022-08-31T17:18:36.838Z] Step 12/26 : COPY . . [2022-08-31T17:18:37.406Z] ---> e01c9fb4a008 [2022-08-31T17:18:37.406Z] Step 13/26 : RUN ${MAKE} [2022-08-31T17:18:37.406Z] ---> Running in 4ede992fbb67 [2022-08-31T17:18:37.665Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T17:18:59.607Z] Removing intermediate container 4ede992fbb67 [2022-08-31T17:18:59.607Z] ---> 3006e8fcf787 [2022-08-31T17:18:59.607Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T17:18:59.607Z] 3.16: Pulling from library/alpine [2022-08-31T17:18:59.607Z] 213ec9aee27d: Pulling fs layer [2022-08-31T17:18:59.607Z] 213ec9aee27d: Verifying Checksum [2022-08-31T17:18:59.607Z] 213ec9aee27d: Download complete [2022-08-31T17:18:59.607Z] 213ec9aee27d: Pull complete [2022-08-31T17:18:59.607Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T17:18:59.607Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T17:18:59.607Z] ---> 9c6f07244728 [2022-08-31T17:18:59.607Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T17:18:59.607Z] ---> Running in 3d71063555e1 [2022-08-31T17:18:59.607Z] Removing intermediate container 3d71063555e1 [2022-08-31T17:18:59.607Z] ---> 33220e6f8c34 [2022-08-31T17:18:59.607Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T17:18:59.607Z] ---> Running in 7dccc2c730bc [2022-08-31T17:18:59.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T17:18:59.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T17:18:59.607Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T17:18:59.607Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T17:18:59.607Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T17:18:59.607Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T17:18:59.607Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T17:18:59.607Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T17:18:59.607Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T17:18:59.607Z] OK: 8 MiB in 20 packages [2022-08-31T17:18:59.607Z] Removing intermediate container 7dccc2c730bc [2022-08-31T17:18:59.607Z] ---> 9850138787ab [2022-08-31T17:18:59.607Z] Step 17/26 : WORKDIR / [2022-08-31T17:18:59.607Z] ---> Running in f9e5c09b5d39 [2022-08-31T17:18:59.607Z] Removing intermediate container f9e5c09b5d39 [2022-08-31T17:18:59.607Z] ---> 940f7b68fbd3 [2022-08-31T17:18:59.607Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T17:18:59.607Z] ---> b4536e7702af [2022-08-31T17:18:59.607Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T17:18:59.607Z] ---> e62e4d581855 [2022-08-31T17:18:59.607Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T17:18:59.607Z] ---> 789ad765419f [2022-08-31T17:18:59.607Z] Step 21/26 : EXPOSE 59984 [2022-08-31T17:18:59.866Z] ---> Running in 56f4367e1121 [2022-08-31T17:18:59.866Z] Removing intermediate container 56f4367e1121 [2022-08-31T17:18:59.866Z] ---> 8d8108f67e3c [2022-08-31T17:18:59.866Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T17:18:59.866Z] ---> Running in 7800baf06cf7 [2022-08-31T17:18:59.866Z] Removing intermediate container 7800baf06cf7 [2022-08-31T17:18:59.866Z] ---> 18ccb7e5f23b [2022-08-31T17:18:59.866Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T17:19:00.126Z] ---> Running in 74fff4da3baf [2022-08-31T17:19:00.127Z] Removing intermediate container 74fff4da3baf [2022-08-31T17:19:00.127Z] ---> b6aff6730c65 [2022-08-31T17:19:00.127Z] Step 24/26 : LABEL arch=amd64 [2022-08-31T17:19:00.127Z] ---> Running in 20b88c35d46f [2022-08-31T17:19:00.127Z] Removing intermediate container 20b88c35d46f [2022-08-31T17:19:00.127Z] ---> 355329f29162 [2022-08-31T17:19:00.127Z] Step 25/26 : LABEL git_sha=3be8273faf73dd65351172bacc916ff88d7cc124 [2022-08-31T17:19:00.385Z] ---> Running in cbc82506bf65 [2022-08-31T17:19:00.385Z] Removing intermediate container cbc82506bf65 [2022-08-31T17:19:00.385Z] ---> 9034662a80ff [2022-08-31T17:19:00.385Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T17:19:00.385Z] ---> Running in 6c56786a3456 [2022-08-31T17:19:00.385Z] Removing intermediate container 6c56786a3456 [2022-08-31T17:19:00.385Z] ---> 388d37099bb9 [2022-08-31T17:19:00.385Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T17:19:00.385Z] Successfully built 388d37099bb9 [2022-08-31T17:19:00.385Z] 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 [2022-08-31T17:19:00.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T17:19:00.829Z] [2022-08-31T17:19:00.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:19:01.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T17:19:01.131Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T17:19:01.131Z] 5eb5b503b376: Pulling fs layer [2022-08-31T17:19:01.131Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T17:19:01.131Z] ec43610c2a17: Pulling fs layer [2022-08-31T17:19:01.131Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T17:19:01.131Z] 33b1e0a273af: Pulling fs layer [2022-08-31T17:19:01.131Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T17:19:01.131Z] 2f39f015ded8: Pulling fs layer [2022-08-31T17:19:01.131Z] 3a2ae6a8a46f: Waiting [2022-08-31T17:19:01.131Z] 33b1e0a273af: Waiting [2022-08-31T17:19:01.131Z] 5d3b04190fa2: Waiting [2022-08-31T17:19:01.131Z] 2f39f015ded8: Waiting [2022-08-31T17:19:01.131Z] 5c69ac0246d0: Download complete [2022-08-31T17:19:01.131Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T17:19:01.131Z] 3a2ae6a8a46f: Download complete [2022-08-31T17:19:01.131Z] 33b1e0a273af: Verifying Checksum [2022-08-31T17:19:01.131Z] 33b1e0a273af: Download complete [2022-08-31T17:19:01.131Z] ec43610c2a17: Verifying Checksum [2022-08-31T17:19:01.131Z] ec43610c2a17: Download complete [2022-08-31T17:19:01.131Z] 5d3b04190fa2: Download complete [2022-08-31T17:19:01.392Z] 5eb5b503b376: Verifying Checksum [2022-08-31T17:19:01.393Z] 5eb5b503b376: Download complete [2022-08-31T17:19:01.961Z] 2f39f015ded8: Download complete [2022-08-31T17:19:02.533Z] 5eb5b503b376: Pull complete [2022-08-31T17:19:02.533Z] 5c69ac0246d0: Pull complete [2022-08-31T17:19:03.101Z] ec43610c2a17: Pull complete [2022-08-31T17:19:03.101Z] 3a2ae6a8a46f: Pull complete [2022-08-31T17:19:03.360Z] 33b1e0a273af: Pull complete [2022-08-31T17:19:03.360Z] 5d3b04190fa2: Pull complete [2022-08-31T17:19:07.555Z] 2f39f015ded8: Pull complete [2022-08-31T17:19:07.555Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T17:19:07.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T17:19:07.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:19:07.653Z] prd-ubuntu20.04-docker-8c-8g-24218 does not seem to be running inside a container [2022-08-31T17:19:07.699Z] $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T17:19:09.344Z] $ docker top acfcda0a737f961f4e6c4118e1be0688445f53f0aed4b90282d1522202808575 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:19:09.766Z] ---> job-cost.sh [2022-08-31T17:19:09.766Z] lf-activate-venv: SKIPPING [2022-08-31T17:19:09.766Z] INFO: No Stack... [2022-08-31T17:19:10.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T17:19:10.604Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T17:19:10.905Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-31T17:19:10.905Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T17:19:10.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [2022-08-31T17:19:10.926Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] did not exist. Created. [2022-08-31T17:19:10.927Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T17:19:11.239Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T17:19:11.276Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T17:19:11.283Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T17:19:11.312Z] $ docker stop --time=1 acfcda0a737f961f4e6c4118e1be0688445f53f0aed4b90282d1522202808575 [2022-08-31T17:19:12.506Z] $ docker rm -f acfcda0a737f961f4e6c4118e1be0688445f53f0aed4b90282d1522202808575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T17:19:23.661Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24219 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-31T17:19:23.675Z] Running in /w/workspace/device-onvif-camera/24 [Pipeline] { [Pipeline] checkout [2022-08-31T17:19:23.706Z] Selected Git installation does not exist. Using Default [2022-08-31T17:19:23.706Z] The recommended git tool is: NONE [2022-08-31T17:19:30.344Z] using credential edgex-jenkins-ssh [2022-08-31T17:19:30.362Z] Cloning the remote Git repository [2022-08-31T17:19:30.422Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T17:19:30.497Z] > git init /w/workspace/device-onvif-camera/24 # timeout=10 [2022-08-31T17:19:30.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T17:19:30.649Z] > git --version # timeout=10 [2022-08-31T17:19:30.670Z] > git --version # 'git version 2.25.1' [2022-08-31T17:19:30.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T17:19:30.760Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T17:19:32.756Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit b438f1b0fabeebaca79cfd15cabf7b8636d6ad52 [2022-08-31T17:19:31.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T17:19:31.879Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T17:19:31.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T17:19:32.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T17:19:32.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T17:19:32.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T17:19:32.778Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T17:19:33.455Z] Merge succeeded, producing ab1ac445f23d77e68ee9d148ae88075f5132a465 [2022-08-31T17:19:33.455Z] Checking out Revision ab1ac445f23d77e68ee9d148ae88075f5132a465 (PR-149) [2022-08-31T17:19:32.813Z] > git checkout -f b438f1b0fabeebaca79cfd15cabf7b8636d6ad52 # timeout=10 [2022-08-31T17:19:33.055Z] > git remote # timeout=10 [2022-08-31T17:19:33.086Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T17:19:33.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T17:19:33.128Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T17:19:33.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T17:19:33.462Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T17:19:33.475Z] > git checkout -f ab1ac445f23d77e68ee9d148ae88075f5132a465 # timeout=10 [2022-08-31T17:19:37.751Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T17:19:37.780Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T17:19:38.729Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T17:19:38.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T17:19:38.729Z] Dload Upload Total Spent Left Speed [2022-08-31T17:19:38.729Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88746 0 --:--:-- --:--:-- --:--:-- 88746 [2022-08-31T17:19:37.760Z] > git rev-list --no-walk ab3203f8ff95aa26f4c496710e8e5ed17a41c506 # timeout=10 [Pipeline] sh [2022-08-31T17:19:39.408Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T17:19:39.808Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T17:19:39.808Z] sudo tee /etc/docker/daemon.new [2022-08-31T17:19:39.808Z] { [2022-08-31T17:19:39.808Z] "registry-mirrors": [ [2022-08-31T17:19:39.808Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T17:19:39.808Z] ], [2022-08-31T17:19:39.808Z] "bip": "10.250.0.254/24", [2022-08-31T17:19:39.808Z] "hosts": [ [2022-08-31T17:19:39.808Z] "tcp://0.0.0.0:5555", [2022-08-31T17:19:39.808Z] "unix:///var/run/docker.sock" [2022-08-31T17:19:39.808Z] ], [2022-08-31T17:19:39.808Z] "mtu": 1458, [2022-08-31T17:19:39.808Z] "selinux-enabled": true, [2022-08-31T17:19:39.808Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T17:19:39.808Z] } [Pipeline] sh [2022-08-31T17:19:40.163Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T17:19:40.499Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T17:19:58.856Z] provisioning config files... [2022-08-31T17:19:58.880Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/24@tmp/config3867276834419307201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:19:59.243Z] ---> docker-login.sh [2022-08-31T17:19:59.244Z] nexus3.edgexfoundry.org:10001 [2022-08-31T17:19:59.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:20:00.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:20:00.119Z] Configure a credential helper to remove this warning. See [2022-08-31T17:20:00.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:20:00.119Z] [2022-08-31T17:20:00.119Z] Login Succeeded [2022-08-31T17:20:00.119Z] nexus3.edgexfoundry.org:10002 [2022-08-31T17:20:00.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:20:00.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:20:00.397Z] Configure a credential helper to remove this warning. See [2022-08-31T17:20:00.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:20:00.397Z] [2022-08-31T17:20:00.397Z] Login Succeeded [2022-08-31T17:20:00.672Z] nexus3.edgexfoundry.org:10003 [2022-08-31T17:20:00.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:20:00.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:20:00.946Z] Configure a credential helper to remove this warning. See [2022-08-31T17:20:00.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:20:00.946Z] [2022-08-31T17:20:00.946Z] Login Succeeded [2022-08-31T17:20:00.946Z] nexus3.edgexfoundry.org:10004 [2022-08-31T17:20:01.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:20:01.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:20:01.564Z] Configure a credential helper to remove this warning. See [2022-08-31T17:20:01.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:20:01.564Z] [2022-08-31T17:20:01.564Z] Login Succeeded [2022-08-31T17:20:01.564Z] docker.io [2022-08-31T17:20:01.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T17:20:02.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T17:20:02.113Z] Configure a credential helper to remove this warning. See [2022-08-31T17:20:02.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T17:20:02.113Z] [2022-08-31T17:20:02.113Z] Login Succeeded [2022-08-31T17:20:02.113Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T17:20:02.143Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T17:20:02.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T17:20:02.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T17:20:02.715Z] ========================================================= [2022-08-31T17:20:02.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T17:20:02.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:20:03.103Z] + 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 . [2022-08-31T17:20:03.704Z] Sending build context to Docker daemon 14.23MB [2022-08-31T17:20:03.704Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T17:20:03.704Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T17:20:03.704Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T17:20:03.704Z] b3c136eddcbf: Pulling fs layer [2022-08-31T17:20:03.704Z] c0a3192eca97: Pulling fs layer [2022-08-31T17:20:03.704Z] a050256f5b6f: Pulling fs layer [2022-08-31T17:20:03.704Z] 656be50a0ddc: Pulling fs layer [2022-08-31T17:20:03.704Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T17:20:03.704Z] 46d945488cbd: Pulling fs layer [2022-08-31T17:20:03.704Z] 8a5474983e97: Pulling fs layer [2022-08-31T17:20:03.705Z] 329c88fbcd65: Pulling fs layer [2022-08-31T17:20:03.705Z] 2bbca73fdf42: Waiting [2022-08-31T17:20:03.705Z] 46d945488cbd: Waiting [2022-08-31T17:20:03.705Z] 8a5474983e97: Waiting [2022-08-31T17:20:03.705Z] 329c88fbcd65: Waiting [2022-08-31T17:20:03.705Z] 656be50a0ddc: Waiting [2022-08-31T17:20:03.984Z] a050256f5b6f: Verifying Checksum [2022-08-31T17:20:03.984Z] c0a3192eca97: Download complete [2022-08-31T17:20:03.984Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T17:20:03.984Z] 2bbca73fdf42: Download complete [2022-08-31T17:20:03.984Z] 46d945488cbd: Verifying Checksum [2022-08-31T17:20:03.984Z] 46d945488cbd: Download complete [2022-08-31T17:20:03.984Z] b3c136eddcbf: Verifying Checksum [2022-08-31T17:20:03.984Z] b3c136eddcbf: Download complete [2022-08-31T17:20:04.981Z] b3c136eddcbf: Pull complete [2022-08-31T17:20:04.981Z] 329c88fbcd65: Verifying Checksum [2022-08-31T17:20:04.981Z] 329c88fbcd65: Download complete [2022-08-31T17:20:05.589Z] c0a3192eca97: Pull complete [2022-08-31T17:20:05.870Z] a050256f5b6f: Pull complete [2022-08-31T17:20:06.145Z] 8a5474983e97: Verifying Checksum [2022-08-31T17:20:06.145Z] 8a5474983e97: Download complete [2022-08-31T17:20:06.743Z] 656be50a0ddc: Verifying Checksum [2022-08-31T17:20:06.743Z] 656be50a0ddc: Download complete [2022-08-31T17:20:21.840Z] 656be50a0ddc: Pull complete [2022-08-31T17:20:21.840Z] 2bbca73fdf42: Pull complete [2022-08-31T17:20:21.840Z] 46d945488cbd: Pull complete [2022-08-31T17:20:26.155Z] 8a5474983e97: Pull complete [2022-08-31T17:20:28.146Z] 329c88fbcd65: Pull complete [2022-08-31T17:20:28.146Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T17:20:28.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T17:20:28.146Z] ---> ff4287adb874 [2022-08-31T17:20:28.146Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T17:20:30.144Z] ---> Running in 93a4529d57d9 [2022-08-31T17:20:30.144Z] Removing intermediate container 93a4529d57d9 [2022-08-31T17:20:30.144Z] ---> 637138b83f12 [2022-08-31T17:20:30.144Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T17:20:30.144Z] ---> Running in 179da80556fc [2022-08-31T17:20:30.423Z] Removing intermediate container 179da80556fc [2022-08-31T17:20:30.423Z] ---> 560704381086 [2022-08-31T17:20:30.423Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T17:20:30.698Z] ---> Running in f1b2d9505e0e [2022-08-31T17:20:30.973Z] Removing intermediate container f1b2d9505e0e [2022-08-31T17:20:30.973Z] ---> 3f9fad3bcce5 [2022-08-31T17:20:30.973Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T17:20:30.973Z] ---> Running in f89e99240aa7 [2022-08-31T17:20:32.413Z] Removing intermediate container f89e99240aa7 [2022-08-31T17:20:32.413Z] ---> a25ef56fd5ac [2022-08-31T17:20:32.413Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T17:20:32.413Z] ---> Running in 8435d55709c7 [2022-08-31T17:20:34.417Z] Removing intermediate container 8435d55709c7 [2022-08-31T17:20:34.418Z] ---> 19d14424cd39 [2022-08-31T17:20:34.418Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T17:20:34.418Z] ---> Running in 6b9e172ded3a [2022-08-31T17:20:35.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T17:20:36.389Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T17:20:37.378Z] OK: 221 MiB in 51 packages [2022-08-31T17:20:37.977Z] Removing intermediate container 6b9e172ded3a [2022-08-31T17:20:37.977Z] ---> 0cfa214027ee [2022-08-31T17:20:37.977Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T17:20:38.262Z] ---> Running in 5f81cd60a8b5 [2022-08-31T17:20:38.539Z] Removing intermediate container 5f81cd60a8b5 [2022-08-31T17:20:38.539Z] ---> 6705d4dd417f [2022-08-31T17:20:38.539Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T17:20:39.146Z] ---> 88b666ed0db8 [2022-08-31T17:20:39.146Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T17:20:39.146Z] ---> Running in a1e803f4f395 [2022-08-31T17:21:35.721Z] Removing intermediate container a1e803f4f395 [2022-08-31T17:21:35.722Z] ---> 15aa19e1e01b [2022-08-31T17:21:35.722Z] Step 12/13 : COPY . . [2022-08-31T17:21:35.722Z] ---> 0eee75f15f22 [2022-08-31T17:21:35.722Z] Step 13/13 : RUN ${MAKE} [2022-08-31T17:21:35.722Z] ---> Running in 8d9038e7b295 [2022-08-31T17:21:35.722Z] noop [2022-08-31T17:21:35.722Z] Removing intermediate container 8d9038e7b295 [2022-08-31T17:21:35.722Z] ---> 282ebaf8a21c [2022-08-31T17:21:35.722Z] Successfully built 282ebaf8a21c [2022-08-31T17:21:35.722Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:21:36.098Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T17:21:36.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:21:36.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-24219 does not seem to be running inside a container [2022-08-31T17:21:36.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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 ******** -e ******** ci-base-image-arm64 cat [2022-08-31T17:21:37.684Z] $ docker top 487ced08fc1f2a78248f7f6448ab3a62db4b02910eb9e83ec1938f5c17da687e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:21:38.603Z] + go version [2022-08-31T17:21:38.603Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T17:21:38.625Z] $ docker stop --time=1 487ced08fc1f2a78248f7f6448ab3a62db4b02910eb9e83ec1938f5c17da687e [2022-08-31T17:21:40.215Z] $ docker rm -f 487ced08fc1f2a78248f7f6448ab3a62db4b02910eb9e83ec1938f5c17da687e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:21:40.828Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T17:21:40.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:21:41.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-24219 does not seem to be running inside a container [2022-08-31T17:21:41.153Z] $ 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/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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 ******** -e ******** ci-base-image-arm64 cat [2022-08-31T17:21:42.471Z] $ docker top 1d6bbcfbff764b95bf8df2939c0a231d2b90856c995b7a4e808e88246eca5ff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:21:43.411Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/24 [Pipeline] fileExists [Pipeline] sh [2022-08-31T17:21:44.088Z] + make test [2022-08-31T17:21:44.088Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T17:21:46.091Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T17:23:23.007Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T17:23:23.007Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 28.5% of statements [2022-08-31T17:23:23.007Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T17:23:38.098Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.730s coverage: 13.8% of statements [2022-08-31T17:23:38.697Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T17:23:38.697Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T17:24:00.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T17:24:00.906Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T17:24:00.906Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T17:24:00.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T17:24:00.946Z] $ docker stop --time=1 1d6bbcfbff764b95bf8df2939c0a231d2b90856c995b7a4e808e88246eca5ff8 [2022-08-31T17:24:02.730Z] $ docker rm -f 1d6bbcfbff764b95bf8df2939c0a231d2b90856c995b7a4e808e88246eca5ff8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T17:24:03.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T17:24:03.774Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T17:24:04.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T17:24:04.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T17:24:05.063Z] + ls -al . [2022-08-31T17:24:05.063Z] total 228 [2022-08-31T17:24:05.063Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 17:21 . [2022-08-31T17:24:05.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:19 .. [2022-08-31T17:24:05.063Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 17:19 .git [2022-08-31T17:24:05.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 17:19 .github [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 17:19 .gitignore [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 17:19 .golangci.yml [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 17:19 Attribution.txt [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 17:19 CHANGELOG.md [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 17:19 Dockerfile [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 17:19 GOVERNANCE.md [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 17:19 Jenkinsfile [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 17:19 LICENSE [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 17:19 Makefile [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 17:19 OWNERS.md [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 17:19 README.md [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 17:17 VERSION [2022-08-31T17:24:05.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 17:19 bin [2022-08-31T17:24:05.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 17:19 cmd [2022-08-31T17:24:05.063Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 17:23 coverage.out [2022-08-31T17:24:05.063Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 17:19 doc [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 17:19 go.mod [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 17:19 go.sum [2022-08-31T17:24:05.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:19 internal [2022-08-31T17:24:05.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 17:19 snap [2022-08-31T17:24:05.063Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 17:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:24:05.433Z] + 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=ab1ac445f23d77e68ee9d148ae88075f5132a465 --label arch=arm64 --label version=0.0.0 . [2022-08-31T17:24:06.034Z] Sending build context to Docker daemon 14.31MB [2022-08-31T17:24:06.034Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T17:24:06.034Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T17:24:06.034Z] ---> 282ebaf8a21c [2022-08-31T17:24:06.034Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T17:24:06.034Z] ---> Running in b0cc73ba8e21 [2022-08-31T17:24:06.630Z] Removing intermediate container b0cc73ba8e21 [2022-08-31T17:24:06.630Z] ---> bb9b9aad3f96 [2022-08-31T17:24:06.630Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T17:24:06.630Z] ---> Running in 2f9796b63ee3 [2022-08-31T17:24:06.905Z] Removing intermediate container 2f9796b63ee3 [2022-08-31T17:24:06.905Z] ---> a4f4db9ae195 [2022-08-31T17:24:06.905Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T17:24:06.905Z] ---> Running in 1dde8ddf161e [2022-08-31T17:24:07.181Z] Removing intermediate container 1dde8ddf161e [2022-08-31T17:24:07.181Z] ---> 1a655f76c7c8 [2022-08-31T17:24:07.181Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T17:24:07.454Z] ---> Running in ff95cd46c83d [2022-08-31T17:24:07.728Z] Removing intermediate container ff95cd46c83d [2022-08-31T17:24:07.728Z] ---> 41d6f0639d5e [2022-08-31T17:24:07.728Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T17:24:07.728Z] ---> Running in 2b035e89b59b [2022-08-31T17:24:09.709Z] Removing intermediate container 2b035e89b59b [2022-08-31T17:24:09.709Z] ---> 5383c8767c72 [2022-08-31T17:24:09.709Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T17:24:09.709Z] ---> Running in 1813d43e58b7 [2022-08-31T17:24:10.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T17:24:11.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T17:24:12.270Z] OK: 221 MiB in 51 packages [2022-08-31T17:24:12.875Z] Removing intermediate container 1813d43e58b7 [2022-08-31T17:24:12.875Z] ---> c919f760421a [2022-08-31T17:24:12.875Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T17:24:13.158Z] ---> Running in 3ccd17bb35b1 [2022-08-31T17:24:13.432Z] Removing intermediate container 3ccd17bb35b1 [2022-08-31T17:24:13.432Z] ---> f0591e0b6d2d [2022-08-31T17:24:13.432Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T17:24:14.027Z] ---> 5f23b5dbaace [2022-08-31T17:24:14.027Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T17:24:14.027Z] ---> Running in 8756b62e6717 [2022-08-31T17:24:16.004Z] Removing intermediate container 8756b62e6717 [2022-08-31T17:24:16.004Z] ---> 489428ec2a1f [2022-08-31T17:24:16.004Z] Step 12/26 : COPY . . [2022-08-31T17:24:17.443Z] ---> fd980cebf3ee [2022-08-31T17:24:17.443Z] Step 13/26 : RUN ${MAKE} [2022-08-31T17:24:17.443Z] ---> Running in ba87e0bdaee1 [2022-08-31T17:24:18.445Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T17:26:25.354Z] Removing intermediate container ba87e0bdaee1 [2022-08-31T17:26:25.354Z] ---> 69e96af597fc [2022-08-31T17:26:25.354Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T17:26:25.955Z] 3.16: Pulling from library/alpine [2022-08-31T17:26:25.955Z] 9b18e9b68314: Pulling fs layer [2022-08-31T17:26:26.231Z] 9b18e9b68314: Download complete [2022-08-31T17:26:26.832Z] 9b18e9b68314: Pull complete [2022-08-31T17:26:26.832Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T17:26:26.832Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T17:26:26.832Z] ---> a6215f271958 [2022-08-31T17:26:26.832Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T17:26:26.832Z] ---> Running in 56c6bc3899ed [2022-08-31T17:26:27.447Z] Removing intermediate container 56c6bc3899ed [2022-08-31T17:26:27.448Z] ---> 8e77dbde29a8 [2022-08-31T17:26:27.448Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T17:26:27.448Z] ---> Running in 33fb0a53ce93 [2022-08-31T17:26:28.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T17:26:28.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T17:26:29.419Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T17:26:29.419Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T17:26:29.419Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T17:26:29.419Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T17:26:29.419Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T17:26:29.694Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T17:26:29.694Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T17:26:29.694Z] OK: 8 MiB in 20 packages [2022-08-31T17:26:30.688Z] Removing intermediate container 33fb0a53ce93 [2022-08-31T17:26:30.688Z] ---> cbdba5fd4f96 [2022-08-31T17:26:30.688Z] Step 17/26 : WORKDIR / [2022-08-31T17:26:30.688Z] ---> Running in cf97bf318f4b [2022-08-31T17:26:30.688Z] Removing intermediate container cf97bf318f4b [2022-08-31T17:26:30.688Z] ---> d34276751c4d [2022-08-31T17:26:30.688Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T17:26:32.681Z] ---> 0ee87441a322 [2022-08-31T17:26:32.681Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T17:26:32.957Z] ---> 332a5dbbb06f [2022-08-31T17:26:32.957Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T17:26:33.558Z] ---> 90f415ce19ff [2022-08-31T17:26:33.558Z] Step 21/26 : EXPOSE 59984 [2022-08-31T17:26:33.558Z] ---> Running in 1c7a865905f7 [2022-08-31T17:26:33.832Z] Removing intermediate container 1c7a865905f7 [2022-08-31T17:26:33.832Z] ---> a20ac74eba10 [2022-08-31T17:26:33.832Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T17:26:33.832Z] ---> Running in ef332c35adde [2022-08-31T17:26:34.108Z] Removing intermediate container ef332c35adde [2022-08-31T17:26:34.108Z] ---> 9a4d24ad0ac4 [2022-08-31T17:26:34.108Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T17:26:34.108Z] ---> Running in 0451d41f9722 [2022-08-31T17:26:34.383Z] Removing intermediate container 0451d41f9722 [2022-08-31T17:26:34.383Z] ---> e21bcd9e3889 [2022-08-31T17:26:34.383Z] Step 24/26 : LABEL arch=arm64 [2022-08-31T17:26:34.658Z] ---> Running in 293f9dccd91d [2022-08-31T17:26:34.934Z] Removing intermediate container 293f9dccd91d [2022-08-31T17:26:34.934Z] ---> 662507c1101d [2022-08-31T17:26:34.934Z] Step 25/26 : LABEL git_sha=ab1ac445f23d77e68ee9d148ae88075f5132a465 [2022-08-31T17:26:34.934Z] ---> Running in 4da33808e17b [2022-08-31T17:26:35.210Z] Removing intermediate container 4da33808e17b [2022-08-31T17:26:35.210Z] ---> ea4020feaaee [2022-08-31T17:26:35.210Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T17:26:35.210Z] ---> Running in 2d9f33fadf2d [2022-08-31T17:26:35.484Z] Removing intermediate container 2d9f33fadf2d [2022-08-31T17:26:35.484Z] ---> 8176a2afb983 [2022-08-31T17:26:35.484Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T17:26:35.758Z] Successfully built 8176a2afb983 [2022-08-31T17:26:35.758Z] 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 [2022-08-31T17:26:36.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:26:36.242Z] [2022-08-31T17:26:36.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:26:36.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:26:36.875Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T17:26:36.875Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T17:26:36.875Z] 04944245beec: Pulling fs layer [2022-08-31T17:26:36.875Z] 699f458cf7ca: Pulling fs layer [2022-08-31T17:26:36.875Z] 765212b225bb: Pulling fs layer [2022-08-31T17:26:36.875Z] f23df028b6ca: Pulling fs layer [2022-08-31T17:26:36.875Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T17:26:36.875Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T17:26:36.875Z] f23df028b6ca: Waiting [2022-08-31T17:26:36.875Z] 765212b225bb: Waiting [2022-08-31T17:26:36.875Z] d65c8cfc05b1: Waiting [2022-08-31T17:26:36.875Z] 2437ff75d9bd: Waiting [2022-08-31T17:26:36.875Z] 04944245beec: Verifying Checksum [2022-08-31T17:26:36.875Z] 04944245beec: Download complete [2022-08-31T17:26:36.875Z] 765212b225bb: Verifying Checksum [2022-08-31T17:26:36.875Z] 765212b225bb: Download complete [2022-08-31T17:26:36.875Z] f23df028b6ca: Verifying Checksum [2022-08-31T17:26:36.875Z] f23df028b6ca: Download complete [2022-08-31T17:26:36.875Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T17:26:36.875Z] d65c8cfc05b1: Download complete [2022-08-31T17:26:37.154Z] 699f458cf7ca: Verifying Checksum [2022-08-31T17:26:37.439Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T17:26:37.439Z] 8998bd30e6a1: Download complete [2022-08-31T17:26:39.428Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T17:26:39.428Z] 2437ff75d9bd: Download complete [2022-08-31T17:26:42.066Z] 8998bd30e6a1: Pull complete [2022-08-31T17:26:42.340Z] 04944245beec: Pull complete [2022-08-31T17:26:43.784Z] 699f458cf7ca: Pull complete [2022-08-31T17:26:44.059Z] 765212b225bb: Pull complete [2022-08-31T17:26:45.038Z] f23df028b6ca: Pull complete [2022-08-31T17:26:45.038Z] d65c8cfc05b1: Pull complete [2022-08-31T17:27:00.138Z] 2437ff75d9bd: Pull complete [2022-08-31T17:27:00.138Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T17:27:00.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T17:27:00.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:27:00.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-24219 does not seem to be running inside a container [2022-08-31T17:27:00.498Z] $ 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/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T17:27:02.995Z] $ docker top 23ab07a62a0e29a6809b9c60c8730df4ecdecd72a2aecf0b146466b31845f554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:03.923Z] ---> job-cost.sh [2022-08-31T17:27:03.923Z] lf-activate-venv: SKIPPING [2022-08-31T17:27:03.923Z] INFO: No Stack... [2022-08-31T17:27:04.197Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T17:27:05.174Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T17:27:05.848Z] + cat /w/workspace/device-onvif-camera/24/archives/cost.csv [2022-08-31T17:27:05.848Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T17:27:05.913Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [2022-08-31T17:27:05.919Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] did not exist. Created. [2022-08-31T17:27:05.919Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T17:27:06.598Z] /w/workspace/device-onvif-camera/24@tmp/durable-ee51aacc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T17:27:07.284Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T17:27:07.305Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T17:27:07.363Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T17:27:07.370Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T17:27:07.386Z] $ docker stop --time=1 23ab07a62a0e29a6809b9c60c8730df4ecdecd72a2aecf0b146466b31845f554 [2022-08-31T17:27:08.872Z] $ docker rm -f 23ab07a62a0e29a6809b9c60c8730df4ecdecd72a2aecf0b146466b31845f554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-31T17:27:09.356Z] provisioning config files... [2022-08-31T17:27:09.365Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7483179174480471902tmp [Pipeline] { [Pipeline] sh [2022-08-31T17:27:09.657Z] + set +x [2022-08-31T17:27:09.657Z] + curl -s https://codecov.io/bash [2022-08-31T17:27:09.657Z] + bash -s -- [2022-08-31T17:27:09.657Z] [2022-08-31T17:27:09.657Z] _____ _ [2022-08-31T17:27:09.657Z] / ____| | | [2022-08-31T17:27:09.657Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T17:27:09.657Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T17:27:09.657Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T17:27:09.657Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T17:27:09.657Z] Bash-1.0.6 [2022-08-31T17:27:09.657Z] [2022-08-31T17:27:09.657Z] [2022-08-31T17:27:09.657Z] ==> git version 2.25.1 found [2022-08-31T17:27:09.657Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-31T17:27:09.657Z] Release-Date: 2020-01-08 [2022-08-31T17:27:09.658Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-31T17:27:09.658Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T17:27:09.658Z] ==> Jenkins CI detected. [2022-08-31T17:27:09.658Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T17:27:09.658Z] project root: . [2022-08-31T17:27:09.658Z] --> token set from env [2022-08-31T17:27:09.658Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T17:27:09.658Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T17:27:09.658Z] ==> Python coveragepy not found [2022-08-31T17:27:09.658Z] ==> Searching for coverage reports in: [2022-08-31T17:27:09.658Z] + . [2022-08-31T17:27:09.658Z] -> Found 1 reports [2022-08-31T17:27:09.658Z] ==> Detecting git/mercurial file structure [2022-08-31T17:27:09.658Z] ==> Reading reports [2022-08-31T17:27:09.658Z] + ./coverage.out bytes=77457 [2022-08-31T17:27:09.658Z] ==> Appending adjustments [2022-08-31T17:27:09.658Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T17:27:09.918Z] + Found adjustments [2022-08-31T17:27:09.918Z] ==> Gzipping contents [2022-08-31T17:27:09.918Z] 12K /tmp/codecov.S2JB4v.gz [2022-08-31T17:27:09.918Z] ==> Uploading reports [2022-08-31T17:27:09.918Z] url: https://codecov.io [2022-08-31T17:27:09.918Z] query: branch=PR-149&commit=3be8273faf73dd65351172bacc916ff88d7cc124&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-31T17:27:09.918Z] -> Pinging Codecov [2022-08-31T17:27:09.918Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=3be8273faf73dd65351172bacc916ff88d7cc124&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-31T17:27:10.179Z] -> Uploading to [2022-08-31T17:27:10.179Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/F29A59C45E3A92E06B3E522C9905F8EF/3be8273faf73dd65351172bacc916ff88d7cc124/1bfbd483-48f9-4dbc-a9d2-8ca80f4dffeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T172710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbd9b224f8782e44c956124315a89d094f95ec930c167e5bdfa53d982ad45258 [2022-08-31T17:27:10.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T17:27:10.179Z] Dload Upload Total Spent Left Speed [2022-08-31T17:27:10.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10699 0 0 100 10699 0 46116 --:--:-- --:--:-- --:--:-- 46116 [2022-08-31T17:27:10.441Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/3be8273faf73dd65351172bacc916ff88d7cc124 [Pipeline] } [2022-08-31T17:27:10.449Z] 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 [2022-08-31T17:27:11.198Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-31T17:27:11.198Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:27:11.198Z] total 16 [2022-08-31T17:27:11.198Z] drwxr-xr-x 3 root root 4096 Aug 31 17:19 . [2022-08-31T17:27:11.198Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 17:19 .. [2022-08-31T17:27:11.198Z] drwxr-xr-x 2 root root 4096 Aug 31 17:19 cost [2022-08-31T17:27:11.198Z] -rw-r--r-- 1 root root 92 Aug 31 17:19 cost.csv [2022-08-31T17:27:11.198Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:27:11.198Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T17:27:11.198Z] total 16 [2022-08-31T17:27:11.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 17:19 . [2022-08-31T17:27:11.198Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 17:19 .. [2022-08-31T17:27:11.198Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 17:19 cost [2022-08-31T17:27:11.198Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 31 17:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:11.562Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:12.157Z] ---> package-listing.sh [2022-08-31T17:27:12.157Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T17:27:12.157Z] ++ facter osfamily [2022-08-31T17:27:12.417Z] + OS_FAMILY=debian [2022-08-31T17:27:12.417Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T17:27:12.417Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T17:27:12.417Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T17:27:12.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T17:27:12.417Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T17:27:12.417Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T17:27:12.417Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T17:27:12.417Z] + case "${OS_FAMILY}" in [2022-08-31T17:27:12.417Z] + dpkg -l [2022-08-31T17:27:12.417Z] + grep '^ii' [2022-08-31T17:27:12.417Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T17:27:12.417Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T17:27:12.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T17:27:12.417Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T17:27:12.417Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-31T17:27:12.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-31T17:27:12.430Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T17:27:12.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T17:27:13.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T17:27:13.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T17:27:13.362Z] prd-ubuntu20.04-docker-8c-8g-24218 does not seem to be running inside a container [2022-08-31T17:27:13.407Z] $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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:latest cat [2022-08-31T17:27:13.663Z] $ docker top a75e98d4504acc31e89075f79ca3bdc95df7d8fb531d555170474ba915a80f31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T17:27:14.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T17:27:14.299Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T17:27:14.589Z] + ls /var/log/sa-host [2022-08-31T17:27:14.589Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T17:27:14.743Z] provisioning config files... [2022-08-31T17:27:14.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1589323236522623445tmp [Pipeline] { [Pipeline] echo [2022-08-31T17:27:14.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:15.060Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T17:27:15.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:15.404Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T17:27:15.413Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:15.700Z] ---> sudo-logs.sh [2022-08-31T17:27:15.700Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T17:27:15.724Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:16.009Z] ---> job-cost.sh [2022-08-31T17:27:16.009Z] lf-activate-venv: SKIPPING [2022-08-31T17:27:16.009Z] DEBUG: total: 0.2199999988079071 [2022-08-31T17:27:16.009Z] INFO: Retrieving Stack Cost... [2022-08-31T17:27:16.582Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T17:27:16.843Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T17:27:16.856Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T17:27:17.140Z] ---> logs-deploy.sh [2022-08-31T17:27:17.140Z] lf-activate-venv: SKIPPING [2022-08-31T17:27:17.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/24 [2022-08-31T17:27:17.140Z] INFO: archiving workspace using pattern(s): [2022-08-31T17:27:18.079Z] Archives upload complete. [2022-08-31T17:27:18.079Z] INFO: archiving logs to Nexus