Pull request #110 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 58a46bebf81eee9640e76b602e43d09af82d89e1 rather than 9841299ce95b8434cbe8d08236472f666f1c5798 Obtained Jenkinsfile from 58a46bebf81eee9640e76b602e43d09af82d89e1 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-ssh8177232292662602590.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-ssh16766904642219742902.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-110/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-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17937185389809735211.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-110/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12880351777320092519.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-ssh9237567924302910470.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-110/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-110/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5298517796973171483.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20231 in /w/workspace/undry_device-onvif-camera_PR-110 [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-110 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 9841299ce95b8434cbe8d08236472f666f1c5798 Merge succeeded, producing 9841299ce95b8434cbe8d08236472f666f1c5798 Checking out Revision 9841299ce95b8434cbe8d08236472f666f1c5798 (PR-110) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9841299ce95b8434cbe8d08236472f666f1c5798 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9841299ce95b8434cbe8d08236472f666f1c5798 # timeout=10 Commit message: "docs: reset auto-discovery docs" 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-07-15T20:55:40.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-15T20:55:40.343Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-15T20:55:40.438Z] ========================================================= [2022-07-15T20:55:40.438Z] EdgeX Global Pipelines Version Info [2022-07-15T20:55:40.438Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-15T20:55:41.202Z] ------------------- [2022-07-15T20:55:41.202Z] stable info: [2022-07-15T20:55:41.202Z] ------------------- [2022-07-15T20:55:41.202Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T20:55:41.202Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T20:55:41.202Z] Message: update stable to v1.0.238 [2022-07-15T20:55:41.774Z] ------------------- [2022-07-15T20:55:41.774Z] experimental info: [2022-07-15T20:55:41.774Z] ------------------- [2022-07-15T20:55:41.774Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T20:55:41.774Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T20:55:41.774Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-15T20:55:42.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-15T20:55:42.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-15T20:55:42.232Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-15T20:55:42.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-15T20:55:42.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-15T20:55:42.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-15T20:55:42.380Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-15T20:55:42.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-15T20:55:42.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-15T20:55:42.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-15T20:55:42.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-15T20:55:42.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-15T20:55:42.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-15T20:55:42.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-15T20:55:42.694Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T20:55:42.731Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T20:55:42.775Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T20:55:42.813Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T20:55:42.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-15T20:55:42.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-15T20:55:42.945Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-15T20:55:42.985Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-15T20:55:43.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-15T20:55:43.055Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-15T20:55:43.093Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-15T20:55:43.130Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-15T20:55:43.169Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-15T20:55:43.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-110 [Pipeline] echo [2022-07-15T20:55:43.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-110 [Pipeline] echo [2022-07-15T20:55:43.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-110 [Pipeline] echo [2022-07-15T20:55:43.328Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9841299ce95b8434cbe8d08236472f666f1c5798 [Pipeline] echo [2022-07-15T20:55:43.371Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9841299 [Pipeline] echo [2022-07-15T20:55:43.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T20:55:43.535Z] provisioning config files... [2022-07-15T20:55:43.548Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config5868729079914168775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T20:55:43.901Z] ---> docker-login.sh [2022-07-15T20:55:43.901Z] nexus3.edgexfoundry.org:10001 [2022-07-15T20:55:44.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:55:44.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:55:44.428Z] Configure a credential helper to remove this warning. See [2022-07-15T20:55:44.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:55:44.428Z] [2022-07-15T20:55:44.428Z] Login Succeeded [2022-07-15T20:55:44.428Z] nexus3.edgexfoundry.org:10002 [2022-07-15T20:55:44.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:55:44.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:55:44.428Z] Configure a credential helper to remove this warning. See [2022-07-15T20:55:44.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:55:44.428Z] [2022-07-15T20:55:44.428Z] Login Succeeded [2022-07-15T20:55:44.428Z] nexus3.edgexfoundry.org:10003 [2022-07-15T20:55:44.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:55:44.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:55:44.689Z] Configure a credential helper to remove this warning. See [2022-07-15T20:55:44.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:55:44.689Z] [2022-07-15T20:55:44.689Z] Login Succeeded [2022-07-15T20:55:44.689Z] nexus3.edgexfoundry.org:10004 [2022-07-15T20:55:44.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:55:44.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:55:44.689Z] Configure a credential helper to remove this warning. See [2022-07-15T20:55:44.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:55:44.689Z] [2022-07-15T20:55:44.689Z] Login Succeeded [2022-07-15T20:55:44.689Z] docker.io [2022-07-15T20:55:44.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:55:45.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:55:45.261Z] Configure a credential helper to remove this warning. See [2022-07-15T20:55:45.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:55:45.261Z] [2022-07-15T20:55:45.261Z] Login Succeeded [2022-07-15T20:55:45.261Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T20:55:45.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-15T20:55:45.927Z] + git rev-list -1 --merges 9841299ce95b8434cbe8d08236472f666f1c5798~1..9841299ce95b8434cbe8d08236472f666f1c5798 [Pipeline] echo [2022-07-15T20:55:45.973Z] -----------> git rev-list -1 --merges 9841299ce95b8434cbe8d08236472f666f1c5798~1..9841299ce95b8434cbe8d08236472f666f1c5798 9841299ce95b8434cbe8d08236472f666f1c5798 [false] [Pipeline] sh [2022-07-15T20:55:46.279Z] + git log --format=format:%s -1 9841299ce95b8434cbe8d08236472f666f1c5798 [Pipeline] echo [2022-07-15T20:55:46.307Z] ========================================================= [2022-07-15T20:55:46.307Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-15T20:55:46.307Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T20:55:46.737Z] + git log --format=format:%s -1 9841299ce95b8434cbe8d08236472f666f1c5798 [Pipeline] echo [2022-07-15T20:55:46.772Z] [semverPrep] GIT_COMMIT: 9841299ce95b8434cbe8d08236472f666f1c5798, Commit Message: docs: reset auto-discovery docs [Pipeline] echo [2022-07-15T20:55:46.802Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-15T20:55:47.198Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-15T20:55:47.198Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-15T20:55:47.198Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-15T20:55:47.198Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-15T20:55:47.198Z] + sudo+ tee -a /etc/ssh/ssh_known_hosts [2022-07-15T20:55:47.198Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-15T20:55:47.198Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:55:47.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T20:55:47.685Z] [2022-07-15T20:55:47.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:55:48.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T20:55:48.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-15T20:55:48.069Z] b85a868b505f: Pulling fs layer [2022-07-15T20:55:48.069Z] e2be974225ed: Pulling fs layer [2022-07-15T20:55:48.069Z] 339a4e72a1f5: Pulling fs layer [2022-07-15T20:55:48.069Z] 988bab9f4d93: Pulling fs layer [2022-07-15T20:55:48.069Z] 1469e6f7b9e6: Pulling fs layer [2022-07-15T20:55:48.069Z] eaf3925da568: Pulling fs layer [2022-07-15T20:55:48.069Z] bab4dde63d76: Pulling fs layer [2022-07-15T20:55:48.069Z] bde34c3a00c8: Pulling fs layer [2022-07-15T20:55:48.069Z] b352a97aabf1: Pulling fs layer [2022-07-15T20:55:48.069Z] 4872d77fe225: Pulling fs layer [2022-07-15T20:55:48.069Z] 5851b861e8e6: Pulling fs layer [2022-07-15T20:55:48.069Z] 1469e6f7b9e6: Waiting [2022-07-15T20:55:48.069Z] eaf3925da568: Waiting [2022-07-15T20:55:48.069Z] bab4dde63d76: Waiting [2022-07-15T20:55:48.069Z] bde34c3a00c8: Waiting [2022-07-15T20:55:48.069Z] b352a97aabf1: Waiting [2022-07-15T20:55:48.069Z] 4872d77fe225: Waiting [2022-07-15T20:55:48.069Z] 988bab9f4d93: Waiting [2022-07-15T20:55:48.069Z] 5851b861e8e6: Waiting [2022-07-15T20:55:48.069Z] e2be974225ed: Verifying Checksum [2022-07-15T20:55:48.069Z] e2be974225ed: Download complete [2022-07-15T20:55:48.069Z] 988bab9f4d93: Download complete [2022-07-15T20:55:48.328Z] 339a4e72a1f5: Verifying Checksum [2022-07-15T20:55:48.328Z] 339a4e72a1f5: Download complete [2022-07-15T20:55:48.328Z] 1469e6f7b9e6: Verifying Checksum [2022-07-15T20:55:48.328Z] 1469e6f7b9e6: Download complete [2022-07-15T20:55:48.328Z] eaf3925da568: Verifying Checksum [2022-07-15T20:55:48.328Z] eaf3925da568: Download complete [2022-07-15T20:55:48.328Z] b352a97aabf1: Verifying Checksum [2022-07-15T20:55:48.328Z] b352a97aabf1: Download complete [2022-07-15T20:55:48.328Z] 4872d77fe225: Verifying Checksum [2022-07-15T20:55:48.328Z] 4872d77fe225: Download complete [2022-07-15T20:55:48.328Z] 5851b861e8e6: Verifying Checksum [2022-07-15T20:55:48.328Z] 5851b861e8e6: Download complete [2022-07-15T20:55:48.328Z] b85a868b505f: Verifying Checksum [2022-07-15T20:55:48.328Z] b85a868b505f: Download complete [2022-07-15T20:55:48.588Z] bab4dde63d76: Verifying Checksum [2022-07-15T20:55:48.588Z] bab4dde63d76: Download complete [2022-07-15T20:55:49.529Z] b85a868b505f: Pull complete [2022-07-15T20:55:49.789Z] e2be974225ed: Pull complete [2022-07-15T20:55:50.051Z] 339a4e72a1f5: Pull complete [2022-07-15T20:55:50.312Z] 988bab9f4d93: Pull complete [2022-07-15T20:55:50.572Z] 1469e6f7b9e6: Pull complete [2022-07-15T20:55:50.572Z] eaf3925da568: Pull complete [2022-07-15T20:55:52.481Z] bab4dde63d76: Pull complete [2022-07-15T20:55:52.481Z] bde34c3a00c8: Pull complete [2022-07-15T20:55:52.481Z] b352a97aabf1: Pull complete [2022-07-15T20:55:52.481Z] 4872d77fe225: Pull complete [2022-07-15T20:55:52.481Z] 5851b861e8e6: Pull complete [2022-07-15T20:55:52.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-15T20:55:52.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T20:55:52.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:55:52.706Z] prd-ubuntu20.04-docker-8c-8g-20231 does not seem to be running inside a container [2022-07-15T20:55:52.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-15T20:55:53.835Z] $ docker top 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 -eo pid,comm [2022-07-15T20:55:53.893Z] 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-07-15T20:55:53.893Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-15T20:55:54.015Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T20:55:54.015Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T20:55:54.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T20:55:54.151Z] $ docker exec 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 ssh-agent [2022-07-15T20:55:54.258Z] SSH_AUTH_SOCK=/tmp/ssh-TgEcYrXKdVcL/agent.34 [2022-07-15T20:55:54.258Z] SSH_AGENT_PID=41 [2022-07-15T20:55:54.264Z] Running ssh-add (command line suppressed) [2022-07-15T20:55:54.372Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_7382955222309036633.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_7382955222309036633.key) [2022-07-15T20:55:54.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T20:55:54.712Z] + git tag --points-at HEAD [Pipeline] } [2022-07-15T20:55:54.745Z] $ docker exec --env ******** --env ******** 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 ssh-agent -k [2022-07-15T20:55:54.844Z] unset SSH_AUTH_SOCK; [2022-07-15T20:55:54.845Z] unset SSH_AGENT_PID; [2022-07-15T20:55:54.845Z] echo Agent pid 41 killed; [2022-07-15T20:55:54.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-15T20:55:54.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T20:55:54.945Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T20:55:55.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T20:55:55.072Z] $ docker exec 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 ssh-agent [2022-07-15T20:55:55.171Z] SSH_AUTH_SOCK=/tmp/ssh-FRbxZ81QR0ZD/agent.74 [2022-07-15T20:55:55.171Z] SSH_AGENT_PID=80 [2022-07-15T20:55:55.177Z] Running ssh-add (command line suppressed) [2022-07-15T20:55:55.288Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_67007187166224140.key (/w/workspace/undry_device-onvif-camera_PR-110@tmp/private_key_67007187166224140.key) [2022-07-15T20:55:55.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T20:55:55.634Z] + git semver init [2022-07-15T20:55:55.894Z] 2022-07-15 20:55:55,811 [run_init] DEBUG init version:0.0.0 force:False [2022-07-15T20:55:55.894Z] 2022-07-15 20:55:55,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-15T20:55:55.894Z] 2022-07-15 20:55:55,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-110/.semver [2022-07-15T20:55:55.894Z] 2022-07-15 20:55:55,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-110/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-110, universal_newlines=False, shell=None, istream=None) [2022-07-15T20:55:56.465Z] 2022-07-15 20:55:56,459 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-110/.git/info/exclude [2022-07-15T20:55:56.465Z] 2022-07-15 20:55:56,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 with force:False [2022-07-15T20:55:56.465Z] 2022-07-15 20:55:56,459 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-15T20:55:56.465Z] 2022-07-15 20:55:56,463 [execute] INFO git cat-file --batch-check [2022-07-15T20:55:56.465Z] 2022-07-15 20:55:56,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-110/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T20:55:56.726Z] 2022-07-15 20:55:56,471 [execute] INFO git cat-file --batch [2022-07-15T20:55:56.726Z] 2022-07-15 20:55:56,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-110/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T20:55:56.726Z] 2022-07-15 20:55:56,477 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-110/.semver/PR-110 [2022-07-15T20:55:56.726Z] 0.0.0 [Pipeline] } [2022-07-15T20:55:56.756Z] $ docker exec --env ******** --env ******** 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 ssh-agent -k [2022-07-15T20:55:56.854Z] unset SSH_AUTH_SOCK; [2022-07-15T20:55:56.854Z] unset SSH_AGENT_PID; [2022-07-15T20:55:56.854Z] echo Agent pid 80 killed; [2022-07-15T20:55:56.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-15T20:55:57.277Z] + git semver [Pipeline] } [2022-07-15T20:55:57.568Z] $ docker stop --time=1 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 [2022-07-15T20:55:58.898Z] $ docker rm -f 26a0150602c33c1fdbed6546f95ce38c9f38214eb47fd0d141d1bc6ce4adb021 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T20:55:59.316Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-15T20:55:59.623Z] Stashed 1 file(s) [Pipeline] echo [2022-07-15T20:55:59.639Z] [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-07-15T20:56:00.186Z] provisioning config files... [2022-07-15T20:56:00.197Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config8765238459723751583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T20:56:00.542Z] ---> docker-login.sh [2022-07-15T20:56:00.542Z] nexus3.edgexfoundry.org:10001 [2022-07-15T20:56:00.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:56:00.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:56:00.542Z] Configure a credential helper to remove this warning. See [2022-07-15T20:56:00.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:56:00.542Z] [2022-07-15T20:56:00.542Z] Login Succeeded [2022-07-15T20:56:00.542Z] nexus3.edgexfoundry.org:10002 [2022-07-15T20:56:00.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:56:00.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:56:00.802Z] Configure a credential helper to remove this warning. See [2022-07-15T20:56:00.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:56:00.802Z] [2022-07-15T20:56:00.802Z] Login Succeeded [2022-07-15T20:56:00.802Z] nexus3.edgexfoundry.org:10003 [2022-07-15T20:56:00.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:56:00.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:56:00.802Z] Configure a credential helper to remove this warning. See [2022-07-15T20:56:00.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:56:00.802Z] [2022-07-15T20:56:00.802Z] Login Succeeded [2022-07-15T20:56:00.802Z] nexus3.edgexfoundry.org:10004 [2022-07-15T20:56:00.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:56:01.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:56:01.063Z] Configure a credential helper to remove this warning. See [2022-07-15T20:56:01.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:56:01.063Z] [2022-07-15T20:56:01.063Z] Login Succeeded [2022-07-15T20:56:01.063Z] docker.io [2022-07-15T20:56:01.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:56:01.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:56:01.324Z] Configure a credential helper to remove this warning. See [2022-07-15T20:56:01.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:56:01.324Z] [2022-07-15T20:56:01.324Z] Login Succeeded [2022-07-15T20:56:01.324Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T20:56:01.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T20:56:01.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T20:56:01.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T20:56:01.630Z] ========================================================= [2022-07-15T20:56:01.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-15T20:56:01.630Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:56:02.103Z] + 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-07-15T20:56:02.104Z] Sending build context to Docker daemon 15.97MB [2022-07-15T20:56:02.104Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T20:56:02.104Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T20:56:02.104Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-15T20:56:02.104Z] 2408cc74d12b: Pulling fs layer [2022-07-15T20:56:02.104Z] ea60b727a1ce: Pulling fs layer [2022-07-15T20:56:02.104Z] 30c4a7721957: Pulling fs layer [2022-07-15T20:56:02.104Z] 370296b7ddb6: Pulling fs layer [2022-07-15T20:56:02.104Z] 7c6cee850709: Pulling fs layer [2022-07-15T20:56:02.104Z] 39a5fcdaea64: Pulling fs layer [2022-07-15T20:56:02.104Z] d94ebbe4e438: Pulling fs layer [2022-07-15T20:56:02.104Z] bcfd1f05c69d: Pulling fs layer [2022-07-15T20:56:02.104Z] 59ccb84bbe0f: Pulling fs layer [2022-07-15T20:56:02.104Z] 370296b7ddb6: Waiting [2022-07-15T20:56:02.104Z] 7c6cee850709: Waiting [2022-07-15T20:56:02.104Z] 39a5fcdaea64: Waiting [2022-07-15T20:56:02.104Z] d94ebbe4e438: Waiting [2022-07-15T20:56:02.104Z] bcfd1f05c69d: Waiting [2022-07-15T20:56:02.104Z] 59ccb84bbe0f: Waiting [2022-07-15T20:56:02.104Z] 30c4a7721957: Verifying Checksum [2022-07-15T20:56:02.104Z] 30c4a7721957: Download complete [2022-07-15T20:56:02.104Z] ea60b727a1ce: Verifying Checksum [2022-07-15T20:56:02.104Z] ea60b727a1ce: Download complete [2022-07-15T20:56:02.366Z] 7c6cee850709: Verifying Checksum [2022-07-15T20:56:02.366Z] 7c6cee850709: Download complete [2022-07-15T20:56:02.366Z] 39a5fcdaea64: Verifying Checksum [2022-07-15T20:56:02.366Z] 2408cc74d12b: Download complete [2022-07-15T20:56:02.366Z] 39a5fcdaea64: Download complete [2022-07-15T20:56:02.366Z] d94ebbe4e438: Verifying Checksum [2022-07-15T20:56:02.366Z] d94ebbe4e438: Download complete [2022-07-15T20:56:02.366Z] 2408cc74d12b: Pull complete [2022-07-15T20:56:02.639Z] ea60b727a1ce: Pull complete [2022-07-15T20:56:02.639Z] 30c4a7721957: Pull complete [2022-07-15T20:56:03.228Z] 59ccb84bbe0f: Verifying Checksum [2022-07-15T20:56:03.228Z] 59ccb84bbe0f: Download complete [2022-07-15T20:56:03.228Z] 370296b7ddb6: Verifying Checksum [2022-07-15T20:56:03.228Z] 370296b7ddb6: Download complete [2022-07-15T20:56:03.228Z] bcfd1f05c69d: Verifying Checksum [2022-07-15T20:56:03.228Z] bcfd1f05c69d: Download complete [2022-07-15T20:56:06.519Z] 370296b7ddb6: Pull complete [2022-07-15T20:56:06.519Z] 7c6cee850709: Pull complete [2022-07-15T20:56:06.519Z] 39a5fcdaea64: Pull complete [2022-07-15T20:56:06.777Z] d94ebbe4e438: Pull complete [2022-07-15T20:56:08.687Z] bcfd1f05c69d: Pull complete [2022-07-15T20:56:09.256Z] 59ccb84bbe0f: Pull complete [2022-07-15T20:56:09.256Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-15T20:56:09.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-15T20:56:09.256Z] ---> a4fb48ad2a94 [2022-07-15T20:56:09.256Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T20:56:10.639Z] ---> Running in 8a7464f1d703 [2022-07-15T20:56:10.639Z] Removing intermediate container 8a7464f1d703 [2022-07-15T20:56:10.639Z] ---> b6efa18ed06c [2022-07-15T20:56:10.639Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T20:56:10.639Z] ---> Running in c79444562d49 [2022-07-15T20:56:10.639Z] Removing intermediate container c79444562d49 [2022-07-15T20:56:10.639Z] ---> 885e5702b2a2 [2022-07-15T20:56:10.639Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T20:56:10.639Z] ---> Running in 8e3685c31224 [2022-07-15T20:56:10.899Z] Removing intermediate container 8e3685c31224 [2022-07-15T20:56:10.899Z] ---> 37c55e02e433 [2022-07-15T20:56:10.899Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T20:56:10.899Z] ---> Running in 2975afafdf24 [2022-07-15T20:56:10.899Z] Removing intermediate container 2975afafdf24 [2022-07-15T20:56:10.899Z] ---> f07d84c1c918 [2022-07-15T20:56:10.899Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T20:56:10.899Z] ---> Running in d128a006d680 [2022-07-15T20:56:11.470Z] Removing intermediate container d128a006d680 [2022-07-15T20:56:11.470Z] ---> 592a2f3dbb26 [2022-07-15T20:56:11.470Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T20:56:11.470Z] ---> Running in d2fafa5e4922 [2022-07-15T20:56:12.039Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T20:56:12.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T20:56:13.184Z] OK: 211 MiB in 51 packages [2022-07-15T20:56:13.446Z] Removing intermediate container d2fafa5e4922 [2022-07-15T20:56:13.446Z] ---> ac7c8e41f115 [2022-07-15T20:56:13.446Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T20:56:13.446Z] ---> Running in 9964cce4d809 [2022-07-15T20:56:13.446Z] Removing intermediate container 9964cce4d809 [2022-07-15T20:56:13.446Z] ---> 8d11b46bce3c [2022-07-15T20:56:13.446Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T20:56:13.707Z] ---> 8a4cf181f0d9 [2022-07-15T20:56:13.707Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T20:56:13.707Z] ---> Running in e5d2aa12c19c [2022-07-15T20:56:15.028Z] Still waiting to schedule task [2022-07-15T20:56:15.028Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-15T20:56:31.830Z] Removing intermediate container e5d2aa12c19c [2022-07-15T20:56:31.830Z] ---> db840c6d5778 [2022-07-15T20:56:31.830Z] Step 12/13 : COPY . . [2022-07-15T20:56:31.830Z] ---> 2c10c56574fc [2022-07-15T20:56:31.830Z] Step 13/13 : RUN ${MAKE} [2022-07-15T20:56:31.830Z] ---> Running in 71d3801b9712 [2022-07-15T20:56:31.830Z] noop [2022-07-15T20:56:31.830Z] Removing intermediate container 71d3801b9712 [2022-07-15T20:56:31.830Z] ---> 9759ae7261e4 [2022-07-15T20:56:31.830Z] Successfully built 9759ae7261e4 [2022-07-15T20:56:31.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:56:32.273Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T20:56:32.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:56:32.441Z] prd-ubuntu20.04-docker-8c-8g-20231 does not seem to be running inside a container [2022-07-15T20:56:32.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T20:56:32.829Z] $ docker top 8645655bc32cb0315597eb8de74b2afb67370df7b769d0ddc00b0c52e691dbd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T20:56:33.238Z] + go version [2022-07-15T20:56:33.238Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-15T20:56:33.277Z] $ docker stop --time=1 8645655bc32cb0315597eb8de74b2afb67370df7b769d0ddc00b0c52e691dbd2 [2022-07-15T20:56:34.536Z] $ docker rm -f 8645655bc32cb0315597eb8de74b2afb67370df7b769d0ddc00b0c52e691dbd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:56:35.234Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T20:56:35.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:56:35.397Z] prd-ubuntu20.04-docker-8c-8g-20231 does not seem to be running inside a container [2022-07-15T20:56:35.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T20:56:35.780Z] $ docker top 0eab87ff73dc6adced8ae6cb51b0e4963614479062761d2ab66a581c0902fd98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T20:56:36.198Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] fileExists [Pipeline] sh [2022-07-15T20:56:36.551Z] + make test [2022-07-15T20:56:36.551Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T20:56:37.116Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T20:56:47.095Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T20:56:47.095Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements [2022-07-15T20:56:47.095Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T20:56:50.390Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.621s coverage: 13.8% of statements [2022-07-15T20:56:56.960Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T20:56:59.495Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T20:56:59.495Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T20:56:59.495Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T20:57:00.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T20:57:00.132Z] $ docker stop --time=1 0eab87ff73dc6adced8ae6cb51b0e4963614479062761d2ab66a581c0902fd98 [2022-07-15T20:57:01.919Z] $ docker rm -f 0eab87ff73dc6adced8ae6cb51b0e4963614479062761d2ab66a581c0902fd98 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T20:57:02.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T20:57:02.529Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-15T20:57:03.217Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T20:57:03.544Z] + ls -al . [2022-07-15T20:57:03.544Z] total 252 [2022-07-15T20:57:03.544Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 20:56 . [2022-07-15T20:57:03.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:55 .. [2022-07-15T20:57:03.544Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:56 .git [2022-07-15T20:57:03.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:55 .github [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 20:55 .gitignore [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 20:55 .golangci.yml [2022-07-15T20:57:03.544Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:55 .semver [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 20:55 Attribution.txt [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 20:55 CHANGELOG.md [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 20:55 Dockerfile [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:55 GOVERNANCE.md [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 20:55 Jenkinsfile [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 20:55 LICENSE [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 20:55 Makefile [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 20:55 OWNERS.md [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 20:55 README.md [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:55 VERSION [2022-07-15T20:57:03.544Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:55 bin [2022-07-15T20:57:03.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:55 cmd [2022-07-15T20:57:03.544Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 20:56 coverage.out [2022-07-15T20:57:03.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:55 doc [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 20:55 go.mod [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 20:55 go.sum [2022-07-15T20:57:03.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:55 internal [2022-07-15T20:57:03.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:55 snap [2022-07-15T20:57:03.544Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:57:03.936Z] + 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=9841299ce95b8434cbe8d08236472f666f1c5798 --label arch=amd64 --label version=0.0.0 . [2022-07-15T20:57:03.936Z] Sending build context to Docker daemon 16.04MB [2022-07-15T20:57:03.936Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T20:57:03.936Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T20:57:03.936Z] ---> 9759ae7261e4 [2022-07-15T20:57:03.936Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T20:57:03.936Z] ---> Running in e947301d6e3d [2022-07-15T20:57:04.195Z] Removing intermediate container e947301d6e3d [2022-07-15T20:57:04.195Z] ---> f961f9134741 [2022-07-15T20:57:04.195Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T20:57:04.195Z] ---> Running in 842e249eaef0 [2022-07-15T20:57:04.195Z] Removing intermediate container 842e249eaef0 [2022-07-15T20:57:04.195Z] ---> e45f88f63453 [2022-07-15T20:57:04.195Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T20:57:04.195Z] ---> Running in 9f87b14cff9b [2022-07-15T20:57:04.196Z] Removing intermediate container 9f87b14cff9b [2022-07-15T20:57:04.196Z] ---> 5286de84dc80 [2022-07-15T20:57:04.196Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T20:57:04.196Z] ---> Running in 3f9dbb5aef37 [2022-07-15T20:57:04.455Z] Removing intermediate container 3f9dbb5aef37 [2022-07-15T20:57:04.455Z] ---> 855597cc9545 [2022-07-15T20:57:04.455Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T20:57:04.455Z] ---> Running in 4eeb32fe4de5 [2022-07-15T20:57:05.023Z] Removing intermediate container 4eeb32fe4de5 [2022-07-15T20:57:05.023Z] ---> 5e636713f4e6 [2022-07-15T20:57:05.023Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T20:57:05.023Z] ---> Running in 7bb803d766ed [2022-07-15T20:57:05.282Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T20:57:06.223Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T20:57:06.482Z] OK: 211 MiB in 51 packages [2022-07-15T20:57:06.741Z] Removing intermediate container 7bb803d766ed [2022-07-15T20:57:06.741Z] ---> 487194125607 [2022-07-15T20:57:06.741Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T20:57:06.741Z] ---> Running in 41c81f26aa12 [2022-07-15T20:57:06.741Z] Removing intermediate container 41c81f26aa12 [2022-07-15T20:57:06.741Z] ---> 67d88daf16c0 [2022-07-15T20:57:06.741Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T20:57:06.741Z] ---> b0c5e1362513 [2022-07-15T20:57:06.741Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T20:57:07.003Z] ---> Running in d75f7e83582a [2022-07-15T20:57:07.571Z] Removing intermediate container d75f7e83582a [2022-07-15T20:57:07.571Z] ---> 2d971920258e [2022-07-15T20:57:07.572Z] Step 12/26 : COPY . . [2022-07-15T20:57:07.831Z] ---> 788d7da9478b [2022-07-15T20:57:07.831Z] Step 13/26 : RUN ${MAKE} [2022-07-15T20:57:07.831Z] ---> Running in b76d19a2b9da [2022-07-15T20:57:08.090Z] 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-15T20:57:26.194Z] Removing intermediate container b76d19a2b9da [2022-07-15T20:57:26.194Z] ---> be0413eb16aa [2022-07-15T20:57:26.194Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T20:57:26.194Z] 3.15: Pulling from library/alpine [2022-07-15T20:57:26.455Z] df9b9388f04a: Pulling fs layer [2022-07-15T20:57:26.716Z] df9b9388f04a: Verifying Checksum [2022-07-15T20:57:26.716Z] df9b9388f04a: Download complete [2022-07-15T20:57:26.716Z] df9b9388f04a: Pull complete [2022-07-15T20:57:26.716Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T20:57:26.716Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T20:57:26.716Z] ---> 0ac33e5f5afa [2022-07-15T20:57:26.716Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T20:57:26.716Z] ---> Running in 5b6d21c94c64 [2022-07-15T20:57:26.979Z] Removing intermediate container 5b6d21c94c64 [2022-07-15T20:57:26.979Z] ---> efaf8284a151 [2022-07-15T20:57:26.979Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T20:57:26.979Z] ---> Running in a66f5890a0d4 [2022-07-15T20:57:27.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-15T20:57:27.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-15T20:57:27.502Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T20:57:27.502Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T20:57:27.502Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T20:57:27.502Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T20:57:27.502Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T20:57:27.502Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T20:57:27.502Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T20:57:27.502Z] OK: 8 MiB in 20 packages [2022-07-15T20:57:28.072Z] Removing intermediate container a66f5890a0d4 [2022-07-15T20:57:28.072Z] ---> 00e984c1d8be [2022-07-15T20:57:28.072Z] Step 17/26 : WORKDIR / [2022-07-15T20:57:28.072Z] ---> Running in aec56d22e6bd [2022-07-15T20:57:28.072Z] Removing intermediate container aec56d22e6bd [2022-07-15T20:57:28.072Z] ---> 2585a64bcd9b [2022-07-15T20:57:28.072Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T20:57:28.332Z] ---> 974220f4cad5 [2022-07-15T20:57:28.332Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T20:57:28.592Z] ---> f227ff431ae5 [2022-07-15T20:57:28.592Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T20:57:28.592Z] ---> f47f4e6c2158 [2022-07-15T20:57:28.592Z] Step 21/26 : EXPOSE 59984 [2022-07-15T20:57:28.851Z] ---> Running in bcd720979580 [2022-07-15T20:57:28.851Z] Removing intermediate container bcd720979580 [2022-07-15T20:57:28.851Z] ---> 83b47f7bdcda [2022-07-15T20:57:28.851Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T20:57:28.851Z] ---> Running in 146e357a33a7 [2022-07-15T20:57:28.851Z] Removing intermediate container 146e357a33a7 [2022-07-15T20:57:28.851Z] ---> c29473cb3261 [2022-07-15T20:57:28.851Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T20:57:28.851Z] ---> Running in 662fe27a7562 [2022-07-15T20:57:29.111Z] Removing intermediate container 662fe27a7562 [2022-07-15T20:57:29.111Z] ---> 65fce2dd1701 [2022-07-15T20:57:29.111Z] Step 24/26 : LABEL arch=amd64 [2022-07-15T20:57:29.111Z] ---> Running in 339d3d9580ea [2022-07-15T20:57:29.111Z] Removing intermediate container 339d3d9580ea [2022-07-15T20:57:29.111Z] ---> 4a29d0b77a87 [2022-07-15T20:57:29.111Z] Step 25/26 : LABEL git_sha=9841299ce95b8434cbe8d08236472f666f1c5798 [2022-07-15T20:57:29.111Z] ---> Running in f517b031858c [2022-07-15T20:57:29.111Z] Removing intermediate container f517b031858c [2022-07-15T20:57:29.111Z] ---> 603ffbb6212d [2022-07-15T20:57:29.111Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T20:57:29.111Z] ---> Running in 18876fc422f8 [2022-07-15T20:57:29.371Z] Removing intermediate container 18876fc422f8 [2022-07-15T20:57:29.371Z] ---> 79ee9615d3e3 [2022-07-15T20:57:29.371Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T20:57:29.371Z] Successfully built 79ee9615d3e3 [2022-07-15T20:57:29.371Z] 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-07-15T20:57:30.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T20:57:30.164Z] [2022-07-15T20:57:30.164Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:57:30.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T20:57:30.540Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-15T20:57:30.540Z] 5eb5b503b376: Pulling fs layer [2022-07-15T20:57:30.540Z] 5c69ac0246d0: Pulling fs layer [2022-07-15T20:57:30.540Z] ec43610c2a17: Pulling fs layer [2022-07-15T20:57:30.540Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-15T20:57:30.540Z] 33b1e0a273af: Pulling fs layer [2022-07-15T20:57:30.540Z] 5d3b04190fa2: Pulling fs layer [2022-07-15T20:57:30.540Z] 2f39f015ded8: Pulling fs layer [2022-07-15T20:57:30.540Z] 33b1e0a273af: Waiting [2022-07-15T20:57:30.540Z] 5d3b04190fa2: Waiting [2022-07-15T20:57:30.540Z] 2f39f015ded8: Waiting [2022-07-15T20:57:30.540Z] 3a2ae6a8a46f: Waiting [2022-07-15T20:57:30.540Z] 5c69ac0246d0: Download complete [2022-07-15T20:57:30.540Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-15T20:57:30.540Z] 3a2ae6a8a46f: Download complete [2022-07-15T20:57:30.540Z] 33b1e0a273af: Verifying Checksum [2022-07-15T20:57:30.540Z] 33b1e0a273af: Download complete [2022-07-15T20:57:30.540Z] 5d3b04190fa2: Download complete [2022-07-15T20:57:30.540Z] ec43610c2a17: Verifying Checksum [2022-07-15T20:57:30.540Z] ec43610c2a17: Download complete [2022-07-15T20:57:30.799Z] 5eb5b503b376: Verifying Checksum [2022-07-15T20:57:30.799Z] 5eb5b503b376: Download complete [2022-07-15T20:57:31.368Z] 2f39f015ded8: Verifying Checksum [2022-07-15T20:57:31.368Z] 2f39f015ded8: Download complete [2022-07-15T20:57:31.937Z] 5eb5b503b376: Pull complete [2022-07-15T20:57:32.200Z] 5c69ac0246d0: Pull complete [2022-07-15T20:57:32.461Z] ec43610c2a17: Pull complete [2022-07-15T20:57:32.461Z] 3a2ae6a8a46f: Pull complete [2022-07-15T20:57:32.721Z] 33b1e0a273af: Pull complete [2022-07-15T20:57:32.721Z] 5d3b04190fa2: Pull complete [2022-07-15T20:57:36.912Z] 2f39f015ded8: Pull complete [2022-07-15T20:57:36.912Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-15T20:57:36.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T20:57:36.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:57:37.141Z] prd-ubuntu20.04-docker-8c-8g-20231 does not seem to be running inside a container [2022-07-15T20:57:37.189Z] $ 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-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-15T20:57:38.209Z] $ docker top 2b54f02735ee4e618a36e2d3474a0bd7341b4afba9dbea4f7d9d04d0f7d86786 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T20:57:38.679Z] ---> job-cost.sh [2022-07-15T20:57:38.679Z] lf-activate-venv: SKIPPING [2022-07-15T20:57:38.679Z] INFO: No Stack... [2022-07-15T20:57:39.253Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T20:57:39.513Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T20:57:39.834Z] + cat /w/workspace/undry_device-onvif-camera_PR-110/archives/cost.csv [2022-07-15T20:57:39.834Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T20:57:39.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [2022-07-15T20:57:39.878Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] did not exist. Created. [2022-07-15T20:57:39.879Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T20:57:40.281Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-15T20:57:40.331Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T20:57:40.359Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T20:57:40.443Z] $ docker stop --time=1 2b54f02735ee4e618a36e2d3474a0bd7341b4afba9dbea4f7d9d04d0f7d86786 [2022-07-15T20:57:41.582Z] $ docker rm -f 2b54f02735ee4e618a36e2d3474a0bd7341b4afba9dbea4f7d9d04d0f7d86786 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-15T20:57:43.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20232 in /w/workspace/undry_device-onvif-camera_PR-110 [Pipeline] { [Pipeline] ws [2022-07-15T20:57:43.959Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-15T20:57:44.027Z] Selected Git installation does not exist. Using Default [2022-07-15T20:57:44.028Z] The recommended git tool is: NONE [2022-07-15T20:57:51.549Z] using credential edgex-jenkins-ssh [2022-07-15T20:57:51.573Z] Cloning the remote Git repository [2022-07-15T20:57:51.642Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T20:57:51.722Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-15T20:57:51.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T20:57:51.828Z] > git --version # timeout=10 [2022-07-15T20:57:51.855Z] > git --version # 'git version 2.25.1' [2022-07-15T20:57:51.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T20:57:52.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T20:57:52.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T20:57:52.976Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T20:57:53.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-15T20:57:53.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-15T20:57:53.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T20:57:53.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/110/head:refs/remotes/origin/PR-110 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-15T20:57:54.210Z] Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 9841299ce95b8434cbe8d08236472f666f1c5798 [2022-07-15T20:57:54.582Z] Merge succeeded, producing 9841299ce95b8434cbe8d08236472f666f1c5798 [2022-07-15T20:57:54.582Z] Checking out Revision 9841299ce95b8434cbe8d08236472f666f1c5798 (PR-110) [2022-07-15T20:57:54.233Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T20:57:54.259Z] > git checkout -f 9841299ce95b8434cbe8d08236472f666f1c5798 # timeout=10 [2022-07-15T20:57:54.494Z] > git remote # timeout=10 [2022-07-15T20:57:54.510Z] > git config --get remote.origin.url # timeout=10 [2022-07-15T20:57:54.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T20:57:54.541Z] > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-15T20:57:54.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-15T20:57:54.592Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T20:57:54.606Z] > git checkout -f 9841299ce95b8434cbe8d08236472f666f1c5798 # timeout=10 [2022-07-15T20:57:58.913Z] Commit message: "docs: reset auto-discovery docs" [2022-07-15T20:57:58.974Z] > git --version # timeout=10 [2022-07-15T20:57:58.984Z] > git --version # 'git version 2.25.1' [2022-07-15T20:57:58.999Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T20:58:00.080Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-15T20:58:00.080Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T20:58:00.080Z] Dload Upload Total Spent Left Speed [2022-07-15T20:58:00.080Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 70068 0 --:--:-- --:--:-- --:--:-- 70068 100 12332 100 12332 0 0 69672 0 --:--:-- --:--:-- --:--:-- 69672 [Pipeline] sh [2022-07-15T20:58:00.867Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-15T20:58:01.216Z] + sudo tee /etc/docker/daemon.new [2022-07-15T20:58:01.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-15T20:58:01.216Z] { [2022-07-15T20:58:01.216Z] "registry-mirrors": [ [2022-07-15T20:58:01.216Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-15T20:58:01.216Z] ], [2022-07-15T20:58:01.216Z] "bip": "10.250.0.254/24", [2022-07-15T20:58:01.216Z] "hosts": [ [2022-07-15T20:58:01.216Z] "tcp://0.0.0.0:5555", [2022-07-15T20:58:01.216Z] "unix:///var/run/docker.sock" [2022-07-15T20:58:01.216Z] ], [2022-07-15T20:58:01.216Z] "mtu": 1458, [2022-07-15T20:58:01.216Z] "selinux-enabled": true, [2022-07-15T20:58:01.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-15T20:58:01.216Z] } [Pipeline] sh [2022-07-15T20:58:01.574Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-15T20:58:01.925Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T20:58:20.455Z] provisioning config files... [2022-07-15T20:58:20.479Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8648207383139182129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T20:58:20.873Z] ---> docker-login.sh [2022-07-15T20:58:20.873Z] nexus3.edgexfoundry.org:10001 [2022-07-15T20:58:21.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:58:21.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:58:21.745Z] Configure a credential helper to remove this warning. See [2022-07-15T20:58:21.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:58:21.745Z] [2022-07-15T20:58:21.745Z] Login Succeeded [2022-07-15T20:58:21.745Z] nexus3.edgexfoundry.org:10002 [2022-07-15T20:58:22.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:58:22.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:58:22.293Z] Configure a credential helper to remove this warning. See [2022-07-15T20:58:22.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:58:22.293Z] [2022-07-15T20:58:22.293Z] Login Succeeded [2022-07-15T20:58:22.293Z] nexus3.edgexfoundry.org:10003 [2022-07-15T20:58:22.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:58:22.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:58:22.569Z] Configure a credential helper to remove this warning. See [2022-07-15T20:58:22.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:58:22.569Z] [2022-07-15T20:58:22.569Z] Login Succeeded [2022-07-15T20:58:22.569Z] nexus3.edgexfoundry.org:10004 [2022-07-15T20:58:23.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:58:23.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:58:23.167Z] Configure a credential helper to remove this warning. See [2022-07-15T20:58:23.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:58:23.167Z] [2022-07-15T20:58:23.167Z] Login Succeeded [2022-07-15T20:58:23.167Z] docker.io [2022-07-15T20:58:23.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T20:58:24.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T20:58:24.038Z] Configure a credential helper to remove this warning. See [2022-07-15T20:58:24.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T20:58:24.038Z] [2022-07-15T20:58:24.038Z] Login Succeeded [2022-07-15T20:58:24.038Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T20:58:24.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T20:58:24.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T20:58:24.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T20:58:24.510Z] ========================================================= [2022-07-15T20:58:24.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-15T20:58:24.510Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:58:25.019Z] + 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-07-15T20:58:25.614Z] Sending build context to Docker daemon 13.03MB [2022-07-15T20:58:25.614Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T20:58:25.614Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-15T20:58:25.889Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-15T20:58:25.889Z] b3c136eddcbf: Pulling fs layer [2022-07-15T20:58:25.889Z] c0a3192eca97: Pulling fs layer [2022-07-15T20:58:25.889Z] a050256f5b6f: Pulling fs layer [2022-07-15T20:58:25.889Z] 656be50a0ddc: Pulling fs layer [2022-07-15T20:58:25.889Z] 2bbca73fdf42: Pulling fs layer [2022-07-15T20:58:25.889Z] 46d945488cbd: Pulling fs layer [2022-07-15T20:58:25.889Z] 8a5474983e97: Pulling fs layer [2022-07-15T20:58:25.889Z] 329c88fbcd65: Pulling fs layer [2022-07-15T20:58:25.889Z] 656be50a0ddc: Waiting [2022-07-15T20:58:25.889Z] 2bbca73fdf42: Waiting [2022-07-15T20:58:25.889Z] 46d945488cbd: Waiting [2022-07-15T20:58:25.889Z] 329c88fbcd65: Waiting [2022-07-15T20:58:25.889Z] 8a5474983e97: Waiting [2022-07-15T20:58:25.889Z] a050256f5b6f: Verifying Checksum [2022-07-15T20:58:25.889Z] a050256f5b6f: Download complete [2022-07-15T20:58:25.889Z] c0a3192eca97: Verifying Checksum [2022-07-15T20:58:25.889Z] c0a3192eca97: Download complete [2022-07-15T20:58:25.889Z] 2bbca73fdf42: Verifying Checksum [2022-07-15T20:58:25.889Z] 2bbca73fdf42: Download complete [2022-07-15T20:58:25.889Z] 46d945488cbd: Download complete [2022-07-15T20:58:25.889Z] b3c136eddcbf: Verifying Checksum [2022-07-15T20:58:25.889Z] b3c136eddcbf: Download complete [2022-07-15T20:58:26.886Z] b3c136eddcbf: Pull complete [2022-07-15T20:58:26.886Z] 329c88fbcd65: Verifying Checksum [2022-07-15T20:58:26.886Z] 329c88fbcd65: Download complete [2022-07-15T20:58:27.490Z] c0a3192eca97: Pull complete [2022-07-15T20:58:27.766Z] a050256f5b6f: Pull complete [2022-07-15T20:58:28.039Z] 8a5474983e97: Verifying Checksum [2022-07-15T20:58:28.039Z] 8a5474983e97: Download complete [2022-07-15T20:58:28.644Z] 656be50a0ddc: Verifying Checksum [2022-07-15T20:58:28.644Z] 656be50a0ddc: Download complete [2022-07-15T20:58:43.736Z] 656be50a0ddc: Pull complete [2022-07-15T20:58:43.736Z] 2bbca73fdf42: Pull complete [2022-07-15T20:58:43.736Z] 46d945488cbd: Pull complete [2022-07-15T20:58:48.061Z] 8a5474983e97: Pull complete [2022-07-15T20:58:50.040Z] 329c88fbcd65: Pull complete [2022-07-15T20:58:50.040Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-15T20:58:50.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-15T20:58:50.040Z] ---> ff4287adb874 [2022-07-15T20:58:50.040Z] Step 3/13 : ARG MAKE="make build" [2022-07-15T20:58:52.030Z] ---> Running in 9414bb0712bf [2022-07-15T20:58:52.030Z] Removing intermediate container 9414bb0712bf [2022-07-15T20:58:52.030Z] ---> 0402cd419649 [2022-07-15T20:58:52.030Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T20:58:52.030Z] ---> Running in b713889d0bd0 [2022-07-15T20:58:52.307Z] Removing intermediate container b713889d0bd0 [2022-07-15T20:58:52.307Z] ---> 101e5d7b9f3c [2022-07-15T20:58:52.307Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T20:58:52.586Z] ---> Running in 513796f46859 [2022-07-15T20:58:52.859Z] Removing intermediate container 513796f46859 [2022-07-15T20:58:52.859Z] ---> 457997a061f2 [2022-07-15T20:58:52.859Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-15T20:58:52.859Z] ---> Running in a9295235704d [2022-07-15T20:58:53.144Z] Removing intermediate container a9295235704d [2022-07-15T20:58:53.144Z] ---> 6b49db8b3ad9 [2022-07-15T20:58:53.144Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T20:58:53.144Z] ---> Running in b6e4200a6d58 [2022-07-15T20:58:55.131Z] Removing intermediate container b6e4200a6d58 [2022-07-15T20:58:55.131Z] ---> 7451dfc697c8 [2022-07-15T20:58:55.131Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T20:58:55.131Z] ---> Running in 2d5a220ce358 [2022-07-15T20:58:57.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T20:58:58.362Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T20:58:59.371Z] OK: 221 MiB in 51 packages [2022-07-15T20:58:59.974Z] Removing intermediate container 2d5a220ce358 [2022-07-15T20:58:59.974Z] ---> d6ff2a97455c [2022-07-15T20:58:59.974Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-15T20:58:59.974Z] ---> Running in f7075e79ee5c [2022-07-15T20:59:00.578Z] Removing intermediate container f7075e79ee5c [2022-07-15T20:59:00.578Z] ---> 052a41ff4338 [2022-07-15T20:59:00.578Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-15T20:59:00.855Z] ---> 9f8d6f06851c [2022-07-15T20:59:00.855Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T20:59:01.144Z] ---> Running in 2c7c95c16a52 [2022-07-15T20:59:48.140Z] Removing intermediate container 2c7c95c16a52 [2022-07-15T20:59:48.140Z] ---> 0cbe81571f1c [2022-07-15T20:59:48.140Z] Step 12/13 : COPY . . [2022-07-15T20:59:48.140Z] ---> 9d4668a01095 [2022-07-15T20:59:48.140Z] Step 13/13 : RUN ${MAKE} [2022-07-15T20:59:48.140Z] ---> Running in e28b67f08558 [2022-07-15T20:59:48.140Z] noop [2022-07-15T20:59:48.140Z] Removing intermediate container e28b67f08558 [2022-07-15T20:59:48.140Z] ---> 42b1e4dc17a3 [2022-07-15T20:59:48.140Z] Successfully built 42b1e4dc17a3 [2022-07-15T20:59:48.140Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:59:48.610Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T20:59:48.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:59:48.935Z] prd-ubuntu20.04-docker-arm64-4c-16g-20232 does not seem to be running inside a container [2022-07-15T20:59:49.021Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-15T20:59:50.260Z] $ docker top b57ce0b85c43d848d86964eb96da7fa3d790f374c724259841cbdfb6eebdd952 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T20:59:51.229Z] + go version [2022-07-15T20:59:51.229Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-15T20:59:51.265Z] $ docker stop --time=1 b57ce0b85c43d848d86964eb96da7fa3d790f374c724259841cbdfb6eebdd952 [2022-07-15T20:59:52.887Z] $ docker rm -f b57ce0b85c43d848d86964eb96da7fa3d790f374c724259841cbdfb6eebdd952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T20:59:53.775Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T20:59:53.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T20:59:54.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-20232 does not seem to be running inside a container [2022-07-15T20:59:54.165Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-15T20:59:55.419Z] $ docker top e83d2f62d23f04063daf83a10f8ab027ebdb9c95b34e155bdd23b3e3fcaf4049 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T20:59:56.374Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-15T20:59:57.108Z] + make test [2022-07-15T20:59:57.108Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-15T20:59:59.099Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-15T21:01:20.952Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-15T21:01:23.598Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.089s coverage: 7.0% of statements [2022-07-15T21:01:23.598Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-15T21:01:50.412Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.496s coverage: 13.8% of statements [2022-07-15T21:01:50.412Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-15T21:01:50.412Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-15T21:02:12.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T21:02:12.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T21:02:12.614Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T21:02:12.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T21:02:12.686Z] $ docker stop --time=1 e83d2f62d23f04063daf83a10f8ab027ebdb9c95b34e155bdd23b3e3fcaf4049 [2022-07-15T21:02:14.406Z] $ docker rm -f e83d2f62d23f04063daf83a10f8ab027ebdb9c95b34e155bdd23b3e3fcaf4049 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T21:02:15.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T21:02:15.469Z] Warning: overwriting stash ‘coverage-report’ [2022-07-15T21:02:15.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T21:02:16.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T21:02:16.935Z] + ls -al . [2022-07-15T21:02:16.935Z] total 248 [2022-07-15T21:02:16.935Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 15 21:02 . [2022-07-15T21:02:16.935Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:57 .. [2022-07-15T21:02:16.935Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 20:57 .git [2022-07-15T21:02:16.935Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:57 .github [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 15 20:57 .gitignore [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 20:57 .golangci.yml [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 15 20:57 Attribution.txt [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 15 20:57 CHANGELOG.md [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 15 20:57 Dockerfile [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 20:57 GOVERNANCE.md [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 15 20:57 Jenkinsfile [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 15 20:57 LICENSE [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 15 20:57 Makefile [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 15 20:57 OWNERS.md [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 15 20:57 README.md [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 20:55 VERSION [2022-07-15T21:02:16.935Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 20:57 bin [2022-07-15T21:02:16.935Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 20:57 cmd [2022-07-15T21:02:16.935Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 15 21:01 coverage.out [2022-07-15T21:02:16.935Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:57 doc [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 15 20:57 go.mod [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 15 20:57 go.sum [2022-07-15T21:02:16.935Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:57 internal [2022-07-15T21:02:16.935Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 20:57 snap [2022-07-15T21:02:16.935Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 15 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:02:17.363Z] + 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=9841299ce95b8434cbe8d08236472f666f1c5798 --label arch=arm64 --label version=0.0.0 . [2022-07-15T21:02:17.956Z] Sending build context to Docker daemon 13.1MB [2022-07-15T21:02:17.956Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-15T21:02:17.956Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-15T21:02:17.956Z] ---> 42b1e4dc17a3 [2022-07-15T21:02:17.956Z] Step 3/26 : ARG MAKE="make build" [2022-07-15T21:02:17.956Z] ---> Running in 9b22a568e0c5 [2022-07-15T21:02:18.228Z] Removing intermediate container 9b22a568e0c5 [2022-07-15T21:02:18.228Z] ---> 1c77b3b007e8 [2022-07-15T21:02:18.228Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-15T21:02:18.501Z] ---> Running in dfe45433b42e [2022-07-15T21:02:18.772Z] Removing intermediate container dfe45433b42e [2022-07-15T21:02:18.772Z] ---> 04eef0a473ca [2022-07-15T21:02:18.772Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-15T21:02:18.772Z] ---> Running in d90d5e9a1b1b [2022-07-15T21:02:19.045Z] Removing intermediate container d90d5e9a1b1b [2022-07-15T21:02:19.045Z] ---> 99bc2d657440 [2022-07-15T21:02:19.045Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-15T21:02:19.045Z] ---> Running in df36f5691b41 [2022-07-15T21:02:19.325Z] Removing intermediate container df36f5691b41 [2022-07-15T21:02:19.325Z] ---> f08b217d497d [2022-07-15T21:02:19.325Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T21:02:19.325Z] ---> Running in 97dd9114f0e5 [2022-07-15T21:02:21.331Z] Removing intermediate container 97dd9114f0e5 [2022-07-15T21:02:21.331Z] ---> fd8733845adb [2022-07-15T21:02:21.331Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-15T21:02:21.331Z] ---> Running in 6d0395a6b58b [2022-07-15T21:02:21.928Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T21:02:22.912Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T21:02:23.892Z] OK: 221 MiB in 51 packages [2022-07-15T21:02:24.491Z] Removing intermediate container 6d0395a6b58b [2022-07-15T21:02:24.491Z] ---> 116c6ac5a753 [2022-07-15T21:02:24.491Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-15T21:02:24.765Z] ---> Running in dfe2a15dd46b [2022-07-15T21:02:25.039Z] Removing intermediate container dfe2a15dd46b [2022-07-15T21:02:25.039Z] ---> eb0284ea993f [2022-07-15T21:02:25.039Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-15T21:02:25.643Z] ---> 73bd14da671d [2022-07-15T21:02:25.643Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T21:02:25.643Z] ---> Running in 43ff7290afb6 [2022-07-15T21:02:27.628Z] Removing intermediate container 43ff7290afb6 [2022-07-15T21:02:27.628Z] ---> 64098dc7f944 [2022-07-15T21:02:27.628Z] Step 12/26 : COPY . . [2022-07-15T21:02:29.072Z] ---> bfc48576dda2 [2022-07-15T21:02:29.072Z] Step 13/26 : RUN ${MAKE} [2022-07-15T21:02:29.072Z] ---> Running in a56e4ec45689 [2022-07-15T21:02:30.056Z] 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-15T21:04:37.085Z] Removing intermediate container a56e4ec45689 [2022-07-15T21:04:37.085Z] ---> c4b8cece3b31 [2022-07-15T21:04:37.085Z] Step 14/26 : FROM alpine:3.15 [2022-07-15T21:04:37.357Z] 3.15: Pulling from library/alpine [2022-07-15T21:04:37.357Z] 9981e73032c8: Pulling fs layer [2022-07-15T21:04:37.632Z] 9981e73032c8: Verifying Checksum [2022-07-15T21:04:37.632Z] 9981e73032c8: Download complete [2022-07-15T21:04:38.234Z] 9981e73032c8: Pull complete [2022-07-15T21:04:38.234Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-15T21:04:38.234Z] Status: Downloaded newer image for alpine:3.15 [2022-07-15T21:04:38.234Z] ---> 3fb3c9af89a9 [2022-07-15T21:04:38.234Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-15T21:04:38.234Z] ---> Running in 161501413fa7 [2022-07-15T21:04:38.515Z] Removing intermediate container 161501413fa7 [2022-07-15T21:04:38.515Z] ---> 0094d513e3ea [2022-07-15T21:04:38.515Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-15T21:04:38.804Z] ---> Running in 6eff90e40d57 [2022-07-15T21:04:39.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-15T21:04:40.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-15T21:04:40.659Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-15T21:04:40.659Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-15T21:04:40.659Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-15T21:04:40.659Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-15T21:04:40.934Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-15T21:04:40.934Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-15T21:04:40.934Z] Executing busybox-1.34.1-r5.trigger [2022-07-15T21:04:40.934Z] OK: 8 MiB in 20 packages [2022-07-15T21:04:41.921Z] Removing intermediate container 6eff90e40d57 [2022-07-15T21:04:41.921Z] ---> c09e2cb32192 [2022-07-15T21:04:41.921Z] Step 17/26 : WORKDIR / [2022-07-15T21:04:41.921Z] ---> Running in 202bd035b74e [2022-07-15T21:04:42.194Z] Removing intermediate container 202bd035b74e [2022-07-15T21:04:42.194Z] ---> 1ce6fcb0689a [2022-07-15T21:04:42.194Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-15T21:04:43.631Z] ---> 3dfdcdeae225 [2022-07-15T21:04:43.631Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-15T21:04:44.230Z] ---> fe34693b566d [2022-07-15T21:04:44.230Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-15T21:04:44.826Z] ---> 041206007695 [2022-07-15T21:04:44.826Z] Step 21/26 : EXPOSE 59984 [2022-07-15T21:04:44.826Z] ---> Running in e32f9861104c [2022-07-15T21:04:45.101Z] Removing intermediate container e32f9861104c [2022-07-15T21:04:45.101Z] ---> 9dfb320f746a [2022-07-15T21:04:45.101Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-15T21:04:45.101Z] ---> Running in 5738168cb996 [2022-07-15T21:04:45.385Z] Removing intermediate container 5738168cb996 [2022-07-15T21:04:45.385Z] ---> 4428a0dc7e39 [2022-07-15T21:04:45.385Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T21:04:45.663Z] ---> Running in 7ccf71d7a1c6 [2022-07-15T21:04:45.937Z] Removing intermediate container 7ccf71d7a1c6 [2022-07-15T21:04:45.938Z] ---> 903aeadbed6c [2022-07-15T21:04:45.938Z] Step 24/26 : LABEL arch=arm64 [2022-07-15T21:04:45.938Z] ---> Running in 89114fcde5fd [2022-07-15T21:04:46.214Z] Removing intermediate container 89114fcde5fd [2022-07-15T21:04:46.214Z] ---> c89c24f7bf1a [2022-07-15T21:04:46.214Z] Step 25/26 : LABEL git_sha=9841299ce95b8434cbe8d08236472f666f1c5798 [2022-07-15T21:04:46.214Z] ---> Running in 648e83bc449a [2022-07-15T21:04:46.816Z] Removing intermediate container 648e83bc449a [2022-07-15T21:04:46.816Z] ---> 9f932d1ff01b [2022-07-15T21:04:46.816Z] Step 26/26 : LABEL version=0.0.0 [2022-07-15T21:04:46.816Z] ---> Running in a533937b0fa5 [2022-07-15T21:04:47.092Z] Removing intermediate container a533937b0fa5 [2022-07-15T21:04:47.092Z] ---> 640b7a8bce7c [2022-07-15T21:04:47.092Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T21:04:47.092Z] Successfully built 640b7a8bce7c [2022-07-15T21:04:47.092Z] 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-07-15T21:04:47.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:04:47.911Z] [2022-07-15T21:04:47.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:04:48.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:04:48.612Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-15T21:04:48.612Z] 8998bd30e6a1: Pulling fs layer [2022-07-15T21:04:48.612Z] 04944245beec: Pulling fs layer [2022-07-15T21:04:48.612Z] 699f458cf7ca: Pulling fs layer [2022-07-15T21:04:48.612Z] 765212b225bb: Pulling fs layer [2022-07-15T21:04:48.612Z] f23df028b6ca: Pulling fs layer [2022-07-15T21:04:48.612Z] d65c8cfc05b1: Pulling fs layer [2022-07-15T21:04:48.612Z] 2437ff75d9bd: Pulling fs layer [2022-07-15T21:04:48.612Z] 765212b225bb: Waiting [2022-07-15T21:04:48.612Z] f23df028b6ca: Waiting [2022-07-15T21:04:48.612Z] d65c8cfc05b1: Waiting [2022-07-15T21:04:48.612Z] 2437ff75d9bd: Waiting [2022-07-15T21:04:48.612Z] 04944245beec: Verifying Checksum [2022-07-15T21:04:48.612Z] 04944245beec: Download complete [2022-07-15T21:04:48.612Z] 765212b225bb: Download complete [2022-07-15T21:04:48.612Z] f23df028b6ca: Verifying Checksum [2022-07-15T21:04:48.612Z] f23df028b6ca: Download complete [2022-07-15T21:04:48.612Z] d65c8cfc05b1: Verifying Checksum [2022-07-15T21:04:48.612Z] d65c8cfc05b1: Download complete [2022-07-15T21:04:48.890Z] 699f458cf7ca: Verifying Checksum [2022-07-15T21:04:48.890Z] 699f458cf7ca: Download complete [2022-07-15T21:04:49.163Z] 8998bd30e6a1: Verifying Checksum [2022-07-15T21:04:49.164Z] 8998bd30e6a1: Download complete [2022-07-15T21:04:51.148Z] 2437ff75d9bd: Verifying Checksum [2022-07-15T21:04:51.427Z] 2437ff75d9bd: Download complete [2022-07-15T21:04:53.432Z] 8998bd30e6a1: Pull complete [2022-07-15T21:04:54.031Z] 04944245beec: Pull complete [2022-07-15T21:04:55.469Z] 699f458cf7ca: Pull complete [2022-07-15T21:04:55.746Z] 765212b225bb: Pull complete [2022-07-15T21:04:56.362Z] f23df028b6ca: Pull complete [2022-07-15T21:04:56.962Z] d65c8cfc05b1: Pull complete [2022-07-15T21:05:12.083Z] 2437ff75d9bd: Pull complete [2022-07-15T21:05:12.083Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-15T21:05:12.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T21:05:12.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:05:12.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-20232 does not seem to be running inside a container [2022-07-15T21:05:12.583Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-15T21:05:15.161Z] $ docker top c45dab8e362872ae009988844edce19ee5d5dedb577e18ccaa37e70a1b9d3147 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:16.133Z] ---> job-cost.sh [2022-07-15T21:05:16.133Z] lf-activate-venv: SKIPPING [2022-07-15T21:05:16.133Z] INFO: No Stack... [2022-07-15T21:05:16.728Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-15T21:05:17.702Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T21:05:18.381Z] + + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-15T21:05:18.381Z] cut -d, -f6 [Pipeline] lock [2022-07-15T21:05:18.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [2022-07-15T21:05:18.465Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] did not exist. Created. [2022-07-15T21:05:18.465Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T21:05:19.210Z] /w/workspace/device-onvif-camera/1@tmp/durable-808aa453/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-15T21:05:19.940Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-15T21:05:19.976Z] Warning: overwriting stash ‘stack-cost’ [2022-07-15T21:05:20.033Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T21:05:20.047Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-110-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T21:05:20.134Z] $ docker stop --time=1 c45dab8e362872ae009988844edce19ee5d5dedb577e18ccaa37e70a1b9d3147 [2022-07-15T21:05:21.637Z] $ docker rm -f c45dab8e362872ae009988844edce19ee5d5dedb577e18ccaa37e70a1b9d3147 [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-07-15T21:05:22.604Z] provisioning config files... [2022-07-15T21:05:22.618Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config1225060503334089875tmp [Pipeline] { [Pipeline] sh [2022-07-15T21:05:22.969Z] + set +x [2022-07-15T21:05:22.969Z] + curl -s https://codecov.io/bash [2022-07-15T21:05:22.969Z] + bash -s -- [2022-07-15T21:05:22.969Z] [2022-07-15T21:05:22.969Z] _____ _ [2022-07-15T21:05:22.969Z] / ____| | | [2022-07-15T21:05:22.969Z] | | ___ __| | ___ ___ _____ __ [2022-07-15T21:05:22.969Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-15T21:05:22.969Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-15T21:05:22.969Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-15T21:05:22.970Z] Bash-1.0.6 [2022-07-15T21:05:22.970Z] [2022-07-15T21:05:22.970Z] [2022-07-15T21:05:22.970Z] ==> git version 2.25.1 found [2022-07-15T21:05:22.970Z] ==> 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-07-15T21:05:22.970Z] Release-Date: 2020-01-08 [2022-07-15T21:05:22.970Z] 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-07-15T21:05:22.970Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-15T21:05:22.970Z] ==> Jenkins CI detected. [2022-07-15T21:05:22.970Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-110 [2022-07-15T21:05:22.970Z] project root: . [2022-07-15T21:05:22.970Z] --> token set from env [2022-07-15T21:05:22.970Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-15T21:05:22.970Z] ==> Running gcov in . (disable via -X gcov) [2022-07-15T21:05:22.970Z] ==> Python coveragepy not found [2022-07-15T21:05:22.970Z] ==> Searching for coverage reports in: [2022-07-15T21:05:22.970Z] + . [2022-07-15T21:05:23.229Z] -> Found 1 reports [2022-07-15T21:05:23.229Z] ==> Detecting git/mercurial file structure [2022-07-15T21:05:23.229Z] ==> Reading reports [2022-07-15T21:05:23.229Z] + ./coverage.out bytes=70262 [2022-07-15T21:05:23.229Z] ==> Appending adjustments [2022-07-15T21:05:23.229Z] https://docs.codecov.io/docs/fixing-reports [2022-07-15T21:05:23.229Z] + Found adjustments [2022-07-15T21:05:23.229Z] ==> Gzipping contents [2022-07-15T21:05:23.229Z] 12K /tmp/codecov.O6Z8Nv.gz [2022-07-15T21:05:23.229Z] ==> Uploading reports [2022-07-15T21:05:23.229Z] url: https://codecov.io [2022-07-15T21:05:23.229Z] query: branch=PR-110&commit=9841299ce95b8434cbe8d08236472f666f1c5798&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-15T21:05:23.229Z] -> Pinging Codecov [2022-07-15T21:05:23.229Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-110&commit=9841299ce95b8434cbe8d08236472f666f1c5798&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-110%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=110&job=&cmd_args= [2022-07-15T21:05:23.489Z] -> Uploading to [2022-07-15T21:05:23.489Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-15/F29A59C45E3A92E06B3E522C9905F8EF/9841299ce95b8434cbe8d08236472f666f1c5798/0012eaff-4725-4800-9611-a2f6661f47f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T210523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bf576912455f38fc7d6fc25fb0804e0b8675a15e892bd773d5ee8b0a3b71abe [2022-07-15T21:05:23.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T21:05:23.489Z] Dload Upload Total Spent Left Speed [2022-07-15T21:05:23.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9532 0 0 100 9532 0 38435 --:--:-- --:--:-- --:--:-- 38435 [2022-07-15T21:05:23.749Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/9841299ce95b8434cbe8d08236472f666f1c5798 [Pipeline] } [2022-07-15T21:05:23.777Z] 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-07-15T21:05:25.537Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-110/archives ] [2022-07-15T21:05:25.537Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:05:25.537Z] total 16 [2022-07-15T21:05:25.537Z] drwxr-xr-x 3 root root 4096 Jul 15 20:57 . [2022-07-15T21:05:25.537Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 20:57 .. [2022-07-15T21:05:25.537Z] drwxr-xr-x 2 root root 4096 Jul 15 20:57 cost [2022-07-15T21:05:25.537Z] -rw-r--r-- 1 root root 90 Jul 15 20:57 cost.csv [2022-07-15T21:05:25.537Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:05:25.537Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-110/archives [2022-07-15T21:05:25.537Z] total 16 [2022-07-15T21:05:25.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 20:57 . [2022-07-15T21:05:25.537Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 20:57 .. [2022-07-15T21:05:25.537Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 20:57 cost [2022-07-15T21:05:25.537Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 15 20:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:25.870Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:26.760Z] ---> package-listing.sh [2022-07-15T21:05:26.760Z] ++ facter osfamily [2022-07-15T21:05:26.760Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-15T21:05:27.023Z] + OS_FAMILY=debian [2022-07-15T21:05:27.023Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-110 [2022-07-15T21:05:27.023Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-15T21:05:27.023Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-15T21:05:27.023Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-15T21:05:27.023Z] + PACKAGES=/tmp/packages_start.txt [2022-07-15T21:05:27.023Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-15T21:05:27.023Z] + PACKAGES=/tmp/packages_end.txt [2022-07-15T21:05:27.023Z] + case "${OS_FAMILY}" in [2022-07-15T21:05:27.023Z] + dpkg -l [2022-07-15T21:05:27.023Z] + grep '^ii' [2022-07-15T21:05:27.023Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-15T21:05:27.023Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-15T21:05:27.023Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-15T21:05:27.023Z] + '[' /w/workspace/undry_device-onvif-camera_PR-110 ']' [2022-07-15T21:05:27.023Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-110/archives/ [2022-07-15T21:05:27.023Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-110/archives/ [Pipeline] echo [2022-07-15T21:05:27.055Z] 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-110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-15T21:05:27.346Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T21:05:27.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T21:05:27.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T21:05:28.164Z] prd-ubuntu20.04-docker-8c-8g-20231 does not seem to be running inside a container [2022-07-15T21:05:28.204Z] $ 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-110/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-110 -v /w/workspace/undry_device-onvif-camera_PR-110:/w/workspace/undry_device-onvif-camera_PR-110:rw,z -v /w/workspace/undry_device-onvif-camera_PR-110@tmp:/w/workspace/undry_device-onvif-camera_PR-110@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-07-15T21:05:28.400Z] $ docker top 2f167021b230b0104bec561b5c40e3ce42e444f645753c2dc3814e292ba7651f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T21:05:28.799Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-15T21:05:29.116Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-15T21:05:29.423Z] + ls /var/log/sa-host [2022-07-15T21:05:29.423Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T21:05:29.605Z] provisioning config files... [2022-07-15T21:05:29.614Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-110@tmp/config4249804149763314655tmp [Pipeline] { [Pipeline] echo [2022-07-15T21:05:29.661Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:29.974Z] ---> create-netrc.sh [Pipeline] } [2022-07-15T21:05:30.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:30.404Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-15T21:05:30.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:30.753Z] ---> sudo-logs.sh [2022-07-15T21:05:30.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-15T21:05:30.833Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:31.146Z] ---> job-cost.sh [2022-07-15T21:05:31.146Z] lf-activate-venv: SKIPPING [2022-07-15T21:05:31.146Z] DEBUG: total: 0.2199999988079071 [2022-07-15T21:05:31.146Z] INFO: Retrieving Stack Cost... [2022-07-15T21:05:31.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T21:05:31.978Z] INFO: Archiving Costs [Pipeline] echo [2022-07-15T21:05:32.010Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T21:05:32.330Z] ---> logs-deploy.sh [2022-07-15T21:05:32.330Z] lf-activate-venv: SKIPPING [2022-07-15T21:05:32.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-110/1 [2022-07-15T21:05:32.330Z] INFO: archiving workspace using pattern(s): [2022-07-15T21:05:33.273Z] Archives upload complete. [2022-07-15T21:05:33.273Z] INFO: archiving logs to Nexus