Pull request #161 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than cb8adc2a121b654032cd11a61f1f4d648e4e07e2 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9054513015215316204.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-ssh13962169558095759359.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3198501174650634372.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-ssh8517900304734793925.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh262402892861179075.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 ‘prd-ubuntu20.04-docker-8c-8g-30010’ is offline Running on prd-ubuntu20.04-docker-8c-8g-30013 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-161 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit cb8adc2a121b654032cd11a61f1f4d648e4e07e2 Merge succeeded, producing 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a Checking out Revision 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a (PR-161) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb8adc2a121b654032cd11a61f1f4d648e4e07e2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T23:04:28.732Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T23:04:28.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T23:04:28.811Z] ========================================================= [2022-09-20T23:04:28.811Z] EdgeX Global Pipelines Version Info [2022-09-20T23:04:28.811Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ee863d80d5781c421c4d98fd3037029426b69d47 # timeout=10 [2022-09-20T23:04:29.553Z] ------------------- [2022-09-20T23:04:29.553Z] stable info: [2022-09-20T23:04:29.553Z] ------------------- [2022-09-20T23:04:29.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T23:04:29.553Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T23:04:29.553Z] Message: update stable to v1.0.239 [2022-09-20T23:04:30.199Z] ------------------- [2022-09-20T23:04:30.199Z] experimental info: [2022-09-20T23:04:30.199Z] ------------------- [2022-09-20T23:04:30.199Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T23:04:30.199Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T23:04:30.199Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T23:04:30.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-20T23:04:30.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-20T23:04:30.395Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T23:04:30.410Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T23:04:30.421Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T23:04:30.432Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T23:04:30.443Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T23:04:30.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-20T23:04:30.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T23:04:30.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T23:04:30.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T23:04:30.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-20T23:04:30.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T23:04:30.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T23:04:30.536Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T23:04:30.552Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T23:04:30.564Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T23:04:30.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T23:04:30.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T23:04:30.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T23:04:30.618Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T23:04:30.629Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-20T23:04:30.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T23:04:30.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T23:04:30.669Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T23:04:30.681Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T23:04:30.695Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T23:04:30.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-20T23:04:30.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-20T23:04:30.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-20T23:04:30.751Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo [2022-09-20T23:04:30.765Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e31cd8 [Pipeline] echo [2022-09-20T23:04:30.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T23:04:30.819Z] provisioning config files... [2022-09-20T23:04:30.835Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5962070825671126974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:04:31.142Z] ---> docker-login.sh [2022-09-20T23:04:31.142Z] nexus3.edgexfoundry.org:10001 [2022-09-20T23:04:31.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:31.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:31.404Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:31.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:31.404Z] [2022-09-20T23:04:31.404Z] Login Succeeded [2022-09-20T23:04:31.404Z] nexus3.edgexfoundry.org:10002 [2022-09-20T23:04:31.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:31.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:31.665Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:31.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:31.665Z] [2022-09-20T23:04:31.665Z] Login Succeeded [2022-09-20T23:04:31.665Z] nexus3.edgexfoundry.org:10003 [2022-09-20T23:04:31.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:31.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:31.665Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:31.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:31.665Z] [2022-09-20T23:04:31.665Z] Login Succeeded [2022-09-20T23:04:31.665Z] nexus3.edgexfoundry.org:10004 [2022-09-20T23:04:31.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:31.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:31.926Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:31.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:31.926Z] [2022-09-20T23:04:31.926Z] Login Succeeded [2022-09-20T23:04:31.926Z] docker.io [2022-09-20T23:04:31.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:32.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:32.499Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:32.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:32.499Z] [2022-09-20T23:04:32.499Z] Login Succeeded [2022-09-20T23:04:32.499Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T23:04:32.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T23:04:32.886Z] + git rev-list -1 --merges 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a~1..4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo [2022-09-20T23:04:32.915Z] -----------> git rev-list -1 --merges 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a~1..4e31cd800a5b1ff0ea34fe4c0be91ff04168766a 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [2022-09-20T23:04:32.915Z] 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [false] [Pipeline] sh [2022-09-20T23:04:33.206Z] + git log --format=format:%s -1 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo [2022-09-20T23:04:33.224Z] ========================================================= [2022-09-20T23:04:33.224Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T23:04:33.224Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T23:04:33.561Z] + git log --format=format:%s -1 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] echo [2022-09-20T23:04:33.576Z] [semverPrep] GIT_COMMIT: 4e31cd800a5b1ff0ea34fe4c0be91ff04168766a, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-20T23:04:33.587Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T23:04:33.953Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T23:04:33.953Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T23:04:33.953Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T23:04:33.953Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T23:04:33.953Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T23:04:33.953Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T23:04:33.953Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:04:34.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T23:04:34.380Z] [2022-09-20T23:04:34.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:04:34.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T23:04:34.685Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T23:04:34.685Z] b85a868b505f: Pulling fs layer [2022-09-20T23:04:34.685Z] e2be974225ed: Pulling fs layer [2022-09-20T23:04:34.685Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T23:04:34.685Z] 988bab9f4d93: Pulling fs layer [2022-09-20T23:04:34.685Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T23:04:34.685Z] eaf3925da568: Pulling fs layer [2022-09-20T23:04:34.685Z] bab4dde63d76: Pulling fs layer [2022-09-20T23:04:34.685Z] bde34c3a00c8: Pulling fs layer [2022-09-20T23:04:34.685Z] b352a97aabf1: Pulling fs layer [2022-09-20T23:04:34.685Z] 4872d77fe225: Pulling fs layer [2022-09-20T23:04:34.685Z] 5851b861e8e6: Pulling fs layer [2022-09-20T23:04:34.685Z] 1469e6f7b9e6: Waiting [2022-09-20T23:04:34.685Z] bab4dde63d76: Waiting [2022-09-20T23:04:34.685Z] b352a97aabf1: Waiting [2022-09-20T23:04:34.685Z] 4872d77fe225: Waiting [2022-09-20T23:04:34.685Z] eaf3925da568: Waiting [2022-09-20T23:04:34.685Z] bde34c3a00c8: Waiting [2022-09-20T23:04:34.685Z] 988bab9f4d93: Waiting [2022-09-20T23:04:34.685Z] e2be974225ed: Verifying Checksum [2022-09-20T23:04:34.685Z] e2be974225ed: Download complete [2022-09-20T23:04:34.685Z] 988bab9f4d93: Verifying Checksum [2022-09-20T23:04:34.685Z] 988bab9f4d93: Download complete [2022-09-20T23:04:34.946Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T23:04:34.946Z] 339a4e72a1f5: Download complete [2022-09-20T23:04:34.946Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T23:04:34.946Z] 1469e6f7b9e6: Download complete [2022-09-20T23:04:34.946Z] eaf3925da568: Verifying Checksum [2022-09-20T23:04:34.946Z] eaf3925da568: Download complete [2022-09-20T23:04:34.946Z] bde34c3a00c8: Download complete [2022-09-20T23:04:34.946Z] b352a97aabf1: Download complete [2022-09-20T23:04:34.946Z] 4872d77fe225: Download complete [2022-09-20T23:04:34.946Z] 5851b861e8e6: Verifying Checksum [2022-09-20T23:04:34.946Z] 5851b861e8e6: Download complete [2022-09-20T23:04:34.946Z] b85a868b505f: Verifying Checksum [2022-09-20T23:04:34.946Z] b85a868b505f: Download complete [2022-09-20T23:04:35.206Z] bab4dde63d76: Verifying Checksum [2022-09-20T23:04:35.206Z] bab4dde63d76: Download complete [2022-09-20T23:04:36.590Z] b85a868b505f: Pull complete [2022-09-20T23:04:36.590Z] e2be974225ed: Pull complete [2022-09-20T23:04:37.162Z] 339a4e72a1f5: Pull complete [2022-09-20T23:04:37.162Z] 988bab9f4d93: Pull complete [2022-09-20T23:04:37.422Z] 1469e6f7b9e6: Pull complete [2022-09-20T23:04:37.685Z] eaf3925da568: Pull complete [2022-09-20T23:04:39.597Z] bab4dde63d76: Pull complete [2022-09-20T23:04:39.597Z] bde34c3a00c8: Pull complete [2022-09-20T23:04:39.859Z] b352a97aabf1: Pull complete [2022-09-20T23:04:39.859Z] 4872d77fe225: Pull complete [2022-09-20T23:04:40.122Z] 5851b861e8e6: Pull complete [2022-09-20T23:04:40.122Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T23:04:40.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T23:04:40.122Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:04:40.230Z] prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container [2022-09-20T23:04:40.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T23:04:41.489Z] $ docker top 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 -eo pid,comm [2022-09-20T23:04:41.557Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-20T23:04:41.557Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T23:04:41.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T23:04:41.591Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T23:04:41.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T23:04:41.737Z] $ docker exec 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent [2022-09-20T23:04:41.858Z] SSH_AUTH_SOCK=/tmp/ssh-Xth9GTHncPcT/agent.34 [2022-09-20T23:04:41.858Z] SSH_AGENT_PID=40 [2022-09-20T23:04:41.868Z] Running ssh-add (command line suppressed) [2022-09-20T23:04:41.995Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1986769344823175417.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_1986769344823175417.key) [2022-09-20T23:04:42.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T23:04:42.304Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T23:04:42.325Z] $ docker exec --env ******** --env ******** 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent -k [2022-09-20T23:04:42.431Z] unset SSH_AUTH_SOCK; [2022-09-20T23:04:42.431Z] unset SSH_AGENT_PID; [2022-09-20T23:04:42.431Z] echo Agent pid 40 killed; [2022-09-20T23:04:42.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T23:04:42.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T23:04:42.472Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T23:04:42.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T23:04:42.598Z] $ docker exec 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent [2022-09-20T23:04:42.729Z] SSH_AUTH_SOCK=/tmp/ssh-cPku3bPOj3uF/agent.72 [2022-09-20T23:04:42.729Z] SSH_AGENT_PID=79 [2022-09-20T23:04:42.733Z] Running ssh-add (command line suppressed) [2022-09-20T23:04:42.851Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_656913720731640552.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_656913720731640552.key) [2022-09-20T23:04:42.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T23:04:43.159Z] + git semver init [2022-09-20T23:04:43.419Z] 2022-09-20 23:04:43,357 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T23:04:43.419Z] 2022-09-20 23:04:43,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-20T23:04:43.419Z] 2022-09-20 23:04:43,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-20T23:04:43.419Z] 2022-09-20 23:04:43,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-161/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-161, universal_newlines=False, shell=None, istream=None) [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,294 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,294 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 with force:False [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,294 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,298 [execute] INFO git cat-file --batch-check [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,305 [execute] INFO git cat-file --batch [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2022-09-20T23:04:44.373Z] 2022-09-20 23:04:44,311 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T23:04:44.373Z] 0.0.0 [Pipeline] } [2022-09-20T23:04:44.386Z] $ docker exec --env ******** --env ******** 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 ssh-agent -k [2022-09-20T23:04:44.498Z] unset SSH_AUTH_SOCK; [2022-09-20T23:04:44.499Z] unset SSH_AGENT_PID; [2022-09-20T23:04:44.499Z] echo Agent pid 79 killed; [2022-09-20T23:04:44.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T23:04:44.807Z] + git semver [Pipeline] } [2022-09-20T23:04:45.085Z] $ docker stop --time=1 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 [2022-09-20T23:04:46.411Z] $ docker rm -f 7bb33742d7c67f0ab69551544cb51a5b4bd2a5cd5c98e6f6aacad6a258b5c593 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T23:04:46.758Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T23:04:47.007Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T23:04:47.010Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T23:04:47.105Z] provisioning config files... [2022-09-20T23:04:47.115Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config1961694364886332567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:04:47.414Z] ---> docker-login.sh [2022-09-20T23:04:47.414Z] nexus3.edgexfoundry.org:10001 [2022-09-20T23:04:47.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:47.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:47.414Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:47.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:47.414Z] [2022-09-20T23:04:47.414Z] Login Succeeded [2022-09-20T23:04:47.414Z] nexus3.edgexfoundry.org:10002 [2022-09-20T23:04:47.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:47.674Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:47.674Z] [2022-09-20T23:04:47.674Z] Login Succeeded [2022-09-20T23:04:47.674Z] nexus3.edgexfoundry.org:10003 [2022-09-20T23:04:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:47.674Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:47.674Z] [2022-09-20T23:04:47.674Z] Login Succeeded [2022-09-20T23:04:47.674Z] nexus3.edgexfoundry.org:10004 [2022-09-20T23:04:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:47.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:47.934Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:47.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:47.934Z] [2022-09-20T23:04:47.934Z] Login Succeeded [2022-09-20T23:04:47.934Z] docker.io [2022-09-20T23:04:47.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:04:48.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:04:48.195Z] Configure a credential helper to remove this warning. See [2022-09-20T23:04:48.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:04:48.195Z] [2022-09-20T23:04:48.195Z] Login Succeeded [2022-09-20T23:04:48.195Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T23:04:48.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T23:04:48.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T23:04:48.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T23:04:48.294Z] ========================================================= [2022-09-20T23:04:48.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T23:04:48.294Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:04:48.616Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-20T23:04:48.616Z] Sending build context to Docker daemon 20.79MB [2022-09-20T23:04:48.616Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T23:04:48.616Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T23:04:48.878Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T23:04:48.878Z] 2408cc74d12b: Pulling fs layer [2022-09-20T23:04:48.878Z] ea60b727a1ce: Pulling fs layer [2022-09-20T23:04:48.878Z] 30c4a7721957: Pulling fs layer [2022-09-20T23:04:48.878Z] 370296b7ddb6: Pulling fs layer [2022-09-20T23:04:48.878Z] 7c6cee850709: Pulling fs layer [2022-09-20T23:04:48.878Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T23:04:48.878Z] d94ebbe4e438: Pulling fs layer [2022-09-20T23:04:48.878Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T23:04:48.878Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T23:04:48.878Z] 370296b7ddb6: Waiting [2022-09-20T23:04:48.878Z] 7c6cee850709: Waiting [2022-09-20T23:04:48.878Z] 39a5fcdaea64: Waiting [2022-09-20T23:04:48.878Z] bcfd1f05c69d: Waiting [2022-09-20T23:04:48.878Z] d94ebbe4e438: Waiting [2022-09-20T23:04:48.878Z] 59ccb84bbe0f: Waiting [2022-09-20T23:04:48.878Z] 30c4a7721957: Download complete [2022-09-20T23:04:48.878Z] ea60b727a1ce: Download complete [2022-09-20T23:04:48.878Z] 7c6cee850709: Download complete [2022-09-20T23:04:48.878Z] 39a5fcdaea64: Verifying Checksum [2022-09-20T23:04:48.878Z] 39a5fcdaea64: Download complete [2022-09-20T23:04:48.878Z] 2408cc74d12b: Verifying Checksum [2022-09-20T23:04:48.878Z] 2408cc74d12b: Download complete [2022-09-20T23:04:48.878Z] d94ebbe4e438: Verifying Checksum [2022-09-20T23:04:48.878Z] 2408cc74d12b: Pull complete [2022-09-20T23:04:49.145Z] ea60b727a1ce: Pull complete [2022-09-20T23:04:49.145Z] 30c4a7721957: Pull complete [2022-09-20T23:04:49.409Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T23:04:49.409Z] 59ccb84bbe0f: Download complete [2022-09-20T23:04:49.668Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T23:04:49.668Z] bcfd1f05c69d: Download complete [2022-09-20T23:04:49.668Z] 370296b7ddb6: Verifying Checksum [2022-09-20T23:04:49.668Z] 370296b7ddb6: Download complete [2022-09-20T23:04:53.870Z] 370296b7ddb6: Pull complete [2022-09-20T23:04:53.870Z] 7c6cee850709: Pull complete [2022-09-20T23:04:53.870Z] 39a5fcdaea64: Pull complete [2022-09-20T23:04:53.870Z] d94ebbe4e438: Pull complete [2022-09-20T23:04:55.789Z] bcfd1f05c69d: Pull complete [2022-09-20T23:04:56.050Z] 59ccb84bbe0f: Pull complete [2022-09-20T23:04:56.050Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T23:04:56.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T23:04:56.050Z] ---> a4fb48ad2a94 [2022-09-20T23:04:56.050Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T23:04:57.436Z] ---> Running in f3e96902b43e [2022-09-20T23:04:57.436Z] Removing intermediate container f3e96902b43e [2022-09-20T23:04:57.436Z] ---> 6355df845516 [2022-09-20T23:04:57.436Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T23:04:57.436Z] ---> Running in 092017b56ec9 [2022-09-20T23:04:57.696Z] Removing intermediate container 092017b56ec9 [2022-09-20T23:04:57.696Z] ---> 7182cde26d43 [2022-09-20T23:04:57.696Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T23:04:57.696Z] ---> Running in f26ad32f390e [2022-09-20T23:04:57.696Z] Removing intermediate container f26ad32f390e [2022-09-20T23:04:57.696Z] ---> ced099b295a6 [2022-09-20T23:04:57.696Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T23:04:57.696Z] ---> Running in 6c8d2ab2ea6f [2022-09-20T23:04:57.696Z] Removing intermediate container 6c8d2ab2ea6f [2022-09-20T23:04:57.696Z] ---> 85f615edc206 [2022-09-20T23:04:57.696Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T23:04:57.956Z] ---> Running in fea7f68ccf5f [2022-09-20T23:04:58.218Z] Removing intermediate container fea7f68ccf5f [2022-09-20T23:04:58.218Z] ---> fc47dc07ddf7 [2022-09-20T23:04:58.218Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T23:04:58.478Z] ---> Running in 5fd3dbc2f213 [2022-09-20T23:04:58.738Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T23:04:59.310Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T23:04:59.881Z] OK: 211 MiB in 51 packages [2022-09-20T23:05:00.142Z] Removing intermediate container 5fd3dbc2f213 [2022-09-20T23:05:00.142Z] ---> c5978a29916c [2022-09-20T23:05:00.142Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T23:05:00.142Z] ---> Running in a4bf8400510b [2022-09-20T23:05:00.142Z] Removing intermediate container a4bf8400510b [2022-09-20T23:05:00.142Z] ---> 8462db6ae6cc [2022-09-20T23:05:00.142Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T23:05:00.402Z] ---> 5bd7cc47d876 [2022-09-20T23:05:00.402Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T23:05:00.402Z] ---> Running in d285663cfcd0 [2022-09-20T23:05:02.079Z] Still waiting to schedule task [2022-09-20T23:05:02.080Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-30011’ is offline [2022-09-20T23:05:18.813Z] Removing intermediate container d285663cfcd0 [2022-09-20T23:05:18.813Z] ---> 376ffafef183 [2022-09-20T23:05:18.813Z] Step 12/13 : COPY . . [2022-09-20T23:05:18.813Z] ---> fd53ecce29f8 [2022-09-20T23:05:18.813Z] Step 13/13 : RUN ${MAKE} [2022-09-20T23:05:18.813Z] ---> Running in 7173e58db16d [2022-09-20T23:05:18.813Z] noop [2022-09-20T23:05:18.813Z] Removing intermediate container 7173e58db16d [2022-09-20T23:05:18.813Z] ---> 964638c2865e [2022-09-20T23:05:18.813Z] Successfully built 964638c2865e [2022-09-20T23:05:18.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:05:19.131Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T23:05:19.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:05:19.212Z] prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container [2022-09-20T23:05:19.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T23:05:19.586Z] $ docker top 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:05:19.944Z] + go version [2022-09-20T23:05:19.944Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T23:05:19.957Z] $ docker stop --time=1 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 [2022-09-20T23:05:21.223Z] $ docker rm -f 0c564925f48fe5aeef5bd0f60711de51446b41a687262c271647db31cb43f0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:05:21.627Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T23:05:21.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:05:21.713Z] prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container [2022-09-20T23:05:21.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T23:05:22.114Z] $ docker top 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:05:22.469Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-20T23:05:22.766Z] + make test [2022-09-20T23:05:22.766Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T23:05:23.025Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T23:05:35.229Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T23:05:35.229Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.6% of statements [2022-09-20T23:05:35.229Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T23:05:37.137Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.151s coverage: 13.8% of statements [2022-09-20T23:05:43.710Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-20T23:05:43.710Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T23:05:47.012Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T23:05:47.012Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T23:05:47.012Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T23:05:47.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T23:05:47.039Z] $ docker stop --time=1 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 [2022-09-20T23:05:48.898Z] $ docker rm -f 78bf7c9aa2388cc1784f6c15f168b14a79a39207fc1d0e4d2c5c82c54fe51e33 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T23:05:49.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T23:05:49.413Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T23:05:49.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T23:05:50.203Z] + ls -al . [2022-09-20T23:05:50.204Z] total 232 [2022-09-20T23:05:50.204Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 23:05 . [2022-09-20T23:05:50.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 .. [2022-09-20T23:05:50.204Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 23:05 .git [2022-09-20T23:05:50.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:04 .github [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 23:04 .gitignore [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 23:04 .golangci.yml [2022-09-20T23:05:50.204Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 23:04 .semver [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 23:04 Attribution.txt [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 23:04 CHANGELOG.md [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 23:04 Dockerfile [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 23:04 GOVERNANCE.md [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 23:04 Jenkinsfile [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 23:04 LICENSE [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 23:04 Makefile [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 23:04 OWNERS.md [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 23:04 README.md [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 23:04 VERSION [2022-09-20T23:05:50.204Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 23:04 bin [2022-09-20T23:05:50.204Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:04 cmd [2022-09-20T23:05:50.204Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 23:05 coverage.out [2022-09-20T23:05:50.204Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 23:04 doc [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 23:04 go.mod [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 23:04 go.sum [2022-09-20T23:05:50.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 internal [2022-09-20T23:05:50.204Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:04 snap [2022-09-20T23:05:50.204Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:05:50.523Z] + 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=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a --label arch=amd64 --label version=0.0.0 . [2022-09-20T23:05:50.523Z] Sending build context to Docker daemon 20.87MB [2022-09-20T23:05:50.523Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T23:05:50.523Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T23:05:50.523Z] ---> 964638c2865e [2022-09-20T23:05:50.523Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T23:05:50.783Z] ---> Running in 3dbd1b6e9c41 [2022-09-20T23:05:50.783Z] Removing intermediate container 3dbd1b6e9c41 [2022-09-20T23:05:50.783Z] ---> 33eff2487a05 [2022-09-20T23:05:50.783Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T23:05:50.783Z] ---> Running in 61717bed2035 [2022-09-20T23:05:51.044Z] Removing intermediate container 61717bed2035 [2022-09-20T23:05:51.044Z] ---> 6df41864ca2f [2022-09-20T23:05:51.044Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T23:05:51.044Z] ---> Running in 29c216086993 [2022-09-20T23:05:51.044Z] Removing intermediate container 29c216086993 [2022-09-20T23:05:51.044Z] ---> f4512af2de0b [2022-09-20T23:05:51.044Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T23:05:51.044Z] ---> Running in cfc8e1eeef11 [2022-09-20T23:05:51.305Z] Removing intermediate container cfc8e1eeef11 [2022-09-20T23:05:51.305Z] ---> 1ff7e71dccde [2022-09-20T23:05:51.305Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T23:05:51.305Z] ---> Running in 393e8057cc70 [2022-09-20T23:05:51.879Z] Removing intermediate container 393e8057cc70 [2022-09-20T23:05:51.879Z] ---> 7bc692b32b06 [2022-09-20T23:05:51.879Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T23:05:51.879Z] ---> Running in 39dadcadaaba [2022-09-20T23:05:52.138Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T23:05:53.080Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T23:05:53.081Z] OK: 211 MiB in 51 packages [2022-09-20T23:05:53.340Z] Removing intermediate container 39dadcadaaba [2022-09-20T23:05:53.341Z] ---> 6bfeb2056b75 [2022-09-20T23:05:53.341Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T23:05:53.341Z] ---> Running in 6c023301b5e0 [2022-09-20T23:05:53.604Z] Removing intermediate container 6c023301b5e0 [2022-09-20T23:05:53.604Z] ---> 6c2c691b1a93 [2022-09-20T23:05:53.604Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T23:05:53.604Z] ---> fba0c2f8eb81 [2022-09-20T23:05:53.604Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T23:05:53.867Z] ---> Running in fa48211d1141 [2022-09-20T23:05:54.438Z] Removing intermediate container fa48211d1141 [2022-09-20T23:05:54.438Z] ---> 21c89d0e2d36 [2022-09-20T23:05:54.438Z] Step 12/26 : COPY . . [2022-09-20T23:05:55.029Z] ---> 8924f91f991a [2022-09-20T23:05:55.029Z] Step 13/26 : RUN ${MAKE} [2022-09-20T23:05:55.029Z] ---> Running in 84351872c2f5 [2022-09-20T23:05:55.289Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-20T23:06:17.239Z] Removing intermediate container 84351872c2f5 [2022-09-20T23:06:17.239Z] ---> 56c68d0c6317 [2022-09-20T23:06:17.239Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T23:06:17.239Z] 3.16: Pulling from library/alpine [2022-09-20T23:06:17.239Z] 213ec9aee27d: Pulling fs layer [2022-09-20T23:06:17.239Z] 213ec9aee27d: Verifying Checksum [2022-09-20T23:06:17.239Z] 213ec9aee27d: Download complete [2022-09-20T23:06:17.239Z] 213ec9aee27d: Pull complete [2022-09-20T23:06:17.239Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T23:06:17.239Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T23:06:17.239Z] ---> 9c6f07244728 [2022-09-20T23:06:17.239Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T23:06:17.239Z] ---> Running in fc238d38ef73 [2022-09-20T23:06:17.239Z] Removing intermediate container fc238d38ef73 [2022-09-20T23:06:17.239Z] ---> 9ce5741c3125 [2022-09-20T23:06:17.239Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T23:06:17.239Z] ---> Running in 7824e8ce9f8b [2022-09-20T23:06:17.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T23:06:17.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T23:06:17.239Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T23:06:17.239Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T23:06:17.239Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T23:06:17.239Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T23:06:17.239Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T23:06:17.239Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T23:06:17.239Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T23:06:17.239Z] OK: 8 MiB in 20 packages [2022-09-20T23:06:17.239Z] Removing intermediate container 7824e8ce9f8b [2022-09-20T23:06:17.239Z] ---> 98f01f33f798 [2022-09-20T23:06:17.239Z] Step 17/26 : WORKDIR / [2022-09-20T23:06:17.239Z] ---> Running in 5acd91bd2d4b [2022-09-20T23:06:17.239Z] Removing intermediate container 5acd91bd2d4b [2022-09-20T23:06:17.239Z] ---> 7413c57def3d [2022-09-20T23:06:17.239Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T23:06:17.809Z] ---> cca9d5aae2c1 [2022-09-20T23:06:17.809Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T23:06:17.809Z] ---> a021f2abe872 [2022-09-20T23:06:17.809Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T23:06:18.070Z] ---> 768d84672195 [2022-09-20T23:06:18.070Z] Step 21/26 : EXPOSE 59984 [2022-09-20T23:06:18.070Z] ---> Running in b06bbda1de65 [2022-09-20T23:06:18.070Z] Removing intermediate container b06bbda1de65 [2022-09-20T23:06:18.070Z] ---> df6e2428e3ce [2022-09-20T23:06:18.070Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T23:06:18.331Z] ---> Running in b69f641e9dcb [2022-09-20T23:06:18.331Z] Removing intermediate container b69f641e9dcb [2022-09-20T23:06:18.331Z] ---> 24a2892ca295 [2022-09-20T23:06:18.331Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T23:06:18.331Z] ---> Running in 505c90b24a61 [2022-09-20T23:06:18.331Z] Removing intermediate container 505c90b24a61 [2022-09-20T23:06:18.331Z] ---> d6ad45007d03 [2022-09-20T23:06:18.331Z] Step 24/26 : LABEL arch=amd64 [2022-09-20T23:06:18.331Z] ---> Running in b541869247cf [2022-09-20T23:06:18.592Z] Removing intermediate container b541869247cf [2022-09-20T23:06:18.592Z] ---> 3765d32166c7 [2022-09-20T23:06:18.592Z] Step 25/26 : LABEL git_sha=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [2022-09-20T23:06:18.592Z] ---> Running in 3911cab62992 [2022-09-20T23:06:18.592Z] Removing intermediate container 3911cab62992 [2022-09-20T23:06:18.592Z] ---> 3d9cfc72629a [2022-09-20T23:06:18.592Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T23:06:18.592Z] ---> Running in 17f302472a98 [2022-09-20T23:06:18.592Z] Removing intermediate container 17f302472a98 [2022-09-20T23:06:18.592Z] ---> 1ea4536d8efe [2022-09-20T23:06:18.592Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T23:06:18.592Z] Successfully built 1ea4536d8efe [2022-09-20T23:06:18.592Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:06:19.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T23:06:19.066Z] [2022-09-20T23:06:19.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:06:19.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T23:06:19.376Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T23:06:19.376Z] 5eb5b503b376: Pulling fs layer [2022-09-20T23:06:19.376Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T23:06:19.376Z] ec43610c2a17: Pulling fs layer [2022-09-20T23:06:19.376Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T23:06:19.376Z] 33b1e0a273af: Pulling fs layer [2022-09-20T23:06:19.376Z] 3a2ae6a8a46f: Waiting [2022-09-20T23:06:19.376Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T23:06:19.376Z] 2f39f015ded8: Pulling fs layer [2022-09-20T23:06:19.376Z] 33b1e0a273af: Waiting [2022-09-20T23:06:19.376Z] 5d3b04190fa2: Waiting [2022-09-20T23:06:19.376Z] 2f39f015ded8: Waiting [2022-09-20T23:06:19.376Z] 5c69ac0246d0: Verifying Checksum [2022-09-20T23:06:19.376Z] 5c69ac0246d0: Download complete [2022-09-20T23:06:19.376Z] 33b1e0a273af: Verifying Checksum [2022-09-20T23:06:19.376Z] 33b1e0a273af: Download complete [2022-09-20T23:06:19.376Z] 5d3b04190fa2: Verifying Checksum [2022-09-20T23:06:19.376Z] 5d3b04190fa2: Download complete [2022-09-20T23:06:19.376Z] ec43610c2a17: Download complete [2022-09-20T23:06:19.636Z] 5eb5b503b376: Verifying Checksum [2022-09-20T23:06:19.636Z] 5eb5b503b376: Download complete [2022-09-20T23:06:20.203Z] 2f39f015ded8: Download complete [2022-09-20T23:06:20.772Z] 5eb5b503b376: Pull complete [2022-09-20T23:06:21.031Z] 5c69ac0246d0: Pull complete [2022-09-20T23:06:21.292Z] ec43610c2a17: Pull complete [2022-09-20T23:06:21.552Z] 3a2ae6a8a46f: Pull complete [2022-09-20T23:06:21.812Z] 33b1e0a273af: Pull complete [2022-09-20T23:06:21.812Z] 5d3b04190fa2: Pull complete [2022-09-20T23:06:26.011Z] 2f39f015ded8: Pull complete [2022-09-20T23:06:26.011Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T23:06:26.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T23:06:26.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:06:26.105Z] prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container [2022-09-20T23:06:26.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T23:06:27.810Z] $ docker top ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:06:28.279Z] ---> job-cost.sh [2022-09-20T23:06:28.279Z] lf-activate-venv: SKIPPING [2022-09-20T23:06:28.279Z] INFO: No Stack... [2022-09-20T23:06:28.554Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T23:06:29.137Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T23:06:29.429Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [2022-09-20T23:06:29.430Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T23:06:29.444Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [2022-09-20T23:06:29.453Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] did not exist. Created. [2022-09-20T23:06:29.453Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T23:06:29.762Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T23:06:29.794Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T23:06:29.800Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T23:06:29.820Z] $ docker stop --time=1 ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a [2022-09-20T23:06:30.992Z] $ docker rm -f ab6d534535a0ac1c8caaeb5bd52c4de33f1f99a88a0ff62c57dbf4833bdc9d5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-20T23:06:38.962Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-30014 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-20T23:06:38.974Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-09-20T23:06:39.017Z] Selected Git installation does not exist. Using Default [2022-09-20T23:06:39.017Z] The recommended git tool is: NONE [2022-09-20T23:06:45.582Z] using credential edgex-jenkins-ssh [2022-09-20T23:06:45.608Z] Cloning the remote Git repository [2022-09-20T23:06:45.677Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T23:06:45.763Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-09-20T23:06:45.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T23:06:45.864Z] > git --version # timeout=10 [2022-09-20T23:06:45.891Z] > git --version # 'git version 2.25.1' [2022-09-20T23:06:45.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T23:06:46.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T23:06:47.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T23:06:47.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T23:06:47.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T23:06:47.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T23:06:47.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T23:06:47.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-20T23:06:48.087Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit cb8adc2a121b654032cd11a61f1f4d648e4e07e2 [2022-09-20T23:06:48.763Z] Merge succeeded, producing 64d4f836b6b10d226b67576ddd627f17e7300d2a [2022-09-20T23:06:48.764Z] Checking out Revision 64d4f836b6b10d226b67576ddd627f17e7300d2a (PR-161) [2022-09-20T23:06:48.108Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T23:06:48.130Z] > git checkout -f cb8adc2a121b654032cd11a61f1f4d648e4e07e2 # timeout=10 [2022-09-20T23:06:48.334Z] > git remote # timeout=10 [2022-09-20T23:06:48.352Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T23:06:48.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T23:06:48.377Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-20T23:06:48.750Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T23:06:48.773Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T23:06:48.797Z] > git checkout -f 64d4f836b6b10d226b67576ddd627f17e7300d2a # timeout=10 [2022-09-20T23:06:53.093Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-20T23:06:53.117Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T23:06:53.995Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T23:06:53.996Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T23:06:53.996Z] Dload Upload Total Spent Left Speed [2022-09-20T23:06:53.996Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76841 0 --:--:-- --:--:-- --:--:-- 77312 [2022-09-20T23:06:53.103Z] > git rev-list --no-walk ee863d80d5781c421c4d98fd3037029426b69d47 # timeout=10 [Pipeline] sh [2022-09-20T23:06:54.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T23:06:55.021Z] + sudo tee /etc/docker/daemon.new [2022-09-20T23:06:55.021Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T23:06:55.021Z] { [2022-09-20T23:06:55.021Z] "registry-mirrors": [ [2022-09-20T23:06:55.021Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T23:06:55.021Z] ], [2022-09-20T23:06:55.021Z] "bip": "10.250.0.254/24", [2022-09-20T23:06:55.021Z] "hosts": [ [2022-09-20T23:06:55.021Z] "tcp://0.0.0.0:5555", [2022-09-20T23:06:55.021Z] "unix:///var/run/docker.sock" [2022-09-20T23:06:55.021Z] ], [2022-09-20T23:06:55.021Z] "mtu": 1458, [2022-09-20T23:06:55.021Z] "selinux-enabled": true, [2022-09-20T23:06:55.021Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T23:06:55.021Z] } [Pipeline] sh [2022-09-20T23:06:55.372Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T23:06:55.722Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T23:07:14.078Z] provisioning config files... [2022-09-20T23:07:14.102Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config8732317880732413703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:07:14.464Z] ---> docker-login.sh [2022-09-20T23:07:14.464Z] nexus3.edgexfoundry.org:10001 [2022-09-20T23:07:15.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:07:15.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:07:15.336Z] Configure a credential helper to remove this warning. See [2022-09-20T23:07:15.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:07:15.336Z] [2022-09-20T23:07:15.336Z] Login Succeeded [2022-09-20T23:07:15.336Z] nexus3.edgexfoundry.org:10002 [2022-09-20T23:07:15.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:07:15.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:07:15.615Z] Configure a credential helper to remove this warning. See [2022-09-20T23:07:15.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:07:15.615Z] [2022-09-20T23:07:15.615Z] Login Succeeded [2022-09-20T23:07:15.615Z] nexus3.edgexfoundry.org:10003 [2022-09-20T23:07:16.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:07:16.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:07:16.218Z] Configure a credential helper to remove this warning. See [2022-09-20T23:07:16.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:07:16.218Z] [2022-09-20T23:07:16.218Z] Login Succeeded [2022-09-20T23:07:16.218Z] nexus3.edgexfoundry.org:10004 [2022-09-20T23:07:16.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:07:16.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:07:16.783Z] Configure a credential helper to remove this warning. See [2022-09-20T23:07:16.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:07:16.783Z] [2022-09-20T23:07:16.783Z] Login Succeeded [2022-09-20T23:07:16.783Z] docker.io [2022-09-20T23:07:17.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T23:07:17.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T23:07:17.331Z] Configure a credential helper to remove this warning. See [2022-09-20T23:07:17.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T23:07:17.331Z] [2022-09-20T23:07:17.331Z] Login Succeeded [2022-09-20T23:07:17.331Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T23:07:17.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T23:07:18.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T23:07:18.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T23:07:18.066Z] ========================================================= [2022-09-20T23:07:18.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T23:07:18.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:07:18.443Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-20T23:07:19.037Z] Sending build context to Docker daemon 14.27MB [2022-09-20T23:07:19.037Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T23:07:19.037Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T23:07:19.319Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T23:07:19.319Z] b3c136eddcbf: Pulling fs layer [2022-09-20T23:07:19.319Z] c0a3192eca97: Pulling fs layer [2022-09-20T23:07:19.319Z] a050256f5b6f: Pulling fs layer [2022-09-20T23:07:19.319Z] 656be50a0ddc: Pulling fs layer [2022-09-20T23:07:19.319Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T23:07:19.319Z] 46d945488cbd: Pulling fs layer [2022-09-20T23:07:19.319Z] 8a5474983e97: Pulling fs layer [2022-09-20T23:07:19.319Z] 329c88fbcd65: Pulling fs layer [2022-09-20T23:07:19.319Z] 656be50a0ddc: Waiting [2022-09-20T23:07:19.319Z] 2bbca73fdf42: Waiting [2022-09-20T23:07:19.319Z] 46d945488cbd: Waiting [2022-09-20T23:07:19.319Z] 8a5474983e97: Waiting [2022-09-20T23:07:19.319Z] 329c88fbcd65: Waiting [2022-09-20T23:07:19.319Z] a050256f5b6f: Verifying Checksum [2022-09-20T23:07:19.319Z] a050256f5b6f: Download complete [2022-09-20T23:07:19.319Z] c0a3192eca97: Verifying Checksum [2022-09-20T23:07:19.319Z] c0a3192eca97: Download complete [2022-09-20T23:07:19.319Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T23:07:19.319Z] 2bbca73fdf42: Download complete [2022-09-20T23:07:19.319Z] 46d945488cbd: Download complete [2022-09-20T23:07:19.319Z] b3c136eddcbf: Download complete [2022-09-20T23:07:20.423Z] b3c136eddcbf: Pull complete [2022-09-20T23:07:20.701Z] 329c88fbcd65: Verifying Checksum [2022-09-20T23:07:20.701Z] 329c88fbcd65: Download complete [2022-09-20T23:07:20.980Z] c0a3192eca97: Pull complete [2022-09-20T23:07:21.260Z] a050256f5b6f: Pull complete [2022-09-20T23:07:21.857Z] 8a5474983e97: Verifying Checksum [2022-09-20T23:07:21.857Z] 8a5474983e97: Download complete [2022-09-20T23:07:22.451Z] 656be50a0ddc: Verifying Checksum [2022-09-20T23:07:22.451Z] 656be50a0ddc: Download complete [2022-09-20T23:07:34.853Z] 656be50a0ddc: Pull complete [2022-09-20T23:07:35.128Z] 2bbca73fdf42: Pull complete [2022-09-20T23:07:35.401Z] 46d945488cbd: Pull complete [2022-09-20T23:07:42.133Z] 8a5474983e97: Pull complete [2022-09-20T23:07:43.575Z] 329c88fbcd65: Pull complete [2022-09-20T23:07:43.575Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T23:07:43.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T23:07:43.575Z] ---> ff4287adb874 [2022-09-20T23:07:43.575Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T23:07:45.595Z] ---> Running in 8774b74ee32e [2022-09-20T23:07:45.595Z] Removing intermediate container 8774b74ee32e [2022-09-20T23:07:45.595Z] ---> 3eaf20d2fcf5 [2022-09-20T23:07:45.595Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T23:07:45.595Z] ---> Running in 36eb28838e44 [2022-09-20T23:07:45.868Z] Removing intermediate container 36eb28838e44 [2022-09-20T23:07:45.868Z] ---> 3e47c1e9aa48 [2022-09-20T23:07:45.868Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T23:07:46.152Z] ---> Running in a8f397b48acd [2022-09-20T23:07:46.427Z] Removing intermediate container a8f397b48acd [2022-09-20T23:07:46.427Z] ---> 324ccfa277d2 [2022-09-20T23:07:46.427Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T23:07:46.427Z] ---> Running in 752c1618e0e4 [2022-09-20T23:07:46.701Z] Removing intermediate container 752c1618e0e4 [2022-09-20T23:07:46.701Z] ---> 0cd22a194d59 [2022-09-20T23:07:46.701Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T23:07:46.701Z] ---> Running in 81e21d41580a [2022-09-20T23:07:50.099Z] Removing intermediate container 81e21d41580a [2022-09-20T23:07:50.099Z] ---> 7c696f9df21b [2022-09-20T23:07:50.099Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T23:07:50.099Z] ---> Running in fb28ff49ab78 [2022-09-20T23:07:50.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T23:07:51.676Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T23:07:52.658Z] OK: 221 MiB in 51 packages [2022-09-20T23:07:53.642Z] Removing intermediate container fb28ff49ab78 [2022-09-20T23:07:53.642Z] ---> f22708fd4a57 [2022-09-20T23:07:53.642Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T23:07:53.642Z] ---> Running in 88db6c378669 [2022-09-20T23:07:53.642Z] Removing intermediate container 88db6c378669 [2022-09-20T23:07:53.642Z] ---> 7da80de3bbde [2022-09-20T23:07:53.642Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T23:07:54.241Z] ---> 51527c04cf13 [2022-09-20T23:07:54.241Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T23:07:54.772Z] ---> Running in 2e2d109d8898 [2022-09-20T23:08:51.310Z] Removing intermediate container 2e2d109d8898 [2022-09-20T23:08:51.310Z] ---> 7dfa6233bcf4 [2022-09-20T23:08:51.310Z] Step 12/13 : COPY . . [2022-09-20T23:08:51.310Z] ---> cf385d4500e6 [2022-09-20T23:08:51.310Z] Step 13/13 : RUN ${MAKE} [2022-09-20T23:08:51.310Z] ---> Running in 5f24fc52799c [2022-09-20T23:08:51.310Z] noop [2022-09-20T23:08:51.583Z] Removing intermediate container 5f24fc52799c [2022-09-20T23:08:51.583Z] ---> 51be1483075a [2022-09-20T23:08:51.583Z] Successfully built 51be1483075a [2022-09-20T23:08:51.583Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:08:51.949Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T23:08:51.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:08:52.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container [2022-09-20T23:08:52.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T23:08:53.515Z] $ docker top c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:08:54.402Z] + go version [2022-09-20T23:08:54.402Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T23:08:54.425Z] $ docker stop --time=1 c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 [2022-09-20T23:08:56.002Z] $ docker rm -f c0ed9ed3fba227351a9d02602c8380dbbbbdf3c26fb5615c8e25ba57979cebd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:08:56.603Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T23:08:56.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:08:56.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container [2022-09-20T23:08:56.905Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-20T23:08:58.077Z] $ docker top 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:08:58.976Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-09-20T23:08:59.648Z] + make test [2022-09-20T23:08:59.648Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T23:09:01.084Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T23:10:22.916Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T23:10:33.131Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.213s coverage: 28.6% of statements [2022-09-20T23:10:33.131Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T23:11:05.489Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.697s coverage: 13.8% of statements [2022-09-20T23:11:05.489Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T23:11:05.489Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T23:11:27.699Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T23:11:27.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T23:11:27.699Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T23:11:27.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T23:11:27.741Z] $ docker stop --time=1 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a [2022-09-20T23:11:29.480Z] $ docker rm -f 202329d463a33dbd6f0529ee07753e867053b3c73c07316de660296f558b762a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T23:11:30.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T23:11:30.467Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T23:11:31.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T23:11:31.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T23:11:31.746Z] + ls -al . [2022-09-20T23:11:31.746Z] total 228 [2022-09-20T23:11:31.746Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 23:09 . [2022-09-20T23:11:31.746Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 .. [2022-09-20T23:11:31.746Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 23:06 .git [2022-09-20T23:11:31.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:06 .github [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 23:06 .gitignore [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 23:06 .golangci.yml [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 23:06 Attribution.txt [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 23:06 CHANGELOG.md [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 23:06 Dockerfile [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 23:06 GOVERNANCE.md [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 23:06 Jenkinsfile [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 23:06 LICENSE [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 23:06 Makefile [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 23:06 OWNERS.md [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 23:06 README.md [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 23:04 VERSION [2022-09-20T23:11:31.746Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 23:06 bin [2022-09-20T23:11:31.746Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 23:06 cmd [2022-09-20T23:11:31.746Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 23:11 coverage.out [2022-09-20T23:11:31.746Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 23:06 doc [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 23:06 go.mod [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 23:06 go.sum [2022-09-20T23:11:31.746Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 internal [2022-09-20T23:11:31.746Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 23:06 snap [2022-09-20T23:11:31.746Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:11:32.106Z] + 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=64d4f836b6b10d226b67576ddd627f17e7300d2a --label arch=arm64 --label version=0.0.0 . [2022-09-20T23:11:32.708Z] Sending build context to Docker daemon 14.35MB [2022-09-20T23:11:32.708Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T23:11:32.708Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T23:11:32.709Z] ---> 51be1483075a [2022-09-20T23:11:32.709Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T23:11:32.983Z] ---> Running in c4b90e80ff75 [2022-09-20T23:11:33.256Z] Removing intermediate container c4b90e80ff75 [2022-09-20T23:11:33.256Z] ---> d9de24165a06 [2022-09-20T23:11:33.256Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T23:11:33.256Z] ---> Running in ac5290d5cca0 [2022-09-20T23:11:33.528Z] Removing intermediate container ac5290d5cca0 [2022-09-20T23:11:33.528Z] ---> 6b6cc7d14de9 [2022-09-20T23:11:33.528Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T23:11:33.528Z] ---> Running in 827bf0209e5b [2022-09-20T23:11:33.804Z] Removing intermediate container 827bf0209e5b [2022-09-20T23:11:33.804Z] ---> 93247d1fecd5 [2022-09-20T23:11:33.804Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T23:11:34.081Z] ---> Running in 7a28b922fc56 [2022-09-20T23:11:34.354Z] Removing intermediate container 7a28b922fc56 [2022-09-20T23:11:34.354Z] ---> 1eeeca55ed04 [2022-09-20T23:11:34.354Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T23:11:34.354Z] ---> Running in a03000f2e556 [2022-09-20T23:11:36.342Z] Removing intermediate container a03000f2e556 [2022-09-20T23:11:36.342Z] ---> 33fc4bbe27f4 [2022-09-20T23:11:36.342Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T23:11:36.342Z] ---> Running in 956d77c23e69 [2022-09-20T23:11:36.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T23:11:37.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T23:11:38.943Z] OK: 221 MiB in 51 packages [2022-09-20T23:11:39.546Z] Removing intermediate container 956d77c23e69 [2022-09-20T23:11:39.546Z] ---> 6af92b6fb9c1 [2022-09-20T23:11:39.546Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T23:11:39.546Z] ---> Running in ecd6949ca317 [2022-09-20T23:11:39.821Z] Removing intermediate container ecd6949ca317 [2022-09-20T23:11:39.821Z] ---> 36738d927f37 [2022-09-20T23:11:39.821Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T23:11:40.434Z] ---> c7c9c3c4ebae [2022-09-20T23:11:40.434Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T23:11:40.434Z] ---> Running in ba4fd9e6a59d [2022-09-20T23:11:42.435Z] Removing intermediate container ba4fd9e6a59d [2022-09-20T23:11:42.435Z] ---> 213e1856be67 [2022-09-20T23:11:42.435Z] Step 12/26 : COPY . . [2022-09-20T23:11:44.418Z] ---> 1bd87b8df834 [2022-09-20T23:11:44.418Z] Step 13/26 : RUN ${MAKE} [2022-09-20T23:11:44.418Z] ---> Running in e198358c8984 [2022-09-20T23:11:45.017Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-20T23:13:52.338Z] Removing intermediate container e198358c8984 [2022-09-20T23:13:52.338Z] ---> d76cabccf12f [2022-09-20T23:13:52.338Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T23:13:53.370Z] 3.16: Pulling from library/alpine [2022-09-20T23:13:53.370Z] 9b18e9b68314: Pulling fs layer [2022-09-20T23:13:55.150Z] 9b18e9b68314: Verifying Checksum [2022-09-20T23:13:55.150Z] 9b18e9b68314: Download complete [2022-09-20T23:13:55.599Z] 9b18e9b68314: Pull complete [2022-09-20T23:13:55.992Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T23:13:55.993Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T23:13:55.993Z] ---> a6215f271958 [2022-09-20T23:13:55.993Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T23:13:55.993Z] ---> Running in 74b9c9835fa6 [2022-09-20T23:13:56.635Z] Removing intermediate container 74b9c9835fa6 [2022-09-20T23:13:56.635Z] ---> 3c9c64702a6d [2022-09-20T23:13:56.635Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T23:13:56.635Z] ---> Running in f3426631b20b [2022-09-20T23:13:57.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T23:14:00.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T23:14:04.982Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T23:14:04.982Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T23:14:04.982Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T23:14:04.982Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T23:14:04.982Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T23:14:04.982Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T23:14:04.982Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T23:14:04.982Z] OK: 8 MiB in 20 packages [2022-09-20T23:14:05.970Z] Removing intermediate container f3426631b20b [2022-09-20T23:14:05.970Z] ---> eadfd80f6e35 [2022-09-20T23:14:05.970Z] Step 17/26 : WORKDIR / [2022-09-20T23:14:05.970Z] ---> Running in 8d072fc1e0cd [2022-09-20T23:14:06.249Z] Removing intermediate container 8d072fc1e0cd [2022-09-20T23:14:06.249Z] ---> 37ae313eea3e [2022-09-20T23:14:06.249Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T23:14:07.698Z] ---> e410f1bb1b24 [2022-09-20T23:14:07.698Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T23:14:08.308Z] ---> e8b85603315d [2022-09-20T23:14:08.308Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T23:14:08.909Z] ---> 44c538350f0c [2022-09-20T23:14:08.910Z] Step 21/26 : EXPOSE 59984 [2022-09-20T23:14:08.910Z] ---> Running in d332b1d11688 [2022-09-20T23:14:09.186Z] Removing intermediate container d332b1d11688 [2022-09-20T23:14:09.186Z] ---> 0e481094f349 [2022-09-20T23:14:09.186Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T23:14:09.186Z] ---> Running in f193f0bedd0f [2022-09-20T23:14:09.798Z] Removing intermediate container f193f0bedd0f [2022-09-20T23:14:09.798Z] ---> d3a26eaa13f4 [2022-09-20T23:14:09.798Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T23:14:09.798Z] ---> Running in a95b20159d69 [2022-09-20T23:14:10.074Z] Removing intermediate container a95b20159d69 [2022-09-20T23:14:10.074Z] ---> 1db8e34e887c [2022-09-20T23:14:10.074Z] Step 24/26 : LABEL arch=arm64 [2022-09-20T23:14:10.074Z] ---> Running in b109c306f089 [2022-09-20T23:14:10.353Z] Removing intermediate container b109c306f089 [2022-09-20T23:14:10.353Z] ---> 4c362637bfd6 [2022-09-20T23:14:10.353Z] Step 25/26 : LABEL git_sha=64d4f836b6b10d226b67576ddd627f17e7300d2a [2022-09-20T23:14:10.353Z] ---> Running in 48b36946f85a [2022-09-20T23:14:10.630Z] Removing intermediate container 48b36946f85a [2022-09-20T23:14:10.630Z] ---> 8cd36956f962 [2022-09-20T23:14:10.630Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T23:14:10.910Z] ---> Running in 3b78546c8efd [2022-09-20T23:14:11.188Z] Removing intermediate container 3b78546c8efd [2022-09-20T23:14:11.188Z] ---> 3d416269e08f [2022-09-20T23:14:11.188Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T23:14:11.188Z] Successfully built 3d416269e08f [2022-09-20T23:14:11.188Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:14:11.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:14:11.634Z] [2022-09-20T23:14:11.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:14:11.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:14:12.271Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T23:14:12.271Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T23:14:12.271Z] 04944245beec: Pulling fs layer [2022-09-20T23:14:12.271Z] 699f458cf7ca: Pulling fs layer [2022-09-20T23:14:12.271Z] 765212b225bb: Pulling fs layer [2022-09-20T23:14:12.271Z] f23df028b6ca: Pulling fs layer [2022-09-20T23:14:12.271Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T23:14:12.271Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T23:14:12.271Z] f23df028b6ca: Waiting [2022-09-20T23:14:12.271Z] d65c8cfc05b1: Waiting [2022-09-20T23:14:12.271Z] 2437ff75d9bd: Waiting [2022-09-20T23:14:12.271Z] 765212b225bb: Waiting [2022-09-20T23:14:12.271Z] 04944245beec: Verifying Checksum [2022-09-20T23:14:12.271Z] 04944245beec: Download complete [2022-09-20T23:14:12.271Z] 765212b225bb: Verifying Checksum [2022-09-20T23:14:12.271Z] 765212b225bb: Download complete [2022-09-20T23:14:12.271Z] f23df028b6ca: Verifying Checksum [2022-09-20T23:14:12.271Z] f23df028b6ca: Download complete [2022-09-20T23:14:12.271Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T23:14:12.271Z] d65c8cfc05b1: Download complete [2022-09-20T23:14:12.571Z] 699f458cf7ca: Verifying Checksum [2022-09-20T23:14:12.571Z] 699f458cf7ca: Download complete [2022-09-20T23:14:13.196Z] 8998bd30e6a1: Verifying Checksum [2022-09-20T23:14:13.196Z] 8998bd30e6a1: Download complete [2022-09-20T23:14:15.739Z] 2437ff75d9bd: Download complete [2022-09-20T23:14:17.312Z] 8998bd30e6a1: Pull complete [2022-09-20T23:14:18.020Z] 04944245beec: Pull complete [2022-09-20T23:14:19.837Z] 699f458cf7ca: Pull complete [2022-09-20T23:14:19.837Z] 765212b225bb: Pull complete [2022-09-20T23:14:20.489Z] f23df028b6ca: Pull complete [2022-09-20T23:14:20.489Z] d65c8cfc05b1: Pull complete [2022-09-20T23:14:35.902Z] 2437ff75d9bd: Pull complete [2022-09-20T23:14:35.902Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T23:14:35.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:14:35.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:14:36.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-30014 does not seem to be running inside a container [2022-09-20T23:14:36.234Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-20T23:14:38.757Z] $ docker top cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:39.425Z] ---> job-cost.sh [2022-09-20T23:14:39.715Z] lf-activate-venv: SKIPPING [2022-09-20T23:14:39.715Z] INFO: No Stack... [2022-09-20T23:14:39.988Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T23:14:40.967Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T23:14:41.644Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [2022-09-20T23:14:41.644Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T23:14:41.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [2022-09-20T23:14:41.713Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] did not exist. Created. [2022-09-20T23:14:41.713Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T23:14:42.400Z] /w/workspace/device-onvif-camera/7@tmp/durable-f6f33d30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T23:14:43.079Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T23:14:43.100Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T23:14:43.157Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T23:14:43.167Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T23:14:43.184Z] $ docker stop --time=1 cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 [2022-09-20T23:14:44.683Z] $ docker rm -f cc2d6618678632a588941da92fdcf0514bf7d7c0f4bb73a082f957e9b66e3f23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-20T23:14:45.156Z] provisioning config files... [2022-09-20T23:14:45.165Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config4606814301071685660tmp [Pipeline] { [Pipeline] sh [2022-09-20T23:14:45.465Z] + set +x [2022-09-20T23:14:45.465Z] + curl -s https://codecov.io/bash [2022-09-20T23:14:45.465Z] + bash -s -- [2022-09-20T23:14:45.465Z] [2022-09-20T23:14:45.465Z] _____ _ [2022-09-20T23:14:45.465Z] / ____| | | [2022-09-20T23:14:45.465Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T23:14:45.465Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T23:14:45.465Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T23:14:45.465Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T23:14:45.465Z] Bash-1.0.6 [2022-09-20T23:14:45.465Z] [2022-09-20T23:14:45.465Z] [2022-09-20T23:14:45.465Z] ==> git version 2.25.1 found [2022-09-20T23:14:45.465Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-20T23:14:45.465Z] Release-Date: 2020-01-08 [2022-09-20T23:14:45.465Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-20T23:14:45.466Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-20T23:14:45.466Z] ==> Jenkins CI detected. [2022-09-20T23:14:45.466Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T23:14:45.466Z] project root: . [2022-09-20T23:14:45.466Z] --> token set from env [2022-09-20T23:14:45.466Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T23:14:45.466Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T23:14:45.727Z] ==> Python coveragepy not found [2022-09-20T23:14:45.727Z] ==> Searching for coverage reports in: [2022-09-20T23:14:45.727Z] + . [2022-09-20T23:14:45.727Z] -> Found 1 reports [2022-09-20T23:14:45.727Z] ==> Detecting git/mercurial file structure [2022-09-20T23:14:45.727Z] ==> Reading reports [2022-09-20T23:14:45.727Z] + ./coverage.out bytes=77283 [2022-09-20T23:14:45.727Z] ==> Appending adjustments [2022-09-20T23:14:45.727Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T23:14:45.727Z] + Found adjustments [2022-09-20T23:14:45.727Z] ==> Gzipping contents [2022-09-20T23:14:45.727Z] 12K /tmp/codecov.Aa7rFK.gz [2022-09-20T23:14:45.727Z] ==> Uploading reports [2022-09-20T23:14:45.727Z] url: https://codecov.io [2022-09-20T23:14:45.727Z] query: branch=PR-161&commit=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T23:14:45.727Z] -> Pinging Codecov [2022-09-20T23:14:45.727Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-161&commit=4e31cd800a5b1ff0ea34fe4c0be91ff04168766a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T23:14:46.297Z] -> Uploading to [2022-09-20T23:14:46.298Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/F29A59C45E3A92E06B3E522C9905F8EF/4e31cd800a5b1ff0ea34fe4c0be91ff04168766a/ff29e977-0119-4bea-a1bb-797c1a9b4ad2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T231445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc171d31fe24f895d1fed7660f4bac3d3df3032f451be6b1240d82812520c9ba [2022-09-20T23:14:46.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T23:14:46.298Z] Dload Upload Total Spent Left Speed [2022-09-20T23:14:46.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10559 0 0 100 10559 0 31613 --:--:-- --:--:-- --:--:-- 31613 [2022-09-20T23:14:46.559Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4e31cd800a5b1ff0ea34fe4c0be91ff04168766a [Pipeline] } [2022-09-20T23:14:46.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-20T23:14:47.262Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-20T23:14:47.262Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:14:47.262Z] total 16 [2022-09-20T23:14:47.262Z] drwxr-xr-x 3 root root 4096 Sep 20 23:06 . [2022-09-20T23:14:47.262Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 23:06 .. [2022-09-20T23:14:47.262Z] drwxr-xr-x 2 root root 4096 Sep 20 23:06 cost [2022-09-20T23:14:47.262Z] -rw-r--r-- 1 root root 91 Sep 20 23:06 cost.csv [2022-09-20T23:14:47.262Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:14:47.262Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:14:47.262Z] total 16 [2022-09-20T23:14:47.262Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 23:06 . [2022-09-20T23:14:47.262Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 23:06 .. [2022-09-20T23:14:47.262Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 23:06 cost [2022-09-20T23:14:47.262Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 20 23:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:47.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:48.420Z] ---> package-listing.sh [2022-09-20T23:14:48.420Z] ++ facter osfamily [2022-09-20T23:14:48.420Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T23:14:48.679Z] + OS_FAMILY=debian [2022-09-20T23:14:48.679Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T23:14:48.679Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T23:14:48.679Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T23:14:48.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T23:14:48.679Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T23:14:48.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T23:14:48.679Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T23:14:48.679Z] + case "${OS_FAMILY}" in [2022-09-20T23:14:48.679Z] + dpkg -l [2022-09-20T23:14:48.679Z] + grep '^ii' [2022-09-20T23:14:48.679Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T23:14:48.679Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T23:14:48.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T23:14:48.679Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T23:14:48.679Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-20T23:14:48.679Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-161/archives/ [Pipeline] echo [2022-09-20T23:14:48.699Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-20T23:14:49.007Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:14:49.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T23:14:49.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:14:49.444Z] prd-ubuntu20.04-docker-8c-8g-30013 does not seem to be running inside a container [2022-09-20T23:14:49.519Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T23:14:49.737Z] $ docker top 3318ac843e596dec163d294c91d3b34d4e6ae1baf4f7984c018a59f888a4ec03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:14:50.126Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T23:14:50.428Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T23:14:50.739Z] + ls /var/log/sa-host [2022-09-20T23:14:50.739Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T23:14:50.894Z] provisioning config files... [2022-09-20T23:14:50.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config5084030506429529290tmp [Pipeline] { [Pipeline] echo [2022-09-20T23:14:50.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:51.199Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T23:14:51.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:51.564Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T23:14:51.575Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:51.874Z] ---> sudo-logs.sh [2022-09-20T23:14:51.874Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T23:14:51.896Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:52.187Z] ---> job-cost.sh [2022-09-20T23:14:52.187Z] lf-activate-venv: SKIPPING [2022-09-20T23:14:52.187Z] DEBUG: total: 0.2199999988079071 [2022-09-20T23:14:52.187Z] INFO: Retrieving Stack Cost... [2022-09-20T23:14:52.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T23:14:53.037Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T23:14:53.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:14:53.376Z] ---> logs-deploy.sh [2022-09-20T23:14:53.376Z] lf-activate-venv: SKIPPING [2022-09-20T23:14:53.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/7 [2022-09-20T23:14:53.376Z] INFO: archiving workspace using pattern(s): [2022-09-20T23:14:54.320Z] Archives upload complete. [2022-09-20T23:14:54.320Z] INFO: archiving logs to Nexus