Pull request #133 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d68c34b3abca15db2534421c9d85fabed4a6d323+7566e30f01203e511a46f95a7874e6126d22e67b (65a4650f31c2bee871e4c4af2f0337391f0cbc7b) 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-ssh14203511983436600564.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh18140621943877546374.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-133/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-133/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16826456216453808264.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-133/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10460696330931342635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11111148317616193611.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-133/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-133/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11449951136059557789.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22766 in /w/workspace/undry_device-onvif-camera_PR-133 [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-133 # 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 7566e30f01203e511a46f95a7874e6126d22e67b into PR head commit d68c34b3abca15db2534421c9d85fabed4a6d323 Merge succeeded, producing d68c34b3abca15db2534421c9d85fabed4a6d323 Checking out Revision d68c34b3abca15db2534421c9d85fabed4a6d323 (PR-133) > 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/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d68c34b3abca15db2534421c9d85fabed4a6d323 # 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 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d68c34b3abca15db2534421c9d85fabed4a6d323 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T03:20:08.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T03:20:08.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T03:20:08.344Z] ========================================================= [2022-08-15T03:20:08.344Z] EdgeX Global Pipelines Version Info [2022-08-15T03:20:08.344Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:20:09.168Z] ------------------- [2022-08-15T03:20:09.168Z] stable info: [2022-08-15T03:20:09.168Z] ------------------- [2022-08-15T03:20:09.168Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T03:20:09.168Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T03:20:09.168Z] Message: update stable to v1.0.238 [2022-08-15T03:20:09.742Z] ------------------- [2022-08-15T03:20:09.742Z] experimental info: [2022-08-15T03:20:09.742Z] ------------------- [2022-08-15T03:20:09.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T03:20:09.742Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T03:20:09.742Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T03:20:10.106Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-15T03:20:10.151Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-15T03:20:10.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T03:20:10.240Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T03:20:10.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T03:20:10.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T03:20:10.359Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T03:20:10.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T03:20:10.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T03:20:10.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T03:20:10.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T03:20:10.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-15T03:20:10.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T03:20:10.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T03:20:10.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T03:20:10.728Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T03:20:10.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T03:20:10.806Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T03:20:10.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T03:20:10.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T03:20:10.925Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-15T03:20:10.967Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-15T03:20:11.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T03:20:11.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T03:20:11.087Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T03:20:11.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T03:20:11.162Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T03:20:11.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo [2022-08-15T03:20:11.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo [2022-08-15T03:20:11.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo [2022-08-15T03:20:11.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d68c34b3abca15db2534421c9d85fabed4a6d323 [Pipeline] echo [2022-08-15T03:20:11.354Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d68c34b [Pipeline] echo [2022-08-15T03:20:11.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T03:20:11.505Z] provisioning config files... [2022-08-15T03:20:11.519Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-133@tmp/config3534120345624056854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:20:11.874Z] ---> docker-login.sh [2022-08-15T03:20:11.874Z] nexus3.edgexfoundry.org:10001 [2022-08-15T03:20:12.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:12.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:12.399Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:12.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:12.399Z] [2022-08-15T03:20:12.399Z] Login Succeeded [2022-08-15T03:20:12.399Z] nexus3.edgexfoundry.org:10002 [2022-08-15T03:20:12.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:12.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:12.662Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:12.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:12.662Z] [2022-08-15T03:20:12.662Z] Login Succeeded [2022-08-15T03:20:12.662Z] nexus3.edgexfoundry.org:10003 [2022-08-15T03:20:12.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:12.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:12.662Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:12.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:12.662Z] [2022-08-15T03:20:12.662Z] Login Succeeded [2022-08-15T03:20:12.662Z] nexus3.edgexfoundry.org:10004 [2022-08-15T03:20:12.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:12.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:12.923Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:12.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:12.923Z] [2022-08-15T03:20:12.923Z] Login Succeeded [2022-08-15T03:20:12.924Z] docker.io [2022-08-15T03:20:12.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:13.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:13.497Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:13.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:13.497Z] [2022-08-15T03:20:13.497Z] Login Succeeded [2022-08-15T03:20:13.497Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T03:20:13.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T03:20:14.161Z] + git rev-list -1 --merges d68c34b3abca15db2534421c9d85fabed4a6d323~1..d68c34b3abca15db2534421c9d85fabed4a6d323 [Pipeline] echo [2022-08-15T03:20:14.206Z] -----------> git rev-list -1 --merges d68c34b3abca15db2534421c9d85fabed4a6d323~1..d68c34b3abca15db2534421c9d85fabed4a6d323 d68c34b3abca15db2534421c9d85fabed4a6d323 [false] [Pipeline] sh [2022-08-15T03:20:14.521Z] + git log --format=format:%s -1 d68c34b3abca15db2534421c9d85fabed4a6d323 [Pipeline] echo [2022-08-15T03:20:14.554Z] ========================================================= [2022-08-15T03:20:14.554Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T03:20:14.554Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T03:20:14.991Z] + git log --format=format:%s -1 d68c34b3abca15db2534421c9d85fabed4a6d323 [Pipeline] echo [2022-08-15T03:20:15.026Z] [semverPrep] GIT_COMMIT: d68c34b3abca15db2534421c9d85fabed4a6d323, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-08-15T03:20:15.060Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T03:20:15.447Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T03:20:15.447Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T03:20:15.447Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T03:20:15.447Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T03:20:15.447Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T03:20:15.447Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T03:20:15.447Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:20:15.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T03:20:15.928Z] [2022-08-15T03:20:15.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:20:16.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T03:20:16.307Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T03:20:16.307Z] b85a868b505f: Pulling fs layer [2022-08-15T03:20:16.307Z] e2be974225ed: Pulling fs layer [2022-08-15T03:20:16.307Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T03:20:16.307Z] 988bab9f4d93: Pulling fs layer [2022-08-15T03:20:16.307Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T03:20:16.307Z] eaf3925da568: Pulling fs layer [2022-08-15T03:20:16.307Z] bab4dde63d76: Pulling fs layer [2022-08-15T03:20:16.307Z] bde34c3a00c8: Pulling fs layer [2022-08-15T03:20:16.307Z] b352a97aabf1: Pulling fs layer [2022-08-15T03:20:16.307Z] 4872d77fe225: Pulling fs layer [2022-08-15T03:20:16.307Z] 5851b861e8e6: Pulling fs layer [2022-08-15T03:20:16.307Z] bde34c3a00c8: Waiting [2022-08-15T03:20:16.307Z] b352a97aabf1: Waiting [2022-08-15T03:20:16.307Z] 988bab9f4d93: Waiting [2022-08-15T03:20:16.307Z] 4872d77fe225: Waiting [2022-08-15T03:20:16.307Z] 5851b861e8e6: Waiting [2022-08-15T03:20:16.307Z] 1469e6f7b9e6: Waiting [2022-08-15T03:20:16.307Z] eaf3925da568: Waiting [2022-08-15T03:20:16.307Z] bab4dde63d76: Waiting [2022-08-15T03:20:16.307Z] e2be974225ed: Verifying Checksum [2022-08-15T03:20:16.307Z] e2be974225ed: Download complete [2022-08-15T03:20:16.307Z] 988bab9f4d93: Verifying Checksum [2022-08-15T03:20:16.307Z] 988bab9f4d93: Download complete [2022-08-15T03:20:16.568Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T03:20:16.568Z] 1469e6f7b9e6: Download complete [2022-08-15T03:20:16.568Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T03:20:16.568Z] 339a4e72a1f5: Download complete [2022-08-15T03:20:16.568Z] eaf3925da568: Verifying Checksum [2022-08-15T03:20:16.568Z] eaf3925da568: Download complete [2022-08-15T03:20:16.568Z] bde34c3a00c8: Download complete [2022-08-15T03:20:16.568Z] b352a97aabf1: Verifying Checksum [2022-08-15T03:20:16.568Z] b352a97aabf1: Download complete [2022-08-15T03:20:16.568Z] 4872d77fe225: Verifying Checksum [2022-08-15T03:20:16.568Z] 4872d77fe225: Download complete [2022-08-15T03:20:16.568Z] 5851b861e8e6: Verifying Checksum [2022-08-15T03:20:16.568Z] 5851b861e8e6: Download complete [2022-08-15T03:20:16.568Z] b85a868b505f: Verifying Checksum [2022-08-15T03:20:16.568Z] b85a868b505f: Download complete [2022-08-15T03:20:16.828Z] bab4dde63d76: Verifying Checksum [2022-08-15T03:20:16.828Z] bab4dde63d76: Download complete [2022-08-15T03:20:17.778Z] b85a868b505f: Pull complete [2022-08-15T03:20:18.039Z] e2be974225ed: Pull complete [2022-08-15T03:20:18.609Z] 339a4e72a1f5: Pull complete [2022-08-15T03:20:18.609Z] 988bab9f4d93: Pull complete [2022-08-15T03:20:18.871Z] 1469e6f7b9e6: Pull complete [2022-08-15T03:20:18.871Z] eaf3925da568: Pull complete [2022-08-15T03:20:20.783Z] bab4dde63d76: Pull complete [2022-08-15T03:20:21.044Z] bde34c3a00c8: Pull complete [2022-08-15T03:20:21.044Z] b352a97aabf1: Pull complete [2022-08-15T03:20:21.044Z] 4872d77fe225: Pull complete [2022-08-15T03:20:21.305Z] 5851b861e8e6: Pull complete [2022-08-15T03:20:21.306Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T03:20:21.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T03:20:21.306Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:20:21.524Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2022-08-15T03:20:21.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-133 -v /w/workspace/undry_device-onvif-camera_PR-133:/w/workspace/undry_device-onvif-camera_PR-133:rw,z -v /w/workspace/undry_device-onvif-camera_PR-133@tmp:/w/workspace/undry_device-onvif-camera_PR-133@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-08-15T03:20:22.760Z] $ docker top abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 -eo pid,comm [2022-08-15T03:20:22.827Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-15T03:20:22.827Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T03:20:22.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T03:20:22.956Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T03:20:23.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T03:20:23.103Z] $ docker exec abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 ssh-agent [2022-08-15T03:20:23.225Z] SSH_AUTH_SOCK=/tmp/ssh-DqvwOlejEWuh/agent.32 [2022-08-15T03:20:23.225Z] SSH_AGENT_PID=38 [2022-08-15T03:20:23.233Z] Running ssh-add (command line suppressed) [2022-08-15T03:20:23.350Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-133@tmp/private_key_2340204105360424556.key (/w/workspace/undry_device-onvif-camera_PR-133@tmp/private_key_2340204105360424556.key) [2022-08-15T03:20:23.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T03:20:23.703Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T03:20:23.732Z] $ docker exec --env ******** --env ******** abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 ssh-agent -k [2022-08-15T03:20:23.857Z] unset SSH_AUTH_SOCK; [2022-08-15T03:20:23.858Z] unset SSH_AGENT_PID; [2022-08-15T03:20:23.858Z] echo Agent pid 38 killed; [2022-08-15T03:20:23.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T03:20:23.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T03:20:23.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T03:20:24.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T03:20:24.098Z] $ docker exec abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 ssh-agent [2022-08-15T03:20:24.232Z] SSH_AUTH_SOCK=/tmp/ssh-ANBcuQhuaPqL/agent.71 [2022-08-15T03:20:24.232Z] SSH_AGENT_PID=78 [2022-08-15T03:20:24.237Z] Running ssh-add (command line suppressed) [2022-08-15T03:20:24.398Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-133@tmp/private_key_3508763998935463941.key (/w/workspace/undry_device-onvif-camera_PR-133@tmp/private_key_3508763998935463941.key) [2022-08-15T03:20:24.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T03:20:24.748Z] + git semver init [2022-08-15T03:20:25.011Z] 2022-08-15 03:20:24,938 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T03:20:25.011Z] 2022-08-15 03:20:24,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-133/.semver [2022-08-15T03:20:25.011Z] 2022-08-15 03:20:24,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-133/.semver [2022-08-15T03:20:25.011Z] 2022-08-15 03:20:24,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-133/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-133, universal_newlines=False, shell=None, istream=None) [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,698 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-133/.git/info/exclude [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,699 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-133/.semver/PR-133 with force:False [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,699 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-133/.semver/PR-133 [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,704 [execute] INFO git cat-file --batch-check [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-133/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,711 [execute] INFO git cat-file --batch [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-133/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T03:20:25.963Z] 2022-08-15 03:20:25,717 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-133/.semver/PR-133 [2022-08-15T03:20:25.963Z] 0.0.0 [Pipeline] } [2022-08-15T03:20:25.993Z] $ docker exec --env ******** --env ******** abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 ssh-agent -k [2022-08-15T03:20:26.108Z] unset SSH_AUTH_SOCK; [2022-08-15T03:20:26.109Z] unset SSH_AGENT_PID; [2022-08-15T03:20:26.109Z] echo Agent pid 78 killed; [2022-08-15T03:20:26.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T03:20:26.570Z] + git semver [Pipeline] } [2022-08-15T03:20:26.868Z] $ docker stop --time=1 abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 [2022-08-15T03:20:28.171Z] $ docker rm -f abf41d93fdf0a04479f188d49c785f646896f9843b3890e080f55350e003fcc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T03:20:28.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T03:20:28.911Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T03:20:28.930Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T03:20:29.560Z] provisioning config files... [2022-08-15T03:20:29.572Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-133@tmp/config1086080123385085214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:20:29.913Z] ---> docker-login.sh [2022-08-15T03:20:29.913Z] nexus3.edgexfoundry.org:10001 [2022-08-15T03:20:29.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:29.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:29.913Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:29.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:29.913Z] [2022-08-15T03:20:29.913Z] Login Succeeded [2022-08-15T03:20:29.913Z] nexus3.edgexfoundry.org:10002 [2022-08-15T03:20:29.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:30.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:30.177Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:30.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:30.177Z] [2022-08-15T03:20:30.177Z] Login Succeeded [2022-08-15T03:20:30.177Z] nexus3.edgexfoundry.org:10003 [2022-08-15T03:20:30.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:30.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:30.177Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:30.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:30.177Z] [2022-08-15T03:20:30.177Z] Login Succeeded [2022-08-15T03:20:30.177Z] nexus3.edgexfoundry.org:10004 [2022-08-15T03:20:30.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:30.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:30.438Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:30.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:30.438Z] [2022-08-15T03:20:30.438Z] Login Succeeded [2022-08-15T03:20:30.438Z] docker.io [2022-08-15T03:20:30.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:20:30.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:20:30.701Z] Configure a credential helper to remove this warning. See [2022-08-15T03:20:30.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:20:30.701Z] [2022-08-15T03:20:30.701Z] Login Succeeded [2022-08-15T03:20:30.701Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T03:20:30.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T03:20:30.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T03:20:30.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T03:20:31.009Z] ========================================================= [2022-08-15T03:20:31.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T03:20:31.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:20:31.493Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-15T03:20:31.493Z] Sending build context to Docker daemon 20.54MB [2022-08-15T03:20:31.493Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T03:20:31.493Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-15T03:20:31.754Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T03:20:31.754Z] 2408cc74d12b: Pulling fs layer [2022-08-15T03:20:31.754Z] ea60b727a1ce: Pulling fs layer [2022-08-15T03:20:31.754Z] 30c4a7721957: Pulling fs layer [2022-08-15T03:20:31.754Z] 370296b7ddb6: Pulling fs layer [2022-08-15T03:20:31.754Z] 7c6cee850709: Pulling fs layer [2022-08-15T03:20:31.754Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T03:20:31.754Z] d94ebbe4e438: Pulling fs layer [2022-08-15T03:20:31.754Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T03:20:31.754Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T03:20:31.754Z] 370296b7ddb6: Waiting [2022-08-15T03:20:31.754Z] 7c6cee850709: Waiting [2022-08-15T03:20:31.754Z] 39a5fcdaea64: Waiting [2022-08-15T03:20:31.754Z] d94ebbe4e438: Waiting [2022-08-15T03:20:31.754Z] bcfd1f05c69d: Waiting [2022-08-15T03:20:31.754Z] 59ccb84bbe0f: Waiting [2022-08-15T03:20:31.754Z] 30c4a7721957: Verifying Checksum [2022-08-15T03:20:31.754Z] 30c4a7721957: Download complete [2022-08-15T03:20:31.754Z] ea60b727a1ce: Verifying Checksum [2022-08-15T03:20:31.754Z] ea60b727a1ce: Download complete [2022-08-15T03:20:31.754Z] 7c6cee850709: Download complete [2022-08-15T03:20:31.754Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T03:20:31.754Z] 39a5fcdaea64: Download complete [2022-08-15T03:20:31.754Z] 2408cc74d12b: Verifying Checksum [2022-08-15T03:20:31.754Z] 2408cc74d12b: Download complete [2022-08-15T03:20:31.754Z] d94ebbe4e438: Download complete [2022-08-15T03:20:31.754Z] 2408cc74d12b: Pull complete [2022-08-15T03:20:32.017Z] ea60b727a1ce: Pull complete [2022-08-15T03:20:32.017Z] 30c4a7721957: Pull complete [2022-08-15T03:20:32.595Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T03:20:32.595Z] 59ccb84bbe0f: Download complete [2022-08-15T03:20:32.595Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T03:20:32.595Z] bcfd1f05c69d: Download complete [2022-08-15T03:20:32.595Z] 370296b7ddb6: Verifying Checksum [2022-08-15T03:20:32.595Z] 370296b7ddb6: Download complete [2022-08-15T03:20:36.790Z] 370296b7ddb6: Pull complete [2022-08-15T03:20:36.790Z] 7c6cee850709: Pull complete [2022-08-15T03:20:36.790Z] 39a5fcdaea64: Pull complete [2022-08-15T03:20:36.790Z] d94ebbe4e438: Pull complete [2022-08-15T03:20:38.699Z] bcfd1f05c69d: Pull complete [2022-08-15T03:20:39.268Z] 59ccb84bbe0f: Pull complete [2022-08-15T03:20:39.268Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T03:20:39.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T03:20:39.268Z] ---> a4fb48ad2a94 [2022-08-15T03:20:39.268Z] Step 3/13 : ARG MAKE="make build" [2022-08-15T03:20:40.655Z] ---> Running in d43737164bc1 [2022-08-15T03:20:40.916Z] Removing intermediate container d43737164bc1 [2022-08-15T03:20:40.916Z] ---> d9a569a75814 [2022-08-15T03:20:40.916Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T03:20:40.916Z] ---> Running in 920da32ffae3 [2022-08-15T03:20:40.916Z] Removing intermediate container 920da32ffae3 [2022-08-15T03:20:40.916Z] ---> 1be3c36782b4 [2022-08-15T03:20:40.916Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T03:20:40.916Z] ---> Running in e717d8bc9365 [2022-08-15T03:20:41.177Z] Removing intermediate container e717d8bc9365 [2022-08-15T03:20:41.177Z] ---> 013310d4c667 [2022-08-15T03:20:41.177Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-15T03:20:41.177Z] ---> Running in 30c12ae954c0 [2022-08-15T03:20:41.177Z] Removing intermediate container 30c12ae954c0 [2022-08-15T03:20:41.177Z] ---> acfb483c09b9 [2022-08-15T03:20:41.177Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T03:20:41.177Z] ---> Running in 861e3f67a026 [2022-08-15T03:20:41.752Z] Removing intermediate container 861e3f67a026 [2022-08-15T03:20:41.752Z] ---> eeea99e6f5af [2022-08-15T03:20:41.752Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T03:20:41.752Z] ---> Running in 1a4b8d08ee78 [2022-08-15T03:20:42.011Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T03:20:42.953Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T03:20:43.215Z] OK: 211 MiB in 51 packages [2022-08-15T03:20:43.786Z] Removing intermediate container 1a4b8d08ee78 [2022-08-15T03:20:43.786Z] ---> 6f9eb8fb1f41 [2022-08-15T03:20:43.786Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-15T03:20:43.786Z] ---> Running in bdd92d3e5226 [2022-08-15T03:20:43.786Z] Removing intermediate container bdd92d3e5226 [2022-08-15T03:20:43.786Z] ---> 21e8f9b502c8 [2022-08-15T03:20:43.786Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-15T03:20:43.786Z] ---> 2c229eacbd7d [2022-08-15T03:20:43.786Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T03:20:44.051Z] ---> Running in 48e5fa2a8d5e [2022-08-15T03:20:44.372Z] Still waiting to schedule task [2022-08-15T03:20:44.372Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T03:21:06.050Z] Removing intermediate container 48e5fa2a8d5e [2022-08-15T03:21:06.050Z] ---> 83057bad4e28 [2022-08-15T03:21:06.050Z] Step 12/13 : COPY . . [2022-08-15T03:21:06.050Z] ---> cda01a65e70f [2022-08-15T03:21:06.050Z] Step 13/13 : RUN ${MAKE} [2022-08-15T03:21:06.050Z] ---> Running in 6dcf69f0d248 [2022-08-15T03:21:06.050Z] noop [2022-08-15T03:21:06.050Z] Removing intermediate container 6dcf69f0d248 [2022-08-15T03:21:06.050Z] ---> c8f456b8256b [2022-08-15T03:21:06.050Z] Successfully built c8f456b8256b [2022-08-15T03:21:06.050Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:21:06.509Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T03:21:06.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:21:06.670Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2022-08-15T03:21:06.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-133 -v /w/workspace/undry_device-onvif-camera_PR-133:/w/workspace/undry_device-onvif-camera_PR-133:rw,z -v /w/workspace/undry_device-onvif-camera_PR-133@tmp:/w/workspace/undry_device-onvif-camera_PR-133@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-08-15T03:21:07.112Z] $ docker top 0b87cd051973bb492501aed9e75d0598ff16f6a4417b156d252bcb3765d73cac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T03:21:07.523Z] + go version [2022-08-15T03:21:07.523Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T03:21:07.559Z] $ docker stop --time=1 0b87cd051973bb492501aed9e75d0598ff16f6a4417b156d252bcb3765d73cac [2022-08-15T03:21:08.849Z] $ docker rm -f 0b87cd051973bb492501aed9e75d0598ff16f6a4417b156d252bcb3765d73cac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:21:09.587Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T03:21:09.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:21:09.757Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2022-08-15T03:21:09.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-133 -v /w/workspace/undry_device-onvif-camera_PR-133:/w/workspace/undry_device-onvif-camera_PR-133:rw,z -v /w/workspace/undry_device-onvif-camera_PR-133@tmp:/w/workspace/undry_device-onvif-camera_PR-133@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-08-15T03:21:10.176Z] $ docker top 7e565e054f2a090982c9fe1347b1a940585dd43cf2b532c78107817bea71f265 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T03:21:10.653Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-133 [Pipeline] fileExists [Pipeline] sh [2022-08-15T03:21:11.018Z] + make test [2022-08-15T03:21:11.018Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T03:21:11.278Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-15T03:21:23.502Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-15T03:21:23.502Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.022s coverage: 10.6% of statements [2022-08-15T03:21:23.502Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-15T03:21:26.797Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.821s coverage: 13.8% of statements [2022-08-15T03:21:34.929Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-15T03:21:34.929Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T03:21:37.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T03:21:37.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T03:21:37.470Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-15T03:21:37.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T03:21:37.540Z] $ docker stop --time=1 7e565e054f2a090982c9fe1347b1a940585dd43cf2b532c78107817bea71f265 [2022-08-15T03:21:39.242Z] $ docker rm -f 7e565e054f2a090982c9fe1347b1a940585dd43cf2b532c78107817bea71f265 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T03:21:39.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T03:21:39.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T03:21:40.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T03:21:40.851Z] + ls -al . [2022-08-15T03:21:40.851Z] total 232 [2022-08-15T03:21:40.851Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 03:21 . [2022-08-15T03:21:40.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:20 .. [2022-08-15T03:21:40.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 03:21 .git [2022-08-15T03:21:40.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:20 .github [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 15 03:20 .gitignore [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 03:20 .golangci.yml [2022-08-15T03:21:40.851Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 03:20 .semver [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 15 03:20 Attribution.txt [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 15 03:20 CHANGELOG.md [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 15 03:20 Dockerfile [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 03:20 GOVERNANCE.md [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 15 03:20 Jenkinsfile [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 03:20 LICENSE [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 15 03:20 Makefile [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 15 03:20 OWNERS.md [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 15 03:20 README.md [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 03:20 VERSION [2022-08-15T03:21:40.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:20 bin [2022-08-15T03:21:40.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:20 cmd [2022-08-15T03:21:40.851Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 15 03:21 coverage.out [2022-08-15T03:21:40.851Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 03:20 doc [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 15 03:20 go.mod [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 15 03:20 go.sum [2022-08-15T03:21:40.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:20 internal [2022-08-15T03:21:40.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:20 snap [2022-08-15T03:21:40.851Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 15 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:21:41.334Z] + 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=d68c34b3abca15db2534421c9d85fabed4a6d323 --label arch=amd64 --label version=0.0.0 . [2022-08-15T03:21:41.334Z] Sending build context to Docker daemon 20.61MB [2022-08-15T03:21:41.334Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T03:21:41.334Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T03:21:41.334Z] ---> c8f456b8256b [2022-08-15T03:21:41.334Z] Step 3/26 : ARG MAKE="make build" [2022-08-15T03:21:41.596Z] ---> Running in 05e190eee062 [2022-08-15T03:21:41.596Z] Removing intermediate container 05e190eee062 [2022-08-15T03:21:41.596Z] ---> 598d2381557b [2022-08-15T03:21:41.596Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T03:21:41.596Z] ---> Running in b91eee4b0a5b [2022-08-15T03:21:41.596Z] Removing intermediate container b91eee4b0a5b [2022-08-15T03:21:41.596Z] ---> 7cf0b0cb421e [2022-08-15T03:21:41.596Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T03:21:41.596Z] ---> Running in 7c24c2c8cd87 [2022-08-15T03:21:41.855Z] Removing intermediate container 7c24c2c8cd87 [2022-08-15T03:21:41.855Z] ---> ea27314e8745 [2022-08-15T03:21:41.856Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-15T03:21:41.856Z] ---> Running in 91f76ad864a1 [2022-08-15T03:21:41.856Z] Removing intermediate container 91f76ad864a1 [2022-08-15T03:21:41.856Z] ---> 0116ac243c04 [2022-08-15T03:21:41.856Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T03:21:41.856Z] ---> Running in d4a0b0dc9d26 [2022-08-15T03:21:42.425Z] Removing intermediate container d4a0b0dc9d26 [2022-08-15T03:21:42.425Z] ---> 7e62ff89edb1 [2022-08-15T03:21:42.425Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T03:21:42.685Z] ---> Running in 85b340bd98d2 [2022-08-15T03:21:42.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T03:21:43.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T03:21:43.888Z] OK: 211 MiB in 51 packages [2022-08-15T03:21:44.459Z] Removing intermediate container 85b340bd98d2 [2022-08-15T03:21:44.459Z] ---> 1729f9d29037 [2022-08-15T03:21:44.459Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-15T03:21:44.459Z] ---> Running in f97271063376 [2022-08-15T03:21:44.459Z] Removing intermediate container f97271063376 [2022-08-15T03:21:44.459Z] ---> 3cb517b73f06 [2022-08-15T03:21:44.459Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-15T03:21:44.459Z] ---> ddf33d4275c2 [2022-08-15T03:21:44.459Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T03:21:44.723Z] ---> Running in aa763e4187b5 [2022-08-15T03:21:45.295Z] Removing intermediate container aa763e4187b5 [2022-08-15T03:21:45.295Z] ---> 6c9936cec8f3 [2022-08-15T03:21:45.295Z] Step 12/26 : COPY . . [2022-08-15T03:21:45.867Z] ---> a403f86950b6 [2022-08-15T03:21:45.867Z] Step 13/26 : RUN ${MAKE} [2022-08-15T03:21:45.867Z] ---> Running in 0c3f1b13bea8 [2022-08-15T03:21:46.127Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-15T03:22:08.068Z] Removing intermediate container 0c3f1b13bea8 [2022-08-15T03:22:08.068Z] ---> 72eb5ea6d470 [2022-08-15T03:22:08.068Z] Step 14/26 : FROM alpine:3.16 [2022-08-15T03:22:08.068Z] 3.16: Pulling from library/alpine [2022-08-15T03:22:08.068Z] 213ec9aee27d: Pulling fs layer [2022-08-15T03:22:08.068Z] 213ec9aee27d: Verifying Checksum [2022-08-15T03:22:08.068Z] 213ec9aee27d: Download complete [2022-08-15T03:22:08.068Z] 213ec9aee27d: Pull complete [2022-08-15T03:22:08.068Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T03:22:08.068Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T03:22:08.068Z] ---> 9c6f07244728 [2022-08-15T03:22:08.068Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-15T03:22:08.068Z] ---> Running in ac6d349da5a5 [2022-08-15T03:22:08.068Z] Removing intermediate container ac6d349da5a5 [2022-08-15T03:22:08.068Z] ---> c2790fd33ee8 [2022-08-15T03:22:08.068Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T03:22:08.068Z] ---> Running in 751c5c609208 [2022-08-15T03:22:08.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T03:22:08.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T03:22:08.068Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T03:22:08.068Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T03:22:08.068Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T03:22:08.068Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T03:22:08.068Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T03:22:08.068Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T03:22:08.068Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T03:22:08.068Z] OK: 8 MiB in 20 packages [2022-08-15T03:22:08.068Z] Removing intermediate container 751c5c609208 [2022-08-15T03:22:08.068Z] ---> 91764820c276 [2022-08-15T03:22:08.068Z] Step 17/26 : WORKDIR / [2022-08-15T03:22:08.068Z] ---> Running in ae6249ca98d5 [2022-08-15T03:22:08.068Z] Removing intermediate container ae6249ca98d5 [2022-08-15T03:22:08.069Z] ---> 65e48f5e1644 [2022-08-15T03:22:08.069Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-15T03:22:08.069Z] ---> 8d1532fe03e7 [2022-08-15T03:22:08.069Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-15T03:22:08.069Z] ---> c8a16ed3e01b [2022-08-15T03:22:08.069Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-15T03:22:08.069Z] ---> 35cc398cbb3b [2022-08-15T03:22:08.069Z] Step 21/26 : EXPOSE 59984 [2022-08-15T03:22:08.069Z] ---> Running in a894bc5ff382 [2022-08-15T03:22:08.069Z] Removing intermediate container a894bc5ff382 [2022-08-15T03:22:08.069Z] ---> a8b63ceda6a5 [2022-08-15T03:22:08.069Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-15T03:22:08.069Z] ---> Running in a2eca645cdde [2022-08-15T03:22:08.069Z] Removing intermediate container a2eca645cdde [2022-08-15T03:22:08.069Z] ---> 18497d0e2253 [2022-08-15T03:22:08.069Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T03:22:08.069Z] ---> Running in 479e492b8234 [2022-08-15T03:22:08.329Z] Removing intermediate container 479e492b8234 [2022-08-15T03:22:08.329Z] ---> ae511c999d04 [2022-08-15T03:22:08.329Z] Step 24/26 : LABEL arch=amd64 [2022-08-15T03:22:08.329Z] ---> Running in 5b21e135cde6 [2022-08-15T03:22:08.329Z] Removing intermediate container 5b21e135cde6 [2022-08-15T03:22:08.329Z] ---> b050d50cbef4 [2022-08-15T03:22:08.329Z] Step 25/26 : LABEL git_sha=d68c34b3abca15db2534421c9d85fabed4a6d323 [2022-08-15T03:22:08.329Z] ---> Running in d3925c6e9b00 [2022-08-15T03:22:08.329Z] Removing intermediate container d3925c6e9b00 [2022-08-15T03:22:08.329Z] ---> 66d1652c84b2 [2022-08-15T03:22:08.329Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T03:22:08.329Z] ---> Running in c9ef5cd10413 [2022-08-15T03:22:08.590Z] Removing intermediate container c9ef5cd10413 [2022-08-15T03:22:08.590Z] ---> 95e99101c709 [2022-08-15T03:22:08.590Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T03:22:08.590Z] Successfully built 95e99101c709 [2022-08-15T03:22:08.590Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:22:09.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T03:22:09.450Z] [2022-08-15T03:22:09.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:22:09.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T03:22:09.830Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T03:22:09.830Z] 5eb5b503b376: Pulling fs layer [2022-08-15T03:22:09.830Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T03:22:09.830Z] ec43610c2a17: Pulling fs layer [2022-08-15T03:22:09.830Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T03:22:09.830Z] 33b1e0a273af: Pulling fs layer [2022-08-15T03:22:09.830Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T03:22:09.830Z] 2f39f015ded8: Pulling fs layer [2022-08-15T03:22:09.830Z] 2f39f015ded8: Waiting [2022-08-15T03:22:09.830Z] 3a2ae6a8a46f: Waiting [2022-08-15T03:22:09.830Z] 33b1e0a273af: Waiting [2022-08-15T03:22:09.830Z] 5d3b04190fa2: Waiting [2022-08-15T03:22:09.830Z] 5c69ac0246d0: Download complete [2022-08-15T03:22:09.830Z] 3a2ae6a8a46f: Download complete [2022-08-15T03:22:09.830Z] ec43610c2a17: Verifying Checksum [2022-08-15T03:22:09.830Z] ec43610c2a17: Download complete [2022-08-15T03:22:09.830Z] 33b1e0a273af: Verifying Checksum [2022-08-15T03:22:09.830Z] 33b1e0a273af: Download complete [2022-08-15T03:22:09.830Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T03:22:09.830Z] 5d3b04190fa2: Download complete [2022-08-15T03:22:10.091Z] 5eb5b503b376: Verifying Checksum [2022-08-15T03:22:10.091Z] 5eb5b503b376: Download complete [2022-08-15T03:22:10.660Z] 2f39f015ded8: Download complete [2022-08-15T03:22:11.232Z] 5eb5b503b376: Pull complete [2022-08-15T03:22:11.232Z] 5c69ac0246d0: Pull complete [2022-08-15T03:22:11.801Z] ec43610c2a17: Pull complete [2022-08-15T03:22:11.801Z] 3a2ae6a8a46f: Pull complete [2022-08-15T03:22:12.061Z] 33b1e0a273af: Pull complete [2022-08-15T03:22:12.061Z] 5d3b04190fa2: Pull complete [2022-08-15T03:22:16.254Z] 2f39f015ded8: Pull complete [2022-08-15T03:22:16.254Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T03:22:16.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T03:22:16.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:22:16.469Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2022-08-15T03:22:16.507Z] $ 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-133 -v /w/workspace/undry_device-onvif-camera_PR-133:/w/workspace/undry_device-onvif-camera_PR-133:rw,z -v /w/workspace/undry_device-onvif-camera_PR-133@tmp:/w/workspace/undry_device-onvif-camera_PR-133@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-08-15T03:22:18.038Z] $ docker top fbb82e927aa39ddcb886b05100df6c421f4fc375865f064cd1e0c8131f5832d2 -eo pid,comm [Pipeline] { [2022-08-15T03:22:18.115Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22767 in /w/workspace/undry_device-onvif-camera_PR-133 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-08-15T03:22:18.283Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-15T03:22:18.385Z] Selected Git installation does not exist. Using Default [2022-08-15T03:22:18.385Z] The recommended git tool is: NONE [2022-08-15T03:22:18.521Z] ---> job-cost.sh [2022-08-15T03:22:18.521Z] lf-activate-venv: SKIPPING [2022-08-15T03:22:18.521Z] INFO: No Stack... [2022-08-15T03:22:18.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T03:22:19.361Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T03:22:19.681Z] + cat /w/workspace/undry_device-onvif-camera_PR-133/archives/cost.csv [2022-08-15T03:22:19.681Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T03:22:19.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [2022-08-15T03:22:19.724Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] did not exist. Created. [2022-08-15T03:22:19.724Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T03:22:20.114Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T03:22:20.162Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T03:22:20.201Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T03:22:20.279Z] $ docker stop --time=1 fbb82e927aa39ddcb886b05100df6c421f4fc375865f064cd1e0c8131f5832d2 [2022-08-15T03:22:21.574Z] $ docker rm -f fbb82e927aa39ddcb886b05100df6c421f4fc375865f064cd1e0c8131f5832d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T03:22:24.570Z] using credential edgex-jenkins-ssh [2022-08-15T03:22:24.587Z] Cloning the remote Git repository [2022-08-15T03:22:24.643Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-15T03:22:24.716Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-15T03:22:24.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-15T03:22:24.793Z] > git --version # timeout=10 [2022-08-15T03:22:24.822Z] > git --version # 'git version 2.25.1' [2022-08-15T03:22:24.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T03:22:24.960Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T03:22:26.746Z] Merging remotes/origin/main commit 7566e30f01203e511a46f95a7874e6126d22e67b into PR head commit d68c34b3abca15db2534421c9d85fabed4a6d323 [2022-08-15T03:22:27.090Z] Merge succeeded, producing d68c34b3abca15db2534421c9d85fabed4a6d323 [2022-08-15T03:22:27.090Z] Checking out Revision d68c34b3abca15db2534421c9d85fabed4a6d323 (PR-133) [2022-08-15T03:22:26.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-15T03:22:26.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T03:22:26.259Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-15T03:22:26.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-15T03:22:26.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T03:22:26.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T03:22:26.767Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T03:22:26.792Z] > git checkout -f d68c34b3abca15db2534421c9d85fabed4a6d323 # timeout=10 [2022-08-15T03:22:27.007Z] > git remote # timeout=10 [2022-08-15T03:22:27.024Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T03:22:27.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T03:22:27.048Z] > git merge 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 [2022-08-15T03:22:27.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T03:22:27.101Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T03:22:27.112Z] > git checkout -f d68c34b3abca15db2534421c9d85fabed4a6d323 # timeout=10 [2022-08-15T03:22:31.444Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-08-15T03:22:31.498Z] > git --version # timeout=10 [2022-08-15T03:22:31.508Z] > git --version # 'git version 2.25.1' [2022-08-15T03:22:31.523Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T03:22:32.643Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T03:22:32.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T03:22:32.643Z] Dload Upload Total Spent Left Speed [2022-08-15T03:22:32.643Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90676 0 --:--:-- --:--:-- --:--:-- 90676 [Pipeline] sh [2022-08-15T03:22:33.608Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T03:22:33.964Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-08-15T03:22:33.964Z] [2022-08-15T03:22:33.964Z] { [2022-08-15T03:22:33.964Z] "registry-mirrors": [ [2022-08-15T03:22:33.964Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T03:22:33.964Z] ], [2022-08-15T03:22:33.964Z] "bip": "10.250.0.254/24", [2022-08-15T03:22:33.964Z] "hosts": [ [2022-08-15T03:22:33.964Z] "tcp://0.0.0.0:5555", [2022-08-15T03:22:33.964Z] "unix:///var/run/docker.sock" [2022-08-15T03:22:33.964Z] ], [2022-08-15T03:22:33.964Z] "mtu": 1458, [2022-08-15T03:22:33.964Z] "selinux-enabled": true, [2022-08-15T03:22:33.964Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T03:22:33.964Z] } [Pipeline] sh [2022-08-15T03:22:34.323Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T03:22:34.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T03:22:53.083Z] provisioning config files... [2022-08-15T03:22:53.107Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3604943678552433979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:22:53.501Z] ---> docker-login.sh [2022-08-15T03:22:53.501Z] nexus3.edgexfoundry.org:10001 [2022-08-15T03:22:54.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:22:54.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:22:54.371Z] Configure a credential helper to remove this warning. See [2022-08-15T03:22:54.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:22:54.371Z] [2022-08-15T03:22:54.371Z] Login Succeeded [2022-08-15T03:22:54.371Z] nexus3.edgexfoundry.org:10002 [2022-08-15T03:22:54.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:22:54.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:22:54.645Z] Configure a credential helper to remove this warning. See [2022-08-15T03:22:54.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:22:54.645Z] [2022-08-15T03:22:54.645Z] Login Succeeded [2022-08-15T03:22:54.645Z] nexus3.edgexfoundry.org:10003 [2022-08-15T03:22:55.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:22:55.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:22:55.244Z] Configure a credential helper to remove this warning. See [2022-08-15T03:22:55.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:22:55.244Z] [2022-08-15T03:22:55.244Z] Login Succeeded [2022-08-15T03:22:55.244Z] nexus3.edgexfoundry.org:10004 [2022-08-15T03:22:55.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:22:55.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:22:55.524Z] Configure a credential helper to remove this warning. See [2022-08-15T03:22:55.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:22:55.524Z] [2022-08-15T03:22:55.524Z] Login Succeeded [2022-08-15T03:22:55.798Z] docker.io [2022-08-15T03:22:56.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T03:22:56.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T03:22:56.344Z] Configure a credential helper to remove this warning. See [2022-08-15T03:22:56.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T03:22:56.344Z] [2022-08-15T03:22:56.344Z] Login Succeeded [2022-08-15T03:22:56.344Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T03:22:56.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T03:22:56.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T03:22:56.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T03:22:56.792Z] ========================================================= [2022-08-15T03:22:56.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T03:22:56.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:22:57.294Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-15T03:22:57.895Z] Sending build context to Docker daemon 14.05MB [2022-08-15T03:22:57.895Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T03:22:57.895Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-15T03:22:57.895Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T03:22:57.895Z] b3c136eddcbf: Pulling fs layer [2022-08-15T03:22:57.895Z] c0a3192eca97: Pulling fs layer [2022-08-15T03:22:57.895Z] a050256f5b6f: Pulling fs layer [2022-08-15T03:22:57.895Z] 656be50a0ddc: Pulling fs layer [2022-08-15T03:22:57.895Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T03:22:57.895Z] 46d945488cbd: Pulling fs layer [2022-08-15T03:22:57.895Z] 8a5474983e97: Pulling fs layer [2022-08-15T03:22:57.895Z] 329c88fbcd65: Pulling fs layer [2022-08-15T03:22:57.895Z] 46d945488cbd: Waiting [2022-08-15T03:22:57.895Z] 8a5474983e97: Waiting [2022-08-15T03:22:57.895Z] 329c88fbcd65: Waiting [2022-08-15T03:22:57.895Z] 656be50a0ddc: Waiting [2022-08-15T03:22:57.895Z] 2bbca73fdf42: Waiting [2022-08-15T03:22:58.182Z] a050256f5b6f: Verifying Checksum [2022-08-15T03:22:58.182Z] a050256f5b6f: Download complete [2022-08-15T03:22:58.182Z] c0a3192eca97: Verifying Checksum [2022-08-15T03:22:58.182Z] c0a3192eca97: Download complete [2022-08-15T03:22:58.182Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T03:22:58.182Z] 2bbca73fdf42: Download complete [2022-08-15T03:22:58.182Z] 46d945488cbd: Verifying Checksum [2022-08-15T03:22:58.182Z] 46d945488cbd: Download complete [2022-08-15T03:22:58.182Z] b3c136eddcbf: Verifying Checksum [2022-08-15T03:22:59.180Z] b3c136eddcbf: Pull complete [2022-08-15T03:22:59.180Z] 329c88fbcd65: Verifying Checksum [2022-08-15T03:22:59.180Z] 329c88fbcd65: Download complete [2022-08-15T03:22:59.471Z] c0a3192eca97: Pull complete [2022-08-15T03:23:00.070Z] a050256f5b6f: Pull complete [2022-08-15T03:23:00.344Z] 8a5474983e97: Download complete [2022-08-15T03:23:00.946Z] 656be50a0ddc: Verifying Checksum [2022-08-15T03:23:00.946Z] 656be50a0ddc: Download complete [2022-08-15T03:23:16.041Z] 656be50a0ddc: Pull complete [2022-08-15T03:23:16.041Z] 2bbca73fdf42: Pull complete [2022-08-15T03:23:16.041Z] 46d945488cbd: Pull complete [2022-08-15T03:23:20.381Z] 8a5474983e97: Pull complete [2022-08-15T03:23:22.360Z] 329c88fbcd65: Pull complete [2022-08-15T03:23:22.360Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T03:23:22.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T03:23:22.360Z] ---> ff4287adb874 [2022-08-15T03:23:22.360Z] Step 3/13 : ARG MAKE="make build" [2022-08-15T03:23:24.344Z] ---> Running in 05ff48285ea8 [2022-08-15T03:23:25.325Z] Removing intermediate container 05ff48285ea8 [2022-08-15T03:23:25.325Z] ---> 70a961d995f3 [2022-08-15T03:23:25.325Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T03:23:25.325Z] ---> Running in c5ff58f89f95 [2022-08-15T03:23:25.605Z] Removing intermediate container c5ff58f89f95 [2022-08-15T03:23:25.605Z] ---> bdbfdf2cbb8a [2022-08-15T03:23:25.605Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T03:23:25.605Z] ---> Running in e8391585974d [2022-08-15T03:23:26.207Z] Removing intermediate container e8391585974d [2022-08-15T03:23:26.207Z] ---> b7a6ba591811 [2022-08-15T03:23:26.207Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-15T03:23:26.207Z] ---> Running in 3115cc7a8ae5 [2022-08-15T03:23:26.482Z] Removing intermediate container 3115cc7a8ae5 [2022-08-15T03:23:26.482Z] ---> 9f8d6cd885a4 [2022-08-15T03:23:26.482Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T03:23:26.482Z] ---> Running in 9b5b3013fba2 [2022-08-15T03:23:28.463Z] Removing intermediate container 9b5b3013fba2 [2022-08-15T03:23:28.463Z] ---> 8ff3dfa54668 [2022-08-15T03:23:28.463Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T03:23:28.463Z] ---> Running in aeb28aee462b [2022-08-15T03:23:29.446Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T03:23:30.041Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T03:23:31.023Z] OK: 221 MiB in 51 packages [2022-08-15T03:23:32.021Z] Removing intermediate container aeb28aee462b [2022-08-15T03:23:32.021Z] ---> 972d3d762846 [2022-08-15T03:23:32.021Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-15T03:23:32.021Z] ---> Running in dbecf9ff0aa2 [2022-08-15T03:23:32.295Z] Removing intermediate container dbecf9ff0aa2 [2022-08-15T03:23:32.295Z] ---> e6b89fa23648 [2022-08-15T03:23:32.295Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-15T03:23:32.896Z] ---> af24fa0492fe [2022-08-15T03:23:32.896Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T03:23:32.896Z] ---> Running in a907f97b896b [2022-08-15T03:24:29.482Z] Removing intermediate container a907f97b896b [2022-08-15T03:24:29.482Z] ---> 633b553cac85 [2022-08-15T03:24:29.482Z] Step 12/13 : COPY . . [2022-08-15T03:24:29.482Z] ---> c03cdf3690dd [2022-08-15T03:24:29.482Z] Step 13/13 : RUN ${MAKE} [2022-08-15T03:24:29.482Z] ---> Running in 0fed2e6b476d [2022-08-15T03:24:29.482Z] noop [2022-08-15T03:24:29.482Z] Removing intermediate container 0fed2e6b476d [2022-08-15T03:24:29.482Z] ---> b51f79469bb8 [2022-08-15T03:24:29.482Z] Successfully built b51f79469bb8 [2022-08-15T03:24:29.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:24:29.974Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T03:24:29.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:24:30.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2022-08-15T03:24:30.382Z] $ 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-08-15T03:24:31.684Z] $ docker top 999f1100fdf11ebecc525b515a3695728e2c7404b4a889410dd4f2bda5625a31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T03:24:32.645Z] + go version [2022-08-15T03:24:32.645Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T03:24:32.680Z] $ docker stop --time=1 999f1100fdf11ebecc525b515a3695728e2c7404b4a889410dd4f2bda5625a31 [2022-08-15T03:24:34.292Z] $ docker rm -f 999f1100fdf11ebecc525b515a3695728e2c7404b4a889410dd4f2bda5625a31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:24:35.227Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T03:24:35.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:24:35.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2022-08-15T03:24:35.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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-08-15T03:24:36.927Z] $ docker top c5e49fdc20096e224a7bbcb8fd29835f18277d55aa4f79c76a3f6e37bb3cef96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T03:24:37.899Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T03:24:38.627Z] + make test [2022-08-15T03:24:38.627Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T03:24:40.073Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-15T03:26:01.924Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-15T03:26:07.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.132s coverage: 10.6% of statements [2022-08-15T03:26:07.366Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-15T03:26:30.118Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.547s coverage: 13.8% of statements [2022-08-15T03:26:30.395Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T03:26:30.395Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T03:26:52.615Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T03:26:52.615Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T03:26:52.615Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-15T03:26:52.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T03:26:52.688Z] $ docker stop --time=1 c5e49fdc20096e224a7bbcb8fd29835f18277d55aa4f79c76a3f6e37bb3cef96 [2022-08-15T03:26:54.474Z] $ docker rm -f c5e49fdc20096e224a7bbcb8fd29835f18277d55aa4f79c76a3f6e37bb3cef96 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T03:26:55.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T03:26:55.571Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T03:26:56.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T03:26:56.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T03:26:57.043Z] + ls -al . [2022-08-15T03:26:57.043Z] total 228 [2022-08-15T03:26:57.043Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 03:24 . [2022-08-15T03:26:57.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:22 .. [2022-08-15T03:26:57.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 03:22 .git [2022-08-15T03:26:57.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:22 .github [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 15 03:22 .gitignore [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 03:22 .golangci.yml [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 15 03:22 Attribution.txt [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 15 03:22 CHANGELOG.md [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 15 03:22 Dockerfile [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 03:22 GOVERNANCE.md [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 15 03:22 Jenkinsfile [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 15 03:22 LICENSE [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 15 03:22 Makefile [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 15 03:22 OWNERS.md [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 15 03:22 README.md [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 03:20 VERSION [2022-08-15T03:26:57.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:22 bin [2022-08-15T03:26:57.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:22 cmd [2022-08-15T03:26:57.043Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 15 03:26 coverage.out [2022-08-15T03:26:57.043Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 03:22 doc [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 15 03:22 go.mod [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 15 03:22 go.sum [2022-08-15T03:26:57.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:22 internal [2022-08-15T03:26:57.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:22 snap [2022-08-15T03:26:57.043Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 15 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:26:57.482Z] + 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=d68c34b3abca15db2534421c9d85fabed4a6d323 --label arch=arm64 --label version=0.0.0 . [2022-08-15T03:26:58.081Z] Sending build context to Docker daemon 14.13MB [2022-08-15T03:26:58.081Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T03:26:58.081Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T03:26:58.081Z] ---> b51f79469bb8 [2022-08-15T03:26:58.081Z] Step 3/26 : ARG MAKE="make build" [2022-08-15T03:26:58.081Z] ---> Running in 510fdc404e76 [2022-08-15T03:26:58.358Z] Removing intermediate container 510fdc404e76 [2022-08-15T03:26:58.358Z] ---> 9a468a426ccf [2022-08-15T03:26:58.358Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T03:26:58.633Z] ---> Running in 30aa7e9342bc [2022-08-15T03:26:58.906Z] Removing intermediate container 30aa7e9342bc [2022-08-15T03:26:58.906Z] ---> 491b62394fbb [2022-08-15T03:26:58.906Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T03:26:58.906Z] ---> Running in 6438aac0afbf [2022-08-15T03:26:59.182Z] Removing intermediate container 6438aac0afbf [2022-08-15T03:26:59.182Z] ---> bf4704572de1 [2022-08-15T03:26:59.182Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-15T03:26:59.182Z] ---> Running in b6724effa9af [2022-08-15T03:26:59.476Z] Removing intermediate container b6724effa9af [2022-08-15T03:26:59.477Z] ---> 5819dc7a7262 [2022-08-15T03:26:59.477Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T03:26:59.762Z] ---> Running in 08a4fbc39cb8 [2022-08-15T03:27:01.206Z] Removing intermediate container 08a4fbc39cb8 [2022-08-15T03:27:01.206Z] ---> d8ad3dc8277f [2022-08-15T03:27:01.206Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T03:27:01.486Z] ---> Running in 9eae034c5b60 [2022-08-15T03:27:02.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T03:27:03.453Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T03:27:04.437Z] OK: 221 MiB in 51 packages [2022-08-15T03:27:05.041Z] Removing intermediate container 9eae034c5b60 [2022-08-15T03:27:05.041Z] ---> 31024bc9c1d1 [2022-08-15T03:27:05.041Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-15T03:27:05.041Z] ---> Running in 7d9a604833a0 [2022-08-15T03:27:05.318Z] Removing intermediate container 7d9a604833a0 [2022-08-15T03:27:05.318Z] ---> 4051830e4d03 [2022-08-15T03:27:05.318Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-15T03:27:05.916Z] ---> 86e43f0b5a1a [2022-08-15T03:27:05.916Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T03:27:06.191Z] ---> Running in 4a3c20c27d3a [2022-08-15T03:27:08.193Z] Removing intermediate container 4a3c20c27d3a [2022-08-15T03:27:08.193Z] ---> 915b19a83466 [2022-08-15T03:27:08.193Z] Step 12/26 : COPY . . [2022-08-15T03:27:09.632Z] ---> 4b03500197de [2022-08-15T03:27:09.632Z] Step 13/26 : RUN ${MAKE} [2022-08-15T03:27:09.632Z] ---> Running in 57bab88221f5 [2022-08-15T03:27:10.619Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-15T03:29:17.530Z] Removing intermediate container 57bab88221f5 [2022-08-15T03:29:17.530Z] ---> 0e31b9249f20 [2022-08-15T03:29:17.530Z] Step 14/26 : FROM alpine:3.16 [2022-08-15T03:29:18.129Z] 3.16: Pulling from library/alpine [2022-08-15T03:29:18.402Z] 9b18e9b68314: Pulling fs layer [2022-08-15T03:29:18.402Z] 9b18e9b68314: Download complete [2022-08-15T03:29:19.002Z] 9b18e9b68314: Pull complete [2022-08-15T03:29:19.002Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T03:29:19.002Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T03:29:19.002Z] ---> a6215f271958 [2022-08-15T03:29:19.002Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-15T03:29:19.279Z] ---> Running in f39283277891 [2022-08-15T03:29:19.554Z] Removing intermediate container f39283277891 [2022-08-15T03:29:19.554Z] ---> 739999ae975d [2022-08-15T03:29:19.554Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T03:29:19.554Z] ---> Running in 7c80b5d61b47 [2022-08-15T03:29:20.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T03:29:20.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T03:29:21.801Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T03:29:21.801Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T03:29:21.801Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T03:29:21.801Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T03:29:21.801Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T03:29:21.801Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T03:29:21.801Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T03:29:21.801Z] OK: 8 MiB in 20 packages [2022-08-15T03:29:22.788Z] Removing intermediate container 7c80b5d61b47 [2022-08-15T03:29:22.788Z] ---> f92478246e4a [2022-08-15T03:29:22.788Z] Step 17/26 : WORKDIR / [2022-08-15T03:29:22.788Z] ---> Running in bb71ba03b20b [2022-08-15T03:29:23.061Z] Removing intermediate container bb71ba03b20b [2022-08-15T03:29:23.061Z] ---> c01dab6c152e [2022-08-15T03:29:23.061Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-15T03:29:24.499Z] ---> c25238557fee [2022-08-15T03:29:24.499Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-15T03:29:25.100Z] ---> f104f8e4a363 [2022-08-15T03:29:25.100Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-15T03:29:25.697Z] ---> 7eac519a0563 [2022-08-15T03:29:25.697Z] Step 21/26 : EXPOSE 59984 [2022-08-15T03:29:25.697Z] ---> Running in 1dc13d0b768d [2022-08-15T03:29:25.974Z] Removing intermediate container 1dc13d0b768d [2022-08-15T03:29:25.974Z] ---> d28fee4536f9 [2022-08-15T03:29:25.974Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-15T03:29:26.248Z] ---> Running in 28b8bfb7fe70 [2022-08-15T03:29:26.525Z] Removing intermediate container 28b8bfb7fe70 [2022-08-15T03:29:26.525Z] ---> 998a55748d14 [2022-08-15T03:29:26.525Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T03:29:26.525Z] ---> Running in 309455ffc7f2 [2022-08-15T03:29:26.801Z] Removing intermediate container 309455ffc7f2 [2022-08-15T03:29:26.801Z] ---> 099b207d234b [2022-08-15T03:29:26.801Z] Step 24/26 : LABEL arch=arm64 [2022-08-15T03:29:26.801Z] ---> Running in 9bd289f9fc35 [2022-08-15T03:29:27.077Z] Removing intermediate container 9bd289f9fc35 [2022-08-15T03:29:27.077Z] ---> 4eab94c7249d [2022-08-15T03:29:27.077Z] Step 25/26 : LABEL git_sha=d68c34b3abca15db2534421c9d85fabed4a6d323 [2022-08-15T03:29:27.351Z] ---> Running in b55bb17cb820 [2022-08-15T03:29:27.627Z] Removing intermediate container b55bb17cb820 [2022-08-15T03:29:27.627Z] ---> 78affab944f1 [2022-08-15T03:29:27.627Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T03:29:27.627Z] ---> Running in 9f7b5d709465 [2022-08-15T03:29:27.901Z] Removing intermediate container 9f7b5d709465 [2022-08-15T03:29:27.901Z] ---> 4bfd22269939 [2022-08-15T03:29:27.901Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T03:29:27.901Z] Successfully built 4bfd22269939 [2022-08-15T03:29:27.901Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:29:28.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T03:29:28.735Z] [2022-08-15T03:29:28.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:29:29.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T03:29:29.426Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T03:29:29.426Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T03:29:29.426Z] 04944245beec: Pulling fs layer [2022-08-15T03:29:29.426Z] 699f458cf7ca: Pulling fs layer [2022-08-15T03:29:29.426Z] 765212b225bb: Pulling fs layer [2022-08-15T03:29:29.426Z] f23df028b6ca: Pulling fs layer [2022-08-15T03:29:29.426Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T03:29:29.426Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T03:29:29.426Z] 765212b225bb: Waiting [2022-08-15T03:29:29.426Z] f23df028b6ca: Waiting [2022-08-15T03:29:29.426Z] d65c8cfc05b1: Waiting [2022-08-15T03:29:29.426Z] 2437ff75d9bd: Waiting [2022-08-15T03:29:29.426Z] 04944245beec: Verifying Checksum [2022-08-15T03:29:29.426Z] 04944245beec: Download complete [2022-08-15T03:29:29.426Z] 765212b225bb: Verifying Checksum [2022-08-15T03:29:29.426Z] 765212b225bb: Download complete [2022-08-15T03:29:29.426Z] f23df028b6ca: Verifying Checksum [2022-08-15T03:29:29.426Z] f23df028b6ca: Download complete [2022-08-15T03:29:29.426Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T03:29:29.426Z] d65c8cfc05b1: Download complete [2022-08-15T03:29:29.707Z] 699f458cf7ca: Verifying Checksum [2022-08-15T03:29:29.707Z] 699f458cf7ca: Download complete [2022-08-15T03:29:29.983Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T03:29:29.983Z] 8998bd30e6a1: Download complete [2022-08-15T03:29:31.964Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T03:29:31.964Z] 2437ff75d9bd: Download complete [2022-08-15T03:29:34.607Z] 8998bd30e6a1: Pull complete [2022-08-15T03:29:34.884Z] 04944245beec: Pull complete [2022-08-15T03:29:36.338Z] 699f458cf7ca: Pull complete [2022-08-15T03:29:36.613Z] 765212b225bb: Pull complete [2022-08-15T03:29:37.212Z] f23df028b6ca: Pull complete [2022-08-15T03:29:37.489Z] d65c8cfc05b1: Pull complete [2022-08-15T03:29:52.595Z] 2437ff75d9bd: Pull complete [2022-08-15T03:29:52.595Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T03:29:52.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T03:29:52.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:29:52.982Z] prd-ubuntu20.04-docker-arm64-4c-16g-22767 does not seem to be running inside a container [2022-08-15T03:29:53.071Z] $ 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-08-15T03:29:55.620Z] $ docker top 72ec5332aa39d030af1fcd1f705b8a9a6e7a5d0e3f8790123eca51e93299d077 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:29:56.639Z] ---> job-cost.sh [2022-08-15T03:29:56.639Z] lf-activate-venv: SKIPPING [2022-08-15T03:29:56.639Z] INFO: No Stack... [2022-08-15T03:29:57.234Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T03:29:58.213Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T03:29:58.891Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, -f6 [2022-08-15T03:29:58.891Z] [Pipeline] lock [2022-08-15T03:29:58.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [2022-08-15T03:29:58.948Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] did not exist. Created. [2022-08-15T03:29:58.948Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T03:29:59.737Z] /w/workspace/device-onvif-camera/1@tmp/durable-471e900d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T03:30:00.471Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T03:30:00.509Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T03:30:00.600Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T03:30:00.619Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T03:30:00.698Z] $ docker stop --time=1 72ec5332aa39d030af1fcd1f705b8a9a6e7a5d0e3f8790123eca51e93299d077 [2022-08-15T03:30:02.176Z] $ docker rm -f 72ec5332aa39d030af1fcd1f705b8a9a6e7a5d0e3f8790123eca51e93299d077 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-15T03:30:03.187Z] provisioning config files... [2022-08-15T03:30:03.196Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-133@tmp/config2172255159133826171tmp [Pipeline] { [Pipeline] sh [2022-08-15T03:30:03.536Z] + set +x [2022-08-15T03:30:03.537Z] + curl -s https://codecov.io/bash [2022-08-15T03:30:03.537Z] + bash -s -- [2022-08-15T03:30:03.537Z] [2022-08-15T03:30:03.537Z] _____ _ [2022-08-15T03:30:03.537Z] / ____| | | [2022-08-15T03:30:03.537Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T03:30:03.537Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T03:30:03.537Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T03:30:03.537Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T03:30:03.537Z] Bash-1.0.6 [2022-08-15T03:30:03.537Z] [2022-08-15T03:30:03.537Z] [2022-08-15T03:30:03.537Z] ==> git version 2.25.1 found [2022-08-15T03:30:03.537Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-15T03:30:03.537Z] Release-Date: 2020-01-08 [2022-08-15T03:30:03.537Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-15T03:30:03.537Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T03:30:03.537Z] ==> Jenkins CI detected. [2022-08-15T03:30:03.537Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-133 [2022-08-15T03:30:03.537Z] project root: . [2022-08-15T03:30:03.537Z] --> token set from env [2022-08-15T03:30:03.537Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T03:30:03.537Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T03:30:03.537Z] ==> Python coveragepy not found [2022-08-15T03:30:03.537Z] ==> Searching for coverage reports in: [2022-08-15T03:30:03.537Z] + . [2022-08-15T03:30:03.799Z] -> Found 1 reports [2022-08-15T03:30:03.799Z] ==> Detecting git/mercurial file structure [2022-08-15T03:30:03.799Z] ==> Reading reports [2022-08-15T03:30:03.799Z] + ./coverage.out bytes=76856 [2022-08-15T03:30:03.799Z] ==> Appending adjustments [2022-08-15T03:30:03.799Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T03:30:03.799Z] + Found adjustments [2022-08-15T03:30:03.799Z] ==> Gzipping contents [2022-08-15T03:30:03.799Z] 12K /tmp/codecov.15Te8l.gz [2022-08-15T03:30:03.799Z] ==> Uploading reports [2022-08-15T03:30:03.799Z] url: https://codecov.io [2022-08-15T03:30:03.799Z] query: branch=PR-133&commit=d68c34b3abca15db2534421c9d85fabed4a6d323&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=133&job=&cmd_args= [2022-08-15T03:30:03.799Z] -> Pinging Codecov [2022-08-15T03:30:03.799Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-133&commit=d68c34b3abca15db2534421c9d85fabed4a6d323&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-133%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=133&job=&cmd_args= [2022-08-15T03:30:04.370Z] -> Uploading to [2022-08-15T03:30:04.370Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/F29A59C45E3A92E06B3E522C9905F8EF/d68c34b3abca15db2534421c9d85fabed4a6d323/1cf1b0f7-49f4-434c-908e-08172cc18048.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T033004Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c72d405a19086ad16b10e6e9ad0896318d04e1902ce6236d1a2a48669630bf75 [2022-08-15T03:30:04.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T03:30:04.370Z] Dload Upload Total Spent Left Speed [2022-08-15T03:30:04.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10397 0 0 100 10397 0 47259 --:--:-- --:--:-- --:--:-- 47045 100 10397 0 0 100 10397 0 39382 --:--:-- --:--:-- --:--:-- 39233 [2022-08-15T03:30:04.631Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d68c34b3abca15db2534421c9d85fabed4a6d323 [Pipeline] } [2022-08-15T03:30:04.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-15T03:30:06.487Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-133/archives ] [2022-08-15T03:30:06.487Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-133/archives [2022-08-15T03:30:06.487Z] total 16 [2022-08-15T03:30:06.487Z] drwxr-xr-x 3 root root 4096 Aug 15 03:22 . [2022-08-15T03:30:06.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 03:22 .. [2022-08-15T03:30:06.487Z] drwxr-xr-x 2 root root 4096 Aug 15 03:22 cost [2022-08-15T03:30:06.487Z] -rw-r--r-- 1 root root 91 Aug 15 03:22 cost.csv [2022-08-15T03:30:06.487Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-133/archives [2022-08-15T03:30:06.487Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-133/archives [2022-08-15T03:30:06.487Z] total 16 [2022-08-15T03:30:06.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 03:22 . [2022-08-15T03:30:06.487Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 03:22 .. [2022-08-15T03:30:06.487Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 03:22 cost [2022-08-15T03:30:06.487Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 15 03:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:06.826Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:07.725Z] ---> package-listing.sh [2022-08-15T03:30:07.725Z] ++ facter osfamily [2022-08-15T03:30:07.725Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T03:30:07.985Z] + OS_FAMILY=debian [2022-08-15T03:30:07.985Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-133 [2022-08-15T03:30:07.985Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T03:30:07.985Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T03:30:07.985Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T03:30:07.985Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T03:30:07.985Z] + '[' /w/workspace/undry_device-onvif-camera_PR-133 ']' [2022-08-15T03:30:07.985Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T03:30:07.985Z] + case "${OS_FAMILY}" in [2022-08-15T03:30:07.985Z] + dpkg -l [2022-08-15T03:30:07.985Z] + grep '^ii' [2022-08-15T03:30:07.985Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T03:30:07.985Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T03:30:07.985Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T03:30:07.985Z] + '[' /w/workspace/undry_device-onvif-camera_PR-133 ']' [2022-08-15T03:30:07.985Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-133/archives/ [2022-08-15T03:30:07.985Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-133/archives/ [Pipeline] echo [2022-08-15T03:30:08.016Z] 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-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T03:30:08.307Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T03:30:08.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T03:30:08.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T03:30:09.101Z] prd-ubuntu20.04-docker-8c-8g-22766 does not seem to be running inside a container [2022-08-15T03:30:09.136Z] $ 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-133/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-133 -v /w/workspace/undry_device-onvif-camera_PR-133:/w/workspace/undry_device-onvif-camera_PR-133:rw,z -v /w/workspace/undry_device-onvif-camera_PR-133@tmp:/w/workspace/undry_device-onvif-camera_PR-133@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-08-15T03:30:09.329Z] $ docker top 6c442909475935778442697bfed6c90475dee0f4ed8d3ebe23f5e0cda1c49bef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T03:30:09.738Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T03:30:10.048Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T03:30:10.366Z] + ls /var/log/sa-host [2022-08-15T03:30:10.366Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T03:30:10.572Z] provisioning config files... [2022-08-15T03:30:10.581Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-133@tmp/config5826578297173123898tmp [Pipeline] { [Pipeline] echo [2022-08-15T03:30:10.632Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:10.943Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T03:30:10.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:11.375Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T03:30:11.409Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:11.722Z] ---> sudo-logs.sh [2022-08-15T03:30:11.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T03:30:11.806Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:12.121Z] ---> job-cost.sh [2022-08-15T03:30:12.121Z] lf-activate-venv: SKIPPING [2022-08-15T03:30:12.121Z] DEBUG: total: 0.2199999988079071 [2022-08-15T03:30:12.121Z] INFO: Retrieving Stack Cost... [2022-08-15T03:30:12.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T03:30:12.949Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T03:30:12.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T03:30:13.302Z] ---> logs-deploy.sh [2022-08-15T03:30:13.302Z] lf-activate-venv: SKIPPING [2022-08-15T03:30:13.302Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-133/1 [2022-08-15T03:30:13.302Z] INFO: archiving workspace using pattern(s): [2022-08-15T03:30:14.243Z] Archives upload complete. [2022-08-15T03:30:14.243Z] INFO: archiving logs to Nexus