Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than ac662826f303dcd1ae486d9b14cd35b400f4712a Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14827202371084111868.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-ssh11378643564552027509.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16533426404416188677.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-ssh10447263064276869295.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7016888368457147684.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 ‘prd-ubuntu20.04-docker-8c-8g-24252’ Running on prd-ubuntu20.04-docker-8c-8g-24254 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit ac662826f303dcd1ae486d9b14cd35b400f4712a Merge succeeded, producing dbab053e7c9dde6ca2e2beda12ae87382229f87e Checking out Revision dbab053e7c9dde6ca2e2beda12ae87382229f87e (PR-149) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac662826f303dcd1ae486d9b14cd35b400f4712a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dbab053e7c9dde6ca2e2beda12ae87382229f87e # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T22:38:41.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage > git rev-list --no-walk 90378fed0af92e9f6b6497cdc0d4c6c144fedb71 # timeout=10 [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T22:38:41.363Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T22:38:41.381Z] ========================================================= [2022-08-31T22:38:41.381Z] EdgeX Global Pipelines Version Info [2022-08-31T22:38:41.381Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:38:42.149Z] ------------------- [2022-08-31T22:38:42.149Z] stable info: [2022-08-31T22:38:42.149Z] ------------------- [2022-08-31T22:38:42.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T22:38:42.149Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T22:38:42.149Z] Message: update stable to v1.0.239 [2022-08-31T22:38:42.722Z] ------------------- [2022-08-31T22:38:42.722Z] experimental info: [2022-08-31T22:38:42.722Z] ------------------- [2022-08-31T22:38:42.722Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T22:38:42.722Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T22:38:42.722Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T22:38:42.912Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-31T22:38:42.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-31T22:38:42.940Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T22:38:42.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T22:38:42.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T22:38:42.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T22:38:42.994Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T22:38:43.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T22:38:43.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T22:38:43.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T22:38:43.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T22:38:43.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-31T22:38:43.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T22:38:43.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T22:38:43.112Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T22:38:43.124Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T22:38:43.132Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T22:38:43.140Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T22:38:43.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T22:38:43.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T22:38:43.170Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-31T22:38:43.188Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-31T22:38:43.203Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T22:38:43.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T22:38:43.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T22:38:43.239Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T22:38:43.251Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T22:38:43.262Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-31T22:38:43.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-31T22:38:43.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-31T22:38:43.297Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dbab053e7c9dde6ca2e2beda12ae87382229f87e [Pipeline] echo [2022-08-31T22:38:43.314Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dbab053 [Pipeline] echo [2022-08-31T22:38:43.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T22:38:43.368Z] provisioning config files... [2022-08-31T22:38:43.383Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config9071808390954713448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:38:43.687Z] ---> docker-login.sh [2022-08-31T22:38:43.688Z] nexus3.edgexfoundry.org:10001 [2022-08-31T22:38:43.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:38:44.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:38:44.212Z] Configure a credential helper to remove this warning. See [2022-08-31T22:38:44.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:38:44.212Z] [2022-08-31T22:38:44.212Z] Login Succeeded [2022-08-31T22:38:44.212Z] nexus3.edgexfoundry.org:10002 [2022-08-31T22:38:44.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:38:44.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:38:44.212Z] Configure a credential helper to remove this warning. See [2022-08-31T22:38:44.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:38:44.212Z] [2022-08-31T22:38:44.212Z] Login Succeeded [2022-08-31T22:38:44.212Z] nexus3.edgexfoundry.org:10003 [2022-08-31T22:38:44.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:38:44.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:38:44.473Z] Configure a credential helper to remove this warning. See [2022-08-31T22:38:44.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:38:44.473Z] [2022-08-31T22:38:44.473Z] Login Succeeded [2022-08-31T22:38:44.473Z] nexus3.edgexfoundry.org:10004 [2022-08-31T22:38:44.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:38:44.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:38:44.473Z] Configure a credential helper to remove this warning. See [2022-08-31T22:38:44.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:38:44.473Z] [2022-08-31T22:38:44.473Z] Login Succeeded [2022-08-31T22:38:44.473Z] docker.io [2022-08-31T22:38:44.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:38:44.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:38:44.995Z] Configure a credential helper to remove this warning. See [2022-08-31T22:38:44.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:38:44.995Z] [2022-08-31T22:38:44.995Z] Login Succeeded [2022-08-31T22:38:44.995Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T22:38:45.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T22:38:45.397Z] + git rev-list -1 --merges dbab053e7c9dde6ca2e2beda12ae87382229f87e~1..dbab053e7c9dde6ca2e2beda12ae87382229f87e [Pipeline] echo [2022-08-31T22:38:45.424Z] -----------> git rev-list -1 --merges dbab053e7c9dde6ca2e2beda12ae87382229f87e~1..dbab053e7c9dde6ca2e2beda12ae87382229f87e dbab053e7c9dde6ca2e2beda12ae87382229f87e [2022-08-31T22:38:45.424Z] dbab053e7c9dde6ca2e2beda12ae87382229f87e [false] [Pipeline] sh [2022-08-31T22:38:45.717Z] + git log --format=format:%s -1 dbab053e7c9dde6ca2e2beda12ae87382229f87e [Pipeline] echo [2022-08-31T22:38:45.734Z] ========================================================= [2022-08-31T22:38:45.734Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T22:38:45.734Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T22:38:46.077Z] + git log --format=format:%s -1 dbab053e7c9dde6ca2e2beda12ae87382229f87e [Pipeline] echo [2022-08-31T22:38:46.088Z] [semverPrep] GIT_COMMIT: dbab053e7c9dde6ca2e2beda12ae87382229f87e, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo [2022-08-31T22:38:46.098Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T22:38:46.472Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T22:38:46.472Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T22:38:46.472Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T22:38:46.472Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T22:38:46.472Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T22:38:46.472Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T22:38:46.472Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:38:46.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T22:38:46.893Z] [2022-08-31T22:38:46.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:38:47.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T22:38:47.204Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T22:38:47.204Z] b85a868b505f: Pulling fs layer [2022-08-31T22:38:47.204Z] e2be974225ed: Pulling fs layer [2022-08-31T22:38:47.204Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T22:38:47.204Z] 988bab9f4d93: Pulling fs layer [2022-08-31T22:38:47.204Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T22:38:47.204Z] eaf3925da568: Pulling fs layer [2022-08-31T22:38:47.204Z] bab4dde63d76: Pulling fs layer [2022-08-31T22:38:47.204Z] bde34c3a00c8: Pulling fs layer [2022-08-31T22:38:47.204Z] b352a97aabf1: Pulling fs layer [2022-08-31T22:38:47.204Z] 4872d77fe225: Pulling fs layer [2022-08-31T22:38:47.204Z] 5851b861e8e6: Pulling fs layer [2022-08-31T22:38:47.204Z] bab4dde63d76: Waiting [2022-08-31T22:38:47.204Z] bde34c3a00c8: Waiting [2022-08-31T22:38:47.204Z] 988bab9f4d93: Waiting [2022-08-31T22:38:47.204Z] 5851b861e8e6: Waiting [2022-08-31T22:38:47.204Z] b352a97aabf1: Waiting [2022-08-31T22:38:47.204Z] eaf3925da568: Waiting [2022-08-31T22:38:47.204Z] 1469e6f7b9e6: Waiting [2022-08-31T22:38:47.204Z] e2be974225ed: Verifying Checksum [2022-08-31T22:38:47.204Z] e2be974225ed: Download complete [2022-08-31T22:38:47.204Z] 988bab9f4d93: Verifying Checksum [2022-08-31T22:38:47.204Z] 988bab9f4d93: Download complete [2022-08-31T22:38:47.466Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T22:38:47.466Z] 1469e6f7b9e6: Download complete [2022-08-31T22:38:47.466Z] eaf3925da568: Verifying Checksum [2022-08-31T22:38:47.466Z] eaf3925da568: Download complete [2022-08-31T22:38:47.466Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T22:38:47.466Z] 339a4e72a1f5: Download complete [2022-08-31T22:38:47.466Z] bde34c3a00c8: Download complete [2022-08-31T22:38:47.466Z] b352a97aabf1: Verifying Checksum [2022-08-31T22:38:47.466Z] b352a97aabf1: Download complete [2022-08-31T22:38:47.466Z] 4872d77fe225: Download complete [2022-08-31T22:38:47.466Z] 5851b861e8e6: Verifying Checksum [2022-08-31T22:38:47.466Z] 5851b861e8e6: Download complete [2022-08-31T22:38:47.466Z] b85a868b505f: Verifying Checksum [2022-08-31T22:38:47.466Z] b85a868b505f: Download complete [2022-08-31T22:38:47.726Z] bab4dde63d76: Verifying Checksum [2022-08-31T22:38:47.726Z] bab4dde63d76: Download complete [2022-08-31T22:38:48.668Z] b85a868b505f: Pull complete [2022-08-31T22:38:48.929Z] e2be974225ed: Pull complete [2022-08-31T22:38:49.520Z] 339a4e72a1f5: Pull complete [2022-08-31T22:38:49.520Z] 988bab9f4d93: Pull complete [2022-08-31T22:38:49.781Z] 1469e6f7b9e6: Pull complete [2022-08-31T22:38:49.781Z] eaf3925da568: Pull complete [2022-08-31T22:38:51.696Z] bab4dde63d76: Pull complete [2022-08-31T22:38:51.696Z] bde34c3a00c8: Pull complete [2022-08-31T22:38:51.696Z] b352a97aabf1: Pull complete [2022-08-31T22:38:51.957Z] 4872d77fe225: Pull complete [2022-08-31T22:38:51.957Z] 5851b861e8e6: Pull complete [2022-08-31T22:38:51.957Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T22:38:51.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T22:38:51.957Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:38:52.060Z] prd-ubuntu20.04-docker-8c-8g-24254 does not seem to be running inside a container [2022-08-31T22:38:52.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T22:38:54.270Z] $ docker top a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 -eo pid,comm [2022-08-31T22:38:54.335Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-31T22:38:54.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T22:38:54.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T22:38:54.373Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T22:38:54.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T22:38:54.515Z] $ docker exec a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 ssh-agent [2022-08-31T22:38:54.643Z] SSH_AUTH_SOCK=/tmp/ssh-tkdw6RXx4Edd/agent.32 [2022-08-31T22:38:54.643Z] SSH_AGENT_PID=38 [2022-08-31T22:38:54.649Z] Running ssh-add (command line suppressed) [2022-08-31T22:38:54.779Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5505120324681498130.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5505120324681498130.key) [2022-08-31T22:38:54.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T22:38:55.084Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T22:38:55.110Z] $ docker exec --env ******** --env ******** a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 ssh-agent -k [2022-08-31T22:38:55.235Z] unset SSH_AUTH_SOCK; [2022-08-31T22:38:55.235Z] unset SSH_AGENT_PID; [2022-08-31T22:38:55.235Z] echo Agent pid 38 killed; [2022-08-31T22:38:55.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T22:38:55.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T22:38:55.273Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T22:38:55.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T22:38:55.394Z] $ docker exec a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 ssh-agent [2022-08-31T22:38:55.513Z] SSH_AUTH_SOCK=/tmp/ssh-tMHyElPX6pJI/agent.71 [2022-08-31T22:38:55.513Z] SSH_AGENT_PID=77 [2022-08-31T22:38:55.519Z] Running ssh-add (command line suppressed) [2022-08-31T22:38:55.647Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6103733755830255268.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_6103733755830255268.key) [2022-08-31T22:38:55.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T22:38:55.949Z] + git semver init [2022-08-31T22:38:56.209Z] 2022-08-31 22:38:56,133 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T22:38:56.209Z] 2022-08-31 22:38:56,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T22:38:56.209Z] 2022-08-31 22:38:56,134 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-31T22:38:56.209Z] 2022-08-31 22:38:56,134 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:56,992 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:56,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:56,992 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:56,996 [execute] INFO git cat-file --batch-check [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:56,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:57,003 [execute] INFO git cat-file --batch [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:57,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T22:38:57.149Z] 2022-08-31 22:38:57,008 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-31T22:38:57.149Z] 0.0.0 [Pipeline] } [2022-08-31T22:38:57.167Z] $ docker exec --env ******** --env ******** a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 ssh-agent -k [2022-08-31T22:38:57.272Z] unset SSH_AUTH_SOCK; [2022-08-31T22:38:57.273Z] unset SSH_AGENT_PID; [2022-08-31T22:38:57.273Z] echo Agent pid 77 killed; [2022-08-31T22:38:57.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T22:38:57.588Z] + git semver [Pipeline] } [2022-08-31T22:38:57.866Z] $ docker stop --time=1 a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 [2022-08-31T22:38:59.121Z] $ docker rm -f a147b79b3b42c802828498a4b181790b4b313ad384f403485053f08437f79f08 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T22:38:59.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T22:38:59.689Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T22:38:59.691Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T22:38:59.852Z] provisioning config files... [2022-08-31T22:38:59.862Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1669893477450739011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:39:00.160Z] ---> docker-login.sh [2022-08-31T22:39:00.160Z] nexus3.edgexfoundry.org:10001 [2022-08-31T22:39:00.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:39:00.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:39:00.160Z] Configure a credential helper to remove this warning. See [2022-08-31T22:39:00.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:39:00.160Z] [2022-08-31T22:39:00.160Z] Login Succeeded [2022-08-31T22:39:00.160Z] nexus3.edgexfoundry.org:10002 [2022-08-31T22:39:00.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:39:00.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:39:00.420Z] Configure a credential helper to remove this warning. See [2022-08-31T22:39:00.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:39:00.420Z] [2022-08-31T22:39:00.420Z] Login Succeeded [2022-08-31T22:39:00.420Z] nexus3.edgexfoundry.org:10003 [2022-08-31T22:39:00.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:39:00.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:39:00.420Z] Configure a credential helper to remove this warning. See [2022-08-31T22:39:00.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:39:00.420Z] [2022-08-31T22:39:00.420Z] Login Succeeded [2022-08-31T22:39:00.420Z] nexus3.edgexfoundry.org:10004 [2022-08-31T22:39:00.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:39:00.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:39:00.680Z] Configure a credential helper to remove this warning. See [2022-08-31T22:39:00.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:39:00.680Z] [2022-08-31T22:39:00.680Z] Login Succeeded [2022-08-31T22:39:00.680Z] docker.io [2022-08-31T22:39:00.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:39:00.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:39:00.940Z] Configure a credential helper to remove this warning. See [2022-08-31T22:39:00.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:39:00.940Z] [2022-08-31T22:39:00.940Z] Login Succeeded [2022-08-31T22:39:00.940Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T22:39:00.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T22:39:01.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T22:39:01.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T22:39:01.040Z] ========================================================= [2022-08-31T22:39:01.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T22:39:01.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:39:01.356Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T22:39:01.356Z] Sending build context to Docker daemon 20.73MB [2022-08-31T22:39:01.356Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T22:39:01.356Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T22:39:01.616Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T22:39:01.616Z] 2408cc74d12b: Pulling fs layer [2022-08-31T22:39:01.616Z] ea60b727a1ce: Pulling fs layer [2022-08-31T22:39:01.616Z] 30c4a7721957: Pulling fs layer [2022-08-31T22:39:01.616Z] 370296b7ddb6: Pulling fs layer [2022-08-31T22:39:01.616Z] 7c6cee850709: Pulling fs layer [2022-08-31T22:39:01.616Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T22:39:01.616Z] d94ebbe4e438: Pulling fs layer [2022-08-31T22:39:01.616Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T22:39:01.616Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T22:39:01.616Z] d94ebbe4e438: Waiting [2022-08-31T22:39:01.616Z] bcfd1f05c69d: Waiting [2022-08-31T22:39:01.616Z] 59ccb84bbe0f: Waiting [2022-08-31T22:39:01.616Z] 7c6cee850709: Waiting [2022-08-31T22:39:01.616Z] 370296b7ddb6: Waiting [2022-08-31T22:39:01.616Z] 39a5fcdaea64: Waiting [2022-08-31T22:39:01.616Z] 30c4a7721957: Download complete [2022-08-31T22:39:01.616Z] ea60b727a1ce: Verifying Checksum [2022-08-31T22:39:01.616Z] ea60b727a1ce: Download complete [2022-08-31T22:39:01.616Z] 7c6cee850709: Verifying Checksum [2022-08-31T22:39:01.616Z] 7c6cee850709: Download complete [2022-08-31T22:39:01.616Z] 39a5fcdaea64: Download complete [2022-08-31T22:39:01.616Z] 2408cc74d12b: Verifying Checksum [2022-08-31T22:39:01.616Z] 2408cc74d12b: Download complete [2022-08-31T22:39:01.616Z] d94ebbe4e438: Verifying Checksum [2022-08-31T22:39:01.616Z] d94ebbe4e438: Download complete [2022-08-31T22:39:01.880Z] 2408cc74d12b: Pull complete [2022-08-31T22:39:01.880Z] ea60b727a1ce: Pull complete [2022-08-31T22:39:01.880Z] 30c4a7721957: Pull complete [2022-08-31T22:39:02.142Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T22:39:02.142Z] 59ccb84bbe0f: Download complete [2022-08-31T22:39:02.401Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T22:39:02.401Z] bcfd1f05c69d: Download complete [2022-08-31T22:39:02.402Z] 370296b7ddb6: Verifying Checksum [2022-08-31T22:39:02.402Z] 370296b7ddb6: Download complete [2022-08-31T22:39:06.606Z] 370296b7ddb6: Pull complete [2022-08-31T22:39:06.606Z] 7c6cee850709: Pull complete [2022-08-31T22:39:06.606Z] 39a5fcdaea64: Pull complete [2022-08-31T22:39:06.606Z] d94ebbe4e438: Pull complete [2022-08-31T22:39:08.519Z] bcfd1f05c69d: Pull complete [2022-08-31T22:39:09.458Z] 59ccb84bbe0f: Pull complete [2022-08-31T22:39:09.458Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T22:39:09.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T22:39:09.458Z] ---> a4fb48ad2a94 [2022-08-31T22:39:09.458Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T22:39:12.767Z] ---> Running in 1d349b7cc9d9 [2022-08-31T22:39:12.767Z] Removing intermediate container 1d349b7cc9d9 [2022-08-31T22:39:12.767Z] ---> a9069f03501a [2022-08-31T22:39:12.767Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T22:39:12.767Z] ---> Running in 206ed471cdc3 [2022-08-31T22:39:12.767Z] Removing intermediate container 206ed471cdc3 [2022-08-31T22:39:12.767Z] ---> 8bb11146ef66 [2022-08-31T22:39:12.767Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T22:39:12.767Z] ---> Running in 8d006bf49a57 [2022-08-31T22:39:13.028Z] Removing intermediate container 8d006bf49a57 [2022-08-31T22:39:13.028Z] ---> c71890a07d47 [2022-08-31T22:39:13.028Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T22:39:13.028Z] ---> Running in 062e710426a0 [2022-08-31T22:39:13.028Z] Removing intermediate container 062e710426a0 [2022-08-31T22:39:13.028Z] ---> b328fbb47a3b [2022-08-31T22:39:13.028Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T22:39:13.028Z] ---> Running in 379df5670c15 [2022-08-31T22:39:13.600Z] Removing intermediate container 379df5670c15 [2022-08-31T22:39:13.600Z] ---> 0d90afb23350 [2022-08-31T22:39:13.600Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T22:39:13.600Z] ---> Running in 93431d26e520 [2022-08-31T22:39:14.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T22:39:14.745Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T22:39:14.805Z] Still waiting to schedule task [2022-08-31T22:39:14.805Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24253’ is offline [2022-08-31T22:39:15.317Z] OK: 211 MiB in 51 packages [2022-08-31T22:39:15.577Z] Removing intermediate container 93431d26e520 [2022-08-31T22:39:15.577Z] ---> a3d79f3034cf [2022-08-31T22:39:15.577Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T22:39:15.577Z] ---> Running in 4e6e249316b4 [2022-08-31T22:39:15.577Z] Removing intermediate container 4e6e249316b4 [2022-08-31T22:39:15.577Z] ---> 36d15696877a [2022-08-31T22:39:15.577Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T22:39:15.837Z] ---> cc20ed5a9c46 [2022-08-31T22:39:15.837Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T22:39:15.837Z] ---> Running in 174e094ea55c [2022-08-31T22:39:37.806Z] Removing intermediate container 174e094ea55c [2022-08-31T22:39:37.806Z] ---> 36704725f1c4 [2022-08-31T22:39:37.806Z] Step 12/13 : COPY . . [2022-08-31T22:39:37.806Z] ---> 919879dc5230 [2022-08-31T22:39:37.806Z] Step 13/13 : RUN ${MAKE} [2022-08-31T22:39:37.806Z] ---> Running in aa08eea2e292 [2022-08-31T22:39:37.806Z] noop [2022-08-31T22:39:37.806Z] Removing intermediate container aa08eea2e292 [2022-08-31T22:39:37.806Z] ---> 80e02f93fd8e [2022-08-31T22:39:37.806Z] Successfully built 80e02f93fd8e [2022-08-31T22:39:37.806Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:39:38.129Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T22:39:38.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:39:38.218Z] prd-ubuntu20.04-docker-8c-8g-24254 does not seem to be running inside a container [2022-08-31T22:39:38.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T22:39:38.656Z] $ docker top bb15d9189fb30b05cfb55749f7960da08540698ebb368d9ce66f6168c5235aa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T22:39:39.013Z] + go version [2022-08-31T22:39:39.013Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T22:39:39.028Z] $ docker stop --time=1 bb15d9189fb30b05cfb55749f7960da08540698ebb368d9ce66f6168c5235aa4 [2022-08-31T22:39:40.292Z] $ docker rm -f bb15d9189fb30b05cfb55749f7960da08540698ebb368d9ce66f6168c5235aa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:39:40.714Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T22:39:40.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:39:40.811Z] prd-ubuntu20.04-docker-8c-8g-24254 does not seem to be running inside a container [2022-08-31T22:39:40.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T22:39:41.289Z] $ docker top 248939c7c431bf7f1bf2791e7f2a8ed02139a6e19639489df26882d6477deb2d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T22:39:41.672Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-31T22:39:41.975Z] + make test [2022-08-31T22:39:41.975Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T22:39:42.545Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T22:39:52.543Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T22:39:53.922Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements [2022-08-31T22:39:53.922Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T22:39:56.463Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.910s coverage: 13.8% of statements [2022-08-31T22:40:04.595Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-31T22:40:04.595Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T22:40:07.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T22:40:07.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T22:40:07.142Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T22:40:07.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T22:40:07.172Z] $ docker stop --time=1 248939c7c431bf7f1bf2791e7f2a8ed02139a6e19639489df26882d6477deb2d [2022-08-31T22:40:09.510Z] $ docker rm -f 248939c7c431bf7f1bf2791e7f2a8ed02139a6e19639489df26882d6477deb2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T22:40:09.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T22:40:10.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T22:40:10.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T22:40:10.836Z] + ls -al . [2022-08-31T22:40:10.836Z] total 232 [2022-08-31T22:40:10.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 22:39 . [2022-08-31T22:40:10.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:38 .. [2022-08-31T22:40:10.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:39 .git [2022-08-31T22:40:10.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:38 .github [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 22:38 .gitignore [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:38 .golangci.yml [2022-08-31T22:40:10.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:38 .semver [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 22:38 Attribution.txt [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 22:38 CHANGELOG.md [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 22:38 Dockerfile [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:38 GOVERNANCE.md [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 22:38 Jenkinsfile [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:38 LICENSE [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 22:38 Makefile [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:38 OWNERS.md [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 22:38 README.md [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:38 VERSION [2022-08-31T22:40:10.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:38 bin [2022-08-31T22:40:10.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:38 cmd [2022-08-31T22:40:10.836Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 22:39 coverage.out [2022-08-31T22:40:10.836Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 22:38 doc [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 22:38 go.mod [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 22:38 go.sum [2022-08-31T22:40:10.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:38 internal [2022-08-31T22:40:10.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:38 snap [2022-08-31T22:40:10.836Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:40:11.183Z] + 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=dbab053e7c9dde6ca2e2beda12ae87382229f87e --label arch=amd64 --label version=0.0.0 . [2022-08-31T22:40:11.183Z] Sending build context to Docker daemon 20.8MB [2022-08-31T22:40:11.183Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T22:40:11.183Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T22:40:11.183Z] ---> 80e02f93fd8e [2022-08-31T22:40:11.183Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T22:40:11.442Z] ---> Running in 1a4a1ddf1a7e [2022-08-31T22:40:11.442Z] Removing intermediate container 1a4a1ddf1a7e [2022-08-31T22:40:11.442Z] ---> 5a3162973192 [2022-08-31T22:40:11.442Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T22:40:11.442Z] ---> Running in a1bbc1db08a7 [2022-08-31T22:40:11.702Z] Removing intermediate container a1bbc1db08a7 [2022-08-31T22:40:11.702Z] ---> 5d7e516d46f5 [2022-08-31T22:40:11.702Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T22:40:11.702Z] ---> Running in 98fd1375260e [2022-08-31T22:40:11.702Z] Removing intermediate container 98fd1375260e [2022-08-31T22:40:11.702Z] ---> e7b35ac7314e [2022-08-31T22:40:11.702Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T22:40:11.702Z] ---> Running in 249bdf81caec [2022-08-31T22:40:11.961Z] Removing intermediate container 249bdf81caec [2022-08-31T22:40:11.961Z] ---> 4609c0405f01 [2022-08-31T22:40:11.961Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T22:40:11.961Z] ---> Running in fba23723b120 [2022-08-31T22:40:12.532Z] Removing intermediate container fba23723b120 [2022-08-31T22:40:12.532Z] ---> fe69a048b9c8 [2022-08-31T22:40:12.532Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T22:40:12.532Z] ---> Running in a96d685ee506 [2022-08-31T22:40:12.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T22:40:13.737Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T22:40:13.997Z] OK: 211 MiB in 51 packages [2022-08-31T22:40:14.259Z] Removing intermediate container a96d685ee506 [2022-08-31T22:40:14.259Z] ---> 59a604fce892 [2022-08-31T22:40:14.259Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T22:40:14.259Z] ---> Running in a6a7a35cd465 [2022-08-31T22:40:14.520Z] Removing intermediate container a6a7a35cd465 [2022-08-31T22:40:14.520Z] ---> 0f86731dad7d [2022-08-31T22:40:14.520Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T22:40:14.520Z] ---> 0c00f5a5a5f6 [2022-08-31T22:40:14.520Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T22:40:14.520Z] ---> Running in 8f3a9cd135a8 [2022-08-31T22:40:15.464Z] Removing intermediate container 8f3a9cd135a8 [2022-08-31T22:40:15.464Z] ---> 3fbfce2533b9 [2022-08-31T22:40:15.464Z] Step 12/26 : COPY . . [2022-08-31T22:40:16.035Z] ---> 43634fe77bda [2022-08-31T22:40:16.035Z] Step 13/26 : RUN ${MAKE} [2022-08-31T22:40:16.035Z] ---> Running in cd6a74d6e8d1 [2022-08-31T22:40:16.295Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T22:40:38.273Z] Removing intermediate container cd6a74d6e8d1 [2022-08-31T22:40:38.273Z] ---> 01d59cf94030 [2022-08-31T22:40:38.273Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T22:40:38.846Z] 3.16: Pulling from library/alpine [2022-08-31T22:40:39.107Z] 213ec9aee27d: Pulling fs layer [2022-08-31T22:40:39.107Z] 213ec9aee27d: Verifying Checksum [2022-08-31T22:40:39.107Z] 213ec9aee27d: Download complete [2022-08-31T22:40:39.368Z] 213ec9aee27d: Pull complete [2022-08-31T22:40:39.368Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T22:40:39.368Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T22:40:39.368Z] ---> 9c6f07244728 [2022-08-31T22:40:39.368Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T22:40:39.368Z] ---> Running in a7dd47fa341b [2022-08-31T22:40:39.626Z] Removing intermediate container a7dd47fa341b [2022-08-31T22:40:39.626Z] ---> 211edecb71e3 [2022-08-31T22:40:39.626Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T22:40:39.626Z] ---> Running in b547feaa401d [2022-08-31T22:40:39.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T22:40:39.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T22:40:40.148Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T22:40:40.148Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T22:40:40.148Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T22:40:40.148Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T22:40:40.148Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T22:40:40.148Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T22:40:40.148Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T22:40:40.148Z] OK: 8 MiB in 20 packages [2022-08-31T22:40:40.727Z] Removing intermediate container b547feaa401d [2022-08-31T22:40:40.727Z] ---> 8ca5e0247e20 [2022-08-31T22:40:40.727Z] Step 17/26 : WORKDIR / [2022-08-31T22:40:40.727Z] ---> Running in e794f706124d [2022-08-31T22:40:40.727Z] Removing intermediate container e794f706124d [2022-08-31T22:40:40.727Z] ---> 39e44d3cf798 [2022-08-31T22:40:40.727Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T22:40:41.670Z] ---> 1a0170a62463 [2022-08-31T22:40:41.670Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T22:40:41.670Z] ---> 75c489e71e59 [2022-08-31T22:40:41.670Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T22:40:41.931Z] ---> 2c40b7efa462 [2022-08-31T22:40:41.931Z] Step 21/26 : EXPOSE 59984 [2022-08-31T22:40:41.931Z] ---> Running in 36fc277b4b86 [2022-08-31T22:40:41.931Z] Removing intermediate container 36fc277b4b86 [2022-08-31T22:40:41.931Z] ---> 89d34f7dbc70 [2022-08-31T22:40:41.931Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T22:40:41.931Z] ---> Running in 69a96a60015a [2022-08-31T22:40:41.931Z] Removing intermediate container 69a96a60015a [2022-08-31T22:40:41.931Z] ---> 00a42c0d335c [2022-08-31T22:40:41.931Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T22:40:41.931Z] ---> Running in 563d29ab7272 [2022-08-31T22:40:42.195Z] Removing intermediate container 563d29ab7272 [2022-08-31T22:40:42.195Z] ---> b97fb076be31 [2022-08-31T22:40:42.195Z] Step 24/26 : LABEL arch=amd64 [2022-08-31T22:40:42.195Z] ---> Running in b3ed0131550b [2022-08-31T22:40:42.195Z] Removing intermediate container b3ed0131550b [2022-08-31T22:40:42.195Z] ---> 98dd6b0e906e [2022-08-31T22:40:42.195Z] Step 25/26 : LABEL git_sha=dbab053e7c9dde6ca2e2beda12ae87382229f87e [2022-08-31T22:40:42.195Z] ---> Running in 21fc8b01b8a1 [2022-08-31T22:40:42.195Z] Removing intermediate container 21fc8b01b8a1 [2022-08-31T22:40:42.195Z] ---> f5ff386c0c7f [2022-08-31T22:40:42.195Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T22:40:42.454Z] ---> Running in 38e67d1fb9d4 [2022-08-31T22:40:42.454Z] Removing intermediate container 38e67d1fb9d4 [2022-08-31T22:40:42.454Z] ---> 20e28144941c [2022-08-31T22:40:42.454Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T22:40:42.454Z] Successfully built 20e28144941c [2022-08-31T22:40:42.454Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:40:42.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T22:40:42.910Z] [2022-08-31T22:40:42.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:40:43.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T22:40:43.208Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T22:40:43.208Z] 5eb5b503b376: Pulling fs layer [2022-08-31T22:40:43.208Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T22:40:43.208Z] ec43610c2a17: Pulling fs layer [2022-08-31T22:40:43.208Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T22:40:43.208Z] 33b1e0a273af: Pulling fs layer [2022-08-31T22:40:43.208Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T22:40:43.208Z] 2f39f015ded8: Pulling fs layer [2022-08-31T22:40:43.208Z] 3a2ae6a8a46f: Waiting [2022-08-31T22:40:43.208Z] 33b1e0a273af: Waiting [2022-08-31T22:40:43.208Z] 5d3b04190fa2: Waiting [2022-08-31T22:40:43.208Z] 2f39f015ded8: Waiting [2022-08-31T22:40:43.208Z] 5c69ac0246d0: Download complete [2022-08-31T22:40:43.208Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T22:40:43.208Z] 3a2ae6a8a46f: Download complete [2022-08-31T22:40:43.208Z] 33b1e0a273af: Download complete [2022-08-31T22:40:43.208Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T22:40:43.208Z] 5d3b04190fa2: Download complete [2022-08-31T22:40:43.208Z] ec43610c2a17: Verifying Checksum [2022-08-31T22:40:43.208Z] ec43610c2a17: Download complete [2022-08-31T22:40:43.468Z] 5eb5b503b376: Download complete [2022-08-31T22:40:44.036Z] 2f39f015ded8: Verifying Checksum [2022-08-31T22:40:44.036Z] 2f39f015ded8: Download complete [2022-08-31T22:40:44.973Z] 5eb5b503b376: Pull complete [2022-08-31T22:40:44.973Z] 5c69ac0246d0: Pull complete [2022-08-31T22:40:45.543Z] ec43610c2a17: Pull complete [2022-08-31T22:40:45.543Z] 3a2ae6a8a46f: Pull complete [2022-08-31T22:40:45.804Z] 33b1e0a273af: Pull complete [2022-08-31T22:40:46.064Z] 5d3b04190fa2: Pull complete [2022-08-31T22:40:49.977Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24256 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-31T22:40:49.989Z] Running in /w/workspace/device-onvif-camera/26 [Pipeline] { [Pipeline] checkout [2022-08-31T22:40:50.030Z] Selected Git installation does not exist. Using Default [2022-08-31T22:40:50.030Z] The recommended git tool is: NONE [2022-08-31T22:40:51.337Z] 2f39f015ded8: Pull complete [2022-08-31T22:40:51.337Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T22:40:51.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T22:40:51.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:40:51.423Z] prd-ubuntu20.04-docker-8c-8g-24254 does not seem to be running inside a container [2022-08-31T22:40:51.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T22:40:54.357Z] $ docker top d5e3e593f2385bffdc2c153b17a60957e84d007be623466593dba648ddade7d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:40:54.776Z] ---> job-cost.sh [2022-08-31T22:40:54.777Z] lf-activate-venv: SKIPPING [2022-08-31T22:40:54.777Z] INFO: No Stack... [2022-08-31T22:40:55.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T22:40:55.610Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T22:40:55.901Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-31T22:40:55.901Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T22:40:55.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [2022-08-31T22:40:55.920Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] did not exist. Created. [2022-08-31T22:40:55.920Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T22:40:56.170Z] using credential edgex-jenkins-ssh [2022-08-31T22:40:56.187Z] Cloning the remote Git repository [2022-08-31T22:40:56.228Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T22:40:56.261Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T22:40:56.268Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T22:40:56.291Z] $ docker stop --time=1 d5e3e593f2385bffdc2c153b17a60957e84d007be623466593dba648ddade7d6 [2022-08-31T22:40:56.244Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T22:40:56.337Z] > git init /w/workspace/device-onvif-camera/26 # timeout=10 [2022-08-31T22:40:56.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T22:40:56.443Z] > git --version # timeout=10 [2022-08-31T22:40:57.442Z] $ docker rm -f d5e3e593f2385bffdc2c153b17a60957e84d007be623466593dba648ddade7d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T22:40:56.461Z] > git --version # 'git version 2.25.1' [2022-08-31T22:40:56.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T22:40:56.530Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T22:40:57.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T22:40:57.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T22:40:57.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-31T22:40:57.712Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-31T22:40:57.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T22:40:57.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T22:40:58.335Z] Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit ac662826f303dcd1ae486d9b14cd35b400f4712a [2022-08-31T22:40:59.054Z] Merge succeeded, producing b17657e2c9bb06ed44f1f4fec091d14f7a1cd15c [2022-08-31T22:40:59.054Z] Checking out Revision b17657e2c9bb06ed44f1f4fec091d14f7a1cd15c (PR-149) [2022-08-31T22:40:58.353Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T22:40:58.376Z] > git checkout -f ac662826f303dcd1ae486d9b14cd35b400f4712a # timeout=10 [2022-08-31T22:40:58.614Z] > git remote # timeout=10 [2022-08-31T22:40:58.630Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T22:40:58.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T22:40:58.659Z] > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 [2022-08-31T22:40:59.035Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T22:40:59.063Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T22:40:59.076Z] > git checkout -f b17657e2c9bb06ed44f1f4fec091d14f7a1cd15c # timeout=10 [2022-08-31T22:41:03.218Z] Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" [2022-08-31T22:41:03.242Z] First time build. Skipping changelog. [2022-08-31T22:41:03.226Z] > git rev-list --no-walk 90378fed0af92e9f6b6497cdc0d4c6c144fedb71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T22:41:04.112Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T22:41:04.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T22:41:04.113Z] Dload Upload Total Spent Left Speed [2022-08-31T22:41:04.113Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 74723 0 --:--:-- --:--:-- --:--:-- 74256 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78273 [Pipeline] sh [2022-08-31T22:41:04.942Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T22:41:05.290Z] + sudo tee /etc/docker/daemon.new [2022-08-31T22:41:05.290Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T22:41:05.290Z] { [2022-08-31T22:41:05.290Z] "registry-mirrors": [ [2022-08-31T22:41:05.290Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T22:41:05.290Z] ], [2022-08-31T22:41:05.290Z] "bip": "10.250.0.254/24", [2022-08-31T22:41:05.290Z] "hosts": [ [2022-08-31T22:41:05.290Z] "tcp://0.0.0.0:5555", [2022-08-31T22:41:05.290Z] "unix:///var/run/docker.sock" [2022-08-31T22:41:05.290Z] ], [2022-08-31T22:41:05.290Z] "mtu": 1458, [2022-08-31T22:41:05.290Z] "selinux-enabled": true, [2022-08-31T22:41:05.290Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T22:41:05.290Z] } [Pipeline] sh [2022-08-31T22:41:05.629Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T22:41:05.970Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T22:41:24.324Z] provisioning config files... [2022-08-31T22:41:24.346Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/26@tmp/config7856952341568069725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:41:24.880Z] ---> docker-login.sh [2022-08-31T22:41:24.880Z] nexus3.edgexfoundry.org:10001 [2022-08-31T22:41:25.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:41:25.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:41:25.747Z] Configure a credential helper to remove this warning. See [2022-08-31T22:41:25.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:41:25.747Z] [2022-08-31T22:41:25.747Z] Login Succeeded [2022-08-31T22:41:25.747Z] nexus3.edgexfoundry.org:10002 [2022-08-31T22:41:26.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:41:26.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:41:26.293Z] Configure a credential helper to remove this warning. See [2022-08-31T22:41:26.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:41:26.293Z] [2022-08-31T22:41:26.293Z] Login Succeeded [2022-08-31T22:41:26.293Z] nexus3.edgexfoundry.org:10003 [2022-08-31T22:41:26.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:41:26.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:41:26.567Z] Configure a credential helper to remove this warning. See [2022-08-31T22:41:26.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:41:26.567Z] [2022-08-31T22:41:26.567Z] Login Succeeded [2022-08-31T22:41:26.567Z] nexus3.edgexfoundry.org:10004 [2022-08-31T22:41:27.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:41:27.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:41:27.181Z] Configure a credential helper to remove this warning. See [2022-08-31T22:41:27.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:41:27.181Z] [2022-08-31T22:41:27.181Z] Login Succeeded [2022-08-31T22:41:27.181Z] docker.io [2022-08-31T22:41:27.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T22:41:27.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T22:41:27.730Z] Configure a credential helper to remove this warning. See [2022-08-31T22:41:27.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T22:41:27.730Z] [2022-08-31T22:41:27.730Z] Login Succeeded [2022-08-31T22:41:27.730Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T22:41:27.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T22:41:27.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T22:41:28.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T22:41:28.024Z] ========================================================= [2022-08-31T22:41:28.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T22:41:28.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:41:28.378Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-31T22:41:28.975Z] Sending build context to Docker daemon 14.23MB [2022-08-31T22:41:28.975Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T22:41:28.975Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T22:41:28.975Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T22:41:28.975Z] b3c136eddcbf: Pulling fs layer [2022-08-31T22:41:28.975Z] c0a3192eca97: Pulling fs layer [2022-08-31T22:41:28.975Z] a050256f5b6f: Pulling fs layer [2022-08-31T22:41:28.975Z] 656be50a0ddc: Pulling fs layer [2022-08-31T22:41:28.975Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T22:41:28.975Z] 46d945488cbd: Pulling fs layer [2022-08-31T22:41:28.975Z] 8a5474983e97: Pulling fs layer [2022-08-31T22:41:28.975Z] 329c88fbcd65: Pulling fs layer [2022-08-31T22:41:28.975Z] 2bbca73fdf42: Waiting [2022-08-31T22:41:28.975Z] 46d945488cbd: Waiting [2022-08-31T22:41:28.975Z] 8a5474983e97: Waiting [2022-08-31T22:41:28.975Z] 329c88fbcd65: Waiting [2022-08-31T22:41:28.975Z] 656be50a0ddc: Waiting [2022-08-31T22:41:28.975Z] a050256f5b6f: Verifying Checksum [2022-08-31T22:41:28.975Z] a050256f5b6f: Download complete [2022-08-31T22:41:28.975Z] c0a3192eca97: Download complete [2022-08-31T22:41:29.253Z] 2bbca73fdf42: Download complete [2022-08-31T22:41:29.253Z] 46d945488cbd: Verifying Checksum [2022-08-31T22:41:29.253Z] 46d945488cbd: Download complete [2022-08-31T22:41:29.253Z] b3c136eddcbf: Verifying Checksum [2022-08-31T22:41:29.253Z] b3c136eddcbf: Download complete [2022-08-31T22:41:30.239Z] b3c136eddcbf: Pull complete [2022-08-31T22:41:30.239Z] 329c88fbcd65: Verifying Checksum [2022-08-31T22:41:30.239Z] 329c88fbcd65: Download complete [2022-08-31T22:41:30.846Z] c0a3192eca97: Pull complete [2022-08-31T22:41:31.123Z] a050256f5b6f: Pull complete [2022-08-31T22:41:31.402Z] 8a5474983e97: Verifying Checksum [2022-08-31T22:41:31.402Z] 8a5474983e97: Download complete [2022-08-31T22:41:32.006Z] 656be50a0ddc: Download complete [2022-08-31T22:41:47.126Z] 656be50a0ddc: Pull complete [2022-08-31T22:41:47.126Z] 2bbca73fdf42: Pull complete [2022-08-31T22:41:47.126Z] 46d945488cbd: Pull complete [2022-08-31T22:41:51.482Z] 8a5474983e97: Pull complete [2022-08-31T22:41:54.119Z] 329c88fbcd65: Pull complete [2022-08-31T22:41:54.119Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T22:41:54.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T22:41:54.119Z] ---> ff4287adb874 [2022-08-31T22:41:54.119Z] Step 3/13 : ARG MAKE="make build" [2022-08-31T22:41:54.400Z] ---> Running in 075c6fd6c42d [2022-08-31T22:41:55.010Z] Removing intermediate container 075c6fd6c42d [2022-08-31T22:41:55.010Z] ---> a1b29de2bae1 [2022-08-31T22:41:55.010Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T22:41:55.010Z] ---> Running in 7230d938f4ce [2022-08-31T22:41:56.460Z] Removing intermediate container 7230d938f4ce [2022-08-31T22:41:56.460Z] ---> e93a2bb1e10f [2022-08-31T22:41:56.460Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T22:41:56.460Z] ---> Running in 13c04674ab92 [2022-08-31T22:41:56.460Z] Removing intermediate container 13c04674ab92 [2022-08-31T22:41:56.460Z] ---> 8713785d8fb0 [2022-08-31T22:41:56.460Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-31T22:41:56.741Z] ---> Running in d833ec4d4671 [2022-08-31T22:41:57.016Z] Removing intermediate container d833ec4d4671 [2022-08-31T22:41:57.016Z] ---> ec2642091fe0 [2022-08-31T22:41:57.016Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T22:41:57.016Z] ---> Running in cdf219f8939e [2022-08-31T22:41:58.998Z] Removing intermediate container cdf219f8939e [2022-08-31T22:41:58.998Z] ---> 1f8f0a6bce3b [2022-08-31T22:41:58.998Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T22:41:58.998Z] ---> Running in 67adcb0ed259 [2022-08-31T22:41:59.983Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T22:42:00.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T22:42:01.559Z] OK: 221 MiB in 51 packages [2022-08-31T22:42:02.547Z] Removing intermediate container 67adcb0ed259 [2022-08-31T22:42:02.547Z] ---> c526015247e6 [2022-08-31T22:42:02.547Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-31T22:42:02.547Z] ---> Running in 5af52c20296d [2022-08-31T22:42:02.832Z] Removing intermediate container 5af52c20296d [2022-08-31T22:42:02.832Z] ---> a6e2ba6c657f [2022-08-31T22:42:02.832Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-31T22:42:03.434Z] ---> 08f6cfe78f6c [2022-08-31T22:42:03.434Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T22:42:03.434Z] ---> Running in 2643e6b80595 [2022-08-31T22:43:00.006Z] Removing intermediate container 2643e6b80595 [2022-08-31T22:43:00.006Z] ---> 74312b450542 [2022-08-31T22:43:00.006Z] Step 12/13 : COPY . . [2022-08-31T22:43:00.006Z] ---> 3a7241118e6b [2022-08-31T22:43:00.006Z] Step 13/13 : RUN ${MAKE} [2022-08-31T22:43:00.006Z] ---> Running in 628c0c832588 [2022-08-31T22:43:00.006Z] noop [2022-08-31T22:43:00.006Z] Removing intermediate container 628c0c832588 [2022-08-31T22:43:00.006Z] ---> 4844a7ac1f8b [2022-08-31T22:43:00.006Z] Successfully built 4844a7ac1f8b [2022-08-31T22:43:00.006Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:43:00.373Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T22:43:00.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:43:00.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-24256 does not seem to be running inside a container [2022-08-31T22:43:00.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T22:43:02.007Z] $ docker top 70078dcc5f0dcff6906ce01ad7b6c73cd0838622adb5916adbed5dd8fb90bde9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T22:43:02.901Z] + go version [2022-08-31T22:43:02.902Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T22:43:02.932Z] $ docker stop --time=1 70078dcc5f0dcff6906ce01ad7b6c73cd0838622adb5916adbed5dd8fb90bde9 [2022-08-31T22:43:04.531Z] $ docker rm -f 70078dcc5f0dcff6906ce01ad7b6c73cd0838622adb5916adbed5dd8fb90bde9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:43:05.142Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T22:43:05.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:43:05.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-24256 does not seem to be running inside a container [2022-08-31T22:43:05.477Z] $ 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/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T22:43:06.694Z] $ docker top 61a47795cdc61a920060b3ad6c0c6929f617099a49e3cf44344cdd49d1157b34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T22:43:07.574Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/26 [Pipeline] fileExists [Pipeline] sh [2022-08-31T22:43:08.242Z] + make test [2022-08-31T22:43:08.242Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-31T22:43:10.244Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-31T22:44:32.101Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-31T22:44:40.407Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.186s coverage: 28.6% of statements [2022-08-31T22:44:40.407Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-31T22:45:07.250Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.471s coverage: 13.8% of statements [2022-08-31T22:45:07.250Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T22:45:07.250Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T22:45:29.461Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T22:45:29.461Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T22:45:29.461Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-31T22:45:29.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T22:45:29.501Z] $ docker stop --time=1 61a47795cdc61a920060b3ad6c0c6929f617099a49e3cf44344cdd49d1157b34 [2022-08-31T22:45:31.285Z] $ docker rm -f 61a47795cdc61a920060b3ad6c0c6929f617099a49e3cf44344cdd49d1157b34 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T22:45:32.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T22:45:32.307Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T22:45:33.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T22:45:33.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T22:45:33.828Z] + ls -al . [2022-08-31T22:45:33.828Z] total 228 [2022-08-31T22:45:33.828Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 22:43 . [2022-08-31T22:45:33.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:40 .. [2022-08-31T22:45:33.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 22:41 .git [2022-08-31T22:45:33.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:40 .github [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 22:40 .gitignore [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 22:40 .golangci.yml [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 22:40 Attribution.txt [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 22:40 CHANGELOG.md [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 22:40 Dockerfile [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 22:40 GOVERNANCE.md [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 22:40 Jenkinsfile [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 22:40 LICENSE [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 22:40 Makefile [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 22:40 OWNERS.md [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 22:40 README.md [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 22:38 VERSION [2022-08-31T22:45:33.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 22:40 bin [2022-08-31T22:45:33.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 22:40 cmd [2022-08-31T22:45:33.828Z] -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 22:45 coverage.out [2022-08-31T22:45:33.828Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 22:40 doc [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 22:40 go.mod [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 22:40 go.sum [2022-08-31T22:45:33.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:40 internal [2022-08-31T22:45:33.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 22:40 snap [2022-08-31T22:45:33.828Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:45:34.370Z] + 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=b17657e2c9bb06ed44f1f4fec091d14f7a1cd15c --label arch=arm64 --label version=0.0.0 . [2022-08-31T22:45:34.999Z] Sending build context to Docker daemon 14.31MB [2022-08-31T22:45:34.999Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T22:45:34.999Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-31T22:45:34.999Z] ---> 4844a7ac1f8b [2022-08-31T22:45:34.999Z] Step 3/26 : ARG MAKE="make build" [2022-08-31T22:45:35.278Z] ---> Running in 7c3d5f03ea17 [2022-08-31T22:45:35.553Z] Removing intermediate container 7c3d5f03ea17 [2022-08-31T22:45:35.553Z] ---> ca93b7ffd228 [2022-08-31T22:45:35.553Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T22:45:35.553Z] ---> Running in 51494f28bb37 [2022-08-31T22:45:35.829Z] Removing intermediate container 51494f28bb37 [2022-08-31T22:45:35.829Z] ---> f1cebf45b590 [2022-08-31T22:45:35.829Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T22:45:36.110Z] ---> Running in 59c8962a6b14 [2022-08-31T22:45:36.386Z] Removing intermediate container 59c8962a6b14 [2022-08-31T22:45:36.386Z] ---> 6dfa2155b574 [2022-08-31T22:45:36.386Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-31T22:45:36.386Z] ---> Running in 9da6ab7e11d9 [2022-08-31T22:45:36.666Z] Removing intermediate container 9da6ab7e11d9 [2022-08-31T22:45:36.666Z] ---> 7f491bf40036 [2022-08-31T22:45:36.666Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T22:45:36.666Z] ---> Running in e39fc73be6a4 [2022-08-31T22:45:38.657Z] Removing intermediate container e39fc73be6a4 [2022-08-31T22:45:38.657Z] ---> b35a7969e974 [2022-08-31T22:45:38.657Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T22:45:38.657Z] ---> Running in 3ebed48475ef [2022-08-31T22:45:39.643Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T22:45:40.639Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T22:45:41.236Z] OK: 221 MiB in 51 packages [2022-08-31T22:45:42.218Z] Removing intermediate container 3ebed48475ef [2022-08-31T22:45:42.218Z] ---> 31b52cb63d77 [2022-08-31T22:45:42.218Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-31T22:45:42.218Z] ---> Running in 87b928fadd7f [2022-08-31T22:45:42.490Z] Removing intermediate container 87b928fadd7f [2022-08-31T22:45:42.490Z] ---> b88070398e51 [2022-08-31T22:45:42.490Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-31T22:45:43.088Z] ---> 65c804f6b42a [2022-08-31T22:45:43.088Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T22:45:43.088Z] ---> Running in 61a59ceb5734 [2022-08-31T22:45:45.069Z] Removing intermediate container 61a59ceb5734 [2022-08-31T22:45:45.069Z] ---> 169e3804c92e [2022-08-31T22:45:45.069Z] Step 12/26 : COPY . . [2022-08-31T22:45:46.504Z] ---> a953d556bb6b [2022-08-31T22:45:46.504Z] Step 13/26 : RUN ${MAKE} [2022-08-31T22:45:46.504Z] ---> Running in e36a0e5ccf58 [2022-08-31T22:45:47.486Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-31T22:47:54.335Z] Removing intermediate container e36a0e5ccf58 [2022-08-31T22:47:54.335Z] ---> e779fa86039b [2022-08-31T22:47:54.335Z] Step 14/26 : FROM alpine:3.16 [2022-08-31T22:47:55.310Z] 3.16: Pulling from library/alpine [2022-08-31T22:47:55.310Z] 9b18e9b68314: Pulling fs layer [2022-08-31T22:47:55.582Z] 9b18e9b68314: Verifying Checksum [2022-08-31T22:47:55.582Z] 9b18e9b68314: Download complete [2022-08-31T22:47:56.180Z] 9b18e9b68314: Pull complete [2022-08-31T22:47:56.180Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T22:47:56.180Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T22:47:56.180Z] ---> a6215f271958 [2022-08-31T22:47:56.180Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-31T22:47:56.180Z] ---> Running in ad3119c4575e [2022-08-31T22:47:56.455Z] Removing intermediate container ad3119c4575e [2022-08-31T22:47:56.455Z] ---> a83863321a0b [2022-08-31T22:47:56.455Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T22:47:56.729Z] ---> Running in 4977752c2204 [2022-08-31T22:47:57.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T22:47:57.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T22:47:58.968Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T22:47:58.968Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T22:47:58.968Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T22:47:58.968Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T22:47:58.968Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T22:47:58.968Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T22:47:58.968Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T22:47:58.968Z] OK: 8 MiB in 20 packages [2022-08-31T22:47:59.965Z] Removing intermediate container 4977752c2204 [2022-08-31T22:47:59.965Z] ---> 1b4541c37f7f [2022-08-31T22:47:59.965Z] Step 17/26 : WORKDIR / [2022-08-31T22:47:59.965Z] ---> Running in 60902e512a3c [2022-08-31T22:48:00.238Z] Removing intermediate container 60902e512a3c [2022-08-31T22:48:00.238Z] ---> 2ebba18e205d [2022-08-31T22:48:00.238Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-31T22:48:01.670Z] ---> e1f9cb147e76 [2022-08-31T22:48:01.670Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-31T22:48:02.269Z] ---> 61ced715cdd0 [2022-08-31T22:48:02.269Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-31T22:48:02.554Z] ---> 44cc59b61fac [2022-08-31T22:48:02.554Z] Step 21/26 : EXPOSE 59984 [2022-08-31T22:48:02.829Z] ---> Running in 02cfae501cb9 [2022-08-31T22:48:03.105Z] Removing intermediate container 02cfae501cb9 [2022-08-31T22:48:03.105Z] ---> 7df51143ff40 [2022-08-31T22:48:03.105Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-31T22:48:03.105Z] ---> Running in 16bbadc017a7 [2022-08-31T22:48:03.377Z] Removing intermediate container 16bbadc017a7 [2022-08-31T22:48:03.377Z] ---> 8237945e1277 [2022-08-31T22:48:03.377Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T22:48:03.377Z] ---> Running in 230a25ebc0f8 [2022-08-31T22:48:03.649Z] Removing intermediate container 230a25ebc0f8 [2022-08-31T22:48:03.649Z] ---> 2681d0014c46 [2022-08-31T22:48:03.649Z] Step 24/26 : LABEL arch=arm64 [2022-08-31T22:48:03.649Z] ---> Running in ec28890a0f1b [2022-08-31T22:48:04.245Z] Removing intermediate container ec28890a0f1b [2022-08-31T22:48:04.245Z] ---> 321fccb20e95 [2022-08-31T22:48:04.245Z] Step 25/26 : LABEL git_sha=b17657e2c9bb06ed44f1f4fec091d14f7a1cd15c [2022-08-31T22:48:04.245Z] ---> Running in e760c2e90099 [2022-08-31T22:48:04.520Z] Removing intermediate container e760c2e90099 [2022-08-31T22:48:04.520Z] ---> 8a2156e14b35 [2022-08-31T22:48:04.520Z] Step 26/26 : LABEL version=0.0.0 [2022-08-31T22:48:04.520Z] ---> Running in 9e0c537b6b5a [2022-08-31T22:48:04.795Z] Removing intermediate container 9e0c537b6b5a [2022-08-31T22:48:04.795Z] ---> b818af56351d [2022-08-31T22:48:04.795Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T22:48:04.795Z] Successfully built b818af56351d [2022-08-31T22:48:04.795Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:48:05.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T22:48:05.261Z] [2022-08-31T22:48:05.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:48:05.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T22:48:05.606Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T22:48:05.606Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T22:48:05.606Z] 04944245beec: Pulling fs layer [2022-08-31T22:48:05.606Z] 699f458cf7ca: Pulling fs layer [2022-08-31T22:48:05.606Z] 765212b225bb: Pulling fs layer [2022-08-31T22:48:05.606Z] f23df028b6ca: Pulling fs layer [2022-08-31T22:48:05.606Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T22:48:05.606Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T22:48:05.606Z] f23df028b6ca: Waiting [2022-08-31T22:48:05.606Z] d65c8cfc05b1: Waiting [2022-08-31T22:48:05.606Z] 765212b225bb: Waiting [2022-08-31T22:48:05.606Z] 2437ff75d9bd: Waiting [2022-08-31T22:48:05.878Z] 04944245beec: Verifying Checksum [2022-08-31T22:48:05.878Z] 04944245beec: Download complete [2022-08-31T22:48:05.878Z] 765212b225bb: Download complete [2022-08-31T22:48:05.878Z] f23df028b6ca: Verifying Checksum [2022-08-31T22:48:05.878Z] f23df028b6ca: Download complete [2022-08-31T22:48:05.878Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T22:48:05.878Z] d65c8cfc05b1: Download complete [2022-08-31T22:48:06.164Z] 699f458cf7ca: Verifying Checksum [2022-08-31T22:48:06.164Z] 699f458cf7ca: Download complete [2022-08-31T22:48:06.436Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T22:48:06.436Z] 8998bd30e6a1: Download complete [2022-08-31T22:48:08.419Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T22:48:08.419Z] 2437ff75d9bd: Download complete [2022-08-31T22:48:10.393Z] 8998bd30e6a1: Pull complete [2022-08-31T22:48:10.985Z] 04944245beec: Pull complete [2022-08-31T22:48:12.423Z] 699f458cf7ca: Pull complete [2022-08-31T22:48:12.696Z] 765212b225bb: Pull complete [2022-08-31T22:48:13.293Z] f23df028b6ca: Pull complete [2022-08-31T22:48:13.566Z] d65c8cfc05b1: Pull complete [2022-08-31T22:48:28.633Z] 2437ff75d9bd: Pull complete [2022-08-31T22:48:28.633Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T22:48:28.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T22:48:28.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:48:28.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-24256 does not seem to be running inside a container [2022-08-31T22:48:28.979Z] $ 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/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T22:48:31.792Z] $ docker top e53701c526bc611b8bfa87210a942eb58d291ffc7f5e037b3b691991f7471955 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:32.725Z] ---> job-cost.sh [2022-08-31T22:48:32.725Z] lf-activate-venv: SKIPPING [2022-08-31T22:48:32.725Z] INFO: No Stack... [2022-08-31T22:48:33.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T22:48:33.912Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T22:48:34.846Z] + cut -d, -f6 [2022-08-31T22:48:34.846Z] + cat /w/workspace/device-onvif-camera/26/archives/cost.csv [Pipeline] lock [2022-08-31T22:48:34.907Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [2022-08-31T22:48:34.917Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] did not exist. Created. [2022-08-31T22:48:34.917Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T22:48:35.601Z] /w/workspace/device-onvif-camera/26@tmp/durable-b38a01d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T22:48:36.275Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T22:48:36.305Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T22:48:36.359Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T22:48:36.369Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T22:48:36.395Z] $ docker stop --time=1 e53701c526bc611b8bfa87210a942eb58d291ffc7f5e037b3b691991f7471955 [2022-08-31T22:48:37.907Z] $ docker rm -f e53701c526bc611b8bfa87210a942eb58d291ffc7f5e037b3b691991f7471955 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-31T22:48:38.376Z] provisioning config files... [2022-08-31T22:48:38.385Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1533788204595728352tmp [Pipeline] { [Pipeline] sh [2022-08-31T22:48:38.682Z] + set +x [2022-08-31T22:48:38.682Z] + curl -s https://codecov.io/bash [2022-08-31T22:48:38.682Z] + bash -s -- [2022-08-31T22:48:38.682Z] [2022-08-31T22:48:38.682Z] _____ _ [2022-08-31T22:48:38.682Z] / ____| | | [2022-08-31T22:48:38.682Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T22:48:38.682Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T22:48:38.682Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T22:48:38.682Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T22:48:38.682Z] Bash-1.0.6 [2022-08-31T22:48:38.682Z] [2022-08-31T22:48:38.682Z] [2022-08-31T22:48:38.682Z] ==> git version 2.25.1 found [2022-08-31T22:48:38.682Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-31T22:48:38.682Z] Release-Date: 2020-01-08 [2022-08-31T22:48:38.682Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-31T22:48:38.682Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T22:48:38.682Z] ==> Jenkins CI detected. [2022-08-31T22:48:38.682Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T22:48:38.682Z] project root: . [2022-08-31T22:48:38.682Z] --> token set from env [2022-08-31T22:48:38.682Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T22:48:38.682Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T22:48:38.682Z] ==> Python coveragepy not found [2022-08-31T22:48:38.682Z] ==> Searching for coverage reports in: [2022-08-31T22:48:38.682Z] + . [2022-08-31T22:48:38.682Z] -> Found 1 reports [2022-08-31T22:48:38.682Z] ==> Detecting git/mercurial file structure [2022-08-31T22:48:38.682Z] ==> Reading reports [2022-08-31T22:48:38.682Z] + ./coverage.out bytes=77457 [2022-08-31T22:48:38.943Z] ==> Appending adjustments [2022-08-31T22:48:38.944Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T22:48:38.944Z] + Found adjustments [2022-08-31T22:48:38.944Z] ==> Gzipping contents [2022-08-31T22:48:38.944Z] 12K /tmp/codecov.m5wa82.gz [2022-08-31T22:48:38.944Z] ==> Uploading reports [2022-08-31T22:48:38.944Z] url: https://codecov.io [2022-08-31T22:48:38.944Z] query: branch=PR-149&commit=dbab053e7c9dde6ca2e2beda12ae87382229f87e&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-31T22:48:38.944Z] -> Pinging Codecov [2022-08-31T22:48:38.944Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-149&commit=dbab053e7c9dde6ca2e2beda12ae87382229f87e&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-149%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=149&job=&cmd_args= [2022-08-31T22:48:39.205Z] -> Uploading to [2022-08-31T22:48:39.205Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/F29A59C45E3A92E06B3E522C9905F8EF/dbab053e7c9dde6ca2e2beda12ae87382229f87e/312649ba-87b4-4fcb-9355-0f4b247c4669.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T224839Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43e067c5e8614bafcd5b5dc951deee94b6c87fdf5279cc2b0f7bbd0d29053c7c [2022-08-31T22:48:39.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T22:48:39.465Z] Dload Upload Total Spent Left Speed [2022-08-31T22:48:39.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10703 0 0 100 10703 0 47149 --:--:-- --:--:-- --:--:-- 46942 100 10703 0 0 100 10703 0 44595 --:--:-- --:--:-- --:--:-- 44410 [2022-08-31T22:48:39.465Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/dbab053e7c9dde6ca2e2beda12ae87382229f87e [Pipeline] } [2022-08-31T22:48:39.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-31T22:48:40.199Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-31T22:48:40.199Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T22:48:40.199Z] total 16 [2022-08-31T22:48:40.199Z] drwxr-xr-x 3 root root 4096 Aug 31 22:40 . [2022-08-31T22:48:40.199Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:40 .. [2022-08-31T22:48:40.199Z] drwxr-xr-x 2 root root 4096 Aug 31 22:40 cost [2022-08-31T22:48:40.199Z] -rw-r--r-- 1 root root 92 Aug 31 22:40 cost.csv [2022-08-31T22:48:40.199Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T22:48:40.199Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-31T22:48:40.199Z] total 16 [2022-08-31T22:48:40.199Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 22:40 . [2022-08-31T22:48:40.199Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 22:40 .. [2022-08-31T22:48:40.199Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 22:40 cost [2022-08-31T22:48:40.199Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 31 22:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:40.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:41.359Z] ---> package-listing.sh [2022-08-31T22:48:41.359Z] ++ facter osfamily [2022-08-31T22:48:41.359Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T22:48:41.618Z] + OS_FAMILY=debian [2022-08-31T22:48:41.618Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-31T22:48:41.618Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T22:48:41.618Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T22:48:41.618Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T22:48:41.618Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T22:48:41.618Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T22:48:41.618Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T22:48:41.618Z] + case "${OS_FAMILY}" in [2022-08-31T22:48:41.618Z] + dpkg -l [2022-08-31T22:48:41.618Z] + grep '^ii' [2022-08-31T22:48:41.618Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T22:48:41.618Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T22:48:41.618Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T22:48:41.618Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-31T22:48:41.618Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-31T22:48:41.618Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-31T22:48:41.630Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T22:48:41.907Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T22:48:42.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T22:48:42.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T22:48:42.556Z] prd-ubuntu20.04-docker-8c-8g-24254 does not seem to be running inside a container [2022-08-31T22:48:42.585Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T22:48:43.479Z] $ docker top 2ef7e775f667b1aec61b2d7a254e037f32e0201f9bcf1ac088ae12ba8c8c3a83 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T22:48:43.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T22:48:44.120Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T22:48:44.408Z] + ls /var/log/sa-host [2022-08-31T22:48:44.409Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T22:48:44.489Z] provisioning config files... [2022-08-31T22:48:44.499Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6183499046312278352tmp [Pipeline] { [Pipeline] echo [2022-08-31T22:48:44.519Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:44.802Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T22:48:44.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:45.161Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T22:48:45.170Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:45.457Z] ---> sudo-logs.sh [2022-08-31T22:48:45.457Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T22:48:45.479Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:45.761Z] ---> job-cost.sh [2022-08-31T22:48:45.761Z] lf-activate-venv: SKIPPING [2022-08-31T22:48:45.761Z] DEBUG: total: 0.2199999988079071 [2022-08-31T22:48:45.761Z] INFO: Retrieving Stack Cost... [2022-08-31T22:48:46.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T22:48:46.593Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T22:48:46.606Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T22:48:46.893Z] ---> logs-deploy.sh [2022-08-31T22:48:46.893Z] lf-activate-venv: SKIPPING [2022-08-31T22:48:46.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/26 [2022-08-31T22:48:46.893Z] INFO: archiving workspace using pattern(s): [2022-08-31T22:48:47.832Z] Archives upload complete. [2022-08-31T22:48:48.092Z] INFO: archiving logs to Nexus