Pull request #161 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than 7da5914cb017261003566147505e712acf32ea44 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh14560104025782744826.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-ssh17175941655235228433.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-161/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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5257566244794994628.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-ssh14365509366936819197.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-161/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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14770861593436517595.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-29926 in /w/workspace/undry_device-onvif-camera_PR-161 [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-161 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 7da5914cb017261003566147505e712acf32ea44 > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7da5914cb017261003566147505e712acf32ea44 # 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 Merge succeeded, producing 41e07621cc2cd1e1cd7989c4ba885f05ab417290 Checking out Revision 41e07621cc2cd1e1cd7989c4ba885f05ab417290 (PR-161) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41e07621cc2cd1e1cd7989c4ba885f05ab417290 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T04:45:08.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T04:45:08.562Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T04:45:08.583Z] ========================================================= [2022-09-20T04:45:08.583Z] EdgeX Global Pipelines Version Info [2022-09-20T04:45:08.583Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:45:09.342Z] ------------------- [2022-09-20T04:45:09.342Z] stable info: [2022-09-20T04:45:09.342Z] ------------------- [2022-09-20T04:45:09.342Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T04:45:09.342Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T04:45:09.342Z] Message: update stable to v1.0.239 > git rev-list --no-walk a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 [2022-09-20T04:45:09.914Z] ------------------- [2022-09-20T04:45:09.914Z] experimental info: [2022-09-20T04:45:09.914Z] ------------------- [2022-09-20T04:45:09.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T04:45:09.914Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T04:45:09.914Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T04:45:10.120Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-20T04:45:10.135Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-20T04:45:10.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T04:45:10.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T04:45:10.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T04:45:10.187Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T04:45:10.205Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T04:45:10.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-20T04:45:10.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T04:45:10.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T04:45:10.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T04:45:10.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-20T04:45:10.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T04:45:10.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T04:45:10.308Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T04:45:10.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T04:45:10.330Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T04:45:10.342Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T04:45:10.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T04:45:10.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T04:45:10.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T04:45:10.390Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-20T04:45:10.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T04:45:10.425Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T04:45:10.441Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T04:45:10.452Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T04:45:10.464Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T04:45:10.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-20T04:45:10.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-20T04:45:10.502Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-20T04:45:10.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo [2022-09-20T04:45:10.532Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41e0762 [Pipeline] echo [2022-09-20T04:45:10.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:45:10.585Z] provisioning config files... [2022-09-20T04:45:10.598Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config6017913081701047244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:45:10.907Z] ---> docker-login.sh [2022-09-20T04:45:10.908Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:45:11.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:11.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:11.442Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:11.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:11.442Z] [2022-09-20T04:45:11.442Z] Login Succeeded [2022-09-20T04:45:11.442Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:45:11.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:11.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:11.442Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:11.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:11.442Z] [2022-09-20T04:45:11.442Z] Login Succeeded [2022-09-20T04:45:11.442Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:45:11.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:11.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:11.704Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:11.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:11.704Z] [2022-09-20T04:45:11.704Z] Login Succeeded [2022-09-20T04:45:11.704Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:45:11.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:11.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:11.965Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:11.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:11.965Z] [2022-09-20T04:45:11.965Z] Login Succeeded [2022-09-20T04:45:11.965Z] docker.io [2022-09-20T04:45:11.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:12.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:12.227Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:12.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:12.227Z] [2022-09-20T04:45:12.227Z] Login Succeeded [2022-09-20T04:45:12.227Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:45:12.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T04:45:12.614Z] + git rev-list -1 --merges 41e07621cc2cd1e1cd7989c4ba885f05ab417290~1..41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo [2022-09-20T04:45:12.742Z] -----------> git rev-list -1 --merges 41e07621cc2cd1e1cd7989c4ba885f05ab417290~1..41e07621cc2cd1e1cd7989c4ba885f05ab417290 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [2022-09-20T04:45:12.742Z] 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [false] [Pipeline] sh [2022-09-20T04:45:13.046Z] + git log --format=format:%s -1 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo [2022-09-20T04:45:13.061Z] ========================================================= [2022-09-20T04:45:13.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T04:45:13.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:45:13.403Z] + git log --format=format:%s -1 41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] echo [2022-09-20T04:45:13.421Z] [semverPrep] GIT_COMMIT: 41e07621cc2cd1e1cd7989c4ba885f05ab417290, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-20T04:45:13.429Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T04:45:13.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T04:45:13.803Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T04:45:13.803Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T04:45:13.803Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T04:45:13.803Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T04:45:13.803Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T04:45:13.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:45:14.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:45:14.225Z] [2022-09-20T04:45:14.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:45:14.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:45:14.533Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T04:45:14.533Z] b85a868b505f: Pulling fs layer [2022-09-20T04:45:14.533Z] e2be974225ed: Pulling fs layer [2022-09-20T04:45:14.533Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T04:45:14.533Z] 988bab9f4d93: Pulling fs layer [2022-09-20T04:45:14.533Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T04:45:14.533Z] eaf3925da568: Pulling fs layer [2022-09-20T04:45:14.533Z] bab4dde63d76: Pulling fs layer [2022-09-20T04:45:14.533Z] bde34c3a00c8: Pulling fs layer [2022-09-20T04:45:14.533Z] b352a97aabf1: Pulling fs layer [2022-09-20T04:45:14.533Z] 4872d77fe225: Pulling fs layer [2022-09-20T04:45:14.533Z] 5851b861e8e6: Pulling fs layer [2022-09-20T04:45:14.533Z] 1469e6f7b9e6: Waiting [2022-09-20T04:45:14.533Z] 988bab9f4d93: Waiting [2022-09-20T04:45:14.533Z] eaf3925da568: Waiting [2022-09-20T04:45:14.533Z] bab4dde63d76: Waiting [2022-09-20T04:45:14.533Z] b352a97aabf1: Waiting [2022-09-20T04:45:14.533Z] 4872d77fe225: Waiting [2022-09-20T04:45:14.533Z] 5851b861e8e6: Waiting [2022-09-20T04:45:14.533Z] e2be974225ed: Download complete [2022-09-20T04:45:14.533Z] 988bab9f4d93: Verifying Checksum [2022-09-20T04:45:14.533Z] 988bab9f4d93: Download complete [2022-09-20T04:45:14.793Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T04:45:14.793Z] 1469e6f7b9e6: Download complete [2022-09-20T04:45:14.793Z] eaf3925da568: Verifying Checksum [2022-09-20T04:45:14.793Z] eaf3925da568: Download complete [2022-09-20T04:45:14.793Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T04:45:14.793Z] 339a4e72a1f5: Download complete [2022-09-20T04:45:14.793Z] bde34c3a00c8: Download complete [2022-09-20T04:45:14.793Z] b352a97aabf1: Verifying Checksum [2022-09-20T04:45:14.793Z] b352a97aabf1: Download complete [2022-09-20T04:45:14.793Z] 4872d77fe225: Verifying Checksum [2022-09-20T04:45:14.793Z] 4872d77fe225: Download complete [2022-09-20T04:45:14.793Z] 5851b861e8e6: Download complete [2022-09-20T04:45:14.793Z] b85a868b505f: Verifying Checksum [2022-09-20T04:45:14.793Z] b85a868b505f: Download complete [2022-09-20T04:45:15.054Z] bab4dde63d76: Verifying Checksum [2022-09-20T04:45:15.054Z] bab4dde63d76: Download complete [2022-09-20T04:45:15.996Z] b85a868b505f: Pull complete [2022-09-20T04:45:16.257Z] e2be974225ed: Pull complete [2022-09-20T04:45:16.829Z] 339a4e72a1f5: Pull complete [2022-09-20T04:45:16.829Z] 988bab9f4d93: Pull complete [2022-09-20T04:45:17.090Z] 1469e6f7b9e6: Pull complete [2022-09-20T04:45:17.090Z] eaf3925da568: Pull complete [2022-09-20T04:45:19.000Z] bab4dde63d76: Pull complete [2022-09-20T04:45:19.262Z] bde34c3a00c8: Pull complete [2022-09-20T04:45:19.262Z] b352a97aabf1: Pull complete [2022-09-20T04:45:19.262Z] 4872d77fe225: Pull complete [2022-09-20T04:45:19.523Z] 5851b861e8e6: Pull complete [2022-09-20T04:45:19.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T04:45:19.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T04:45:19.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:45:19.639Z] prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container [2022-09-20T04:45:19.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T04:45:21.211Z] $ docker top 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf -eo pid,comm [2022-09-20T04:45:21.289Z] 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-09-20T04:45:21.289Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T04:45:21.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T04:45:21.320Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T04:45:21.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T04:45:21.460Z] $ docker exec 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent [2022-09-20T04:45:21.590Z] SSH_AUTH_SOCK=/tmp/ssh-ruO5QOInJHvt/agent.35 [2022-09-20T04:45:21.590Z] SSH_AGENT_PID=42 [2022-09-20T04:45:21.596Z] Running ssh-add (command line suppressed) [2022-09-20T04:45:21.724Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_319114633118160172.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_319114633118160172.key) [2022-09-20T04:45:21.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T04:45:22.037Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T04:45:22.058Z] $ docker exec --env ******** --env ******** 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent -k [2022-09-20T04:45:22.189Z] unset SSH_AUTH_SOCK; [2022-09-20T04:45:22.190Z] unset SSH_AGENT_PID; [2022-09-20T04:45:22.190Z] echo Agent pid 42 killed; [2022-09-20T04:45:22.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T04:45:22.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T04:45:22.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T04:45:22.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T04:45:22.365Z] $ docker exec 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent [2022-09-20T04:45:22.500Z] SSH_AUTH_SOCK=/tmp/ssh-fxsNfEez7WST/agent.75 [2022-09-20T04:45:22.500Z] SSH_AGENT_PID=82 [2022-09-20T04:45:22.506Z] Running ssh-add (command line suppressed) [2022-09-20T04:45:22.641Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5421101170004252163.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5421101170004252163.key) [2022-09-20T04:45:22.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T04:45:22.944Z] + git semver init [2022-09-20T04:45:23.204Z] 2022-09-20 04:45:23,136 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T04:45:23.204Z] 2022-09-20 04:45:23,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-20T04:45:23.204Z] 2022-09-20 04:45:23,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-20T04:45:23.204Z] 2022-09-20 04:45:23,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,214 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,214 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,218 [execute] INFO git cat-file --batch-check [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,225 [execute] INFO git cat-file --batch [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T04:45:24.590Z] 2022-09-20 04:45:24,230 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T04:45:24.590Z] 0.0.0 [Pipeline] } [2022-09-20T04:45:24.604Z] $ docker exec --env ******** --env ******** 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf ssh-agent -k [2022-09-20T04:45:24.708Z] unset SSH_AUTH_SOCK; [2022-09-20T04:45:24.709Z] unset SSH_AGENT_PID; [2022-09-20T04:45:24.709Z] echo Agent pid 82 killed; [2022-09-20T04:45:24.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T04:45:25.025Z] + git semver [Pipeline] } [2022-09-20T04:45:25.315Z] $ docker stop --time=1 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf [2022-09-20T04:45:26.640Z] $ docker rm -f 0ed716454eea7218a4b19d1678802e8624cc3e68c5e023c13ca3c6c82ad7eebf [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:45:26.993Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T04:45:27.262Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T04:45:27.265Z] [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-09-20T04:45:27.394Z] provisioning config files... [2022-09-20T04:45:27.404Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5736637085311587205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:45:27.708Z] ---> docker-login.sh [2022-09-20T04:45:27.708Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:45:27.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:27.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:27.708Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:27.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:27.708Z] [2022-09-20T04:45:27.708Z] Login Succeeded [2022-09-20T04:45:27.708Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:45:27.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:27.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:27.969Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:27.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:27.969Z] [2022-09-20T04:45:27.969Z] Login Succeeded [2022-09-20T04:45:27.969Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:45:27.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:27.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:27.969Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:27.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:27.969Z] [2022-09-20T04:45:27.969Z] Login Succeeded [2022-09-20T04:45:27.969Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:45:28.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:28.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:28.229Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:28.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:28.229Z] [2022-09-20T04:45:28.229Z] Login Succeeded [2022-09-20T04:45:28.229Z] docker.io [2022-09-20T04:45:28.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:45:28.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:45:28.799Z] Configure a credential helper to remove this warning. See [2022-09-20T04:45:28.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:45:28.799Z] [2022-09-20T04:45:28.799Z] Login Succeeded [2022-09-20T04:45:28.799Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:45:28.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T04:45:28.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:45:28.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:45:28.888Z] ========================================================= [2022-09-20T04:45:28.888Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T04:45:28.888Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:45:29.201Z] + 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-09-20T04:45:29.201Z] Sending build context to Docker daemon 20.75MB [2022-09-20T04:45:29.201Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:45:29.201Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T04:45:29.462Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T04:45:29.462Z] 2408cc74d12b: Pulling fs layer [2022-09-20T04:45:29.462Z] ea60b727a1ce: Pulling fs layer [2022-09-20T04:45:29.462Z] 30c4a7721957: Pulling fs layer [2022-09-20T04:45:29.462Z] 370296b7ddb6: Pulling fs layer [2022-09-20T04:45:29.462Z] 7c6cee850709: Pulling fs layer [2022-09-20T04:45:29.462Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T04:45:29.462Z] d94ebbe4e438: Pulling fs layer [2022-09-20T04:45:29.462Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T04:45:29.462Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T04:45:29.462Z] d94ebbe4e438: Waiting [2022-09-20T04:45:29.462Z] 39a5fcdaea64: Waiting [2022-09-20T04:45:29.462Z] bcfd1f05c69d: Waiting [2022-09-20T04:45:29.462Z] 59ccb84bbe0f: Waiting [2022-09-20T04:45:29.462Z] 370296b7ddb6: Waiting [2022-09-20T04:45:29.462Z] 7c6cee850709: Waiting [2022-09-20T04:45:29.462Z] 30c4a7721957: Verifying Checksum [2022-09-20T04:45:29.462Z] 30c4a7721957: Download complete [2022-09-20T04:45:29.462Z] ea60b727a1ce: Download complete [2022-09-20T04:45:29.462Z] 7c6cee850709: Verifying Checksum [2022-09-20T04:45:29.462Z] 7c6cee850709: Download complete [2022-09-20T04:45:29.462Z] 39a5fcdaea64: Download complete [2022-09-20T04:45:29.462Z] 2408cc74d12b: Verifying Checksum [2022-09-20T04:45:29.462Z] 2408cc74d12b: Download complete [2022-09-20T04:45:29.462Z] d94ebbe4e438: Verifying Checksum [2022-09-20T04:45:29.462Z] d94ebbe4e438: Download complete [2022-09-20T04:45:29.723Z] 2408cc74d12b: Pull complete [2022-09-20T04:45:29.723Z] ea60b727a1ce: Pull complete [2022-09-20T04:45:29.723Z] 30c4a7721957: Pull complete [2022-09-20T04:45:29.986Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T04:45:29.986Z] 59ccb84bbe0f: Download complete [2022-09-20T04:45:30.247Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T04:45:30.248Z] bcfd1f05c69d: Download complete [2022-09-20T04:45:30.248Z] 370296b7ddb6: Verifying Checksum [2022-09-20T04:45:30.248Z] 370296b7ddb6: Download complete [2022-09-20T04:45:34.444Z] 370296b7ddb6: Pull complete [2022-09-20T04:45:34.444Z] 7c6cee850709: Pull complete [2022-09-20T04:45:34.444Z] 39a5fcdaea64: Pull complete [2022-09-20T04:45:34.444Z] d94ebbe4e438: Pull complete [2022-09-20T04:45:36.987Z] bcfd1f05c69d: Pull complete [2022-09-20T04:45:37.248Z] 59ccb84bbe0f: Pull complete [2022-09-20T04:45:37.248Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T04:45:37.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T04:45:37.248Z] ---> a4fb48ad2a94 [2022-09-20T04:45:37.248Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T04:45:39.164Z] ---> Running in 2320ba5e4647 [2022-09-20T04:45:39.164Z] Removing intermediate container 2320ba5e4647 [2022-09-20T04:45:39.164Z] ---> 8f27ce771d64 [2022-09-20T04:45:39.164Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T04:45:39.164Z] ---> Running in 53062421b89b [2022-09-20T04:45:39.423Z] Removing intermediate container 53062421b89b [2022-09-20T04:45:39.423Z] ---> 59da7bb25596 [2022-09-20T04:45:39.423Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T04:45:39.424Z] ---> Running in fd56e104d410 [2022-09-20T04:45:39.424Z] Removing intermediate container fd56e104d410 [2022-09-20T04:45:39.424Z] ---> 03f9e042aaa5 [2022-09-20T04:45:39.424Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T04:45:39.684Z] ---> Running in dcde5e7ff77a [2022-09-20T04:45:39.684Z] Removing intermediate container dcde5e7ff77a [2022-09-20T04:45:39.684Z] ---> 95141b3f8f48 [2022-09-20T04:45:39.684Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:45:39.684Z] ---> Running in 89a3d4c6d231 [2022-09-20T04:45:40.255Z] Removing intermediate container 89a3d4c6d231 [2022-09-20T04:45:40.255Z] ---> 748e294ec4c5 [2022-09-20T04:45:40.255Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T04:45:40.255Z] ---> Running in 5b374f75890b [2022-09-20T04:45:40.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:45:41.455Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:45:42.026Z] OK: 211 MiB in 51 packages [2022-09-20T04:45:42.286Z] Removing intermediate container 5b374f75890b [2022-09-20T04:45:42.286Z] ---> 2eec206051fa [2022-09-20T04:45:42.286Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T04:45:42.286Z] ---> Running in e750ece7bfe4 [2022-09-20T04:45:42.286Z] Removing intermediate container e750ece7bfe4 [2022-09-20T04:45:42.286Z] ---> bc9d86fde092 [2022-09-20T04:45:42.286Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T04:45:42.366Z] Still waiting to schedule task [2022-09-20T04:45:42.366Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-20T04:45:42.546Z] ---> 690d6f7576c9 [2022-09-20T04:45:42.546Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:45:42.546Z] ---> Running in 08896aa3d614 [2022-09-20T04:46:04.539Z] Removing intermediate container 08896aa3d614 [2022-09-20T04:46:04.539Z] ---> 7421ac738c4a [2022-09-20T04:46:04.539Z] Step 12/13 : COPY . . [2022-09-20T04:46:04.539Z] ---> f83e85db3c1d [2022-09-20T04:46:04.539Z] Step 13/13 : RUN ${MAKE} [2022-09-20T04:46:04.539Z] ---> Running in ddf598323518 [2022-09-20T04:46:04.539Z] noop [2022-09-20T04:46:04.539Z] Removing intermediate container ddf598323518 [2022-09-20T04:46:04.539Z] ---> 996e867697df [2022-09-20T04:46:04.539Z] Successfully built 996e867697df [2022-09-20T04:46:04.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:46:04.868Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T04:46:04.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:46:04.957Z] prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container [2022-09-20T04:46:04.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T04:46:05.399Z] $ docker top 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:46:05.760Z] + go version [2022-09-20T04:46:05.761Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T04:46:05.774Z] $ docker stop --time=1 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 [2022-09-20T04:46:07.063Z] $ docker rm -f 43d685a855e0a575f84c2d11f7f69c92603989ca31df2573353003f7a27f90f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:46:07.491Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T04:46:07.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:46:07.581Z] prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container [2022-09-20T04:46:07.619Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T04:46:08.014Z] $ docker top 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:46:08.381Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-20T04:46:08.687Z] + make test [2022-09-20T04:46:08.687Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T04:46:08.953Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T04:46:19.060Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T04:46:20.447Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 28.6% of statements [2022-09-20T04:46:20.447Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T04:46:24.651Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.474s coverage: 13.8% of statements [2022-09-20T04:46:31.230Z] 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-09-20T04:46:31.230Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T04:46:34.537Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T04:46:34.537Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T04:46:34.537Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T04:46:34.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T04:46:34.567Z] $ docker stop --time=1 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 [2022-09-20T04:46:36.415Z] $ docker rm -f 151936f0ac667c9675bc05b345504fb8ad1a46ee90b04e191a39a8b3c54a5722 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:46:36.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T04:46:36.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T04:46:37.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T04:46:37.721Z] + ls -al . [2022-09-20T04:46:37.721Z] total 232 [2022-09-20T04:46:37.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 04:46 . [2022-09-20T04:46:37.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 .. [2022-09-20T04:46:37.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:46 .git [2022-09-20T04:46:37.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:45 .github [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 04:45 .gitignore [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:45 .golangci.yml [2022-09-20T04:46:37.721Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:45 .semver [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 04:45 Attribution.txt [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 04:45 CHANGELOG.md [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 04:45 Dockerfile [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:45 GOVERNANCE.md [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 04:45 Jenkinsfile [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 04:45 LICENSE [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 04:45 Makefile [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 04:45 OWNERS.md [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 04:45 README.md [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:45 VERSION [2022-09-20T04:46:37.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:45 bin [2022-09-20T04:46:37.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:45 cmd [2022-09-20T04:46:37.721Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 04:46 coverage.out [2022-09-20T04:46:37.721Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:45 doc [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 04:45 go.mod [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 04:45 go.sum [2022-09-20T04:46:37.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 internal [2022-09-20T04:46:37.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:45 snap [2022-09-20T04:46:37.721Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:46:38.036Z] + 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=41e07621cc2cd1e1cd7989c4ba885f05ab417290 --label arch=amd64 --label version=0.0.0 . [2022-09-20T04:46:38.036Z] Sending build context to Docker daemon 20.83MB [2022-09-20T04:46:38.036Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:46:38.036Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T04:46:38.036Z] ---> 996e867697df [2022-09-20T04:46:38.036Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T04:46:38.297Z] ---> Running in 35bf232061f3 [2022-09-20T04:46:38.297Z] Removing intermediate container 35bf232061f3 [2022-09-20T04:46:38.297Z] ---> e992ca829150 [2022-09-20T04:46:38.297Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T04:46:38.557Z] ---> Running in 3a70a997f1c9 [2022-09-20T04:46:38.558Z] Removing intermediate container 3a70a997f1c9 [2022-09-20T04:46:38.558Z] ---> 88cc2445e818 [2022-09-20T04:46:38.558Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T04:46:38.558Z] ---> Running in 74563cfd6bac [2022-09-20T04:46:38.558Z] Removing intermediate container 74563cfd6bac [2022-09-20T04:46:38.558Z] ---> 6f83855c206c [2022-09-20T04:46:38.558Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T04:46:38.816Z] ---> Running in 6b169a294f50 [2022-09-20T04:46:38.816Z] Removing intermediate container 6b169a294f50 [2022-09-20T04:46:38.816Z] ---> 07de2ec75c15 [2022-09-20T04:46:38.816Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:46:38.816Z] ---> Running in 37b52d764c6a [2022-09-20T04:46:39.385Z] Removing intermediate container 37b52d764c6a [2022-09-20T04:46:39.385Z] ---> 83e3098f76c2 [2022-09-20T04:46:39.385Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T04:46:39.385Z] ---> Running in 3a220aa444ee [2022-09-20T04:46:39.955Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:46:40.527Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:46:41.099Z] OK: 211 MiB in 51 packages [2022-09-20T04:46:41.360Z] Removing intermediate container 3a220aa444ee [2022-09-20T04:46:41.360Z] ---> 33060a43134d [2022-09-20T04:46:41.360Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T04:46:41.360Z] ---> Running in 14ad000f8999 [2022-09-20T04:46:41.360Z] Removing intermediate container 14ad000f8999 [2022-09-20T04:46:41.360Z] ---> cdebd48d6a2b [2022-09-20T04:46:41.360Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T04:46:41.620Z] ---> b160a04d662c [2022-09-20T04:46:41.620Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:46:41.620Z] ---> Running in c98e758157d3 [2022-09-20T04:46:42.193Z] Removing intermediate container c98e758157d3 [2022-09-20T04:46:42.193Z] ---> 20984c159508 [2022-09-20T04:46:42.193Z] Step 12/26 : COPY . . [2022-09-20T04:46:42.764Z] ---> 6a901c3ab29e [2022-09-20T04:46:42.764Z] Step 13/26 : RUN ${MAKE} [2022-09-20T04:46:42.764Z] ---> Running in 43939c2b1ba3 [2022-09-20T04:46:43.333Z] 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-09-20T04:47:05.284Z] Removing intermediate container 43939c2b1ba3 [2022-09-20T04:47:05.284Z] ---> d359d62c0e58 [2022-09-20T04:47:05.284Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T04:47:05.284Z] 3.16: Pulling from library/alpine [2022-09-20T04:47:05.284Z] 213ec9aee27d: Pulling fs layer [2022-09-20T04:47:05.284Z] 213ec9aee27d: Verifying Checksum [2022-09-20T04:47:05.284Z] 213ec9aee27d: Download complete [2022-09-20T04:47:05.284Z] 213ec9aee27d: Pull complete [2022-09-20T04:47:05.284Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T04:47:05.284Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T04:47:05.284Z] ---> 9c6f07244728 [2022-09-20T04:47:05.284Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T04:47:05.284Z] ---> Running in 71d218272d14 [2022-09-20T04:47:05.284Z] Removing intermediate container 71d218272d14 [2022-09-20T04:47:05.284Z] ---> 21a355a77bdd [2022-09-20T04:47:05.284Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T04:47:05.284Z] ---> Running in bf7937e74e5a [2022-09-20T04:47:05.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T04:47:05.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T04:47:05.284Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T04:47:05.284Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T04:47:05.284Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T04:47:05.284Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T04:47:05.284Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T04:47:05.284Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T04:47:05.284Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T04:47:05.284Z] OK: 8 MiB in 20 packages [2022-09-20T04:47:05.284Z] Removing intermediate container bf7937e74e5a [2022-09-20T04:47:05.284Z] ---> 0dcb2fc263d8 [2022-09-20T04:47:05.284Z] Step 17/26 : WORKDIR / [2022-09-20T04:47:05.284Z] ---> Running in f3b3b8c18dbf [2022-09-20T04:47:05.284Z] Removing intermediate container f3b3b8c18dbf [2022-09-20T04:47:05.284Z] ---> 7b99b947aaac [2022-09-20T04:47:05.284Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T04:47:05.284Z] ---> fc5efc657ea6 [2022-09-20T04:47:05.284Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T04:47:05.284Z] ---> 42874ec54745 [2022-09-20T04:47:05.284Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T04:47:05.544Z] ---> 745c984684e5 [2022-09-20T04:47:05.544Z] Step 21/26 : EXPOSE 59984 [2022-09-20T04:47:05.544Z] ---> Running in 9ec1fede0c00 [2022-09-20T04:47:05.544Z] Removing intermediate container 9ec1fede0c00 [2022-09-20T04:47:05.544Z] ---> 7d51d378654d [2022-09-20T04:47:05.544Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T04:47:05.544Z] ---> Running in e065663061d8 [2022-09-20T04:47:05.806Z] Removing intermediate container e065663061d8 [2022-09-20T04:47:05.806Z] ---> 48e038e5bc0c [2022-09-20T04:47:05.806Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T04:47:05.806Z] ---> Running in 0666e0c26869 [2022-09-20T04:47:05.806Z] Removing intermediate container 0666e0c26869 [2022-09-20T04:47:05.806Z] ---> c9e72db34b14 [2022-09-20T04:47:05.806Z] Step 24/26 : LABEL arch=amd64 [2022-09-20T04:47:05.806Z] ---> Running in 5e1b43247842 [2022-09-20T04:47:06.066Z] Removing intermediate container 5e1b43247842 [2022-09-20T04:47:06.066Z] ---> 60b7c3d369c5 [2022-09-20T04:47:06.066Z] Step 25/26 : LABEL git_sha=41e07621cc2cd1e1cd7989c4ba885f05ab417290 [2022-09-20T04:47:06.066Z] ---> Running in 9f2a5fc69a33 [2022-09-20T04:47:06.326Z] Removing intermediate container 9f2a5fc69a33 [2022-09-20T04:47:06.326Z] ---> cf57417af58a [2022-09-20T04:47:06.326Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T04:47:06.326Z] ---> Running in 26a0796cbf2e [2022-09-20T04:47:06.326Z] Removing intermediate container 26a0796cbf2e [2022-09-20T04:47:06.326Z] ---> 36c190abb248 [2022-09-20T04:47:06.326Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T04:47:06.326Z] Successfully built 36c190abb248 [2022-09-20T04:47:06.326Z] 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-09-20T04:47:06.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:47:06.755Z] [2022-09-20T04:47:06.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:47:07.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:47:07.062Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T04:47:07.062Z] 5eb5b503b376: Pulling fs layer [2022-09-20T04:47:07.062Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T04:47:07.062Z] ec43610c2a17: Pulling fs layer [2022-09-20T04:47:07.062Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T04:47:07.062Z] 33b1e0a273af: Pulling fs layer [2022-09-20T04:47:07.062Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T04:47:07.062Z] 2f39f015ded8: Pulling fs layer [2022-09-20T04:47:07.062Z] 33b1e0a273af: Waiting [2022-09-20T04:47:07.062Z] 3a2ae6a8a46f: Waiting [2022-09-20T04:47:07.062Z] 5d3b04190fa2: Waiting [2022-09-20T04:47:07.062Z] 2f39f015ded8: Waiting [2022-09-20T04:47:07.062Z] 5c69ac0246d0: Download complete [2022-09-20T04:47:07.062Z] 3a2ae6a8a46f: Download complete [2022-09-20T04:47:07.062Z] ec43610c2a17: Verifying Checksum [2022-09-20T04:47:07.062Z] ec43610c2a17: Download complete [2022-09-20T04:47:07.062Z] 33b1e0a273af: Verifying Checksum [2022-09-20T04:47:07.062Z] 33b1e0a273af: Download complete [2022-09-20T04:47:07.322Z] 5d3b04190fa2: Download complete [2022-09-20T04:47:07.322Z] 5eb5b503b376: Download complete [2022-09-20T04:47:07.891Z] 2f39f015ded8: Download complete [2022-09-20T04:47:08.462Z] 5eb5b503b376: Pull complete [2022-09-20T04:47:08.721Z] 5c69ac0246d0: Pull complete [2022-09-20T04:47:08.979Z] ec43610c2a17: Pull complete [2022-09-20T04:47:08.979Z] 3a2ae6a8a46f: Pull complete [2022-09-20T04:47:09.237Z] 33b1e0a273af: Pull complete [2022-09-20T04:47:09.237Z] 5d3b04190fa2: Pull complete [2022-09-20T04:47:13.426Z] 2f39f015ded8: Pull complete [2022-09-20T04:47:13.426Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T04:47:13.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:47:13.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:47:13.518Z] prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container [2022-09-20T04:47:13.555Z] $ 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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@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-09-20T04:47:15.170Z] $ docker top 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:47:15.587Z] ---> job-cost.sh [2022-09-20T04:47:15.587Z] lf-activate-venv: SKIPPING [2022-09-20T04:47:15.587Z] INFO: No Stack... [2022-09-20T04:47:15.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T04:47:16.420Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T04:47:16.710Z] + cut -d, -f6 [2022-09-20T04:47:16.710Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [Pipeline] lock [2022-09-20T04:47:16.725Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [2022-09-20T04:47:16.732Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] did not exist. Created. [2022-09-20T04:47:16.733Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T04:47:17.040Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T04:47:17.075Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T04:47:17.082Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T04:47:17.103Z] $ docker stop --time=1 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 [2022-09-20T04:47:17.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29927 in /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T04:47:18.264Z] $ docker rm -f 522f921d9a63eddb9f09ea07fbf2e2521173a1e2c72b5425154aa3fe1bc09970 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-09-20T04:47:18.339Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [2022-09-20T04:47:18.378Z] Selected Git installation does not exist. Using Default [2022-09-20T04:47:18.378Z] The recommended git tool is: NONE [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-20T04:47:24.120Z] using credential edgex-jenkins-ssh [2022-09-20T04:47:24.141Z] Cloning the remote Git repository [2022-09-20T04:47:24.196Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T04:47:24.261Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-09-20T04:47:24.395Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T04:47:24.397Z] > git --version # timeout=10 [2022-09-20T04:47:24.428Z] > git --version # 'git version 2.25.1' [2022-09-20T04:47:24.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:47:24.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T04:47:25.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T04:47:25.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T04:47:25.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T04:47:25.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T04:47:25.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:47:25.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-20T04:47:26.483Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 7da5914cb017261003566147505e712acf32ea44 [2022-09-20T04:47:27.071Z] Merge succeeded, producing 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 [2022-09-20T04:47:27.071Z] Checking out Revision 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 (PR-161) [2022-09-20T04:47:26.504Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T04:47:26.532Z] > git checkout -f 7da5914cb017261003566147505e712acf32ea44 # timeout=10 [2022-09-20T04:47:26.737Z] > git remote # timeout=10 [2022-09-20T04:47:26.754Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T04:47:26.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T04:47:26.780Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-20T04:47:27.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T04:47:27.080Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T04:47:27.101Z] > git checkout -f 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 # timeout=10 [2022-09-20T04:47:31.191Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-20T04:47:31.214Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:47:31.200Z] > git rev-list --no-walk a91ed6cb4bec8b538a5f62f6b23b437928ed614d # timeout=10 [2022-09-20T04:47:32.119Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T04:47:32.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T04:47:32.119Z] Dload Upload Total Spent Left Speed [2022-09-20T04:47:32.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k 100 12602 100 12602 0 0 103k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2022-09-20T04:47:32.835Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T04:47:33.175Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T04:47:33.175Z] + sudo tee /etc/docker/daemon.new [2022-09-20T04:47:33.175Z] { [2022-09-20T04:47:33.175Z] "registry-mirrors": [ [2022-09-20T04:47:33.175Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T04:47:33.175Z] ], [2022-09-20T04:47:33.175Z] "bip": "10.250.0.254/24", [2022-09-20T04:47:33.175Z] "hosts": [ [2022-09-20T04:47:33.175Z] "tcp://0.0.0.0:5555", [2022-09-20T04:47:33.175Z] "unix:///var/run/docker.sock" [2022-09-20T04:47:33.175Z] ], [2022-09-20T04:47:33.175Z] "mtu": 1458, [2022-09-20T04:47:33.175Z] "selinux-enabled": true, [2022-09-20T04:47:33.175Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T04:47:33.175Z] } [Pipeline] sh [2022-09-20T04:47:33.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T04:47:33.864Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:47:52.210Z] provisioning config files... [2022-09-20T04:47:52.233Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config5026083583408069157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:47:52.596Z] ---> docker-login.sh [2022-09-20T04:47:52.597Z] nexus3.edgexfoundry.org:10001 [2022-09-20T04:47:53.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:47:53.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:47:53.468Z] Configure a credential helper to remove this warning. See [2022-09-20T04:47:53.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:47:53.468Z] [2022-09-20T04:47:53.468Z] Login Succeeded [2022-09-20T04:47:53.468Z] nexus3.edgexfoundry.org:10002 [2022-09-20T04:47:53.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:47:53.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:47:53.744Z] Configure a credential helper to remove this warning. See [2022-09-20T04:47:53.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:47:53.744Z] [2022-09-20T04:47:53.744Z] Login Succeeded [2022-09-20T04:47:53.744Z] nexus3.edgexfoundry.org:10003 [2022-09-20T04:47:54.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:47:54.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:47:54.290Z] Configure a credential helper to remove this warning. See [2022-09-20T04:47:54.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:47:54.290Z] [2022-09-20T04:47:54.290Z] Login Succeeded [2022-09-20T04:47:54.290Z] nexus3.edgexfoundry.org:10004 [2022-09-20T04:47:54.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:47:54.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:47:54.840Z] Configure a credential helper to remove this warning. See [2022-09-20T04:47:54.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:47:54.840Z] [2022-09-20T04:47:54.840Z] Login Succeeded [2022-09-20T04:47:54.840Z] docker.io [2022-09-20T04:47:55.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T04:47:55.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T04:47:55.388Z] Configure a credential helper to remove this warning. See [2022-09-20T04:47:55.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T04:47:55.388Z] [2022-09-20T04:47:55.388Z] Login Succeeded [2022-09-20T04:47:55.388Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T04:47:55.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T04:47:55.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:47:55.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T04:47:55.893Z] ========================================================= [2022-09-20T04:47:55.893Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T04:47:55.893Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:47:56.253Z] + 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-09-20T04:47:56.851Z] Sending build context to Docker daemon 14.24MB [2022-09-20T04:47:56.851Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:47:56.851Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T04:47:57.126Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T04:47:57.126Z] b3c136eddcbf: Pulling fs layer [2022-09-20T04:47:57.126Z] c0a3192eca97: Pulling fs layer [2022-09-20T04:47:57.126Z] a050256f5b6f: Pulling fs layer [2022-09-20T04:47:57.126Z] 656be50a0ddc: Pulling fs layer [2022-09-20T04:47:57.126Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T04:47:57.126Z] 46d945488cbd: Pulling fs layer [2022-09-20T04:47:57.126Z] 8a5474983e97: Pulling fs layer [2022-09-20T04:47:57.126Z] 329c88fbcd65: Pulling fs layer [2022-09-20T04:47:57.126Z] 8a5474983e97: Waiting [2022-09-20T04:47:57.126Z] 46d945488cbd: Waiting [2022-09-20T04:47:57.126Z] 329c88fbcd65: Waiting [2022-09-20T04:47:57.126Z] 656be50a0ddc: Waiting [2022-09-20T04:47:57.126Z] 2bbca73fdf42: Waiting [2022-09-20T04:47:57.126Z] a050256f5b6f: Verifying Checksum [2022-09-20T04:47:57.126Z] a050256f5b6f: Download complete [2022-09-20T04:47:57.126Z] c0a3192eca97: Verifying Checksum [2022-09-20T04:47:57.126Z] c0a3192eca97: Download complete [2022-09-20T04:47:57.126Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T04:47:57.126Z] 2bbca73fdf42: Download complete [2022-09-20T04:47:57.126Z] 46d945488cbd: Verifying Checksum [2022-09-20T04:47:57.126Z] 46d945488cbd: Download complete [2022-09-20T04:47:57.126Z] b3c136eddcbf: Verifying Checksum [2022-09-20T04:47:57.126Z] b3c136eddcbf: Download complete [2022-09-20T04:47:58.118Z] b3c136eddcbf: Pull complete [2022-09-20T04:47:58.118Z] 329c88fbcd65: Verifying Checksum [2022-09-20T04:47:58.118Z] 329c88fbcd65: Download complete [2022-09-20T04:47:58.722Z] c0a3192eca97: Pull complete [2022-09-20T04:47:58.999Z] a050256f5b6f: Pull complete [2022-09-20T04:47:59.275Z] 8a5474983e97: Verifying Checksum [2022-09-20T04:47:59.275Z] 8a5474983e97: Download complete [2022-09-20T04:47:59.880Z] 656be50a0ddc: Verifying Checksum [2022-09-20T04:47:59.880Z] 656be50a0ddc: Download complete [2022-09-20T04:48:14.972Z] 656be50a0ddc: Pull complete [2022-09-20T04:48:14.972Z] 2bbca73fdf42: Pull complete [2022-09-20T04:48:14.972Z] 46d945488cbd: Pull complete [2022-09-20T04:48:19.296Z] 8a5474983e97: Pull complete [2022-09-20T04:48:21.295Z] 329c88fbcd65: Pull complete [2022-09-20T04:48:21.295Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T04:48:21.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T04:48:21.295Z] ---> ff4287adb874 [2022-09-20T04:48:21.295Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T04:48:23.271Z] ---> Running in a2a6a875f598 [2022-09-20T04:48:23.271Z] Removing intermediate container a2a6a875f598 [2022-09-20T04:48:23.271Z] ---> d7faeb45abcb [2022-09-20T04:48:23.271Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T04:48:23.549Z] ---> Running in eda7500604f8 [2022-09-20T04:48:24.983Z] Removing intermediate container eda7500604f8 [2022-09-20T04:48:24.983Z] ---> 569f1360a9cf [2022-09-20T04:48:24.983Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T04:48:24.983Z] ---> Running in 257bbf0e574a [2022-09-20T04:48:25.257Z] Removing intermediate container 257bbf0e574a [2022-09-20T04:48:25.257Z] ---> 5280fdc6b76a [2022-09-20T04:48:25.257Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T04:48:25.257Z] ---> Running in c5f2d10c34a6 [2022-09-20T04:48:25.531Z] Removing intermediate container c5f2d10c34a6 [2022-09-20T04:48:25.531Z] ---> 38cb4a94d27b [2022-09-20T04:48:25.531Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:48:25.806Z] ---> Running in d920c8211e42 [2022-09-20T04:48:27.246Z] Removing intermediate container d920c8211e42 [2022-09-20T04:48:27.246Z] ---> e289eec7ffac [2022-09-20T04:48:27.246Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T04:48:27.538Z] ---> Running in 85134344a24c [2022-09-20T04:48:28.523Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:48:29.499Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:48:30.094Z] OK: 221 MiB in 51 packages [2022-09-20T04:48:31.079Z] Removing intermediate container 85134344a24c [2022-09-20T04:48:31.079Z] ---> 3c901aba21fb [2022-09-20T04:48:31.079Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T04:48:31.079Z] ---> Running in 41f2058b4688 [2022-09-20T04:48:31.353Z] Removing intermediate container 41f2058b4688 [2022-09-20T04:48:31.353Z] ---> 1322fcb08136 [2022-09-20T04:48:31.353Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T04:48:31.627Z] ---> 2020c10e5259 [2022-09-20T04:48:31.627Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:48:31.902Z] ---> Running in 2c70ad935889 [2022-09-20T04:49:28.442Z] Removing intermediate container 2c70ad935889 [2022-09-20T04:49:28.442Z] ---> c7e94199f20e [2022-09-20T04:49:28.442Z] Step 12/13 : COPY . . [2022-09-20T04:49:28.442Z] ---> 5e246dbb30e1 [2022-09-20T04:49:28.442Z] Step 13/13 : RUN ${MAKE} [2022-09-20T04:49:28.442Z] ---> Running in 803df5e83fc5 [2022-09-20T04:49:28.442Z] noop [2022-09-20T04:49:28.442Z] Removing intermediate container 803df5e83fc5 [2022-09-20T04:49:28.442Z] ---> 279c980756d0 [2022-09-20T04:49:28.442Z] Successfully built 279c980756d0 [2022-09-20T04:49:28.442Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:49:28.800Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T04:49:28.801Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:49:29.022Z] prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container [2022-09-20T04:49:29.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-09-20T04:49:30.303Z] $ docker top 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:49:31.193Z] + go version [2022-09-20T04:49:31.193Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T04:49:31.217Z] $ docker stop --time=1 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea [2022-09-20T04:49:32.874Z] $ docker rm -f 5cf967c217887c0e04fe145734462bab7a132054d0750ba9675ea7fe3d9979ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:49:33.465Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T04:49:33.465Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:49:33.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container [2022-09-20T04:49:33.759Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-09-20T04:49:34.967Z] $ docker top 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:49:35.846Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-09-20T04:49:36.515Z] + make test [2022-09-20T04:49:36.515Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T04:49:37.952Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T04:50:59.809Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T04:51:08.134Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.234s coverage: 28.6% of statements [2022-09-20T04:51:08.134Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T04:51:30.358Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.449s coverage: 13.8% of statements [2022-09-20T04:51:30.358Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T04:51:30.358Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T04:51:52.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T04:51:52.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T04:51:52.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T04:51:52.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T04:51:52.600Z] $ docker stop --time=1 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c [2022-09-20T04:51:54.336Z] $ docker rm -f 8449a8ffb9e6c9192f5e3ec10757f15e4f17c144c217b4306d5ec6218368110c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T04:51:55.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T04:51:55.380Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T04:51:55.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T04:51:56.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T04:51:56.627Z] + ls -al . [2022-09-20T04:51:56.627Z] total 228 [2022-09-20T04:51:56.627Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 04:49 . [2022-09-20T04:51:56.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 .. [2022-09-20T04:51:56.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 04:47 .git [2022-09-20T04:51:56.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:47 .github [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 04:47 .gitignore [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 04:47 .golangci.yml [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 04:47 Attribution.txt [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 04:47 CHANGELOG.md [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 04:47 Dockerfile [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 04:47 GOVERNANCE.md [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 04:47 Jenkinsfile [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 04:47 LICENSE [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 04:47 Makefile [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 04:47 OWNERS.md [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 04:47 README.md [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 04:45 VERSION [2022-09-20T04:51:56.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 04:47 bin [2022-09-20T04:51:56.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 04:47 cmd [2022-09-20T04:51:56.627Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 04:51 coverage.out [2022-09-20T04:51:56.627Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 04:47 doc [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 04:47 go.mod [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 04:47 go.sum [2022-09-20T04:51:56.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 internal [2022-09-20T04:51:56.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 04:47 snap [2022-09-20T04:51:56.627Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:51:56.988Z] + 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=963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 --label arch=arm64 --label version=0.0.0 . [2022-09-20T04:51:57.585Z] Sending build context to Docker daemon 14.31MB [2022-09-20T04:51:57.585Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T04:51:57.585Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T04:51:57.585Z] ---> 279c980756d0 [2022-09-20T04:51:57.585Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T04:51:57.585Z] ---> Running in 425a84c7a0c8 [2022-09-20T04:51:57.867Z] Removing intermediate container 425a84c7a0c8 [2022-09-20T04:51:57.867Z] ---> 5181b85166b0 [2022-09-20T04:51:57.867Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T04:51:58.140Z] ---> Running in e9c0f56af647 [2022-09-20T04:51:58.413Z] Removing intermediate container e9c0f56af647 [2022-09-20T04:51:58.413Z] ---> 2584d08195aa [2022-09-20T04:51:58.413Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T04:51:58.413Z] ---> Running in 2366a25790c0 [2022-09-20T04:51:58.686Z] Removing intermediate container 2366a25790c0 [2022-09-20T04:51:58.686Z] ---> 50d35b0f4392 [2022-09-20T04:51:58.686Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T04:51:58.686Z] ---> Running in 5e9d6bb649e5 [2022-09-20T04:51:58.962Z] Removing intermediate container 5e9d6bb649e5 [2022-09-20T04:51:58.962Z] ---> bac7efadf6f2 [2022-09-20T04:51:58.962Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T04:51:59.240Z] ---> Running in 1dacec1a4350 [2022-09-20T04:52:00.678Z] Removing intermediate container 1dacec1a4350 [2022-09-20T04:52:00.678Z] ---> ace78f53e975 [2022-09-20T04:52:00.678Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T04:52:00.678Z] ---> Running in ef4a1e9bbcbd [2022-09-20T04:52:01.658Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:52:02.636Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:52:03.616Z] OK: 221 MiB in 51 packages [2022-09-20T04:52:04.216Z] Removing intermediate container ef4a1e9bbcbd [2022-09-20T04:52:04.216Z] ---> 41f45d7d0d2f [2022-09-20T04:52:04.216Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T04:52:04.216Z] ---> Running in eb91ba6cb4ad [2022-09-20T04:52:04.493Z] Removing intermediate container eb91ba6cb4ad [2022-09-20T04:52:04.493Z] ---> 43883e2fa639 [2022-09-20T04:52:04.493Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T04:52:05.089Z] ---> 2c067dcc5442 [2022-09-20T04:52:05.090Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T04:52:05.090Z] ---> Running in 2a62aeb7e90c [2022-09-20T04:52:07.080Z] Removing intermediate container 2a62aeb7e90c [2022-09-20T04:52:07.080Z] ---> 32ff8edb1fba [2022-09-20T04:52:07.080Z] Step 12/26 : COPY . . [2022-09-20T04:52:09.055Z] ---> 31b3096d59bd [2022-09-20T04:52:09.055Z] Step 13/26 : RUN ${MAKE} [2022-09-20T04:52:09.055Z] ---> Running in 3c6f6709bff6 [2022-09-20T04:52:09.653Z] 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-09-20T04:54:31.572Z] Removing intermediate container 3c6f6709bff6 [2022-09-20T04:54:31.572Z] ---> 0ef5d8af5e9f [2022-09-20T04:54:31.572Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T04:54:31.572Z] 3.16: Pulling from library/alpine [2022-09-20T04:54:31.572Z] 9b18e9b68314: Pulling fs layer [2022-09-20T04:54:31.572Z] 9b18e9b68314: Verifying Checksum [2022-09-20T04:54:31.572Z] 9b18e9b68314: Download complete [2022-09-20T04:54:31.572Z] 9b18e9b68314: Pull complete [2022-09-20T04:54:31.572Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T04:54:31.572Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T04:54:31.572Z] ---> a6215f271958 [2022-09-20T04:54:31.572Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T04:54:31.572Z] ---> Running in f14666441301 [2022-09-20T04:54:31.572Z] Removing intermediate container f14666441301 [2022-09-20T04:54:31.572Z] ---> 9a23151c1de7 [2022-09-20T04:54:31.572Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T04:54:31.572Z] ---> Running in f6d67a860b1f [2022-09-20T04:54:31.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T04:54:31.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T04:54:31.572Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T04:54:31.572Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T04:54:31.572Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T04:54:31.572Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T04:54:31.572Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T04:54:31.572Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T04:54:31.572Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T04:54:31.572Z] OK: 8 MiB in 20 packages [2022-09-20T04:54:31.572Z] Removing intermediate container f6d67a860b1f [2022-09-20T04:54:31.572Z] ---> c1ab3446cdc8 [2022-09-20T04:54:31.572Z] Step 17/26 : WORKDIR / [2022-09-20T04:54:31.572Z] ---> Running in abb7ca1d4e0e [2022-09-20T04:54:31.572Z] Removing intermediate container abb7ca1d4e0e [2022-09-20T04:54:31.572Z] ---> ebb739970c29 [2022-09-20T04:54:31.572Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T04:54:31.572Z] ---> 5b3a1e32d93f [2022-09-20T04:54:31.572Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T04:54:31.572Z] ---> 9289a35d946a [2022-09-20T04:54:31.572Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T04:54:31.572Z] ---> 8cce8e9dd5b1 [2022-09-20T04:54:31.572Z] Step 21/26 : EXPOSE 59984 [2022-09-20T04:54:31.572Z] ---> Running in 9be71931c878 [2022-09-20T04:54:31.572Z] Removing intermediate container 9be71931c878 [2022-09-20T04:54:31.572Z] ---> 7a4abcaa64c5 [2022-09-20T04:54:31.572Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T04:54:31.572Z] ---> Running in 1bf6ad7a26ed [2022-09-20T04:54:31.572Z] Removing intermediate container 1bf6ad7a26ed [2022-09-20T04:54:31.572Z] ---> 18bf1658a538 [2022-09-20T04:54:31.572Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T04:54:31.572Z] ---> Running in 9d92556a9df8 [2022-09-20T04:54:31.572Z] Removing intermediate container 9d92556a9df8 [2022-09-20T04:54:31.572Z] ---> 17fa841c9f10 [2022-09-20T04:54:31.572Z] Step 24/26 : LABEL arch=arm64 [2022-09-20T04:54:31.572Z] ---> Running in b75d0c78f3ed [2022-09-20T04:54:31.572Z] Removing intermediate container b75d0c78f3ed [2022-09-20T04:54:31.572Z] ---> e35986153e17 [2022-09-20T04:54:31.572Z] Step 25/26 : LABEL git_sha=963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 [2022-09-20T04:54:31.572Z] ---> Running in a1c19fce3919 [2022-09-20T04:54:31.572Z] Removing intermediate container a1c19fce3919 [2022-09-20T04:54:31.572Z] ---> a24f9b86a1b8 [2022-09-20T04:54:31.572Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T04:54:31.572Z] ---> Running in ae3220dc8f4a [2022-09-20T04:54:31.572Z] Removing intermediate container ae3220dc8f4a [2022-09-20T04:54:31.572Z] ---> fa1912d177ee [2022-09-20T04:54:31.572Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T04:54:31.572Z] Successfully built fa1912d177ee [2022-09-20T04:54:31.572Z] 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-09-20T04:54:32.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:54:32.005Z] [2022-09-20T04:54:32.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:54:32.359Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:54:32.634Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T04:54:32.634Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T04:54:32.634Z] 04944245beec: Pulling fs layer [2022-09-20T04:54:32.634Z] 699f458cf7ca: Pulling fs layer [2022-09-20T04:54:32.634Z] 765212b225bb: Pulling fs layer [2022-09-20T04:54:32.634Z] f23df028b6ca: Pulling fs layer [2022-09-20T04:54:32.634Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T04:54:32.634Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T04:54:32.634Z] 765212b225bb: Waiting [2022-09-20T04:54:32.634Z] f23df028b6ca: Waiting [2022-09-20T04:54:32.634Z] d65c8cfc05b1: Waiting [2022-09-20T04:54:32.634Z] 2437ff75d9bd: Waiting [2022-09-20T04:54:32.634Z] 04944245beec: Verifying Checksum [2022-09-20T04:54:32.634Z] 04944245beec: Download complete [2022-09-20T04:54:32.634Z] 765212b225bb: Verifying Checksum [2022-09-20T04:54:32.634Z] 765212b225bb: Download complete [2022-09-20T04:54:32.634Z] f23df028b6ca: Verifying Checksum [2022-09-20T04:54:32.634Z] f23df028b6ca: Download complete [2022-09-20T04:54:32.634Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T04:54:32.634Z] d65c8cfc05b1: Download complete [2022-09-20T04:54:32.909Z] 699f458cf7ca: Verifying Checksum [2022-09-20T04:54:32.909Z] 699f458cf7ca: Download complete [2022-09-20T04:54:33.186Z] 8998bd30e6a1: Download complete [2022-09-20T04:54:35.814Z] 2437ff75d9bd: Download complete [2022-09-20T04:54:37.797Z] 8998bd30e6a1: Pull complete [2022-09-20T04:54:38.071Z] 04944245beec: Pull complete [2022-09-20T04:54:39.507Z] 699f458cf7ca: Pull complete [2022-09-20T04:54:39.782Z] 765212b225bb: Pull complete [2022-09-20T04:54:40.387Z] f23df028b6ca: Pull complete [2022-09-20T04:54:40.662Z] d65c8cfc05b1: Pull complete [2022-09-20T04:54:55.759Z] 2437ff75d9bd: Pull complete [2022-09-20T04:54:55.759Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T04:54:55.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T04:54:55.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:54:56.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-29927 does not seem to be running inside a container [2022-09-20T04:54:56.105Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-09-20T04:54:58.630Z] $ docker top aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:54:59.568Z] ---> job-cost.sh [2022-09-20T04:54:59.568Z] lf-activate-venv: SKIPPING [2022-09-20T04:54:59.568Z] INFO: No Stack... [2022-09-20T04:54:59.841Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T04:55:00.823Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T04:55:01.488Z] + cut -d, -f6 [2022-09-20T04:55:01.488Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [Pipeline] lock [2022-09-20T04:55:01.553Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [2022-09-20T04:55:01.560Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] did not exist. Created. [2022-09-20T04:55:01.560Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T04:55:02.242Z] /w/workspace/device-onvif-camera/5@tmp/durable-c502323d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T04:55:02.923Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T04:55:02.945Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T04:55:03.004Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T04:55:03.012Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T04:55:03.034Z] $ docker stop --time=1 aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 [2022-09-20T04:55:04.526Z] $ docker rm -f aac1971f783e5d321070e64c6b4187b2c9e09102890096173297cc054506a4b2 [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-09-20T04:55:04.958Z] provisioning config files... [2022-09-20T04:55:04.968Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config459800263081183675tmp [Pipeline] { [Pipeline] sh [2022-09-20T04:55:05.260Z] + set +x [2022-09-20T04:55:05.260Z] + + bash -s -- [2022-09-20T04:55:05.260Z] curl -s https://codecov.io/bash [2022-09-20T04:55:05.260Z] [2022-09-20T04:55:05.260Z] _____ _ [2022-09-20T04:55:05.260Z] / ____| | | [2022-09-20T04:55:05.260Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T04:55:05.260Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T04:55:05.260Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T04:55:05.260Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T04:55:05.260Z] Bash-1.0.6 [2022-09-20T04:55:05.260Z] [2022-09-20T04:55:05.260Z] [2022-09-20T04:55:05.260Z] ==> git version 2.25.1 found [2022-09-20T04:55:05.260Z] ==> 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-09-20T04:55:05.260Z] Release-Date: 2020-01-08 [2022-09-20T04:55:05.260Z] 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-09-20T04:55:05.260Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T04:55:05.260Z] ==> Jenkins CI detected. [2022-09-20T04:55:05.260Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T04:55:05.260Z] project root: . [2022-09-20T04:55:05.260Z] --> token set from env [2022-09-20T04:55:05.260Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T04:55:05.260Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T04:55:05.260Z] ==> Python coveragepy not found [2022-09-20T04:55:05.260Z] ==> Searching for coverage reports in: [2022-09-20T04:55:05.260Z] + . [2022-09-20T04:55:05.260Z] -> Found 1 reports [2022-09-20T04:55:05.260Z] ==> Detecting git/mercurial file structure [2022-09-20T04:55:05.260Z] ==> Reading reports [2022-09-20T04:55:05.260Z] + ./coverage.out bytes=77283 [2022-09-20T04:55:05.527Z] ==> Appending adjustments [2022-09-20T04:55:05.527Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T04:55:05.527Z] + Found adjustments [2022-09-20T04:55:05.527Z] ==> Gzipping contents [2022-09-20T04:55:05.527Z] 12K /tmp/codecov.OoXrbr.gz [2022-09-20T04:55:05.527Z] ==> Uploading reports [2022-09-20T04:55:05.527Z] url: https://codecov.io [2022-09-20T04:55:05.527Z] query: branch=PR-161&commit=41e07621cc2cd1e1cd7989c4ba885f05ab417290&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T04:55:05.527Z] -> Pinging Codecov [2022-09-20T04:55:05.527Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=41e07621cc2cd1e1cd7989c4ba885f05ab417290&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T04:55:05.788Z] -> Uploading to [2022-09-20T04:55:05.788Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/F29A59C45E3A92E06B3E522C9905F8EF/41e07621cc2cd1e1cd7989c4ba885f05ab417290/1b2f9628-b2d9-4195-a9bc-5769971f2c90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T045505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ba143e76cca91949c02e541b2d446417aa794154a4b158e2831ad9ad1cd593a [2022-09-20T04:55:05.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T04:55:05.788Z] Dload Upload Total Spent Left Speed [2022-09-20T04:55:06.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 40853 --:--:-- --:--:-- --:--:-- 40853 [2022-09-20T04:55:06.050Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/41e07621cc2cd1e1cd7989c4ba885f05ab417290 [Pipeline] } [2022-09-20T04:55:06.058Z] 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-09-20T04:55:06.799Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-20T04:55:06.799Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T04:55:06.799Z] total 16 [2022-09-20T04:55:06.799Z] drwxr-xr-x 3 root root 4096 Sep 20 04:47 . [2022-09-20T04:55:06.799Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:47 .. [2022-09-20T04:55:06.799Z] drwxr-xr-x 2 root root 4096 Sep 20 04:47 cost [2022-09-20T04:55:06.799Z] -rw-r--r-- 1 root root 91 Sep 20 04:47 cost.csv [2022-09-20T04:55:06.799Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T04:55:06.799Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T04:55:06.799Z] total 16 [2022-09-20T04:55:06.799Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 04:47 . [2022-09-20T04:55:06.799Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 04:47 .. [2022-09-20T04:55:06.799Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 04:47 cost [2022-09-20T04:55:06.799Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 20 04:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:07.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:07.959Z] ---> package-listing.sh [2022-09-20T04:55:07.960Z] ++ facter osfamily [2022-09-20T04:55:07.960Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T04:55:08.219Z] + OS_FAMILY=debian [2022-09-20T04:55:08.219Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T04:55:08.219Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T04:55:08.219Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T04:55:08.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T04:55:08.219Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T04:55:08.219Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T04:55:08.219Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T04:55:08.219Z] + case "${OS_FAMILY}" in [2022-09-20T04:55:08.219Z] + dpkg -l [2022-09-20T04:55:08.219Z] + grep '^ii' [2022-09-20T04:55:08.219Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T04:55:08.219Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T04:55:08.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T04:55:08.219Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T04:55:08.219Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-20T04:55:08.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo [2022-09-20T04:55:08.233Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-20T04:55:08.517Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T04:55:09.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T04:55:09.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T04:55:09.233Z] prd-ubuntu20.04-docker-8c-8g-29926 does not seem to be running inside a container [2022-09-20T04:55:09.280Z] $ 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-161/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-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T04:55:09.526Z] $ docker top 24b368c64d8c7a8f20a378920b42d13835ef98caeb8421784c0ff9db79940742 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T04:55:09.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T04:55:10.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T04:55:10.464Z] + ls /var/log/sa-host [2022-09-20T04:55:10.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T04:55:10.620Z] provisioning config files... [2022-09-20T04:55:10.629Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config7059808530563309361tmp [Pipeline] { [Pipeline] echo [2022-09-20T04:55:10.644Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:10.930Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T04:55:10.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:11.364Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T04:55:11.372Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:11.661Z] ---> sudo-logs.sh [2022-09-20T04:55:11.661Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T04:55:11.694Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:11.979Z] ---> job-cost.sh [2022-09-20T04:55:11.979Z] lf-activate-venv: SKIPPING [2022-09-20T04:55:11.979Z] DEBUG: total: 0.2199999988079071 [2022-09-20T04:55:11.979Z] INFO: Retrieving Stack Cost... [2022-09-20T04:55:12.238Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T04:55:12.808Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T04:55:12.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T04:55:13.110Z] ---> logs-deploy.sh [2022-09-20T04:55:13.110Z] lf-activate-venv: SKIPPING [2022-09-20T04:55:13.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/5 [2022-09-20T04:55:13.110Z] INFO: archiving workspace using pattern(s): [2022-09-20T04:55:14.049Z] Archives upload complete. [2022-09-20T04:55:14.311Z] INFO: archiving logs to Nexus [2022-09-20T04:55:14.882Z] ---> uname -a: [2022-09-20T04:55:14.882Z] Linux prd-ubuntu20-04-docker-8c-8g-29926 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-20T04:55:14.882Z] [2022-09-20T04:55:14.882Z]