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 1f6501c6a9662041fd385a15268cf9013fc634d4 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-ssh13379211409618611123.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-ssh12012238330325311814.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-ssh17079010498336242555.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-ssh5968841099464050844.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-ssh16942350140412203748.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-29693 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 1f6501c6a9662041fd385a15268cf9013fc634d4 > 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 1f6501c6a9662041fd385a15268cf9013fc634d4 # timeout=10 Merge succeeded, producing 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 Checking out Revision 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 (PR-161) > 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 # 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-16T23:57:38.311Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-16T23:57:38.376Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-16T23:57:38.390Z] ========================================================= [2022-09-16T23:57:38.390Z] EdgeX Global Pipelines Version Info [2022-09-16T23:57:38.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-16T23:57:39.161Z] ------------------- [2022-09-16T23:57:39.161Z] stable info: [2022-09-16T23:57:39.161Z] ------------------- [2022-09-16T23:57:39.161Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-16T23:57:39.161Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-16T23:57:39.161Z] Message: update stable to v1.0.239 > git rev-list --no-walk ba68ce7de06218551ad6889b53b44f342c4e0825 # timeout=10 [2022-09-16T23:57:39.735Z] ------------------- [2022-09-16T23:57:39.735Z] experimental info: [2022-09-16T23:57:39.735Z] ------------------- [2022-09-16T23:57:39.735Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-16T23:57:39.735Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-16T23:57:39.735Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-16T23:57:39.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-16T23:57:39.925Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-16T23:57:39.939Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-16T23:57:39.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-16T23:57:39.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-16T23:57:39.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-16T23:57:39.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-16T23:57:40.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-16T23:57:40.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-16T23:57:40.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-16T23:57:40.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-16T23:57:40.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-16T23:57:40.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-16T23:57:40.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-16T23:57:40.091Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-16T23:57:40.103Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-16T23:57:40.114Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T23:57:40.128Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-16T23:57:40.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-16T23:57:40.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-16T23:57:40.163Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-16T23:57:40.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-16T23:57:40.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-16T23:57:40.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-16T23:57:40.218Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-16T23:57:40.232Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-16T23:57:40.241Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-16T23:57:40.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-16T23:57:40.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-16T23:57:40.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-16T23:57:40.284Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo [2022-09-16T23:57:40.296Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 632eb44 [Pipeline] echo [2022-09-16T23:57:40.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-16T23:57:40.351Z] provisioning config files... [2022-09-16T23:57:40.376Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3791489723145230430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-16T23:57:40.688Z] ---> docker-login.sh [2022-09-16T23:57:40.688Z] nexus3.edgexfoundry.org:10001 [2022-09-16T23:57:40.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:40.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:40.950Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:40.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:40.950Z] [2022-09-16T23:57:40.950Z] Login Succeeded [2022-09-16T23:57:40.950Z] nexus3.edgexfoundry.org:10002 [2022-09-16T23:57:41.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:41.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:41.211Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:41.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:41.211Z] [2022-09-16T23:57:41.211Z] Login Succeeded [2022-09-16T23:57:41.211Z] nexus3.edgexfoundry.org:10003 [2022-09-16T23:57:41.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:41.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:41.211Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:41.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:41.211Z] [2022-09-16T23:57:41.211Z] Login Succeeded [2022-09-16T23:57:41.211Z] nexus3.edgexfoundry.org:10004 [2022-09-16T23:57:41.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:41.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:41.472Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:41.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:41.472Z] [2022-09-16T23:57:41.472Z] Login Succeeded [2022-09-16T23:57:41.472Z] docker.io [2022-09-16T23:57:41.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:42.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:42.046Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:42.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:42.046Z] [2022-09-16T23:57:42.046Z] Login Succeeded [2022-09-16T23:57:42.046Z] ---> docker-login.sh ends [Pipeline] } [2022-09-16T23:57:42.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-16T23:57:42.447Z] + git rev-list -1 --merges 632eb446cf4f1486b9bf2d8ff92b8671da61fa55~1..632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo [2022-09-16T23:57:42.560Z] -----------> git rev-list -1 --merges 632eb446cf4f1486b9bf2d8ff92b8671da61fa55~1..632eb446cf4f1486b9bf2d8ff92b8671da61fa55 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [2022-09-16T23:57:42.560Z] 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [false] [Pipeline] sh [2022-09-16T23:57:42.850Z] + git log --format=format:%s -1 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo [2022-09-16T23:57:42.870Z] ========================================================= [2022-09-16T23:57:42.870Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-16T23:57:42.870Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-16T23:57:43.213Z] + git log --format=format:%s -1 632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] echo [2022-09-16T23:57:43.226Z] [semverPrep] GIT_COMMIT: 632eb446cf4f1486b9bf2d8ff92b8671da61fa55, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-16T23:57:43.236Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-16T23:57:43.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-16T23:57:43.607Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-16T23:57:43.607Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-16T23:57:43.607Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-16T23:57:43.607Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-16T23:57:43.607Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-16T23:57:43.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:57:44.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T23:57:44.104Z] [2022-09-16T23:57:44.104Z] 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-16T23:57:44.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T23:57:44.409Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-16T23:57:44.409Z] b85a868b505f: Pulling fs layer [2022-09-16T23:57:44.409Z] e2be974225ed: Pulling fs layer [2022-09-16T23:57:44.409Z] 339a4e72a1f5: Pulling fs layer [2022-09-16T23:57:44.409Z] 988bab9f4d93: Pulling fs layer [2022-09-16T23:57:44.409Z] 1469e6f7b9e6: Pulling fs layer [2022-09-16T23:57:44.409Z] eaf3925da568: Pulling fs layer [2022-09-16T23:57:44.409Z] bab4dde63d76: Pulling fs layer [2022-09-16T23:57:44.409Z] bde34c3a00c8: Pulling fs layer [2022-09-16T23:57:44.409Z] b352a97aabf1: Pulling fs layer [2022-09-16T23:57:44.409Z] 4872d77fe225: Pulling fs layer [2022-09-16T23:57:44.409Z] 5851b861e8e6: Pulling fs layer [2022-09-16T23:57:44.409Z] eaf3925da568: Waiting [2022-09-16T23:57:44.409Z] bde34c3a00c8: Waiting [2022-09-16T23:57:44.409Z] b352a97aabf1: Waiting [2022-09-16T23:57:44.409Z] bab4dde63d76: Waiting [2022-09-16T23:57:44.409Z] 5851b861e8e6: Waiting [2022-09-16T23:57:44.409Z] 1469e6f7b9e6: Waiting [2022-09-16T23:57:44.409Z] 4872d77fe225: Waiting [2022-09-16T23:57:44.409Z] e2be974225ed: Verifying Checksum [2022-09-16T23:57:44.409Z] e2be974225ed: Download complete [2022-09-16T23:57:44.409Z] 988bab9f4d93: Download complete [2022-09-16T23:57:44.671Z] 339a4e72a1f5: Verifying Checksum [2022-09-16T23:57:44.671Z] 339a4e72a1f5: Download complete [2022-09-16T23:57:44.671Z] 1469e6f7b9e6: Verifying Checksum [2022-09-16T23:57:44.671Z] 1469e6f7b9e6: Download complete [2022-09-16T23:57:44.671Z] eaf3925da568: Verifying Checksum [2022-09-16T23:57:44.671Z] eaf3925da568: Download complete [2022-09-16T23:57:44.671Z] bde34c3a00c8: Verifying Checksum [2022-09-16T23:57:44.671Z] bde34c3a00c8: Download complete [2022-09-16T23:57:44.671Z] b352a97aabf1: Verifying Checksum [2022-09-16T23:57:44.671Z] b352a97aabf1: Download complete [2022-09-16T23:57:44.671Z] 4872d77fe225: Download complete [2022-09-16T23:57:44.671Z] 5851b861e8e6: Verifying Checksum [2022-09-16T23:57:44.671Z] 5851b861e8e6: Download complete [2022-09-16T23:57:44.671Z] b85a868b505f: Verifying Checksum [2022-09-16T23:57:44.671Z] b85a868b505f: Download complete [2022-09-16T23:57:44.931Z] bab4dde63d76: Verifying Checksum [2022-09-16T23:57:44.931Z] bab4dde63d76: Download complete [2022-09-16T23:57:46.317Z] b85a868b505f: Pull complete [2022-09-16T23:57:46.317Z] e2be974225ed: Pull complete [2022-09-16T23:57:46.887Z] 339a4e72a1f5: Pull complete [2022-09-16T23:57:46.887Z] 988bab9f4d93: Pull complete [2022-09-16T23:57:47.148Z] 1469e6f7b9e6: Pull complete [2022-09-16T23:57:47.409Z] eaf3925da568: Pull complete [2022-09-16T23:57:49.319Z] bab4dde63d76: Pull complete [2022-09-16T23:57:49.319Z] bde34c3a00c8: Pull complete [2022-09-16T23:57:49.584Z] b352a97aabf1: Pull complete [2022-09-16T23:57:49.584Z] 4872d77fe225: Pull complete [2022-09-16T23:57:49.845Z] 5851b861e8e6: Pull complete [2022-09-16T23:57:49.845Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-16T23:57:49.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-16T23:57:49.845Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T23:57:49.959Z] prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container [2022-09-16T23:57:49.994Z] $ 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-16T23:57:51.494Z] $ docker top 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde -eo pid,comm [2022-09-16T23:57:51.572Z] 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-16T23:57:51.572Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-16T23:57:51.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-16T23:57:51.609Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-16T23:57:51.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-16T23:57:51.748Z] $ docker exec 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent [2022-09-16T23:57:51.878Z] SSH_AUTH_SOCK=/tmp/ssh-qYJqfixPUq8M/agent.32 [2022-09-16T23:57:51.878Z] SSH_AGENT_PID=38 [2022-09-16T23:57:51.886Z] Running ssh-add (command line suppressed) [2022-09-16T23:57:52.003Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6580398853215376358.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_6580398853215376358.key) [2022-09-16T23:57:52.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-16T23:57:52.313Z] + git tag --points-at HEAD [Pipeline] } [2022-09-16T23:57:52.331Z] $ docker exec --env ******** --env ******** 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent -k [2022-09-16T23:57:52.452Z] unset SSH_AUTH_SOCK; [2022-09-16T23:57:52.452Z] unset SSH_AGENT_PID; [2022-09-16T23:57:52.452Z] echo Agent pid 38 killed; [2022-09-16T23:57:52.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-16T23:57:52.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-16T23:57:52.492Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-16T23:57:52.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-16T23:57:52.633Z] $ docker exec 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent [2022-09-16T23:57:52.769Z] SSH_AUTH_SOCK=/tmp/ssh-tjL48csgGQle/agent.71 [2022-09-16T23:57:52.769Z] SSH_AGENT_PID=77 [2022-09-16T23:57:52.776Z] Running ssh-add (command line suppressed) [2022-09-16T23:57:52.891Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5901250207776866007.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_5901250207776866007.key) [2022-09-16T23:57:52.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-16T23:57:53.204Z] + git semver init [2022-09-16T23:57:53.464Z] 2022-09-16 23:57:53,413 [run_init] DEBUG init version:0.0.0 force:False [2022-09-16T23:57:53.464Z] 2022-09-16 23:57:53,413 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-16T23:57:53.464Z] 2022-09-16 23:57:53,414 [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-16T23:57:53.464Z] 2022-09-16 23:57:53,414 [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-16T23:57:54.405Z] 2022-09-16 23:57:54,335 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-16T23:57:54.405Z] 2022-09-16 23:57:54,336 [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-16T23:57:54.405Z] 2022-09-16 23:57:54,336 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-16T23:57:54.405Z] 2022-09-16 23:57:54,340 [execute] INFO git cat-file --batch-check [2022-09-16T23:57:54.405Z] 2022-09-16 23:57:54,341 [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-16T23:57:54.406Z] 2022-09-16 23:57:54,347 [execute] INFO git cat-file --batch [2022-09-16T23:57:54.406Z] 2022-09-16 23:57:54,347 [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-16T23:57:54.406Z] 2022-09-16 23:57:54,354 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-16T23:57:54.406Z] 0.0.0 [Pipeline] } [2022-09-16T23:57:54.415Z] $ docker exec --env ******** --env ******** 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde ssh-agent -k [2022-09-16T23:57:54.539Z] unset SSH_AUTH_SOCK; [2022-09-16T23:57:54.540Z] unset SSH_AGENT_PID; [2022-09-16T23:57:54.540Z] echo Agent pid 77 killed; [2022-09-16T23:57:54.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-16T23:57:54.869Z] + git semver [Pipeline] } [2022-09-16T23:57:55.146Z] $ docker stop --time=1 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde [2022-09-16T23:57:56.457Z] $ docker rm -f 319b81ad05af0635d47504d7216a8ffe747494a6653dc3773a37bd837a069cde [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-16T23:57:56.820Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-16T23:57:57.083Z] Stashed 1 file(s) [Pipeline] echo [2022-09-16T23:57:57.086Z] [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-16T23:57:57.238Z] provisioning config files... [2022-09-16T23:57:57.249Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config2871195634593639064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-16T23:57:57.552Z] ---> docker-login.sh [2022-09-16T23:57:57.552Z] nexus3.edgexfoundry.org:10001 [2022-09-16T23:57:57.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:57.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:57.552Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:57.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:57.552Z] [2022-09-16T23:57:57.552Z] Login Succeeded [2022-09-16T23:57:57.552Z] nexus3.edgexfoundry.org:10002 [2022-09-16T23:57:57.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:57.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:57.814Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:57.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:57.814Z] [2022-09-16T23:57:57.814Z] Login Succeeded [2022-09-16T23:57:57.814Z] nexus3.edgexfoundry.org:10003 [2022-09-16T23:57:57.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:57.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:57.814Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:57.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:57.814Z] [2022-09-16T23:57:57.814Z] Login Succeeded [2022-09-16T23:57:57.814Z] nexus3.edgexfoundry.org:10004 [2022-09-16T23:57:58.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:58.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:58.075Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:58.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:58.075Z] [2022-09-16T23:57:58.075Z] Login Succeeded [2022-09-16T23:57:58.075Z] docker.io [2022-09-16T23:57:58.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-16T23:57:58.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-16T23:57:58.648Z] Configure a credential helper to remove this warning. See [2022-09-16T23:57:58.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-16T23:57:58.648Z] [2022-09-16T23:57:58.648Z] Login Succeeded [2022-09-16T23:57:58.648Z] ---> docker-login.sh ends [Pipeline] } [2022-09-16T23:57:58.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-16T23:57:58.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T23:57:58.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-16T23:57:58.754Z] ========================================================= [2022-09-16T23:57:58.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-16T23:57:58.754Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:57:59.075Z] + 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-16T23:57:59.075Z] Sending build context to Docker daemon 20.7MB [2022-09-16T23:57:59.075Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-16T23:57:59.075Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-16T23:57:59.336Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-16T23:57:59.336Z] 2408cc74d12b: Pulling fs layer [2022-09-16T23:57:59.336Z] ea60b727a1ce: Pulling fs layer [2022-09-16T23:57:59.336Z] 30c4a7721957: Pulling fs layer [2022-09-16T23:57:59.336Z] 370296b7ddb6: Pulling fs layer [2022-09-16T23:57:59.336Z] 7c6cee850709: Pulling fs layer [2022-09-16T23:57:59.336Z] 39a5fcdaea64: Pulling fs layer [2022-09-16T23:57:59.336Z] d94ebbe4e438: Pulling fs layer [2022-09-16T23:57:59.336Z] bcfd1f05c69d: Pulling fs layer [2022-09-16T23:57:59.336Z] 59ccb84bbe0f: Pulling fs layer [2022-09-16T23:57:59.336Z] 370296b7ddb6: Waiting [2022-09-16T23:57:59.336Z] 59ccb84bbe0f: Waiting [2022-09-16T23:57:59.336Z] d94ebbe4e438: Waiting [2022-09-16T23:57:59.336Z] bcfd1f05c69d: Waiting [2022-09-16T23:57:59.336Z] 39a5fcdaea64: Waiting [2022-09-16T23:57:59.336Z] 7c6cee850709: Waiting [2022-09-16T23:57:59.336Z] 30c4a7721957: Verifying Checksum [2022-09-16T23:57:59.336Z] 30c4a7721957: Download complete [2022-09-16T23:57:59.336Z] ea60b727a1ce: Download complete [2022-09-16T23:57:59.336Z] 7c6cee850709: Verifying Checksum [2022-09-16T23:57:59.336Z] 7c6cee850709: Download complete [2022-09-16T23:57:59.336Z] 39a5fcdaea64: Download complete [2022-09-16T23:57:59.336Z] 2408cc74d12b: Verifying Checksum [2022-09-16T23:57:59.336Z] d94ebbe4e438: Download complete [2022-09-16T23:57:59.599Z] 2408cc74d12b: Pull complete [2022-09-16T23:57:59.599Z] ea60b727a1ce: Pull complete [2022-09-16T23:57:59.861Z] 59ccb84bbe0f: Download complete [2022-09-16T23:57:59.861Z] 30c4a7721957: Pull complete [2022-09-16T23:58:00.120Z] bcfd1f05c69d: Verifying Checksum [2022-09-16T23:58:00.120Z] bcfd1f05c69d: Download complete [2022-09-16T23:58:00.120Z] 370296b7ddb6: Verifying Checksum [2022-09-16T23:58:00.120Z] 370296b7ddb6: Download complete [2022-09-16T23:58:05.409Z] 370296b7ddb6: Pull complete [2022-09-16T23:58:05.409Z] 7c6cee850709: Pull complete [2022-09-16T23:58:05.409Z] 39a5fcdaea64: Pull complete [2022-09-16T23:58:05.409Z] d94ebbe4e438: Pull complete [2022-09-16T23:58:07.329Z] bcfd1f05c69d: Pull complete [2022-09-16T23:58:07.901Z] 59ccb84bbe0f: Pull complete [2022-09-16T23:58:07.901Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-16T23:58:07.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-16T23:58:07.901Z] ---> a4fb48ad2a94 [2022-09-16T23:58:07.901Z] Step 3/13 : ARG MAKE="make build" [2022-09-16T23:58:09.819Z] ---> Running in 5d9343a8e2d0 [2022-09-16T23:58:09.819Z] Removing intermediate container 5d9343a8e2d0 [2022-09-16T23:58:09.819Z] ---> 8830e362f97c [2022-09-16T23:58:09.819Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-16T23:58:09.819Z] ---> Running in 47abea94bce7 [2022-09-16T23:58:09.819Z] Removing intermediate container 47abea94bce7 [2022-09-16T23:58:09.819Z] ---> f5fe24226dd2 [2022-09-16T23:58:09.819Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-16T23:58:09.819Z] ---> Running in 2e988531a535 [2022-09-16T23:58:10.079Z] Removing intermediate container 2e988531a535 [2022-09-16T23:58:10.079Z] ---> 8f548d874fe5 [2022-09-16T23:58:10.079Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-16T23:58:10.079Z] ---> Running in cec13e49be46 [2022-09-16T23:58:10.079Z] Removing intermediate container cec13e49be46 [2022-09-16T23:58:10.079Z] ---> 4946a1d59761 [2022-09-16T23:58:10.079Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-16T23:58:10.079Z] ---> Running in d15a1a8cc14c [2022-09-16T23:58:10.653Z] Removing intermediate container d15a1a8cc14c [2022-09-16T23:58:10.653Z] ---> 1085731d8be2 [2022-09-16T23:58:10.653Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-16T23:58:10.915Z] ---> Running in 3266d31fc052 [2022-09-16T23:58:11.176Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-16T23:58:12.120Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-16T23:58:12.197Z] Still waiting to schedule task [2022-09-16T23:58:12.197Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29691’ [2022-09-16T23:58:12.380Z] OK: 211 MiB in 51 packages [2022-09-16T23:58:12.641Z] Removing intermediate container 3266d31fc052 [2022-09-16T23:58:12.641Z] ---> 9d8e7e80c500 [2022-09-16T23:58:12.641Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-16T23:58:12.901Z] ---> Running in 1c8b8b091f67 [2022-09-16T23:58:12.901Z] Removing intermediate container 1c8b8b091f67 [2022-09-16T23:58:12.901Z] ---> 5e5025aa2a8b [2022-09-16T23:58:12.901Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-16T23:58:13.160Z] ---> 43b68ba6ae16 [2022-09-16T23:58:13.160Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-16T23:58:13.160Z] ---> Running in 4cdf3946e6e9 [2022-09-16T23:58:39.789Z] Removing intermediate container 4cdf3946e6e9 [2022-09-16T23:58:39.789Z] ---> 8d80a15e0320 [2022-09-16T23:58:39.789Z] Step 12/13 : COPY . . [2022-09-16T23:58:39.789Z] ---> 667eb50d927c [2022-09-16T23:58:39.789Z] Step 13/13 : RUN ${MAKE} [2022-09-16T23:58:39.789Z] ---> Running in 9ebabb9fff50 [2022-09-16T23:58:39.789Z] noop [2022-09-16T23:58:39.789Z] Removing intermediate container 9ebabb9fff50 [2022-09-16T23:58:39.789Z] ---> 4211dae33454 [2022-09-16T23:58:39.789Z] Successfully built 4211dae33454 [2022-09-16T23:58:39.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:58:40.106Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-16T23:58:40.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T23:58:40.201Z] prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container [2022-09-16T23:58:40.242Z] $ 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-16T23:58:40.666Z] $ docker top b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T23:58:41.033Z] + go version [2022-09-16T23:58:41.033Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-16T23:58:41.043Z] $ docker stop --time=1 b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 [2022-09-16T23:58:42.420Z] $ docker rm -f b985536d1b5c8cd79899d941bf8da2a416839f53ebcb1afd9a624ab0b6363df7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:58:42.849Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-16T23:58:42.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T23:58:42.948Z] prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container [2022-09-16T23:58:43.025Z] $ 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-16T23:58:43.402Z] $ docker top e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-16T23:58:43.775Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-16T23:58:44.071Z] + make test [2022-09-16T23:58:44.071Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-16T23:58:44.330Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-16T23:58:54.316Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-16T23:58:54.886Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.042s coverage: 28.6% of statements [2022-09-16T23:58:54.886Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-16T23:58:58.171Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.769s coverage: 13.8% of statements [2022-09-16T23:59:04.747Z] 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-16T23:59:04.747Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-16T23:59:08.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-16T23:59:08.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-16T23:59:08.039Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-16T23:59:08.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-16T23:59:08.067Z] $ docker stop --time=1 e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 [2022-09-16T23:59:10.007Z] $ docker rm -f e4d3f4d5c9a5723e8e1e3ae511b5d3d76688926e73d131cdd6e1fb35ecf023a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-16T23:59:10.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-16T23:59:10.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-16T23:59:11.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-16T23:59:11.308Z] + ls -al . [2022-09-16T23:59:11.308Z] total 232 [2022-09-16T23:59:11.308Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 16 23:58 . [2022-09-16T23:59:11.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 .. [2022-09-16T23:59:11.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 23:58 .git [2022-09-16T23:59:11.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:57 .github [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 16 23:57 .gitignore [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 16 23:57 .golangci.yml [2022-09-16T23:59:11.308Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 23:57 .semver [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 16 23:57 Attribution.txt [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 16 23:57 CHANGELOG.md [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 16 23:57 Dockerfile [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 23:57 GOVERNANCE.md [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 16 23:57 Jenkinsfile [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 16 23:57 LICENSE [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 16 23:57 Makefile [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 16 23:57 OWNERS.md [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 16 23:57 README.md [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 23:57 VERSION [2022-09-16T23:59:11.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 23:57 bin [2022-09-16T23:59:11.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 16 23:57 cmd [2022-09-16T23:59:11.308Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 16 23:58 coverage.out [2022-09-16T23:59:11.308Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 16 23:57 doc [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 16 23:57 go.mod [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 16 23:57 go.sum [2022-09-16T23:59:11.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 internal [2022-09-16T23:59:11.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 23:57 snap [2022-09-16T23:59:11.308Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 16 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:59:11.624Z] + 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=632eb446cf4f1486b9bf2d8ff92b8671da61fa55 --label arch=amd64 --label version=0.0.0 . [2022-09-16T23:59:11.624Z] Sending build context to Docker daemon 20.78MB [2022-09-16T23:59:11.624Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-16T23:59:11.624Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-16T23:59:11.624Z] ---> 4211dae33454 [2022-09-16T23:59:11.624Z] Step 3/26 : ARG MAKE="make build" [2022-09-16T23:59:11.886Z] ---> Running in d65703edece6 [2022-09-16T23:59:11.886Z] Removing intermediate container d65703edece6 [2022-09-16T23:59:11.886Z] ---> 3c9ce4bbdb8d [2022-09-16T23:59:11.886Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-16T23:59:11.886Z] ---> Running in 12ef18622c17 [2022-09-16T23:59:12.146Z] Removing intermediate container 12ef18622c17 [2022-09-16T23:59:12.146Z] ---> 22f0453c8e28 [2022-09-16T23:59:12.146Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-16T23:59:12.146Z] ---> Running in 12f788a22bed [2022-09-16T23:59:12.146Z] Removing intermediate container 12f788a22bed [2022-09-16T23:59:12.146Z] ---> 4a7b315f8672 [2022-09-16T23:59:12.146Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-16T23:59:12.146Z] ---> Running in 7f1d08b61aef [2022-09-16T23:59:12.405Z] Removing intermediate container 7f1d08b61aef [2022-09-16T23:59:12.405Z] ---> 213c5a7b0317 [2022-09-16T23:59:12.405Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-16T23:59:12.405Z] ---> Running in 43fce284f2b6 [2022-09-16T23:59:12.976Z] Removing intermediate container 43fce284f2b6 [2022-09-16T23:59:12.976Z] ---> 29ad6c0db544 [2022-09-16T23:59:12.976Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-16T23:59:12.976Z] ---> Running in 30ef6ed1cc1b [2022-09-16T23:59:13.236Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-16T23:59:14.179Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-16T23:59:14.439Z] OK: 211 MiB in 51 packages [2022-09-16T23:59:14.700Z] Removing intermediate container 30ef6ed1cc1b [2022-09-16T23:59:14.700Z] ---> 2e0e5d33b044 [2022-09-16T23:59:14.700Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-16T23:59:14.700Z] ---> Running in 43dfd653fbc8 [2022-09-16T23:59:14.700Z] Removing intermediate container 43dfd653fbc8 [2022-09-16T23:59:14.700Z] ---> 307242e40929 [2022-09-16T23:59:14.700Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-16T23:59:14.957Z] ---> b9e8ced27a79 [2022-09-16T23:59:14.958Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-16T23:59:14.958Z] ---> Running in 76875953e3c4 [2022-09-16T23:59:15.892Z] Removing intermediate container 76875953e3c4 [2022-09-16T23:59:15.892Z] ---> 318400deefad [2022-09-16T23:59:15.892Z] Step 12/26 : COPY . . [2022-09-16T23:59:16.463Z] ---> 2afdfd791ad8 [2022-09-16T23:59:16.463Z] Step 13/26 : RUN ${MAKE} [2022-09-16T23:59:16.463Z] ---> Running in 48a9c9d7f143 [2022-09-16T23:59:16.724Z] 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-16T23:59:38.668Z] Removing intermediate container 48a9c9d7f143 [2022-09-16T23:59:38.668Z] ---> 48abd0e39122 [2022-09-16T23:59:38.668Z] Step 14/26 : FROM alpine:3.16 [2022-09-16T23:59:38.668Z] 3.16: Pulling from library/alpine [2022-09-16T23:59:38.668Z] 213ec9aee27d: Pulling fs layer [2022-09-16T23:59:38.668Z] 213ec9aee27d: Verifying Checksum [2022-09-16T23:59:38.668Z] 213ec9aee27d: Download complete [2022-09-16T23:59:38.668Z] 213ec9aee27d: Pull complete [2022-09-16T23:59:38.668Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-16T23:59:38.668Z] Status: Downloaded newer image for alpine:3.16 [2022-09-16T23:59:38.668Z] ---> 9c6f07244728 [2022-09-16T23:59:38.668Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-16T23:59:38.668Z] ---> Running in 351540364e80 [2022-09-16T23:59:38.668Z] Removing intermediate container 351540364e80 [2022-09-16T23:59:38.668Z] ---> 8fbf50f6a19d [2022-09-16T23:59:38.668Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-16T23:59:38.668Z] ---> Running in 4342fa058f2d [2022-09-16T23:59:38.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-16T23:59:38.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-16T23:59:38.668Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-16T23:59:38.668Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-16T23:59:38.668Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-16T23:59:38.668Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-16T23:59:38.668Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-16T23:59:38.668Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-16T23:59:38.668Z] Executing busybox-1.35.0-r17.trigger [2022-09-16T23:59:38.668Z] OK: 8 MiB in 20 packages [2022-09-16T23:59:38.668Z] Removing intermediate container 4342fa058f2d [2022-09-16T23:59:38.668Z] ---> bfa1e4fd4dee [2022-09-16T23:59:38.668Z] Step 17/26 : WORKDIR / [2022-09-16T23:59:38.668Z] ---> Running in caf27e85697b [2022-09-16T23:59:38.927Z] Removing intermediate container caf27e85697b [2022-09-16T23:59:38.927Z] ---> f5dfa481a8fd [2022-09-16T23:59:38.927Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-16T23:59:39.499Z] ---> e6ed1de84237 [2022-09-16T23:59:39.499Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-16T23:59:39.499Z] ---> 390b4c6f93e7 [2022-09-16T23:59:39.499Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-16T23:59:39.759Z] ---> 674cb7d658c9 [2022-09-16T23:59:39.760Z] Step 21/26 : EXPOSE 59984 [2022-09-16T23:59:39.760Z] ---> Running in fd47ab7ac4ff [2022-09-16T23:59:39.760Z] Removing intermediate container fd47ab7ac4ff [2022-09-16T23:59:39.760Z] ---> ea225d39e61a [2022-09-16T23:59:39.760Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-16T23:59:39.760Z] ---> Running in b04ee64ca69f [2022-09-16T23:59:40.019Z] Removing intermediate container b04ee64ca69f [2022-09-16T23:59:40.019Z] ---> 3b9ce2cf814e [2022-09-16T23:59:40.019Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-16T23:59:40.019Z] ---> Running in 7feb4bad8ed0 [2022-09-16T23:59:40.019Z] Removing intermediate container 7feb4bad8ed0 [2022-09-16T23:59:40.019Z] ---> 283d01b8eac9 [2022-09-16T23:59:40.019Z] Step 24/26 : LABEL arch=amd64 [2022-09-16T23:59:40.019Z] ---> Running in 41cee04eeae7 [2022-09-16T23:59:40.280Z] Removing intermediate container 41cee04eeae7 [2022-09-16T23:59:40.281Z] ---> a84a86da7b74 [2022-09-16T23:59:40.281Z] Step 25/26 : LABEL git_sha=632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [2022-09-16T23:59:40.281Z] ---> Running in 5cbc453c589d [2022-09-16T23:59:40.281Z] Removing intermediate container 5cbc453c589d [2022-09-16T23:59:40.281Z] ---> a4244395d343 [2022-09-16T23:59:40.281Z] Step 26/26 : LABEL version=0.0.0 [2022-09-16T23:59:40.281Z] ---> Running in 00130c2148e2 [2022-09-16T23:59:40.541Z] Removing intermediate container 00130c2148e2 [2022-09-16T23:59:40.541Z] ---> e75737ac6d41 [2022-09-16T23:59:40.541Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-16T23:59:40.541Z] Successfully built e75737ac6d41 [2022-09-16T23:59:40.541Z] 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-16T23:59:41.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T23:59:41.017Z] [2022-09-16T23:59:41.017Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-16T23:59:41.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T23:59:41.315Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-16T23:59:41.315Z] 5eb5b503b376: Pulling fs layer [2022-09-16T23:59:41.315Z] 5c69ac0246d0: Pulling fs layer [2022-09-16T23:59:41.315Z] ec43610c2a17: Pulling fs layer [2022-09-16T23:59:41.315Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-16T23:59:41.315Z] 33b1e0a273af: Pulling fs layer [2022-09-16T23:59:41.315Z] 3a2ae6a8a46f: Waiting [2022-09-16T23:59:41.315Z] 33b1e0a273af: Waiting [2022-09-16T23:59:41.315Z] 5d3b04190fa2: Pulling fs layer [2022-09-16T23:59:41.315Z] 2f39f015ded8: Pulling fs layer [2022-09-16T23:59:41.315Z] 2f39f015ded8: Waiting [2022-09-16T23:59:41.315Z] 5d3b04190fa2: Waiting [2022-09-16T23:59:41.315Z] 5c69ac0246d0: Verifying Checksum [2022-09-16T23:59:41.315Z] 5c69ac0246d0: Download complete [2022-09-16T23:59:41.315Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-16T23:59:41.315Z] 3a2ae6a8a46f: Download complete [2022-09-16T23:59:41.315Z] 33b1e0a273af: Verifying Checksum [2022-09-16T23:59:41.315Z] 33b1e0a273af: Download complete [2022-09-16T23:59:41.574Z] ec43610c2a17: Verifying Checksum [2022-09-16T23:59:41.574Z] ec43610c2a17: Download complete [2022-09-16T23:59:41.574Z] 5d3b04190fa2: Download complete [2022-09-16T23:59:41.574Z] 5eb5b503b376: Verifying Checksum [2022-09-16T23:59:41.574Z] 5eb5b503b376: Download complete [2022-09-16T23:59:42.142Z] 2f39f015ded8: Download complete [2022-09-16T23:59:42.709Z] 5eb5b503b376: Pull complete [2022-09-16T23:59:42.968Z] 5c69ac0246d0: Pull complete [2022-09-16T23:59:43.228Z] ec43610c2a17: Pull complete [2022-09-16T23:59:43.487Z] 3a2ae6a8a46f: Pull complete [2022-09-16T23:59:43.487Z] 33b1e0a273af: Pull complete [2022-09-16T23:59:43.745Z] 5d3b04190fa2: Pull complete [2022-09-16T23:59:47.930Z] 2f39f015ded8: Pull complete [2022-09-16T23:59:47.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-16T23:59:47.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-16T23:59:47.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-16T23:59:48.021Z] prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container [2022-09-16T23:59:48.052Z] $ 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-16T23:59:49.883Z] $ docker top 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-16T23:59:50.294Z] ---> job-cost.sh [2022-09-16T23:59:50.294Z] lf-activate-venv: SKIPPING [2022-09-16T23:59:50.294Z] INFO: No Stack... [2022-09-16T23:59:50.553Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-16T23:59:51.124Z] INFO: Archiving Costs [Pipeline] sh [2022-09-16T23:59:51.422Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [2022-09-16T23:59:51.422Z] + cut -d, -f6 [Pipeline] lock [2022-09-16T23:59:51.438Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [2022-09-16T23:59:51.444Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] did not exist. Created. [2022-09-16T23:59:51.444Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-16T23:59:51.746Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-16T23:59:51.770Z] Stashed 1 file(s) [Pipeline] } [2022-09-16T23:59:51.776Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-16T23:59:51.796Z] $ docker stop --time=1 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 [2022-09-16T23:59:52.961Z] $ docker rm -f 45b3b677ad37f5031ea66905e8afe6af34d2122d718bed1b3d25eb33459ff1b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-17T00:01:47.576Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29695 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-17T00:01:47.591Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-09-17T00:01:47.633Z] Selected Git installation does not exist. Using Default [2022-09-17T00:01:47.633Z] The recommended git tool is: NONE [2022-09-17T00:01:53.911Z] using credential edgex-jenkins-ssh [2022-09-17T00:01:53.932Z] Cloning the remote Git repository [2022-09-17T00:01:53.987Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T00:01:54.066Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-09-17T00:01:54.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T00:01:54.168Z] > git --version # timeout=10 [2022-09-17T00:01:54.187Z] > git --version # 'git version 2.25.1' [2022-09-17T00:01:54.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T00:01:54.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-17T00:01:56.251Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 1f6501c6a9662041fd385a15268cf9013fc634d4 [2022-09-17T00:01:55.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-17T00:01:55.464Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-17T00:01:55.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-17T00:01:55.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-17T00:01:55.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T00:01:55.633Z] > 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-17T00:01:56.267Z] > git config core.sparsecheckout # timeout=10 [2022-09-17T00:01:56.295Z] > git checkout -f 1f6501c6a9662041fd385a15268cf9013fc634d4 # timeout=10 [2022-09-17T00:01:56.507Z] > git remote # timeout=10 [2022-09-17T00:01:56.524Z] > git config --get remote.origin.url # timeout=10 [2022-09-17T00:01:56.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-17T00:01:56.548Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-17T00:01:56.938Z] Merge succeeded, producing ed29f599da865107c070fe9ddbfee24c8b64b8a5 [2022-09-17T00:01:56.938Z] Checking out Revision ed29f599da865107c070fe9ddbfee24c8b64b8a5 (PR-161) [2022-09-17T00:01:56.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-17T00:01:56.941Z] > git config core.sparsecheckout # timeout=10 [2022-09-17T00:01:56.968Z] > git checkout -f ed29f599da865107c070fe9ddbfee24c8b64b8a5 # timeout=10 [2022-09-17T00:02:01.379Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-17T00:02:01.401Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-17T00:02:02.326Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-17T00:02:02.326Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-17T00:02:02.326Z] Dload Upload Total Spent Left Speed [2022-09-17T00:02:02.326Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-09-17T00:02:01.383Z] > git rev-list --no-walk ba68ce7de06218551ad6889b53b44f342c4e0825 # timeout=10 [2022-09-17T00:02:02.980Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-17T00:02:03.316Z] + sudo tee /etc/docker/daemon.new [2022-09-17T00:02:03.316Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-17T00:02:03.316Z] { [2022-09-17T00:02:03.316Z] "registry-mirrors": [ [2022-09-17T00:02:03.316Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-17T00:02:03.316Z] ], [2022-09-17T00:02:03.316Z] "bip": "10.250.0.254/24", [2022-09-17T00:02:03.316Z] "hosts": [ [2022-09-17T00:02:03.316Z] "tcp://0.0.0.0:5555", [2022-09-17T00:02:03.316Z] "unix:///var/run/docker.sock" [2022-09-17T00:02:03.316Z] ], [2022-09-17T00:02:03.316Z] "mtu": 1458, [2022-09-17T00:02:03.316Z] "selinux-enabled": true, [2022-09-17T00:02:03.316Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-17T00:02:03.316Z] } [Pipeline] sh [2022-09-17T00:02:03.663Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-17T00:02:03.995Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T00:02:22.327Z] provisioning config files... [2022-09-17T00:02:22.351Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7465092359411576802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:02:22.704Z] ---> docker-login.sh [2022-09-17T00:02:22.705Z] nexus3.edgexfoundry.org:10001 [2022-09-17T00:02:23.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T00:02:23.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T00:02:23.571Z] Configure a credential helper to remove this warning. See [2022-09-17T00:02:23.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T00:02:23.571Z] [2022-09-17T00:02:23.571Z] Login Succeeded [2022-09-17T00:02:23.571Z] nexus3.edgexfoundry.org:10002 [2022-09-17T00:02:23.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T00:02:23.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T00:02:23.847Z] Configure a credential helper to remove this warning. See [2022-09-17T00:02:23.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T00:02:23.847Z] [2022-09-17T00:02:23.847Z] Login Succeeded [2022-09-17T00:02:23.847Z] nexus3.edgexfoundry.org:10003 [2022-09-17T00:02:24.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T00:02:24.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T00:02:24.445Z] Configure a credential helper to remove this warning. See [2022-09-17T00:02:24.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T00:02:24.445Z] [2022-09-17T00:02:24.445Z] Login Succeeded [2022-09-17T00:02:24.445Z] nexus3.edgexfoundry.org:10004 [2022-09-17T00:02:24.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T00:02:24.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T00:02:24.991Z] Configure a credential helper to remove this warning. See [2022-09-17T00:02:24.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T00:02:24.991Z] [2022-09-17T00:02:24.991Z] Login Succeeded [2022-09-17T00:02:24.992Z] docker.io [2022-09-17T00:02:25.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-17T00:02:25.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-17T00:02:25.537Z] Configure a credential helper to remove this warning. See [2022-09-17T00:02:25.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-17T00:02:25.537Z] [2022-09-17T00:02:25.537Z] Login Succeeded [2022-09-17T00:02:25.537Z] ---> docker-login.sh ends [Pipeline] } [2022-09-17T00:02:25.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-17T00:02:26.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T00:02:26.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-17T00:02:26.090Z] ========================================================= [2022-09-17T00:02:26.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-17T00:02:26.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:02:26.463Z] + 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-17T00:02:27.058Z] Sending build context to Docker daemon 14.18MB [2022-09-17T00:02:27.058Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T00:02:27.058Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-17T00:02:27.058Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-17T00:02:27.058Z] b3c136eddcbf: Pulling fs layer [2022-09-17T00:02:27.058Z] c0a3192eca97: Pulling fs layer [2022-09-17T00:02:27.058Z] a050256f5b6f: Pulling fs layer [2022-09-17T00:02:27.058Z] 656be50a0ddc: Pulling fs layer [2022-09-17T00:02:27.058Z] 2bbca73fdf42: Pulling fs layer [2022-09-17T00:02:27.058Z] 46d945488cbd: Pulling fs layer [2022-09-17T00:02:27.058Z] 8a5474983e97: Pulling fs layer [2022-09-17T00:02:27.058Z] 329c88fbcd65: Pulling fs layer [2022-09-17T00:02:27.058Z] 656be50a0ddc: Waiting [2022-09-17T00:02:27.058Z] 2bbca73fdf42: Waiting [2022-09-17T00:02:27.058Z] 46d945488cbd: Waiting [2022-09-17T00:02:27.058Z] 8a5474983e97: Waiting [2022-09-17T00:02:27.058Z] 329c88fbcd65: Waiting [2022-09-17T00:02:27.334Z] a050256f5b6f: Verifying Checksum [2022-09-17T00:02:27.334Z] a050256f5b6f: Download complete [2022-09-17T00:02:27.334Z] c0a3192eca97: Verifying Checksum [2022-09-17T00:02:27.334Z] c0a3192eca97: Download complete [2022-09-17T00:02:27.334Z] 2bbca73fdf42: Download complete [2022-09-17T00:02:27.334Z] 46d945488cbd: Verifying Checksum [2022-09-17T00:02:27.334Z] 46d945488cbd: Download complete [2022-09-17T00:02:27.334Z] b3c136eddcbf: Verifying Checksum [2022-09-17T00:02:28.329Z] b3c136eddcbf: Pull complete [2022-09-17T00:02:28.329Z] 329c88fbcd65: Verifying Checksum [2022-09-17T00:02:28.329Z] 329c88fbcd65: Download complete [2022-09-17T00:02:28.928Z] c0a3192eca97: Pull complete [2022-09-17T00:02:28.928Z] a050256f5b6f: Pull complete [2022-09-17T00:02:29.539Z] 8a5474983e97: Verifying Checksum [2022-09-17T00:02:29.539Z] 8a5474983e97: Download complete [2022-09-17T00:02:30.135Z] 656be50a0ddc: Verifying Checksum [2022-09-17T00:02:30.135Z] 656be50a0ddc: Download complete [2022-09-17T00:02:42.534Z] 656be50a0ddc: Pull complete [2022-09-17T00:02:42.534Z] 2bbca73fdf42: Pull complete [2022-09-17T00:02:42.808Z] 46d945488cbd: Pull complete [2022-09-17T00:02:49.535Z] 8a5474983e97: Pull complete [2022-09-17T00:02:50.981Z] 329c88fbcd65: Pull complete [2022-09-17T00:02:50.981Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-17T00:02:50.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-17T00:02:50.981Z] ---> ff4287adb874 [2022-09-17T00:02:50.981Z] Step 3/13 : ARG MAKE="make build" [2022-09-17T00:02:52.960Z] ---> Running in 76ffb8f8749c [2022-09-17T00:02:53.562Z] Removing intermediate container 76ffb8f8749c [2022-09-17T00:02:53.562Z] ---> 29c97a446153 [2022-09-17T00:02:53.562Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T00:02:53.562Z] ---> Running in ea4ba4a8c063 [2022-09-17T00:02:53.839Z] Removing intermediate container ea4ba4a8c063 [2022-09-17T00:02:53.839Z] ---> 3812719483e7 [2022-09-17T00:02:53.839Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T00:02:53.839Z] ---> Running in fb63882a25b1 [2022-09-17T00:02:54.443Z] Removing intermediate container fb63882a25b1 [2022-09-17T00:02:54.443Z] ---> 32f305c8f90b [2022-09-17T00:02:54.443Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-17T00:02:54.443Z] ---> Running in 3dfdfb81bd01 [2022-09-17T00:02:55.876Z] Removing intermediate container 3dfdfb81bd01 [2022-09-17T00:02:55.876Z] ---> 8caaf1ade934 [2022-09-17T00:02:55.876Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T00:02:55.876Z] ---> Running in fb0c1903e6ac [2022-09-17T00:02:57.856Z] Removing intermediate container fb0c1903e6ac [2022-09-17T00:02:57.856Z] ---> 20386a5b2524 [2022-09-17T00:02:57.856Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T00:02:57.856Z] ---> Running in 3f611dd4f77a [2022-09-17T00:02:58.840Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T00:02:59.438Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T00:03:00.419Z] OK: 221 MiB in 51 packages [2022-09-17T00:03:01.413Z] Removing intermediate container 3f611dd4f77a [2022-09-17T00:03:01.413Z] ---> 1796b22fc5aa [2022-09-17T00:03:01.413Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-17T00:03:01.413Z] ---> Running in 9ee1fbace025 [2022-09-17T00:03:01.413Z] Removing intermediate container 9ee1fbace025 [2022-09-17T00:03:01.413Z] ---> 4f531ff90ac7 [2022-09-17T00:03:01.413Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-17T00:03:02.021Z] ---> df89ccb6cb09 [2022-09-17T00:03:02.021Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T00:03:02.297Z] ---> Running in 33a7dc913d46 [2022-09-17T00:03:58.866Z] Removing intermediate container 33a7dc913d46 [2022-09-17T00:03:58.866Z] ---> 39deaff3f2e8 [2022-09-17T00:03:58.866Z] Step 12/13 : COPY . . [2022-09-17T00:03:58.866Z] ---> 1c0be9013053 [2022-09-17T00:03:58.866Z] Step 13/13 : RUN ${MAKE} [2022-09-17T00:03:58.866Z] ---> Running in 59948d285cea [2022-09-17T00:03:58.866Z] noop [2022-09-17T00:03:58.866Z] Removing intermediate container 59948d285cea [2022-09-17T00:03:58.866Z] ---> c84c30757a6e [2022-09-17T00:03:58.866Z] Successfully built c84c30757a6e [2022-09-17T00:03:58.866Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:03:59.232Z] + docker inspect -f . ci-base-image-arm64 [2022-09-17T00:03:59.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T00:03:59.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container [2022-09-17T00:03:59.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-17T00:04:00.850Z] $ docker top ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T00:04:01.764Z] + go version [2022-09-17T00:04:01.764Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-17T00:04:01.794Z] $ docker stop --time=1 ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 [2022-09-17T00:04:03.490Z] $ docker rm -f ead4df4d9c273053185971850b62804e52b4d7768a074678ecc68dd16deb9800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:04:04.123Z] + docker inspect -f . ci-base-image-arm64 [2022-09-17T00:04:04.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T00:04:04.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container [2022-09-17T00:04:04.466Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-17T00:04:05.755Z] $ docker top 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T00:04:06.656Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-09-17T00:04:07.331Z] + make test [2022-09-17T00:04:07.331Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-17T00:04:09.314Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-17T00:05:31.174Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-17T00:05:39.485Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.184s coverage: 28.6% of statements [2022-09-17T00:05:39.485Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-17T00:06:01.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.322s coverage: 13.8% of statements [2022-09-17T00:06:01.659Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-17T00:06:01.659Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-17T00:06:23.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-17T00:06:23.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-17T00:06:23.862Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-17T00:06:23.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-17T00:06:23.904Z] $ docker stop --time=1 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c [2022-09-17T00:06:25.644Z] $ docker rm -f 55e4afb96a58a0e5f6425ee3c13895b8e4b43b4ce422f19c73826e2079c1216c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-17T00:06:26.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-17T00:06:26.671Z] Warning: overwriting stash ‘coverage-report’ [2022-09-17T00:06:27.219Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-17T00:06:27.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-17T00:06:27.945Z] + ls -al . [2022-09-17T00:06:27.945Z] total 228 [2022-09-17T00:06:27.945Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 17 00:04 . [2022-09-17T00:06:27.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 .. [2022-09-17T00:06:27.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 00:02 .git [2022-09-17T00:06:27.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 00:01 .github [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 17 00:01 .gitignore [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 17 00:01 .golangci.yml [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 17 00:01 Attribution.txt [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 17 00:01 CHANGELOG.md [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 17 00:01 Dockerfile [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 17 00:01 GOVERNANCE.md [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 17 00:01 Jenkinsfile [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 17 00:01 LICENSE [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 17 00:01 Makefile [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 17 00:01 OWNERS.md [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 17 00:01 README.md [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 23:57 VERSION [2022-09-17T00:06:27.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 00:01 bin [2022-09-17T00:06:27.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 00:01 cmd [2022-09-17T00:06:27.945Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 17 00:05 coverage.out [2022-09-17T00:06:27.945Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 17 00:01 doc [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 17 00:01 go.mod [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 17 00:01 go.sum [2022-09-17T00:06:27.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 internal [2022-09-17T00:06:27.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 00:01 snap [2022-09-17T00:06:27.945Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 17 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:06:28.306Z] + 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=ed29f599da865107c070fe9ddbfee24c8b64b8a5 --label arch=arm64 --label version=0.0.0 . [2022-09-17T00:06:28.897Z] Sending build context to Docker daemon 14.26MB [2022-09-17T00:06:28.897Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-17T00:06:28.897Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-17T00:06:28.897Z] ---> c84c30757a6e [2022-09-17T00:06:28.897Z] Step 3/26 : ARG MAKE="make build" [2022-09-17T00:06:28.897Z] ---> Running in ea615f19dcaf [2022-09-17T00:06:29.494Z] Removing intermediate container ea615f19dcaf [2022-09-17T00:06:29.494Z] ---> eaf8f8761f82 [2022-09-17T00:06:29.494Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-17T00:06:29.494Z] ---> Running in 0ed17cf6ac85 [2022-09-17T00:06:29.770Z] Removing intermediate container 0ed17cf6ac85 [2022-09-17T00:06:29.770Z] ---> 37b381ffc4d6 [2022-09-17T00:06:29.770Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-17T00:06:29.770Z] ---> Running in 27c561962365 [2022-09-17T00:06:30.045Z] Removing intermediate container 27c561962365 [2022-09-17T00:06:30.045Z] ---> 978a8a4b277c [2022-09-17T00:06:30.045Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-17T00:06:30.331Z] ---> Running in 8922be57d32f [2022-09-17T00:06:30.609Z] Removing intermediate container 8922be57d32f [2022-09-17T00:06:30.609Z] ---> 9daf513900cf [2022-09-17T00:06:30.609Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-17T00:06:30.609Z] ---> Running in c63f208f44f3 [2022-09-17T00:06:32.597Z] Removing intermediate container c63f208f44f3 [2022-09-17T00:06:32.597Z] ---> e3d7356abdac [2022-09-17T00:06:32.597Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-17T00:06:32.597Z] ---> Running in 7d28fad188aa [2022-09-17T00:06:33.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T00:06:34.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T00:06:35.572Z] OK: 221 MiB in 51 packages [2022-09-17T00:06:36.585Z] Removing intermediate container 7d28fad188aa [2022-09-17T00:06:36.585Z] ---> 2a80b4aa9c03 [2022-09-17T00:06:36.585Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-17T00:06:36.585Z] ---> Running in 2ce2076f8c51 [2022-09-17T00:06:36.861Z] Removing intermediate container 2ce2076f8c51 [2022-09-17T00:06:36.861Z] ---> 966c1bc05ca3 [2022-09-17T00:06:36.861Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-17T00:06:37.460Z] ---> 48e617b2e684 [2022-09-17T00:06:37.460Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-17T00:06:37.460Z] ---> Running in af7a637f9e91 [2022-09-17T00:06:39.445Z] Removing intermediate container af7a637f9e91 [2022-09-17T00:06:39.445Z] ---> bd367b2a45a0 [2022-09-17T00:06:39.445Z] Step 12/26 : COPY . . [2022-09-17T00:06:41.426Z] ---> 592c277b7b52 [2022-09-17T00:06:41.426Z] Step 13/26 : RUN ${MAKE} [2022-09-17T00:06:41.426Z] ---> Running in 8bc905fa2164 [2022-09-17T00:06:42.414Z] 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-17T00:09:04.313Z] Removing intermediate container 8bc905fa2164 [2022-09-17T00:09:04.313Z] ---> 82dd7b85c311 [2022-09-17T00:09:04.313Z] Step 14/26 : FROM alpine:3.16 [2022-09-17T00:09:04.313Z] 3.16: Pulling from library/alpine [2022-09-17T00:09:04.313Z] 9b18e9b68314: Pulling fs layer [2022-09-17T00:09:04.313Z] 9b18e9b68314: Verifying Checksum [2022-09-17T00:09:04.313Z] 9b18e9b68314: Download complete [2022-09-17T00:09:04.313Z] 9b18e9b68314: Pull complete [2022-09-17T00:09:04.313Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-17T00:09:04.313Z] Status: Downloaded newer image for alpine:3.16 [2022-09-17T00:09:04.313Z] ---> a6215f271958 [2022-09-17T00:09:04.313Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-17T00:09:04.313Z] ---> Running in efe554d021f9 [2022-09-17T00:09:04.313Z] Removing intermediate container efe554d021f9 [2022-09-17T00:09:04.313Z] ---> f034aebf07c8 [2022-09-17T00:09:04.313Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-17T00:09:04.313Z] ---> Running in 16b5f43f0364 [2022-09-17T00:09:04.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-17T00:09:04.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-17T00:09:05.572Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-17T00:09:05.572Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-17T00:09:05.572Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-17T00:09:05.572Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-17T00:09:05.572Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-17T00:09:05.572Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-17T00:09:05.572Z] Executing busybox-1.35.0-r17.trigger [2022-09-17T00:09:05.572Z] OK: 8 MiB in 20 packages [2022-09-17T00:09:06.567Z] Removing intermediate container 16b5f43f0364 [2022-09-17T00:09:06.567Z] ---> 0eba8bacb1c7 [2022-09-17T00:09:06.567Z] Step 17/26 : WORKDIR / [2022-09-17T00:09:06.567Z] ---> Running in ad34fbca9ff0 [2022-09-17T00:09:06.840Z] Removing intermediate container ad34fbca9ff0 [2022-09-17T00:09:06.840Z] ---> a31553eeb2f4 [2022-09-17T00:09:06.840Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-17T00:09:08.285Z] ---> 669439016f3f [2022-09-17T00:09:08.285Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-17T00:09:08.883Z] ---> ff5f24335204 [2022-09-17T00:09:08.883Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-17T00:09:09.482Z] ---> 0c75a0883246 [2022-09-17T00:09:09.482Z] Step 21/26 : EXPOSE 59984 [2022-09-17T00:09:09.482Z] ---> Running in 742cad491bcc [2022-09-17T00:09:09.758Z] Removing intermediate container 742cad491bcc [2022-09-17T00:09:09.758Z] ---> b0f9b4f81bb4 [2022-09-17T00:09:09.758Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-17T00:09:09.758Z] ---> Running in 1a05800b16cd [2022-09-17T00:09:10.037Z] Removing intermediate container 1a05800b16cd [2022-09-17T00:09:10.037Z] ---> d2e9b5d83623 [2022-09-17T00:09:10.037Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-17T00:09:10.314Z] ---> Running in 84a35715a8ac [2022-09-17T00:09:10.591Z] Removing intermediate container 84a35715a8ac [2022-09-17T00:09:10.591Z] ---> cea9f04ff8e9 [2022-09-17T00:09:10.591Z] Step 24/26 : LABEL arch=arm64 [2022-09-17T00:09:10.591Z] ---> Running in ae84189f98da [2022-09-17T00:09:10.868Z] Removing intermediate container ae84189f98da [2022-09-17T00:09:10.868Z] ---> c0629ea1cbec [2022-09-17T00:09:10.868Z] Step 25/26 : LABEL git_sha=ed29f599da865107c070fe9ddbfee24c8b64b8a5 [2022-09-17T00:09:10.868Z] ---> Running in 85f0ef6e4e59 [2022-09-17T00:09:11.466Z] Removing intermediate container 85f0ef6e4e59 [2022-09-17T00:09:11.466Z] ---> c5acdadbe3e7 [2022-09-17T00:09:11.466Z] Step 26/26 : LABEL version=0.0.0 [2022-09-17T00:09:11.466Z] ---> Running in 3dc2a9934355 [2022-09-17T00:09:11.739Z] Removing intermediate container 3dc2a9934355 [2022-09-17T00:09:11.739Z] ---> 0789158673c6 [2022-09-17T00:09:11.739Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-17T00:09:11.739Z] Successfully built 0789158673c6 [2022-09-17T00:09:11.739Z] 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-17T00:09:12.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T00:09:12.182Z] [2022-09-17T00:09:12.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:09:12.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T00:09:12.821Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-17T00:09:12.821Z] 8998bd30e6a1: Pulling fs layer [2022-09-17T00:09:12.821Z] 04944245beec: Pulling fs layer [2022-09-17T00:09:12.821Z] 699f458cf7ca: Pulling fs layer [2022-09-17T00:09:12.821Z] 765212b225bb: Pulling fs layer [2022-09-17T00:09:12.821Z] f23df028b6ca: Pulling fs layer [2022-09-17T00:09:12.821Z] d65c8cfc05b1: Pulling fs layer [2022-09-17T00:09:12.821Z] 2437ff75d9bd: Pulling fs layer [2022-09-17T00:09:12.821Z] f23df028b6ca: Waiting [2022-09-17T00:09:12.821Z] d65c8cfc05b1: Waiting [2022-09-17T00:09:12.821Z] 2437ff75d9bd: Waiting [2022-09-17T00:09:12.821Z] 765212b225bb: Waiting [2022-09-17T00:09:12.821Z] 04944245beec: Verifying Checksum [2022-09-17T00:09:12.821Z] 04944245beec: Download complete [2022-09-17T00:09:12.821Z] 765212b225bb: Verifying Checksum [2022-09-17T00:09:12.821Z] 765212b225bb: Download complete [2022-09-17T00:09:12.821Z] f23df028b6ca: Verifying Checksum [2022-09-17T00:09:12.821Z] f23df028b6ca: Download complete [2022-09-17T00:09:13.097Z] d65c8cfc05b1: Verifying Checksum [2022-09-17T00:09:13.097Z] d65c8cfc05b1: Download complete [2022-09-17T00:09:13.097Z] 699f458cf7ca: Verifying Checksum [2022-09-17T00:09:13.097Z] 699f458cf7ca: Download complete [2022-09-17T00:09:13.373Z] 8998bd30e6a1: Verifying Checksum [2022-09-17T00:09:13.373Z] 8998bd30e6a1: Download complete [2022-09-17T00:09:16.008Z] 2437ff75d9bd: Verifying Checksum [2022-09-17T00:09:16.009Z] 2437ff75d9bd: Download complete [2022-09-17T00:09:17.994Z] 8998bd30e6a1: Pull complete [2022-09-17T00:09:18.267Z] 04944245beec: Pull complete [2022-09-17T00:09:19.705Z] 699f458cf7ca: Pull complete [2022-09-17T00:09:20.304Z] 765212b225bb: Pull complete [2022-09-17T00:09:20.902Z] f23df028b6ca: Pull complete [2022-09-17T00:09:21.177Z] d65c8cfc05b1: Pull complete [2022-09-17T00:09:36.255Z] 2437ff75d9bd: Pull complete [2022-09-17T00:09:36.255Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-17T00:09:36.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-17T00:09:36.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T00:09:36.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-29695 does not seem to be running inside a container [2022-09-17T00:09:36.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-17T00:09:39.988Z] $ docker top d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:40.902Z] ---> job-cost.sh [2022-09-17T00:09:40.902Z] lf-activate-venv: SKIPPING [2022-09-17T00:09:40.902Z] INFO: No Stack... [2022-09-17T00:09:41.500Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-17T00:09:42.095Z] INFO: Archiving Costs [Pipeline] sh [2022-09-17T00:09:42.763Z] + + cut -d, -f6cat [2022-09-17T00:09:42.763Z] /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-09-17T00:09:42.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [2022-09-17T00:09:42.839Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] did not exist. Created. [2022-09-17T00:09:42.839Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-17T00:09:43.522Z] /w/workspace/device-onvif-camera/2@tmp/durable-a82f4956/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-17T00:09:44.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-17T00:09:44.252Z] Warning: overwriting stash ‘stack-cost’ [2022-09-17T00:09:44.312Z] Stashed 1 file(s) [Pipeline] } [2022-09-17T00:09:44.326Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-17T00:09:44.358Z] $ docker stop --time=1 d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 [2022-09-17T00:09:45.863Z] $ docker rm -f d7ce3ede4b8097fbcc63fd2829465e6eb27329e06d60de617f2aec878248ee33 [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-17T00:09:46.394Z] provisioning config files... [2022-09-17T00:09:46.404Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config8282082086075845588tmp [Pipeline] { [Pipeline] sh [2022-09-17T00:09:46.701Z] + set +x [2022-09-17T00:09:46.701Z] + curl -s https://codecov.io/bash [2022-09-17T00:09:46.701Z] + bash -s -- [2022-09-17T00:09:46.701Z] [2022-09-17T00:09:46.701Z] _____ _ [2022-09-17T00:09:46.701Z] / ____| | | [2022-09-17T00:09:46.701Z] | | ___ __| | ___ ___ _____ __ [2022-09-17T00:09:46.701Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-17T00:09:46.701Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-17T00:09:46.701Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-17T00:09:46.701Z] Bash-1.0.6 [2022-09-17T00:09:46.701Z] [2022-09-17T00:09:46.701Z] [2022-09-17T00:09:46.701Z] ==> git version 2.25.1 found [2022-09-17T00:09:46.701Z] ==> 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-17T00:09:46.701Z] Release-Date: 2020-01-08 [2022-09-17T00:09:46.701Z] 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-17T00:09:46.701Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-17T00:09:46.701Z] ==> Jenkins CI detected. [2022-09-17T00:09:46.701Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-17T00:09:46.701Z] project root: . [2022-09-17T00:09:46.701Z] --> token set from env [2022-09-17T00:09:46.701Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-17T00:09:46.701Z] ==> Running gcov in . (disable via -X gcov) [2022-09-17T00:09:46.701Z] ==> Python coveragepy not found [2022-09-17T00:09:46.701Z] ==> Searching for coverage reports in: [2022-09-17T00:09:46.701Z] + . [2022-09-17T00:09:46.701Z] -> Found 1 reports [2022-09-17T00:09:46.701Z] ==> Detecting git/mercurial file structure [2022-09-17T00:09:46.960Z] ==> Reading reports [2022-09-17T00:09:46.960Z] + ./coverage.out bytes=77283 [2022-09-17T00:09:46.961Z] ==> Appending adjustments [2022-09-17T00:09:46.961Z] https://docs.codecov.io/docs/fixing-reports [2022-09-17T00:09:46.961Z] + Found adjustments [2022-09-17T00:09:46.961Z] ==> Gzipping contents [2022-09-17T00:09:46.961Z] 12K /tmp/codecov.Ilcdyt.gz [2022-09-17T00:09:46.961Z] ==> Uploading reports [2022-09-17T00:09:46.961Z] url: https://codecov.io [2022-09-17T00:09:46.961Z] query: branch=PR-161&commit=632eb446cf4f1486b9bf2d8ff92b8671da61fa55&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-17T00:09:46.961Z] -> Pinging Codecov [2022-09-17T00:09:46.961Z] 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=632eb446cf4f1486b9bf2d8ff92b8671da61fa55&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-17T00:09:47.220Z] -> Uploading to [2022-09-17T00:09:47.221Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-17/F29A59C45E3A92E06B3E522C9905F8EF/632eb446cf4f1486b9bf2d8ff92b8671da61fa55/9c1bf162-9d50-48c8-a534-91ee3ade6f89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220917%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220917T000947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb8f2f91d9ebf560a224baff0328c1f16710dfaa10877d5663bc60af135a21a2 [2022-09-17T00:09:47.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-17T00:09:47.221Z] Dload Upload Total Spent Left Speed [2022-09-17T00:09:47.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10564 0 0 100 10564 0 42425 --:--:-- --:--:-- --:--:-- 42425 [2022-09-17T00:09:47.481Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/632eb446cf4f1486b9bf2d8ff92b8671da61fa55 [Pipeline] } [2022-09-17T00:09:47.489Z] 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-17T00:09:48.220Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-17T00:09:48.221Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T00:09:48.221Z] total 16 [2022-09-17T00:09:48.221Z] drwxr-xr-x 3 root root 4096 Sep 16 23:59 . [2022-09-17T00:09:48.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 16 23:59 .. [2022-09-17T00:09:48.221Z] drwxr-xr-x 2 root root 4096 Sep 16 23:59 cost [2022-09-17T00:09:48.221Z] -rw-r--r-- 1 root root 91 Sep 16 23:59 cost.csv [2022-09-17T00:09:48.221Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T00:09:48.221Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-17T00:09:48.221Z] total 16 [2022-09-17T00:09:48.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 16 23:59 . [2022-09-17T00:09:48.221Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 16 23:59 .. [2022-09-17T00:09:48.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 16 23:59 cost [2022-09-17T00:09:48.221Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 16 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:48.515Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:49.379Z] ---> package-listing.sh [2022-09-17T00:09:49.380Z] ++ facter osfamily [2022-09-17T00:09:49.380Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-17T00:09:49.639Z] + OS_FAMILY=debian [2022-09-17T00:09:49.639Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-17T00:09:49.639Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-17T00:09:49.639Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-17T00:09:49.639Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-17T00:09:49.639Z] + PACKAGES=/tmp/packages_start.txt [2022-09-17T00:09:49.639Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-17T00:09:49.639Z] + PACKAGES=/tmp/packages_end.txt [2022-09-17T00:09:49.639Z] + case "${OS_FAMILY}" in [2022-09-17T00:09:49.639Z] + dpkg -l [2022-09-17T00:09:49.639Z] + grep '^ii' [2022-09-17T00:09:49.639Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-17T00:09:49.640Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-17T00:09:49.640Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-17T00:09:49.640Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-17T00:09:49.640Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-17T00:09:49.640Z] + 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-17T00:09:49.651Z] 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-17T00:09:49.932Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-17T00:09:50.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-17T00:09:50.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-17T00:09:50.583Z] prd-ubuntu20.04-docker-8c-8g-29693 does not seem to be running inside a container [2022-09-17T00:09:50.618Z] $ 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-17T00:09:50.854Z] $ docker top 0b904c3c55c20c2cf0c1eb6b2f574279a3819421f4ef7f546bb5839c699167ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-17T00:09:51.220Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-17T00:09:51.514Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-17T00:09:51.799Z] + ls /var/log/sa-host [2022-09-17T00:09:51.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-17T00:09:51.942Z] provisioning config files... [2022-09-17T00:09:51.952Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config3610524768667014409tmp [Pipeline] { [Pipeline] echo [2022-09-17T00:09:51.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:52.249Z] ---> create-netrc.sh [Pipeline] } [2022-09-17T00:09:52.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:52.590Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-17T00:09:52.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:52.886Z] ---> sudo-logs.sh [2022-09-17T00:09:52.886Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-17T00:09:52.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:53.206Z] ---> job-cost.sh [2022-09-17T00:09:53.206Z] lf-activate-venv: SKIPPING [2022-09-17T00:09:53.206Z] DEBUG: total: 0.2199999988079071 [2022-09-17T00:09:53.206Z] INFO: Retrieving Stack Cost... [2022-09-17T00:09:53.776Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-17T00:09:54.037Z] INFO: Archiving Costs [Pipeline] echo [2022-09-17T00:09:54.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-17T00:09:54.336Z] ---> logs-deploy.sh [2022-09-17T00:09:54.336Z] lf-activate-venv: SKIPPING [2022-09-17T00:09:54.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/2 [2022-09-17T00:09:54.336Z] INFO: archiving workspace using pattern(s): [2022-09-17T00:09:55.277Z] Archives upload complete. [2022-09-17T00:09:55.277Z] INFO: archiving logs to Nexus