Pull request #87 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0a79c5a718067479237195976121108915350925 rather than f4c28778845866842315627042822759ab4b977f Obtained Jenkinsfile from 0a79c5a718067479237195976121108915350925 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-ssh4308925616193814860.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1332337111009193620.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6297181558389304906.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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15194821198200935011.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh14049966477887742726.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6616114963353664118.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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-15238 in /w/workspace/oundry_device-onvif-camera_PR-87 [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/oundry_device-onvif-camera_PR-87 # 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 0a79c5a718067479237195976121108915350925 into PR head commit f4c28778845866842315627042822759ab4b977f Merge succeeded, producing cc845ce6c5c75d33a359ba5ac572774b1da3da91 Checking out Revision cc845ce6c5c75d33a359ba5ac572774b1da3da91 (PR-87) > 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/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f4c28778845866842315627042822759ab4b977f # 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 0a79c5a718067479237195976121108915350925 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc845ce6c5c75d33a359ba5ac572774b1da3da91 # timeout=10 Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-21T18:54:46.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-21T18:54:47.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-21T18:54:47.284Z] ========================================================= [2022-06-21T18:54:47.284Z] EdgeX Global Pipelines Version Info [2022-06-21T18:54:47.284Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-21T18:54:48.128Z] ------------------- [2022-06-21T18:54:48.128Z] stable info: [2022-06-21T18:54:48.128Z] ------------------- [2022-06-21T18:54:48.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-21T18:54:48.128Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T18:54:48.128Z] Message: update stable to v1.0.234 [2022-06-21T18:54:48.702Z] ------------------- [2022-06-21T18:54:48.702Z] experimental info: [2022-06-21T18:54:48.702Z] ------------------- [2022-06-21T18:54:48.702Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-21T18:54:48.702Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-21T18:54:48.702Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-21T18:54:49.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-21T18:54:49.132Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-21T18:54:49.175Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-21T18:54:49.216Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-21T18:54:49.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-21T18:54:49.300Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-21T18:54:49.342Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-21T18:54:49.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-21T18:54:49.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-21T18:54:49.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-21T18:54:49.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-21T18:54:49.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-21T18:54:49.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-21T18:54:49.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-21T18:54:49.694Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T18:54:49.734Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-21T18:54:49.771Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T18:54:49.816Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-21T18:54:49.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-21T18:54:49.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-21T18:54:49.937Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-21T18:54:49.979Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-21T18:54:50.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-21T18:54:50.068Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-21T18:54:50.111Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-21T18:54:50.155Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-21T18:54:50.199Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-21T18:54:50.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-21T18:54:50.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-21T18:54:50.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-21T18:54:50.407Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc845ce6c5c75d33a359ba5ac572774b1da3da91 [Pipeline] echo [2022-06-21T18:54:50.442Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc845ce [Pipeline] echo [2022-06-21T18:54:50.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T18:54:50.593Z] provisioning config files... [2022-06-21T18:54:50.608Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5684331802427410977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T18:54:50.959Z] ---> docker-login.sh [2022-06-21T18:54:50.959Z] nexus3.edgexfoundry.org:10001 [2022-06-21T18:54:51.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:54:51.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:54:51.221Z] Configure a credential helper to remove this warning. See [2022-06-21T18:54:51.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:54:51.221Z] [2022-06-21T18:54:51.221Z] Login Succeeded [2022-06-21T18:54:51.221Z] nexus3.edgexfoundry.org:10002 [2022-06-21T18:54:51.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:54:51.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:54:51.483Z] Configure a credential helper to remove this warning. See [2022-06-21T18:54:51.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:54:51.483Z] [2022-06-21T18:54:51.483Z] Login Succeeded [2022-06-21T18:54:51.483Z] nexus3.edgexfoundry.org:10003 [2022-06-21T18:54:51.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:54:51.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:54:51.483Z] Configure a credential helper to remove this warning. See [2022-06-21T18:54:51.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:54:51.483Z] [2022-06-21T18:54:51.483Z] Login Succeeded [2022-06-21T18:54:51.745Z] nexus3.edgexfoundry.org:10004 [2022-06-21T18:54:51.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:54:51.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:54:51.745Z] Configure a credential helper to remove this warning. See [2022-06-21T18:54:51.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:54:51.745Z] [2022-06-21T18:54:51.745Z] Login Succeeded [2022-06-21T18:54:51.745Z] docker.io [2022-06-21T18:54:51.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:54:52.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:54:52.322Z] Configure a credential helper to remove this warning. See [2022-06-21T18:54:52.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:54:52.322Z] [2022-06-21T18:54:52.322Z] Login Succeeded [2022-06-21T18:54:52.322Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T18:54:52.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-21T18:54:53.000Z] + git rev-list -1 --merges cc845ce6c5c75d33a359ba5ac572774b1da3da91~1..cc845ce6c5c75d33a359ba5ac572774b1da3da91 [Pipeline] echo [2022-06-21T18:54:53.059Z] -----------> git rev-list -1 --merges cc845ce6c5c75d33a359ba5ac572774b1da3da91~1..cc845ce6c5c75d33a359ba5ac572774b1da3da91 cc845ce6c5c75d33a359ba5ac572774b1da3da91 [2022-06-21T18:54:53.059Z] cc845ce6c5c75d33a359ba5ac572774b1da3da91 [false] [Pipeline] sh [2022-06-21T18:54:53.380Z] + git log --format=format:%s -1 cc845ce6c5c75d33a359ba5ac572774b1da3da91 [Pipeline] echo [2022-06-21T18:54:53.418Z] ========================================================= [2022-06-21T18:54:53.418Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-21T18:54:53.418Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T18:54:53.861Z] + git log --format=format:%s -1 cc845ce6c5c75d33a359ba5ac572774b1da3da91 [Pipeline] echo [2022-06-21T18:54:53.893Z] [semverPrep] GIT_COMMIT: cc845ce6c5c75d33a359ba5ac572774b1da3da91, Commit Message: Merge commit '0a79c5a718067479237195976121108915350925' into HEAD [Pipeline] echo [2022-06-21T18:54:53.925Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-21T18:54:54.330Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-21T18:54:54.330Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-21T18:54:54.330Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-21T18:54:54.330Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-21T18:54:54.330Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-21T18:54:54.330Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-21T18:54:54.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:54:54.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T18:54:54.858Z] [2022-06-21T18:54:54.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:54:55.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T18:54:55.240Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-21T18:54:55.240Z] 42c077c10790: Pulling fs layer [2022-06-21T18:54:55.240Z] f63e77b7563a: Pulling fs layer [2022-06-21T18:54:55.240Z] bd5fdadae976: Pulling fs layer [2022-06-21T18:54:55.240Z] 205491f53016: Pulling fs layer [2022-06-21T18:54:55.240Z] df18705c85c3: Pulling fs layer [2022-06-21T18:54:55.240Z] bdb3f477010e: Pulling fs layer [2022-06-21T18:54:55.240Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-21T18:54:55.240Z] 2c6e9b1d212d: Pulling fs layer [2022-06-21T18:54:55.240Z] bdb8f0575790: Pulling fs layer [2022-06-21T18:54:55.240Z] 386e3cb2ff24: Pulling fs layer [2022-06-21T18:54:55.240Z] 2343380bae48: Pulling fs layer [2022-06-21T18:54:55.240Z] bdb8f0575790: Waiting [2022-06-21T18:54:55.240Z] 205491f53016: Waiting [2022-06-21T18:54:55.240Z] df18705c85c3: Waiting [2022-06-21T18:54:55.240Z] 386e3cb2ff24: Waiting [2022-06-21T18:54:55.240Z] c8a8fc8e1c8f: Waiting [2022-06-21T18:54:55.240Z] bdb3f477010e: Waiting [2022-06-21T18:54:55.240Z] 2343380bae48: Waiting [2022-06-21T18:54:55.240Z] 2c6e9b1d212d: Waiting [2022-06-21T18:54:55.240Z] f63e77b7563a: Download complete [2022-06-21T18:54:55.240Z] 205491f53016: Download complete [2022-06-21T18:54:55.503Z] bd5fdadae976: Verifying Checksum [2022-06-21T18:54:55.503Z] bd5fdadae976: Download complete [2022-06-21T18:54:55.503Z] df18705c85c3: Verifying Checksum [2022-06-21T18:54:55.503Z] df18705c85c3: Download complete [2022-06-21T18:54:55.503Z] bdb3f477010e: Download complete [2022-06-21T18:54:55.503Z] 2c6e9b1d212d: Verifying Checksum [2022-06-21T18:54:55.503Z] 2c6e9b1d212d: Download complete [2022-06-21T18:54:55.503Z] bdb8f0575790: Download complete [2022-06-21T18:54:55.503Z] 386e3cb2ff24: Verifying Checksum [2022-06-21T18:54:55.503Z] 386e3cb2ff24: Download complete [2022-06-21T18:54:55.503Z] 2343380bae48: Verifying Checksum [2022-06-21T18:54:55.503Z] 2343380bae48: Download complete [2022-06-21T18:54:55.503Z] 42c077c10790: Verifying Checksum [2022-06-21T18:54:55.503Z] 42c077c10790: Download complete [2022-06-21T18:54:55.763Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-21T18:54:55.763Z] c8a8fc8e1c8f: Download complete [2022-06-21T18:54:57.146Z] 42c077c10790: Pull complete [2022-06-21T18:54:57.146Z] f63e77b7563a: Pull complete [2022-06-21T18:54:57.719Z] bd5fdadae976: Pull complete [2022-06-21T18:54:57.719Z] 205491f53016: Pull complete [2022-06-21T18:54:57.979Z] df18705c85c3: Pull complete [2022-06-21T18:54:57.979Z] bdb3f477010e: Pull complete [2022-06-21T18:54:59.894Z] c8a8fc8e1c8f: Pull complete [2022-06-21T18:54:59.894Z] 2c6e9b1d212d: Pull complete [2022-06-21T18:55:00.158Z] bdb8f0575790: Pull complete [2022-06-21T18:55:00.158Z] 386e3cb2ff24: Pull complete [2022-06-21T18:55:00.420Z] 2343380bae48: Pull complete [2022-06-21T18:55:00.420Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-21T18:55:00.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-21T18:55:00.420Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:55:00.644Z] prd-ubuntu20.04-docker-8c-8g-15238 does not seem to be running inside a container [2022-06-21T18:55:00.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-21T18:55:02.255Z] $ docker top 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b -eo pid,comm [2022-06-21T18:55:02.328Z] 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-06-21T18:55:02.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-21T18:55:02.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T18:55:02.454Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T18:55:02.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T18:55:02.593Z] $ docker exec 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b ssh-agent [2022-06-21T18:55:02.707Z] SSH_AUTH_SOCK=/tmp/ssh-jiPd8kWSXpyn/agent.32 [2022-06-21T18:55:02.707Z] SSH_AGENT_PID=38 [2022-06-21T18:55:02.714Z] Running ssh-add (command line suppressed) [2022-06-21T18:55:02.838Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3669124517613563469.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3669124517613563469.key) [2022-06-21T18:55:02.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T18:55:03.191Z] + git tag --points-at HEAD [Pipeline] } [2022-06-21T18:55:03.224Z] $ docker exec --env ******** --env ******** 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b ssh-agent -k [2022-06-21T18:55:03.332Z] unset SSH_AUTH_SOCK; [2022-06-21T18:55:03.332Z] unset SSH_AGENT_PID; [2022-06-21T18:55:03.332Z] echo Agent pid 38 killed; [2022-06-21T18:55:03.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-21T18:55:03.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-21T18:55:03.428Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-21T18:55:03.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-21T18:55:03.568Z] $ docker exec 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b ssh-agent [2022-06-21T18:55:03.701Z] SSH_AUTH_SOCK=/tmp/ssh-BZPnz1NWNwSV/agent.70 [2022-06-21T18:55:03.701Z] SSH_AGENT_PID=77 [2022-06-21T18:55:03.707Z] Running ssh-add (command line suppressed) [2022-06-21T18:55:03.834Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2339876613989299247.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_2339876613989299247.key) [2022-06-21T18:55:03.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-21T18:55:04.178Z] + git semver init [2022-06-21T18:55:04.443Z] 2022-06-21 18:55:04,397 [run_init] DEBUG init version:0.0.0 force:False [2022-06-21T18:55:04.443Z] 2022-06-21 18:55:04,397 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-21T18:55:04.443Z] 2022-06-21 18:55:04,398 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-21T18:55:04.443Z] 2022-06-21 18:55:04,398 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,280 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,281 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,281 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,285 [execute] INFO git cat-file --batch-check [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,292 [execute] INFO git cat-file --batch [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-21T18:55:05.385Z] 2022-06-21 18:55:05,298 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-21T18:55:05.385Z] 0.0.0 [Pipeline] } [2022-06-21T18:55:05.456Z] $ docker exec --env ******** --env ******** 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b ssh-agent -k [2022-06-21T18:55:05.574Z] unset SSH_AUTH_SOCK; [2022-06-21T18:55:05.574Z] unset SSH_AGENT_PID; [2022-06-21T18:55:05.574Z] echo Agent pid 77 killed; [2022-06-21T18:55:05.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-21T18:55:06.022Z] + git semver [Pipeline] } [2022-06-21T18:55:06.312Z] $ docker stop --time=1 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b [2022-06-21T18:55:07.629Z] $ docker rm -f 540022007bb69a70e9a46209595f1cf954eebe4c7c1182777997f6078ff6784b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T18:55:08.049Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-21T18:55:08.339Z] Stashed 1 file(s) [Pipeline] echo [2022-06-21T18:55:08.355Z] [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-06-21T18:55:08.899Z] provisioning config files... [2022-06-21T18:55:08.909Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8416398170385659650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T18:55:09.256Z] ---> docker-login.sh [2022-06-21T18:55:09.257Z] nexus3.edgexfoundry.org:10001 [2022-06-21T18:55:09.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:55:09.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:55:09.257Z] Configure a credential helper to remove this warning. See [2022-06-21T18:55:09.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:55:09.257Z] [2022-06-21T18:55:09.257Z] Login Succeeded [2022-06-21T18:55:09.257Z] nexus3.edgexfoundry.org:10002 [2022-06-21T18:55:09.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:55:09.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:55:09.518Z] Configure a credential helper to remove this warning. See [2022-06-21T18:55:09.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:55:09.518Z] [2022-06-21T18:55:09.518Z] Login Succeeded [2022-06-21T18:55:09.518Z] nexus3.edgexfoundry.org:10003 [2022-06-21T18:55:09.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:55:09.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:55:09.518Z] Configure a credential helper to remove this warning. See [2022-06-21T18:55:09.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:55:09.518Z] [2022-06-21T18:55:09.518Z] Login Succeeded [2022-06-21T18:55:09.518Z] nexus3.edgexfoundry.org:10004 [2022-06-21T18:55:09.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:55:09.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:55:09.781Z] Configure a credential helper to remove this warning. See [2022-06-21T18:55:09.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:55:09.781Z] [2022-06-21T18:55:09.781Z] Login Succeeded [2022-06-21T18:55:09.781Z] docker.io [2022-06-21T18:55:09.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:55:10.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:55:10.041Z] Configure a credential helper to remove this warning. See [2022-06-21T18:55:10.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:55:10.041Z] [2022-06-21T18:55:10.041Z] Login Succeeded [2022-06-21T18:55:10.041Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T18:55:10.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T18:55:10.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T18:55:10.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T18:55:10.323Z] ========================================================= [2022-06-21T18:55:10.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-21T18:55:10.323Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:55:10.790Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-21T18:55:10.790Z] Sending build context to Docker daemon 8.814MB [2022-06-21T18:55:10.790Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T18:55:10.790Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-21T18:55:10.790Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-21T18:55:10.790Z] 59bf1c3509f3: Pulling fs layer [2022-06-21T18:55:10.790Z] 666ba61612fd: Pulling fs layer [2022-06-21T18:55:10.790Z] 8ed8ca486205: Pulling fs layer [2022-06-21T18:55:10.790Z] cc1cd167ecdc: Pulling fs layer [2022-06-21T18:55:10.790Z] c516ae0d96e1: Pulling fs layer [2022-06-21T18:55:10.790Z] 684cea983483: Pulling fs layer [2022-06-21T18:55:10.790Z] dd3240ac7de5: Pulling fs layer [2022-06-21T18:55:10.790Z] b1e948a4e11c: Pulling fs layer [2022-06-21T18:55:10.790Z] a8fd76ee1af6: Pulling fs layer [2022-06-21T18:55:10.790Z] 646ad004c059: Pulling fs layer [2022-06-21T18:55:10.790Z] dd3240ac7de5: Waiting [2022-06-21T18:55:10.790Z] b1e948a4e11c: Waiting [2022-06-21T18:55:10.790Z] a8fd76ee1af6: Waiting [2022-06-21T18:55:10.790Z] 646ad004c059: Waiting [2022-06-21T18:55:10.790Z] cc1cd167ecdc: Waiting [2022-06-21T18:55:10.790Z] 684cea983483: Waiting [2022-06-21T18:55:10.790Z] 8ed8ca486205: Verifying Checksum [2022-06-21T18:55:10.790Z] 8ed8ca486205: Download complete [2022-06-21T18:55:10.790Z] 666ba61612fd: Verifying Checksum [2022-06-21T18:55:10.790Z] 666ba61612fd: Download complete [2022-06-21T18:55:10.790Z] c516ae0d96e1: Verifying Checksum [2022-06-21T18:55:10.790Z] c516ae0d96e1: Download complete [2022-06-21T18:55:11.050Z] 684cea983483: Verifying Checksum [2022-06-21T18:55:11.050Z] 684cea983483: Download complete [2022-06-21T18:55:11.050Z] dd3240ac7de5: Verifying Checksum [2022-06-21T18:55:11.050Z] dd3240ac7de5: Download complete [2022-06-21T18:55:11.050Z] 59bf1c3509f3: Verifying Checksum [2022-06-21T18:55:11.050Z] 59bf1c3509f3: Download complete [2022-06-21T18:55:11.050Z] b1e948a4e11c: Verifying Checksum [2022-06-21T18:55:11.050Z] b1e948a4e11c: Download complete [2022-06-21T18:55:11.050Z] 59bf1c3509f3: Pull complete [2022-06-21T18:55:11.316Z] 666ba61612fd: Pull complete [2022-06-21T18:55:11.316Z] 8ed8ca486205: Pull complete [2022-06-21T18:55:11.577Z] 646ad004c059: Verifying Checksum [2022-06-21T18:55:11.577Z] 646ad004c059: Download complete [2022-06-21T18:55:11.577Z] a8fd76ee1af6: Verifying Checksum [2022-06-21T18:55:11.577Z] a8fd76ee1af6: Download complete [2022-06-21T18:55:11.836Z] cc1cd167ecdc: Verifying Checksum [2022-06-21T18:55:11.836Z] cc1cd167ecdc: Download complete [2022-06-21T18:55:16.034Z] cc1cd167ecdc: Pull complete [2022-06-21T18:55:16.034Z] c516ae0d96e1: Pull complete [2022-06-21T18:55:16.034Z] 684cea983483: Pull complete [2022-06-21T18:55:16.034Z] dd3240ac7de5: Pull complete [2022-06-21T18:55:16.034Z] b1e948a4e11c: Pull complete [2022-06-21T18:55:17.940Z] a8fd76ee1af6: Pull complete [2022-06-21T18:55:18.511Z] 646ad004c059: Pull complete [2022-06-21T18:55:18.511Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-21T18:55:18.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-21T18:55:18.511Z] ---> 8f69c11f6b0c [2022-06-21T18:55:18.511Z] Step 3/13 : ARG MAKE="make build" [2022-06-21T18:55:20.427Z] ---> Running in dce83698f6f0 [2022-06-21T18:55:20.427Z] Removing intermediate container dce83698f6f0 [2022-06-21T18:55:20.427Z] ---> 28717be87875 [2022-06-21T18:55:20.427Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T18:55:20.427Z] ---> Running in 26f55f11cc8b [2022-06-21T18:55:20.427Z] Removing intermediate container 26f55f11cc8b [2022-06-21T18:55:20.427Z] ---> d88a554e6029 [2022-06-21T18:55:20.427Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T18:55:20.427Z] ---> Running in f8ba19c8ae8c [2022-06-21T18:55:20.687Z] Removing intermediate container f8ba19c8ae8c [2022-06-21T18:55:20.687Z] ---> 69269b26d3e7 [2022-06-21T18:55:20.687Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-21T18:55:20.687Z] ---> Running in 5b56658d65a8 [2022-06-21T18:55:20.687Z] Removing intermediate container 5b56658d65a8 [2022-06-21T18:55:20.687Z] ---> a3ada768d677 [2022-06-21T18:55:20.687Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T18:55:20.687Z] ---> Running in ee25825f518c [2022-06-21T18:55:21.258Z] Removing intermediate container ee25825f518c [2022-06-21T18:55:21.258Z] ---> dcc20a7b3408 [2022-06-21T18:55:21.258Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T18:55:21.519Z] ---> Running in 38435d565913 [2022-06-21T18:55:21.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T18:55:22.724Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T18:55:22.986Z] OK: 221 MiB in 52 packages [2022-06-21T18:55:23.246Z] Removing intermediate container 38435d565913 [2022-06-21T18:55:23.246Z] ---> 85ca09b8fe3e [2022-06-21T18:55:23.246Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-21T18:55:23.246Z] ---> Running in 973ac73584fa [2022-06-21T18:55:23.246Z] Removing intermediate container 973ac73584fa [2022-06-21T18:55:23.246Z] ---> 84ba4b7adca5 [2022-06-21T18:55:23.246Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-21T18:55:23.508Z] ---> 59c013d85221 [2022-06-21T18:55:23.508Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T18:55:23.508Z] ---> Running in 5acb3a3335f1 [2022-06-21T18:55:23.738Z] Still waiting to schedule task [2022-06-21T18:55:23.738Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-21T18:55:41.648Z] Removing intermediate container 5acb3a3335f1 [2022-06-21T18:55:41.648Z] ---> 655fd1e5ccdf [2022-06-21T18:55:41.648Z] Step 12/13 : COPY . . [2022-06-21T18:55:41.911Z] ---> fcfb6ac80ed3 [2022-06-21T18:55:41.911Z] Step 13/13 : RUN ${MAKE} [2022-06-21T18:55:41.911Z] ---> Running in 7fbef7072e58 [2022-06-21T18:55:42.172Z] noop [2022-06-21T18:55:42.443Z] Removing intermediate container 7fbef7072e58 [2022-06-21T18:55:42.443Z] ---> 55f7a29ddf09 [2022-06-21T18:55:42.443Z] Successfully built 55f7a29ddf09 [2022-06-21T18:55:42.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:55:43.148Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T18:55:43.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:55:43.303Z] prd-ubuntu20.04-docker-8c-8g-15238 does not seem to be running inside a container [2022-06-21T18:55:43.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-21T18:55:43.726Z] $ docker top d78f58d610d1423c7beea4e8329ca94d4ecc8b9670e00408cd375289fbe44232 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T18:55:44.123Z] + go version [2022-06-21T18:55:44.123Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-21T18:55:44.157Z] $ docker stop --time=1 d78f58d610d1423c7beea4e8329ca94d4ecc8b9670e00408cd375289fbe44232 [2022-06-21T18:55:45.443Z] $ docker rm -f d78f58d610d1423c7beea4e8329ca94d4ecc8b9670e00408cd375289fbe44232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:55:46.153Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-21T18:55:46.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:55:46.350Z] prd-ubuntu20.04-docker-8c-8g-15238 does not seem to be running inside a container [2022-06-21T18:55:46.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-21T18:55:46.798Z] $ docker top 9f6c4d236c74af6ae8c55503c719749602d6bfe1f5d66834703d1c3d2b1f7054 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T18:55:47.254Z] + make test [2022-06-21T18:55:47.254Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-21T18:55:47.514Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-21T18:55:57.495Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-21T18:55:57.495Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 4.4% of statements [2022-06-21T18:56:01.702Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.990s coverage: 13.8% of statements [2022-06-21T18:56:09.834Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-21T18:56:13.130Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-21T18:56:13.130Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-21T18:56:13.130Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-21T18:56:13.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-21T18:56:13.463Z] $ docker stop --time=1 9f6c4d236c74af6ae8c55503c719749602d6bfe1f5d66834703d1c3d2b1f7054 [2022-06-21T18:56:15.401Z] $ docker rm -f 9f6c4d236c74af6ae8c55503c719749602d6bfe1f5d66834703d1c3d2b1f7054 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T18:56:15.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-21T18:56:15.998Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-21T18:56:16.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T18:56:16.989Z] + ls -al . [2022-06-21T18:56:16.989Z] total 240 [2022-06-21T18:56:16.989Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 18:56 . [2022-06-21T18:56:16.989Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:54 .. [2022-06-21T18:56:16.989Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 18:55 .git [2022-06-21T18:56:16.989Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 18:54 .github [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 21 18:54 .gitignore [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 18:54 .golangci.yml [2022-06-21T18:56:16.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 18:55 .semver [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 21 18:54 Attribution.txt [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 21 18:54 CHANGELOG.md [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 21 18:54 Dockerfile [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 18:54 GOVERNANCE.md [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 21 18:54 Jenkinsfile [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 18:54 LICENSE [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 21 18:54 Makefile [2022-06-21T18:56:16.989Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 21 18:54 OWNERS.md [2022-06-21T18:56:16.990Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 21 18:54 README.md [2022-06-21T18:56:16.990Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 18:55 VERSION [2022-06-21T18:56:16.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 18:54 bin [2022-06-21T18:56:16.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 18:54 cmd [2022-06-21T18:56:16.990Z] -rw-r--r-- 1 jenkins jenkins 62551 Jun 21 18:56 coverage.out [2022-06-21T18:56:16.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:54 doc [2022-06-21T18:56:16.990Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 21 18:54 go.mod [2022-06-21T18:56:16.990Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 21 18:54 go.sum [2022-06-21T18:56:16.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:54 internal [2022-06-21T18:56:16.990Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 21 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:56:17.382Z] + 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=cc845ce6c5c75d33a359ba5ac572774b1da3da91 --label arch=amd64 --label version=0.0.0 . [2022-06-21T18:56:17.382Z] Sending build context to Docker daemon 8.877MB [2022-06-21T18:56:17.382Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T18:56:17.382Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-21T18:56:17.382Z] ---> 55f7a29ddf09 [2022-06-21T18:56:17.382Z] Step 3/26 : ARG MAKE="make build" [2022-06-21T18:56:17.642Z] ---> Running in 7ada7e6515b9 [2022-06-21T18:56:17.642Z] Removing intermediate container 7ada7e6515b9 [2022-06-21T18:56:17.642Z] ---> 6bbf677a3daa [2022-06-21T18:56:17.642Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T18:56:17.642Z] ---> Running in ea59a71b444c [2022-06-21T18:56:17.642Z] Removing intermediate container ea59a71b444c [2022-06-21T18:56:17.642Z] ---> 48c99f5ed370 [2022-06-21T18:56:17.642Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T18:56:17.901Z] ---> Running in aab25ac80577 [2022-06-21T18:56:17.901Z] Removing intermediate container aab25ac80577 [2022-06-21T18:56:17.901Z] ---> ddb595842f9b [2022-06-21T18:56:17.901Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-21T18:56:17.901Z] ---> Running in f30c592022cd [2022-06-21T18:56:17.901Z] Removing intermediate container f30c592022cd [2022-06-21T18:56:17.901Z] ---> 44522a6e4e5f [2022-06-21T18:56:17.901Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T18:56:18.161Z] ---> Running in ee19728c1760 [2022-06-21T18:56:18.730Z] Removing intermediate container ee19728c1760 [2022-06-21T18:56:18.730Z] ---> c2489b1d258b [2022-06-21T18:56:18.730Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T18:56:18.730Z] ---> Running in 82b0c3cde49c [2022-06-21T18:56:18.992Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T18:56:19.940Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T18:56:20.201Z] OK: 221 MiB in 52 packages [2022-06-21T18:56:20.462Z] Removing intermediate container 82b0c3cde49c [2022-06-21T18:56:20.462Z] ---> a6b379745c65 [2022-06-21T18:56:20.462Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-21T18:56:20.462Z] ---> Running in bfe184cf6763 [2022-06-21T18:56:20.462Z] Removing intermediate container bfe184cf6763 [2022-06-21T18:56:20.462Z] ---> b112cef37e8b [2022-06-21T18:56:20.462Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-21T18:56:20.723Z] ---> fa83eb25d37f [2022-06-21T18:56:20.723Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T18:56:20.723Z] ---> Running in 0f46e4045767 [2022-06-21T18:56:21.292Z] Removing intermediate container 0f46e4045767 [2022-06-21T18:56:21.292Z] ---> 7e23fabd5d9f [2022-06-21T18:56:21.292Z] Step 12/26 : COPY . . [2022-06-21T18:56:21.864Z] ---> 66c42a3f19de [2022-06-21T18:56:21.864Z] Step 13/26 : RUN ${MAKE} [2022-06-21T18:56:21.864Z] ---> Running in 5439fe3db537 [2022-06-21T18:56:22.123Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-21T18:56:44.064Z] Removing intermediate container 5439fe3db537 [2022-06-21T18:56:44.064Z] ---> f455fee66cef [2022-06-21T18:56:44.064Z] Step 14/26 : FROM alpine:3.15 [2022-06-21T18:56:44.064Z] 3.15: Pulling from library/alpine [2022-06-21T18:56:44.064Z] df9b9388f04a: Pulling fs layer [2022-06-21T18:56:44.064Z] df9b9388f04a: Verifying Checksum [2022-06-21T18:56:44.064Z] df9b9388f04a: Download complete [2022-06-21T18:56:44.064Z] df9b9388f04a: Pull complete [2022-06-21T18:56:44.064Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-21T18:56:44.064Z] Status: Downloaded newer image for alpine:3.15 [2022-06-21T18:56:44.064Z] ---> 0ac33e5f5afa [2022-06-21T18:56:44.064Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-21T18:56:44.064Z] ---> Running in c5684bb875e1 [2022-06-21T18:56:44.064Z] Removing intermediate container c5684bb875e1 [2022-06-21T18:56:44.064Z] ---> 07f7542c6cc7 [2022-06-21T18:56:44.064Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-21T18:56:44.064Z] ---> Running in 5f6d3b8bff35 [2022-06-21T18:56:44.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-21T18:56:44.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-21T18:56:44.064Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-21T18:56:44.064Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-21T18:56:44.064Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-21T18:56:44.064Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-21T18:56:44.064Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-21T18:56:44.064Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-21T18:56:44.064Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T18:56:44.064Z] OK: 8 MiB in 20 packages [2022-06-21T18:56:44.064Z] Removing intermediate container 5f6d3b8bff35 [2022-06-21T18:56:44.064Z] ---> eec2e8167186 [2022-06-21T18:56:44.064Z] Step 17/26 : WORKDIR / [2022-06-21T18:56:44.064Z] ---> Running in 9da81968360d [2022-06-21T18:56:44.064Z] Removing intermediate container 9da81968360d [2022-06-21T18:56:44.064Z] ---> 5cc5da9f694d [2022-06-21T18:56:44.064Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-21T18:56:44.635Z] ---> dacf3043c840 [2022-06-21T18:56:44.635Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-21T18:56:44.635Z] ---> 5acd0458ce81 [2022-06-21T18:56:44.635Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-21T18:56:44.907Z] ---> 5aec11a8a7fc [2022-06-21T18:56:44.907Z] Step 21/26 : EXPOSE 59984 [2022-06-21T18:56:44.907Z] ---> Running in 30533eff2f61 [2022-06-21T18:56:44.907Z] Removing intermediate container 30533eff2f61 [2022-06-21T18:56:44.907Z] ---> 3fb1f7478612 [2022-06-21T18:56:44.907Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-21T18:56:45.167Z] ---> Running in 64a2bc09787b [2022-06-21T18:56:45.167Z] Removing intermediate container 64a2bc09787b [2022-06-21T18:56:45.167Z] ---> 41c066189209 [2022-06-21T18:56:45.167Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-21T18:56:45.167Z] ---> Running in d2a3181b220f [2022-06-21T18:56:45.167Z] Removing intermediate container d2a3181b220f [2022-06-21T18:56:45.167Z] ---> 449660fcaf9b [2022-06-21T18:56:45.167Z] Step 24/26 : LABEL arch=amd64 [2022-06-21T18:56:45.427Z] ---> Running in c17906c9980f [2022-06-21T18:56:45.427Z] Removing intermediate container c17906c9980f [2022-06-21T18:56:45.427Z] ---> c9f4c8a525ea [2022-06-21T18:56:45.427Z] Step 25/26 : LABEL git_sha=cc845ce6c5c75d33a359ba5ac572774b1da3da91 [2022-06-21T18:56:45.427Z] ---> Running in 962f50efc4a3 [2022-06-21T18:56:45.687Z] Removing intermediate container 962f50efc4a3 [2022-06-21T18:56:45.687Z] ---> 603251cbea25 [2022-06-21T18:56:45.687Z] Step 26/26 : LABEL version=0.0.0 [2022-06-21T18:56:45.687Z] ---> Running in 45448500755f [2022-06-21T18:56:45.687Z] Removing intermediate container 45448500755f [2022-06-21T18:56:45.687Z] ---> 3b4be4e65785 [2022-06-21T18:56:45.687Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-21T18:56:45.687Z] Successfully built 3b4be4e65785 [2022-06-21T18:56:45.687Z] 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-06-21T18:56:46.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T18:56:46.562Z] [2022-06-21T18:56:46.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:56:46.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T18:56:46.986Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-21T18:56:46.986Z] 5eb5b503b376: Pulling fs layer [2022-06-21T18:56:46.986Z] 5c69ac0246d0: Pulling fs layer [2022-06-21T18:56:46.986Z] ec43610c2a17: Pulling fs layer [2022-06-21T18:56:46.986Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-21T18:56:46.986Z] 33b1e0a273af: Pulling fs layer [2022-06-21T18:56:46.986Z] 5d3b04190fa2: Pulling fs layer [2022-06-21T18:56:46.986Z] 2f39f015ded8: Pulling fs layer [2022-06-21T18:56:46.986Z] 5d3b04190fa2: Waiting [2022-06-21T18:56:46.986Z] 2f39f015ded8: Waiting [2022-06-21T18:56:46.986Z] 33b1e0a273af: Waiting [2022-06-21T18:56:46.986Z] 3a2ae6a8a46f: Waiting [2022-06-21T18:56:46.986Z] 5c69ac0246d0: Verifying Checksum [2022-06-21T18:56:46.986Z] 5c69ac0246d0: Download complete [2022-06-21T18:56:46.986Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-21T18:56:46.986Z] 3a2ae6a8a46f: Download complete [2022-06-21T18:56:46.986Z] 33b1e0a273af: Verifying Checksum [2022-06-21T18:56:46.986Z] 33b1e0a273af: Download complete [2022-06-21T18:56:46.986Z] 5d3b04190fa2: Verifying Checksum [2022-06-21T18:56:46.986Z] 5d3b04190fa2: Download complete [2022-06-21T18:56:47.246Z] ec43610c2a17: Verifying Checksum [2022-06-21T18:56:47.246Z] ec43610c2a17: Download complete [2022-06-21T18:56:47.246Z] 5eb5b503b376: Download complete [2022-06-21T18:56:47.814Z] 2f39f015ded8: Download complete [2022-06-21T18:56:48.384Z] 5eb5b503b376: Pull complete [2022-06-21T18:56:48.644Z] 5c69ac0246d0: Pull complete [2022-06-21T18:56:48.905Z] ec43610c2a17: Pull complete [2022-06-21T18:56:49.165Z] 3a2ae6a8a46f: Pull complete [2022-06-21T18:56:49.428Z] 33b1e0a273af: Pull complete [2022-06-21T18:56:49.428Z] 5d3b04190fa2: Pull complete [2022-06-21T18:56:54.706Z] 2f39f015ded8: Pull complete [2022-06-21T18:56:54.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-21T18:56:54.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T18:56:54.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:56:54.923Z] prd-ubuntu20.04-docker-8c-8g-15238 does not seem to be running inside a container [2022-06-21T18:56:54.960Z] $ 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/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-21T18:56:56.731Z] $ docker top 3fbbbed2758b00af727bcf744b650f8b52a1894feefe5c32dd417b55cc83fa0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T18:56:57.180Z] ---> job-cost.sh [2022-06-21T18:56:57.180Z] lf-activate-venv: SKIPPING [2022-06-21T18:56:57.180Z] INFO: No Stack... [2022-06-21T18:56:57.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T18:56:57.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15239 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [2022-06-21T18:56:58.008Z] INFO: Archiving Costs [Pipeline] ws [2022-06-21T18:56:58.019Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] sh [Pipeline] checkout [2022-06-21T18:56:58.175Z] Selected Git installation does not exist. Using Default [2022-06-21T18:56:58.175Z] The recommended git tool is: NONE [2022-06-21T18:56:58.366Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-21T18:56:58.366Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T18:56:58.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [2022-06-21T18:56:58.410Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] did not exist. Created. [2022-06-21T18:56:58.410Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T18:56:58.801Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-21T18:56:58.852Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T18:56:58.878Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T18:56:58.956Z] $ docker stop --time=1 3fbbbed2758b00af727bcf744b650f8b52a1894feefe5c32dd417b55cc83fa0f [2022-06-21T18:57:00.111Z] $ docker rm -f 3fbbbed2758b00af727bcf744b650f8b52a1894feefe5c32dd417b55cc83fa0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-21T18:57:03.863Z] using credential edgex-jenkins-ssh [2022-06-21T18:57:03.882Z] Cloning the remote Git repository [2022-06-21T18:57:03.943Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T18:57:04.024Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-21T18:57:04.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T18:57:04.106Z] > git --version # timeout=10 [2022-06-21T18:57:04.125Z] > git --version # 'git version 2.25.1' [2022-06-21T18:57:04.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T18:57:04.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T18:57:05.647Z] Merging remotes/origin/main commit 0a79c5a718067479237195976121108915350925 into PR head commit f4c28778845866842315627042822759ab4b977f [2022-06-21T18:57:05.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-21T18:57:05.059Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-21T18:57:05.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-21T18:57:05.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-21T18:57:05.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T18:57:05.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-21T18:57:05.669Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T18:57:05.692Z] > git checkout -f f4c28778845866842315627042822759ab4b977f # timeout=10 [2022-06-21T18:57:05.822Z] > git remote # timeout=10 [2022-06-21T18:57:05.838Z] > git config --get remote.origin.url # timeout=10 [2022-06-21T18:57:05.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-21T18:57:05.873Z] > git merge 0a79c5a718067479237195976121108915350925 # timeout=10 [2022-06-21T18:57:06.053Z] Merge succeeded, producing 6ce84dc63a2b0ab121ec840889da5d1ad093e98c [2022-06-21T18:57:06.054Z] Checking out Revision 6ce84dc63a2b0ab121ec840889da5d1ad093e98c (PR-87) [2022-06-21T18:57:06.041Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-21T18:57:06.063Z] > git config core.sparsecheckout # timeout=10 [2022-06-21T18:57:06.084Z] > git checkout -f 6ce84dc63a2b0ab121ec840889da5d1ad093e98c # timeout=10 [2022-06-21T18:57:10.208Z] Commit message: "Merge commit '0a79c5a718067479237195976121108915350925' into HEAD" [2022-06-21T18:57:10.208Z] First time build. Skipping changelog. [2022-06-21T18:57:10.267Z] > git --version # timeout=10 [2022-06-21T18:57:10.278Z] > git --version # 'git version 2.25.1' [2022-06-21T18:57:10.292Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T18:57:11.430Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-21T18:57:11.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T18:57:11.430Z] Dload Upload Total Spent Left Speed [2022-06-21T18:57:11.430Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-06-21T18:57:12.133Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-21T18:57:12.490Z] + sudo tee /etc/docker/daemon.new [2022-06-21T18:57:12.490Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-21T18:57:12.490Z] { [2022-06-21T18:57:12.490Z] "registry-mirrors": [ [2022-06-21T18:57:12.490Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-21T18:57:12.490Z] ], [2022-06-21T18:57:12.490Z] "bip": "10.250.0.254/24", [2022-06-21T18:57:12.490Z] "hosts": [ [2022-06-21T18:57:12.490Z] "tcp://0.0.0.0:5555", [2022-06-21T18:57:12.490Z] "unix:///var/run/docker.sock" [2022-06-21T18:57:12.490Z] ], [2022-06-21T18:57:12.490Z] "mtu": 1458, [2022-06-21T18:57:12.490Z] "selinux-enabled": true, [2022-06-21T18:57:12.490Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-21T18:57:12.490Z] } [Pipeline] sh [2022-06-21T18:57:12.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-21T18:57:13.207Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T18:57:31.774Z] provisioning config files... [2022-06-21T18:57:31.797Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2461065187964274552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T18:57:32.192Z] ---> docker-login.sh [2022-06-21T18:57:32.192Z] nexus3.edgexfoundry.org:10001 [2022-06-21T18:57:32.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:57:33.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:57:33.064Z] Configure a credential helper to remove this warning. See [2022-06-21T18:57:33.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:57:33.064Z] [2022-06-21T18:57:33.064Z] Login Succeeded [2022-06-21T18:57:33.064Z] nexus3.edgexfoundry.org:10002 [2022-06-21T18:57:33.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:57:33.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:57:33.339Z] Configure a credential helper to remove this warning. See [2022-06-21T18:57:33.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:57:33.339Z] [2022-06-21T18:57:33.339Z] Login Succeeded [2022-06-21T18:57:33.339Z] nexus3.edgexfoundry.org:10003 [2022-06-21T18:57:33.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:57:33.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:57:33.939Z] Configure a credential helper to remove this warning. See [2022-06-21T18:57:33.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:57:33.939Z] [2022-06-21T18:57:33.939Z] Login Succeeded [2022-06-21T18:57:33.939Z] nexus3.edgexfoundry.org:10004 [2022-06-21T18:57:34.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:57:34.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:57:34.497Z] Configure a credential helper to remove this warning. See [2022-06-21T18:57:34.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:57:34.497Z] [2022-06-21T18:57:34.497Z] Login Succeeded [2022-06-21T18:57:34.497Z] docker.io [2022-06-21T18:57:34.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-21T18:57:35.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-21T18:57:35.044Z] Configure a credential helper to remove this warning. See [2022-06-21T18:57:35.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-21T18:57:35.044Z] [2022-06-21T18:57:35.044Z] Login Succeeded [2022-06-21T18:57:35.044Z] ---> docker-login.sh ends [Pipeline] } [2022-06-21T18:57:35.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-21T18:57:35.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T18:57:35.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-21T18:57:35.516Z] ========================================================= [2022-06-21T18:57:35.516Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-21T18:57:35.516Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:57:36.043Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-21T18:57:36.316Z] Sending build context to Docker daemon 6.024MB [2022-06-21T18:57:36.316Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T18:57:36.316Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-21T18:57:36.593Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-21T18:57:36.593Z] 9b3977197b4f: Pulling fs layer [2022-06-21T18:57:36.593Z] 1a89e8eeedd5: Pulling fs layer [2022-06-21T18:57:36.593Z] 94645a83ff95: Pulling fs layer [2022-06-21T18:57:36.593Z] e6fb740bc735: Pulling fs layer [2022-06-21T18:57:36.593Z] 3a77bd46dcc9: Pulling fs layer [2022-06-21T18:57:36.593Z] 355e64cbe906: Pulling fs layer [2022-06-21T18:57:36.593Z] 63ab81a10011: Pulling fs layer [2022-06-21T18:57:36.593Z] 555d1d1c4555: Pulling fs layer [2022-06-21T18:57:36.593Z] 7d9057610161: Pulling fs layer [2022-06-21T18:57:36.593Z] 355e64cbe906: Waiting [2022-06-21T18:57:36.593Z] 63ab81a10011: Waiting [2022-06-21T18:57:36.593Z] 555d1d1c4555: Waiting [2022-06-21T18:57:36.593Z] e6fb740bc735: Waiting [2022-06-21T18:57:36.593Z] 3a77bd46dcc9: Waiting [2022-06-21T18:57:36.593Z] 7d9057610161: Waiting [2022-06-21T18:57:36.593Z] 94645a83ff95: Verifying Checksum [2022-06-21T18:57:36.593Z] 94645a83ff95: Download complete [2022-06-21T18:57:36.593Z] 3a77bd46dcc9: Download complete [2022-06-21T18:57:36.593Z] 355e64cbe906: Verifying Checksum [2022-06-21T18:57:36.593Z] 355e64cbe906: Download complete [2022-06-21T18:57:36.593Z] 9b3977197b4f: Verifying Checksum [2022-06-21T18:57:36.593Z] 63ab81a10011: Verifying Checksum [2022-06-21T18:57:36.593Z] 63ab81a10011: Download complete [2022-06-21T18:57:37.586Z] 9b3977197b4f: Pull complete [2022-06-21T18:57:37.586Z] 7d9057610161: Verifying Checksum [2022-06-21T18:57:37.586Z] 7d9057610161: Download complete [2022-06-21T18:57:38.193Z] 1a89e8eeedd5: Pull complete [2022-06-21T18:57:38.471Z] 94645a83ff95: Pull complete [2022-06-21T18:57:38.745Z] 555d1d1c4555: Verifying Checksum [2022-06-21T18:57:38.745Z] 555d1d1c4555: Download complete [2022-06-21T18:57:39.340Z] e6fb740bc735: Verifying Checksum [2022-06-21T18:57:39.340Z] e6fb740bc735: Download complete [2022-06-21T18:57:51.760Z] e6fb740bc735: Pull complete [2022-06-21T18:57:51.760Z] 3a77bd46dcc9: Pull complete [2022-06-21T18:57:51.760Z] 355e64cbe906: Pull complete [2022-06-21T18:57:51.760Z] 63ab81a10011: Pull complete [2022-06-21T18:57:58.497Z] 555d1d1c4555: Pull complete [2022-06-21T18:58:00.491Z] 7d9057610161: Pull complete [2022-06-21T18:58:00.491Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-21T18:58:00.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-21T18:58:00.491Z] ---> 819e984ddca1 [2022-06-21T18:58:00.491Z] Step 3/13 : ARG MAKE="make build" [2022-06-21T18:58:01.103Z] ---> Running in 3e2c22062ee4 [2022-06-21T18:58:01.382Z] Removing intermediate container 3e2c22062ee4 [2022-06-21T18:58:01.382Z] ---> 2cb1b3e9bb81 [2022-06-21T18:58:01.382Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T18:58:01.660Z] ---> Running in 63934b7f84d0 [2022-06-21T18:58:01.938Z] Removing intermediate container 63934b7f84d0 [2022-06-21T18:58:01.938Z] ---> 59f517650805 [2022-06-21T18:58:01.938Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T18:58:01.938Z] ---> Running in a9072d6e6ea2 [2022-06-21T18:58:02.217Z] Removing intermediate container a9072d6e6ea2 [2022-06-21T18:58:02.217Z] ---> adf1e8e98d85 [2022-06-21T18:58:02.217Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-21T18:58:02.495Z] ---> Running in 3ba320e45135 [2022-06-21T18:58:02.776Z] Removing intermediate container 3ba320e45135 [2022-06-21T18:58:02.776Z] ---> 9c47612a94d0 [2022-06-21T18:58:02.776Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T18:58:02.776Z] ---> Running in 86c5ee1bce4b [2022-06-21T18:58:05.422Z] Removing intermediate container 86c5ee1bce4b [2022-06-21T18:58:05.422Z] ---> e006ba9dfa46 [2022-06-21T18:58:05.422Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T18:58:05.422Z] ---> Running in 402462cf8454 [2022-06-21T18:58:06.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T18:58:07.393Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T18:58:07.990Z] OK: 220 MiB in 52 packages [2022-06-21T18:58:08.975Z] Removing intermediate container 402462cf8454 [2022-06-21T18:58:08.975Z] ---> c9a36666c739 [2022-06-21T18:58:08.975Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-21T18:58:08.975Z] ---> Running in 858afe8cde3f [2022-06-21T18:58:09.249Z] Removing intermediate container 858afe8cde3f [2022-06-21T18:58:09.249Z] ---> a81a669c76a6 [2022-06-21T18:58:09.249Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-21T18:58:09.867Z] ---> 2e705571778c [2022-06-21T18:58:09.867Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T18:58:09.867Z] ---> Running in 081fa0bfdbbc [2022-06-21T18:58:56.873Z] Removing intermediate container 081fa0bfdbbc [2022-06-21T18:58:56.873Z] ---> a13f0295b2ad [2022-06-21T18:58:56.873Z] Step 12/13 : COPY . . [2022-06-21T18:58:56.873Z] ---> d96d7194cd3f [2022-06-21T18:58:56.873Z] Step 13/13 : RUN ${MAKE} [2022-06-21T18:58:56.873Z] ---> Running in 9940fe76f320 [2022-06-21T18:58:57.148Z] noop [2022-06-21T18:58:57.746Z] Removing intermediate container 9940fe76f320 [2022-06-21T18:58:57.746Z] ---> c30c141bd2fc [2022-06-21T18:58:57.746Z] Successfully built c30c141bd2fc [2022-06-21T18:58:57.746Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:58:58.222Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T18:58:58.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:58:58.521Z] prd-ubuntu20.04-docker-arm64-4c-16g-15239 does not seem to be running inside a container [2022-06-21T18:58:58.605Z] $ 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-06-21T18:58:59.842Z] $ docker top 28067f78015defceb1413bb4026e96f97875294a80dc465d759ad2c6fc6211b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T18:59:00.764Z] + go version [2022-06-21T18:59:00.764Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-21T18:59:00.806Z] $ docker stop --time=1 28067f78015defceb1413bb4026e96f97875294a80dc465d759ad2c6fc6211b3 [2022-06-21T18:59:02.450Z] $ docker rm -f 28067f78015defceb1413bb4026e96f97875294a80dc465d759ad2c6fc6211b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T18:59:03.392Z] + docker inspect -f . ci-base-image-arm64 [2022-06-21T18:59:03.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T18:59:03.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-15239 does not seem to be running inside a container [2022-06-21T18:59:03.812Z] $ 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-06-21T18:59:05.072Z] $ docker top fd4e2fff92cc052b2a15c5f8dc849fdc50a0c340244aa312c8edcbc9bcf7c972 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-21T18:59:06.072Z] + make test [2022-06-21T18:59:06.072Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-21T18:59:08.063Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-21T19:00:44.931Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-21T19:00:44.931Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.088s coverage: 4.4% of statements [2022-06-21T19:00:55.084Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.477s coverage: 13.8% of statements [2022-06-21T19:00:55.084Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-21T19:00:55.084Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-21T19:01:27.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-21T19:01:27.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-21T19:01:27.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-21T19:01:27.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-21T19:01:27.588Z] $ docker stop --time=1 fd4e2fff92cc052b2a15c5f8dc849fdc50a0c340244aa312c8edcbc9bcf7c972 [2022-06-21T19:01:29.336Z] $ docker rm -f fd4e2fff92cc052b2a15c5f8dc849fdc50a0c340244aa312c8edcbc9bcf7c972 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-21T19:01:30.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-21T19:01:30.435Z] Warning: overwriting stash ‘coverage-report’ [2022-06-21T19:01:30.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-21T19:01:31.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-21T19:01:31.959Z] + ls -al . [2022-06-21T19:01:31.959Z] total 236 [2022-06-21T19:01:31.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 19:01 . [2022-06-21T19:01:31.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:57 .. [2022-06-21T19:01:31.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 18:57 .git [2022-06-21T19:01:31.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 18:57 .github [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 21 18:57 .gitignore [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 18:57 .golangci.yml [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 21 18:57 Attribution.txt [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 21 18:57 CHANGELOG.md [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 21 18:57 Dockerfile [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 18:57 GOVERNANCE.md [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 21 18:57 Jenkinsfile [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 18:57 LICENSE [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 21 18:57 Makefile [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 21 18:57 OWNERS.md [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 21 18:57 README.md [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 18:55 VERSION [2022-06-21T19:01:31.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 18:57 bin [2022-06-21T19:01:31.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 18:57 cmd [2022-06-21T19:01:31.959Z] -rw-r--r-- 1 jenkins jenkins 62551 Jun 21 19:00 coverage.out [2022-06-21T19:01:31.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:57 doc [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 21 18:57 go.mod [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 21 18:57 go.sum [2022-06-21T19:01:31.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 18:57 internal [2022-06-21T19:01:31.959Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 21 18:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:01:32.406Z] + 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=6ce84dc63a2b0ab121ec840889da5d1ad093e98c --label arch=arm64 --label version=0.0.0 . [2022-06-21T19:01:32.680Z] Sending build context to Docker daemon 6.088MB [2022-06-21T19:01:32.680Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-21T19:01:32.680Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-21T19:01:32.961Z] ---> c30c141bd2fc [2022-06-21T19:01:32.961Z] Step 3/26 : ARG MAKE="make build" [2022-06-21T19:01:32.961Z] ---> Running in de13a272cff4 [2022-06-21T19:01:33.236Z] Removing intermediate container de13a272cff4 [2022-06-21T19:01:33.236Z] ---> 5699e79fe56e [2022-06-21T19:01:33.236Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-21T19:01:33.236Z] ---> Running in b6719d97c373 [2022-06-21T19:01:33.512Z] Removing intermediate container b6719d97c373 [2022-06-21T19:01:33.512Z] ---> e61d3e487805 [2022-06-21T19:01:33.512Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-21T19:01:33.797Z] ---> Running in 3fad8e17459e [2022-06-21T19:01:34.072Z] Removing intermediate container 3fad8e17459e [2022-06-21T19:01:34.072Z] ---> 07a355d20e5b [2022-06-21T19:01:34.072Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-21T19:01:34.072Z] ---> Running in 8f71ddb4377f [2022-06-21T19:01:34.355Z] Removing intermediate container 8f71ddb4377f [2022-06-21T19:01:34.355Z] ---> dc230ad5ac20 [2022-06-21T19:01:34.355Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-21T19:01:34.355Z] ---> Running in 0457f2028030 [2022-06-21T19:01:36.342Z] Removing intermediate container 0457f2028030 [2022-06-21T19:01:36.342Z] ---> b35c4e8e4388 [2022-06-21T19:01:36.342Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-21T19:01:36.342Z] ---> Running in e80fcfd31ff7 [2022-06-21T19:01:37.327Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T19:01:37.928Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T19:01:38.914Z] OK: 220 MiB in 52 packages [2022-06-21T19:01:39.517Z] Removing intermediate container e80fcfd31ff7 [2022-06-21T19:01:39.517Z] ---> 4dd23f4f08a0 [2022-06-21T19:01:39.517Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-21T19:01:39.517Z] ---> Running in 9aa57b5062e7 [2022-06-21T19:01:39.796Z] Removing intermediate container 9aa57b5062e7 [2022-06-21T19:01:39.796Z] ---> 1163241fe7ca [2022-06-21T19:01:39.796Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-21T19:01:40.398Z] ---> 6e5dc644b2b2 [2022-06-21T19:01:40.398Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-21T19:01:40.675Z] ---> Running in a62d3badfe0a [2022-06-21T19:01:42.671Z] Removing intermediate container a62d3badfe0a [2022-06-21T19:01:42.671Z] ---> 7c6be25867fa [2022-06-21T19:01:42.671Z] Step 12/26 : COPY . . [2022-06-21T19:01:43.661Z] ---> fdafaeab56f7 [2022-06-21T19:01:43.661Z] Step 13/26 : RUN ${MAKE} [2022-06-21T19:01:43.661Z] ---> Running in 2fb2e42d64c8 [2022-06-21T19:01:44.652Z] 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.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-21T19:03:51.553Z] Removing intermediate container 2fb2e42d64c8 [2022-06-21T19:03:51.553Z] ---> 6d8360cfa099 [2022-06-21T19:03:51.553Z] Step 14/26 : FROM alpine:3.15 [2022-06-21T19:03:51.553Z] 3.15: Pulling from library/alpine [2022-06-21T19:03:51.553Z] 9981e73032c8: Pulling fs layer [2022-06-21T19:03:51.553Z] 9981e73032c8: Verifying Checksum [2022-06-21T19:03:51.553Z] 9981e73032c8: Download complete [2022-06-21T19:03:51.553Z] 9981e73032c8: Pull complete [2022-06-21T19:03:51.553Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-21T19:03:51.553Z] Status: Downloaded newer image for alpine:3.15 [2022-06-21T19:03:51.553Z] ---> 3fb3c9af89a9 [2022-06-21T19:03:51.553Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-21T19:03:51.553Z] ---> Running in bdb465ce9c61 [2022-06-21T19:03:51.553Z] Removing intermediate container bdb465ce9c61 [2022-06-21T19:03:51.553Z] ---> 00c6cf89db2e [2022-06-21T19:03:51.553Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-21T19:03:51.553Z] ---> Running in 978fd9029e1d [2022-06-21T19:03:51.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-21T19:03:51.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-21T19:03:51.553Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-21T19:03:51.553Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-21T19:03:51.553Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-21T19:03:51.553Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-21T19:03:51.553Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-21T19:03:51.553Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-21T19:03:51.553Z] Executing busybox-1.34.1-r5.trigger [2022-06-21T19:03:51.553Z] OK: 8 MiB in 20 packages [2022-06-21T19:03:51.553Z] Removing intermediate container 978fd9029e1d [2022-06-21T19:03:51.553Z] ---> 1e0629688112 [2022-06-21T19:03:51.553Z] Step 17/26 : WORKDIR / [2022-06-21T19:03:51.553Z] ---> Running in 7f42a3f9bb4f [2022-06-21T19:03:51.553Z] Removing intermediate container 7f42a3f9bb4f [2022-06-21T19:03:51.553Z] ---> db180c168728 [2022-06-21T19:03:51.553Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-21T19:03:51.553Z] ---> 116b7e3474cf [2022-06-21T19:03:51.553Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-21T19:03:52.161Z] ---> 43e82916449d [2022-06-21T19:03:52.161Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-21T19:03:52.759Z] ---> 2db39ac6a26d [2022-06-21T19:03:52.759Z] Step 21/26 : EXPOSE 59984 [2022-06-21T19:03:52.759Z] ---> Running in 7b89b004f88f [2022-06-21T19:03:53.035Z] Removing intermediate container 7b89b004f88f [2022-06-21T19:03:53.035Z] ---> 69ed52fc4a24 [2022-06-21T19:03:53.035Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-21T19:03:53.035Z] ---> Running in e407b1577b17 [2022-06-21T19:03:53.321Z] Removing intermediate container e407b1577b17 [2022-06-21T19:03:53.321Z] ---> 69a302b2f498 [2022-06-21T19:03:53.321Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-21T19:03:53.321Z] ---> Running in a378971a4f10 [2022-06-21T19:03:53.919Z] Removing intermediate container a378971a4f10 [2022-06-21T19:03:53.919Z] ---> 75b6626b1be0 [2022-06-21T19:03:53.919Z] Step 24/26 : LABEL arch=arm64 [2022-06-21T19:03:53.919Z] ---> Running in 4597551f50a4 [2022-06-21T19:03:54.197Z] Removing intermediate container 4597551f50a4 [2022-06-21T19:03:54.197Z] ---> 005420398d3a [2022-06-21T19:03:54.197Z] Step 25/26 : LABEL git_sha=6ce84dc63a2b0ab121ec840889da5d1ad093e98c [2022-06-21T19:03:54.197Z] ---> Running in 6e6341ce5b3d [2022-06-21T19:03:54.475Z] Removing intermediate container 6e6341ce5b3d [2022-06-21T19:03:54.475Z] ---> 325d8a41514c [2022-06-21T19:03:54.475Z] Step 26/26 : LABEL version=0.0.0 [2022-06-21T19:03:54.475Z] ---> Running in 8dbd33b2e360 [2022-06-21T19:03:54.752Z] Removing intermediate container 8dbd33b2e360 [2022-06-21T19:03:54.752Z] ---> 0c6dcc0efcef [2022-06-21T19:03:54.752Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-21T19:03:55.027Z] Successfully built 0c6dcc0efcef [2022-06-21T19:03:55.027Z] 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-06-21T19:03:55.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:03:55.883Z] [2022-06-21T19:03:55.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:03:56.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:03:56.587Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-21T19:03:56.587Z] 8998bd30e6a1: Pulling fs layer [2022-06-21T19:03:56.587Z] 04944245beec: Pulling fs layer [2022-06-21T19:03:56.587Z] 699f458cf7ca: Pulling fs layer [2022-06-21T19:03:56.587Z] 765212b225bb: Pulling fs layer [2022-06-21T19:03:56.587Z] f23df028b6ca: Pulling fs layer [2022-06-21T19:03:56.587Z] d65c8cfc05b1: Pulling fs layer [2022-06-21T19:03:56.587Z] 2437ff75d9bd: Pulling fs layer [2022-06-21T19:03:56.587Z] f23df028b6ca: Waiting [2022-06-21T19:03:56.587Z] d65c8cfc05b1: Waiting [2022-06-21T19:03:56.587Z] 2437ff75d9bd: Waiting [2022-06-21T19:03:56.587Z] 765212b225bb: Waiting [2022-06-21T19:03:56.587Z] 04944245beec: Verifying Checksum [2022-06-21T19:03:56.587Z] 04944245beec: Download complete [2022-06-21T19:03:56.587Z] 765212b225bb: Verifying Checksum [2022-06-21T19:03:56.587Z] 765212b225bb: Download complete [2022-06-21T19:03:56.587Z] f23df028b6ca: Verifying Checksum [2022-06-21T19:03:56.587Z] f23df028b6ca: Download complete [2022-06-21T19:03:56.587Z] d65c8cfc05b1: Verifying Checksum [2022-06-21T19:03:56.587Z] d65c8cfc05b1: Download complete [2022-06-21T19:03:56.863Z] 699f458cf7ca: Verifying Checksum [2022-06-21T19:03:56.863Z] 699f458cf7ca: Download complete [2022-06-21T19:03:57.140Z] 8998bd30e6a1: Verifying Checksum [2022-06-21T19:03:57.140Z] 8998bd30e6a1: Download complete [2022-06-21T19:03:59.766Z] 2437ff75d9bd: Verifying Checksum [2022-06-21T19:03:59.766Z] 2437ff75d9bd: Download complete [2022-06-21T19:04:01.748Z] 8998bd30e6a1: Pull complete [2022-06-21T19:04:02.021Z] 04944245beec: Pull complete [2022-06-21T19:04:03.463Z] 699f458cf7ca: Pull complete [2022-06-21T19:04:03.739Z] 765212b225bb: Pull complete [2022-06-21T19:04:04.340Z] f23df028b6ca: Pull complete [2022-06-21T19:04:04.615Z] d65c8cfc05b1: Pull complete [2022-06-21T19:04:19.718Z] 2437ff75d9bd: Pull complete [2022-06-21T19:04:19.718Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-21T19:04:19.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-21T19:04:19.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:04:20.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-15239 does not seem to be running inside a container [2022-06-21T19:04:20.220Z] $ 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-06-21T19:04:22.727Z] $ docker top 1a1f2b2fa53c4c2e3f2e16354ccc6a3de22b7d117e66159060cdb619903823d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:23.731Z] ---> job-cost.sh [2022-06-21T19:04:23.731Z] lf-activate-venv: SKIPPING [2022-06-21T19:04:23.731Z] INFO: No Stack... [2022-06-21T19:04:24.381Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-21T19:04:24.973Z] INFO: Archiving Costs [Pipeline] sh [2022-06-21T19:04:25.656Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-06-21T19:04:25.656Z] + cut -d, -f6 [Pipeline] lock [2022-06-21T19:04:25.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [2022-06-21T19:04:25.709Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] did not exist. Created. [2022-06-21T19:04:25.709Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-21T19:04:26.452Z] /w/workspace/device-onvif-camera/1@tmp/durable-1b86d329/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-21T19:04:27.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-21T19:04:27.256Z] Warning: overwriting stash ‘stack-cost’ [2022-06-21T19:04:27.326Z] Stashed 1 file(s) [Pipeline] } [2022-06-21T19:04:27.340Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-21T19:04:27.434Z] $ docker stop --time=1 1a1f2b2fa53c4c2e3f2e16354ccc6a3de22b7d117e66159060cdb619903823d5 [2022-06-21T19:04:28.986Z] $ docker rm -f 1a1f2b2fa53c4c2e3f2e16354ccc6a3de22b7d117e66159060cdb619903823d5 [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-06-21T19:04:30.037Z] provisioning config files... [2022-06-21T19:04:30.046Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3783322588649839187tmp [Pipeline] { [Pipeline] sh [2022-06-21T19:04:30.381Z] + set +x [2022-06-21T19:04:30.381Z] + curl -s https://codecov.io/bash [2022-06-21T19:04:30.381Z] + bash -s -- [2022-06-21T19:04:30.381Z] [2022-06-21T19:04:30.381Z] _____ _ [2022-06-21T19:04:30.381Z] / ____| | | [2022-06-21T19:04:30.381Z] | | ___ __| | ___ ___ _____ __ [2022-06-21T19:04:30.381Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-21T19:04:30.381Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-21T19:04:30.381Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-21T19:04:30.381Z] Bash-1.0.6 [2022-06-21T19:04:30.381Z] [2022-06-21T19:04:30.381Z] [2022-06-21T19:04:30.381Z] ==> git version 2.25.1 found [2022-06-21T19:04:30.381Z] ==> 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-06-21T19:04:30.381Z] Release-Date: 2020-01-08 [2022-06-21T19:04:30.381Z] 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-06-21T19:04:30.381Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-21T19:04:30.381Z] ==> Jenkins CI detected. [2022-06-21T19:04:30.381Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-21T19:04:30.381Z] project root: . [2022-06-21T19:04:30.381Z] --> token set from env [2022-06-21T19:04:30.381Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-21T19:04:30.381Z] ==> Running gcov in . (disable via -X gcov) [2022-06-21T19:04:30.381Z] ==> Python coveragepy not found [2022-06-21T19:04:30.381Z] ==> Searching for coverage reports in: [2022-06-21T19:04:30.381Z] + . [2022-06-21T19:04:30.381Z] -> Found 1 reports [2022-06-21T19:04:30.381Z] ==> Detecting git/mercurial file structure [2022-06-21T19:04:30.381Z] ==> Reading reports [2022-06-21T19:04:30.381Z] + ./coverage.out bytes=62551 [2022-06-21T19:04:30.381Z] ==> Appending adjustments [2022-06-21T19:04:30.381Z] https://docs.codecov.io/docs/fixing-reports [2022-06-21T19:04:30.641Z] + Found adjustments [2022-06-21T19:04:30.641Z] ==> Gzipping contents [2022-06-21T19:04:30.641Z] 8.0K /tmp/codecov.Ktj9pq.gz [2022-06-21T19:04:30.641Z] ==> Uploading reports [2022-06-21T19:04:30.641Z] url: https://codecov.io [2022-06-21T19:04:30.641Z] query: branch=PR-87&commit=cc845ce6c5c75d33a359ba5ac572774b1da3da91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-21T19:04:30.641Z] -> Pinging Codecov [2022-06-21T19:04:30.641Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=cc845ce6c5c75d33a359ba5ac572774b1da3da91&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-21T19:04:31.212Z] -> Uploading to [2022-06-21T19:04:31.212Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-21/F29A59C45E3A92E06B3E522C9905F8EF/cc845ce6c5c75d33a359ba5ac572774b1da3da91/2bef5e80-826f-4875-83ac-3f9a9642e1b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T190430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=481bb9427aa20bb51befa5f7600994222bcf0ab1a97aac27edb8e31ef0962183 [2022-06-21T19:04:31.212Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-21T19:04:31.212Z] Dload Upload Total Spent Left Speed [2022-06-21T19:04:31.212Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7971 0 0 100 7971 0 35114 --:--:-- --:--:-- --:--:-- 35114 [2022-06-21T19:04:31.212Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/cc845ce6c5c75d33a359ba5ac572774b1da3da91 [Pipeline] } [2022-06-21T19:04:31.237Z] 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-06-21T19:04:32.834Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-21T19:04:32.834Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:04:32.834Z] total 16 [2022-06-21T19:04:32.834Z] drwxr-xr-x 3 root root 4096 Jun 21 18:56 . [2022-06-21T19:04:32.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 18:56 .. [2022-06-21T19:04:32.834Z] drwxr-xr-x 2 root root 4096 Jun 21 18:56 cost [2022-06-21T19:04:32.834Z] -rw-r--r-- 1 root root 89 Jun 21 18:56 cost.csv [2022-06-21T19:04:32.834Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:04:32.834Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-21T19:04:32.834Z] total 16 [2022-06-21T19:04:32.834Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 18:56 . [2022-06-21T19:04:32.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 18:56 .. [2022-06-21T19:04:32.834Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 18:56 cost [2022-06-21T19:04:32.834Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 21 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:33.159Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:34.049Z] ---> package-listing.sh [2022-06-21T19:04:34.049Z] ++ facter osfamily [2022-06-21T19:04:34.049Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-21T19:04:34.308Z] + OS_FAMILY=debian [2022-06-21T19:04:34.308Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-21T19:04:34.308Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-21T19:04:34.308Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-21T19:04:34.308Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-21T19:04:34.308Z] + PACKAGES=/tmp/packages_start.txt [2022-06-21T19:04:34.308Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-21T19:04:34.308Z] + PACKAGES=/tmp/packages_end.txt [2022-06-21T19:04:34.308Z] + case "${OS_FAMILY}" in [2022-06-21T19:04:34.308Z] + dpkg -l [2022-06-21T19:04:34.308Z] + grep '^ii' [2022-06-21T19:04:34.308Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-21T19:04:34.308Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-21T19:04:34.308Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-21T19:04:34.308Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-21T19:04:34.308Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-21T19:04:34.308Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-21T19:04:34.340Z] 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-21T19:04:34.631Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-21T19:04:35.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-21T19:04:35.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-21T19:04:35.412Z] prd-ubuntu20.04-docker-8c-8g-15238 does not seem to be running inside a container [2022-06-21T19:04:35.445Z] $ 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/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@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-06-21T19:04:35.701Z] $ docker top 18086d247e4ff8907d75f4824980eb67e532b6c904b3dce001fd67bf4dfd450c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-21T19:04:36.095Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-21T19:04:36.408Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-21T19:04:36.717Z] + ls /var/log/sa-host [2022-06-21T19:04:36.717Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-21T19:04:36.911Z] provisioning config files... [2022-06-21T19:04:36.920Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config1428848200434676953tmp [Pipeline] { [Pipeline] echo [2022-06-21T19:04:36.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:37.286Z] ---> create-netrc.sh [Pipeline] } [2022-06-21T19:04:37.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:37.717Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-21T19:04:37.748Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:38.059Z] ---> sudo-logs.sh [2022-06-21T19:04:38.060Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-21T19:04:38.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:38.438Z] ---> job-cost.sh [2022-06-21T19:04:38.438Z] lf-activate-venv: SKIPPING [2022-06-21T19:04:38.438Z] DEBUG: total: 0.2199999988079071 [2022-06-21T19:04:38.438Z] INFO: Retrieving Stack Cost... [2022-06-21T19:04:38.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-21T19:04:39.270Z] INFO: Archiving Costs [Pipeline] echo [2022-06-21T19:04:39.304Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-21T19:04:39.624Z] ---> logs-deploy.sh [2022-06-21T19:04:39.624Z] lf-activate-venv: SKIPPING [2022-06-21T19:04:39.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/1 [2022-06-21T19:04:39.624Z] INFO: archiving workspace using pattern(s): [2022-06-21T19:04:40.568Z] Archives upload complete. [2022-06-21T19:04:40.568Z] INFO: archiving logs to Nexus