Pull request #111 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 201cf242bae9e183bc4bdc133a26c0afb244aa26+58a46bebf81eee9640e76b602e43d09af82d89e1 (672f7d0bee1e028e4790dd0f0a694429d4515e1a) 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-ssh6934792949410719975.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-ssh1207517443368163442.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-111/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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16278455475543770219.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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10071684975298615376.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-ssh9947696747267872972.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-111/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-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14813132564600972219.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20366 in /w/workspace/undry_device-onvif-camera_PR-111 [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-111 # 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 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 Merge succeeded, producing 201cf242bae9e183bc4bdc133a26c0afb244aa26 Checking out Revision 201cf242bae9e183bc4bdc133a26c0afb244aa26 (PR-111) > 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/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # 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-18T03:28:59.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T03:28:59.522Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T03:28:59.623Z] ========================================================= [2022-07-18T03:28:59.623Z] EdgeX Global Pipelines Version Info [2022-07-18T03:28:59.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:29:00.451Z] ------------------- [2022-07-18T03:29:00.451Z] stable info: [2022-07-18T03:29:00.451Z] ------------------- [2022-07-18T03:29:00.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T03:29:00.451Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T03:29:00.451Z] Message: update stable to v1.0.238 [2022-07-18T03:29:01.029Z] ------------------- [2022-07-18T03:29:01.029Z] experimental info: [2022-07-18T03:29:01.029Z] ------------------- [2022-07-18T03:29:01.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T03:29:01.029Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T03:29:01.029Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T03:29:01.446Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-18T03:29:01.487Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-18T03:29:01.529Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T03:29:01.568Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T03:29:01.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T03:29:01.647Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T03:29:01.694Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T03:29:01.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T03:29:01.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T03:29:01.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T03:29:01.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T03:29:01.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-18T03:29:01.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T03:29:01.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T03:29:02.037Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T03:29:02.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T03:29:02.119Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T03:29:02.164Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T03:29:02.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T03:29:02.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T03:29:02.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T03:29:02.353Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T03:29:02.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T03:29:02.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T03:29:02.486Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T03:29:02.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T03:29:02.581Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T03:29:02.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo [2022-07-18T03:29:02.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo [2022-07-18T03:29:02.716Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo [2022-07-18T03:29:02.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo [2022-07-18T03:29:02.802Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 201cf24 [Pipeline] echo [2022-07-18T03:29:02.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T03:29:02.949Z] provisioning config files... [2022-07-18T03:29:02.965Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config1342115897291967397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:29:03.314Z] ---> docker-login.sh [2022-07-18T03:29:03.314Z] nexus3.edgexfoundry.org:10001 [2022-07-18T03:29:03.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:03.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:03.838Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:03.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:03.838Z] [2022-07-18T03:29:03.838Z] Login Succeeded [2022-07-18T03:29:03.838Z] nexus3.edgexfoundry.org:10002 [2022-07-18T03:29:03.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:04.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:04.102Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:04.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:04.102Z] [2022-07-18T03:29:04.102Z] Login Succeeded [2022-07-18T03:29:04.102Z] nexus3.edgexfoundry.org:10003 [2022-07-18T03:29:04.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:04.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:04.102Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:04.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:04.102Z] [2022-07-18T03:29:04.102Z] Login Succeeded [2022-07-18T03:29:04.102Z] nexus3.edgexfoundry.org:10004 [2022-07-18T03:29:04.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:04.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:04.363Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:04.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:04.363Z] [2022-07-18T03:29:04.363Z] Login Succeeded [2022-07-18T03:29:04.363Z] docker.io [2022-07-18T03:29:04.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:04.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:04.633Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:04.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:04.633Z] [2022-07-18T03:29:04.633Z] Login Succeeded [2022-07-18T03:29:04.633Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T03:29:04.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T03:29:05.289Z] + git rev-list -1 --merges 201cf242bae9e183bc4bdc133a26c0afb244aa26~1..201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo [2022-07-18T03:29:05.345Z] -----------> git rev-list -1 --merges 201cf242bae9e183bc4bdc133a26c0afb244aa26~1..201cf242bae9e183bc4bdc133a26c0afb244aa26 201cf242bae9e183bc4bdc133a26c0afb244aa26 [false] [Pipeline] sh [2022-07-18T03:29:05.657Z] + git log --format=format:%s -1 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo [2022-07-18T03:29:05.692Z] ========================================================= [2022-07-18T03:29:05.692Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T03:29:05.692Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T03:29:06.134Z] + git log --format=format:%s -1 201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] echo [2022-07-18T03:29:06.166Z] [semverPrep] GIT_COMMIT: 201cf242bae9e183bc4bdc133a26c0afb244aa26, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-07-18T03:29:06.198Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T03:29:06.597Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T03:29:06.598Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T03:29:06.598Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T03:29:06.598Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T03:29:06.598Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T03:29:06.598Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T03:29:06.598Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:29:07.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T03:29:07.124Z] [2022-07-18T03:29:07.124Z] 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-18T03:29:07.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T03:29:07.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T03:29:07.494Z] b85a868b505f: Pulling fs layer [2022-07-18T03:29:07.494Z] e2be974225ed: Pulling fs layer [2022-07-18T03:29:07.494Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T03:29:07.494Z] 988bab9f4d93: Pulling fs layer [2022-07-18T03:29:07.494Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T03:29:07.494Z] eaf3925da568: Pulling fs layer [2022-07-18T03:29:07.494Z] bab4dde63d76: Pulling fs layer [2022-07-18T03:29:07.494Z] bde34c3a00c8: Pulling fs layer [2022-07-18T03:29:07.494Z] b352a97aabf1: Pulling fs layer [2022-07-18T03:29:07.494Z] 4872d77fe225: Pulling fs layer [2022-07-18T03:29:07.494Z] 5851b861e8e6: Pulling fs layer [2022-07-18T03:29:07.494Z] 988bab9f4d93: Waiting [2022-07-18T03:29:07.494Z] 1469e6f7b9e6: Waiting [2022-07-18T03:29:07.494Z] bde34c3a00c8: Waiting [2022-07-18T03:29:07.494Z] bab4dde63d76: Waiting [2022-07-18T03:29:07.494Z] 5851b861e8e6: Waiting [2022-07-18T03:29:07.494Z] b352a97aabf1: Waiting [2022-07-18T03:29:07.494Z] 4872d77fe225: Waiting [2022-07-18T03:29:07.494Z] e2be974225ed: Download complete [2022-07-18T03:29:07.494Z] 988bab9f4d93: Verifying Checksum [2022-07-18T03:29:07.494Z] 988bab9f4d93: Download complete [2022-07-18T03:29:07.753Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T03:29:07.753Z] 339a4e72a1f5: Download complete [2022-07-18T03:29:07.753Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T03:29:07.753Z] 1469e6f7b9e6: Download complete [2022-07-18T03:29:07.753Z] eaf3925da568: Verifying Checksum [2022-07-18T03:29:07.753Z] eaf3925da568: Download complete [2022-07-18T03:29:07.753Z] bde34c3a00c8: Verifying Checksum [2022-07-18T03:29:07.753Z] bde34c3a00c8: Download complete [2022-07-18T03:29:07.753Z] b352a97aabf1: Verifying Checksum [2022-07-18T03:29:07.753Z] b352a97aabf1: Download complete [2022-07-18T03:29:07.753Z] 4872d77fe225: Verifying Checksum [2022-07-18T03:29:07.753Z] 4872d77fe225: Download complete [2022-07-18T03:29:07.753Z] 5851b861e8e6: Verifying Checksum [2022-07-18T03:29:07.753Z] 5851b861e8e6: Download complete [2022-07-18T03:29:07.753Z] b85a868b505f: Verifying Checksum [2022-07-18T03:29:07.753Z] b85a868b505f: Download complete [2022-07-18T03:29:08.014Z] bab4dde63d76: Verifying Checksum [2022-07-18T03:29:08.014Z] bab4dde63d76: Download complete [2022-07-18T03:29:09.400Z] b85a868b505f: Pull complete [2022-07-18T03:29:09.400Z] e2be974225ed: Pull complete [2022-07-18T03:29:09.974Z] 339a4e72a1f5: Pull complete [2022-07-18T03:29:09.974Z] 988bab9f4d93: Pull complete [2022-07-18T03:29:10.233Z] 1469e6f7b9e6: Pull complete [2022-07-18T03:29:10.233Z] eaf3925da568: Pull complete [2022-07-18T03:29:12.790Z] bab4dde63d76: Pull complete [2022-07-18T03:29:12.790Z] bde34c3a00c8: Pull complete [2022-07-18T03:29:12.790Z] b352a97aabf1: Pull complete [2022-07-18T03:29:12.790Z] 4872d77fe225: Pull complete [2022-07-18T03:29:12.790Z] 5851b861e8e6: Pull complete [2022-07-18T03:29:12.790Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T03:29:12.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T03:29:12.790Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:29:13.031Z] prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container [2022-07-18T03:29:13.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T03:29:14.329Z] $ docker top 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f -eo pid,comm [2022-07-18T03:29:14.411Z] 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-18T03:29:14.411Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T03:29:14.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T03:29:14.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T03:29:14.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T03:29:14.684Z] $ docker exec 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent [2022-07-18T03:29:14.822Z] SSH_AUTH_SOCK=/tmp/ssh-hbGhq25ebzZd/agent.34 [2022-07-18T03:29:14.822Z] SSH_AGENT_PID=40 [2022-07-18T03:29:14.830Z] Running ssh-add (command line suppressed) [2022-07-18T03:29:14.950Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_6917465944426780134.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_6917465944426780134.key) [2022-07-18T03:29:14.973Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T03:29:15.308Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T03:29:15.328Z] $ docker exec --env ******** --env ******** 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent -k [2022-07-18T03:29:15.459Z] unset SSH_AUTH_SOCK; [2022-07-18T03:29:15.460Z] unset SSH_AGENT_PID; [2022-07-18T03:29:15.460Z] echo Agent pid 40 killed; [2022-07-18T03:29:15.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T03:29:15.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T03:29:15.568Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T03:29:15.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T03:29:15.710Z] $ docker exec 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent [2022-07-18T03:29:15.849Z] SSH_AUTH_SOCK=/tmp/ssh-Y1y5UaRlktRG/agent.73 [2022-07-18T03:29:15.849Z] SSH_AGENT_PID=79 [2022-07-18T03:29:15.854Z] Running ssh-add (command line suppressed) [2022-07-18T03:29:15.973Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_4754541567397058466.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_4754541567397058466.key) [2022-07-18T03:29:15.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T03:29:16.335Z] + git semver init [2022-07-18T03:29:16.595Z] 2022-07-18 03:29:16,542 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T03:29:16.595Z] 2022-07-18 03:29:16,543 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-111/.semver [2022-07-18T03:29:16.596Z] 2022-07-18 03:29:16,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-111/.semver [2022-07-18T03:29:16.596Z] 2022-07-18 03:29:16,544 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-111/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-111, universal_newlines=False, shell=None, istream=None) [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,229 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-111/.git/info/exclude [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 with force:False [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,230 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,234 [execute] INFO git cat-file --batch-check [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,243 [execute] INFO git cat-file --batch [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T03:29:17.547Z] 2022-07-18 03:29:17,250 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 [2022-07-18T03:29:17.547Z] 0.0.0 [Pipeline] } [2022-07-18T03:29:17.568Z] $ docker exec --env ******** --env ******** 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f ssh-agent -k [2022-07-18T03:29:17.689Z] unset SSH_AUTH_SOCK; [2022-07-18T03:29:17.690Z] unset SSH_AGENT_PID; [2022-07-18T03:29:17.690Z] echo Agent pid 79 killed; [2022-07-18T03:29:17.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T03:29:18.133Z] + git semver [Pipeline] } [2022-07-18T03:29:18.421Z] $ docker stop --time=1 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f [2022-07-18T03:29:19.745Z] $ docker rm -f 1cebb444723daaf5295d555743b714bd09552116b786db1016480bcf253f811f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T03:29:20.171Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T03:29:20.525Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T03:29:20.543Z] [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-18T03:29:21.087Z] provisioning config files... [2022-07-18T03:29:21.099Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config4931577912352718682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:29:21.452Z] ---> docker-login.sh [2022-07-18T03:29:21.452Z] nexus3.edgexfoundry.org:10001 [2022-07-18T03:29:21.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:21.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:21.452Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:21.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:21.452Z] [2022-07-18T03:29:21.452Z] Login Succeeded [2022-07-18T03:29:21.452Z] nexus3.edgexfoundry.org:10002 [2022-07-18T03:29:21.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:21.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:21.713Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:21.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:21.713Z] [2022-07-18T03:29:21.713Z] Login Succeeded [2022-07-18T03:29:21.713Z] nexus3.edgexfoundry.org:10003 [2022-07-18T03:29:21.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:21.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:21.713Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:21.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:21.713Z] [2022-07-18T03:29:21.713Z] Login Succeeded [2022-07-18T03:29:21.713Z] nexus3.edgexfoundry.org:10004 [2022-07-18T03:29:21.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:21.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:21.974Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:21.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:21.974Z] [2022-07-18T03:29:21.974Z] Login Succeeded [2022-07-18T03:29:21.974Z] docker.io [2022-07-18T03:29:21.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:29:22.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:29:22.236Z] Configure a credential helper to remove this warning. See [2022-07-18T03:29:22.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:29:22.236Z] [2022-07-18T03:29:22.236Z] Login Succeeded [2022-07-18T03:29:22.236Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T03:29:22.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T03:29:22.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T03:29:22.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T03:29:22.536Z] ========================================================= [2022-07-18T03:29:22.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T03:29:22.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:29:23.004Z] + 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-18T03:29:23.004Z] Sending build context to Docker daemon 9.333MB [2022-07-18T03:29:23.004Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T03:29:23.004Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T03:29:23.004Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T03:29:23.004Z] 2408cc74d12b: Pulling fs layer [2022-07-18T03:29:23.004Z] ea60b727a1ce: Pulling fs layer [2022-07-18T03:29:23.004Z] 30c4a7721957: Pulling fs layer [2022-07-18T03:29:23.004Z] 370296b7ddb6: Pulling fs layer [2022-07-18T03:29:23.004Z] 7c6cee850709: Pulling fs layer [2022-07-18T03:29:23.004Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T03:29:23.004Z] d94ebbe4e438: Pulling fs layer [2022-07-18T03:29:23.004Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T03:29:23.004Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T03:29:23.004Z] 370296b7ddb6: Waiting [2022-07-18T03:29:23.004Z] 7c6cee850709: Waiting [2022-07-18T03:29:23.004Z] 39a5fcdaea64: Waiting [2022-07-18T03:29:23.004Z] bcfd1f05c69d: Waiting [2022-07-18T03:29:23.004Z] d94ebbe4e438: Waiting [2022-07-18T03:29:23.004Z] 59ccb84bbe0f: Waiting [2022-07-18T03:29:23.004Z] 30c4a7721957: Verifying Checksum [2022-07-18T03:29:23.004Z] 30c4a7721957: Download complete [2022-07-18T03:29:23.265Z] ea60b727a1ce: Download complete [2022-07-18T03:29:23.265Z] 7c6cee850709: Download complete [2022-07-18T03:29:23.265Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T03:29:23.265Z] 39a5fcdaea64: Download complete [2022-07-18T03:29:23.265Z] 2408cc74d12b: Verifying Checksum [2022-07-18T03:29:23.265Z] 2408cc74d12b: Download complete [2022-07-18T03:29:23.265Z] d94ebbe4e438: Verifying Checksum [2022-07-18T03:29:23.265Z] d94ebbe4e438: Download complete [2022-07-18T03:29:23.265Z] 2408cc74d12b: Pull complete [2022-07-18T03:29:23.525Z] ea60b727a1ce: Pull complete [2022-07-18T03:29:23.525Z] 30c4a7721957: Pull complete [2022-07-18T03:29:23.786Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T03:29:23.786Z] 59ccb84bbe0f: Download complete [2022-07-18T03:29:23.786Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T03:29:23.786Z] bcfd1f05c69d: Download complete [2022-07-18T03:29:23.786Z] 370296b7ddb6: Verifying Checksum [2022-07-18T03:29:23.786Z] 370296b7ddb6: Download complete [2022-07-18T03:29:29.065Z] 370296b7ddb6: Pull complete [2022-07-18T03:29:29.065Z] 7c6cee850709: Pull complete [2022-07-18T03:29:29.065Z] 39a5fcdaea64: Pull complete [2022-07-18T03:29:29.065Z] d94ebbe4e438: Pull complete [2022-07-18T03:29:30.977Z] bcfd1f05c69d: Pull complete [2022-07-18T03:29:31.547Z] 59ccb84bbe0f: Pull complete [2022-07-18T03:29:31.548Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T03:29:31.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T03:29:31.548Z] ---> a4fb48ad2a94 [2022-07-18T03:29:31.548Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T03:29:32.935Z] ---> Running in f4d696758003 [2022-07-18T03:29:33.195Z] Removing intermediate container f4d696758003 [2022-07-18T03:29:33.195Z] ---> b08d3352c7a5 [2022-07-18T03:29:33.195Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T03:29:33.195Z] ---> Running in dbd043882590 [2022-07-18T03:29:33.195Z] Removing intermediate container dbd043882590 [2022-07-18T03:29:33.195Z] ---> 805ac3d62f16 [2022-07-18T03:29:33.195Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T03:29:33.195Z] ---> Running in d179b03fdb01 [2022-07-18T03:29:33.195Z] Removing intermediate container d179b03fdb01 [2022-07-18T03:29:33.195Z] ---> 4abc73ba7df7 [2022-07-18T03:29:33.195Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T03:29:33.195Z] ---> Running in bf2e5268feee [2022-07-18T03:29:33.457Z] Removing intermediate container bf2e5268feee [2022-07-18T03:29:33.457Z] ---> f58a01e6ba83 [2022-07-18T03:29:33.457Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T03:29:33.457Z] ---> Running in e68d1024bf60 [2022-07-18T03:29:34.026Z] Removing intermediate container e68d1024bf60 [2022-07-18T03:29:34.026Z] ---> f38df39d328b [2022-07-18T03:29:34.026Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T03:29:34.026Z] ---> Running in 7aec93b83447 [2022-07-18T03:29:34.287Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T03:29:35.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T03:29:35.490Z] OK: 211 MiB in 51 packages [2022-07-18T03:29:35.922Z] Still waiting to schedule task [2022-07-18T03:29:35.922Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T03:29:36.067Z] Removing intermediate container 7aec93b83447 [2022-07-18T03:29:36.067Z] ---> ecc8f6224bcc [2022-07-18T03:29:36.067Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T03:29:36.067Z] ---> Running in a05808a28cdd [2022-07-18T03:29:36.067Z] Removing intermediate container a05808a28cdd [2022-07-18T03:29:36.067Z] ---> 2e2aace0e0a1 [2022-07-18T03:29:36.067Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T03:29:36.067Z] ---> fb250294c3a6 [2022-07-18T03:29:36.067Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T03:29:36.067Z] ---> Running in b824cd335794 [2022-07-18T03:29:54.179Z] Removing intermediate container b824cd335794 [2022-07-18T03:29:54.179Z] ---> b31f7fae6147 [2022-07-18T03:29:54.179Z] Step 12/13 : COPY . . [2022-07-18T03:29:54.179Z] ---> 37f6d15ce806 [2022-07-18T03:29:54.179Z] Step 13/13 : RUN ${MAKE} [2022-07-18T03:29:54.179Z] ---> Running in 370f4b772be3 [2022-07-18T03:29:54.440Z] noop [2022-07-18T03:29:54.702Z] Removing intermediate container 370f4b772be3 [2022-07-18T03:29:54.702Z] ---> 57f068c2d377 [2022-07-18T03:29:54.963Z] Successfully built 57f068c2d377 [2022-07-18T03:29:54.963Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:29:55.403Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T03:29:55.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:29:55.561Z] prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container [2022-07-18T03:29:55.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** ci-base-image-x86_64 cat [2022-07-18T03:29:55.990Z] $ docker top 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T03:29:56.390Z] + go version [2022-07-18T03:29:56.391Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T03:29:56.428Z] $ docker stop --time=1 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 [2022-07-18T03:29:57.694Z] $ docker rm -f 9a26e53cc9bd93a078ed67f66c89b442ac3acfa0d36a6358f200f4763befdfc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:29:58.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T03:29:58.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:29:58.566Z] prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container [2022-07-18T03:29:58.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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 ******** ci-base-image-x86_64 cat [2022-07-18T03:29:58.963Z] $ docker top d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T03:29:59.363Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] fileExists [Pipeline] sh [2022-07-18T03:29:59.712Z] + make test [2022-07-18T03:29:59.712Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T03:29:59.971Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T03:30:09.966Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T03:30:10.903Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-18T03:30:10.903Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T03:30:15.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.887s coverage: 13.8% of statements [2022-07-18T03:30:21.688Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T03:30:24.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T03:30:24.990Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T03:30:24.990Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T03:30:25.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T03:30:25.638Z] $ docker stop --time=1 d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 [2022-07-18T03:30:27.295Z] $ docker rm -f d9f8d653feec5b1bca4204584fb2a9475ccb95d13825f0dcf95209e51516d499 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T03:30:27.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T03:30:27.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T03:30:28.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T03:30:28.889Z] + ls -al . [2022-07-18T03:30:28.889Z] total 252 [2022-07-18T03:30:28.889Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 03:30 . [2022-07-18T03:30:28.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 .. [2022-07-18T03:30:28.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 03:30 .git [2022-07-18T03:30:28.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:28 .github [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 03:28 .gitignore [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 03:28 .golangci.yml [2022-07-18T03:30:28.889Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 03:29 .semver [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 03:28 Attribution.txt [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 03:28 CHANGELOG.md [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 03:28 Dockerfile [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 03:28 GOVERNANCE.md [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 03:28 Jenkinsfile [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 03:28 LICENSE [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 03:28 Makefile [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 03:28 OWNERS.md [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 03:28 README.md [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 03:29 VERSION [2022-07-18T03:30:28.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 03:28 bin [2022-07-18T03:30:28.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:28 cmd [2022-07-18T03:30:28.889Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 03:30 coverage.out [2022-07-18T03:30:28.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 doc [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 03:28 go.mod [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 03:28 go.sum [2022-07-18T03:30:28.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 internal [2022-07-18T03:30:28.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:28 snap [2022-07-18T03:30:28.889Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:30:29.283Z] + 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=201cf242bae9e183bc4bdc133a26c0afb244aa26 --label arch=amd64 --label version=0.0.0 . [2022-07-18T03:30:29.283Z] Sending build context to Docker daemon 9.404MB [2022-07-18T03:30:29.283Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T03:30:29.283Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T03:30:29.283Z] ---> 57f068c2d377 [2022-07-18T03:30:29.283Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T03:30:29.283Z] ---> Running in c7795b99dea1 [2022-07-18T03:30:29.546Z] Removing intermediate container c7795b99dea1 [2022-07-18T03:30:29.546Z] ---> 8eb3a472e88f [2022-07-18T03:30:29.546Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T03:30:29.546Z] ---> Running in 67070d003794 [2022-07-18T03:30:29.546Z] Removing intermediate container 67070d003794 [2022-07-18T03:30:29.546Z] ---> 398633b57d14 [2022-07-18T03:30:29.546Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T03:30:29.546Z] ---> Running in 2ad90947c817 [2022-07-18T03:30:29.806Z] Removing intermediate container 2ad90947c817 [2022-07-18T03:30:29.806Z] ---> df32ca661905 [2022-07-18T03:30:29.806Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T03:30:29.806Z] ---> Running in d2d7a9953c4a [2022-07-18T03:30:29.806Z] Removing intermediate container d2d7a9953c4a [2022-07-18T03:30:29.806Z] ---> 4bee2fd78ef5 [2022-07-18T03:30:29.806Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T03:30:29.806Z] ---> Running in 7ceb1ed2b8f7 [2022-07-18T03:30:30.378Z] Removing intermediate container 7ceb1ed2b8f7 [2022-07-18T03:30:30.378Z] ---> 467f1544e67b [2022-07-18T03:30:30.378Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T03:30:30.378Z] ---> Running in a071e87dd57f [2022-07-18T03:30:30.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T03:30:31.582Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T03:30:31.844Z] OK: 211 MiB in 51 packages [2022-07-18T03:30:32.106Z] Removing intermediate container a071e87dd57f [2022-07-18T03:30:32.106Z] ---> ce2bbcdee191 [2022-07-18T03:30:32.106Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T03:30:32.367Z] ---> Running in 94313747f512 [2022-07-18T03:30:32.367Z] Removing intermediate container 94313747f512 [2022-07-18T03:30:32.367Z] ---> ae73a74c4d50 [2022-07-18T03:30:32.367Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T03:30:32.628Z] ---> 0035db1eac86 [2022-07-18T03:30:32.628Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T03:30:32.628Z] ---> Running in 7f93c6cb8964 [2022-07-18T03:30:33.197Z] Removing intermediate container 7f93c6cb8964 [2022-07-18T03:30:33.197Z] ---> aea9c2fb71b6 [2022-07-18T03:30:33.197Z] Step 12/26 : COPY . . [2022-07-18T03:30:33.456Z] ---> 7944c5474d27 [2022-07-18T03:30:33.456Z] Step 13/26 : RUN ${MAKE} [2022-07-18T03:30:33.456Z] ---> Running in 00320c0cb604 [2022-07-18T03:30:33.721Z] 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-18T03:30:55.677Z] Removing intermediate container 00320c0cb604 [2022-07-18T03:30:55.677Z] ---> 98cbcc142e3c [2022-07-18T03:30:55.677Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T03:30:55.677Z] 3.15: Pulling from library/alpine [2022-07-18T03:30:55.677Z] df9b9388f04a: Pulling fs layer [2022-07-18T03:30:55.677Z] df9b9388f04a: Verifying Checksum [2022-07-18T03:30:55.677Z] df9b9388f04a: Download complete [2022-07-18T03:30:55.677Z] df9b9388f04a: Pull complete [2022-07-18T03:30:55.677Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T03:30:55.677Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T03:30:55.677Z] ---> 0ac33e5f5afa [2022-07-18T03:30:55.677Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T03:30:55.677Z] ---> Running in 0ccef2603266 [2022-07-18T03:30:55.677Z] Removing intermediate container 0ccef2603266 [2022-07-18T03:30:55.677Z] ---> c1e2ec17610f [2022-07-18T03:30:55.677Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T03:30:55.677Z] ---> Running in 7e901e5ed962 [2022-07-18T03:30:55.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T03:30:55.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T03:30:55.677Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T03:30:55.677Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T03:30:55.677Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T03:30:55.677Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T03:30:55.677Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T03:30:55.677Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T03:30:55.677Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T03:30:55.677Z] OK: 8 MiB in 20 packages [2022-07-18T03:30:55.677Z] Removing intermediate container 7e901e5ed962 [2022-07-18T03:30:55.677Z] ---> f3428cc43fa6 [2022-07-18T03:30:55.677Z] Step 17/26 : WORKDIR / [2022-07-18T03:30:55.677Z] ---> Running in aa173d793bcf [2022-07-18T03:30:55.677Z] Removing intermediate container aa173d793bcf [2022-07-18T03:30:55.677Z] ---> 1a806aa7cd91 [2022-07-18T03:30:55.677Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T03:30:55.677Z] ---> 7e61f3b49fda [2022-07-18T03:30:55.677Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T03:30:55.939Z] ---> b258bcbbcb61 [2022-07-18T03:30:55.939Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T03:30:55.939Z] ---> fa737f238104 [2022-07-18T03:30:55.939Z] Step 21/26 : EXPOSE 59984 [2022-07-18T03:30:56.200Z] ---> Running in 5d3b8f2909e6 [2022-07-18T03:30:56.200Z] Removing intermediate container 5d3b8f2909e6 [2022-07-18T03:30:56.201Z] ---> 2482931c6b2e [2022-07-18T03:30:56.201Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T03:30:56.201Z] ---> Running in ec722caad59b [2022-07-18T03:30:56.201Z] Removing intermediate container ec722caad59b [2022-07-18T03:30:56.201Z] ---> 49e3f7a8cf46 [2022-07-18T03:30:56.201Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T03:30:56.201Z] ---> Running in 9b53aff111a3 [2022-07-18T03:30:56.464Z] Removing intermediate container 9b53aff111a3 [2022-07-18T03:30:56.464Z] ---> 998eb4e02bf1 [2022-07-18T03:30:56.464Z] Step 24/26 : LABEL arch=amd64 [2022-07-18T03:30:56.464Z] ---> Running in 5b56fd6f2882 [2022-07-18T03:30:56.464Z] Removing intermediate container 5b56fd6f2882 [2022-07-18T03:30:56.464Z] ---> 8f2462515d69 [2022-07-18T03:30:56.464Z] Step 25/26 : LABEL git_sha=201cf242bae9e183bc4bdc133a26c0afb244aa26 [2022-07-18T03:30:56.464Z] ---> Running in 7177e46cd6d2 [2022-07-18T03:30:56.464Z] Removing intermediate container 7177e46cd6d2 [2022-07-18T03:30:56.464Z] ---> aebaebf0e7c9 [2022-07-18T03:30:56.464Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T03:30:56.726Z] ---> Running in ffa3e072dbd0 [2022-07-18T03:30:56.726Z] Removing intermediate container ffa3e072dbd0 [2022-07-18T03:30:56.726Z] ---> b13ca49bdd04 [2022-07-18T03:30:56.726Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T03:30:56.726Z] Successfully built b13ca49bdd04 [2022-07-18T03:30:56.726Z] 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-18T03:30:57.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T03:30:57.654Z] [2022-07-18T03:30:57.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:30:58.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T03:30:58.037Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T03:30:58.037Z] 5eb5b503b376: Pulling fs layer [2022-07-18T03:30:58.037Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T03:30:58.037Z] ec43610c2a17: Pulling fs layer [2022-07-18T03:30:58.037Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T03:30:58.037Z] 33b1e0a273af: Pulling fs layer [2022-07-18T03:30:58.037Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T03:30:58.037Z] 2f39f015ded8: Pulling fs layer [2022-07-18T03:30:58.037Z] 5d3b04190fa2: Waiting [2022-07-18T03:30:58.037Z] 2f39f015ded8: Waiting [2022-07-18T03:30:58.037Z] 33b1e0a273af: Waiting [2022-07-18T03:30:58.037Z] 3a2ae6a8a46f: Waiting [2022-07-18T03:30:58.037Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T03:30:58.037Z] 5c69ac0246d0: Download complete [2022-07-18T03:30:58.037Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T03:30:58.037Z] 3a2ae6a8a46f: Download complete [2022-07-18T03:30:58.037Z] 33b1e0a273af: Verifying Checksum [2022-07-18T03:30:58.037Z] 33b1e0a273af: Download complete [2022-07-18T03:30:58.037Z] 5d3b04190fa2: Verifying Checksum [2022-07-18T03:30:58.037Z] 5d3b04190fa2: Download complete [2022-07-18T03:30:58.296Z] ec43610c2a17: Download complete [2022-07-18T03:30:58.296Z] 5eb5b503b376: Verifying Checksum [2022-07-18T03:30:58.296Z] 5eb5b503b376: Download complete [2022-07-18T03:30:58.865Z] 2f39f015ded8: Verifying Checksum [2022-07-18T03:30:58.865Z] 2f39f015ded8: Download complete [2022-07-18T03:30:59.434Z] 5eb5b503b376: Pull complete [2022-07-18T03:30:59.696Z] 5c69ac0246d0: Pull complete [2022-07-18T03:30:59.958Z] ec43610c2a17: Pull complete [2022-07-18T03:31:00.219Z] 3a2ae6a8a46f: Pull complete [2022-07-18T03:31:00.219Z] 33b1e0a273af: Pull complete [2022-07-18T03:31:00.484Z] 5d3b04190fa2: Pull complete [2022-07-18T03:31:05.771Z] 2f39f015ded8: Pull complete [2022-07-18T03:31:05.771Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T03:31:05.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T03:31:05.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:31:06.003Z] prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container [2022-07-18T03:31:06.047Z] $ 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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@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-18T03:31:07.395Z] $ docker top 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:31:07.859Z] ---> job-cost.sh [2022-07-18T03:31:07.859Z] lf-activate-venv: SKIPPING [2022-07-18T03:31:07.859Z] INFO: No Stack... [2022-07-18T03:31:08.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T03:31:08.691Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T03:31:09.011Z] + + cat /w/workspace/undry_device-onvif-camera_PR-111/archives/cost.csv [2022-07-18T03:31:09.011Z] cut -d, -f6 [Pipeline] lock [2022-07-18T03:31:09.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [2022-07-18T03:31:09.057Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] did not exist. Created. [2022-07-18T03:31:09.057Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T03:31:09.471Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T03:31:09.522Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T03:31:09.549Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T03:31:09.639Z] $ docker stop --time=1 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c [2022-07-18T03:31:10.809Z] $ docker rm -f 7b93c40224b64583b32ff5398aecbcbc148597b44729590b30e5290fcf93296c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T03:31:15.815Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20367 in /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] { [Pipeline] ws [2022-07-18T03:31:15.863Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-18T03:31:15.949Z] Selected Git installation does not exist. Using Default [2022-07-18T03:31:15.950Z] The recommended git tool is: NONE [2022-07-18T03:31:22.847Z] using credential edgex-jenkins-ssh [2022-07-18T03:31:22.869Z] Cloning the remote Git repository [2022-07-18T03:31:22.929Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T03:31:23.008Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-07-18T03:31:23.081Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T03:31:23.081Z] > git --version # timeout=10 [2022-07-18T03:31:23.115Z] > git --version # 'git version 2.25.1' [2022-07-18T03:31:23.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T03:31:23.280Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T03:31:24.688Z] Merging remotes/origin/main commit 58a46bebf81eee9640e76b602e43d09af82d89e1 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 [2022-07-18T03:31:24.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T03:31:24.160Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T03:31:24.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-18T03:31:24.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-18T03:31:24.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T03:31:24.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T03:31:24.711Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T03:31:24.732Z] > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 [2022-07-18T03:31:24.967Z] Merge succeeded, producing 201cf242bae9e183bc4bdc133a26c0afb244aa26 [2022-07-18T03:31:24.968Z] Checking out Revision 201cf242bae9e183bc4bdc133a26c0afb244aa26 (PR-111) [2022-07-18T03:31:24.880Z] > git remote # timeout=10 [2022-07-18T03:31:24.898Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T03:31:24.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T03:31:24.931Z] > git merge 58a46bebf81eee9640e76b602e43d09af82d89e1 # timeout=10 [2022-07-18T03:31:24.954Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T03:31:24.977Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T03:31:24.992Z] > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 [2022-07-18T03:31:29.248Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2" [2022-07-18T03:31:29.305Z] > git --version # timeout=10 [2022-07-18T03:31:29.319Z] > git --version # 'git version 2.25.1' [2022-07-18T03:31:29.335Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T03:31:30.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T03:31:30.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T03:31:30.432Z] Dload Upload Total Spent Left Speed [2022-07-18T03:31:30.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92721 [Pipeline] sh [2022-07-18T03:31:31.410Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T03:31:31.782Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T03:31:31.782Z] + sudo tee /etc/docker/daemon.new [2022-07-18T03:31:31.782Z] { [2022-07-18T03:31:31.782Z] "registry-mirrors": [ [2022-07-18T03:31:31.782Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T03:31:31.782Z] ], [2022-07-18T03:31:31.782Z] "bip": "10.250.0.254/24", [2022-07-18T03:31:31.782Z] "hosts": [ [2022-07-18T03:31:31.782Z] "tcp://0.0.0.0:5555", [2022-07-18T03:31:31.782Z] "unix:///var/run/docker.sock" [2022-07-18T03:31:31.782Z] ], [2022-07-18T03:31:31.782Z] "mtu": 1458, [2022-07-18T03:31:31.782Z] "selinux-enabled": true, [2022-07-18T03:31:31.782Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T03:31:31.782Z] } [Pipeline] sh [2022-07-18T03:31:32.144Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T03:31:32.504Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T03:31:50.906Z] provisioning config files... [2022-07-18T03:31:50.929Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config608594969985349761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:31:51.331Z] ---> docker-login.sh [2022-07-18T03:31:51.331Z] nexus3.edgexfoundry.org:10001 [2022-07-18T03:31:51.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:31:52.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:31:52.205Z] Configure a credential helper to remove this warning. See [2022-07-18T03:31:52.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:31:52.205Z] [2022-07-18T03:31:52.205Z] Login Succeeded [2022-07-18T03:31:52.205Z] nexus3.edgexfoundry.org:10002 [2022-07-18T03:31:52.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:31:52.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:31:52.479Z] Configure a credential helper to remove this warning. See [2022-07-18T03:31:52.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:31:52.479Z] [2022-07-18T03:31:52.479Z] Login Succeeded [2022-07-18T03:31:52.479Z] nexus3.edgexfoundry.org:10003 [2022-07-18T03:31:52.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:31:53.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:31:53.039Z] Configure a credential helper to remove this warning. See [2022-07-18T03:31:53.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:31:53.039Z] [2022-07-18T03:31:53.039Z] Login Succeeded [2022-07-18T03:31:53.039Z] nexus3.edgexfoundry.org:10004 [2022-07-18T03:31:53.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:31:53.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:31:53.322Z] Configure a credential helper to remove this warning. See [2022-07-18T03:31:53.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:31:53.322Z] [2022-07-18T03:31:53.322Z] Login Succeeded [2022-07-18T03:31:53.322Z] docker.io [2022-07-18T03:31:53.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T03:31:54.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T03:31:54.192Z] Configure a credential helper to remove this warning. See [2022-07-18T03:31:54.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T03:31:54.192Z] [2022-07-18T03:31:54.192Z] Login Succeeded [2022-07-18T03:31:54.192Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T03:31:54.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T03:31:54.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T03:31:54.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T03:31:54.670Z] ========================================================= [2022-07-18T03:31:54.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T03:31:54.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:31:55.176Z] + 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-18T03:31:55.451Z] Sending build context to Docker daemon 6.422MB [2022-07-18T03:31:55.734Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T03:31:55.734Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-18T03:31:55.734Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T03:31:55.734Z] b3c136eddcbf: Pulling fs layer [2022-07-18T03:31:55.734Z] c0a3192eca97: Pulling fs layer [2022-07-18T03:31:55.734Z] a050256f5b6f: Pulling fs layer [2022-07-18T03:31:55.734Z] 656be50a0ddc: Pulling fs layer [2022-07-18T03:31:55.734Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T03:31:55.734Z] 46d945488cbd: Pulling fs layer [2022-07-18T03:31:55.734Z] 8a5474983e97: Pulling fs layer [2022-07-18T03:31:55.734Z] 329c88fbcd65: Pulling fs layer [2022-07-18T03:31:55.734Z] 2bbca73fdf42: Waiting [2022-07-18T03:31:55.734Z] 46d945488cbd: Waiting [2022-07-18T03:31:55.734Z] 8a5474983e97: Waiting [2022-07-18T03:31:55.734Z] 329c88fbcd65: Waiting [2022-07-18T03:31:55.734Z] 656be50a0ddc: Waiting [2022-07-18T03:31:55.734Z] a050256f5b6f: Download complete [2022-07-18T03:31:55.734Z] c0a3192eca97: Verifying Checksum [2022-07-18T03:31:55.734Z] c0a3192eca97: Download complete [2022-07-18T03:31:55.734Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T03:31:55.734Z] 2bbca73fdf42: Download complete [2022-07-18T03:31:55.734Z] 46d945488cbd: Verifying Checksum [2022-07-18T03:31:55.734Z] 46d945488cbd: Download complete [2022-07-18T03:31:55.734Z] b3c136eddcbf: Verifying Checksum [2022-07-18T03:31:55.734Z] b3c136eddcbf: Download complete [2022-07-18T03:31:56.726Z] b3c136eddcbf: Pull complete [2022-07-18T03:31:57.004Z] 329c88fbcd65: Verifying Checksum [2022-07-18T03:31:57.004Z] 329c88fbcd65: Download complete [2022-07-18T03:31:57.284Z] c0a3192eca97: Pull complete [2022-07-18T03:31:57.563Z] a050256f5b6f: Pull complete [2022-07-18T03:31:58.161Z] 8a5474983e97: Verifying Checksum [2022-07-18T03:31:58.161Z] 8a5474983e97: Download complete [2022-07-18T03:31:58.759Z] 656be50a0ddc: Verifying Checksum [2022-07-18T03:31:58.759Z] 656be50a0ddc: Download complete [2022-07-18T03:32:13.857Z] 656be50a0ddc: Pull complete [2022-07-18T03:32:13.857Z] 2bbca73fdf42: Pull complete [2022-07-18T03:32:13.857Z] 46d945488cbd: Pull complete [2022-07-18T03:32:18.171Z] 8a5474983e97: Pull complete [2022-07-18T03:32:20.156Z] 329c88fbcd65: Pull complete [2022-07-18T03:32:20.156Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T03:32:20.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T03:32:20.156Z] ---> ff4287adb874 [2022-07-18T03:32:20.156Z] Step 3/13 : ARG MAKE="make build" [2022-07-18T03:32:21.603Z] ---> Running in c35ac5398840 [2022-07-18T03:32:21.878Z] Removing intermediate container c35ac5398840 [2022-07-18T03:32:21.878Z] ---> d69c9ea739b0 [2022-07-18T03:32:21.878Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T03:32:21.878Z] ---> Running in 5461c038f65e [2022-07-18T03:32:22.159Z] Removing intermediate container 5461c038f65e [2022-07-18T03:32:22.159Z] ---> e9ee19db46c9 [2022-07-18T03:32:22.159Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T03:32:22.159Z] ---> Running in 79943b01f773 [2022-07-18T03:32:22.434Z] Removing intermediate container 79943b01f773 [2022-07-18T03:32:22.434Z] ---> a40075c48cdf [2022-07-18T03:32:22.434Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-18T03:32:22.707Z] ---> Running in 9aa15645590c [2022-07-18T03:32:22.985Z] Removing intermediate container 9aa15645590c [2022-07-18T03:32:22.985Z] ---> 9ccc01e4354e [2022-07-18T03:32:22.985Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T03:32:22.985Z] ---> Running in e0b322c944de [2022-07-18T03:32:26.394Z] Removing intermediate container e0b322c944de [2022-07-18T03:32:26.394Z] ---> 393549e42402 [2022-07-18T03:32:26.394Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T03:32:26.394Z] ---> Running in a08328954e3e [2022-07-18T03:32:26.991Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T03:32:27.593Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T03:32:28.573Z] OK: 221 MiB in 51 packages [2022-07-18T03:32:29.564Z] Removing intermediate container a08328954e3e [2022-07-18T03:32:29.564Z] ---> b6944d19a438 [2022-07-18T03:32:29.564Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-18T03:32:29.564Z] ---> Running in c2a11474793f [2022-07-18T03:32:29.837Z] Removing intermediate container c2a11474793f [2022-07-18T03:32:29.837Z] ---> 36f29f51837d [2022-07-18T03:32:29.837Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-18T03:32:30.442Z] ---> 8b77e40dc3e6 [2022-07-18T03:32:30.442Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T03:32:30.442Z] ---> Running in 2d76b377c185 [2022-07-18T03:33:17.463Z] Removing intermediate container 2d76b377c185 [2022-07-18T03:33:17.463Z] ---> c381a02a8e96 [2022-07-18T03:33:17.463Z] Step 12/13 : COPY . . [2022-07-18T03:33:17.463Z] ---> 2341b5fb4719 [2022-07-18T03:33:17.463Z] Step 13/13 : RUN ${MAKE} [2022-07-18T03:33:17.463Z] ---> Running in a23b71f4b827 [2022-07-18T03:33:18.069Z] noop [2022-07-18T03:33:18.669Z] Removing intermediate container a23b71f4b827 [2022-07-18T03:33:18.669Z] ---> 7b2f40320df5 [2022-07-18T03:33:18.669Z] Successfully built 7b2f40320df5 [2022-07-18T03:33:18.669Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:33:19.166Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T03:33:19.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:33:19.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container [2022-07-18T03:33:19.551Z] $ 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-18T03:33:20.742Z] $ docker top 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T03:33:21.666Z] + go version [2022-07-18T03:33:21.666Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T03:33:21.703Z] $ docker stop --time=1 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 [2022-07-18T03:33:23.319Z] $ docker rm -f 9866cea72ab9475d87c7289fdca2b250109c9219a7c045a756b1e67345c7fee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:33:24.249Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T03:33:24.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:33:24.539Z] prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container [2022-07-18T03:33:24.624Z] $ 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-18T03:33:25.815Z] $ docker top 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T03:33:26.765Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-18T03:33:27.511Z] + make test [2022-07-18T03:33:27.511Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T03:33:28.951Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-18T03:34:50.824Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-18T03:34:56.278Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.098s coverage: 7.0% of statements [2022-07-18T03:34:56.278Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-18T03:35:28.817Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.916s coverage: 13.8% of statements [2022-07-18T03:35:28.817Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T03:35:28.817Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T03:35:47.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T03:35:47.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T03:35:47.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T03:35:49.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T03:35:49.863Z] $ docker stop --time=1 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 [2022-07-18T03:35:51.596Z] $ docker rm -f 4c69e6974fc9db45ef2cd1a687e9417236b551cabd5db6e801043995b08f5bb4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T03:35:52.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T03:35:52.686Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T03:35:53.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T03:35:53.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T03:35:54.151Z] + ls -al . [2022-07-18T03:35:54.151Z] total 248 [2022-07-18T03:35:54.151Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 03:35 . [2022-07-18T03:35:54.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 .. [2022-07-18T03:35:54.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 03:31 .git [2022-07-18T03:35:54.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:31 .github [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 18 03:31 .gitignore [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 03:31 .golangci.yml [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 18 03:31 Attribution.txt [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 18 03:31 CHANGELOG.md [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 18 03:31 Dockerfile [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 03:31 GOVERNANCE.md [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 03:31 Jenkinsfile [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 18 03:31 LICENSE [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 18 03:31 Makefile [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 18 03:31 OWNERS.md [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 18 03:31 README.md [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 03:29 VERSION [2022-07-18T03:35:54.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 03:31 bin [2022-07-18T03:35:54.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 03:31 cmd [2022-07-18T03:35:54.151Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 18 03:35 coverage.out [2022-07-18T03:35:54.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 doc [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 18 03:31 go.mod [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 18 03:31 go.sum [2022-07-18T03:35:54.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 internal [2022-07-18T03:35:54.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 03:31 snap [2022-07-18T03:35:54.151Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 18 03:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:35:54.590Z] + 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=201cf242bae9e183bc4bdc133a26c0afb244aa26 --label arch=arm64 --label version=0.0.0 . [2022-07-18T03:35:54.864Z] Sending build context to Docker daemon 6.493MB [2022-07-18T03:35:55.148Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-18T03:35:55.148Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T03:35:55.148Z] ---> 7b2f40320df5 [2022-07-18T03:35:55.148Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T03:35:55.148Z] ---> Running in f22eb5cd1b0b [2022-07-18T03:35:55.429Z] Removing intermediate container f22eb5cd1b0b [2022-07-18T03:35:55.429Z] ---> a46ee1980d80 [2022-07-18T03:35:55.429Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T03:35:55.429Z] ---> Running in 3ae77c423f00 [2022-07-18T03:35:56.027Z] Removing intermediate container 3ae77c423f00 [2022-07-18T03:35:56.027Z] ---> a0462cd204f6 [2022-07-18T03:35:56.027Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T03:35:56.027Z] ---> Running in 956dcfe1b63d [2022-07-18T03:35:56.302Z] Removing intermediate container 956dcfe1b63d [2022-07-18T03:35:56.302Z] ---> 6d1c1ace1d2f [2022-07-18T03:35:56.302Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-18T03:35:56.302Z] ---> Running in 2d540560c185 [2022-07-18T03:35:56.580Z] Removing intermediate container 2d540560c185 [2022-07-18T03:35:56.580Z] ---> ffa85f38b070 [2022-07-18T03:35:56.580Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T03:35:56.580Z] ---> Running in a325caefffa2 [2022-07-18T03:35:58.555Z] Removing intermediate container a325caefffa2 [2022-07-18T03:35:58.555Z] ---> d4a929d5b112 [2022-07-18T03:35:58.555Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T03:35:58.555Z] ---> Running in 308103756a88 [2022-07-18T03:35:59.153Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T03:36:00.129Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T03:36:01.112Z] OK: 221 MiB in 51 packages [2022-07-18T03:36:01.710Z] Removing intermediate container 308103756a88 [2022-07-18T03:36:01.710Z] ---> 8dad4751f7c7 [2022-07-18T03:36:01.710Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-18T03:36:01.710Z] ---> Running in 34b17b2b12e2 [2022-07-18T03:36:02.308Z] Removing intermediate container 34b17b2b12e2 [2022-07-18T03:36:02.308Z] ---> b6b432af3f45 [2022-07-18T03:36:02.308Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-18T03:36:02.587Z] ---> 5985d2bb46c9 [2022-07-18T03:36:02.587Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T03:36:02.863Z] ---> Running in dab617532549 [2022-07-18T03:36:04.858Z] Removing intermediate container dab617532549 [2022-07-18T03:36:04.858Z] ---> b42612a13c79 [2022-07-18T03:36:04.858Z] Step 12/26 : COPY . . [2022-07-18T03:36:05.837Z] ---> b8a6a404337c [2022-07-18T03:36:05.837Z] Step 13/26 : RUN ${MAKE} [2022-07-18T03:36:05.837Z] ---> Running in fb079b1c8baa [2022-07-18T03:36:06.813Z] 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-18T03:38:13.693Z] Removing intermediate container fb079b1c8baa [2022-07-18T03:38:13.693Z] ---> 7fe116472d47 [2022-07-18T03:38:13.693Z] Step 14/26 : FROM alpine:3.15 [2022-07-18T03:38:13.966Z] 3.15: Pulling from library/alpine [2022-07-18T03:38:13.966Z] 9981e73032c8: Pulling fs layer [2022-07-18T03:38:14.242Z] 9981e73032c8: Verifying Checksum [2022-07-18T03:38:14.840Z] 9981e73032c8: Pull complete [2022-07-18T03:38:14.840Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-18T03:38:14.840Z] Status: Downloaded newer image for alpine:3.15 [2022-07-18T03:38:14.840Z] ---> 3fb3c9af89a9 [2022-07-18T03:38:14.840Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-18T03:38:14.840Z] ---> Running in a134a029cad5 [2022-07-18T03:38:15.116Z] Removing intermediate container a134a029cad5 [2022-07-18T03:38:15.116Z] ---> 98cc5b5ed1e2 [2022-07-18T03:38:15.116Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T03:38:15.116Z] ---> Running in eef9bb031401 [2022-07-18T03:38:16.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T03:38:16.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T03:38:17.533Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T03:38:17.533Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-18T03:38:17.533Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T03:38:17.533Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-18T03:38:17.533Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T03:38:17.533Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T03:38:17.533Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T03:38:17.533Z] OK: 8 MiB in 20 packages [2022-07-18T03:38:18.517Z] Removing intermediate container eef9bb031401 [2022-07-18T03:38:18.518Z] ---> 08e451b6e773 [2022-07-18T03:38:18.518Z] Step 17/26 : WORKDIR / [2022-07-18T03:38:18.518Z] ---> Running in 2ce0f5bee17a [2022-07-18T03:38:18.799Z] Removing intermediate container 2ce0f5bee17a [2022-07-18T03:38:18.799Z] ---> 5ae1fb100764 [2022-07-18T03:38:18.799Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-18T03:38:20.237Z] ---> 82db312a2ece [2022-07-18T03:38:20.237Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-18T03:38:20.833Z] ---> df8e45cb2edf [2022-07-18T03:38:20.833Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-18T03:38:21.432Z] ---> 24a2373d878b [2022-07-18T03:38:21.432Z] Step 21/26 : EXPOSE 59984 [2022-07-18T03:38:21.432Z] ---> Running in b4b639b5de96 [2022-07-18T03:38:21.704Z] Removing intermediate container b4b639b5de96 [2022-07-18T03:38:21.704Z] ---> 195a0174886b [2022-07-18T03:38:21.704Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-18T03:38:21.704Z] ---> Running in d2821c2e454b [2022-07-18T03:38:21.986Z] Removing intermediate container d2821c2e454b [2022-07-18T03:38:21.986Z] ---> c9f9d50cded8 [2022-07-18T03:38:21.986Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T03:38:21.986Z] ---> Running in 8201009e71e9 [2022-07-18T03:38:22.263Z] Removing intermediate container 8201009e71e9 [2022-07-18T03:38:22.263Z] ---> 05a5b533baad [2022-07-18T03:38:22.263Z] Step 24/26 : LABEL arch=arm64 [2022-07-18T03:38:22.538Z] ---> Running in 4c649424906b [2022-07-18T03:38:22.813Z] Removing intermediate container 4c649424906b [2022-07-18T03:38:22.813Z] ---> f7add1dd5079 [2022-07-18T03:38:22.813Z] Step 25/26 : LABEL git_sha=201cf242bae9e183bc4bdc133a26c0afb244aa26 [2022-07-18T03:38:22.813Z] ---> Running in 57f4fb63efb4 [2022-07-18T03:38:23.089Z] Removing intermediate container 57f4fb63efb4 [2022-07-18T03:38:23.089Z] ---> 05188246e393 [2022-07-18T03:38:23.089Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T03:38:23.089Z] ---> Running in a1e491e4b0b8 [2022-07-18T03:38:23.362Z] Removing intermediate container a1e491e4b0b8 [2022-07-18T03:38:23.362Z] ---> b9f58db1ee90 [2022-07-18T03:38:23.362Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T03:38:23.635Z] Successfully built b9f58db1ee90 [2022-07-18T03:38:23.635Z] 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-18T03:38:24.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T03:38:24.510Z] [2022-07-18T03:38:24.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:38:24.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T03:38:24.935Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T03:38:24.935Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T03:38:24.935Z] 04944245beec: Pulling fs layer [2022-07-18T03:38:24.935Z] 699f458cf7ca: Pulling fs layer [2022-07-18T03:38:24.935Z] 765212b225bb: Pulling fs layer [2022-07-18T03:38:24.935Z] f23df028b6ca: Pulling fs layer [2022-07-18T03:38:24.935Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T03:38:24.935Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T03:38:24.935Z] 765212b225bb: Waiting [2022-07-18T03:38:24.935Z] f23df028b6ca: Waiting [2022-07-18T03:38:24.935Z] d65c8cfc05b1: Waiting [2022-07-18T03:38:24.935Z] 2437ff75d9bd: Waiting [2022-07-18T03:38:25.211Z] 04944245beec: Verifying Checksum [2022-07-18T03:38:25.211Z] 04944245beec: Download complete [2022-07-18T03:38:25.211Z] 765212b225bb: Download complete [2022-07-18T03:38:25.211Z] f23df028b6ca: Verifying Checksum [2022-07-18T03:38:25.211Z] f23df028b6ca: Download complete [2022-07-18T03:38:25.211Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T03:38:25.211Z] d65c8cfc05b1: Download complete [2022-07-18T03:38:25.486Z] 699f458cf7ca: Verifying Checksum [2022-07-18T03:38:25.487Z] 699f458cf7ca: Download complete [2022-07-18T03:38:25.763Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T03:38:25.763Z] 8998bd30e6a1: Download complete [2022-07-18T03:38:28.397Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T03:38:28.397Z] 2437ff75d9bd: Download complete [2022-07-18T03:38:29.843Z] 8998bd30e6a1: Pull complete [2022-07-18T03:38:30.444Z] 04944245beec: Pull complete [2022-07-18T03:38:31.885Z] 699f458cf7ca: Pull complete [2022-07-18T03:38:32.160Z] 765212b225bb: Pull complete [2022-07-18T03:38:33.143Z] f23df028b6ca: Pull complete [2022-07-18T03:38:33.143Z] d65c8cfc05b1: Pull complete [2022-07-18T03:38:48.247Z] 2437ff75d9bd: Pull complete [2022-07-18T03:38:48.247Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T03:38:48.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T03:38:48.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:38:48.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-20367 does not seem to be running inside a container [2022-07-18T03:38:48.751Z] $ 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-18T03:38:51.354Z] $ docker top 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:38:52.321Z] ---> job-cost.sh [2022-07-18T03:38:52.321Z] lf-activate-venv: SKIPPING [2022-07-18T03:38:52.321Z] INFO: No Stack... [2022-07-18T03:38:52.596Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T03:38:53.574Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T03:38:54.261Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-07-18T03:38:54.261Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T03:38:54.309Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [2022-07-18T03:38:54.314Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] did not exist. Created. [2022-07-18T03:38:54.314Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T03:38:55.067Z] /w/workspace/device-onvif-camera/1@tmp/durable-05a3e408/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T03:38:55.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T03:38:55.807Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T03:38:55.860Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T03:38:55.874Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T03:38:55.968Z] $ docker stop --time=1 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c [2022-07-18T03:38:57.481Z] $ docker rm -f 9af5e5fc0d90a7a11b6633c315f93e4c309d8616d997fbfd1ffc71d91fdefa3c [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-18T03:38:58.512Z] provisioning config files... [2022-07-18T03:38:58.524Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config5780490725484459810tmp [Pipeline] { [Pipeline] sh [2022-07-18T03:38:58.860Z] + set +x [2022-07-18T03:38:58.861Z] + curl -s https://codecov.io/bash [2022-07-18T03:38:58.861Z] + bash -s -- [2022-07-18T03:38:58.861Z] [2022-07-18T03:38:58.861Z] _____ _ [2022-07-18T03:38:58.861Z] / ____| | | [2022-07-18T03:38:58.861Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T03:38:58.861Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T03:38:58.861Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T03:38:58.861Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T03:38:58.861Z] Bash-1.0.6 [2022-07-18T03:38:58.861Z] [2022-07-18T03:38:58.861Z] [2022-07-18T03:38:58.861Z] ==> git version 2.25.1 found [2022-07-18T03:38:58.861Z] ==> 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-18T03:38:58.861Z] Release-Date: 2020-01-08 [2022-07-18T03:38:58.861Z] 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-18T03:38:58.861Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T03:38:58.861Z] ==> Jenkins CI detected. [2022-07-18T03:38:58.861Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-111 [2022-07-18T03:38:58.861Z] project root: . [2022-07-18T03:38:58.861Z] --> token set from env [2022-07-18T03:38:58.861Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T03:38:58.861Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T03:38:58.861Z] ==> Python coveragepy not found [2022-07-18T03:38:58.861Z] ==> Searching for coverage reports in: [2022-07-18T03:38:58.861Z] + . [2022-07-18T03:38:58.861Z] -> Found 1 reports [2022-07-18T03:38:58.861Z] ==> Detecting git/mercurial file structure [2022-07-18T03:38:58.861Z] ==> Reading reports [2022-07-18T03:38:59.122Z] + ./coverage.out bytes=70262 [2022-07-18T03:38:59.122Z] ==> Appending adjustments [2022-07-18T03:38:59.122Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T03:38:59.122Z] + Found adjustments [2022-07-18T03:38:59.122Z] ==> Gzipping contents [2022-07-18T03:38:59.122Z] 12K /tmp/codecov.Cl0A4e.gz [2022-07-18T03:38:59.122Z] ==> Uploading reports [2022-07-18T03:38:59.122Z] url: https://codecov.io [2022-07-18T03:38:59.122Z] query: branch=PR-111&commit=201cf242bae9e183bc4bdc133a26c0afb244aa26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= [2022-07-18T03:38:59.122Z] -> Pinging Codecov [2022-07-18T03:38:59.122Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-111&commit=201cf242bae9e183bc4bdc133a26c0afb244aa26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= [2022-07-18T03:38:59.382Z] -> Uploading to [2022-07-18T03:38:59.382Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/F29A59C45E3A92E06B3E522C9905F8EF/201cf242bae9e183bc4bdc133a26c0afb244aa26/3bbbcbad-a32e-4ac7-8c2d-44bbcb79040e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T033859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6526056f9e7636c482dfa3c575498704734ac348ee0b471508d410c9c807fbe [2022-07-18T03:38:59.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T03:38:59.382Z] Dload Upload Total Spent Left Speed [2022-07-18T03:38:59.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9485 0 0 100 9485 0 42725 --:--:-- --:--:-- --:--:-- 42533 100 9485 0 0 100 9485 0 39356 --:--:-- --:--:-- --:--:-- 39356 [2022-07-18T03:38:59.642Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/201cf242bae9e183bc4bdc133a26c0afb244aa26 [Pipeline] } [2022-07-18T03:38:59.668Z] 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-18T03:39:01.439Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-111/archives ] [2022-07-18T03:39:01.439Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-18T03:39:01.439Z] total 16 [2022-07-18T03:39:01.439Z] drwxr-xr-x 3 root root 4096 Jul 18 03:31 . [2022-07-18T03:39:01.439Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 03:31 .. [2022-07-18T03:39:01.439Z] drwxr-xr-x 2 root root 4096 Jul 18 03:31 cost [2022-07-18T03:39:01.439Z] -rw-r--r-- 1 root root 90 Jul 18 03:31 cost.csv [2022-07-18T03:39:01.439Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-18T03:39:01.439Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-18T03:39:01.439Z] total 16 [2022-07-18T03:39:01.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 03:31 . [2022-07-18T03:39:01.439Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 03:31 .. [2022-07-18T03:39:01.439Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 03:31 cost [2022-07-18T03:39:01.439Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 18 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:01.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:02.677Z] ---> package-listing.sh [2022-07-18T03:39:02.677Z] ++ facter osfamily [2022-07-18T03:39:02.677Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T03:39:02.937Z] + OS_FAMILY=debian [2022-07-18T03:39:02.937Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-111 [2022-07-18T03:39:02.937Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T03:39:02.937Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T03:39:02.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T03:39:02.937Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T03:39:02.937Z] + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' [2022-07-18T03:39:02.937Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T03:39:02.937Z] + case "${OS_FAMILY}" in [2022-07-18T03:39:02.937Z] + dpkg -l [2022-07-18T03:39:02.937Z] + grep '^ii' [2022-07-18T03:39:02.937Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T03:39:02.937Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T03:39:02.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T03:39:02.938Z] + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' [2022-07-18T03:39:02.938Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-111/archives/ [2022-07-18T03:39:02.938Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-111/archives/ [Pipeline] echo [2022-07-18T03:39:02.973Z] 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T03:39:03.266Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T03:39:03.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T03:39:03.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T03:39:04.038Z] prd-ubuntu20.04-docker-8c-8g-20366 does not seem to be running inside a container [2022-07-18T03:39:04.082Z] $ 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-111/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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T03:39:04.312Z] $ docker top 89549ffe2c8aa8e68386b042114432ae4f266cbbcec87f83112e5f7eb36ab4a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T03:39:04.710Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T03:39:05.020Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T03:39:05.340Z] + ls /var/log/sa-host [2022-07-18T03:39:05.340Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T03:39:05.543Z] provisioning config files... [2022-07-18T03:39:05.553Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config2195436204633253681tmp [Pipeline] { [Pipeline] echo [2022-07-18T03:39:05.604Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:05.914Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T03:39:05.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:06.349Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T03:39:06.382Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:06.696Z] ---> sudo-logs.sh [2022-07-18T03:39:06.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T03:39:06.791Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:07.103Z] ---> job-cost.sh [2022-07-18T03:39:07.103Z] lf-activate-venv: SKIPPING [2022-07-18T03:39:07.103Z] DEBUG: total: 0.2199999988079071 [2022-07-18T03:39:07.103Z] INFO: Retrieving Stack Cost... [2022-07-18T03:39:07.364Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T03:39:07.935Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T03:39:07.965Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T03:39:08.279Z] ---> logs-deploy.sh [2022-07-18T03:39:08.279Z] lf-activate-venv: SKIPPING [2022-07-18T03:39:08.279Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-111/1 [2022-07-18T03:39:08.279Z] INFO: archiving workspace using pattern(s): [2022-07-18T03:39:09.221Z] Archives upload complete. [2022-07-18T03:39:09.221Z] INFO: archiving logs to Nexus