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 72019c51e9d30aac7f1cba772e29552416c1aee1 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-ssh10187258339162265721.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-ssh3515156407338948495.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-ssh12942597387948742475.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-ssh8233763925232106141.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-ssh14668428378737497595.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-30009’ is offline Running on prd-ubuntu20.04-docker-8c-8g-30010 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-161 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 72019c51e9d30aac7f1cba772e29552416c1aee1 Merge succeeded, producing 50775066cb9bf154d31dd33ad33e504737fc17dc Checking out Revision 50775066cb9bf154d31dd33ad33e504737fc17dc (PR-161) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72019c51e9d30aac7f1cba772e29552416c1aee1 # 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 50775066cb9bf154d31dd33ad33e504737fc17dc # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-20T22:53:02.633Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-20T22:53:02.699Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-20T22:53:02.712Z] ========================================================= [2022-09-20T22:53:02.712Z] EdgeX Global Pipelines Version Info [2022-09-20T22:53:02.712Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:53:03.453Z] ------------------- [2022-09-20T22:53:03.454Z] stable info: [2022-09-20T22:53:03.454Z] ------------------- [2022-09-20T22:53:03.454Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-20T22:53:03.454Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T22:53:03.454Z] Message: update stable to v1.0.239 [2022-09-20T22:53:04.026Z] ------------------- [2022-09-20T22:53:04.026Z] experimental info: [2022-09-20T22:53:04.026Z] ------------------- [2022-09-20T22:53:04.026Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-20T22:53:04.026Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-20T22:53:04.026Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-20T22:53:04.213Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-20T22:53:04.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-20T22:53:04.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-20T22:53:04.266Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-20T22:53:04.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-20T22:53:04.301Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-20T22:53:04.311Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-20T22:53:04.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-20T22:53:04.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-20T22:53:04.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-20T22:53:04.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-20T22:53:04.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-20T22:53:04.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-20T22:53:04.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-20T22:53:04.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T22:53:04.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-20T22:53:04.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T22:53:04.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-20T22:53:04.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-20T22:53:04.497Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-20T22:53:04.508Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-20T22:53:04.520Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-20T22:53:04.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-20T22:53:04.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-20T22:53:04.554Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-20T22:53:04.562Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-20T22:53:04.574Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-20T22:53:04.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-09-20T22:53:04.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-09-20T22:53:04.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-09-20T22:53:04.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50775066cb9bf154d31dd33ad33e504737fc17dc [Pipeline] echo [2022-09-20T22:53:04.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5077506 [Pipeline] echo [2022-09-20T22:53:04.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T22:53:04.707Z] provisioning config files... [2022-09-20T22:53:04.720Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config350546734864597473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:53:05.042Z] ---> docker-login.sh [2022-09-20T22:53:05.042Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:53:05.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:05.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:05.302Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:05.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:05.302Z] [2022-09-20T22:53:05.302Z] Login Succeeded [2022-09-20T22:53:05.302Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:53:05.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:05.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:05.565Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:05.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:05.565Z] [2022-09-20T22:53:05.565Z] Login Succeeded [2022-09-20T22:53:05.565Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:53:05.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:05.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:05.565Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:05.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:05.565Z] [2022-09-20T22:53:05.565Z] Login Succeeded [2022-09-20T22:53:05.565Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:53:05.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:05.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:05.827Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:05.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:05.827Z] [2022-09-20T22:53:05.827Z] Login Succeeded [2022-09-20T22:53:05.827Z] docker.io [2022-09-20T22:53:05.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:06.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:06.399Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:06.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:06.399Z] [2022-09-20T22:53:06.399Z] Login Succeeded [2022-09-20T22:53:06.399Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:53:06.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-20T22:53:06.849Z] + git rev-list -1 --merges 50775066cb9bf154d31dd33ad33e504737fc17dc~1..50775066cb9bf154d31dd33ad33e504737fc17dc [Pipeline] echo [2022-09-20T22:53:06.940Z] -----------> git rev-list -1 --merges 50775066cb9bf154d31dd33ad33e504737fc17dc~1..50775066cb9bf154d31dd33ad33e504737fc17dc 50775066cb9bf154d31dd33ad33e504737fc17dc [2022-09-20T22:53:06.940Z] 50775066cb9bf154d31dd33ad33e504737fc17dc [false] [Pipeline] sh [2022-09-20T22:53:07.237Z] + git log --format=format:%s -1 50775066cb9bf154d31dd33ad33e504737fc17dc [Pipeline] echo [2022-09-20T22:53:07.253Z] ========================================================= [2022-09-20T22:53:07.253Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-20T22:53:07.253Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T22:53:07.602Z] + git log --format=format:%s -1 50775066cb9bf154d31dd33ad33e504737fc17dc [Pipeline] echo [2022-09-20T22:53:07.615Z] [semverPrep] GIT_COMMIT: 50775066cb9bf154d31dd33ad33e504737fc17dc, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo [2022-09-20T22:53:07.623Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-20T22:53:07.991Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-20T22:53:07.992Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-20T22:53:07.992Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-20T22:53:07.992Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-20T22:53:07.992Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-20T22:53:07.992Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-20T22:53:07.992Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:53:08.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:53:08.364Z] [2022-09-20T22:53:08.364Z] 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-20T22:53:08.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:53:08.671Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-20T22:53:08.671Z] b85a868b505f: Pulling fs layer [2022-09-20T22:53:08.671Z] e2be974225ed: Pulling fs layer [2022-09-20T22:53:08.671Z] 339a4e72a1f5: Pulling fs layer [2022-09-20T22:53:08.671Z] 988bab9f4d93: Pulling fs layer [2022-09-20T22:53:08.671Z] 1469e6f7b9e6: Pulling fs layer [2022-09-20T22:53:08.671Z] eaf3925da568: Pulling fs layer [2022-09-20T22:53:08.671Z] bab4dde63d76: Pulling fs layer [2022-09-20T22:53:08.671Z] 988bab9f4d93: Waiting [2022-09-20T22:53:08.671Z] 1469e6f7b9e6: Waiting [2022-09-20T22:53:08.671Z] bde34c3a00c8: Pulling fs layer [2022-09-20T22:53:08.671Z] b352a97aabf1: Pulling fs layer [2022-09-20T22:53:08.671Z] bde34c3a00c8: Waiting [2022-09-20T22:53:08.671Z] 4872d77fe225: Pulling fs layer [2022-09-20T22:53:08.671Z] bab4dde63d76: Waiting [2022-09-20T22:53:08.671Z] 5851b861e8e6: Pulling fs layer [2022-09-20T22:53:08.671Z] 4872d77fe225: Waiting [2022-09-20T22:53:08.671Z] 5851b861e8e6: Waiting [2022-09-20T22:53:08.671Z] e2be974225ed: Download complete [2022-09-20T22:53:08.671Z] 988bab9f4d93: Verifying Checksum [2022-09-20T22:53:08.671Z] 988bab9f4d93: Download complete [2022-09-20T22:53:08.932Z] 339a4e72a1f5: Verifying Checksum [2022-09-20T22:53:08.933Z] 339a4e72a1f5: Download complete [2022-09-20T22:53:08.933Z] 1469e6f7b9e6: Verifying Checksum [2022-09-20T22:53:08.933Z] 1469e6f7b9e6: Download complete [2022-09-20T22:53:08.933Z] eaf3925da568: Verifying Checksum [2022-09-20T22:53:08.933Z] eaf3925da568: Download complete [2022-09-20T22:53:08.933Z] bde34c3a00c8: Download complete [2022-09-20T22:53:08.933Z] b352a97aabf1: Download complete [2022-09-20T22:53:08.933Z] 4872d77fe225: Verifying Checksum [2022-09-20T22:53:08.933Z] 4872d77fe225: Download complete [2022-09-20T22:53:08.933Z] 5851b861e8e6: Download complete [2022-09-20T22:53:08.933Z] b85a868b505f: Verifying Checksum [2022-09-20T22:53:08.933Z] b85a868b505f: Download complete [2022-09-20T22:53:09.193Z] bab4dde63d76: Verifying Checksum [2022-09-20T22:53:09.193Z] bab4dde63d76: Download complete [2022-09-20T22:53:10.135Z] b85a868b505f: Pull complete [2022-09-20T22:53:10.395Z] e2be974225ed: Pull complete [2022-09-20T22:53:10.965Z] 339a4e72a1f5: Pull complete [2022-09-20T22:53:10.965Z] 988bab9f4d93: Pull complete [2022-09-20T22:53:11.227Z] 1469e6f7b9e6: Pull complete [2022-09-20T22:53:11.489Z] eaf3925da568: Pull complete [2022-09-20T22:53:13.404Z] bab4dde63d76: Pull complete [2022-09-20T22:53:13.404Z] bde34c3a00c8: Pull complete [2022-09-20T22:53:13.404Z] b352a97aabf1: Pull complete [2022-09-20T22:53:13.667Z] 4872d77fe225: Pull complete [2022-09-20T22:53:13.667Z] 5851b861e8e6: Pull complete [2022-09-20T22:53:13.667Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-20T22:53:13.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-20T22:53:13.667Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:53:13.786Z] prd-ubuntu20.04-docker-8c-8g-30010 does not seem to be running inside a container [2022-09-20T22:53:13.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-20T22:53:15.255Z] $ docker top b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 -eo pid,comm [2022-09-20T22:53:15.324Z] 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-20T22:53:15.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-20T22:53:15.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T22:53:15.362Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T22:53:15.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T22:53:15.499Z] $ docker exec b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 ssh-agent [2022-09-20T22:53:15.631Z] SSH_AUTH_SOCK=/tmp/ssh-LUtZDGpEPIpf/agent.34 [2022-09-20T22:53:15.631Z] SSH_AGENT_PID=40 [2022-09-20T22:53:15.637Z] Running ssh-add (command line suppressed) [2022-09-20T22:53:15.768Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7939670591392836625.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_7939670591392836625.key) [2022-09-20T22:53:15.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T22:53:16.077Z] + git tag --points-at HEAD [Pipeline] } [2022-09-20T22:53:16.100Z] $ docker exec --env ******** --env ******** b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 ssh-agent -k [2022-09-20T22:53:16.215Z] unset SSH_AUTH_SOCK; [2022-09-20T22:53:16.215Z] unset SSH_AGENT_PID; [2022-09-20T22:53:16.215Z] echo Agent pid 40 killed; [2022-09-20T22:53:16.232Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-20T22:53:16.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-20T22:53:16.259Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-20T22:53:16.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-20T22:53:16.392Z] $ docker exec b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 ssh-agent [2022-09-20T22:53:16.516Z] SSH_AUTH_SOCK=/tmp/ssh-TTWwvdf25evg/agent.72 [2022-09-20T22:53:16.516Z] SSH_AGENT_PID=80 [2022-09-20T22:53:16.521Z] Running ssh-add (command line suppressed) [2022-09-20T22:53:16.645Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_999055549050445599.key (/w/workspace/undry_device-onvif-camera_PR-161@tmp/private_key_999055549050445599.key) [2022-09-20T22:53:16.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-20T22:53:16.958Z] + git semver init [2022-09-20T22:53:17.219Z] 2022-09-20 22:53:17,162 [run_init] DEBUG init version:0.0.0 force:False [2022-09-20T22:53:17.219Z] 2022-09-20 22:53:17,163 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-161/.semver [2022-09-20T22:53:17.219Z] 2022-09-20 22:53:17,163 [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-20T22:53:17.219Z] 2022-09-20 22:53:17,164 [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-20T22:53:18.164Z] 2022-09-20 22:53:18,092 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-161/.git/info/exclude [2022-09-20T22:53:18.164Z] 2022-09-20 22:53:18,092 [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-20T22:53:18.164Z] 2022-09-20 22:53:18,092 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T22:53:18.164Z] 2022-09-20 22:53:18,097 [execute] INFO git cat-file --batch-check [2022-09-20T22:53:18.164Z] 2022-09-20 22:53:18,097 [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-20T22:53:18.164Z] 2022-09-20 22:53:18,103 [execute] INFO git cat-file --batch [2022-09-20T22:53:18.164Z] 2022-09-20 22:53:18,103 [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-20T22:53:18.164Z] 2022-09-20 22:53:18,107 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-161/.semver/PR-161 [2022-09-20T22:53:18.164Z] 0.0.0 [Pipeline] } [2022-09-20T22:53:18.180Z] $ docker exec --env ******** --env ******** b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 ssh-agent -k [2022-09-20T22:53:18.296Z] unset SSH_AUTH_SOCK; [2022-09-20T22:53:18.297Z] unset SSH_AGENT_PID; [2022-09-20T22:53:18.297Z] echo Agent pid 80 killed; [2022-09-20T22:53:18.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-20T22:53:18.618Z] + git semver [Pipeline] } [2022-09-20T22:53:18.894Z] $ docker stop --time=1 b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 [2022-09-20T22:53:20.226Z] $ docker rm -f b53d3a95743167505dc2a6d4af113779867c17c149d52f7c32a4cccec126f533 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T22:53:20.578Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-20T22:53:20.814Z] Stashed 1 file(s) [Pipeline] echo [2022-09-20T22:53:20.817Z] [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-20T22:53:20.966Z] provisioning config files... [2022-09-20T22:53:20.976Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config6610557971793857641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:53:21.272Z] ---> docker-login.sh [2022-09-20T22:53:21.272Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:53:21.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:21.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:21.272Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:21.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:21.272Z] [2022-09-20T22:53:21.272Z] Login Succeeded [2022-09-20T22:53:21.272Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:53:21.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:21.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:21.533Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:21.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:21.533Z] [2022-09-20T22:53:21.533Z] Login Succeeded [2022-09-20T22:53:21.533Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:53:21.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:21.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:21.533Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:21.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:21.533Z] [2022-09-20T22:53:21.533Z] Login Succeeded [2022-09-20T22:53:21.533Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:53:21.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:21.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:21.793Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:21.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:21.793Z] [2022-09-20T22:53:21.793Z] Login Succeeded [2022-09-20T22:53:21.793Z] docker.io [2022-09-20T22:53:21.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:53:22.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:53:22.052Z] Configure a credential helper to remove this warning. See [2022-09-20T22:53:22.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:53:22.052Z] [2022-09-20T22:53:22.052Z] Login Succeeded [2022-09-20T22:53:22.052Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:53:22.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T22:53:22.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:53:22.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:53:22.166Z] ========================================================= [2022-09-20T22:53:22.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-20T22:53:22.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:53:22.477Z] + 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-20T22:53:22.477Z] Sending build context to Docker daemon 20.77MB [2022-09-20T22:53:22.477Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:53:22.477Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T22:53:22.741Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-20T22:53:22.741Z] 2408cc74d12b: Pulling fs layer [2022-09-20T22:53:22.741Z] ea60b727a1ce: Pulling fs layer [2022-09-20T22:53:22.741Z] 30c4a7721957: Pulling fs layer [2022-09-20T22:53:22.741Z] 370296b7ddb6: Pulling fs layer [2022-09-20T22:53:22.741Z] 7c6cee850709: Pulling fs layer [2022-09-20T22:53:22.741Z] 39a5fcdaea64: Pulling fs layer [2022-09-20T22:53:22.741Z] d94ebbe4e438: Pulling fs layer [2022-09-20T22:53:22.741Z] 370296b7ddb6: Waiting [2022-09-20T22:53:22.741Z] bcfd1f05c69d: Pulling fs layer [2022-09-20T22:53:22.741Z] 59ccb84bbe0f: Pulling fs layer [2022-09-20T22:53:22.741Z] 39a5fcdaea64: Waiting [2022-09-20T22:53:22.741Z] 7c6cee850709: Waiting [2022-09-20T22:53:22.741Z] d94ebbe4e438: Waiting [2022-09-20T22:53:22.741Z] 59ccb84bbe0f: Waiting [2022-09-20T22:53:22.741Z] bcfd1f05c69d: Waiting [2022-09-20T22:53:22.741Z] 30c4a7721957: Verifying Checksum [2022-09-20T22:53:22.741Z] 30c4a7721957: Download complete [2022-09-20T22:53:22.741Z] ea60b727a1ce: Verifying Checksum [2022-09-20T22:53:22.741Z] ea60b727a1ce: Download complete [2022-09-20T22:53:22.741Z] 7c6cee850709: Verifying Checksum [2022-09-20T22:53:22.741Z] 7c6cee850709: Download complete [2022-09-20T22:53:22.741Z] 39a5fcdaea64: Verifying Checksum [2022-09-20T22:53:22.741Z] 39a5fcdaea64: Download complete [2022-09-20T22:53:22.741Z] 2408cc74d12b: Verifying Checksum [2022-09-20T22:53:22.741Z] 2408cc74d12b: Download complete [2022-09-20T22:53:22.741Z] d94ebbe4e438: Verifying Checksum [2022-09-20T22:53:22.741Z] d94ebbe4e438: Download complete [2022-09-20T22:53:22.741Z] 2408cc74d12b: Pull complete [2022-09-20T22:53:23.021Z] ea60b727a1ce: Pull complete [2022-09-20T22:53:23.021Z] 30c4a7721957: Pull complete [2022-09-20T22:53:23.613Z] 59ccb84bbe0f: Verifying Checksum [2022-09-20T22:53:23.613Z] 59ccb84bbe0f: Download complete [2022-09-20T22:53:23.613Z] 370296b7ddb6: Download complete [2022-09-20T22:53:23.873Z] bcfd1f05c69d: Verifying Checksum [2022-09-20T22:53:23.873Z] bcfd1f05c69d: Download complete [2022-09-20T22:53:28.149Z] 370296b7ddb6: Pull complete [2022-09-20T22:53:28.149Z] 7c6cee850709: Pull complete [2022-09-20T22:53:28.149Z] 39a5fcdaea64: Pull complete [2022-09-20T22:53:28.149Z] d94ebbe4e438: Pull complete [2022-09-20T22:53:29.530Z] bcfd1f05c69d: Pull complete [2022-09-20T22:53:30.473Z] 59ccb84bbe0f: Pull complete [2022-09-20T22:53:30.473Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-20T22:53:30.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-20T22:53:30.473Z] ---> a4fb48ad2a94 [2022-09-20T22:53:30.473Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T22:53:32.422Z] ---> Running in 94b81e209cf7 [2022-09-20T22:53:32.422Z] Removing intermediate container 94b81e209cf7 [2022-09-20T22:53:32.422Z] ---> fcec51273fdb [2022-09-20T22:53:32.422Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T22:53:32.422Z] ---> Running in abf5fdefc963 [2022-09-20T22:53:32.422Z] Removing intermediate container abf5fdefc963 [2022-09-20T22:53:32.422Z] ---> 4e12ea9ff7b8 [2022-09-20T22:53:32.422Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T22:53:32.422Z] ---> Running in d93e8636b7f6 [2022-09-20T22:53:32.422Z] Removing intermediate container d93e8636b7f6 [2022-09-20T22:53:32.422Z] ---> 2260ee4ca844 [2022-09-20T22:53:32.422Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T22:53:32.422Z] ---> Running in d07ad1c513ee [2022-09-20T22:53:32.422Z] Removing intermediate container d07ad1c513ee [2022-09-20T22:53:32.422Z] ---> 72e67c53ec71 [2022-09-20T22:53:32.422Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:53:32.422Z] ---> Running in 0bfa05ccd502 [2022-09-20T22:53:32.990Z] Removing intermediate container 0bfa05ccd502 [2022-09-20T22:53:32.990Z] ---> 3f0b67c7381e [2022-09-20T22:53:32.990Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T22:53:32.990Z] ---> Running in 1e99b2965e25 [2022-09-20T22:53:33.250Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T22:53:34.192Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:53:34.453Z] OK: 211 MiB in 51 packages [2022-09-20T22:53:34.714Z] Removing intermediate container 1e99b2965e25 [2022-09-20T22:53:34.714Z] ---> ff55787ea4ca [2022-09-20T22:53:34.714Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T22:53:34.974Z] ---> Running in f1d1118d794f [2022-09-20T22:53:34.974Z] Removing intermediate container f1d1118d794f [2022-09-20T22:53:34.974Z] ---> 9cf75451607b [2022-09-20T22:53:34.974Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T22:53:34.974Z] ---> b95147b5fa59 [2022-09-20T22:53:34.974Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:53:34.974Z] ---> Running in 0c3af8e5b1f8 [2022-09-20T22:53:35.925Z] Still waiting to schedule task [2022-09-20T22:53:35.925Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-20T22:53:53.087Z] Removing intermediate container 0c3af8e5b1f8 [2022-09-20T22:53:53.087Z] ---> 40605e629e14 [2022-09-20T22:53:53.087Z] Step 12/13 : COPY . . [2022-09-20T22:53:53.087Z] ---> 5aadfab096f1 [2022-09-20T22:53:53.087Z] Step 13/13 : RUN ${MAKE} [2022-09-20T22:53:53.087Z] ---> Running in ac0a0ca20339 [2022-09-20T22:53:53.087Z] noop [2022-09-20T22:53:53.087Z] Removing intermediate container ac0a0ca20339 [2022-09-20T22:53:53.087Z] ---> b74defcbe0f9 [2022-09-20T22:53:53.087Z] Successfully built b74defcbe0f9 [2022-09-20T22:53:53.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:53:53.408Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T22:53:53.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:53:53.492Z] prd-ubuntu20.04-docker-8c-8g-30010 does not seem to be running inside a container [2022-09-20T22:53:53.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T22:53:53.891Z] $ docker top e98cd96b155b31035f3dbed3c3a3ec689da9e28ea33b053766271dede85813ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:53:54.240Z] + go version [2022-09-20T22:53:54.240Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-20T22:53:54.254Z] $ docker stop --time=1 e98cd96b155b31035f3dbed3c3a3ec689da9e28ea33b053766271dede85813ec [2022-09-20T22:53:55.526Z] $ docker rm -f e98cd96b155b31035f3dbed3c3a3ec689da9e28ea33b053766271dede85813ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:53:55.941Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-20T22:53:55.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:53:56.027Z] prd-ubuntu20.04-docker-8c-8g-30010 does not seem to be running inside a container [2022-09-20T22:53:56.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-20T22:53:56.398Z] $ docker top 61252f9b80c80d82c5e1f50e6e6b03e62ece5b47815670d68d754f93306e9288 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:53:56.782Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] fileExists [Pipeline] sh [2022-09-20T22:53:57.165Z] + make test [2022-09-20T22:53:57.165Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T22:53:57.425Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T22:54:07.406Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T22:54:07.667Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements [2022-09-20T22:54:07.667Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T22:54:10.962Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.440s coverage: 13.8% of statements [2022-09-20T22:54:17.530Z] 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-20T22:54:17.530Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T22:54:20.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T22:54:20.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T22:54:20.820Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T22:54:20.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T22:54:20.851Z] $ docker stop --time=1 61252f9b80c80d82c5e1f50e6e6b03e62ece5b47815670d68d754f93306e9288 [2022-09-20T22:54:22.803Z] $ docker rm -f 61252f9b80c80d82c5e1f50e6e6b03e62ece5b47815670d68d754f93306e9288 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T22:54:23.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T22:54:23.295Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-20T22:54:23.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T22:54:24.029Z] + ls -al . [2022-09-20T22:54:24.029Z] total 232 [2022-09-20T22:54:24.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 22:53 . [2022-09-20T22:54:24.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:52 .. [2022-09-20T22:54:24.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:54 .git [2022-09-20T22:54:24.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:52 .github [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 22:52 .gitignore [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:52 .golangci.yml [2022-09-20T22:54:24.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:53 .semver [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 22:52 Attribution.txt [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 22:52 CHANGELOG.md [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 22:52 Dockerfile [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:52 GOVERNANCE.md [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 22:52 Jenkinsfile [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 22:52 LICENSE [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 22:52 Makefile [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 22:52 OWNERS.md [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 22:52 README.md [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:53 VERSION [2022-09-20T22:54:24.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:52 bin [2022-09-20T22:54:24.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:52 cmd [2022-09-20T22:54:24.029Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 22:54 coverage.out [2022-09-20T22:54:24.029Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:52 doc [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 22:52 go.mod [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 22:52 go.sum [2022-09-20T22:54:24.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:52 internal [2022-09-20T22:54:24.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:52 snap [2022-09-20T22:54:24.029Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 22:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:54:24.397Z] + 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=50775066cb9bf154d31dd33ad33e504737fc17dc --label arch=amd64 --label version=0.0.0 . [2022-09-20T22:54:24.397Z] Sending build context to Docker daemon 20.85MB [2022-09-20T22:54:24.397Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:54:24.397Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T22:54:24.397Z] ---> b74defcbe0f9 [2022-09-20T22:54:24.397Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T22:54:24.657Z] ---> Running in f17da6016a8b [2022-09-20T22:54:24.657Z] Removing intermediate container f17da6016a8b [2022-09-20T22:54:24.657Z] ---> ec3a32c2ad61 [2022-09-20T22:54:24.657Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T22:54:24.657Z] ---> Running in 3a9c51368220 [2022-09-20T22:54:24.657Z] Removing intermediate container 3a9c51368220 [2022-09-20T22:54:24.657Z] ---> ee9214c422b7 [2022-09-20T22:54:24.657Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T22:54:24.657Z] ---> Running in 19e66ae983a6 [2022-09-20T22:54:24.918Z] Removing intermediate container 19e66ae983a6 [2022-09-20T22:54:24.918Z] ---> 8e466243845e [2022-09-20T22:54:24.918Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T22:54:24.918Z] ---> Running in e6a19064b8dd [2022-09-20T22:54:24.918Z] Removing intermediate container e6a19064b8dd [2022-09-20T22:54:24.918Z] ---> 4aa1aa6db6ba [2022-09-20T22:54:24.918Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:54:24.918Z] ---> Running in 50c14566e674 [2022-09-20T22:54:25.487Z] Removing intermediate container 50c14566e674 [2022-09-20T22:54:25.487Z] ---> 550968a4e610 [2022-09-20T22:54:25.487Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T22:54:25.487Z] ---> Running in 8f22a210214a [2022-09-20T22:54:25.747Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T22:54:26.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:54:26.949Z] OK: 211 MiB in 51 packages [2022-09-20T22:54:27.208Z] Removing intermediate container 8f22a210214a [2022-09-20T22:54:27.208Z] ---> 77bf9dfc655e [2022-09-20T22:54:27.208Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T22:54:27.208Z] ---> Running in abc9f43f2b4e [2022-09-20T22:54:27.208Z] Removing intermediate container abc9f43f2b4e [2022-09-20T22:54:27.208Z] ---> 997e36c267d8 [2022-09-20T22:54:27.208Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T22:54:27.469Z] ---> c0dbc9f01e7d [2022-09-20T22:54:27.469Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:54:27.469Z] ---> Running in 7e27c872ed5f [2022-09-20T22:54:28.038Z] Removing intermediate container 7e27c872ed5f [2022-09-20T22:54:28.038Z] ---> 47fbf248dcc4 [2022-09-20T22:54:28.038Z] Step 12/26 : COPY . . [2022-09-20T22:54:28.609Z] ---> eb15b4274365 [2022-09-20T22:54:28.609Z] Step 13/26 : RUN ${MAKE} [2022-09-20T22:54:28.869Z] ---> Running in 48e28b88a3a3 [2022-09-20T22:54:28.869Z] 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-20T22:54:50.813Z] Removing intermediate container 48e28b88a3a3 [2022-09-20T22:54:50.813Z] ---> 59ad083d786d [2022-09-20T22:54:50.813Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T22:54:50.813Z] 3.16: Pulling from library/alpine [2022-09-20T22:54:50.813Z] 213ec9aee27d: Pulling fs layer [2022-09-20T22:54:50.813Z] 213ec9aee27d: Verifying Checksum [2022-09-20T22:54:50.813Z] 213ec9aee27d: Download complete [2022-09-20T22:54:50.813Z] 213ec9aee27d: Pull complete [2022-09-20T22:54:50.813Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T22:54:50.813Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T22:54:50.813Z] ---> 9c6f07244728 [2022-09-20T22:54:50.813Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T22:54:50.813Z] ---> Running in 0766bd213046 [2022-09-20T22:54:50.813Z] Removing intermediate container 0766bd213046 [2022-09-20T22:54:50.813Z] ---> ad017afafbaa [2022-09-20T22:54:50.813Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T22:54:50.813Z] ---> Running in 58cbc1617574 [2022-09-20T22:54:50.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-20T22:54:51.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-20T22:54:51.658Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T22:54:51.658Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T22:54:51.658Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T22:54:51.658Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T22:54:51.658Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T22:54:51.658Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T22:54:51.658Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T22:54:51.658Z] OK: 8 MiB in 20 packages [2022-09-20T22:54:51.918Z] Removing intermediate container 58cbc1617574 [2022-09-20T22:54:51.918Z] ---> 806a61e7c001 [2022-09-20T22:54:51.918Z] Step 17/26 : WORKDIR / [2022-09-20T22:54:51.918Z] ---> Running in a3b8d285124a [2022-09-20T22:54:51.918Z] Removing intermediate container a3b8d285124a [2022-09-20T22:54:51.918Z] ---> 2ff8e8408d31 [2022-09-20T22:54:51.918Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T22:54:52.861Z] ---> 53e566a48016 [2022-09-20T22:54:52.861Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T22:54:52.861Z] ---> 36b2747bf159 [2022-09-20T22:54:52.861Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T22:54:52.861Z] ---> e40a82c49975 [2022-09-20T22:54:52.861Z] Step 21/26 : EXPOSE 59984 [2022-09-20T22:54:52.861Z] ---> Running in 0ff98e6e4c0a [2022-09-20T22:54:53.122Z] Removing intermediate container 0ff98e6e4c0a [2022-09-20T22:54:53.122Z] ---> 8186277c5381 [2022-09-20T22:54:53.122Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T22:54:53.122Z] ---> Running in 6234e42ba053 [2022-09-20T22:54:53.122Z] Removing intermediate container 6234e42ba053 [2022-09-20T22:54:53.122Z] ---> f12b4eed5f9a [2022-09-20T22:54:53.122Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T22:54:53.122Z] ---> Running in 05580216d130 [2022-09-20T22:54:53.122Z] Removing intermediate container 05580216d130 [2022-09-20T22:54:53.122Z] ---> de56a2814be2 [2022-09-20T22:54:53.122Z] Step 24/26 : LABEL arch=amd64 [2022-09-20T22:54:53.122Z] ---> Running in 7fd485e52a00 [2022-09-20T22:54:53.383Z] Removing intermediate container 7fd485e52a00 [2022-09-20T22:54:53.383Z] ---> 3e67fbdf9757 [2022-09-20T22:54:53.383Z] Step 25/26 : LABEL git_sha=50775066cb9bf154d31dd33ad33e504737fc17dc [2022-09-20T22:54:53.383Z] ---> Running in 94be9db6739c [2022-09-20T22:54:53.383Z] Removing intermediate container 94be9db6739c [2022-09-20T22:54:53.383Z] ---> ca099c67b2c9 [2022-09-20T22:54:53.383Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T22:54:53.383Z] ---> Running in 736956ea9275 [2022-09-20T22:54:53.644Z] Removing intermediate container 736956ea9275 [2022-09-20T22:54:53.644Z] ---> 397b56461d9b [2022-09-20T22:54:53.644Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T22:54:53.644Z] Successfully built 397b56461d9b [2022-09-20T22:54:53.644Z] 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-20T22:54:54.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:54:54.107Z] [2022-09-20T22:54:54.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:54:54.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:54:54.421Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-20T22:54:54.421Z] 5eb5b503b376: Pulling fs layer [2022-09-20T22:54:54.421Z] 5c69ac0246d0: Pulling fs layer [2022-09-20T22:54:54.421Z] ec43610c2a17: Pulling fs layer [2022-09-20T22:54:54.421Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-20T22:54:54.421Z] 33b1e0a273af: Pulling fs layer [2022-09-20T22:54:54.421Z] 5d3b04190fa2: Pulling fs layer [2022-09-20T22:54:54.421Z] 2f39f015ded8: Pulling fs layer [2022-09-20T22:54:54.421Z] 5d3b04190fa2: Waiting [2022-09-20T22:54:54.421Z] 3a2ae6a8a46f: Waiting [2022-09-20T22:54:54.421Z] 33b1e0a273af: Waiting [2022-09-20T22:54:54.421Z] 2f39f015ded8: Waiting [2022-09-20T22:54:54.421Z] 5c69ac0246d0: Download complete [2022-09-20T22:54:54.421Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-20T22:54:54.421Z] 3a2ae6a8a46f: Download complete [2022-09-20T22:54:54.686Z] 33b1e0a273af: Verifying Checksum [2022-09-20T22:54:54.686Z] 33b1e0a273af: Download complete [2022-09-20T22:54:54.686Z] 5d3b04190fa2: Verifying Checksum [2022-09-20T22:54:54.686Z] ec43610c2a17: Verifying Checksum [2022-09-20T22:54:54.686Z] ec43610c2a17: Download complete [2022-09-20T22:54:54.949Z] 5eb5b503b376: Verifying Checksum [2022-09-20T22:54:54.949Z] 5eb5b503b376: Download complete [2022-09-20T22:54:55.519Z] 2f39f015ded8: Download complete [2022-09-20T22:54:56.087Z] 5eb5b503b376: Pull complete [2022-09-20T22:54:56.347Z] 5c69ac0246d0: Pull complete [2022-09-20T22:54:56.915Z] ec43610c2a17: Pull complete [2022-09-20T22:54:56.915Z] 3a2ae6a8a46f: Pull complete [2022-09-20T22:54:57.176Z] 33b1e0a273af: Pull complete [2022-09-20T22:54:57.176Z] 5d3b04190fa2: Pull complete [2022-09-20T22:55:01.366Z] 2f39f015ded8: Pull complete [2022-09-20T22:55:01.366Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-20T22:55:01.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T22:55:01.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:55:01.455Z] prd-ubuntu20.04-docker-8c-8g-30010 does not seem to be running inside a container [2022-09-20T22:55:01.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T22:55:03.445Z] $ docker top f219ec82ae93b33c6d409682d7186c74dd38f2eef5ea695f4d4411ff6836fd74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:55:03.814Z] ---> job-cost.sh [2022-09-20T22:55:03.814Z] lf-activate-venv: SKIPPING [2022-09-20T22:55:03.814Z] INFO: No Stack... [2022-09-20T22:55:04.073Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T22:55:04.641Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T22:55:04.929Z] + cat /w/workspace/undry_device-onvif-camera_PR-161/archives/cost.csv [2022-09-20T22:55:04.929Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T22:55:04.944Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [2022-09-20T22:55:04.950Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] did not exist. Created. [2022-09-20T22:55:04.950Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T22:55:05.263Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-20T22:55:05.288Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T22:55:05.294Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T22:55:05.317Z] $ docker stop --time=1 f219ec82ae93b33c6d409682d7186c74dd38f2eef5ea695f4d4411ff6836fd74 [2022-09-20T22:55:06.475Z] $ docker rm -f f219ec82ae93b33c6d409682d7186c74dd38f2eef5ea695f4d4411ff6836fd74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-20T22:55:17.836Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-30011 in /w/workspace/undry_device-onvif-camera_PR-161 [Pipeline] { [Pipeline] ws [2022-09-20T22:55:17.849Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-09-20T22:55:17.899Z] Selected Git installation does not exist. Using Default [2022-09-20T22:55:17.899Z] The recommended git tool is: NONE [2022-09-20T22:55:24.642Z] using credential edgex-jenkins-ssh [2022-09-20T22:55:24.662Z] Cloning the remote Git repository [2022-09-20T22:55:24.719Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T22:55:24.795Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-09-20T22:55:24.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T22:55:24.876Z] > git --version # timeout=10 [2022-09-20T22:55:24.895Z] > git --version # 'git version 2.25.1' [2022-09-20T22:55:24.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:55:24.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T22:55:26.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T22:55:26.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-20T22:55:26.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-20T22:55:26.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-20T22:55:26.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:55:26.379Z] > 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-20T22:55:27.044Z] Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit 72019c51e9d30aac7f1cba772e29552416c1aee1 [2022-09-20T22:55:27.700Z] Merge succeeded, producing ee863d80d5781c421c4d98fd3037029426b69d47 [2022-09-20T22:55:27.701Z] Checking out Revision ee863d80d5781c421c4d98fd3037029426b69d47 (PR-161) [2022-09-20T22:55:27.063Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T22:55:27.079Z] > git checkout -f 72019c51e9d30aac7f1cba772e29552416c1aee1 # timeout=10 [2022-09-20T22:55:27.282Z] > git remote # timeout=10 [2022-09-20T22:55:27.300Z] > git config --get remote.origin.url # timeout=10 [2022-09-20T22:55:27.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-20T22:55:27.327Z] > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [2022-09-20T22:55:27.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-20T22:55:27.708Z] > git config core.sparsecheckout # timeout=10 [2022-09-20T22:55:27.725Z] > git checkout -f ee863d80d5781c421c4d98fd3037029426b69d47 # timeout=10 [2022-09-20T22:55:32.057Z] Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" [2022-09-20T22:55:32.084Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T22:55:32.066Z] > git rev-list --no-walk 963c78eff4ecf8e92cd06a8ccc1ae924a5fcb7b8 # timeout=10 [2022-09-20T22:55:33.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-20T22:55:33.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T22:55:33.137Z] Dload Upload Total Spent Left Speed [2022-09-20T22:55:33.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81303 0 --:--:-- --:--:-- --:--:-- 80782 100 12602 100 12602 0 0 80782 0 --:--:-- --:--:-- --:--:-- 80267 [Pipeline] sh [2022-09-20T22:55:33.811Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-20T22:55:34.151Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-20T22:55:34.152Z] + sudo tee /etc/docker/daemon.new [2022-09-20T22:55:34.152Z] { [2022-09-20T22:55:34.152Z] "registry-mirrors": [ [2022-09-20T22:55:34.152Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-20T22:55:34.152Z] ], [2022-09-20T22:55:34.152Z] "bip": "10.250.0.254/24", [2022-09-20T22:55:34.152Z] "hosts": [ [2022-09-20T22:55:34.152Z] "tcp://0.0.0.0:5555", [2022-09-20T22:55:34.152Z] "unix:///var/run/docker.sock" [2022-09-20T22:55:34.152Z] ], [2022-09-20T22:55:34.152Z] "mtu": 1458, [2022-09-20T22:55:34.152Z] "selinux-enabled": true, [2022-09-20T22:55:34.152Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-20T22:55:34.152Z] } [Pipeline] sh [2022-09-20T22:55:34.498Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-20T22:55:34.833Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T22:55:53.171Z] provisioning config files... [2022-09-20T22:55:53.197Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config6798155422349969181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T22:55:53.557Z] ---> docker-login.sh [2022-09-20T22:55:53.557Z] nexus3.edgexfoundry.org:10001 [2022-09-20T22:55:54.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:55:54.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:55:54.430Z] Configure a credential helper to remove this warning. See [2022-09-20T22:55:54.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:55:54.430Z] [2022-09-20T22:55:54.430Z] Login Succeeded [2022-09-20T22:55:54.430Z] nexus3.edgexfoundry.org:10002 [2022-09-20T22:55:55.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:55:55.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:55:55.028Z] Configure a credential helper to remove this warning. See [2022-09-20T22:55:55.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:55:55.028Z] [2022-09-20T22:55:55.028Z] Login Succeeded [2022-09-20T22:55:55.028Z] nexus3.edgexfoundry.org:10003 [2022-09-20T22:55:55.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:55:55.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:55:55.575Z] Configure a credential helper to remove this warning. See [2022-09-20T22:55:55.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:55:55.575Z] [2022-09-20T22:55:55.575Z] Login Succeeded [2022-09-20T22:55:55.575Z] nexus3.edgexfoundry.org:10004 [2022-09-20T22:55:55.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:55:55.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:55:55.848Z] Configure a credential helper to remove this warning. See [2022-09-20T22:55:55.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:55:55.848Z] [2022-09-20T22:55:55.848Z] Login Succeeded [2022-09-20T22:55:55.848Z] docker.io [2022-09-20T22:55:56.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-20T22:55:56.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-20T22:55:56.718Z] Configure a credential helper to remove this warning. See [2022-09-20T22:55:56.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-20T22:55:56.718Z] [2022-09-20T22:55:56.718Z] Login Succeeded [2022-09-20T22:55:56.718Z] ---> docker-login.sh ends [Pipeline] } [2022-09-20T22:55:56.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-20T22:55:57.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:55:57.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-20T22:55:57.274Z] ========================================================= [2022-09-20T22:55:57.274Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-20T22:55:57.274Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:55:57.632Z] + 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-20T22:55:58.246Z] Sending build context to Docker daemon 14.25MB [2022-09-20T22:55:58.246Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T22:55:58.246Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-20T22:55:58.537Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-20T22:55:58.537Z] b3c136eddcbf: Pulling fs layer [2022-09-20T22:55:58.537Z] c0a3192eca97: Pulling fs layer [2022-09-20T22:55:58.537Z] a050256f5b6f: Pulling fs layer [2022-09-20T22:55:58.537Z] 656be50a0ddc: Pulling fs layer [2022-09-20T22:55:58.537Z] 2bbca73fdf42: Pulling fs layer [2022-09-20T22:55:58.537Z] 46d945488cbd: Pulling fs layer [2022-09-20T22:55:58.537Z] 8a5474983e97: Pulling fs layer [2022-09-20T22:55:58.537Z] 329c88fbcd65: Pulling fs layer [2022-09-20T22:55:58.537Z] 656be50a0ddc: Waiting [2022-09-20T22:55:58.537Z] 2bbca73fdf42: Waiting [2022-09-20T22:55:58.537Z] 46d945488cbd: Waiting [2022-09-20T22:55:58.537Z] 8a5474983e97: Waiting [2022-09-20T22:55:58.537Z] 329c88fbcd65: Waiting [2022-09-20T22:55:58.537Z] a050256f5b6f: Download complete [2022-09-20T22:55:58.537Z] c0a3192eca97: Verifying Checksum [2022-09-20T22:55:58.537Z] c0a3192eca97: Download complete [2022-09-20T22:55:58.537Z] 2bbca73fdf42: Verifying Checksum [2022-09-20T22:55:58.537Z] 2bbca73fdf42: Download complete [2022-09-20T22:55:58.537Z] 46d945488cbd: Verifying Checksum [2022-09-20T22:55:58.537Z] 46d945488cbd: Download complete [2022-09-20T22:55:58.537Z] b3c136eddcbf: Verifying Checksum [2022-09-20T22:55:59.530Z] b3c136eddcbf: Pull complete [2022-09-20T22:55:59.530Z] 329c88fbcd65: Verifying Checksum [2022-09-20T22:55:59.530Z] 329c88fbcd65: Download complete [2022-09-20T22:56:00.144Z] c0a3192eca97: Pull complete [2022-09-20T22:56:00.419Z] a050256f5b6f: Pull complete [2022-09-20T22:56:00.693Z] 8a5474983e97: Verifying Checksum [2022-09-20T22:56:00.693Z] 8a5474983e97: Download complete [2022-09-20T22:56:01.295Z] 656be50a0ddc: Verifying Checksum [2022-09-20T22:56:01.295Z] 656be50a0ddc: Download complete [2022-09-20T22:56:16.402Z] 656be50a0ddc: Pull complete [2022-09-20T22:56:16.402Z] 2bbca73fdf42: Pull complete [2022-09-20T22:56:16.402Z] 46d945488cbd: Pull complete [2022-09-20T22:56:20.721Z] 8a5474983e97: Pull complete [2022-09-20T22:56:22.708Z] 329c88fbcd65: Pull complete [2022-09-20T22:56:22.708Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-20T22:56:22.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-20T22:56:22.708Z] ---> ff4287adb874 [2022-09-20T22:56:22.708Z] Step 3/13 : ARG MAKE="make build" [2022-09-20T22:56:24.691Z] ---> Running in f24dca8266bb [2022-09-20T22:56:24.691Z] Removing intermediate container f24dca8266bb [2022-09-20T22:56:24.691Z] ---> a530ba0c0320 [2022-09-20T22:56:24.691Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T22:56:24.691Z] ---> Running in 76164e0fdea1 [2022-09-20T22:56:24.968Z] Removing intermediate container 76164e0fdea1 [2022-09-20T22:56:24.968Z] ---> d7cc1f78af24 [2022-09-20T22:56:24.968Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T22:56:25.249Z] ---> Running in 5e620db509cf [2022-09-20T22:56:25.522Z] Removing intermediate container 5e620db509cf [2022-09-20T22:56:25.522Z] ---> d872a397c75b [2022-09-20T22:56:25.522Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-20T22:56:25.522Z] ---> Running in 5a0e8cfcd57f [2022-09-20T22:56:26.960Z] Removing intermediate container 5a0e8cfcd57f [2022-09-20T22:56:26.960Z] ---> c3bab4e93528 [2022-09-20T22:56:26.960Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T22:56:27.234Z] ---> Running in 3d57f3b39b12 [2022-09-20T22:56:28.670Z] Removing intermediate container 3d57f3b39b12 [2022-09-20T22:56:28.670Z] ---> 720f4d9fcbf2 [2022-09-20T22:56:28.670Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T22:56:28.953Z] ---> Running in 3090ad06ab36 [2022-09-20T22:56:29.938Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T22:56:30.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T22:56:31.513Z] OK: 221 MiB in 51 packages [2022-09-20T22:56:32.505Z] Removing intermediate container 3090ad06ab36 [2022-09-20T22:56:32.505Z] ---> 5dc07ccd74a5 [2022-09-20T22:56:32.505Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-20T22:56:32.505Z] ---> Running in 4cdbf5a405f2 [2022-09-20T22:56:32.780Z] Removing intermediate container 4cdbf5a405f2 [2022-09-20T22:56:32.780Z] ---> 2ec9cc2985dd [2022-09-20T22:56:32.780Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-20T22:56:33.385Z] ---> 567128179534 [2022-09-20T22:56:33.385Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T22:56:33.385Z] ---> Running in c78eea4c190e [2022-09-20T22:57:29.955Z] Removing intermediate container c78eea4c190e [2022-09-20T22:57:29.955Z] ---> 7cc278db6401 [2022-09-20T22:57:29.955Z] Step 12/13 : COPY . . [2022-09-20T22:57:29.955Z] ---> 80bc3034cecc [2022-09-20T22:57:29.955Z] Step 13/13 : RUN ${MAKE} [2022-09-20T22:57:29.955Z] ---> Running in 2cfb9bb9a6e0 [2022-09-20T22:57:29.955Z] noop [2022-09-20T22:57:29.955Z] Removing intermediate container 2cfb9bb9a6e0 [2022-09-20T22:57:29.955Z] ---> e4ce22306283 [2022-09-20T22:57:29.955Z] Successfully built e4ce22306283 [2022-09-20T22:57:29.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:57:30.317Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T22:57:30.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:57:30.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-30011 does not seem to be running inside a container [2022-09-20T22:57:30.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-20T22:57:31.973Z] $ docker top 42e0621f780e0fa85b29eb7867c67aa53c11a90acc61584eed99f93bcaad71b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:57:32.914Z] + go version [2022-09-20T22:57:32.914Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-20T22:57:32.938Z] $ docker stop --time=1 42e0621f780e0fa85b29eb7867c67aa53c11a90acc61584eed99f93bcaad71b0 [2022-09-20T22:57:34.603Z] $ docker rm -f 42e0621f780e0fa85b29eb7867c67aa53c11a90acc61584eed99f93bcaad71b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T22:57:35.211Z] + docker inspect -f . ci-base-image-arm64 [2022-09-20T22:57:35.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T22:57:35.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-30011 does not seem to be running inside a container [2022-09-20T22:57:35.545Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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-20T22:57:36.810Z] $ docker top f24c2d3d8c4733255b88c4e3872d786458e82257d71f2f6c564946362336751b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T22:57:37.721Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-09-20T22:57:38.391Z] + make test [2022-09-20T22:57:38.391Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-20T22:57:40.375Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-20T22:59:02.243Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-20T22:59:08.981Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.6% of statements [2022-09-20T22:59:08.981Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-20T22:59:35.787Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.430s coverage: 13.8% of statements [2022-09-20T22:59:35.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-20T22:59:35.788Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-20T22:59:58.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-20T22:59:58.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-20T22:59:58.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-20T22:59:58.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-20T22:59:58.047Z] $ docker stop --time=1 f24c2d3d8c4733255b88c4e3872d786458e82257d71f2f6c564946362336751b [2022-09-20T22:59:59.790Z] $ docker rm -f f24c2d3d8c4733255b88c4e3872d786458e82257d71f2f6c564946362336751b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-20T23:00:00.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-20T23:00:00.769Z] Warning: overwriting stash ‘coverage-report’ [2022-09-20T23:00:01.283Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-20T23:00:01.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-20T23:00:01.993Z] + ls -al . [2022-09-20T23:00:01.993Z] total 228 [2022-09-20T23:00:01.993Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 22:57 . [2022-09-20T23:00:01.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:55 .. [2022-09-20T23:00:01.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 22:55 .git [2022-09-20T23:00:01.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:55 .github [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 20 22:55 .gitignore [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 22:55 .golangci.yml [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 20 22:55 Attribution.txt [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 20 22:55 CHANGELOG.md [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 20 22:55 Dockerfile [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 22:55 GOVERNANCE.md [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 20 22:55 Jenkinsfile [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 20 22:55 LICENSE [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 20 22:55 Makefile [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 20 22:55 OWNERS.md [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 20 22:55 README.md [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 22:53 VERSION [2022-09-20T23:00:01.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 22:55 bin [2022-09-20T23:00:01.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 22:55 cmd [2022-09-20T23:00:01.993Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 20 22:59 coverage.out [2022-09-20T23:00:01.993Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 22:55 doc [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 20 22:55 go.mod [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 20 22:55 go.sum [2022-09-20T23:00:01.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:55 internal [2022-09-20T23:00:01.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 22:55 snap [2022-09-20T23:00:01.993Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 20 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:00:02.347Z] + 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=ee863d80d5781c421c4d98fd3037029426b69d47 --label arch=arm64 --label version=0.0.0 . [2022-09-20T23:00:02.939Z] Sending build context to Docker daemon 14.33MB [2022-09-20T23:00:02.939Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-20T23:00:02.939Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-20T23:00:02.939Z] ---> e4ce22306283 [2022-09-20T23:00:02.939Z] Step 3/26 : ARG MAKE="make build" [2022-09-20T23:00:02.939Z] ---> Running in d066282b392d [2022-09-20T23:00:03.210Z] Removing intermediate container d066282b392d [2022-09-20T23:00:03.210Z] ---> 2daef5ef7bdd [2022-09-20T23:00:03.210Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-20T23:00:03.484Z] ---> Running in d3f56ecd3c4d [2022-09-20T23:00:03.758Z] Removing intermediate container d3f56ecd3c4d [2022-09-20T23:00:03.758Z] ---> a66722dd3399 [2022-09-20T23:00:03.758Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-20T23:00:03.758Z] ---> Running in d2e61f5813ea [2022-09-20T23:00:04.036Z] Removing intermediate container d2e61f5813ea [2022-09-20T23:00:04.036Z] ---> 19c1b4839c63 [2022-09-20T23:00:04.036Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-20T23:00:04.036Z] ---> Running in 774aa678859a [2022-09-20T23:00:04.307Z] Removing intermediate container 774aa678859a [2022-09-20T23:00:04.307Z] ---> 814c33ee4eff [2022-09-20T23:00:04.307Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-20T23:00:04.307Z] ---> Running in 8b1749ca1545 [2022-09-20T23:00:05.737Z] Removing intermediate container 8b1749ca1545 [2022-09-20T23:00:05.737Z] ---> e291c97ccd5e [2022-09-20T23:00:05.737Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-20T23:00:06.018Z] ---> Running in 4931eb3636c1 [2022-09-20T23:00:07.000Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T23:00:07.971Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T23:00:08.566Z] OK: 221 MiB in 51 packages [2022-09-20T23:00:09.546Z] Removing intermediate container 4931eb3636c1 [2022-09-20T23:00:09.546Z] ---> e22938a1dd69 [2022-09-20T23:00:09.546Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-20T23:00:09.546Z] ---> Running in a81be9cf017f [2022-09-20T23:00:09.546Z] Removing intermediate container a81be9cf017f [2022-09-20T23:00:09.546Z] ---> 6c9042993d5e [2022-09-20T23:00:09.546Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-20T23:00:10.152Z] ---> feb27125621d [2022-09-20T23:00:10.152Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-20T23:00:10.152Z] ---> Running in e7588d36f3af [2022-09-20T23:00:12.159Z] Removing intermediate container e7588d36f3af [2022-09-20T23:00:12.159Z] ---> e2579715a507 [2022-09-20T23:00:12.159Z] Step 12/26 : COPY . . [2022-09-20T23:00:14.138Z] ---> a856669b2657 [2022-09-20T23:00:14.138Z] Step 13/26 : RUN ${MAKE} [2022-09-20T23:00:14.138Z] ---> Running in e99880d30422 [2022-09-20T23:00:14.734Z] 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:02:36.649Z] Removing intermediate container e99880d30422 [2022-09-20T23:02:36.649Z] ---> 825ae8ab1105 [2022-09-20T23:02:36.649Z] Step 14/26 : FROM alpine:3.16 [2022-09-20T23:02:36.649Z] 3.16: Pulling from library/alpine [2022-09-20T23:02:36.649Z] 9b18e9b68314: Pulling fs layer [2022-09-20T23:02:36.649Z] 9b18e9b68314: Download complete [2022-09-20T23:02:36.649Z] 9b18e9b68314: Pull complete [2022-09-20T23:02:36.649Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-20T23:02:36.649Z] Status: Downloaded newer image for alpine:3.16 [2022-09-20T23:02:36.649Z] ---> a6215f271958 [2022-09-20T23:02:36.649Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-20T23:02:36.649Z] ---> Running in dbdc4b4c2e2c [2022-09-20T23:02:36.649Z] Removing intermediate container dbdc4b4c2e2c [2022-09-20T23:02:36.649Z] ---> 85d33026df9d [2022-09-20T23:02:36.649Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-20T23:02:36.649Z] ---> Running in e522831f7608 [2022-09-20T23:02:36.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-20T23:02:36.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-20T23:02:36.650Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-20T23:02:36.650Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-20T23:02:36.650Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-20T23:02:36.650Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-20T23:02:36.650Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-20T23:02:36.650Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-20T23:02:36.650Z] Executing busybox-1.35.0-r17.trigger [2022-09-20T23:02:36.650Z] OK: 8 MiB in 20 packages [2022-09-20T23:02:36.650Z] Removing intermediate container e522831f7608 [2022-09-20T23:02:36.650Z] ---> f75885e84438 [2022-09-20T23:02:36.650Z] Step 17/26 : WORKDIR / [2022-09-20T23:02:36.650Z] ---> Running in 15cbb652b776 [2022-09-20T23:02:36.650Z] Removing intermediate container 15cbb652b776 [2022-09-20T23:02:36.650Z] ---> 23f53cfbea2c [2022-09-20T23:02:36.650Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-20T23:02:36.650Z] ---> 4ae3547ee9f9 [2022-09-20T23:02:36.650Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-20T23:02:36.650Z] ---> c0dc3ca78d0e [2022-09-20T23:02:36.650Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-20T23:02:36.650Z] ---> 10f747c70cfb [2022-09-20T23:02:36.650Z] Step 21/26 : EXPOSE 59984 [2022-09-20T23:02:36.650Z] ---> Running in 869c15652328 [2022-09-20T23:02:36.650Z] Removing intermediate container 869c15652328 [2022-09-20T23:02:36.650Z] ---> 6fa9e6f3f874 [2022-09-20T23:02:36.650Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-20T23:02:36.650Z] ---> Running in 54a9ef3a22c3 [2022-09-20T23:02:36.650Z] Removing intermediate container 54a9ef3a22c3 [2022-09-20T23:02:36.650Z] ---> 9416aa1a6029 [2022-09-20T23:02:36.650Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-20T23:02:36.650Z] ---> Running in 12891156ebd9 [2022-09-20T23:02:36.650Z] Removing intermediate container 12891156ebd9 [2022-09-20T23:02:36.650Z] ---> 71cbca500b0d [2022-09-20T23:02:36.650Z] Step 24/26 : LABEL arch=arm64 [2022-09-20T23:02:36.650Z] ---> Running in 1205e2bf8647 [2022-09-20T23:02:36.650Z] Removing intermediate container 1205e2bf8647 [2022-09-20T23:02:36.650Z] ---> 98c4aa873680 [2022-09-20T23:02:36.650Z] Step 25/26 : LABEL git_sha=ee863d80d5781c421c4d98fd3037029426b69d47 [2022-09-20T23:02:36.650Z] ---> Running in 5a92cd9a4405 [2022-09-20T23:02:36.650Z] Removing intermediate container 5a92cd9a4405 [2022-09-20T23:02:36.650Z] ---> f811d3e5c262 [2022-09-20T23:02:36.650Z] Step 26/26 : LABEL version=0.0.0 [2022-09-20T23:02:36.650Z] ---> Running in ca71282f5605 [2022-09-20T23:02:36.650Z] Removing intermediate container ca71282f5605 [2022-09-20T23:02:36.650Z] ---> ce276fa59f42 [2022-09-20T23:02:36.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-20T23:02:36.650Z] Successfully built ce276fa59f42 [2022-09-20T23:02:36.650Z] 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:02:37.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:02:37.113Z] [2022-09-20T23:02:37.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:02:37.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:02:37.745Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-20T23:02:37.745Z] 8998bd30e6a1: Pulling fs layer [2022-09-20T23:02:37.745Z] 04944245beec: Pulling fs layer [2022-09-20T23:02:37.745Z] 699f458cf7ca: Pulling fs layer [2022-09-20T23:02:37.745Z] 765212b225bb: Pulling fs layer [2022-09-20T23:02:37.745Z] f23df028b6ca: Pulling fs layer [2022-09-20T23:02:37.745Z] d65c8cfc05b1: Pulling fs layer [2022-09-20T23:02:37.745Z] 765212b225bb: Waiting [2022-09-20T23:02:37.745Z] f23df028b6ca: Waiting [2022-09-20T23:02:37.745Z] 2437ff75d9bd: Pulling fs layer [2022-09-20T23:02:37.745Z] 2437ff75d9bd: Waiting [2022-09-20T23:02:37.745Z] d65c8cfc05b1: Waiting [2022-09-20T23:02:37.745Z] 04944245beec: Verifying Checksum [2022-09-20T23:02:37.745Z] 04944245beec: Download complete [2022-09-20T23:02:37.745Z] 765212b225bb: Verifying Checksum [2022-09-20T23:02:37.745Z] 765212b225bb: Download complete [2022-09-20T23:02:37.745Z] f23df028b6ca: Verifying Checksum [2022-09-20T23:02:37.745Z] f23df028b6ca: Download complete [2022-09-20T23:02:37.745Z] d65c8cfc05b1: Verifying Checksum [2022-09-20T23:02:37.745Z] d65c8cfc05b1: Download complete [2022-09-20T23:02:38.022Z] 699f458cf7ca: Verifying Checksum [2022-09-20T23:02:38.022Z] 699f458cf7ca: Download complete [2022-09-20T23:02:38.300Z] 8998bd30e6a1: Download complete [2022-09-20T23:02:40.947Z] 2437ff75d9bd: Verifying Checksum [2022-09-20T23:02:40.948Z] 2437ff75d9bd: Download complete [2022-09-20T23:02:42.935Z] 8998bd30e6a1: Pull complete [2022-09-20T23:02:43.212Z] 04944245beec: Pull complete [2022-09-20T23:02:44.654Z] 699f458cf7ca: Pull complete [2022-09-20T23:02:44.930Z] 765212b225bb: Pull complete [2022-09-20T23:02:45.914Z] f23df028b6ca: Pull complete [2022-09-20T23:02:45.915Z] d65c8cfc05b1: Pull complete [2022-09-20T23:03:01.016Z] 2437ff75d9bd: Pull complete [2022-09-20T23:03:01.016Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-20T23:03:01.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-20T23:03:01.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:03:01.272Z] prd-ubuntu20.04-docker-arm64-4c-16g-30011 does not seem to be running inside a container [2022-09-20T23:03:01.362Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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:03:04.030Z] $ docker top d9aa93e610884241a549093a78a6de95d3e7277fc27f09dc8cd07618f63b32ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:04.962Z] ---> job-cost.sh [2022-09-20T23:03:04.962Z] lf-activate-venv: SKIPPING [2022-09-20T23:03:04.962Z] INFO: No Stack... [2022-09-20T23:03:05.234Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-20T23:03:06.210Z] INFO: Archiving Costs [Pipeline] sh [2022-09-20T23:03:06.875Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-09-20T23:03:06.875Z] + cut -d, -f6 [Pipeline] lock [2022-09-20T23:03:06.938Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [2022-09-20T23:03:06.944Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] did not exist. Created. [2022-09-20T23:03:06.945Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-20T23:03:07.623Z] /w/workspace/device-onvif-camera/6@tmp/durable-71ac7203/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-20T23:03:08.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-20T23:03:08.328Z] Warning: overwriting stash ‘stack-cost’ [2022-09-20T23:03:08.388Z] Stashed 1 file(s) [Pipeline] } [2022-09-20T23:03:08.397Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-161-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-20T23:03:08.419Z] $ docker stop --time=1 d9aa93e610884241a549093a78a6de95d3e7277fc27f09dc8cd07618f63b32ac [2022-09-20T23:03:09.941Z] $ docker rm -f d9aa93e610884241a549093a78a6de95d3e7277fc27f09dc8cd07618f63b32ac [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:03:10.427Z] provisioning config files... [2022-09-20T23:03:10.435Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config4997666432040105336tmp [Pipeline] { [Pipeline] sh [2022-09-20T23:03:10.739Z] + set +x [2022-09-20T23:03:10.739Z] + curl -s https://codecov.io/bash [2022-09-20T23:03:10.739Z] + bash -s -- [2022-09-20T23:03:10.739Z] [2022-09-20T23:03:10.739Z] _____ _ [2022-09-20T23:03:10.739Z] / ____| | | [2022-09-20T23:03:10.739Z] | | ___ __| | ___ ___ _____ __ [2022-09-20T23:03:10.739Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-20T23:03:10.739Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-20T23:03:10.739Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-20T23:03:10.739Z] Bash-1.0.6 [2022-09-20T23:03:10.739Z] [2022-09-20T23:03:10.739Z] [2022-09-20T23:03:10.739Z] ==> git version 2.25.1 found [2022-09-20T23:03:10.739Z] ==> 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:03:10.739Z] Release-Date: 2020-01-08 [2022-09-20T23:03:10.739Z] 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:03:10.739Z] 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:03:10.739Z] ==> Jenkins CI detected. [2022-09-20T23:03:10.739Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T23:03:10.739Z] project root: . [2022-09-20T23:03:10.739Z] --> token set from env [2022-09-20T23:03:10.739Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-20T23:03:11.000Z] ==> Running gcov in . (disable via -X gcov) [2022-09-20T23:03:11.000Z] ==> Python coveragepy not found [2022-09-20T23:03:11.000Z] ==> Searching for coverage reports in: [2022-09-20T23:03:11.000Z] + . [2022-09-20T23:03:11.000Z] -> Found 1 reports [2022-09-20T23:03:11.000Z] ==> Detecting git/mercurial file structure [2022-09-20T23:03:11.000Z] ==> Reading reports [2022-09-20T23:03:11.000Z] + ./coverage.out bytes=77283 [2022-09-20T23:03:11.000Z] ==> Appending adjustments [2022-09-20T23:03:11.000Z] https://docs.codecov.io/docs/fixing-reports [2022-09-20T23:03:11.000Z] + Found adjustments [2022-09-20T23:03:11.000Z] ==> Gzipping contents [2022-09-20T23:03:11.000Z] 12K /tmp/codecov.4sX4yr.gz [2022-09-20T23:03:11.000Z] ==> Uploading reports [2022-09-20T23:03:11.000Z] url: https://codecov.io [2022-09-20T23:03:11.000Z] query: branch=PR-161&commit=50775066cb9bf154d31dd33ad33e504737fc17dc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T23:03:11.000Z] -> Pinging Codecov [2022-09-20T23:03:11.000Z] 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=50775066cb9bf154d31dd33ad33e504737fc17dc&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-161%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-09-20T23:03:11.570Z] -> Uploading to [2022-09-20T23:03:11.570Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-20/F29A59C45E3A92E06B3E522C9905F8EF/50775066cb9bf154d31dd33ad33e504737fc17dc/9f0ca8c9-4af7-4a81-be3b-09cdacdb5c3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T230311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69f4bf950fe0e6e00861e24fe780f0bee9b9e045398a8a81fe88f2fc850f937f [2022-09-20T23:03:11.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-20T23:03:11.570Z] Dload Upload Total Spent Left Speed [2022-09-20T23:03:11.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10567 0 0 100 10567 0 43846 --:--:-- --:--:-- --:--:-- 43665 100 10567 0 0 100 10567 0 43846 --:--:-- --:--:-- --:--:-- 43665 [2022-09-20T23:03:11.831Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/50775066cb9bf154d31dd33ad33e504737fc17dc [Pipeline] } [2022-09-20T23:03:11.840Z] 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:03:12.526Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-161/archives ] [2022-09-20T23:03:12.526Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:03:12.526Z] total 16 [2022-09-20T23:03:12.526Z] drwxr-xr-x 3 root root 4096 Sep 20 22:55 . [2022-09-20T23:03:12.526Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 22:55 .. [2022-09-20T23:03:12.526Z] drwxr-xr-x 2 root root 4096 Sep 20 22:55 cost [2022-09-20T23:03:12.526Z] -rw-r--r-- 1 root root 91 Sep 20 22:55 cost.csv [2022-09-20T23:03:12.526Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:03:12.526Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-161/archives [2022-09-20T23:03:12.526Z] total 16 [2022-09-20T23:03:12.526Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 22:55 . [2022-09-20T23:03:12.526Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 22:55 .. [2022-09-20T23:03:12.526Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 22:55 cost [2022-09-20T23:03:12.526Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 20 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:12.891Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:13.761Z] ---> package-listing.sh [2022-09-20T23:03:13.761Z] ++ facter osfamily [2022-09-20T23:03:13.761Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-20T23:03:14.021Z] + OS_FAMILY=debian [2022-09-20T23:03:14.021Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-161 [2022-09-20T23:03:14.021Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-20T23:03:14.021Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-20T23:03:14.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-20T23:03:14.021Z] + PACKAGES=/tmp/packages_start.txt [2022-09-20T23:03:14.021Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T23:03:14.021Z] + PACKAGES=/tmp/packages_end.txt [2022-09-20T23:03:14.021Z] + case "${OS_FAMILY}" in [2022-09-20T23:03:14.021Z] + dpkg -l [2022-09-20T23:03:14.021Z] + grep '^ii' [2022-09-20T23:03:14.021Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-20T23:03:14.021Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-20T23:03:14.021Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-20T23:03:14.021Z] + '[' /w/workspace/undry_device-onvif-camera_PR-161 ']' [2022-09-20T23:03:14.021Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-161/archives/ [2022-09-20T23:03:14.021Z] + 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:03:14.032Z] 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:03:14.312Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-20T23:03:14.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-20T23:03:14.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-20T23:03:14.960Z] prd-ubuntu20.04-docker-8c-8g-30010 does not seem to be running inside a container [2022-09-20T23:03:15.005Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-161 -v /w/workspace/undry_device-onvif-camera_PR-161:/w/workspace/undry_device-onvif-camera_PR-161:rw,z -v /w/workspace/undry_device-onvif-camera_PR-161@tmp:/w/workspace/undry_device-onvif-camera_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-20T23:03:15.233Z] $ docker top c7250e5b3341200621ba8cad9687b153cbdaabe5edbd7ede2fa0ab20767cfccd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-20T23:03:15.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-20T23:03:15.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-20T23:03:16.166Z] + ls /var/log/sa-host [2022-09-20T23:03:16.166Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-20T23:03:16.241Z] provisioning config files... [2022-09-20T23:03:16.251Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-161@tmp/config9190890937927575186tmp [Pipeline] { [Pipeline] echo [2022-09-20T23:03:16.265Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:16.552Z] ---> create-netrc.sh [Pipeline] } [2022-09-20T23:03:16.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:16.889Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-20T23:03:16.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:17.183Z] ---> sudo-logs.sh [2022-09-20T23:03:17.183Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-20T23:03:17.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:17.489Z] ---> job-cost.sh [2022-09-20T23:03:17.489Z] lf-activate-venv: SKIPPING [2022-09-20T23:03:17.489Z] DEBUG: total: 0.2199999988079071 [2022-09-20T23:03:17.489Z] INFO: Retrieving Stack Cost... [2022-09-20T23:03:17.749Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-20T23:03:18.320Z] INFO: Archiving Costs [Pipeline] echo [2022-09-20T23:03:18.331Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-20T23:03:18.615Z] ---> logs-deploy.sh [2022-09-20T23:03:18.616Z] lf-activate-venv: SKIPPING [2022-09-20T23:03:18.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-161/6 [2022-09-20T23:03:18.616Z] INFO: archiving workspace using pattern(s): [2022-09-20T23:03:19.552Z] Archives upload complete. [2022-09-20T23:03:19.813Z] INFO: archiving logs to Nexus [2022-09-20T23:03:20.383Z] ---> uname -a: [2022-09-20T23:03:20.383Z] Linux prd-ubuntu20-04-docker-8c-8g-30010 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] ---> lscpu: [2022-09-20T23:03:20.383Z] Architecture: x86_64 [2022-09-20T23:03:20.383Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-20T23:03:20.383Z] Byte Order: Little Endian [2022-09-20T23:03:20.383Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-20T23:03:20.383Z] CPU(s): 8 [2022-09-20T23:03:20.383Z] On-line CPU(s) list: 0-7 [2022-09-20T23:03:20.383Z] Thread(s) per core: 1 [2022-09-20T23:03:20.383Z] Core(s) per socket: 1 [2022-09-20T23:03:20.383Z] Socket(s): 8 [2022-09-20T23:03:20.383Z] NUMA node(s): 1 [2022-09-20T23:03:20.383Z] Vendor ID: AuthenticAMD [2022-09-20T23:03:20.383Z] CPU family: 23 [2022-09-20T23:03:20.383Z] Model: 49 [2022-09-20T23:03:20.383Z] Model name: AMD EPYC-Rome Processor [2022-09-20T23:03:20.383Z] Stepping: 0 [2022-09-20T23:03:20.383Z] CPU MHz: 2799.988 [2022-09-20T23:03:20.383Z] BogoMIPS: 5599.97 [2022-09-20T23:03:20.383Z] Virtualization: AMD-V [2022-09-20T23:03:20.383Z] Hypervisor vendor: KVM [2022-09-20T23:03:20.383Z] Virtualization type: full [2022-09-20T23:03:20.383Z] L1d cache: 256 KiB [2022-09-20T23:03:20.383Z] L1i cache: 256 KiB [2022-09-20T23:03:20.383Z] L2 cache: 4 MiB [2022-09-20T23:03:20.383Z] L3 cache: 128 MiB [2022-09-20T23:03:20.383Z] NUMA node0 CPU(s): 0-7 [2022-09-20T23:03:20.383Z] Vulnerability Itlb multihit: Not affected [2022-09-20T23:03:20.383Z] Vulnerability L1tf: Not affected [2022-09-20T23:03:20.383Z] Vulnerability Mds: Not affected [2022-09-20T23:03:20.383Z] Vulnerability Meltdown: Not affected [2022-09-20T23:03:20.383Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-20T23:03:20.383Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-20T23:03:20.383Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-20T23:03:20.383Z] Vulnerability Srbds: Not affected [2022-09-20T23:03:20.383Z] Vulnerability Tsx async abort: Not affected [2022-09-20T23:03:20.383Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] ---> nproc: [2022-09-20T23:03:20.383Z] 8 [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z] ---> df -h: [2022-09-20T23:03:20.383Z] Filesystem Size Used Avail Use% Mounted on [2022-09-20T23:03:20.383Z] overlay 155G 11G 145G 8% / [2022-09-20T23:03:20.383Z] tmpfs 64M 0 64M 0% /dev [2022-09-20T23:03:20.383Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-20T23:03:20.383Z] shm 64M 0 64M 0% /dev/shm [2022-09-20T23:03:20.383Z] /dev/vda1 155G 11G 145G 8% /facter-os [2022-09-20T23:03:20.383Z] [2022-09-20T23:03:20.383Z]