Pull request #108 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7487ad10d00543b471dbeb0441a080f9856c7acf+82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 (98a02e42d461c4694349fb122eb754678c724186) 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-ssh18062206875774913209.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-ssh2613451171959936628.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-108/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-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5690158326513463030.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-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9255686285915487754.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-ssh14242225654162901373.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-108/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-108/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5135440229200691904.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19945’ Running on prd-ubuntu20.04-docker-8c-8g-19950 in /w/workspace/undry_device-onvif-camera_PR-108 [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-108 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 into PR head commit 7487ad10d00543b471dbeb0441a080f9856c7acf Merge succeeded, producing 7487ad10d00543b471dbeb0441a080f9856c7acf Checking out Revision 7487ad10d00543b471dbeb0441a080f9856c7acf (PR-108) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # 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 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-14T15:41:27.085Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-14T15:41:27.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-14T15:41:27.340Z] ========================================================= [2022-07-14T15:41:27.340Z] EdgeX Global Pipelines Version Info [2022-07-14T15:41:27.340Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:41:28.170Z] ------------------- [2022-07-14T15:41:28.170Z] stable info: [2022-07-14T15:41:28.170Z] ------------------- [2022-07-14T15:41:28.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T15:41:28.170Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T15:41:28.170Z] Message: update stable to v1.0.238 [2022-07-14T15:41:28.745Z] ------------------- [2022-07-14T15:41:28.745Z] experimental info: [2022-07-14T15:41:28.745Z] ------------------- [2022-07-14T15:41:28.745Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T15:41:28.745Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T15:41:28.745Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-14T15:41:29.125Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-14T15:41:29.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-14T15:41:29.204Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-14T15:41:29.245Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-14T15:41:29.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-14T15:41:29.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-14T15:41:29.356Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-14T15:41:29.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-14T15:41:29.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-14T15:41:29.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-14T15:41:29.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-14T15:41:29.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-14T15:41:29.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-14T15:41:29.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-14T15:41:29.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T15:41:29.689Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T15:41:29.726Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T15:41:29.763Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T15:41:29.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-14T15:41:29.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-14T15:41:29.888Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-14T15:41:29.927Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-14T15:41:29.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-14T15:41:30.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-14T15:41:30.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-14T15:41:30.091Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-14T15:41:30.132Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-14T15:41:30.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo [2022-07-14T15:41:30.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo [2022-07-14T15:41:30.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo [2022-07-14T15:41:30.296Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7487ad10d00543b471dbeb0441a080f9856c7acf [Pipeline] echo [2022-07-14T15:41:30.337Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7487ad1 [Pipeline] echo [2022-07-14T15:41:30.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T15:41:30.493Z] provisioning config files... [2022-07-14T15:41:30.507Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config4122984185422775704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:41:30.855Z] ---> docker-login.sh [2022-07-14T15:41:30.855Z] nexus3.edgexfoundry.org:10001 [2022-07-14T15:41:31.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:31.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:31.117Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:31.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:31.117Z] [2022-07-14T15:41:31.117Z] Login Succeeded [2022-07-14T15:41:31.117Z] nexus3.edgexfoundry.org:10002 [2022-07-14T15:41:31.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:31.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:31.379Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:31.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:31.379Z] [2022-07-14T15:41:31.379Z] Login Succeeded [2022-07-14T15:41:31.379Z] nexus3.edgexfoundry.org:10003 [2022-07-14T15:41:31.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:31.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:31.379Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:31.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:31.379Z] [2022-07-14T15:41:31.379Z] Login Succeeded [2022-07-14T15:41:31.379Z] nexus3.edgexfoundry.org:10004 [2022-07-14T15:41:31.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:31.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:31.643Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:31.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:31.643Z] [2022-07-14T15:41:31.643Z] Login Succeeded [2022-07-14T15:41:31.643Z] docker.io [2022-07-14T15:41:31.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:32.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:32.218Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:32.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:32.218Z] [2022-07-14T15:41:32.218Z] Login Succeeded [2022-07-14T15:41:32.218Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T15:41:32.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-14T15:41:32.893Z] + git rev-list -1 --merges 7487ad10d00543b471dbeb0441a080f9856c7acf~1..7487ad10d00543b471dbeb0441a080f9856c7acf [Pipeline] echo [2022-07-14T15:41:32.941Z] -----------> git rev-list -1 --merges 7487ad10d00543b471dbeb0441a080f9856c7acf~1..7487ad10d00543b471dbeb0441a080f9856c7acf 7487ad10d00543b471dbeb0441a080f9856c7acf [false] [Pipeline] sh [2022-07-14T15:41:33.258Z] + git log --format=format:%s -1 7487ad10d00543b471dbeb0441a080f9856c7acf [Pipeline] echo [2022-07-14T15:41:33.292Z] ========================================================= [2022-07-14T15:41:33.292Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-14T15:41:33.292Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T15:41:33.730Z] + git log --format=format:%s -1 7487ad10d00543b471dbeb0441a080f9856c7acf [Pipeline] echo [2022-07-14T15:41:33.763Z] [semverPrep] GIT_COMMIT: 7487ad10d00543b471dbeb0441a080f9856c7acf, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-07-14T15:41:33.799Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-14T15:41:34.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T15:41:34.171Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-14T15:41:34.171Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-14T15:41:34.171Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-14T15:41:34.171Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-14T15:41:34.171Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-14T15:41:34.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:41:34.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T15:41:34.599Z] [2022-07-14T15:41:34.599Z] 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-14T15:41:34.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T15:41:34.979Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-14T15:41:34.979Z] b85a868b505f: Pulling fs layer [2022-07-14T15:41:34.979Z] e2be974225ed: Pulling fs layer [2022-07-14T15:41:34.979Z] 339a4e72a1f5: Pulling fs layer [2022-07-14T15:41:34.979Z] 988bab9f4d93: Pulling fs layer [2022-07-14T15:41:34.979Z] 1469e6f7b9e6: Pulling fs layer [2022-07-14T15:41:34.979Z] eaf3925da568: Pulling fs layer [2022-07-14T15:41:34.979Z] bab4dde63d76: Pulling fs layer [2022-07-14T15:41:34.979Z] bde34c3a00c8: Pulling fs layer [2022-07-14T15:41:34.979Z] b352a97aabf1: Pulling fs layer [2022-07-14T15:41:34.979Z] 4872d77fe225: Pulling fs layer [2022-07-14T15:41:34.979Z] 5851b861e8e6: Pulling fs layer [2022-07-14T15:41:34.979Z] 988bab9f4d93: Waiting [2022-07-14T15:41:34.979Z] 1469e6f7b9e6: Waiting [2022-07-14T15:41:34.979Z] eaf3925da568: Waiting [2022-07-14T15:41:34.979Z] bab4dde63d76: Waiting [2022-07-14T15:41:34.979Z] bde34c3a00c8: Waiting [2022-07-14T15:41:34.979Z] b352a97aabf1: Waiting [2022-07-14T15:41:34.979Z] 4872d77fe225: Waiting [2022-07-14T15:41:34.979Z] 5851b861e8e6: Waiting [2022-07-14T15:41:34.979Z] e2be974225ed: Download complete [2022-07-14T15:41:34.979Z] 988bab9f4d93: Verifying Checksum [2022-07-14T15:41:34.979Z] 988bab9f4d93: Download complete [2022-07-14T15:41:35.243Z] 1469e6f7b9e6: Verifying Checksum [2022-07-14T15:41:35.243Z] 1469e6f7b9e6: Download complete [2022-07-14T15:41:35.243Z] eaf3925da568: Verifying Checksum [2022-07-14T15:41:35.243Z] eaf3925da568: Download complete [2022-07-14T15:41:35.243Z] 339a4e72a1f5: Verifying Checksum [2022-07-14T15:41:35.243Z] 339a4e72a1f5: Download complete [2022-07-14T15:41:35.243Z] bde34c3a00c8: Verifying Checksum [2022-07-14T15:41:35.243Z] bde34c3a00c8: Download complete [2022-07-14T15:41:35.243Z] b352a97aabf1: Verifying Checksum [2022-07-14T15:41:35.243Z] b352a97aabf1: Download complete [2022-07-14T15:41:35.243Z] 4872d77fe225: Verifying Checksum [2022-07-14T15:41:35.243Z] 4872d77fe225: Download complete [2022-07-14T15:41:35.243Z] 5851b861e8e6: Download complete [2022-07-14T15:41:35.243Z] b85a868b505f: Verifying Checksum [2022-07-14T15:41:35.243Z] b85a868b505f: Download complete [2022-07-14T15:41:35.820Z] bab4dde63d76: Verifying Checksum [2022-07-14T15:41:35.820Z] bab4dde63d76: Download complete [2022-07-14T15:41:36.763Z] b85a868b505f: Pull complete [2022-07-14T15:41:37.030Z] e2be974225ed: Pull complete [2022-07-14T15:41:37.601Z] 339a4e72a1f5: Pull complete [2022-07-14T15:41:37.601Z] 988bab9f4d93: Pull complete [2022-07-14T15:41:37.861Z] 1469e6f7b9e6: Pull complete [2022-07-14T15:41:37.861Z] eaf3925da568: Pull complete [2022-07-14T15:41:40.411Z] bab4dde63d76: Pull complete [2022-07-14T15:41:40.412Z] bde34c3a00c8: Pull complete [2022-07-14T15:41:40.412Z] b352a97aabf1: Pull complete [2022-07-14T15:41:40.412Z] 4872d77fe225: Pull complete [2022-07-14T15:41:40.412Z] 5851b861e8e6: Pull complete [2022-07-14T15:41:40.412Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-14T15:41:40.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T15:41:40.412Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:41:40.667Z] prd-ubuntu20.04-docker-8c-8g-19950 does not seem to be running inside a container [2022-07-14T15:41:40.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-14T15:41:42.160Z] $ docker top 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 -eo pid,comm [2022-07-14T15:41:42.234Z] 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-14T15:41:42.235Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T15:41:42.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T15:41:42.364Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T15:41:42.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T15:41:42.499Z] $ docker exec 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 ssh-agent [2022-07-14T15:41:42.641Z] SSH_AUTH_SOCK=/tmp/ssh-xy9tnmoENbju/agent.33 [2022-07-14T15:41:42.641Z] SSH_AGENT_PID=40 [2022-07-14T15:41:42.648Z] Running ssh-add (command line suppressed) [2022-07-14T15:41:42.779Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_8766752493380189773.key (/w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_8766752493380189773.key) [2022-07-14T15:41:42.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T15:41:43.139Z] + git tag --points-at HEAD [Pipeline] } [2022-07-14T15:41:43.165Z] $ docker exec --env ******** --env ******** 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 ssh-agent -k [2022-07-14T15:41:43.289Z] unset SSH_AUTH_SOCK; [2022-07-14T15:41:43.289Z] unset SSH_AGENT_PID; [2022-07-14T15:41:43.289Z] echo Agent pid 40 killed; [2022-07-14T15:41:43.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-14T15:41:43.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T15:41:43.393Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T15:41:43.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T15:41:43.538Z] $ docker exec 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 ssh-agent [2022-07-14T15:41:43.659Z] SSH_AUTH_SOCK=/tmp/ssh-pC8f0PPoN8Z4/agent.77 [2022-07-14T15:41:43.659Z] SSH_AGENT_PID=84 [2022-07-14T15:41:43.665Z] Running ssh-add (command line suppressed) [2022-07-14T15:41:43.785Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_2013273096234140402.key (/w/workspace/undry_device-onvif-camera_PR-108@tmp/private_key_2013273096234140402.key) [2022-07-14T15:41:43.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T15:41:44.135Z] + git semver init [2022-07-14T15:41:44.398Z] 2022-07-14 15:41:44,345 [run_init] DEBUG init version:0.0.0 force:False [2022-07-14T15:41:44.398Z] 2022-07-14 15:41:44,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-108/.semver [2022-07-14T15:41:44.398Z] 2022-07-14 15:41:44,346 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-108/.semver [2022-07-14T15:41:44.398Z] 2022-07-14 15:41:44,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-108/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-108, universal_newlines=False, shell=None, istream=None) [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,049 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-108/.git/info/exclude [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,050 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 with force:False [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,050 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,053 [execute] INFO git cat-file --batch-check [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-108/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,061 [execute] INFO git cat-file --batch [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-108/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T15:41:45.342Z] 2022-07-14 15:41:45,067 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-108/.semver/PR-108 [2022-07-14T15:41:45.342Z] 0.0.0 [Pipeline] } [2022-07-14T15:41:45.371Z] $ docker exec --env ******** --env ******** 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 ssh-agent -k [2022-07-14T15:41:45.496Z] unset SSH_AUTH_SOCK; [2022-07-14T15:41:45.497Z] unset SSH_AGENT_PID; [2022-07-14T15:41:45.497Z] echo Agent pid 84 killed; [2022-07-14T15:41:45.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T15:41:45.924Z] + git semver [Pipeline] } [2022-07-14T15:41:46.210Z] $ docker stop --time=1 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 [2022-07-14T15:41:47.543Z] $ docker rm -f 956c9cbd39ffbca51b9caae0d0ced0fbab582f7a21a953b62528469506d258c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T15:41:47.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-14T15:41:48.297Z] Stashed 1 file(s) [Pipeline] echo [2022-07-14T15:41:48.315Z] [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-14T15:41:48.898Z] provisioning config files... [2022-07-14T15:41:48.909Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config2509592756951940917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:41:49.247Z] ---> docker-login.sh [2022-07-14T15:41:49.247Z] nexus3.edgexfoundry.org:10001 [2022-07-14T15:41:49.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:49.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:49.247Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:49.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:49.247Z] [2022-07-14T15:41:49.247Z] Login Succeeded [2022-07-14T15:41:49.247Z] nexus3.edgexfoundry.org:10002 [2022-07-14T15:41:49.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:49.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:49.507Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:49.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:49.507Z] [2022-07-14T15:41:49.507Z] Login Succeeded [2022-07-14T15:41:49.507Z] nexus3.edgexfoundry.org:10003 [2022-07-14T15:41:49.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:49.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:49.507Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:49.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:49.507Z] [2022-07-14T15:41:49.507Z] Login Succeeded [2022-07-14T15:41:49.507Z] nexus3.edgexfoundry.org:10004 [2022-07-14T15:41:49.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:49.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:49.767Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:49.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:49.767Z] [2022-07-14T15:41:49.767Z] Login Succeeded [2022-07-14T15:41:49.767Z] docker.io [2022-07-14T15:41:49.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:41:50.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:41:50.032Z] Configure a credential helper to remove this warning. See [2022-07-14T15:41:50.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:41:50.032Z] [2022-07-14T15:41:50.032Z] Login Succeeded [2022-07-14T15:41:50.032Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T15:41:50.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T15:41:50.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T15:41:50.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T15:41:50.320Z] ========================================================= [2022-07-14T15:41:50.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-14T15:41:50.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:41:50.782Z] + 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-14T15:41:50.782Z] Sending build context to Docker daemon 9.391MB [2022-07-14T15:41:50.782Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T15:41:50.782Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-14T15:41:50.782Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-14T15:41:50.782Z] 2408cc74d12b: Pulling fs layer [2022-07-14T15:41:50.782Z] ea60b727a1ce: Pulling fs layer [2022-07-14T15:41:50.782Z] 30c4a7721957: Pulling fs layer [2022-07-14T15:41:50.782Z] 370296b7ddb6: Pulling fs layer [2022-07-14T15:41:50.782Z] 7c6cee850709: Pulling fs layer [2022-07-14T15:41:50.782Z] 39a5fcdaea64: Pulling fs layer [2022-07-14T15:41:50.782Z] d94ebbe4e438: Pulling fs layer [2022-07-14T15:41:50.782Z] bcfd1f05c69d: Pulling fs layer [2022-07-14T15:41:50.782Z] 59ccb84bbe0f: Pulling fs layer [2022-07-14T15:41:50.782Z] 7c6cee850709: Waiting [2022-07-14T15:41:50.782Z] 39a5fcdaea64: Waiting [2022-07-14T15:41:50.782Z] d94ebbe4e438: Waiting [2022-07-14T15:41:50.782Z] bcfd1f05c69d: Waiting [2022-07-14T15:41:50.782Z] 59ccb84bbe0f: Waiting [2022-07-14T15:41:50.782Z] 370296b7ddb6: Waiting [2022-07-14T15:41:51.048Z] 30c4a7721957: Verifying Checksum [2022-07-14T15:41:51.048Z] 30c4a7721957: Download complete [2022-07-14T15:41:51.048Z] ea60b727a1ce: Verifying Checksum [2022-07-14T15:41:51.048Z] ea60b727a1ce: Download complete [2022-07-14T15:41:51.048Z] 7c6cee850709: Verifying Checksum [2022-07-14T15:41:51.048Z] 7c6cee850709: Download complete [2022-07-14T15:41:51.048Z] 39a5fcdaea64: Verifying Checksum [2022-07-14T15:41:51.048Z] 39a5fcdaea64: Download complete [2022-07-14T15:41:51.048Z] 2408cc74d12b: Verifying Checksum [2022-07-14T15:41:51.048Z] 2408cc74d12b: Download complete [2022-07-14T15:41:51.048Z] d94ebbe4e438: Download complete [2022-07-14T15:41:51.048Z] 2408cc74d12b: Pull complete [2022-07-14T15:41:51.321Z] ea60b727a1ce: Pull complete [2022-07-14T15:41:51.322Z] 30c4a7721957: Pull complete [2022-07-14T15:41:51.585Z] 59ccb84bbe0f: Verifying Checksum [2022-07-14T15:41:51.585Z] 59ccb84bbe0f: Download complete [2022-07-14T15:41:51.845Z] bcfd1f05c69d: Verifying Checksum [2022-07-14T15:41:51.845Z] bcfd1f05c69d: Download complete [2022-07-14T15:41:51.845Z] 370296b7ddb6: Download complete [2022-07-14T15:41:57.140Z] 370296b7ddb6: Pull complete [2022-07-14T15:41:57.140Z] 7c6cee850709: Pull complete [2022-07-14T15:41:57.140Z] 39a5fcdaea64: Pull complete [2022-07-14T15:41:57.140Z] d94ebbe4e438: Pull complete [2022-07-14T15:41:59.046Z] bcfd1f05c69d: Pull complete [2022-07-14T15:41:59.620Z] 59ccb84bbe0f: Pull complete [2022-07-14T15:41:59.620Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-14T15:41:59.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-14T15:41:59.620Z] ---> a4fb48ad2a94 [2022-07-14T15:41:59.620Z] Step 3/13 : ARG MAKE="make build" [2022-07-14T15:42:02.170Z] ---> Running in 71c30fc265bb [2022-07-14T15:42:02.170Z] Removing intermediate container 71c30fc265bb [2022-07-14T15:42:02.170Z] ---> ed7ca3fccc40 [2022-07-14T15:42:02.170Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T15:42:02.170Z] ---> Running in eae9c9a6b293 [2022-07-14T15:42:02.170Z] Removing intermediate container eae9c9a6b293 [2022-07-14T15:42:02.170Z] ---> dd17c5ea947e [2022-07-14T15:42:02.170Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T15:42:02.170Z] ---> Running in 5f498a97d002 [2022-07-14T15:42:02.170Z] Removing intermediate container 5f498a97d002 [2022-07-14T15:42:02.170Z] ---> 24544f02d60f [2022-07-14T15:42:02.170Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-14T15:42:02.170Z] ---> Running in c210d0cebedb [2022-07-14T15:42:02.170Z] Removing intermediate container c210d0cebedb [2022-07-14T15:42:02.170Z] ---> 98a76c2e8125 [2022-07-14T15:42:02.170Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T15:42:02.170Z] ---> Running in a91286f263b5 [2022-07-14T15:42:02.741Z] Removing intermediate container a91286f263b5 [2022-07-14T15:42:02.741Z] ---> 707bf434b0cc [2022-07-14T15:42:02.741Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T15:42:03.002Z] ---> Running in 6966b04b8aa2 [2022-07-14T15:42:03.263Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-14T15:42:03.727Z] Still waiting to schedule task [2022-07-14T15:42:03.727Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19946’ [2022-07-14T15:42:04.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-14T15:42:04.468Z] OK: 211 MiB in 51 packages [2022-07-14T15:42:04.728Z] Removing intermediate container 6966b04b8aa2 [2022-07-14T15:42:04.728Z] ---> 1a9f8320607f [2022-07-14T15:42:04.728Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-14T15:42:04.728Z] ---> Running in 0ba2031c64c5 [2022-07-14T15:42:04.988Z] Removing intermediate container 0ba2031c64c5 [2022-07-14T15:42:04.988Z] ---> 2819a79b7e13 [2022-07-14T15:42:04.988Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-14T15:42:04.988Z] ---> 90af70072522 [2022-07-14T15:42:04.988Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T15:42:05.251Z] ---> Running in 3fcec2d51c94 [2022-07-14T15:42:20.169Z] Removing intermediate container 3fcec2d51c94 [2022-07-14T15:42:20.169Z] ---> 66d27de02d8c [2022-07-14T15:42:20.169Z] Step 12/13 : COPY . . [2022-07-14T15:42:20.169Z] ---> 233aa9881967 [2022-07-14T15:42:20.169Z] Step 13/13 : RUN ${MAKE} [2022-07-14T15:42:20.169Z] ---> Running in 0ecde3c0797d [2022-07-14T15:42:20.429Z] noop [2022-07-14T15:42:20.690Z] Removing intermediate container 0ecde3c0797d [2022-07-14T15:42:20.690Z] ---> ce968499c02e [2022-07-14T15:42:20.690Z] Successfully built ce968499c02e [2022-07-14T15:42:20.690Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:42:21.149Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-14T15:42:21.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:42:21.332Z] prd-ubuntu20.04-docker-8c-8g-19950 does not seem to be running inside a container [2022-07-14T15:42:21.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-14T15:42:21.801Z] $ docker top 0532b6840483419ef618c95df920bcefc97433c4a796e98e1713a39dd0056530 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T15:42:22.269Z] + go version [2022-07-14T15:42:22.269Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-14T15:42:22.305Z] $ docker stop --time=1 0532b6840483419ef618c95df920bcefc97433c4a796e98e1713a39dd0056530 [2022-07-14T15:42:23.594Z] $ docker rm -f 0532b6840483419ef618c95df920bcefc97433c4a796e98e1713a39dd0056530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:42:24.317Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-14T15:42:24.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:42:24.485Z] prd-ubuntu20.04-docker-8c-8g-19950 does not seem to be running inside a container [2022-07-14T15:42:24.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-14T15:42:24.910Z] $ docker top e5ec791a4833280d9706339ec4bb401a595373537d92fe99610d608d3cfc2753 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T15:42:25.330Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-108 [Pipeline] fileExists [Pipeline] sh [2022-07-14T15:42:25.677Z] + make test [2022-07-14T15:42:25.678Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-14T15:42:25.937Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-14T15:42:35.928Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-14T15:42:36.188Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 7.0% of statements [2022-07-14T15:42:36.188Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-14T15:42:40.388Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.899s coverage: 13.8% of statements [2022-07-14T15:42:48.519Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-14T15:42:50.427Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-14T15:42:50.427Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-14T15:42:50.686Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-14T15:42:51.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-14T15:42:51.312Z] $ docker stop --time=1 e5ec791a4833280d9706339ec4bb401a595373537d92fe99610d608d3cfc2753 [2022-07-14T15:42:53.121Z] $ docker rm -f e5ec791a4833280d9706339ec4bb401a595373537d92fe99610d608d3cfc2753 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T15:42:53.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-14T15:42:53.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-14T15:42:54.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-14T15:42:54.636Z] + ls -al . [2022-07-14T15:42:54.636Z] total 252 [2022-07-14T15:42:54.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 15:42 . [2022-07-14T15:42:54.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:41 .. [2022-07-14T15:42:54.636Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 15:42 .git [2022-07-14T15:42:54.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:41 .github [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 15:41 .gitignore [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 15:41 .golangci.yml [2022-07-14T15:42:54.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 15:41 .semver [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 15:41 Attribution.txt [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 15:41 CHANGELOG.md [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 15:41 Dockerfile [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 15:41 GOVERNANCE.md [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 15:41 Jenkinsfile [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 15:41 LICENSE [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 15:41 Makefile [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 15:41 OWNERS.md [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 15:41 README.md [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 15:41 VERSION [2022-07-14T15:42:54.636Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 15:41 bin [2022-07-14T15:42:54.636Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:41 cmd [2022-07-14T15:42:54.636Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 15:42 coverage.out [2022-07-14T15:42:54.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:41 doc [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 15:41 go.mod [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 15:41 go.sum [2022-07-14T15:42:54.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:41 internal [2022-07-14T15:42:54.636Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:41 snap [2022-07-14T15:42:54.636Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:42:55.049Z] + 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=7487ad10d00543b471dbeb0441a080f9856c7acf --label arch=amd64 --label version=0.0.0 . [2022-07-14T15:42:55.049Z] Sending build context to Docker daemon 9.462MB [2022-07-14T15:42:55.049Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T15:42:55.049Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-14T15:42:55.049Z] ---> ce968499c02e [2022-07-14T15:42:55.049Z] Step 3/26 : ARG MAKE="make build" [2022-07-14T15:42:55.310Z] ---> Running in eae422121972 [2022-07-14T15:42:55.310Z] Removing intermediate container eae422121972 [2022-07-14T15:42:55.310Z] ---> ba19761aea7b [2022-07-14T15:42:55.310Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T15:42:55.310Z] ---> Running in 7f3011b576fd [2022-07-14T15:42:55.310Z] Removing intermediate container 7f3011b576fd [2022-07-14T15:42:55.310Z] ---> 777e45a15e82 [2022-07-14T15:42:55.310Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T15:42:55.572Z] ---> Running in 007f89ee1aec [2022-07-14T15:42:55.572Z] Removing intermediate container 007f89ee1aec [2022-07-14T15:42:55.572Z] ---> 241ae8843e52 [2022-07-14T15:42:55.572Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-14T15:42:55.572Z] ---> Running in 47b1da05f74d [2022-07-14T15:42:55.572Z] Removing intermediate container 47b1da05f74d [2022-07-14T15:42:55.572Z] ---> 5590b905db42 [2022-07-14T15:42:55.572Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T15:42:55.832Z] ---> Running in 4c48c4733c0b [2022-07-14T15:42:56.400Z] Removing intermediate container 4c48c4733c0b [2022-07-14T15:42:56.400Z] ---> f0357c393630 [2022-07-14T15:42:56.400Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T15:42:56.400Z] ---> Running in 9ab5e0b0d36b [2022-07-14T15:42:56.660Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-14T15:42:57.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-14T15:42:57.861Z] OK: 211 MiB in 51 packages [2022-07-14T15:42:58.123Z] Removing intermediate container 9ab5e0b0d36b [2022-07-14T15:42:58.123Z] ---> 15d4332ac359 [2022-07-14T15:42:58.123Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-14T15:42:58.382Z] ---> Running in 9ed06d88edf2 [2022-07-14T15:42:58.382Z] Removing intermediate container 9ed06d88edf2 [2022-07-14T15:42:58.382Z] ---> b297d8fbf538 [2022-07-14T15:42:58.382Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-14T15:42:58.650Z] ---> 1a5f0ab1203b [2022-07-14T15:42:58.650Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T15:42:58.650Z] ---> Running in 5209449e11de [2022-07-14T15:42:59.220Z] Removing intermediate container 5209449e11de [2022-07-14T15:42:59.220Z] ---> b55b38bbd2ad [2022-07-14T15:42:59.220Z] Step 12/26 : COPY . . [2022-07-14T15:42:59.788Z] ---> 79ca1af5a7ef [2022-07-14T15:42:59.788Z] Step 13/26 : RUN ${MAKE} [2022-07-14T15:42:59.788Z] ---> Running in 7f10cb2eb58f [2022-07-14T15:43:00.047Z] 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-14T15:43:22.003Z] Removing intermediate container 7f10cb2eb58f [2022-07-14T15:43:22.004Z] ---> a9c0aa0c5383 [2022-07-14T15:43:22.004Z] Step 14/26 : FROM alpine:3.15 [2022-07-14T15:43:22.004Z] 3.15: Pulling from library/alpine [2022-07-14T15:43:22.004Z] df9b9388f04a: Pulling fs layer [2022-07-14T15:43:22.004Z] df9b9388f04a: Verifying Checksum [2022-07-14T15:43:22.004Z] df9b9388f04a: Download complete [2022-07-14T15:43:22.004Z] df9b9388f04a: Pull complete [2022-07-14T15:43:22.004Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-14T15:43:22.004Z] Status: Downloaded newer image for alpine:3.15 [2022-07-14T15:43:22.004Z] ---> 0ac33e5f5afa [2022-07-14T15:43:22.004Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-14T15:43:22.004Z] ---> Running in 9b44ad694e46 [2022-07-14T15:43:22.004Z] Removing intermediate container 9b44ad694e46 [2022-07-14T15:43:22.004Z] ---> 1b6d3ea26171 [2022-07-14T15:43:22.004Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-14T15:43:22.004Z] ---> Running in ebb5c5739670 [2022-07-14T15:43:22.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-14T15:43:22.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-14T15:43:22.004Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-14T15:43:22.004Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-14T15:43:22.004Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-14T15:43:22.004Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-14T15:43:22.004Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-14T15:43:22.004Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-14T15:43:22.004Z] Executing busybox-1.34.1-r5.trigger [2022-07-14T15:43:22.004Z] OK: 8 MiB in 20 packages [2022-07-14T15:43:22.577Z] Removing intermediate container ebb5c5739670 [2022-07-14T15:43:22.577Z] ---> 5a1e29ee6048 [2022-07-14T15:43:22.577Z] Step 17/26 : WORKDIR / [2022-07-14T15:43:22.577Z] ---> Running in ba593fc9eacc [2022-07-14T15:43:22.577Z] Removing intermediate container ba593fc9eacc [2022-07-14T15:43:22.577Z] ---> 9a552087cf61 [2022-07-14T15:43:22.577Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-14T15:43:23.150Z] ---> 4536a4f9be76 [2022-07-14T15:43:23.150Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-14T15:43:23.411Z] ---> 58896d3bb8ba [2022-07-14T15:43:23.411Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-14T15:43:23.411Z] ---> a89293dd481a [2022-07-14T15:43:23.411Z] Step 21/26 : EXPOSE 59984 [2022-07-14T15:43:23.411Z] ---> Running in f7d3f42a25da [2022-07-14T15:43:23.671Z] Removing intermediate container f7d3f42a25da [2022-07-14T15:43:23.672Z] ---> 391ac13ffaa0 [2022-07-14T15:43:23.672Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-14T15:43:23.672Z] ---> Running in 968895b3c071 [2022-07-14T15:43:23.672Z] Removing intermediate container 968895b3c071 [2022-07-14T15:43:23.672Z] ---> 911c247b4223 [2022-07-14T15:43:23.672Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-14T15:43:23.672Z] ---> Running in b394dd3905bb [2022-07-14T15:43:23.941Z] Removing intermediate container b394dd3905bb [2022-07-14T15:43:23.941Z] ---> 69bf46509971 [2022-07-14T15:43:23.941Z] Step 24/26 : LABEL arch=amd64 [2022-07-14T15:43:23.941Z] ---> Running in 13c336a586e1 [2022-07-14T15:43:23.941Z] Removing intermediate container 13c336a586e1 [2022-07-14T15:43:23.941Z] ---> cc755f79cf6a [2022-07-14T15:43:23.941Z] Step 25/26 : LABEL git_sha=7487ad10d00543b471dbeb0441a080f9856c7acf [2022-07-14T15:43:23.941Z] ---> Running in 57648528d51e [2022-07-14T15:43:24.203Z] Removing intermediate container 57648528d51e [2022-07-14T15:43:24.203Z] ---> 554520b5f084 [2022-07-14T15:43:24.203Z] Step 26/26 : LABEL version=0.0.0 [2022-07-14T15:43:24.203Z] ---> Running in a98c03176f8e [2022-07-14T15:43:24.203Z] Removing intermediate container a98c03176f8e [2022-07-14T15:43:24.203Z] ---> 5c98c8280126 [2022-07-14T15:43:24.203Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-14T15:43:24.203Z] Successfully built 5c98c8280126 [2022-07-14T15:43:24.203Z] 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-14T15:43:25.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T15:43:25.074Z] [2022-07-14T15:43:25.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:43:25.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T15:43:25.446Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-14T15:43:25.446Z] 5eb5b503b376: Pulling fs layer [2022-07-14T15:43:25.446Z] 5c69ac0246d0: Pulling fs layer [2022-07-14T15:43:25.446Z] ec43610c2a17: Pulling fs layer [2022-07-14T15:43:25.446Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-14T15:43:25.446Z] 33b1e0a273af: Pulling fs layer [2022-07-14T15:43:25.446Z] 5d3b04190fa2: Pulling fs layer [2022-07-14T15:43:25.446Z] 3a2ae6a8a46f: Waiting [2022-07-14T15:43:25.446Z] 33b1e0a273af: Waiting [2022-07-14T15:43:25.446Z] 2f39f015ded8: Pulling fs layer [2022-07-14T15:43:25.446Z] 5d3b04190fa2: Waiting [2022-07-14T15:43:25.446Z] 2f39f015ded8: Waiting [2022-07-14T15:43:25.447Z] 5c69ac0246d0: Verifying Checksum [2022-07-14T15:43:25.447Z] 5c69ac0246d0: Download complete [2022-07-14T15:43:25.447Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-14T15:43:25.708Z] 33b1e0a273af: Verifying Checksum [2022-07-14T15:43:25.708Z] 33b1e0a273af: Download complete [2022-07-14T15:43:25.708Z] ec43610c2a17: Verifying Checksum [2022-07-14T15:43:25.708Z] ec43610c2a17: Download complete [2022-07-14T15:43:25.708Z] 5d3b04190fa2: Verifying Checksum [2022-07-14T15:43:25.708Z] 5d3b04190fa2: Download complete [2022-07-14T15:43:25.708Z] 5eb5b503b376: Verifying Checksum [2022-07-14T15:43:25.708Z] 5eb5b503b376: Download complete [2022-07-14T15:43:26.649Z] 2f39f015ded8: Download complete [2022-07-14T15:43:27.217Z] 5eb5b503b376: Pull complete [2022-07-14T15:43:27.218Z] 5c69ac0246d0: Pull complete [2022-07-14T15:43:27.784Z] ec43610c2a17: Pull complete [2022-07-14T15:43:27.784Z] 3a2ae6a8a46f: Pull complete [2022-07-14T15:43:28.044Z] 33b1e0a273af: Pull complete [2022-07-14T15:43:28.044Z] 5d3b04190fa2: Pull complete [2022-07-14T15:43:33.316Z] 2f39f015ded8: Pull complete [2022-07-14T15:43:33.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-14T15:43:33.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T15:43:33.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:43:33.568Z] prd-ubuntu20.04-docker-8c-8g-19950 does not seem to be running inside a container [2022-07-14T15:43:33.603Z] $ 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-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@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-14T15:43:35.362Z] $ docker top a6deb77030124bd73b6630760879cb7df4e2365473a35eb9845abd3119d452ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:43:35.822Z] ---> job-cost.sh [2022-07-14T15:43:35.822Z] lf-activate-venv: SKIPPING [2022-07-14T15:43:35.822Z] INFO: No Stack... [2022-07-14T15:43:36.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T15:43:36.658Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T15:43:36.983Z] + cat /w/workspace/undry_device-onvif-camera_PR-108/archives/cost.csv [2022-07-14T15:43:36.983Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T15:43:37.024Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [2022-07-14T15:43:37.029Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] did not exist. Created. [2022-07-14T15:43:37.029Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T15:43:37.499Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-14T15:43:37.573Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T15:43:37.587Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T15:43:37.662Z] $ docker stop --time=1 a6deb77030124bd73b6630760879cb7df4e2365473a35eb9845abd3119d452ba [2022-07-14T15:43:38.850Z] $ docker rm -f a6deb77030124bd73b6630760879cb7df4e2365473a35eb9845abd3119d452ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-14T15:44:56.933Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19954 in /w/workspace/undry_device-onvif-camera_PR-108 [Pipeline] { [Pipeline] ws [2022-07-14T15:44:56.973Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-14T15:44:57.057Z] Selected Git installation does not exist. Using Default [2022-07-14T15:44:57.057Z] The recommended git tool is: NONE [2022-07-14T15:45:05.378Z] using credential edgex-jenkins-ssh [2022-07-14T15:45:05.396Z] Cloning the remote Git repository [2022-07-14T15:45:05.462Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-14T15:45:05.549Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-14T15:45:05.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-14T15:45:05.655Z] > git --version # timeout=10 [2022-07-14T15:45:05.674Z] > git --version # 'git version 2.25.1' [2022-07-14T15:45:05.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T15:45:05.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T15:45:07.399Z] Merging remotes/origin/main commit 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 into PR head commit 7487ad10d00543b471dbeb0441a080f9856c7acf [2022-07-14T15:45:07.729Z] Merge succeeded, producing 7487ad10d00543b471dbeb0441a080f9856c7acf [2022-07-14T15:45:07.730Z] Checking out Revision 7487ad10d00543b471dbeb0441a080f9856c7acf (PR-108) [2022-07-14T15:45:06.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-14T15:45:06.809Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T15:45:06.852Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-14T15:45:06.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-14T15:45:06.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T15:45:06.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-14T15:45:07.424Z] > git config core.sparsecheckout # timeout=10 [2022-07-14T15:45:07.453Z] > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 [2022-07-14T15:45:07.620Z] > git remote # timeout=10 [2022-07-14T15:45:07.642Z] > git config --get remote.origin.url # timeout=10 [2022-07-14T15:45:07.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T15:45:07.672Z] > git merge 82ba38f017d0903d0ec7d5b0f1fdb01a2bd17766 # timeout=10 [2022-07-14T15:45:07.701Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-14T15:45:07.741Z] > git config core.sparsecheckout # timeout=10 [2022-07-14T15:45:07.766Z] > git checkout -f 7487ad10d00543b471dbeb0441a080f9856c7acf # timeout=10 [2022-07-14T15:45:12.298Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" [2022-07-14T15:45:12.365Z] > git --version # timeout=10 [2022-07-14T15:45:12.378Z] > git --version # 'git version 2.25.1' [2022-07-14T15:45:12.396Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T15:45:13.505Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-14T15:45:13.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-14T15:45:13.505Z] Dload Upload Total Spent Left Speed [2022-07-14T15:45:13.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k [Pipeline] sh [2022-07-14T15:45:14.478Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-14T15:45:14.868Z] + sudo tee /etc/docker/daemon.new [2022-07-14T15:45:14.868Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-14T15:45:14.868Z] { [2022-07-14T15:45:14.868Z] "registry-mirrors": [ [2022-07-14T15:45:14.868Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-14T15:45:14.868Z] ], [2022-07-14T15:45:14.868Z] "bip": "10.250.0.254/24", [2022-07-14T15:45:14.868Z] "hosts": [ [2022-07-14T15:45:14.868Z] "tcp://0.0.0.0:5555", [2022-07-14T15:45:14.868Z] "unix:///var/run/docker.sock" [2022-07-14T15:45:14.868Z] ], [2022-07-14T15:45:14.868Z] "mtu": 1458, [2022-07-14T15:45:14.868Z] "selinux-enabled": true, [2022-07-14T15:45:14.868Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-14T15:45:14.868Z] } [Pipeline] sh [2022-07-14T15:45:15.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-14T15:45:15.625Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T15:45:34.041Z] provisioning config files... [2022-07-14T15:45:34.070Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config195999105958972042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:45:34.478Z] ---> docker-login.sh [2022-07-14T15:45:34.478Z] nexus3.edgexfoundry.org:10001 [2022-07-14T15:45:35.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:45:35.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:45:35.355Z] Configure a credential helper to remove this warning. See [2022-07-14T15:45:35.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:45:35.355Z] [2022-07-14T15:45:35.355Z] Login Succeeded [2022-07-14T15:45:35.355Z] nexus3.edgexfoundry.org:10002 [2022-07-14T15:45:35.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:45:35.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:45:35.960Z] Configure a credential helper to remove this warning. See [2022-07-14T15:45:35.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:45:35.960Z] [2022-07-14T15:45:35.960Z] Login Succeeded [2022-07-14T15:45:35.960Z] nexus3.edgexfoundry.org:10003 [2022-07-14T15:45:36.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:45:36.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:45:36.513Z] Configure a credential helper to remove this warning. See [2022-07-14T15:45:36.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:45:36.513Z] [2022-07-14T15:45:36.513Z] Login Succeeded [2022-07-14T15:45:36.513Z] nexus3.edgexfoundry.org:10004 [2022-07-14T15:45:36.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:45:37.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:45:37.077Z] Configure a credential helper to remove this warning. See [2022-07-14T15:45:37.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:45:37.077Z] [2022-07-14T15:45:37.077Z] Login Succeeded [2022-07-14T15:45:37.077Z] docker.io [2022-07-14T15:45:37.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T15:45:37.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T15:45:37.631Z] Configure a credential helper to remove this warning. See [2022-07-14T15:45:37.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T15:45:37.631Z] [2022-07-14T15:45:37.631Z] Login Succeeded [2022-07-14T15:45:37.905Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T15:45:37.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T15:45:38.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T15:45:38.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T15:45:38.397Z] ========================================================= [2022-07-14T15:45:38.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-14T15:45:38.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:45:38.904Z] + 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-14T15:45:39.511Z] Sending build context to Docker daemon 6.456MB [2022-07-14T15:45:39.511Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T15:45:39.511Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-14T15:45:39.511Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-14T15:45:39.511Z] b3c136eddcbf: Pulling fs layer [2022-07-14T15:45:39.511Z] c0a3192eca97: Pulling fs layer [2022-07-14T15:45:39.511Z] a050256f5b6f: Pulling fs layer [2022-07-14T15:45:39.511Z] 656be50a0ddc: Pulling fs layer [2022-07-14T15:45:39.511Z] 2bbca73fdf42: Pulling fs layer [2022-07-14T15:45:39.511Z] 46d945488cbd: Pulling fs layer [2022-07-14T15:45:39.511Z] 8a5474983e97: Pulling fs layer [2022-07-14T15:45:39.512Z] 329c88fbcd65: Pulling fs layer [2022-07-14T15:45:39.512Z] 656be50a0ddc: Waiting [2022-07-14T15:45:39.512Z] 46d945488cbd: Waiting [2022-07-14T15:45:39.512Z] 2bbca73fdf42: Waiting [2022-07-14T15:45:39.512Z] 8a5474983e97: Waiting [2022-07-14T15:45:39.512Z] 329c88fbcd65: Waiting [2022-07-14T15:45:39.512Z] a050256f5b6f: Verifying Checksum [2022-07-14T15:45:39.512Z] a050256f5b6f: Download complete [2022-07-14T15:45:39.512Z] c0a3192eca97: Verifying Checksum [2022-07-14T15:45:39.512Z] c0a3192eca97: Download complete [2022-07-14T15:45:39.792Z] 2bbca73fdf42: Verifying Checksum [2022-07-14T15:45:39.792Z] 2bbca73fdf42: Download complete [2022-07-14T15:45:39.792Z] 46d945488cbd: Verifying Checksum [2022-07-14T15:45:39.792Z] 46d945488cbd: Download complete [2022-07-14T15:45:39.792Z] b3c136eddcbf: Download complete [2022-07-14T15:45:40.793Z] b3c136eddcbf: Pull complete [2022-07-14T15:45:40.793Z] 329c88fbcd65: Verifying Checksum [2022-07-14T15:45:40.793Z] 329c88fbcd65: Download complete [2022-07-14T15:45:41.401Z] c0a3192eca97: Pull complete [2022-07-14T15:45:41.680Z] a050256f5b6f: Pull complete [2022-07-14T15:45:42.281Z] 8a5474983e97: Verifying Checksum [2022-07-14T15:45:42.281Z] 8a5474983e97: Download complete [2022-07-14T15:45:42.888Z] 656be50a0ddc: Download complete [2022-07-14T15:45:58.014Z] 656be50a0ddc: Pull complete [2022-07-14T15:45:58.014Z] 2bbca73fdf42: Pull complete [2022-07-14T15:45:58.014Z] 46d945488cbd: Pull complete [2022-07-14T15:46:03.477Z] 8a5474983e97: Pull complete [2022-07-14T15:46:05.469Z] 329c88fbcd65: Pull complete [2022-07-14T15:46:05.469Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-14T15:46:05.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-14T15:46:05.469Z] ---> ff4287adb874 [2022-07-14T15:46:05.469Z] Step 3/13 : ARG MAKE="make build" [2022-07-14T15:46:06.473Z] ---> Running in 3ee4228e2970 [2022-07-14T15:46:07.455Z] Removing intermediate container 3ee4228e2970 [2022-07-14T15:46:07.455Z] ---> 073af3bea5ed [2022-07-14T15:46:07.455Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T15:46:07.732Z] ---> Running in f58416ff78aa [2022-07-14T15:46:08.007Z] Removing intermediate container f58416ff78aa [2022-07-14T15:46:08.007Z] ---> ab9df9b5cd80 [2022-07-14T15:46:08.007Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T15:46:08.007Z] ---> Running in ee76558bcaab [2022-07-14T15:46:08.282Z] Removing intermediate container ee76558bcaab [2022-07-14T15:46:08.282Z] ---> 18f81143745a [2022-07-14T15:46:08.282Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-14T15:46:08.562Z] ---> Running in 884cf26d5cf6 [2022-07-14T15:46:08.838Z] Removing intermediate container 884cf26d5cf6 [2022-07-14T15:46:08.838Z] ---> c5999c8e2538 [2022-07-14T15:46:08.838Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T15:46:08.838Z] ---> Running in bb6c673bce46 [2022-07-14T15:46:10.826Z] Removing intermediate container bb6c673bce46 [2022-07-14T15:46:10.826Z] ---> 4ea2007a3bae [2022-07-14T15:46:10.826Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T15:46:10.826Z] ---> Running in dd1345aa3413 [2022-07-14T15:46:11.814Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T15:46:12.802Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T15:46:14.245Z] OK: 221 MiB in 51 packages [2022-07-14T15:46:14.856Z] Removing intermediate container dd1345aa3413 [2022-07-14T15:46:14.856Z] ---> d1903edf0fc2 [2022-07-14T15:46:14.856Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-14T15:46:14.856Z] ---> Running in b8fd5c6e7f7c [2022-07-14T15:46:15.132Z] Removing intermediate container b8fd5c6e7f7c [2022-07-14T15:46:15.132Z] ---> 0a20bda002c0 [2022-07-14T15:46:15.132Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-14T15:46:15.736Z] ---> 9060b3872ccc [2022-07-14T15:46:15.736Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T15:46:16.016Z] ---> Running in e14b829b3d87 [2022-07-14T15:47:03.046Z] Removing intermediate container e14b829b3d87 [2022-07-14T15:47:03.046Z] ---> 46220105a507 [2022-07-14T15:47:03.046Z] Step 12/13 : COPY . . [2022-07-14T15:47:03.642Z] ---> dd74da91730a [2022-07-14T15:47:03.642Z] Step 13/13 : RUN ${MAKE} [2022-07-14T15:47:03.642Z] ---> Running in a89680048860 [2022-07-14T15:47:04.623Z] noop [2022-07-14T15:47:05.602Z] Removing intermediate container a89680048860 [2022-07-14T15:47:05.602Z] ---> fc48d18ba348 [2022-07-14T15:47:05.602Z] Successfully built fc48d18ba348 [2022-07-14T15:47:05.602Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:47:06.098Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T15:47:06.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:47:06.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-19954 does not seem to be running inside a container [2022-07-14T15:47:06.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T15:47:07.969Z] $ docker top 9c9e720cfecd6de63c9f32e5d337d266a534b16d584d181fc263aaf8b9e6cb58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T15:47:08.966Z] + go version [2022-07-14T15:47:08.966Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-14T15:47:09.004Z] $ docker stop --time=1 9c9e720cfecd6de63c9f32e5d337d266a534b16d584d181fc263aaf8b9e6cb58 [2022-07-14T15:47:10.710Z] $ docker rm -f 9c9e720cfecd6de63c9f32e5d337d266a534b16d584d181fc263aaf8b9e6cb58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:47:11.649Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T15:47:11.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:47:11.974Z] prd-ubuntu20.04-docker-arm64-4c-16g-19954 does not seem to be running inside a container [2022-07-14T15:47:12.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T15:47:13.404Z] $ docker top d768e8ef0189fb42cc4e3a042462453945a3f4155b249b05ce3fa06ca13118f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T15:47:14.400Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-14T15:47:15.144Z] + make test [2022-07-14T15:47:15.144Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-14T15:47:17.144Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-14T15:48:54.047Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-14T15:48:59.498Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.098s coverage: 7.0% of statements [2022-07-14T15:48:59.498Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-14T15:49:26.335Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.828s coverage: 13.8% of statements [2022-07-14T15:49:26.335Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-14T15:49:26.335Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-14T15:49:48.573Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-14T15:49:48.573Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-14T15:49:48.573Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-14T15:49:50.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-14T15:49:50.638Z] $ docker stop --time=1 d768e8ef0189fb42cc4e3a042462453945a3f4155b249b05ce3fa06ca13118f9 [2022-07-14T15:49:52.550Z] $ docker rm -f d768e8ef0189fb42cc4e3a042462453945a3f4155b249b05ce3fa06ca13118f9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T15:49:53.768Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-14T15:49:53.807Z] Warning: overwriting stash ‘coverage-report’ [2022-07-14T15:49:54.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T15:49:55.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-14T15:49:55.470Z] + ls -al . [2022-07-14T15:49:55.470Z] total 248 [2022-07-14T15:49:55.470Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 15:49 . [2022-07-14T15:49:55.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:45 .. [2022-07-14T15:49:55.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 15:45 .git [2022-07-14T15:49:55.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:45 .github [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 14 15:45 .gitignore [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 15:45 .golangci.yml [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 14 15:45 Attribution.txt [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 14 15:45 CHANGELOG.md [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 14 15:45 Dockerfile [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 15:45 GOVERNANCE.md [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 14 15:45 Jenkinsfile [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 15:45 LICENSE [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 14 15:45 Makefile [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 14 15:45 OWNERS.md [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 14 15:45 README.md [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 15:41 VERSION [2022-07-14T15:49:55.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 15:45 bin [2022-07-14T15:49:55.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 15:45 cmd [2022-07-14T15:49:55.470Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 14 15:49 coverage.out [2022-07-14T15:49:55.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:45 doc [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 14 15:45 go.mod [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 14 15:45 go.sum [2022-07-14T15:49:55.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:45 internal [2022-07-14T15:49:55.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 15:45 snap [2022-07-14T15:49:55.470Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 14 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:49:55.936Z] + 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=7487ad10d00543b471dbeb0441a080f9856c7acf --label arch=arm64 --label version=0.0.0 . [2022-07-14T15:49:56.545Z] Sending build context to Docker daemon 6.527MB [2022-07-14T15:49:56.545Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T15:49:56.545Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-14T15:49:56.545Z] ---> fc48d18ba348 [2022-07-14T15:49:56.545Z] Step 3/26 : ARG MAKE="make build" [2022-07-14T15:49:56.545Z] ---> Running in 9f689264ff7b [2022-07-14T15:49:56.822Z] Removing intermediate container 9f689264ff7b [2022-07-14T15:49:56.822Z] ---> 749ddd49d197 [2022-07-14T15:49:56.822Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T15:49:57.099Z] ---> Running in 05e770810a39 [2022-07-14T15:49:57.376Z] Removing intermediate container 05e770810a39 [2022-07-14T15:49:57.376Z] ---> 24a193bdb288 [2022-07-14T15:49:57.376Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-14T15:49:57.376Z] ---> Running in 1104d2c23520 [2022-07-14T15:49:57.664Z] Removing intermediate container 1104d2c23520 [2022-07-14T15:49:57.664Z] ---> 3d591e01821b [2022-07-14T15:49:57.664Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-14T15:49:57.937Z] ---> Running in d1005881d4bb [2022-07-14T15:49:58.212Z] Removing intermediate container d1005881d4bb [2022-07-14T15:49:58.212Z] ---> b8ff06a6626e [2022-07-14T15:49:58.212Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T15:49:58.212Z] ---> Running in 1d267bbbb6e3 [2022-07-14T15:50:00.191Z] Removing intermediate container 1d267bbbb6e3 [2022-07-14T15:50:00.191Z] ---> bc973937e0b0 [2022-07-14T15:50:00.191Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T15:50:00.191Z] ---> Running in cd7831af86ac [2022-07-14T15:50:01.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T15:50:02.164Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T15:50:03.149Z] OK: 221 MiB in 51 packages [2022-07-14T15:50:04.140Z] Removing intermediate container cd7831af86ac [2022-07-14T15:50:04.140Z] ---> 54a2ca262b34 [2022-07-14T15:50:04.140Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-14T15:50:04.140Z] ---> Running in a6b7d03d3e91 [2022-07-14T15:50:04.415Z] Removing intermediate container a6b7d03d3e91 [2022-07-14T15:50:04.415Z] ---> 7de5e25ba2e0 [2022-07-14T15:50:04.415Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-14T15:50:05.023Z] ---> 2a859e87377b [2022-07-14T15:50:05.023Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T15:50:05.307Z] ---> Running in 3fec3351c4eb [2022-07-14T15:50:07.306Z] Removing intermediate container 3fec3351c4eb [2022-07-14T15:50:07.306Z] ---> a0d961112af7 [2022-07-14T15:50:07.306Z] Step 12/26 : COPY . . [2022-07-14T15:50:08.744Z] ---> 62e1a68a3807 [2022-07-14T15:50:08.744Z] Step 13/26 : RUN ${MAKE} [2022-07-14T15:50:08.744Z] ---> Running in c2ca363becc4 [2022-07-14T15:50:09.729Z] 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-14T15:52:46.708Z] Removing intermediate container c2ca363becc4 [2022-07-14T15:52:46.708Z] ---> 73e510edded5 [2022-07-14T15:52:46.708Z] Step 14/26 : FROM alpine:3.15 [2022-07-14T15:52:46.708Z] 3.15: Pulling from library/alpine [2022-07-14T15:52:46.708Z] 9981e73032c8: Pulling fs layer [2022-07-14T15:52:46.708Z] 9981e73032c8: Verifying Checksum [2022-07-14T15:52:46.708Z] 9981e73032c8: Download complete [2022-07-14T15:52:46.708Z] 9981e73032c8: Pull complete [2022-07-14T15:52:46.708Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-14T15:52:46.708Z] Status: Downloaded newer image for alpine:3.15 [2022-07-14T15:52:46.708Z] ---> 3fb3c9af89a9 [2022-07-14T15:52:46.708Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-14T15:52:46.708Z] ---> Running in 78b193ef12cb [2022-07-14T15:52:46.708Z] Removing intermediate container 78b193ef12cb [2022-07-14T15:52:46.708Z] ---> 794c6aae1693 [2022-07-14T15:52:46.708Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-14T15:52:46.708Z] ---> Running in 04fa36d68c18 [2022-07-14T15:52:46.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-14T15:52:46.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-14T15:52:46.708Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-14T15:52:46.708Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-14T15:52:46.708Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-14T15:52:46.708Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-14T15:52:46.708Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-14T15:52:46.708Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-14T15:52:46.708Z] Executing busybox-1.34.1-r5.trigger [2022-07-14T15:52:46.708Z] OK: 8 MiB in 20 packages [2022-07-14T15:52:46.708Z] Removing intermediate container 04fa36d68c18 [2022-07-14T15:52:46.708Z] ---> d712ccdd1537 [2022-07-14T15:52:46.708Z] Step 17/26 : WORKDIR / [2022-07-14T15:52:46.708Z] ---> Running in a690c2a0db0a [2022-07-14T15:52:46.708Z] Removing intermediate container a690c2a0db0a [2022-07-14T15:52:46.708Z] ---> 26be14700d3f [2022-07-14T15:52:46.708Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-14T15:52:46.708Z] ---> 153c8a758c54 [2022-07-14T15:52:46.708Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-14T15:52:46.708Z] ---> 26c75fb8f467 [2022-07-14T15:52:46.708Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-14T15:52:47.305Z] ---> e02f8e80299b [2022-07-14T15:52:47.305Z] Step 21/26 : EXPOSE 59984 [2022-07-14T15:52:47.305Z] ---> Running in def03c3e2fde [2022-07-14T15:52:47.909Z] Removing intermediate container def03c3e2fde [2022-07-14T15:52:47.909Z] ---> 214b3c11eea1 [2022-07-14T15:52:47.909Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-14T15:52:47.909Z] ---> Running in 0238983f7bde [2022-07-14T15:52:48.193Z] Removing intermediate container 0238983f7bde [2022-07-14T15:52:48.193Z] ---> 61787c9bb7fb [2022-07-14T15:52:48.193Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-14T15:52:48.193Z] ---> Running in 2d08b2acf6b1 [2022-07-14T15:52:48.796Z] Removing intermediate container 2d08b2acf6b1 [2022-07-14T15:52:48.796Z] ---> 24a36af63141 [2022-07-14T15:52:48.796Z] Step 24/26 : LABEL arch=arm64 [2022-07-14T15:52:48.796Z] ---> Running in 02fea3ceb348 [2022-07-14T15:52:49.070Z] Removing intermediate container 02fea3ceb348 [2022-07-14T15:52:49.070Z] ---> 55f121722bb4 [2022-07-14T15:52:49.070Z] Step 25/26 : LABEL git_sha=7487ad10d00543b471dbeb0441a080f9856c7acf [2022-07-14T15:52:49.344Z] ---> Running in cf0817267862 [2022-07-14T15:52:49.620Z] Removing intermediate container cf0817267862 [2022-07-14T15:52:49.620Z] ---> b265d8ffb4ab [2022-07-14T15:52:49.620Z] Step 26/26 : LABEL version=0.0.0 [2022-07-14T15:52:49.620Z] ---> Running in 079c534f1392 [2022-07-14T15:52:50.218Z] Removing intermediate container 079c534f1392 [2022-07-14T15:52:50.218Z] ---> 0cfac3a3b232 [2022-07-14T15:52:50.218Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-14T15:52:50.218Z] Successfully built 0cfac3a3b232 [2022-07-14T15:52:50.218Z] 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-14T15:52:51.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T15:52:51.026Z] [2022-07-14T15:52:51.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:52:51.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T15:52:51.720Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-14T15:52:51.720Z] 8998bd30e6a1: Pulling fs layer [2022-07-14T15:52:51.720Z] 04944245beec: Pulling fs layer [2022-07-14T15:52:51.720Z] 699f458cf7ca: Pulling fs layer [2022-07-14T15:52:51.720Z] 765212b225bb: Pulling fs layer [2022-07-14T15:52:51.720Z] f23df028b6ca: Pulling fs layer [2022-07-14T15:52:51.720Z] d65c8cfc05b1: Pulling fs layer [2022-07-14T15:52:51.720Z] 2437ff75d9bd: Pulling fs layer [2022-07-14T15:52:51.720Z] f23df028b6ca: Waiting [2022-07-14T15:52:51.720Z] 765212b225bb: Waiting [2022-07-14T15:52:51.720Z] d65c8cfc05b1: Waiting [2022-07-14T15:52:51.720Z] 2437ff75d9bd: Waiting [2022-07-14T15:52:51.720Z] 04944245beec: Verifying Checksum [2022-07-14T15:52:51.720Z] 04944245beec: Download complete [2022-07-14T15:52:51.720Z] 765212b225bb: Verifying Checksum [2022-07-14T15:52:51.720Z] 765212b225bb: Download complete [2022-07-14T15:52:51.720Z] f23df028b6ca: Verifying Checksum [2022-07-14T15:52:51.720Z] f23df028b6ca: Download complete [2022-07-14T15:52:51.720Z] d65c8cfc05b1: Verifying Checksum [2022-07-14T15:52:51.720Z] d65c8cfc05b1: Download complete [2022-07-14T15:52:51.996Z] 699f458cf7ca: Download complete [2022-07-14T15:52:52.273Z] 8998bd30e6a1: Verifying Checksum [2022-07-14T15:52:52.273Z] 8998bd30e6a1: Download complete [2022-07-14T15:52:54.906Z] 2437ff75d9bd: Verifying Checksum [2022-07-14T15:52:54.906Z] 2437ff75d9bd: Download complete [2022-07-14T15:52:56.420Z] 8998bd30e6a1: Pull complete [2022-07-14T15:52:57.019Z] 04944245beec: Pull complete [2022-07-14T15:52:58.460Z] 699f458cf7ca: Pull complete [2022-07-14T15:52:59.062Z] 765212b225bb: Pull complete [2022-07-14T15:53:00.049Z] f23df028b6ca: Pull complete [2022-07-14T15:53:00.049Z] d65c8cfc05b1: Pull complete [2022-07-14T15:53:15.177Z] 2437ff75d9bd: Pull complete [2022-07-14T15:53:15.177Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-14T15:53:15.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T15:53:15.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:53:15.573Z] prd-ubuntu20.04-docker-arm64-4c-16g-19954 does not seem to be running inside a container [2022-07-14T15:53:15.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-14T15:53:18.688Z] $ docker top cb8432613b427f5af9c509d0e82aff1d5d7426154826a4db64f1c0cb7a63e6de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:19.696Z] ---> job-cost.sh [2022-07-14T15:53:19.696Z] lf-activate-venv: SKIPPING [2022-07-14T15:53:19.696Z] INFO: No Stack... [2022-07-14T15:53:19.969Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-14T15:53:20.949Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T15:53:21.630Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-14T15:53:21.630Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T15:53:21.714Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [2022-07-14T15:53:21.718Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] did not exist. Created. [2022-07-14T15:53:21.718Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T15:53:22.478Z] /w/workspace/device-onvif-camera/1@tmp/durable-7aed2875/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-14T15:53:23.293Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-14T15:53:23.331Z] Warning: overwriting stash ‘stack-cost’ [2022-07-14T15:53:23.408Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T15:53:23.424Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T15:53:23.511Z] $ docker stop --time=1 cb8432613b427f5af9c509d0e82aff1d5d7426154826a4db64f1c0cb7a63e6de [2022-07-14T15:53:25.148Z] $ docker rm -f cb8432613b427f5af9c509d0e82aff1d5d7426154826a4db64f1c0cb7a63e6de [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-14T15:53:26.227Z] provisioning config files... [2022-07-14T15:53:26.236Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config5732899348069013397tmp [Pipeline] { [Pipeline] sh [2022-07-14T15:53:26.577Z] + set +x [2022-07-14T15:53:26.577Z] + curl -s https://codecov.io/bash [2022-07-14T15:53:26.577Z] + bash -s -- [2022-07-14T15:53:26.577Z] [2022-07-14T15:53:26.577Z] _____ _ [2022-07-14T15:53:26.577Z] / ____| | | [2022-07-14T15:53:26.577Z] | | ___ __| | ___ ___ _____ __ [2022-07-14T15:53:26.577Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-14T15:53:26.577Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-14T15:53:26.577Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-14T15:53:26.577Z] Bash-1.0.6 [2022-07-14T15:53:26.577Z] [2022-07-14T15:53:26.577Z] [2022-07-14T15:53:26.577Z] ==> git version 2.25.1 found [2022-07-14T15:53:26.577Z] ==> 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-14T15:53:26.577Z] Release-Date: 2020-01-08 [2022-07-14T15:53:26.577Z] 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-14T15:53:26.577Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-14T15:53:26.577Z] ==> Jenkins CI detected. [2022-07-14T15:53:26.577Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-108 [2022-07-14T15:53:26.577Z] project root: . [2022-07-14T15:53:26.577Z] --> token set from env [2022-07-14T15:53:26.577Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-14T15:53:26.577Z] ==> Running gcov in . (disable via -X gcov) [2022-07-14T15:53:26.577Z] ==> Python coveragepy not found [2022-07-14T15:53:26.577Z] ==> Searching for coverage reports in: [2022-07-14T15:53:26.577Z] + . [2022-07-14T15:53:26.577Z] -> Found 1 reports [2022-07-14T15:53:26.577Z] ==> Detecting git/mercurial file structure [2022-07-14T15:53:26.577Z] ==> Reading reports [2022-07-14T15:53:26.577Z] + ./coverage.out bytes=70262 [2022-07-14T15:53:26.577Z] ==> Appending adjustments [2022-07-14T15:53:26.577Z] https://docs.codecov.io/docs/fixing-reports [2022-07-14T15:53:26.838Z] + Found adjustments [2022-07-14T15:53:26.838Z] ==> Gzipping contents [2022-07-14T15:53:26.838Z] 12K /tmp/codecov.IxzNDI.gz [2022-07-14T15:53:26.838Z] ==> Uploading reports [2022-07-14T15:53:26.838Z] url: https://codecov.io [2022-07-14T15:53:26.838Z] query: branch=PR-108&commit=7487ad10d00543b471dbeb0441a080f9856c7acf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=108&job=&cmd_args= [2022-07-14T15:53:26.838Z] -> Pinging Codecov [2022-07-14T15:53:26.838Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-108&commit=7487ad10d00543b471dbeb0441a080f9856c7acf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-108%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=108&job=&cmd_args= [2022-07-14T15:53:27.098Z] -> Uploading to [2022-07-14T15:53:27.098Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-14/F29A59C45E3A92E06B3E522C9905F8EF/7487ad10d00543b471dbeb0441a080f9856c7acf/f8403d59-0e16-40b0-a685-3897dd0e915f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220714T155326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd2d3c970c1b18a464277873273dafcec661bc06c8ccd49ffc32951b279a36ae [2022-07-14T15:53:27.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-14T15:53:27.098Z] Dload Upload Total Spent Left Speed [2022-07-14T15:53:27.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9541 0 0 100 9541 0 37861 --:--:-- --:--:-- --:--:-- 37711 100 9541 0 0 100 9541 0 37711 --:--:-- --:--:-- --:--:-- 37711 [2022-07-14T15:53:27.359Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7487ad10d00543b471dbeb0441a080f9856c7acf [Pipeline] } [2022-07-14T15:53:27.386Z] 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-14T15:53:29.091Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-108/archives ] [2022-07-14T15:53:29.091Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-14T15:53:29.091Z] total 16 [2022-07-14T15:53:29.091Z] drwxr-xr-x 3 root root 4096 Jul 14 15:43 . [2022-07-14T15:53:29.091Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 15:43 .. [2022-07-14T15:53:29.091Z] drwxr-xr-x 2 root root 4096 Jul 14 15:43 cost [2022-07-14T15:53:29.091Z] -rw-r--r-- 1 root root 90 Jul 14 15:43 cost.csv [2022-07-14T15:53:29.091Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-14T15:53:29.091Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-108/archives [2022-07-14T15:53:29.091Z] total 16 [2022-07-14T15:53:29.091Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 15:43 . [2022-07-14T15:53:29.091Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 15:43 .. [2022-07-14T15:53:29.091Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 15:43 cost [2022-07-14T15:53:29.091Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 14 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:29.416Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:30.303Z] ---> package-listing.sh [2022-07-14T15:53:30.303Z] ++ facter osfamily [2022-07-14T15:53:30.303Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-14T15:53:30.563Z] + OS_FAMILY=debian [2022-07-14T15:53:30.563Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-108 [2022-07-14T15:53:30.563Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-14T15:53:30.563Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-14T15:53:30.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-14T15:53:30.563Z] + PACKAGES=/tmp/packages_start.txt [2022-07-14T15:53:30.563Z] + '[' /w/workspace/undry_device-onvif-camera_PR-108 ']' [2022-07-14T15:53:30.563Z] + PACKAGES=/tmp/packages_end.txt [2022-07-14T15:53:30.563Z] + case "${OS_FAMILY}" in [2022-07-14T15:53:30.563Z] + dpkg -l [2022-07-14T15:53:30.563Z] + grep '^ii' [2022-07-14T15:53:30.563Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-14T15:53:30.563Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-14T15:53:30.563Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-14T15:53:30.563Z] + '[' /w/workspace/undry_device-onvif-camera_PR-108 ']' [2022-07-14T15:53:30.563Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-108/archives/ [2022-07-14T15:53:30.563Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-108/archives/ [Pipeline] echo [2022-07-14T15:53:30.594Z] 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-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-14T15:53:30.891Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T15:53:31.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T15:53:31.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T15:53:31.686Z] prd-ubuntu20.04-docker-8c-8g-19950 does not seem to be running inside a container [2022-07-14T15:53:31.723Z] $ 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-108/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-108 -v /w/workspace/undry_device-onvif-camera_PR-108:/w/workspace/undry_device-onvif-camera_PR-108:rw,z -v /w/workspace/undry_device-onvif-camera_PR-108@tmp:/w/workspace/undry_device-onvif-camera_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-14T15:53:31.954Z] $ docker top 1b3944132fad67ff94c32b7cfd18758da03d75bffb3a567b7d7710cf01fbd27d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T15:53:32.350Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-14T15:53:32.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-14T15:53:32.981Z] + ls /var/log/sa-host [2022-07-14T15:53:32.981Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T15:53:33.117Z] provisioning config files... [2022-07-14T15:53:33.128Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-108@tmp/config1544672478631976964tmp [Pipeline] { [Pipeline] echo [2022-07-14T15:53:33.179Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:33.490Z] ---> create-netrc.sh [Pipeline] } [2022-07-14T15:53:33.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:33.942Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-14T15:53:33.974Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:34.289Z] ---> sudo-logs.sh [2022-07-14T15:53:34.289Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-14T15:53:34.372Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:34.692Z] ---> job-cost.sh [2022-07-14T15:53:34.692Z] lf-activate-venv: SKIPPING [2022-07-14T15:53:34.692Z] DEBUG: total: 0.2199999988079071 [2022-07-14T15:53:34.692Z] INFO: Retrieving Stack Cost... [2022-07-14T15:53:35.264Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T15:53:35.524Z] INFO: Archiving Costs [Pipeline] echo [2022-07-14T15:53:35.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T15:53:35.866Z] ---> logs-deploy.sh [2022-07-14T15:53:35.866Z] lf-activate-venv: SKIPPING [2022-07-14T15:53:35.866Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-108/1 [2022-07-14T15:53:35.866Z] INFO: archiving workspace using pattern(s): [2022-07-14T15:53:36.805Z] Archives upload complete. [2022-07-14T15:53:36.805Z] INFO: archiving logs to Nexus