Pull request #159 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b81cbc5b194cdd0da22d2291dd6c7a55125812e6+8a3386b2ee541d18e88ea65fa18280a00a2df7ca (0c1f876d85455a4a7fdf2654bef4fe76d85697eb) 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-ssh2291431544599657347.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-ssh4238408363827705594.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-159/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-159/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17869497874541317787.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-159/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2134638482456422755.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1787037189580508824.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-159/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-159/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11594156325212946510.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28925 in /w/workspace/undry_device-onvif-camera_PR-159 [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-159 # 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit b81cbc5b194cdd0da22d2291dd6c7a55125812e6 Merge succeeded, producing b81cbc5b194cdd0da22d2291dd6c7a55125812e6 Checking out Revision b81cbc5b194cdd0da22d2291dd6c7a55125812e6 (PR-159) > 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/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b81cbc5b194cdd0da22d2291dd6c7a55125812e6 # 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b81cbc5b194cdd0da22d2291dd6c7a55125812e6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-12T03:21:00.206Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-12T03:21:00.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-12T03:21:00.485Z] ========================================================= [2022-09-12T03:21:00.485Z] EdgeX Global Pipelines Version Info [2022-09-12T03:21:00.485Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:21:01.275Z] ------------------- [2022-09-12T03:21:01.275Z] stable info: [2022-09-12T03:21:01.275Z] ------------------- [2022-09-12T03:21:01.275Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-12T03:21:01.275Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T03:21:01.275Z] Message: update stable to v1.0.239 [2022-09-12T03:21:01.848Z] ------------------- [2022-09-12T03:21:01.848Z] experimental info: [2022-09-12T03:21:01.848Z] ------------------- [2022-09-12T03:21:01.848Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-12T03:21:01.848Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T03:21:01.848Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-12T03:21:02.260Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-12T03:21:02.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-12T03:21:02.353Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-12T03:21:02.396Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-12T03:21:02.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-12T03:21:02.486Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-12T03:21:02.527Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-12T03:21:02.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-12T03:21:02.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-12T03:21:02.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-12T03:21:02.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-12T03:21:02.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-12T03:21:02.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-12T03:21:02.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-12T03:21:02.860Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T03:21:02.909Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T03:21:02.952Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T03:21:02.995Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T03:21:03.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-12T03:21:03.074Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-12T03:21:03.113Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-12T03:21:03.155Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-12T03:21:03.201Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-12T03:21:03.245Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-12T03:21:03.288Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-12T03:21:03.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-12T03:21:03.371Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-12T03:21:03.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-159 [Pipeline] echo [2022-09-12T03:21:03.456Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-159 [Pipeline] echo [2022-09-12T03:21:03.499Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-159 [Pipeline] echo [2022-09-12T03:21:03.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [Pipeline] echo [2022-09-12T03:21:03.587Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b81cbc5 [Pipeline] echo [2022-09-12T03:21:03.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T03:21:03.756Z] provisioning config files... [2022-09-12T03:21:03.771Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-159@tmp/config1153966477141489201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:21:04.141Z] ---> docker-login.sh [2022-09-12T03:21:04.141Z] nexus3.edgexfoundry.org:10001 [2022-09-12T03:21:04.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:04.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:04.672Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:04.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:04.672Z] [2022-09-12T03:21:04.672Z] Login Succeeded [2022-09-12T03:21:04.672Z] nexus3.edgexfoundry.org:10002 [2022-09-12T03:21:04.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:04.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:04.672Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:04.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:04.672Z] [2022-09-12T03:21:04.672Z] Login Succeeded [2022-09-12T03:21:04.672Z] nexus3.edgexfoundry.org:10003 [2022-09-12T03:21:04.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:04.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:04.939Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:04.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:04.939Z] [2022-09-12T03:21:04.939Z] Login Succeeded [2022-09-12T03:21:04.939Z] nexus3.edgexfoundry.org:10004 [2022-09-12T03:21:04.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:04.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:04.939Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:04.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:04.939Z] [2022-09-12T03:21:04.939Z] Login Succeeded [2022-09-12T03:21:05.199Z] docker.io [2022-09-12T03:21:05.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:05.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:05.460Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:05.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:05.460Z] [2022-09-12T03:21:05.460Z] Login Succeeded [2022-09-12T03:21:05.460Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T03:21:05.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-12T03:21:06.105Z] + git rev-list -1 --merges b81cbc5b194cdd0da22d2291dd6c7a55125812e6~1..b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [Pipeline] echo [2022-09-12T03:21:06.156Z] -----------> git rev-list -1 --merges b81cbc5b194cdd0da22d2291dd6c7a55125812e6~1..b81cbc5b194cdd0da22d2291dd6c7a55125812e6 b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [false] [Pipeline] sh [2022-09-12T03:21:06.478Z] + git log --format=format:%s -1 b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [Pipeline] echo [2022-09-12T03:21:06.512Z] ========================================================= [2022-09-12T03:21:06.512Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-12T03:21:06.512Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T03:21:06.966Z] + git log --format=format:%s -1 b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [Pipeline] echo [2022-09-12T03:21:07.002Z] [semverPrep] GIT_COMMIT: b81cbc5b194cdd0da22d2291dd6c7a55125812e6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-09-12T03:21:07.032Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-12T03:21:07.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-12T03:21:07.430Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-12T03:21:07.430Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-12T03:21:07.430Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-12T03:21:07.430Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-12T03:21:07.430Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-12T03:21:07.430Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:21:07.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T03:21:07.926Z] [2022-09-12T03:21:07.926Z] 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-12T03:21:08.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T03:21:08.578Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-12T03:21:08.578Z] b85a868b505f: Pulling fs layer [2022-09-12T03:21:08.578Z] e2be974225ed: Pulling fs layer [2022-09-12T03:21:08.578Z] 339a4e72a1f5: Pulling fs layer [2022-09-12T03:21:08.578Z] 988bab9f4d93: Pulling fs layer [2022-09-12T03:21:08.578Z] 1469e6f7b9e6: Pulling fs layer [2022-09-12T03:21:08.578Z] eaf3925da568: Pulling fs layer [2022-09-12T03:21:08.578Z] bab4dde63d76: Pulling fs layer [2022-09-12T03:21:08.578Z] bde34c3a00c8: Pulling fs layer [2022-09-12T03:21:08.578Z] b352a97aabf1: Pulling fs layer [2022-09-12T03:21:08.578Z] 4872d77fe225: Pulling fs layer [2022-09-12T03:21:08.578Z] 5851b861e8e6: Pulling fs layer [2022-09-12T03:21:08.578Z] 1469e6f7b9e6: Waiting [2022-09-12T03:21:08.578Z] eaf3925da568: Waiting [2022-09-12T03:21:08.578Z] bab4dde63d76: Waiting [2022-09-12T03:21:08.578Z] bde34c3a00c8: Waiting [2022-09-12T03:21:08.578Z] b352a97aabf1: Waiting [2022-09-12T03:21:08.578Z] 4872d77fe225: Waiting [2022-09-12T03:21:08.578Z] 5851b861e8e6: Waiting [2022-09-12T03:21:08.578Z] 988bab9f4d93: Waiting [2022-09-12T03:21:08.578Z] e2be974225ed: Verifying Checksum [2022-09-12T03:21:08.578Z] e2be974225ed: Download complete [2022-09-12T03:21:08.578Z] 988bab9f4d93: Verifying Checksum [2022-09-12T03:21:08.578Z] 988bab9f4d93: Download complete [2022-09-12T03:21:08.840Z] 1469e6f7b9e6: Verifying Checksum [2022-09-12T03:21:08.840Z] 1469e6f7b9e6: Download complete [2022-09-12T03:21:08.840Z] eaf3925da568: Verifying Checksum [2022-09-12T03:21:08.840Z] eaf3925da568: Download complete [2022-09-12T03:21:08.840Z] 339a4e72a1f5: Verifying Checksum [2022-09-12T03:21:08.840Z] 339a4e72a1f5: Download complete [2022-09-12T03:21:08.840Z] bde34c3a00c8: Download complete [2022-09-12T03:21:08.840Z] b352a97aabf1: Verifying Checksum [2022-09-12T03:21:08.840Z] b352a97aabf1: Download complete [2022-09-12T03:21:08.840Z] 4872d77fe225: Download complete [2022-09-12T03:21:08.840Z] 5851b861e8e6: Verifying Checksum [2022-09-12T03:21:08.840Z] 5851b861e8e6: Download complete [2022-09-12T03:21:08.840Z] b85a868b505f: Verifying Checksum [2022-09-12T03:21:08.840Z] b85a868b505f: Download complete [2022-09-12T03:21:09.100Z] bab4dde63d76: Verifying Checksum [2022-09-12T03:21:09.100Z] bab4dde63d76: Download complete [2022-09-12T03:21:10.486Z] b85a868b505f: Pull complete [2022-09-12T03:21:10.486Z] e2be974225ed: Pull complete [2022-09-12T03:21:11.057Z] 339a4e72a1f5: Pull complete [2022-09-12T03:21:11.057Z] 988bab9f4d93: Pull complete [2022-09-12T03:21:11.317Z] 1469e6f7b9e6: Pull complete [2022-09-12T03:21:11.317Z] eaf3925da568: Pull complete [2022-09-12T03:21:13.233Z] bab4dde63d76: Pull complete [2022-09-12T03:21:13.233Z] bde34c3a00c8: Pull complete [2022-09-12T03:21:13.494Z] b352a97aabf1: Pull complete [2022-09-12T03:21:13.494Z] 4872d77fe225: Pull complete [2022-09-12T03:21:13.494Z] 5851b861e8e6: Pull complete [2022-09-12T03:21:13.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-12T03:21:13.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T03:21:13.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:21:13.741Z] prd-ubuntu20.04-docker-8c-8g-28925 does not seem to be running inside a container [2022-09-12T03:21:13.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-159 -v /w/workspace/undry_device-onvif-camera_PR-159:/w/workspace/undry_device-onvif-camera_PR-159:rw,z -v /w/workspace/undry_device-onvif-camera_PR-159@tmp:/w/workspace/undry_device-onvif-camera_PR-159@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-12T03:21:17.661Z] $ docker top 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 -eo pid,comm [2022-09-12T03:21:17.725Z] 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-12T03:21:17.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-12T03:21:17.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T03:21:17.847Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T03:21:17.970Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T03:21:17.975Z] $ docker exec 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 ssh-agent [2022-09-12T03:21:18.090Z] SSH_AUTH_SOCK=/tmp/ssh-kLANJOY7QDdJ/agent.32 [2022-09-12T03:21:18.090Z] SSH_AGENT_PID=38 [2022-09-12T03:21:18.096Z] Running ssh-add (command line suppressed) [2022-09-12T03:21:18.225Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-159@tmp/private_key_6634847251412979669.key (/w/workspace/undry_device-onvif-camera_PR-159@tmp/private_key_6634847251412979669.key) [2022-09-12T03:21:18.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T03:21:18.570Z] + git tag --points-at HEAD [Pipeline] } [2022-09-12T03:21:18.601Z] $ docker exec --env ******** --env ******** 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 ssh-agent -k [2022-09-12T03:21:18.715Z] unset SSH_AUTH_SOCK; [2022-09-12T03:21:18.715Z] unset SSH_AGENT_PID; [2022-09-12T03:21:18.715Z] echo Agent pid 38 killed; [2022-09-12T03:21:18.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-12T03:21:18.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T03:21:18.814Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T03:21:18.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T03:21:18.960Z] $ docker exec 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 ssh-agent [2022-09-12T03:21:19.100Z] SSH_AUTH_SOCK=/tmp/ssh-dq2k51OE75Kt/agent.70 [2022-09-12T03:21:19.100Z] SSH_AGENT_PID=76 [2022-09-12T03:21:19.105Z] Running ssh-add (command line suppressed) [2022-09-12T03:21:19.222Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-159@tmp/private_key_1184276973278755586.key (/w/workspace/undry_device-onvif-camera_PR-159@tmp/private_key_1184276973278755586.key) [2022-09-12T03:21:19.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T03:21:19.570Z] + git semver init [2022-09-12T03:21:19.840Z] 2022-09-12 03:21:19,768 [run_init] DEBUG init version:0.0.0 force:False [2022-09-12T03:21:19.840Z] 2022-09-12 03:21:19,769 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-159/.semver [2022-09-12T03:21:19.840Z] 2022-09-12 03:21:19,770 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-159/.semver [2022-09-12T03:21:19.840Z] 2022-09-12 03:21:19,770 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-159/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-159, universal_newlines=False, shell=None, istream=None) [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,723 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-159/.git/info/exclude [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-159/.semver/PR-159 with force:False [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,724 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-159/.semver/PR-159 [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,728 [execute] INFO git cat-file --batch-check [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-159/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,734 [execute] INFO git cat-file --batch [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-159/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T03:21:20.785Z] 2022-09-12 03:21:20,739 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-159/.semver/PR-159 [2022-09-12T03:21:20.785Z] 0.0.0 [Pipeline] } [2022-09-12T03:21:20.815Z] $ docker exec --env ******** --env ******** 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 ssh-agent -k [2022-09-12T03:21:20.932Z] unset SSH_AUTH_SOCK; [2022-09-12T03:21:20.932Z] unset SSH_AGENT_PID; [2022-09-12T03:21:20.933Z] echo Agent pid 76 killed; [2022-09-12T03:21:20.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-12T03:21:21.446Z] + git semver [Pipeline] } [2022-09-12T03:21:21.741Z] $ docker stop --time=1 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 [2022-09-12T03:21:23.039Z] $ docker rm -f 97250c1ec2997facdea1624c55d99b2f06a1a1853d5053bab24852aee113b1b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T03:21:23.460Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-12T03:21:23.764Z] Stashed 1 file(s) [Pipeline] echo [2022-09-12T03:21:23.781Z] [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-12T03:21:24.379Z] provisioning config files... [2022-09-12T03:21:24.392Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-159@tmp/config4395246315016143732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:21:24.732Z] ---> docker-login.sh [2022-09-12T03:21:24.732Z] nexus3.edgexfoundry.org:10001 [2022-09-12T03:21:24.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:24.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:24.732Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:24.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:24.732Z] [2022-09-12T03:21:24.732Z] Login Succeeded [2022-09-12T03:21:24.732Z] nexus3.edgexfoundry.org:10002 [2022-09-12T03:21:24.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:24.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:24.992Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:24.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:24.992Z] [2022-09-12T03:21:24.992Z] Login Succeeded [2022-09-12T03:21:24.992Z] nexus3.edgexfoundry.org:10003 [2022-09-12T03:21:24.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:24.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:24.992Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:24.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:24.992Z] [2022-09-12T03:21:24.992Z] Login Succeeded [2022-09-12T03:21:24.992Z] nexus3.edgexfoundry.org:10004 [2022-09-12T03:21:25.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:25.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:25.254Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:25.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:25.254Z] [2022-09-12T03:21:25.254Z] Login Succeeded [2022-09-12T03:21:25.254Z] docker.io [2022-09-12T03:21:25.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:21:25.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:21:25.516Z] Configure a credential helper to remove this warning. See [2022-09-12T03:21:25.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:21:25.516Z] [2022-09-12T03:21:25.516Z] Login Succeeded [2022-09-12T03:21:25.516Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T03:21:25.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T03:21:25.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T03:21:25.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T03:21:25.803Z] ========================================================= [2022-09-12T03:21:25.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-12T03:21:25.803Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:21:26.275Z] + 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-12T03:21:26.275Z] Sending build context to Docker daemon 20.64MB [2022-09-12T03:21:26.275Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T03:21:26.275Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T03:21:26.539Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-12T03:21:26.539Z] 2408cc74d12b: Pulling fs layer [2022-09-12T03:21:26.539Z] ea60b727a1ce: Pulling fs layer [2022-09-12T03:21:26.539Z] 30c4a7721957: Pulling fs layer [2022-09-12T03:21:26.539Z] 370296b7ddb6: Pulling fs layer [2022-09-12T03:21:26.539Z] 7c6cee850709: Pulling fs layer [2022-09-12T03:21:26.539Z] 39a5fcdaea64: Pulling fs layer [2022-09-12T03:21:26.539Z] d94ebbe4e438: Pulling fs layer [2022-09-12T03:21:26.539Z] bcfd1f05c69d: Pulling fs layer [2022-09-12T03:21:26.539Z] 59ccb84bbe0f: Pulling fs layer [2022-09-12T03:21:26.539Z] 370296b7ddb6: Waiting [2022-09-12T03:21:26.539Z] bcfd1f05c69d: Waiting [2022-09-12T03:21:26.539Z] 39a5fcdaea64: Waiting [2022-09-12T03:21:26.539Z] 7c6cee850709: Waiting [2022-09-12T03:21:26.539Z] d94ebbe4e438: Waiting [2022-09-12T03:21:26.539Z] 59ccb84bbe0f: Waiting [2022-09-12T03:21:26.539Z] 30c4a7721957: Verifying Checksum [2022-09-12T03:21:26.539Z] 30c4a7721957: Download complete [2022-09-12T03:21:26.539Z] ea60b727a1ce: Verifying Checksum [2022-09-12T03:21:26.539Z] ea60b727a1ce: Download complete [2022-09-12T03:21:26.539Z] 7c6cee850709: Verifying Checksum [2022-09-12T03:21:26.539Z] 7c6cee850709: Download complete [2022-09-12T03:21:26.539Z] 39a5fcdaea64: Verifying Checksum [2022-09-12T03:21:26.539Z] 39a5fcdaea64: Download complete [2022-09-12T03:21:26.539Z] 2408cc74d12b: Verifying Checksum [2022-09-12T03:21:26.539Z] 2408cc74d12b: Download complete [2022-09-12T03:21:26.539Z] d94ebbe4e438: Verifying Checksum [2022-09-12T03:21:26.539Z] d94ebbe4e438: Download complete [2022-09-12T03:21:26.539Z] 2408cc74d12b: Pull complete [2022-09-12T03:21:26.805Z] ea60b727a1ce: Pull complete [2022-09-12T03:21:26.806Z] 30c4a7721957: Pull complete [2022-09-12T03:21:27.066Z] 59ccb84bbe0f: Download complete [2022-09-12T03:21:27.066Z] bcfd1f05c69d: Verifying Checksum [2022-09-12T03:21:27.066Z] bcfd1f05c69d: Download complete [2022-09-12T03:21:27.326Z] 370296b7ddb6: Verifying Checksum [2022-09-12T03:21:27.326Z] 370296b7ddb6: Download complete [2022-09-12T03:21:31.527Z] 370296b7ddb6: Pull complete [2022-09-12T03:21:31.527Z] 7c6cee850709: Pull complete [2022-09-12T03:21:31.527Z] 39a5fcdaea64: Pull complete [2022-09-12T03:21:31.527Z] d94ebbe4e438: Pull complete [2022-09-12T03:21:33.438Z] bcfd1f05c69d: Pull complete [2022-09-12T03:21:34.009Z] 59ccb84bbe0f: Pull complete [2022-09-12T03:21:34.009Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-12T03:21:34.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-12T03:21:34.009Z] ---> a4fb48ad2a94 [2022-09-12T03:21:34.009Z] Step 3/13 : ARG MAKE="make build" [2022-09-12T03:21:37.320Z] ---> Running in 654cd8108bdb [2022-09-12T03:21:37.580Z] Removing intermediate container 654cd8108bdb [2022-09-12T03:21:37.580Z] ---> 271d6ab4d602 [2022-09-12T03:21:37.580Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T03:21:37.580Z] ---> Running in 9972322029fa [2022-09-12T03:21:37.580Z] Removing intermediate container 9972322029fa [2022-09-12T03:21:37.580Z] ---> 5407e674fa8c [2022-09-12T03:21:37.580Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T03:21:37.580Z] ---> Running in 82aa5c371728 [2022-09-12T03:21:37.580Z] Removing intermediate container 82aa5c371728 [2022-09-12T03:21:37.580Z] ---> 0eec8bcfad4b [2022-09-12T03:21:37.580Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-12T03:21:37.841Z] ---> Running in ae959d66b72f [2022-09-12T03:21:37.841Z] Removing intermediate container ae959d66b72f [2022-09-12T03:21:37.841Z] ---> 924f2989473b [2022-09-12T03:21:37.841Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T03:21:37.841Z] ---> Running in 21c45e3027af [2022-09-12T03:21:38.413Z] Removing intermediate container 21c45e3027af [2022-09-12T03:21:38.413Z] ---> 02ccb8c0acb3 [2022-09-12T03:21:38.413Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T03:21:38.413Z] ---> Running in aa01b41c4886 [2022-09-12T03:21:38.675Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T03:21:39.214Z] Still waiting to schedule task [2022-09-12T03:21:39.214Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-12T03:21:39.618Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T03:21:39.882Z] OK: 211 MiB in 51 packages [2022-09-12T03:21:40.141Z] Removing intermediate container aa01b41c4886 [2022-09-12T03:21:40.141Z] ---> d509953c660a [2022-09-12T03:21:40.141Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-12T03:21:40.141Z] ---> Running in 82d5caa8a7ea [2022-09-12T03:21:40.401Z] Removing intermediate container 82d5caa8a7ea [2022-09-12T03:21:40.401Z] ---> d9babe89c115 [2022-09-12T03:21:40.401Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-12T03:21:40.401Z] ---> b365b25a6f5e [2022-09-12T03:21:40.401Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T03:21:40.401Z] ---> Running in a8e538f2d63d [2022-09-12T03:22:02.356Z] Removing intermediate container a8e538f2d63d [2022-09-12T03:22:02.356Z] ---> 9bd60926249f [2022-09-12T03:22:02.356Z] Step 12/13 : COPY . . [2022-09-12T03:22:02.356Z] ---> 0cde017d9c5b [2022-09-12T03:22:02.356Z] Step 13/13 : RUN ${MAKE} [2022-09-12T03:22:02.356Z] ---> Running in e40524ada63e [2022-09-12T03:22:02.356Z] noop [2022-09-12T03:22:02.356Z] Removing intermediate container e40524ada63e [2022-09-12T03:22:02.356Z] ---> 28742dd97ea6 [2022-09-12T03:22:02.356Z] Successfully built 28742dd97ea6 [2022-09-12T03:22:02.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:22:02.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T03:22:02.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:22:02.945Z] prd-ubuntu20.04-docker-8c-8g-28925 does not seem to be running inside a container [2022-09-12T03:22:02.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-159 -v /w/workspace/undry_device-onvif-camera_PR-159:/w/workspace/undry_device-onvif-camera_PR-159:rw,z -v /w/workspace/undry_device-onvif-camera_PR-159@tmp:/w/workspace/undry_device-onvif-camera_PR-159@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 ******** ci-base-image-x86_64 cat [2022-09-12T03:22:03.313Z] $ docker top a3c901b160a14f8175471471b4913400d688b2e68576acf7508a64dc0aeac287 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T03:22:03.730Z] + go version [2022-09-12T03:22:03.730Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-12T03:22:03.761Z] $ docker stop --time=1 a3c901b160a14f8175471471b4913400d688b2e68576acf7508a64dc0aeac287 [2022-09-12T03:22:05.014Z] $ docker rm -f a3c901b160a14f8175471471b4913400d688b2e68576acf7508a64dc0aeac287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:22:05.734Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T03:22:05.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:22:05.908Z] prd-ubuntu20.04-docker-8c-8g-28925 does not seem to be running inside a container [2022-09-12T03:22:05.952Z] $ 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-159 -v /w/workspace/undry_device-onvif-camera_PR-159:/w/workspace/undry_device-onvif-camera_PR-159:rw,z -v /w/workspace/undry_device-onvif-camera_PR-159@tmp:/w/workspace/undry_device-onvif-camera_PR-159@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 ******** ci-base-image-x86_64 cat [2022-09-12T03:22:06.314Z] $ docker top 59443fa364c84a414f7edf535ab0c8b5f4200d2aeea4b65485ba3ec04dfc0213 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T03:22:06.735Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-159 [Pipeline] fileExists [Pipeline] sh [2022-09-12T03:22:07.101Z] + make test [2022-09-12T03:22:07.102Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T03:22:07.361Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-12T03:22:17.338Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-12T03:22:17.906Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.6% of statements [2022-09-12T03:22:17.906Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-12T03:22:20.446Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.921s coverage: 13.8% of statements [2022-09-12T03:22:28.574Z] 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-12T03:22:28.574Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T03:22:31.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T03:22:31.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T03:22:31.110Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-12T03:22:31.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T03:22:31.178Z] $ docker stop --time=1 59443fa364c84a414f7edf535ab0c8b5f4200d2aeea4b65485ba3ec04dfc0213 [2022-09-12T03:22:33.498Z] $ docker rm -f 59443fa364c84a414f7edf535ab0c8b5f4200d2aeea4b65485ba3ec04dfc0213 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T03:22:34.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T03:22:34.098Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-12T03:22:34.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T03:22:35.102Z] + ls -al . [2022-09-12T03:22:35.102Z] total 232 [2022-09-12T03:22:35.102Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 03:22 . [2022-09-12T03:22:35.102Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:20 .. [2022-09-12T03:22:35.102Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 03:22 .git [2022-09-12T03:22:35.102Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 03:20 .github [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 03:20 .gitignore [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 03:20 .golangci.yml [2022-09-12T03:22:35.102Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 03:21 .semver [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 03:20 Attribution.txt [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 03:20 CHANGELOG.md [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 03:20 Dockerfile [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 03:20 GOVERNANCE.md [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 03:20 Jenkinsfile [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 03:20 LICENSE [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 03:20 Makefile [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 03:20 OWNERS.md [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 03:20 README.md [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 03:21 VERSION [2022-09-12T03:22:35.102Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 03:20 bin [2022-09-12T03:22:35.102Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 03:20 cmd [2022-09-12T03:22:35.102Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 03:22 coverage.out [2022-09-12T03:22:35.102Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 03:20 doc [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 03:20 go.mod [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 03:20 go.sum [2022-09-12T03:22:35.102Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:20 internal [2022-09-12T03:22:35.102Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:20 snap [2022-09-12T03:22:35.102Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:22:35.499Z] + 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=b81cbc5b194cdd0da22d2291dd6c7a55125812e6 --label arch=amd64 --label version=0.0.0 . [2022-09-12T03:22:35.499Z] Sending build context to Docker daemon 20.71MB [2022-09-12T03:22:35.499Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T03:22:35.499Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T03:22:35.499Z] ---> 28742dd97ea6 [2022-09-12T03:22:35.499Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T03:22:35.762Z] ---> Running in af8ddfc571f1 [2022-09-12T03:22:35.762Z] Removing intermediate container af8ddfc571f1 [2022-09-12T03:22:35.762Z] ---> b7ca1e686d6d [2022-09-12T03:22:35.762Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T03:22:35.762Z] ---> Running in f4fd6051dc20 [2022-09-12T03:22:36.023Z] Removing intermediate container f4fd6051dc20 [2022-09-12T03:22:36.023Z] ---> 4707c65c4586 [2022-09-12T03:22:36.023Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T03:22:36.023Z] ---> Running in af0f3ca589a9 [2022-09-12T03:22:36.023Z] Removing intermediate container af0f3ca589a9 [2022-09-12T03:22:36.023Z] ---> 7717b85a75bc [2022-09-12T03:22:36.023Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-12T03:22:36.023Z] ---> Running in 09133e698849 [2022-09-12T03:22:36.023Z] Removing intermediate container 09133e698849 [2022-09-12T03:22:36.023Z] ---> 7d43631e7c98 [2022-09-12T03:22:36.023Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T03:22:36.023Z] ---> Running in e582d37e44e5 [2022-09-12T03:22:36.593Z] Removing intermediate container e582d37e44e5 [2022-09-12T03:22:36.593Z] ---> e1627c1b072e [2022-09-12T03:22:36.593Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T03:22:36.593Z] ---> Running in 532006d107db [2022-09-12T03:22:36.856Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T03:22:37.798Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T03:22:38.371Z] OK: 211 MiB in 51 packages [2022-09-12T03:22:38.639Z] Removing intermediate container 532006d107db [2022-09-12T03:22:38.639Z] ---> 74cc958404eb [2022-09-12T03:22:38.639Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-12T03:22:38.639Z] ---> Running in fa41f175892a [2022-09-12T03:22:38.639Z] Removing intermediate container fa41f175892a [2022-09-12T03:22:38.639Z] ---> e2e7f340a12f [2022-09-12T03:22:38.639Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-12T03:22:38.908Z] ---> 73bdf09902cd [2022-09-12T03:22:38.908Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T03:22:38.908Z] ---> Running in 65c40e6d2b1c [2022-09-12T03:22:39.482Z] Removing intermediate container 65c40e6d2b1c [2022-09-12T03:22:39.482Z] ---> f7feae21171c [2022-09-12T03:22:39.482Z] Step 12/26 : COPY . . [2022-09-12T03:22:40.054Z] ---> 66991d10127f [2022-09-12T03:22:40.054Z] Step 13/26 : RUN ${MAKE} [2022-09-12T03:22:40.054Z] ---> Running in d64004909147 [2022-09-12T03:22:40.315Z] 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-12T03:23:02.281Z] Removing intermediate container d64004909147 [2022-09-12T03:23:02.281Z] ---> 7222191bcd37 [2022-09-12T03:23:02.281Z] Step 14/26 : FROM alpine:3.16 [2022-09-12T03:23:02.281Z] 3.16: Pulling from library/alpine [2022-09-12T03:23:02.281Z] 213ec9aee27d: Pulling fs layer [2022-09-12T03:23:02.281Z] 213ec9aee27d: Verifying Checksum [2022-09-12T03:23:02.281Z] 213ec9aee27d: Pull complete [2022-09-12T03:23:02.281Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T03:23:02.281Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T03:23:02.281Z] ---> 9c6f07244728 [2022-09-12T03:23:02.281Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-12T03:23:02.281Z] ---> Running in 0ac86337d80b [2022-09-12T03:23:02.281Z] Removing intermediate container 0ac86337d80b [2022-09-12T03:23:02.281Z] ---> c987bc2cf5b4 [2022-09-12T03:23:02.281Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T03:23:02.281Z] ---> Running in 553e471c53ba [2022-09-12T03:23:02.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T03:23:02.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T03:23:02.281Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T03:23:02.281Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T03:23:02.281Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T03:23:02.281Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T03:23:02.281Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T03:23:02.281Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T03:23:02.281Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T03:23:02.281Z] OK: 8 MiB in 20 packages [2022-09-12T03:23:02.281Z] Removing intermediate container 553e471c53ba [2022-09-12T03:23:02.281Z] ---> 8dd4e0dfcdb8 [2022-09-12T03:23:02.281Z] Step 17/26 : WORKDIR / [2022-09-12T03:23:02.281Z] ---> Running in bd1c3b9a824f [2022-09-12T03:23:02.540Z] Removing intermediate container bd1c3b9a824f [2022-09-12T03:23:02.540Z] ---> 433638f9a002 [2022-09-12T03:23:02.540Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-12T03:23:03.109Z] ---> 80d3c87e8eac [2022-09-12T03:23:03.109Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-12T03:23:03.369Z] ---> e7b0de9286d9 [2022-09-12T03:23:03.369Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-12T03:23:03.369Z] ---> 4c8db09bb80c [2022-09-12T03:23:03.369Z] Step 21/26 : EXPOSE 59984 [2022-09-12T03:23:03.369Z] ---> Running in 44b86e8b2942 [2022-09-12T03:23:03.628Z] Removing intermediate container 44b86e8b2942 [2022-09-12T03:23:03.628Z] ---> 0571b7516e46 [2022-09-12T03:23:03.628Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-12T03:23:03.628Z] ---> Running in 38733d256aba [2022-09-12T03:23:03.628Z] Removing intermediate container 38733d256aba [2022-09-12T03:23:03.628Z] ---> e6e0280047cb [2022-09-12T03:23:03.628Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T03:23:03.628Z] ---> Running in b473cbe4ba9c [2022-09-12T03:23:03.628Z] Removing intermediate container b473cbe4ba9c [2022-09-12T03:23:03.628Z] ---> 1d82ecf95def [2022-09-12T03:23:03.628Z] Step 24/26 : LABEL arch=amd64 [2022-09-12T03:23:03.628Z] ---> Running in 179ee5d35c92 [2022-09-12T03:23:03.893Z] Removing intermediate container 179ee5d35c92 [2022-09-12T03:23:03.894Z] ---> 6768731c4156 [2022-09-12T03:23:03.894Z] Step 25/26 : LABEL git_sha=b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [2022-09-12T03:23:03.894Z] ---> Running in d76d4260271b [2022-09-12T03:23:03.894Z] Removing intermediate container d76d4260271b [2022-09-12T03:23:03.894Z] ---> 0ca80908aa55 [2022-09-12T03:23:03.894Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T03:23:03.894Z] ---> Running in 71f61e1449c0 [2022-09-12T03:23:03.894Z] Removing intermediate container 71f61e1449c0 [2022-09-12T03:23:03.894Z] ---> 4b476e2ce242 [2022-09-12T03:23:03.894Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T03:23:03.894Z] Successfully built 4b476e2ce242 [2022-09-12T03:23:04.154Z] 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-12T03:23:04.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T03:23:04.962Z] [2022-09-12T03:23:04.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:23:05.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T03:23:05.332Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-12T03:23:05.332Z] 5eb5b503b376: Pulling fs layer [2022-09-12T03:23:05.332Z] 5c69ac0246d0: Pulling fs layer [2022-09-12T03:23:05.332Z] ec43610c2a17: Pulling fs layer [2022-09-12T03:23:05.332Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-12T03:23:05.332Z] 33b1e0a273af: Pulling fs layer [2022-09-12T03:23:05.332Z] 5d3b04190fa2: Pulling fs layer [2022-09-12T03:23:05.332Z] 2f39f015ded8: Pulling fs layer [2022-09-12T03:23:05.332Z] 33b1e0a273af: Waiting [2022-09-12T03:23:05.332Z] 5d3b04190fa2: Waiting [2022-09-12T03:23:05.332Z] 2f39f015ded8: Waiting [2022-09-12T03:23:05.332Z] 3a2ae6a8a46f: Waiting [2022-09-12T03:23:05.332Z] 5c69ac0246d0: Verifying Checksum [2022-09-12T03:23:05.332Z] 5c69ac0246d0: Download complete [2022-09-12T03:23:05.332Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-12T03:23:05.332Z] 3a2ae6a8a46f: Download complete [2022-09-12T03:23:05.332Z] 33b1e0a273af: Verifying Checksum [2022-09-12T03:23:05.332Z] 33b1e0a273af: Download complete [2022-09-12T03:23:05.593Z] 5d3b04190fa2: Download complete [2022-09-12T03:23:05.593Z] ec43610c2a17: Verifying Checksum [2022-09-12T03:23:05.593Z] ec43610c2a17: Download complete [2022-09-12T03:23:05.593Z] 5eb5b503b376: Verifying Checksum [2022-09-12T03:23:05.593Z] 5eb5b503b376: Download complete [2022-09-12T03:23:06.160Z] 2f39f015ded8: Download complete [2022-09-12T03:23:06.726Z] 5eb5b503b376: Pull complete [2022-09-12T03:23:06.984Z] 5c69ac0246d0: Pull complete [2022-09-12T03:23:07.244Z] ec43610c2a17: Pull complete [2022-09-12T03:23:07.504Z] 3a2ae6a8a46f: Pull complete [2022-09-12T03:23:07.765Z] 33b1e0a273af: Pull complete [2022-09-12T03:23:07.765Z] 5d3b04190fa2: Pull complete [2022-09-12T03:23:11.957Z] 2f39f015ded8: Pull complete [2022-09-12T03:23:11.957Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-12T03:23:11.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T03:23:11.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:23:12.181Z] prd-ubuntu20.04-docker-8c-8g-28925 does not seem to be running inside a container [2022-09-12T03:23:12.219Z] $ 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-159 -v /w/workspace/undry_device-onvif-camera_PR-159:/w/workspace/undry_device-onvif-camera_PR-159:rw,z -v /w/workspace/undry_device-onvif-camera_PR-159@tmp:/w/workspace/undry_device-onvif-camera_PR-159@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-lftools-log-publisher:latest cat [2022-09-12T03:23:15.051Z] $ docker top b96ad3bcb8eb4fd7ae74ddfbead5346a0ab129d30c07a3d1a1e08e517979d584 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:23:15.513Z] ---> job-cost.sh [2022-09-12T03:23:15.513Z] lf-activate-venv: SKIPPING [2022-09-12T03:23:15.513Z] INFO: No Stack... [2022-09-12T03:23:16.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T03:23:16.341Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T03:23:16.656Z] + cat /w/workspace/undry_device-onvif-camera_PR-159/archives/cost.csv [2022-09-12T03:23:16.656Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T03:23:16.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [2022-09-12T03:23:16.699Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] did not exist. Created. [2022-09-12T03:23:16.699Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T03:23:17.119Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-12T03:23:17.188Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T03:23:17.203Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T03:23:17.288Z] $ docker stop --time=1 b96ad3bcb8eb4fd7ae74ddfbead5346a0ab129d30c07a3d1a1e08e517979d584 [2022-09-12T03:23:18.189Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28926 in /w/workspace/undry_device-onvif-camera_PR-159 [2022-09-12T03:23:18.449Z] $ docker rm -f b96ad3bcb8eb4fd7ae74ddfbead5346a0ab129d30c07a3d1a1e08e517979d584 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-09-12T03:23:18.626Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [Pipeline] } [2022-09-12T03:23:18.702Z] Selected Git installation does not exist. Using Default [2022-09-12T03:23:18.702Z] The recommended git tool is: NONE [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-12T03:23:25.534Z] using credential edgex-jenkins-ssh [2022-09-12T03:23:25.554Z] Cloning the remote Git repository [2022-09-12T03:23:25.637Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T03:23:25.720Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-12T03:23:25.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T03:23:25.817Z] > git --version # timeout=10 [2022-09-12T03:23:25.863Z] > git --version # 'git version 2.25.1' [2022-09-12T03:23:25.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T03:23:26.089Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T03:23:27.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-12T03:23:27.492Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T03:23:27.524Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-12T03:23:27.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-12T03:23:27.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T03:23:27.589Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-12T03:23:28.159Z] Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [2022-09-12T03:23:28.509Z] Merge succeeded, producing b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [2022-09-12T03:23:28.509Z] Checking out Revision b81cbc5b194cdd0da22d2291dd6c7a55125812e6 (PR-159) [2022-09-12T03:23:28.180Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T03:23:28.195Z] > git checkout -f b81cbc5b194cdd0da22d2291dd6c7a55125812e6 # timeout=10 [2022-09-12T03:23:28.417Z] > git remote # timeout=10 [2022-09-12T03:23:28.435Z] > git config --get remote.origin.url # timeout=10 [2022-09-12T03:23:28.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T03:23:28.467Z] > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 [2022-09-12T03:23:28.491Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-12T03:23:28.518Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T03:23:28.535Z] > git checkout -f b81cbc5b194cdd0da22d2291dd6c7a55125812e6 # timeout=10 [2022-09-12T03:23:32.995Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-09-12T03:23:33.059Z] > git --version # timeout=10 [2022-09-12T03:23:33.071Z] > git --version # 'git version 2.25.1' [2022-09-12T03:23:33.088Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T03:23:34.282Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-12T03:23:34.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T03:23:34.282Z] Dload Upload Total Spent Left Speed [2022-09-12T03:23:34.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10505 0 0 78395 0 --:--:-- --:--:-- --:--:-- 77814 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-09-12T03:23:35.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-12T03:23:35.625Z] + sudo tee /etc/docker/daemon.new [2022-09-12T03:23:35.625Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-12T03:23:35.625Z] { [2022-09-12T03:23:35.625Z] "registry-mirrors": [ [2022-09-12T03:23:35.625Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-12T03:23:35.625Z] ], [2022-09-12T03:23:35.625Z] "bip": "10.250.0.254/24", [2022-09-12T03:23:35.625Z] "hosts": [ [2022-09-12T03:23:35.625Z] "tcp://0.0.0.0:5555", [2022-09-12T03:23:35.625Z] "unix:///var/run/docker.sock" [2022-09-12T03:23:35.625Z] ], [2022-09-12T03:23:35.625Z] "mtu": 1458, [2022-09-12T03:23:35.625Z] "selinux-enabled": true, [2022-09-12T03:23:35.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-12T03:23:35.625Z] } [Pipeline] sh [2022-09-12T03:23:35.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-12T03:23:36.342Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T03:23:54.780Z] provisioning config files... [2022-09-12T03:23:54.809Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2277425876550632251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:23:55.220Z] ---> docker-login.sh [2022-09-12T03:23:55.220Z] nexus3.edgexfoundry.org:10001 [2022-09-12T03:23:55.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:23:56.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:23:56.426Z] Configure a credential helper to remove this warning. See [2022-09-12T03:23:56.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:23:56.426Z] [2022-09-12T03:23:56.426Z] Login Succeeded [2022-09-12T03:23:56.426Z] nexus3.edgexfoundry.org:10002 [2022-09-12T03:23:56.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:23:56.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:23:56.702Z] Configure a credential helper to remove this warning. See [2022-09-12T03:23:56.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:23:56.702Z] [2022-09-12T03:23:56.702Z] Login Succeeded [2022-09-12T03:23:56.702Z] nexus3.edgexfoundry.org:10003 [2022-09-12T03:23:56.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:23:57.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:23:57.257Z] Configure a credential helper to remove this warning. See [2022-09-12T03:23:57.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:23:57.257Z] [2022-09-12T03:23:57.257Z] Login Succeeded [2022-09-12T03:23:57.257Z] nexus3.edgexfoundry.org:10004 [2022-09-12T03:23:57.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:23:57.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:23:57.532Z] Configure a credential helper to remove this warning. See [2022-09-12T03:23:57.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:23:57.532Z] [2022-09-12T03:23:57.532Z] Login Succeeded [2022-09-12T03:23:57.806Z] docker.io [2022-09-12T03:23:58.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T03:23:58.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T03:23:58.351Z] Configure a credential helper to remove this warning. See [2022-09-12T03:23:58.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T03:23:58.351Z] [2022-09-12T03:23:58.351Z] Login Succeeded [2022-09-12T03:23:58.351Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T03:23:58.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T03:23:58.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T03:23:58.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T03:23:58.856Z] ========================================================= [2022-09-12T03:23:58.856Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-12T03:23:58.856Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:23:59.378Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-12T03:24:00.005Z] Sending build context to Docker daemon 14.12MB [2022-09-12T03:24:00.005Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T03:24:00.005Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T03:24:00.005Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-12T03:24:00.005Z] b3c136eddcbf: Pulling fs layer [2022-09-12T03:24:00.005Z] c0a3192eca97: Pulling fs layer [2022-09-12T03:24:00.005Z] a050256f5b6f: Pulling fs layer [2022-09-12T03:24:00.005Z] 656be50a0ddc: Pulling fs layer [2022-09-12T03:24:00.005Z] 2bbca73fdf42: Pulling fs layer [2022-09-12T03:24:00.005Z] 46d945488cbd: Pulling fs layer [2022-09-12T03:24:00.005Z] 8a5474983e97: Pulling fs layer [2022-09-12T03:24:00.005Z] 329c88fbcd65: Pulling fs layer [2022-09-12T03:24:00.005Z] 656be50a0ddc: Waiting [2022-09-12T03:24:00.005Z] 2bbca73fdf42: Waiting [2022-09-12T03:24:00.005Z] 46d945488cbd: Waiting [2022-09-12T03:24:00.005Z] 8a5474983e97: Waiting [2022-09-12T03:24:00.005Z] 329c88fbcd65: Waiting [2022-09-12T03:24:00.005Z] a050256f5b6f: Verifying Checksum [2022-09-12T03:24:00.005Z] a050256f5b6f: Download complete [2022-09-12T03:24:00.005Z] c0a3192eca97: Verifying Checksum [2022-09-12T03:24:00.005Z] c0a3192eca97: Download complete [2022-09-12T03:24:00.281Z] 2bbca73fdf42: Verifying Checksum [2022-09-12T03:24:00.281Z] 2bbca73fdf42: Download complete [2022-09-12T03:24:00.281Z] 46d945488cbd: Download complete [2022-09-12T03:24:00.281Z] b3c136eddcbf: Download complete [2022-09-12T03:24:01.278Z] b3c136eddcbf: Pull complete [2022-09-12T03:24:01.278Z] 329c88fbcd65: Verifying Checksum [2022-09-12T03:24:01.278Z] 329c88fbcd65: Download complete [2022-09-12T03:24:01.893Z] c0a3192eca97: Pull complete [2022-09-12T03:24:02.174Z] a050256f5b6f: Pull complete [2022-09-12T03:24:02.450Z] 8a5474983e97: Verifying Checksum [2022-09-12T03:24:02.450Z] 8a5474983e97: Download complete [2022-09-12T03:24:03.048Z] 656be50a0ddc: Verifying Checksum [2022-09-12T03:24:03.048Z] 656be50a0ddc: Download complete [2022-09-12T03:24:18.170Z] 656be50a0ddc: Pull complete [2022-09-12T03:24:18.170Z] 2bbca73fdf42: Pull complete [2022-09-12T03:24:18.170Z] 46d945488cbd: Pull complete [2022-09-12T03:24:22.497Z] 8a5474983e97: Pull complete [2022-09-12T03:24:24.483Z] 329c88fbcd65: Pull complete [2022-09-12T03:24:24.483Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-12T03:24:24.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-12T03:24:24.483Z] ---> ff4287adb874 [2022-09-12T03:24:24.483Z] Step 3/13 : ARG MAKE="make build" [2022-09-12T03:24:26.472Z] ---> Running in 52ce71b7baae [2022-09-12T03:24:26.752Z] Removing intermediate container 52ce71b7baae [2022-09-12T03:24:26.752Z] ---> 03418ac2a59b [2022-09-12T03:24:26.752Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T03:24:26.752Z] ---> Running in b9d975bf595c [2022-09-12T03:24:27.032Z] Removing intermediate container b9d975bf595c [2022-09-12T03:24:27.032Z] ---> 70432080467e [2022-09-12T03:24:27.032Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T03:24:27.329Z] ---> Running in c5eeb339493f [2022-09-12T03:24:27.608Z] Removing intermediate container c5eeb339493f [2022-09-12T03:24:27.608Z] ---> 9910e37b9280 [2022-09-12T03:24:27.608Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-12T03:24:27.608Z] ---> Running in 8dea7c4ce325 [2022-09-12T03:24:28.226Z] Removing intermediate container 8dea7c4ce325 [2022-09-12T03:24:28.226Z] ---> 3851045b8cc8 [2022-09-12T03:24:28.226Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T03:24:28.226Z] ---> Running in 5e29bc91adbe [2022-09-12T03:24:30.871Z] Removing intermediate container 5e29bc91adbe [2022-09-12T03:24:30.871Z] ---> ac9436e53ada [2022-09-12T03:24:30.871Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T03:24:30.871Z] ---> Running in 87749ae155f1 [2022-09-12T03:24:31.471Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T03:24:32.456Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T03:24:33.448Z] OK: 221 MiB in 51 packages [2022-09-12T03:24:34.044Z] Removing intermediate container 87749ae155f1 [2022-09-12T03:24:34.044Z] ---> 586ca675af59 [2022-09-12T03:24:34.044Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-12T03:24:34.044Z] ---> Running in 479c0d3996f4 [2022-09-12T03:24:34.319Z] Removing intermediate container 479c0d3996f4 [2022-09-12T03:24:34.319Z] ---> 671e0bb22162 [2022-09-12T03:24:34.319Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-12T03:24:34.919Z] ---> bc567d7610a9 [2022-09-12T03:24:34.919Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T03:24:34.919Z] ---> Running in 16b2e6c8f73f [2022-09-12T03:25:31.513Z] Removing intermediate container 16b2e6c8f73f [2022-09-12T03:25:31.513Z] ---> e0f9be6eea65 [2022-09-12T03:25:31.513Z] Step 12/13 : COPY . . [2022-09-12T03:25:31.513Z] ---> 8349680438db [2022-09-12T03:25:31.513Z] Step 13/13 : RUN ${MAKE} [2022-09-12T03:25:31.513Z] ---> Running in e896c7cebe22 [2022-09-12T03:25:31.513Z] noop [2022-09-12T03:25:31.513Z] Removing intermediate container e896c7cebe22 [2022-09-12T03:25:31.513Z] ---> 46219a6ced7d [2022-09-12T03:25:31.513Z] Successfully built 46219a6ced7d [2022-09-12T03:25:31.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:25:32.002Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T03:25:32.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:25:32.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-28926 does not seem to be running inside a container [2022-09-12T03:25:32.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-12T03:25:33.812Z] $ docker top 32f4300fcf28dfdadeb99aac3ee764caddf0f07864c93193e9f101f0fd0cf9fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T03:25:34.802Z] + go version [2022-09-12T03:25:34.802Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-12T03:25:34.839Z] $ docker stop --time=1 32f4300fcf28dfdadeb99aac3ee764caddf0f07864c93193e9f101f0fd0cf9fa [2022-09-12T03:25:36.484Z] $ docker rm -f 32f4300fcf28dfdadeb99aac3ee764caddf0f07864c93193e9f101f0fd0cf9fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:25:37.379Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T03:25:37.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:25:37.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-28926 does not seem to be running inside a container [2022-09-12T03:25:37.780Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-12T03:25:39.031Z] $ docker top 890a6fe5d54cc18ccf1d592284f8ecd27d307be3ecfee43c6d9b3c25e0e99ffc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T03:25:39.987Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-12T03:25:40.725Z] + make test [2022-09-12T03:25:40.726Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-12T03:25:42.720Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-12T03:27:19.612Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-12T03:27:19.612Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.210s coverage: 28.6% of statements [2022-09-12T03:27:19.612Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-12T03:27:41.794Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.047s coverage: 13.8% of statements [2022-09-12T03:27:41.794Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-12T03:27:41.794Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T03:28:04.030Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T03:28:04.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T03:28:04.030Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-12T03:28:04.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T03:28:04.110Z] $ docker stop --time=1 890a6fe5d54cc18ccf1d592284f8ecd27d307be3ecfee43c6d9b3c25e0e99ffc [2022-09-12T03:28:05.886Z] $ docker rm -f 890a6fe5d54cc18ccf1d592284f8ecd27d307be3ecfee43c6d9b3c25e0e99ffc [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T03:28:06.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T03:28:07.011Z] Warning: overwriting stash ‘coverage-report’ [2022-09-12T03:28:07.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T03:28:08.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T03:28:08.552Z] + ls -al . [2022-09-12T03:28:08.552Z] total 228 [2022-09-12T03:28:08.552Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 03:25 . [2022-09-12T03:28:08.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:23 .. [2022-09-12T03:28:08.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 03:23 .git [2022-09-12T03:28:08.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 03:23 .github [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 03:23 .gitignore [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 03:23 .golangci.yml [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 03:23 Attribution.txt [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 03:23 CHANGELOG.md [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 03:23 Dockerfile [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 03:23 GOVERNANCE.md [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 03:23 Jenkinsfile [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 03:23 LICENSE [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 03:23 Makefile [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 03:23 OWNERS.md [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 03:23 README.md [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 03:21 VERSION [2022-09-12T03:28:08.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 03:23 bin [2022-09-12T03:28:08.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 03:23 cmd [2022-09-12T03:28:08.552Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 03:27 coverage.out [2022-09-12T03:28:08.552Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 03:23 doc [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 03:23 go.mod [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 03:23 go.sum [2022-09-12T03:28:08.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:23 internal [2022-09-12T03:28:08.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 03:23 snap [2022-09-12T03:28:08.552Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:28:09.011Z] + 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=b81cbc5b194cdd0da22d2291dd6c7a55125812e6 --label arch=arm64 --label version=0.0.0 . [2022-09-12T03:28:09.614Z] Sending build context to Docker daemon 14.2MB [2022-09-12T03:28:09.614Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T03:28:09.614Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-12T03:28:09.614Z] ---> 46219a6ced7d [2022-09-12T03:28:09.614Z] Step 3/26 : ARG MAKE="make build" [2022-09-12T03:28:09.614Z] ---> Running in 07cab1452b80 [2022-09-12T03:28:10.228Z] Removing intermediate container 07cab1452b80 [2022-09-12T03:28:10.228Z] ---> 53b90af74bf7 [2022-09-12T03:28:10.228Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T03:28:10.228Z] ---> Running in 7c59016a66c8 [2022-09-12T03:28:10.511Z] Removing intermediate container 7c59016a66c8 [2022-09-12T03:28:10.511Z] ---> 0e61dab2c828 [2022-09-12T03:28:10.511Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T03:28:10.511Z] ---> Running in 44fab1d7f652 [2022-09-12T03:28:10.790Z] Removing intermediate container 44fab1d7f652 [2022-09-12T03:28:10.790Z] ---> 54c3fd296960 [2022-09-12T03:28:10.790Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-12T03:28:10.790Z] ---> Running in 87aeecccf324 [2022-09-12T03:28:11.392Z] Removing intermediate container 87aeecccf324 [2022-09-12T03:28:11.392Z] ---> afc99aee4a0f [2022-09-12T03:28:11.392Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T03:28:11.392Z] ---> Running in 7ecf51044516 [2022-09-12T03:28:13.377Z] Removing intermediate container 7ecf51044516 [2022-09-12T03:28:13.377Z] ---> 31138ae4042f [2022-09-12T03:28:13.377Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T03:28:13.377Z] ---> Running in a1aa8bd8ecaf [2022-09-12T03:28:13.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T03:28:14.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T03:28:15.966Z] OK: 221 MiB in 51 packages [2022-09-12T03:28:16.959Z] Removing intermediate container a1aa8bd8ecaf [2022-09-12T03:28:16.959Z] ---> 2e922c396061 [2022-09-12T03:28:16.959Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-12T03:28:16.959Z] ---> Running in 349d5df8a489 [2022-09-12T03:28:17.235Z] Removing intermediate container 349d5df8a489 [2022-09-12T03:28:17.235Z] ---> 0774c8d9fbbd [2022-09-12T03:28:17.235Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-12T03:28:17.834Z] ---> a8ce2a1d0f2a [2022-09-12T03:28:17.834Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T03:28:17.834Z] ---> Running in 9790130e5eb8 [2022-09-12T03:28:19.828Z] Removing intermediate container 9790130e5eb8 [2022-09-12T03:28:19.828Z] ---> f05913665c5c [2022-09-12T03:28:19.828Z] Step 12/26 : COPY . . [2022-09-12T03:28:21.839Z] ---> d7411d0bbdc2 [2022-09-12T03:28:21.839Z] Step 13/26 : RUN ${MAKE} [2022-09-12T03:28:21.839Z] ---> Running in 0bbb253578c0 [2022-09-12T03:28:22.441Z] 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-12T03:30:44.404Z] Removing intermediate container 0bbb253578c0 [2022-09-12T03:30:44.404Z] ---> 1f83330e71c1 [2022-09-12T03:30:44.404Z] Step 14/26 : FROM alpine:3.16 [2022-09-12T03:30:44.404Z] 3.16: Pulling from library/alpine [2022-09-12T03:30:44.404Z] 9b18e9b68314: Pulling fs layer [2022-09-12T03:30:44.404Z] 9b18e9b68314: Verifying Checksum [2022-09-12T03:30:44.404Z] 9b18e9b68314: Download complete [2022-09-12T03:30:44.405Z] 9b18e9b68314: Pull complete [2022-09-12T03:30:44.405Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T03:30:44.405Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T03:30:44.405Z] ---> a6215f271958 [2022-09-12T03:30:44.405Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-12T03:30:44.405Z] ---> Running in 5cc3d568bbe2 [2022-09-12T03:30:44.405Z] Removing intermediate container 5cc3d568bbe2 [2022-09-12T03:30:44.405Z] ---> b87ef20ff20e [2022-09-12T03:30:44.405Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T03:30:44.405Z] ---> Running in 6298ae6c9182 [2022-09-12T03:30:44.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T03:30:44.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T03:30:44.405Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T03:30:44.405Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T03:30:44.405Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T03:30:44.405Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T03:30:44.405Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T03:30:44.405Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T03:30:44.405Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T03:30:44.405Z] OK: 8 MiB in 20 packages [2022-09-12T03:30:44.405Z] Removing intermediate container 6298ae6c9182 [2022-09-12T03:30:44.405Z] ---> 096ee164b1a7 [2022-09-12T03:30:44.405Z] Step 17/26 : WORKDIR / [2022-09-12T03:30:44.405Z] ---> Running in 9853021919c5 [2022-09-12T03:30:44.405Z] Removing intermediate container 9853021919c5 [2022-09-12T03:30:44.405Z] ---> 929c665d30d4 [2022-09-12T03:30:44.405Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-12T03:30:44.405Z] ---> 50064a9af267 [2022-09-12T03:30:44.405Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-12T03:30:44.405Z] ---> 483fd77e8041 [2022-09-12T03:30:44.405Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-12T03:30:44.405Z] ---> da69fba11e6a [2022-09-12T03:30:44.405Z] Step 21/26 : EXPOSE 59984 [2022-09-12T03:30:44.405Z] ---> Running in 4e1865b25d8b [2022-09-12T03:30:44.405Z] Removing intermediate container 4e1865b25d8b [2022-09-12T03:30:44.405Z] ---> 4e495b850528 [2022-09-12T03:30:44.405Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-12T03:30:44.405Z] ---> Running in 480c7756c166 [2022-09-12T03:30:44.405Z] Removing intermediate container 480c7756c166 [2022-09-12T03:30:44.405Z] ---> 179eea709d39 [2022-09-12T03:30:44.405Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T03:30:44.405Z] ---> Running in 7de9effb72da [2022-09-12T03:30:44.405Z] Removing intermediate container 7de9effb72da [2022-09-12T03:30:44.405Z] ---> bbffda21a7f4 [2022-09-12T03:30:44.405Z] Step 24/26 : LABEL arch=arm64 [2022-09-12T03:30:44.405Z] ---> Running in 7e9bfeac66dd [2022-09-12T03:30:44.405Z] Removing intermediate container 7e9bfeac66dd [2022-09-12T03:30:44.405Z] ---> 5e05cedeb739 [2022-09-12T03:30:44.405Z] Step 25/26 : LABEL git_sha=b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [2022-09-12T03:30:44.405Z] ---> Running in 1c891c518280 [2022-09-12T03:30:44.405Z] Removing intermediate container 1c891c518280 [2022-09-12T03:30:44.405Z] ---> 35cdeddaa26b [2022-09-12T03:30:44.405Z] Step 26/26 : LABEL version=0.0.0 [2022-09-12T03:30:44.405Z] ---> Running in 38145c2c70fb [2022-09-12T03:30:44.405Z] Removing intermediate container 38145c2c70fb [2022-09-12T03:30:44.405Z] ---> 050f590cdce8 [2022-09-12T03:30:44.405Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T03:30:44.405Z] Successfully built 050f590cdce8 [2022-09-12T03:30:44.405Z] 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-12T03:30:45.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T03:30:45.258Z] [2022-09-12T03:30:45.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:30:45.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T03:30:45.957Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-12T03:30:45.957Z] 8998bd30e6a1: Pulling fs layer [2022-09-12T03:30:45.957Z] 04944245beec: Pulling fs layer [2022-09-12T03:30:45.957Z] 699f458cf7ca: Pulling fs layer [2022-09-12T03:30:45.957Z] 765212b225bb: Pulling fs layer [2022-09-12T03:30:45.957Z] f23df028b6ca: Pulling fs layer [2022-09-12T03:30:45.957Z] d65c8cfc05b1: Pulling fs layer [2022-09-12T03:30:45.957Z] 2437ff75d9bd: Pulling fs layer [2022-09-12T03:30:45.957Z] 765212b225bb: Waiting [2022-09-12T03:30:45.957Z] f23df028b6ca: Waiting [2022-09-12T03:30:45.957Z] d65c8cfc05b1: Waiting [2022-09-12T03:30:45.957Z] 2437ff75d9bd: Waiting [2022-09-12T03:30:45.957Z] 04944245beec: Verifying Checksum [2022-09-12T03:30:45.957Z] 04944245beec: Download complete [2022-09-12T03:30:45.958Z] 765212b225bb: Verifying Checksum [2022-09-12T03:30:45.958Z] 765212b225bb: Download complete [2022-09-12T03:30:45.958Z] f23df028b6ca: Verifying Checksum [2022-09-12T03:30:45.958Z] f23df028b6ca: Download complete [2022-09-12T03:30:45.958Z] d65c8cfc05b1: Verifying Checksum [2022-09-12T03:30:45.958Z] d65c8cfc05b1: Download complete [2022-09-12T03:30:46.234Z] 699f458cf7ca: Verifying Checksum [2022-09-12T03:30:46.234Z] 699f458cf7ca: Download complete [2022-09-12T03:30:46.509Z] 8998bd30e6a1: Verifying Checksum [2022-09-12T03:30:46.509Z] 8998bd30e6a1: Download complete [2022-09-12T03:30:49.139Z] 2437ff75d9bd: Verifying Checksum [2022-09-12T03:30:49.139Z] 2437ff75d9bd: Download complete [2022-09-12T03:30:50.582Z] 8998bd30e6a1: Pull complete [2022-09-12T03:30:51.182Z] 04944245beec: Pull complete [2022-09-12T03:30:52.618Z] 699f458cf7ca: Pull complete [2022-09-12T03:30:52.618Z] 765212b225bb: Pull complete [2022-09-12T03:30:53.610Z] f23df028b6ca: Pull complete [2022-09-12T03:30:53.883Z] d65c8cfc05b1: Pull complete [2022-09-12T03:31:08.987Z] 2437ff75d9bd: Pull complete [2022-09-12T03:31:08.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-12T03:31:08.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T03:31:08.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:31:09.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-28926 does not seem to be running inside a container [2022-09-12T03:31:09.474Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat [2022-09-12T03:31:12.134Z] $ docker top 5d782371d8be6c3481df45a0ddb4e9042fbc6d475d5655c31e428caf9b28fd60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:13.137Z] ---> job-cost.sh [2022-09-12T03:31:13.138Z] lf-activate-venv: SKIPPING [2022-09-12T03:31:13.138Z] INFO: No Stack... [2022-09-12T03:31:14.113Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-12T03:31:14.708Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T03:31:15.400Z] + cut -d, -f6 [2022-09-12T03:31:15.400Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-09-12T03:31:15.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [2022-09-12T03:31:15.491Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] did not exist. Created. [2022-09-12T03:31:15.491Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T03:31:16.249Z] /w/workspace/device-onvif-camera/1@tmp/durable-d0a8539d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-12T03:31:16.953Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-12T03:31:16.991Z] Warning: overwriting stash ‘stack-cost’ [2022-09-12T03:31:17.059Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T03:31:17.074Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T03:31:17.158Z] $ docker stop --time=1 5d782371d8be6c3481df45a0ddb4e9042fbc6d475d5655c31e428caf9b28fd60 [2022-09-12T03:31:18.686Z] $ docker rm -f 5d782371d8be6c3481df45a0ddb4e9042fbc6d475d5655c31e428caf9b28fd60 [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-12T03:31:19.746Z] provisioning config files... [2022-09-12T03:31:19.754Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-159@tmp/config294506986852628783tmp [Pipeline] { [Pipeline] sh [2022-09-12T03:31:20.084Z] + set +x [2022-09-12T03:31:20.084Z] + curl -s https://codecov.io/bash [2022-09-12T03:31:20.084Z] + bash -s -- [2022-09-12T03:31:20.084Z] [2022-09-12T03:31:20.084Z] _____ _ [2022-09-12T03:31:20.084Z] / ____| | | [2022-09-12T03:31:20.084Z] | | ___ __| | ___ ___ _____ __ [2022-09-12T03:31:20.084Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-12T03:31:20.084Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-12T03:31:20.084Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-12T03:31:20.084Z] Bash-1.0.6 [2022-09-12T03:31:20.084Z] [2022-09-12T03:31:20.084Z] [2022-09-12T03:31:20.084Z] ==> git version 2.25.1 found [2022-09-12T03:31:20.084Z] ==> 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-12T03:31:20.084Z] Release-Date: 2020-01-08 [2022-09-12T03:31:20.084Z] 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-12T03:31:20.084Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-12T03:31:20.084Z] ==> Jenkins CI detected. [2022-09-12T03:31:20.084Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-159 [2022-09-12T03:31:20.084Z] project root: . [2022-09-12T03:31:20.084Z] --> token set from env [2022-09-12T03:31:20.084Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-12T03:31:20.084Z] ==> Running gcov in . (disable via -X gcov) [2022-09-12T03:31:20.084Z] ==> Python coveragepy not found [2022-09-12T03:31:20.084Z] ==> Searching for coverage reports in: [2022-09-12T03:31:20.084Z] + . [2022-09-12T03:31:20.084Z] -> Found 1 reports [2022-09-12T03:31:20.084Z] ==> Detecting git/mercurial file structure [2022-09-12T03:31:20.084Z] ==> Reading reports [2022-09-12T03:31:20.084Z] + ./coverage.out bytes=77283 [2022-09-12T03:31:20.084Z] ==> Appending adjustments [2022-09-12T03:31:20.084Z] https://docs.codecov.io/docs/fixing-reports [2022-09-12T03:31:20.344Z] + Found adjustments [2022-09-12T03:31:20.344Z] ==> Gzipping contents [2022-09-12T03:31:20.344Z] 12K /tmp/codecov.e8XItg.gz [2022-09-12T03:31:20.344Z] ==> Uploading reports [2022-09-12T03:31:20.344Z] url: https://codecov.io [2022-09-12T03:31:20.344Z] query: branch=PR-159&commit=b81cbc5b194cdd0da22d2291dd6c7a55125812e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-159%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=159&job=&cmd_args= [2022-09-12T03:31:20.344Z] -> Pinging Codecov [2022-09-12T03:31:20.344Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-159&commit=b81cbc5b194cdd0da22d2291dd6c7a55125812e6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-159%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=159&job=&cmd_args= [2022-09-12T03:31:20.604Z] -> Uploading to [2022-09-12T03:31:20.604Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-12/F29A59C45E3A92E06B3E522C9905F8EF/b81cbc5b194cdd0da22d2291dd6c7a55125812e6/ddcc5667-cfa6-4dca-8fce-3068398ad3e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T033120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f84c414a9d8e7462f0ae7f36a088c4efe6f7d0aa956ecbeb98a6daa65964dfb5 [2022-09-12T03:31:20.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T03:31:20.604Z] Dload Upload Total Spent Left Speed [2022-09-12T03:31:20.865Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10538 0 0 100 10538 0 34437 --:--:-- --:--:-- --:--:-- 34437 [2022-09-12T03:31:21.125Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b81cbc5b194cdd0da22d2291dd6c7a55125812e6 [Pipeline] } [2022-09-12T03:31:21.153Z] 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-12T03:31:22.940Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-159/archives ] [2022-09-12T03:31:22.940Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-159/archives [2022-09-12T03:31:22.940Z] total 16 [2022-09-12T03:31:22.940Z] drwxr-xr-x 3 root root 4096 Sep 12 03:23 . [2022-09-12T03:31:22.940Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 03:23 .. [2022-09-12T03:31:22.940Z] drwxr-xr-x 2 root root 4096 Sep 12 03:23 cost [2022-09-12T03:31:22.940Z] -rw-r--r-- 1 root root 91 Sep 12 03:23 cost.csv [2022-09-12T03:31:22.940Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-159/archives [2022-09-12T03:31:22.940Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-159/archives [2022-09-12T03:31:22.940Z] total 16 [2022-09-12T03:31:22.940Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 03:23 . [2022-09-12T03:31:22.940Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 03:23 .. [2022-09-12T03:31:22.940Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 03:23 cost [2022-09-12T03:31:22.940Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 12 03:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:23.266Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:24.160Z] ---> package-listing.sh [2022-09-12T03:31:24.160Z] ++ facter osfamily [2022-09-12T03:31:24.160Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-12T03:31:24.420Z] + OS_FAMILY=debian [2022-09-12T03:31:24.420Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-159 [2022-09-12T03:31:24.420Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-12T03:31:24.420Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-12T03:31:24.420Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-12T03:31:24.420Z] + PACKAGES=/tmp/packages_start.txt [2022-09-12T03:31:24.420Z] + '[' /w/workspace/undry_device-onvif-camera_PR-159 ']' [2022-09-12T03:31:24.420Z] + PACKAGES=/tmp/packages_end.txt [2022-09-12T03:31:24.420Z] + case "${OS_FAMILY}" in [2022-09-12T03:31:24.420Z] + dpkg -l [2022-09-12T03:31:24.420Z] + grep '^ii' [2022-09-12T03:31:24.420Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-12T03:31:24.420Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-12T03:31:24.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-12T03:31:24.420Z] + '[' /w/workspace/undry_device-onvif-camera_PR-159 ']' [2022-09-12T03:31:24.420Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-159/archives/ [2022-09-12T03:31:24.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-159/archives/ [Pipeline] echo [2022-09-12T03:31:24.453Z] 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-159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-12T03:31:24.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T03:31:25.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T03:31:25.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T03:31:25.533Z] prd-ubuntu20.04-docker-8c-8g-28925 does not seem to be running inside a container [2022-09-12T03:31:25.564Z] $ 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-159/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-159 -v /w/workspace/undry_device-onvif-camera_PR-159:/w/workspace/undry_device-onvif-camera_PR-159:rw,z -v /w/workspace/undry_device-onvif-camera_PR-159@tmp:/w/workspace/undry_device-onvif-camera_PR-159@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-12T03:31:26.020Z] $ docker top da1b94b277c18e2ceabfe5861170a20bc70e450571daa38495c5b61bb8afe586 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T03:31:26.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-12T03:31:26.731Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-12T03:31:27.051Z] + ls /var/log/sa-host [2022-09-12T03:31:27.051Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T03:31:27.275Z] provisioning config files... [2022-09-12T03:31:27.286Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-159@tmp/config5673491485114747367tmp [Pipeline] { [Pipeline] echo [2022-09-12T03:31:27.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:27.671Z] ---> create-netrc.sh [Pipeline] } [2022-09-12T03:31:27.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:28.114Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-12T03:31:28.148Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:28.458Z] ---> sudo-logs.sh [2022-09-12T03:31:28.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-12T03:31:28.543Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:28.856Z] ---> job-cost.sh [2022-09-12T03:31:28.856Z] lf-activate-venv: SKIPPING [2022-09-12T03:31:28.856Z] DEBUG: total: 0.2199999988079071 [2022-09-12T03:31:28.856Z] INFO: Retrieving Stack Cost... [2022-09-12T03:31:29.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T03:31:29.688Z] INFO: Archiving Costs [Pipeline] echo [2022-09-12T03:31:29.722Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T03:31:30.039Z] ---> logs-deploy.sh [2022-09-12T03:31:30.040Z] lf-activate-venv: SKIPPING [2022-09-12T03:31:30.040Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-159/1 [2022-09-12T03:31:30.040Z] INFO: archiving workspace using pattern(s): [2022-09-12T03:31:30.978Z] Archives upload complete. [2022-09-12T03:31:31.239Z] INFO: archiving logs to Nexus [2022-09-12T03:31:31.813Z] ---> uname -a: [2022-09-12T03:31:31.813Z] Linux prd-ubuntu20-04-docker-8c-8g-28925 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-12T03:31:31.813Z] [2022-09-12T03:31:31.813Z]