Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1362aa563feaf9d8e1b2278d9cea46c363649dc1+19d22e422abd2bf1e17912171b3c0bb2febc4a3e (b33044e7cacb9cad72bbdb7792f3d67db2b91680) 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-ssh4619367721102205353.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh4048336954727352853.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-64/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1259367765890177188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh9785151357693122791.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-64/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh669601274826174783.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-1635 in /w/workspace/oundry_device-onvif-camera_PR-64 [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-64 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 1362aa563feaf9d8e1b2278d9cea46c363649dc1 Merge succeeded, producing ba8e91d4dcc55f881d86110c1fac98b942c28cbe Checking out Revision ba8e91d4dcc55f881d86110c1fac98b942c28cbe (PR-64) > 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/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1362aa563feaf9d8e1b2278d9cea46c363649dc1 # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba8e91d4dcc55f881d86110c1fac98b942c28cbe # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T10:11:47.700Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T10:11:47.757Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T10:11:47.773Z] ========================================================= [2022-06-07T10:11:47.773Z] EdgeX Global Pipelines Version Info [2022-06-07T10:11:47.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7ce12203e98b68433a49d3d4925588b9c4d0aa57 # timeout=10 [2022-06-07T10:11:48.514Z] ------------------- [2022-06-07T10:11:48.514Z] stable info: [2022-06-07T10:11:48.514Z] ------------------- [2022-06-07T10:11:48.514Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T10:11:48.514Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:11:48.514Z] Message: update stable to v1.0.232 [2022-06-07T10:11:49.086Z] ------------------- [2022-06-07T10:11:49.086Z] experimental info: [2022-06-07T10:11:49.086Z] ------------------- [2022-06-07T10:11:49.086Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T10:11:49.086Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T10:11:49.086Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T10:11:49.269Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T10:11:49.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T10:11:49.299Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T10:11:49.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T10:11:49.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T10:11:49.337Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T10:11:49.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T10:11:49.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T10:11:49.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T10:11:49.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T10:11:49.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T10:11:49.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T10:11:49.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T10:11:49.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T10:11:49.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:11:49.455Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T10:11:49.463Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:11:49.471Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T10:11:49.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T10:11:49.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T10:11:49.497Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T10:11:49.505Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T10:11:49.514Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T10:11:49.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T10:11:49.535Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T10:11:49.547Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T10:11:49.559Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T10:11:49.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-06-07T10:11:49.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-06-07T10:11:49.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-06-07T10:11:49.606Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba8e91d4dcc55f881d86110c1fac98b942c28cbe [Pipeline] echo [2022-06-07T10:11:49.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba8e91d [Pipeline] echo [2022-06-07T10:11:49.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:11:49.683Z] provisioning config files... [2022-06-07T10:11:49.698Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config8951657265895070302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:11:50.015Z] ---> docker-login.sh [2022-06-07T10:11:50.015Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:11:50.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:11:50.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:11:50.276Z] Configure a credential helper to remove this warning. See [2022-06-07T10:11:50.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:11:50.276Z] [2022-06-07T10:11:50.276Z] Login Succeeded [2022-06-07T10:11:50.276Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:11:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:11:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:11:50.538Z] Configure a credential helper to remove this warning. See [2022-06-07T10:11:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:11:50.538Z] [2022-06-07T10:11:50.538Z] Login Succeeded [2022-06-07T10:11:50.538Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:11:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:11:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:11:50.538Z] Configure a credential helper to remove this warning. See [2022-06-07T10:11:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:11:50.538Z] [2022-06-07T10:11:50.538Z] Login Succeeded [2022-06-07T10:11:50.538Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:11:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:11:50.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:11:50.800Z] Configure a credential helper to remove this warning. See [2022-06-07T10:11:50.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:11:50.800Z] [2022-06-07T10:11:50.800Z] Login Succeeded [2022-06-07T10:11:50.800Z] docker.io [2022-06-07T10:11:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:11:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:11:51.063Z] Configure a credential helper to remove this warning. See [2022-06-07T10:11:51.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:11:51.063Z] [2022-06-07T10:11:51.063Z] Login Succeeded [2022-06-07T10:11:51.063Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:11:51.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T10:11:51.454Z] + git rev-list -1 --merges ba8e91d4dcc55f881d86110c1fac98b942c28cbe~1..ba8e91d4dcc55f881d86110c1fac98b942c28cbe [Pipeline] echo [2022-06-07T10:11:51.484Z] -----------> git rev-list -1 --merges ba8e91d4dcc55f881d86110c1fac98b942c28cbe~1..ba8e91d4dcc55f881d86110c1fac98b942c28cbe ba8e91d4dcc55f881d86110c1fac98b942c28cbe [2022-06-07T10:11:51.484Z] ba8e91d4dcc55f881d86110c1fac98b942c28cbe [false] [Pipeline] sh [2022-06-07T10:11:51.778Z] + git log --format=format:%s -1 ba8e91d4dcc55f881d86110c1fac98b942c28cbe [Pipeline] echo [2022-06-07T10:11:51.795Z] ========================================================= [2022-06-07T10:11:51.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T10:11:51.795Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:11:52.131Z] + git log --format=format:%s -1 ba8e91d4dcc55f881d86110c1fac98b942c28cbe [Pipeline] echo [2022-06-07T10:11:52.145Z] [semverPrep] GIT_COMMIT: ba8e91d4dcc55f881d86110c1fac98b942c28cbe, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T10:11:52.155Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T10:11:52.514Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T10:11:52.515Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T10:11:52.515Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T10:11:52.515Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T10:11:52.515Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T10:11:52.515Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T10:11:52.515Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:11:52.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:11:52.910Z] [2022-06-07T10:11:52.910Z] 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-07T10:11:53.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:11:53.219Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T10:11:53.219Z] 42c077c10790: Pulling fs layer [2022-06-07T10:11:53.219Z] f63e77b7563a: Pulling fs layer [2022-06-07T10:11:53.219Z] bd5fdadae976: Pulling fs layer [2022-06-07T10:11:53.219Z] 205491f53016: Pulling fs layer [2022-06-07T10:11:53.219Z] df18705c85c3: Pulling fs layer [2022-06-07T10:11:53.219Z] bdb3f477010e: Pulling fs layer [2022-06-07T10:11:53.219Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T10:11:53.219Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T10:11:53.219Z] bdb8f0575790: Pulling fs layer [2022-06-07T10:11:53.219Z] 205491f53016: Waiting [2022-06-07T10:11:53.219Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T10:11:53.219Z] 2343380bae48: Pulling fs layer [2022-06-07T10:11:53.219Z] df18705c85c3: Waiting [2022-06-07T10:11:53.219Z] bdb3f477010e: Waiting [2022-06-07T10:11:53.219Z] c8a8fc8e1c8f: Waiting [2022-06-07T10:11:53.219Z] 386e3cb2ff24: Waiting [2022-06-07T10:11:53.219Z] 2c6e9b1d212d: Waiting [2022-06-07T10:11:53.219Z] 2343380bae48: Waiting [2022-06-07T10:11:53.219Z] bdb8f0575790: Waiting [2022-06-07T10:11:53.219Z] f63e77b7563a: Verifying Checksum [2022-06-07T10:11:53.219Z] f63e77b7563a: Download complete [2022-06-07T10:11:53.219Z] 205491f53016: Download complete [2022-06-07T10:11:53.488Z] df18705c85c3: Verifying Checksum [2022-06-07T10:11:53.488Z] df18705c85c3: Download complete [2022-06-07T10:11:53.488Z] bd5fdadae976: Verifying Checksum [2022-06-07T10:11:53.488Z] bd5fdadae976: Download complete [2022-06-07T10:11:53.488Z] bdb3f477010e: Verifying Checksum [2022-06-07T10:11:53.488Z] bdb3f477010e: Download complete [2022-06-07T10:11:53.488Z] 2c6e9b1d212d: Download complete [2022-06-07T10:11:53.488Z] bdb8f0575790: Download complete [2022-06-07T10:11:53.488Z] 386e3cb2ff24: Download complete [2022-06-07T10:11:53.488Z] 2343380bae48: Verifying Checksum [2022-06-07T10:11:53.488Z] 2343380bae48: Download complete [2022-06-07T10:11:53.488Z] 42c077c10790: Verifying Checksum [2022-06-07T10:11:53.488Z] 42c077c10790: Download complete [2022-06-07T10:11:53.748Z] c8a8fc8e1c8f: Download complete [2022-06-07T10:11:55.135Z] 42c077c10790: Pull complete [2022-06-07T10:11:55.135Z] f63e77b7563a: Pull complete [2022-06-07T10:11:55.397Z] bd5fdadae976: Pull complete [2022-06-07T10:11:55.658Z] 205491f53016: Pull complete [2022-06-07T10:11:55.919Z] df18705c85c3: Pull complete [2022-06-07T10:11:55.919Z] bdb3f477010e: Pull complete [2022-06-07T10:11:57.829Z] c8a8fc8e1c8f: Pull complete [2022-06-07T10:11:57.829Z] 2c6e9b1d212d: Pull complete [2022-06-07T10:11:58.090Z] bdb8f0575790: Pull complete [2022-06-07T10:11:58.090Z] 386e3cb2ff24: Pull complete [2022-06-07T10:11:58.090Z] 2343380bae48: Pull complete [2022-06-07T10:11:58.090Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T10:11:58.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T10:11:58.090Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:11:58.189Z] prd-ubuntu20.04-docker-8c-8g-1635 does not seem to be running inside a container [2022-06-07T10:11:58.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T10:11:59.556Z] $ docker top 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d -eo pid,comm [2022-06-07T10:11:59.631Z] 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-07T10:11:59.631Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T10:11:59.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:11:59.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:11:59.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:11:59.814Z] $ docker exec 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d ssh-agent [2022-06-07T10:11:59.937Z] SSH_AUTH_SOCK=/tmp/ssh-SPn5eSmQ60u2/agent.34 [2022-06-07T10:11:59.937Z] SSH_AGENT_PID=40 [2022-06-07T10:11:59.944Z] Running ssh-add (command line suppressed) [2022-06-07T10:12:00.073Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_7972799212104064175.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_7972799212104064175.key) [2022-06-07T10:12:00.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:12:00.385Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T10:12:00.409Z] $ docker exec --env ******** --env ******** 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d ssh-agent -k [2022-06-07T10:12:00.538Z] unset SSH_AUTH_SOCK; [2022-06-07T10:12:00.538Z] unset SSH_AGENT_PID; [2022-06-07T10:12:00.538Z] echo Agent pid 40 killed; [2022-06-07T10:12:00.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T10:12:00.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T10:12:00.575Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T10:12:00.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T10:12:00.720Z] $ docker exec 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d ssh-agent [2022-06-07T10:12:00.857Z] SSH_AUTH_SOCK=/tmp/ssh-GHFo6gc5UrZA/agent.75 [2022-06-07T10:12:00.857Z] SSH_AGENT_PID=81 [2022-06-07T10:12:00.863Z] Running ssh-add (command line suppressed) [2022-06-07T10:12:00.994Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4110897673583007471.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_4110897673583007471.key) [2022-06-07T10:12:01.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T10:12:01.303Z] + git semver init [2022-06-07T10:12:01.564Z] 2022-06-07 10:12:01,520 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T10:12:01.564Z] 2022-06-07 10:12:01,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-07T10:12:01.564Z] 2022-06-07 10:12:01,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-07T10:12:01.564Z] 2022-06-07 10:12:01,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-64/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64, universal_newlines=False, shell=None, istream=None) [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,212 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-64/.git/info/exclude [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 with force:False [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,213 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,217 [execute] INFO git cat-file --batch-check [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,226 [execute] INFO git cat-file --batch [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-64/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T10:12:02.507Z] 2022-06-07 10:12:02,232 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-07T10:12:02.507Z] 0.0.0 [Pipeline] } [2022-06-07T10:12:02.520Z] $ docker exec --env ******** --env ******** 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d ssh-agent -k [2022-06-07T10:12:02.637Z] unset SSH_AUTH_SOCK; [2022-06-07T10:12:02.637Z] unset SSH_AGENT_PID; [2022-06-07T10:12:02.637Z] echo Agent pid 81 killed; [2022-06-07T10:12:02.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T10:12:02.955Z] + git semver [Pipeline] } [2022-06-07T10:12:03.234Z] $ docker stop --time=1 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d [2022-06-07T10:12:04.563Z] $ docker rm -f 73a37ab6eea4ba96a11f22e984e5015e3a1c07902313ed76132038cd58d62a6d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:12:04.915Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T10:12:05.190Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T10:12:05.193Z] [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-07T10:12:05.342Z] provisioning config files... [2022-06-07T10:12:05.353Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config7816585078139263826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:12:05.656Z] ---> docker-login.sh [2022-06-07T10:12:05.656Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:12:05.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:12:05.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:12:05.656Z] Configure a credential helper to remove this warning. See [2022-06-07T10:12:05.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:12:05.656Z] [2022-06-07T10:12:05.656Z] Login Succeeded [2022-06-07T10:12:05.656Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:12:05.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:12:05.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:12:05.918Z] Configure a credential helper to remove this warning. See [2022-06-07T10:12:05.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:12:05.918Z] [2022-06-07T10:12:05.918Z] Login Succeeded [2022-06-07T10:12:05.918Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:12:05.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:12:05.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:12:05.918Z] Configure a credential helper to remove this warning. See [2022-06-07T10:12:05.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:12:05.918Z] [2022-06-07T10:12:05.918Z] Login Succeeded [2022-06-07T10:12:05.918Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:12:06.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:12:06.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:12:06.179Z] Configure a credential helper to remove this warning. See [2022-06-07T10:12:06.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:12:06.179Z] [2022-06-07T10:12:06.179Z] Login Succeeded [2022-06-07T10:12:06.179Z] docker.io [2022-06-07T10:12:06.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:12:06.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:12:06.440Z] Configure a credential helper to remove this warning. See [2022-06-07T10:12:06.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:12:06.440Z] [2022-06-07T10:12:06.440Z] Login Succeeded [2022-06-07T10:12:06.440Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:12:06.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:12:06.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:12:06.520Z] ========================================================= [2022-06-07T10:12:06.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T10:12:06.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:12:06.842Z] + 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-07T10:12:06.842Z] Sending build context to Docker daemon 9.005MB [2022-06-07T10:12:06.842Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:12:06.842Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T10:12:06.842Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T10:12:06.842Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T10:12:06.842Z] 666ba61612fd: Pulling fs layer [2022-06-07T10:12:06.842Z] 8ed8ca486205: Pulling fs layer [2022-06-07T10:12:06.842Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T10:12:06.842Z] c516ae0d96e1: Pulling fs layer [2022-06-07T10:12:06.842Z] 684cea983483: Pulling fs layer [2022-06-07T10:12:06.842Z] dd3240ac7de5: Pulling fs layer [2022-06-07T10:12:06.842Z] b1e948a4e11c: Pulling fs layer [2022-06-07T10:12:06.842Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T10:12:06.842Z] 646ad004c059: Pulling fs layer [2022-06-07T10:12:06.842Z] cc1cd167ecdc: Waiting [2022-06-07T10:12:06.842Z] c516ae0d96e1: Waiting [2022-06-07T10:12:06.842Z] 684cea983483: Waiting [2022-06-07T10:12:06.842Z] dd3240ac7de5: Waiting [2022-06-07T10:12:06.842Z] b1e948a4e11c: Waiting [2022-06-07T10:12:06.842Z] a8fd76ee1af6: Waiting [2022-06-07T10:12:06.842Z] 646ad004c059: Waiting [2022-06-07T10:12:06.842Z] 8ed8ca486205: Verifying Checksum [2022-06-07T10:12:06.842Z] 8ed8ca486205: Download complete [2022-06-07T10:12:06.842Z] 666ba61612fd: Verifying Checksum [2022-06-07T10:12:06.842Z] 666ba61612fd: Download complete [2022-06-07T10:12:07.103Z] c516ae0d96e1: Verifying Checksum [2022-06-07T10:12:07.103Z] c516ae0d96e1: Download complete [2022-06-07T10:12:07.103Z] 684cea983483: Download complete [2022-06-07T10:12:07.103Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T10:12:07.103Z] 59bf1c3509f3: Download complete [2022-06-07T10:12:07.103Z] dd3240ac7de5: Verifying Checksum [2022-06-07T10:12:07.103Z] dd3240ac7de5: Download complete [2022-06-07T10:12:07.103Z] b1e948a4e11c: Verifying Checksum [2022-06-07T10:12:07.103Z] b1e948a4e11c: Download complete [2022-06-07T10:12:07.103Z] 59bf1c3509f3: Pull complete [2022-06-07T10:12:07.366Z] 666ba61612fd: Pull complete [2022-06-07T10:12:07.366Z] 8ed8ca486205: Pull complete [2022-06-07T10:12:07.626Z] 646ad004c059: Verifying Checksum [2022-06-07T10:12:07.626Z] 646ad004c059: Download complete [2022-06-07T10:12:07.886Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T10:12:07.886Z] cc1cd167ecdc: Download complete [2022-06-07T10:12:07.886Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T10:12:07.886Z] a8fd76ee1af6: Download complete [2022-06-07T10:12:12.090Z] cc1cd167ecdc: Pull complete [2022-06-07T10:12:12.090Z] c516ae0d96e1: Pull complete [2022-06-07T10:12:12.090Z] 684cea983483: Pull complete [2022-06-07T10:12:12.090Z] dd3240ac7de5: Pull complete [2022-06-07T10:12:12.090Z] b1e948a4e11c: Pull complete [2022-06-07T10:12:13.997Z] a8fd76ee1af6: Pull complete [2022-06-07T10:12:14.936Z] 646ad004c059: Pull complete [2022-06-07T10:12:14.936Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T10:12:14.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T10:12:14.936Z] ---> 8f69c11f6b0c [2022-06-07T10:12:14.936Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T10:12:16.322Z] ---> Running in 1ef4ff5be56d [2022-06-07T10:12:16.583Z] Removing intermediate container 1ef4ff5be56d [2022-06-07T10:12:16.583Z] ---> 65791cc1be8f [2022-06-07T10:12:16.583Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:12:16.583Z] ---> Running in 32d879f7ee6b [2022-06-07T10:12:16.583Z] Removing intermediate container 32d879f7ee6b [2022-06-07T10:12:16.583Z] ---> 31fdd0d5afe0 [2022-06-07T10:12:16.583Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:12:16.583Z] ---> Running in fcec36ddf0e0 [2022-06-07T10:12:16.844Z] Removing intermediate container fcec36ddf0e0 [2022-06-07T10:12:16.844Z] ---> f30e580c6691 [2022-06-07T10:12:16.844Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:12:16.844Z] ---> Running in 3eccecc0be3e [2022-06-07T10:12:16.844Z] Removing intermediate container 3eccecc0be3e [2022-06-07T10:12:16.844Z] ---> a0df80867521 [2022-06-07T10:12:16.844Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:12:16.844Z] ---> Running in 874cad7ada88 [2022-06-07T10:12:17.787Z] Removing intermediate container 874cad7ada88 [2022-06-07T10:12:17.787Z] ---> 1da58d511c5c [2022-06-07T10:12:17.787Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:12:17.787Z] ---> Running in 56977c3a3237 [2022-06-07T10:12:17.787Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:12:18.731Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:12:18.993Z] OK: 221 MiB in 52 packages [2022-06-07T10:12:19.252Z] Removing intermediate container 56977c3a3237 [2022-06-07T10:12:19.252Z] ---> 6d942aad060a [2022-06-07T10:12:19.252Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T10:12:19.252Z] ---> Running in d05cfd7d7083 [2022-06-07T10:12:19.513Z] Removing intermediate container d05cfd7d7083 [2022-06-07T10:12:19.513Z] ---> 8cee23e6a4fe [2022-06-07T10:12:19.513Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T10:12:19.513Z] ---> 5d5319743d06 [2022-06-07T10:12:19.513Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:12:19.513Z] ---> Running in bc897637f59d [2022-06-07T10:12:20.296Z] Still waiting to schedule task [2022-06-07T10:12:20.297Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1636’ is offline [2022-06-07T10:12:34.430Z] Removing intermediate container bc897637f59d [2022-06-07T10:12:34.430Z] ---> 46a103f79a92 [2022-06-07T10:12:34.430Z] Step 12/13 : COPY . . [2022-06-07T10:12:34.430Z] ---> 943f941f538b [2022-06-07T10:12:34.430Z] Step 13/13 : RUN ${MAKE} [2022-06-07T10:12:34.690Z] ---> Running in 7eec7dcb344f [2022-06-07T10:12:34.949Z] noop [2022-06-07T10:12:35.208Z] Removing intermediate container 7eec7dcb344f [2022-06-07T10:12:35.208Z] ---> 53e1699855b8 [2022-06-07T10:12:35.208Z] Successfully built 53e1699855b8 [2022-06-07T10:12:35.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:12:35.521Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:12:35.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:12:35.605Z] prd-ubuntu20.04-docker-8c-8g-1635 does not seem to be running inside a container [2022-06-07T10:12:35.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:12:36.076Z] $ docker top 5394aa38143ceffabcd38ea6874d04db9427770db33f10d6bc270f164774a9f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:12:36.428Z] + go version [2022-06-07T10:12:36.428Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T10:12:36.440Z] $ docker stop --time=1 5394aa38143ceffabcd38ea6874d04db9427770db33f10d6bc270f164774a9f1 [2022-06-07T10:12:37.764Z] $ docker rm -f 5394aa38143ceffabcd38ea6874d04db9427770db33f10d6bc270f164774a9f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:12:38.175Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T10:12:38.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:12:38.263Z] prd-ubuntu20.04-docker-8c-8g-1635 does not seem to be running inside a container [2022-06-07T10:12:38.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T10:12:38.769Z] $ docker top cbd74a69d4a3724de7629d8bacc0267055cf119fd4da26e05d801ab321fb557a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:12:39.146Z] + make test [2022-06-07T10:12:39.146Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:12:39.410Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T10:12:49.409Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T10:12:49.409Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.3% of statements [2022-06-07T10:12:53.610Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.969s coverage: 13.8% of statements [2022-06-07T10:13:00.188Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T10:13:04.392Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:13:04.654Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:13:04.654Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:13:05.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:13:05.258Z] $ docker stop --time=1 cbd74a69d4a3724de7629d8bacc0267055cf119fd4da26e05d801ab321fb557a [2022-06-07T10:13:07.044Z] $ docker rm -f cbd74a69d4a3724de7629d8bacc0267055cf119fd4da26e05d801ab321fb557a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:13:07.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:13:07.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T10:13:07.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:13:08.257Z] + ls -al . [2022-06-07T10:13:08.257Z] total 232 [2022-06-07T10:13:08.257Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 10:13 . [2022-06-07T10:13:08.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:11 .. [2022-06-07T10:13:08.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:12 .git [2022-06-07T10:13:08.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:11 .github [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 10:11 .gitignore [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:11 .golangci.yml [2022-06-07T10:13:08.257Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:12 .semver [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 10:11 Attribution.txt [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 10:11 CHANGELOG.md [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 10:11 Dockerfile [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 10:11 GOVERNANCE.md [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 10:11 Jenkinsfile [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:11 LICENSE [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 10:11 Makefile [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 10:11 OWNERS.md [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 30882 Jun 7 10:11 README.md [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:12 VERSION [2022-06-07T10:13:08.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:11 bin [2022-06-07T10:13:08.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:11 cmd [2022-06-07T10:13:08.257Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 7 10:12 coverage.out [2022-06-07T10:13:08.257Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 10:11 doc [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 10:11 go.mod [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 10:11 go.sum [2022-06-07T10:13:08.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:11 internal [2022-06-07T10:13:08.257Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:13:08.566Z] + 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=ba8e91d4dcc55f881d86110c1fac98b942c28cbe --label arch=amd64 --label version=0.0.0 . [2022-06-07T10:13:08.566Z] Sending build context to Docker daemon 9.059MB [2022-06-07T10:13:08.566Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:13:08.566Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T10:13:08.566Z] ---> 53e1699855b8 [2022-06-07T10:13:08.566Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T10:13:08.566Z] ---> Running in eeda257b3b40 [2022-06-07T10:13:08.828Z] Removing intermediate container eeda257b3b40 [2022-06-07T10:13:08.828Z] ---> 3a8cd9f82a6b [2022-06-07T10:13:08.828Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:13:08.828Z] ---> Running in b365c4fd476a [2022-06-07T10:13:08.828Z] Removing intermediate container b365c4fd476a [2022-06-07T10:13:08.828Z] ---> b05200efc61e [2022-06-07T10:13:08.828Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:13:08.828Z] ---> Running in 62474d0079d7 [2022-06-07T10:13:09.089Z] Removing intermediate container 62474d0079d7 [2022-06-07T10:13:09.089Z] ---> 5a5f4db41fcc [2022-06-07T10:13:09.089Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:13:09.089Z] ---> Running in cd83764a6c81 [2022-06-07T10:13:09.089Z] Removing intermediate container cd83764a6c81 [2022-06-07T10:13:09.089Z] ---> 5ff88f76e068 [2022-06-07T10:13:09.089Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:13:09.089Z] ---> Running in 0a7824633d52 [2022-06-07T10:13:09.672Z] Removing intermediate container 0a7824633d52 [2022-06-07T10:13:09.672Z] ---> 0a50c68bb40f [2022-06-07T10:13:09.672Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:13:09.932Z] ---> Running in e750091e4ea5 [2022-06-07T10:13:10.192Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:13:10.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:13:11.338Z] OK: 221 MiB in 52 packages [2022-06-07T10:13:11.600Z] Removing intermediate container e750091e4ea5 [2022-06-07T10:13:11.600Z] ---> df487df33b35 [2022-06-07T10:13:11.600Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T10:13:11.600Z] ---> Running in e5c0a3a80685 [2022-06-07T10:13:11.600Z] Removing intermediate container e5c0a3a80685 [2022-06-07T10:13:11.600Z] ---> 722b18042cef [2022-06-07T10:13:11.600Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T10:13:11.860Z] ---> f2ff075475b0 [2022-06-07T10:13:11.860Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:13:11.860Z] ---> Running in 7dcbf1c3a748 [2022-06-07T10:13:12.430Z] Removing intermediate container 7dcbf1c3a748 [2022-06-07T10:13:12.430Z] ---> ca275d3c9aa3 [2022-06-07T10:13:12.430Z] Step 12/26 : COPY . . [2022-06-07T10:13:12.692Z] ---> 7129a897e792 [2022-06-07T10:13:12.692Z] Step 13/26 : RUN ${MAKE} [2022-06-07T10:13:12.954Z] ---> Running in 45907f2ce7f7 [2022-06-07T10:13:13.212Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-07T10:13:35.158Z] Removing intermediate container 45907f2ce7f7 [2022-06-07T10:13:35.158Z] ---> 6d6e2bfed5da [2022-06-07T10:13:35.158Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T10:13:35.158Z] 3.15: Pulling from library/alpine [2022-06-07T10:13:35.158Z] df9b9388f04a: Pulling fs layer [2022-06-07T10:13:35.158Z] df9b9388f04a: Verifying Checksum [2022-06-07T10:13:35.158Z] df9b9388f04a: Pull complete [2022-06-07T10:13:35.158Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T10:13:35.158Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T10:13:35.158Z] ---> 0ac33e5f5afa [2022-06-07T10:13:35.158Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T10:13:35.158Z] ---> Running in 8cad6ab0badf [2022-06-07T10:13:35.158Z] Removing intermediate container 8cad6ab0badf [2022-06-07T10:13:35.158Z] ---> fd85ac734c86 [2022-06-07T10:13:35.158Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T10:13:35.158Z] ---> Running in 9008ae2773a8 [2022-06-07T10:13:35.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T10:13:35.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T10:13:35.158Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T10:13:35.158Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T10:13:35.158Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T10:13:35.158Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T10:13:35.158Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T10:13:35.158Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T10:13:35.158Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T10:13:35.158Z] OK: 8 MiB in 20 packages [2022-06-07T10:13:35.158Z] Removing intermediate container 9008ae2773a8 [2022-06-07T10:13:35.158Z] ---> 22682c625677 [2022-06-07T10:13:35.158Z] Step 17/26 : WORKDIR / [2022-06-07T10:13:35.158Z] ---> Running in 69d77381b267 [2022-06-07T10:13:35.158Z] Removing intermediate container 69d77381b267 [2022-06-07T10:13:35.158Z] ---> ddc26a3e7f0a [2022-06-07T10:13:35.158Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T10:13:35.418Z] ---> d0ea52982b3b [2022-06-07T10:13:35.418Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T10:13:35.418Z] ---> b38392bbe5b7 [2022-06-07T10:13:35.418Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T10:13:35.678Z] ---> 351cd7448537 [2022-06-07T10:13:35.678Z] Step 21/26 : EXPOSE 59984 [2022-06-07T10:13:35.678Z] ---> Running in 2b45bf5c5665 [2022-06-07T10:13:35.678Z] Removing intermediate container 2b45bf5c5665 [2022-06-07T10:13:35.678Z] ---> 87bcf3027c07 [2022-06-07T10:13:35.678Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T10:13:35.946Z] ---> Running in 4bfd82222a7b [2022-06-07T10:13:35.946Z] Removing intermediate container 4bfd82222a7b [2022-06-07T10:13:35.946Z] ---> 73e4adaa5150 [2022-06-07T10:13:35.946Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T10:13:35.946Z] ---> Running in bee343e240ed [2022-06-07T10:13:35.946Z] Removing intermediate container bee343e240ed [2022-06-07T10:13:35.946Z] ---> 8d05c960aa07 [2022-06-07T10:13:35.946Z] Step 24/26 : LABEL arch=amd64 [2022-06-07T10:13:36.208Z] ---> Running in b5aced745c2f [2022-06-07T10:13:36.208Z] Removing intermediate container b5aced745c2f [2022-06-07T10:13:36.208Z] ---> e714b58b9d65 [2022-06-07T10:13:36.208Z] Step 25/26 : LABEL git_sha=ba8e91d4dcc55f881d86110c1fac98b942c28cbe [2022-06-07T10:13:36.208Z] ---> Running in 41a623bd778c [2022-06-07T10:13:36.468Z] Removing intermediate container 41a623bd778c [2022-06-07T10:13:36.468Z] ---> 7c37e2a34337 [2022-06-07T10:13:36.468Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T10:13:36.468Z] ---> Running in b673d4155fce [2022-06-07T10:13:36.468Z] Removing intermediate container b673d4155fce [2022-06-07T10:13:36.468Z] ---> 19fed7ff2276 [2022-06-07T10:13:36.468Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T10:13:36.469Z] Successfully built 19fed7ff2276 [2022-06-07T10:13:36.469Z] 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-07T10:13:36.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:13:36.910Z] [2022-06-07T10:13:36.910Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:13:37.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:13:37.216Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T10:13:37.216Z] 5eb5b503b376: Pulling fs layer [2022-06-07T10:13:37.216Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T10:13:37.216Z] ec43610c2a17: Pulling fs layer [2022-06-07T10:13:37.216Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T10:13:37.216Z] 33b1e0a273af: Pulling fs layer [2022-06-07T10:13:37.216Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T10:13:37.216Z] 2f39f015ded8: Pulling fs layer [2022-06-07T10:13:37.216Z] 3a2ae6a8a46f: Waiting [2022-06-07T10:13:37.216Z] 33b1e0a273af: Waiting [2022-06-07T10:13:37.216Z] 5d3b04190fa2: Waiting [2022-06-07T10:13:37.216Z] 2f39f015ded8: Waiting [2022-06-07T10:13:37.216Z] 5c69ac0246d0: Download complete [2022-06-07T10:13:37.216Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T10:13:37.216Z] 3a2ae6a8a46f: Download complete [2022-06-07T10:13:37.216Z] 33b1e0a273af: Verifying Checksum [2022-06-07T10:13:37.216Z] 33b1e0a273af: Download complete [2022-06-07T10:13:37.216Z] 5d3b04190fa2: Download complete [2022-06-07T10:13:37.216Z] ec43610c2a17: Verifying Checksum [2022-06-07T10:13:37.216Z] ec43610c2a17: Download complete [2022-06-07T10:13:37.476Z] 5eb5b503b376: Verifying Checksum [2022-06-07T10:13:37.476Z] 5eb5b503b376: Download complete [2022-06-07T10:13:38.045Z] 2f39f015ded8: Download complete [2022-06-07T10:13:38.613Z] 5eb5b503b376: Pull complete [2022-06-07T10:13:38.872Z] 5c69ac0246d0: Pull complete [2022-06-07T10:13:39.441Z] ec43610c2a17: Pull complete [2022-06-07T10:13:39.441Z] 3a2ae6a8a46f: Pull complete [2022-06-07T10:13:39.441Z] 33b1e0a273af: Pull complete [2022-06-07T10:13:39.699Z] 5d3b04190fa2: Pull complete [2022-06-07T10:13:43.895Z] 2f39f015ded8: Pull complete [2022-06-07T10:13:43.895Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T10:13:43.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:13:43.895Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:13:43.984Z] prd-ubuntu20.04-docker-8c-8g-1635 does not seem to be running inside a container [2022-06-07T10:13:44.023Z] $ 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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T10:13:45.733Z] $ docker top 5fb2d294914860c80e6f5575e8760d3901b3a00f6d41635e137cb8ea287377f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:13:46.118Z] ---> job-cost.sh [2022-06-07T10:13:46.118Z] lf-activate-venv: SKIPPING [2022-06-07T10:13:46.118Z] INFO: No Stack... [2022-06-07T10:13:46.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T10:13:46.948Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T10:13:47.240Z] + cat /w/workspace/oundry_device-onvif-camera_PR-64/archives/cost.csv [2022-06-07T10:13:47.240Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T10:13:47.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [2022-06-07T10:13:47.258Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] did not exist. Created. [2022-06-07T10:13:47.258Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T10:13:47.563Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T10:13:47.597Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T10:13:47.608Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T10:13:47.630Z] $ docker stop --time=1 5fb2d294914860c80e6f5575e8760d3901b3a00f6d41635e137cb8ea287377f7 [2022-06-07T10:13:48.799Z] $ docker rm -f 5fb2d294914860c80e6f5575e8760d3901b3a00f6d41635e137cb8ea287377f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T10:14:45.148Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1637 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] ws [2022-06-07T10:14:45.155Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-06-07T10:14:45.189Z] Selected Git installation does not exist. Using Default [2022-06-07T10:14:45.189Z] The recommended git tool is: NONE [2022-06-07T10:14:51.136Z] using credential edgex-jenkins-ssh [2022-06-07T10:14:51.155Z] Cloning the remote Git repository [2022-06-07T10:14:51.213Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:14:51.291Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-06-07T10:14:51.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:14:51.379Z] > git --version # timeout=10 [2022-06-07T10:14:51.399Z] > git --version # 'git version 2.25.1' [2022-06-07T10:14:51.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:14:51.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:14:52.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T10:14:52.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T10:14:52.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T10:14:52.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T10:14:52.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:14:52.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/64/head:refs/remotes/origin/PR-64 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T10:14:52.912Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit 1362aa563feaf9d8e1b2278d9cea46c363649dc1 [2022-06-07T10:14:53.260Z] Merge succeeded, producing 340b024538eaa1963fd62e7953336e111676fa52 [2022-06-07T10:14:53.261Z] Checking out Revision 340b024538eaa1963fd62e7953336e111676fa52 (PR-64) [2022-06-07T10:14:52.933Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:14:52.950Z] > git checkout -f 1362aa563feaf9d8e1b2278d9cea46c363649dc1 # timeout=10 [2022-06-07T10:14:53.090Z] > git remote # timeout=10 [2022-06-07T10:14:53.108Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T10:14:53.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T10:14:53.144Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T10:14:53.243Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T10:14:53.267Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T10:14:53.293Z] > git checkout -f 340b024538eaa1963fd62e7953336e111676fa52 # timeout=10 [2022-06-07T10:14:57.570Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T10:14:57.597Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:14:58.427Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T10:14:58.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T10:14:58.427Z] Dload Upload Total Spent Left Speed [2022-06-07T10:14:58.427Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [2022-06-07T10:14:57.580Z] > git rev-list --no-walk 7ce12203e98b68433a49d3d4925588b9c4d0aa57 # timeout=10 [Pipeline] sh [2022-06-07T10:14:59.214Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T10:14:59.564Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T10:14:59.564Z] + sudo tee /etc/docker/daemon.new [2022-06-07T10:14:59.564Z] { [2022-06-07T10:14:59.564Z] "registry-mirrors": [ [2022-06-07T10:14:59.564Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T10:14:59.564Z] ], [2022-06-07T10:14:59.564Z] "bip": "10.250.0.254/24", [2022-06-07T10:14:59.564Z] "hosts": [ [2022-06-07T10:14:59.564Z] "tcp://0.0.0.0:5555", [2022-06-07T10:14:59.564Z] "unix:///var/run/docker.sock" [2022-06-07T10:14:59.564Z] ], [2022-06-07T10:14:59.564Z] "mtu": 1458, [2022-06-07T10:14:59.564Z] "selinux-enabled": true, [2022-06-07T10:14:59.564Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T10:14:59.564Z] } [Pipeline] sh [2022-06-07T10:14:59.912Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T10:15:00.253Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:15:18.638Z] provisioning config files... [2022-06-07T10:15:18.662Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config3827668544010814527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:15:19.017Z] ---> docker-login.sh [2022-06-07T10:15:19.017Z] nexus3.edgexfoundry.org:10001 [2022-06-07T10:15:19.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:15:19.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:15:19.888Z] Configure a credential helper to remove this warning. See [2022-06-07T10:15:19.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:15:19.888Z] [2022-06-07T10:15:19.888Z] Login Succeeded [2022-06-07T10:15:19.888Z] nexus3.edgexfoundry.org:10002 [2022-06-07T10:15:20.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:15:20.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:15:20.435Z] Configure a credential helper to remove this warning. See [2022-06-07T10:15:20.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:15:20.435Z] [2022-06-07T10:15:20.435Z] Login Succeeded [2022-06-07T10:15:20.435Z] nexus3.edgexfoundry.org:10003 [2022-06-07T10:15:20.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:15:20.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:15:20.992Z] Configure a credential helper to remove this warning. See [2022-06-07T10:15:20.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:15:20.992Z] [2022-06-07T10:15:20.992Z] Login Succeeded [2022-06-07T10:15:20.992Z] nexus3.edgexfoundry.org:10004 [2022-06-07T10:15:21.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:15:21.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:15:21.262Z] Configure a credential helper to remove this warning. See [2022-06-07T10:15:21.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:15:21.262Z] [2022-06-07T10:15:21.262Z] Login Succeeded [2022-06-07T10:15:21.262Z] docker.io [2022-06-07T10:15:21.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T10:15:22.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T10:15:22.136Z] Configure a credential helper to remove this warning. See [2022-06-07T10:15:22.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T10:15:22.136Z] [2022-06-07T10:15:22.136Z] Login Succeeded [2022-06-07T10:15:22.136Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T10:15:22.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T10:15:22.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T10:15:22.728Z] ========================================================= [2022-06-07T10:15:22.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T10:15:22.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:15:23.089Z] + 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-07T10:15:23.362Z] Sending build context to Docker daemon 6.227MB [2022-06-07T10:15:23.362Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:15:23.362Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T10:15:23.651Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T10:15:23.651Z] 9b3977197b4f: Pulling fs layer [2022-06-07T10:15:23.651Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T10:15:23.651Z] 94645a83ff95: Pulling fs layer [2022-06-07T10:15:23.651Z] e6fb740bc735: Pulling fs layer [2022-06-07T10:15:23.651Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T10:15:23.651Z] 355e64cbe906: Pulling fs layer [2022-06-07T10:15:23.651Z] 63ab81a10011: Pulling fs layer [2022-06-07T10:15:23.651Z] 555d1d1c4555: Pulling fs layer [2022-06-07T10:15:23.651Z] 7d9057610161: Pulling fs layer [2022-06-07T10:15:23.651Z] 355e64cbe906: Waiting [2022-06-07T10:15:23.651Z] 63ab81a10011: Waiting [2022-06-07T10:15:23.651Z] 555d1d1c4555: Waiting [2022-06-07T10:15:23.651Z] 7d9057610161: Waiting [2022-06-07T10:15:23.651Z] e6fb740bc735: Waiting [2022-06-07T10:15:23.651Z] 3a77bd46dcc9: Waiting [2022-06-07T10:15:23.651Z] 94645a83ff95: Verifying Checksum [2022-06-07T10:15:23.651Z] 94645a83ff95: Download complete [2022-06-07T10:15:23.651Z] 1a89e8eeedd5: Download complete [2022-06-07T10:15:23.651Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T10:15:23.651Z] 3a77bd46dcc9: Download complete [2022-06-07T10:15:23.651Z] 355e64cbe906: Verifying Checksum [2022-06-07T10:15:23.651Z] 355e64cbe906: Download complete [2022-06-07T10:15:23.651Z] 63ab81a10011: Verifying Checksum [2022-06-07T10:15:23.651Z] 63ab81a10011: Download complete [2022-06-07T10:15:23.651Z] 9b3977197b4f: Download complete [2022-06-07T10:15:24.644Z] 9b3977197b4f: Pull complete [2022-06-07T10:15:24.923Z] 7d9057610161: Verifying Checksum [2022-06-07T10:15:24.923Z] 7d9057610161: Download complete [2022-06-07T10:15:25.204Z] 1a89e8eeedd5: Pull complete [2022-06-07T10:15:25.481Z] 94645a83ff95: Pull complete [2022-06-07T10:15:26.084Z] 555d1d1c4555: Verifying Checksum [2022-06-07T10:15:26.084Z] 555d1d1c4555: Download complete [2022-06-07T10:15:26.357Z] e6fb740bc735: Verifying Checksum [2022-06-07T10:15:26.357Z] e6fb740bc735: Download complete [2022-06-07T10:15:38.758Z] e6fb740bc735: Pull complete [2022-06-07T10:15:38.758Z] 3a77bd46dcc9: Pull complete [2022-06-07T10:15:38.758Z] 355e64cbe906: Pull complete [2022-06-07T10:15:38.758Z] 63ab81a10011: Pull complete [2022-06-07T10:15:45.479Z] 555d1d1c4555: Pull complete [2022-06-07T10:15:47.454Z] 7d9057610161: Pull complete [2022-06-07T10:15:47.454Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T10:15:47.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T10:15:47.454Z] ---> 819e984ddca1 [2022-06-07T10:15:47.454Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T10:15:48.900Z] ---> Running in ae550a0a99e4 [2022-06-07T10:15:49.181Z] Removing intermediate container ae550a0a99e4 [2022-06-07T10:15:49.181Z] ---> 442f54c907e6 [2022-06-07T10:15:49.181Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:15:49.460Z] ---> Running in 8fc2a020d180 [2022-06-07T10:15:49.736Z] Removing intermediate container 8fc2a020d180 [2022-06-07T10:15:49.736Z] ---> 03f868d8a82b [2022-06-07T10:15:49.736Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:15:49.736Z] ---> Running in b7cc6be76a24 [2022-06-07T10:15:51.172Z] Removing intermediate container b7cc6be76a24 [2022-06-07T10:15:51.172Z] ---> 5ddb2fcd1e26 [2022-06-07T10:15:51.172Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:15:51.172Z] ---> Running in 734311f11b52 [2022-06-07T10:15:51.450Z] Removing intermediate container 734311f11b52 [2022-06-07T10:15:51.450Z] ---> 723f5f11a8d8 [2022-06-07T10:15:51.450Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:15:51.724Z] ---> Running in 615715c00489 [2022-06-07T10:15:53.699Z] Removing intermediate container 615715c00489 [2022-06-07T10:15:53.699Z] ---> 1fb7961a3671 [2022-06-07T10:15:53.699Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:15:53.699Z] ---> Running in 2cb066268fef [2022-06-07T10:15:54.675Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:15:55.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:15:56.253Z] OK: 220 MiB in 52 packages [2022-06-07T10:15:57.248Z] Removing intermediate container 2cb066268fef [2022-06-07T10:15:57.248Z] ---> 876d8540a411 [2022-06-07T10:15:57.248Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T10:15:57.248Z] ---> Running in b050a8d88462 [2022-06-07T10:15:57.523Z] Removing intermediate container b050a8d88462 [2022-06-07T10:15:57.523Z] ---> 53ae082f9f03 [2022-06-07T10:15:57.523Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T10:15:57.800Z] ---> d4399f2d4f1f [2022-06-07T10:15:57.800Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:15:58.081Z] ---> Running in 56ce33b07a68 [2022-06-07T10:16:45.071Z] Removing intermediate container 56ce33b07a68 [2022-06-07T10:16:45.071Z] ---> 34dde39fac6d [2022-06-07T10:16:45.071Z] Step 12/13 : COPY . . [2022-06-07T10:16:45.071Z] ---> 18d02a7db0cc [2022-06-07T10:16:45.071Z] Step 13/13 : RUN ${MAKE} [2022-06-07T10:16:45.071Z] ---> Running in a295124379f1 [2022-06-07T10:16:46.060Z] noop [2022-06-07T10:16:46.658Z] Removing intermediate container a295124379f1 [2022-06-07T10:16:46.658Z] ---> f789fc76e708 [2022-06-07T10:16:46.658Z] Successfully built f789fc76e708 [2022-06-07T10:16:46.658Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:16:47.030Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:16:47.030Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:16:47.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-06-07T10:16:47.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:16:48.747Z] $ docker top 9fa8eb414fc4c21d4d89fde9faf9e2bf4b5ebc02fa801a90386e8e285cb82066 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:16:49.697Z] + go version [2022-06-07T10:16:49.697Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T10:16:49.730Z] $ docker stop --time=1 9fa8eb414fc4c21d4d89fde9faf9e2bf4b5ebc02fa801a90386e8e285cb82066 [2022-06-07T10:16:51.470Z] $ docker rm -f 9fa8eb414fc4c21d4d89fde9faf9e2bf4b5ebc02fa801a90386e8e285cb82066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:16:52.088Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T10:16:52.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:16:52.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-06-07T10:16:52.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T10:16:53.759Z] $ docker top 09a255c372b713387069c9352a5d7f638db94a3d16581ef5cf66c4c329b5673d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T10:16:54.714Z] + make test [2022-06-07T10:16:54.714Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T10:16:56.712Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T10:18:33.608Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T10:18:33.608Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.3% of statements [2022-06-07T10:18:51.935Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.971s coverage: 13.8% of statements [2022-06-07T10:18:51.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T10:18:51.935Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T10:19:18.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T10:19:18.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T10:19:18.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T10:19:22.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T10:19:22.178Z] $ docker stop --time=1 09a255c372b713387069c9352a5d7f638db94a3d16581ef5cf66c4c329b5673d [2022-06-07T10:19:23.861Z] $ docker rm -f 09a255c372b713387069c9352a5d7f638db94a3d16581ef5cf66c4c329b5673d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T10:19:24.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T10:19:24.857Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T10:19:25.363Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T10:19:25.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T10:19:26.081Z] + ls -al . [2022-06-07T10:19:26.081Z] total 228 [2022-06-07T10:19:26.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:19 . [2022-06-07T10:19:26.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:14 .. [2022-06-07T10:19:26.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 10:14 .git [2022-06-07T10:19:26.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:14 .github [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 7 10:14 .gitignore [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 10:14 .golangci.yml [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 7 10:14 Attribution.txt [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 7 10:14 CHANGELOG.md [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 7 10:14 Dockerfile [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 10:14 GOVERNANCE.md [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 10:14 Jenkinsfile [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 10:14 LICENSE [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 7 10:14 Makefile [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 7 10:14 OWNERS.md [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 30882 Jun 7 10:14 README.md [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 10:12 VERSION [2022-06-07T10:19:26.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 10:14 bin [2022-06-07T10:19:26.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 10:14 cmd [2022-06-07T10:19:26.081Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 7 10:18 coverage.out [2022-06-07T10:19:26.081Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 7 10:14 doc [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 3534 Jun 7 10:14 go.mod [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 37264 Jun 7 10:14 go.sum [2022-06-07T10:19:26.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 10:14 internal [2022-06-07T10:19:26.081Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 7 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:19:26.435Z] + 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=340b024538eaa1963fd62e7953336e111676fa52 --label arch=arm64 --label version=0.0.0 . [2022-06-07T10:19:26.708Z] Sending build context to Docker daemon 6.281MB [2022-06-07T10:19:26.708Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T10:19:26.708Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-07T10:19:26.708Z] ---> f789fc76e708 [2022-06-07T10:19:26.708Z] Step 3/26 : ARG MAKE="make build" [2022-06-07T10:19:26.978Z] ---> Running in bb0e51e7de74 [2022-06-07T10:19:27.250Z] Removing intermediate container bb0e51e7de74 [2022-06-07T10:19:27.250Z] ---> 734c588df0e3 [2022-06-07T10:19:27.250Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T10:19:27.250Z] ---> Running in 250fbadf3244 [2022-06-07T10:19:27.530Z] Removing intermediate container 250fbadf3244 [2022-06-07T10:19:27.530Z] ---> bde65e190157 [2022-06-07T10:19:27.530Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T10:19:27.805Z] ---> Running in 50add56df0ef [2022-06-07T10:19:28.077Z] Removing intermediate container 50add56df0ef [2022-06-07T10:19:28.077Z] ---> 2958e5d86a4a [2022-06-07T10:19:28.077Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-07T10:19:28.077Z] ---> Running in ede84fd8c96b [2022-06-07T10:19:28.352Z] Removing intermediate container ede84fd8c96b [2022-06-07T10:19:28.353Z] ---> 6fe03e224264 [2022-06-07T10:19:28.353Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T10:19:28.353Z] ---> Running in 6eb4c0b9a1fe [2022-06-07T10:19:30.329Z] Removing intermediate container 6eb4c0b9a1fe [2022-06-07T10:19:30.329Z] ---> 88c281495b81 [2022-06-07T10:19:30.329Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T10:19:30.329Z] ---> Running in fda42a300efc [2022-06-07T10:19:31.312Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:19:31.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:19:32.889Z] OK: 220 MiB in 52 packages [2022-06-07T10:19:33.875Z] Removing intermediate container fda42a300efc [2022-06-07T10:19:33.875Z] ---> de671267b5a2 [2022-06-07T10:19:33.875Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-07T10:19:33.875Z] ---> Running in 491d59097586 [2022-06-07T10:19:34.150Z] Removing intermediate container 491d59097586 [2022-06-07T10:19:34.150Z] ---> 91617dba30cf [2022-06-07T10:19:34.150Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-07T10:19:34.744Z] ---> 648de594e761 [2022-06-07T10:19:34.744Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T10:19:34.744Z] ---> Running in e054eb2072d4 [2022-06-07T10:19:36.748Z] Removing intermediate container e054eb2072d4 [2022-06-07T10:19:36.748Z] ---> a6287246b0a6 [2022-06-07T10:19:36.748Z] Step 12/26 : COPY . . [2022-06-07T10:19:37.733Z] ---> 79f22d246b5a [2022-06-07T10:19:37.733Z] Step 13/26 : RUN ${MAKE} [2022-06-07T10:19:37.733Z] ---> Running in cb7d24bcc230 [2022-06-07T10:19:38.726Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-07T10:21:45.629Z] Removing intermediate container cb7d24bcc230 [2022-06-07T10:21:45.629Z] ---> 0b29e255bff7 [2022-06-07T10:21:45.629Z] Step 14/26 : FROM alpine:3.15 [2022-06-07T10:21:45.629Z] 3.15: Pulling from library/alpine [2022-06-07T10:21:45.629Z] 9981e73032c8: Pulling fs layer [2022-06-07T10:21:45.629Z] 9981e73032c8: Download complete [2022-06-07T10:21:45.629Z] 9981e73032c8: Pull complete [2022-06-07T10:21:45.629Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-07T10:21:45.629Z] Status: Downloaded newer image for alpine:3.15 [2022-06-07T10:21:45.629Z] ---> 3fb3c9af89a9 [2022-06-07T10:21:45.629Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-07T10:21:45.629Z] ---> Running in b93642f72321 [2022-06-07T10:21:45.629Z] Removing intermediate container b93642f72321 [2022-06-07T10:21:45.629Z] ---> 781c861f1f08 [2022-06-07T10:21:45.629Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T10:21:45.629Z] ---> Running in 2e27c26814ae [2022-06-07T10:21:45.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T10:21:45.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T10:21:45.629Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T10:21:45.629Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-07T10:21:45.629Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T10:21:45.629Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-07T10:21:45.629Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T10:21:45.629Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T10:21:45.629Z] Executing busybox-1.34.1-r5.trigger [2022-06-07T10:21:45.629Z] OK: 8 MiB in 20 packages [2022-06-07T10:21:45.629Z] Removing intermediate container 2e27c26814ae [2022-06-07T10:21:45.629Z] ---> b55b06757ede [2022-06-07T10:21:45.629Z] Step 17/26 : WORKDIR / [2022-06-07T10:21:45.629Z] ---> Running in ec5e9042bd8f [2022-06-07T10:21:45.629Z] Removing intermediate container ec5e9042bd8f [2022-06-07T10:21:45.629Z] ---> 41299e38683b [2022-06-07T10:21:45.629Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-07T10:21:47.070Z] ---> 25848b62d8dd [2022-06-07T10:21:47.070Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-07T10:21:47.667Z] ---> 0e85abf31258 [2022-06-07T10:21:47.667Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-07T10:21:48.267Z] ---> cde984accb32 [2022-06-07T10:21:48.267Z] Step 21/26 : EXPOSE 59984 [2022-06-07T10:21:48.267Z] ---> Running in a87340b9fe79 [2022-06-07T10:21:48.541Z] Removing intermediate container a87340b9fe79 [2022-06-07T10:21:48.541Z] ---> 3ca8a0e03587 [2022-06-07T10:21:48.541Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-07T10:21:48.815Z] ---> Running in 406da739fd35 [2022-06-07T10:21:49.094Z] Removing intermediate container 406da739fd35 [2022-06-07T10:21:49.094Z] ---> 191cf24f88fc [2022-06-07T10:21:49.094Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-07T10:21:49.094Z] ---> Running in ed4787fd2f85 [2022-06-07T10:21:49.368Z] Removing intermediate container ed4787fd2f85 [2022-06-07T10:21:49.368Z] ---> 610fa08bf249 [2022-06-07T10:21:49.368Z] Step 24/26 : LABEL arch=arm64 [2022-06-07T10:21:49.368Z] ---> Running in 90a031f17905 [2022-06-07T10:21:49.641Z] Removing intermediate container 90a031f17905 [2022-06-07T10:21:49.641Z] ---> 59c0b9ae410c [2022-06-07T10:21:49.641Z] Step 25/26 : LABEL git_sha=340b024538eaa1963fd62e7953336e111676fa52 [2022-06-07T10:21:49.641Z] ---> Running in cda09aac4b2a [2022-06-07T10:21:50.235Z] Removing intermediate container cda09aac4b2a [2022-06-07T10:21:50.235Z] ---> 8e7e8062b85c [2022-06-07T10:21:50.235Z] Step 26/26 : LABEL version=0.0.0 [2022-06-07T10:21:50.235Z] ---> Running in 592d47d548d5 [2022-06-07T10:21:50.508Z] Removing intermediate container 592d47d548d5 [2022-06-07T10:21:50.508Z] ---> 2902b4a317b2 [2022-06-07T10:21:50.508Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T10:21:50.508Z] Successfully built 2902b4a317b2 [2022-06-07T10:21:50.508Z] 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-07T10:21:50.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:21:50.956Z] [2022-06-07T10:21:50.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:21:51.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:21:51.587Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T10:21:51.587Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T10:21:51.587Z] 04944245beec: Pulling fs layer [2022-06-07T10:21:51.587Z] 699f458cf7ca: Pulling fs layer [2022-06-07T10:21:51.587Z] 765212b225bb: Pulling fs layer [2022-06-07T10:21:51.587Z] f23df028b6ca: Pulling fs layer [2022-06-07T10:21:51.587Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T10:21:51.587Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T10:21:51.587Z] f23df028b6ca: Waiting [2022-06-07T10:21:51.587Z] 765212b225bb: Waiting [2022-06-07T10:21:51.587Z] d65c8cfc05b1: Waiting [2022-06-07T10:21:51.587Z] 2437ff75d9bd: Waiting [2022-06-07T10:21:51.587Z] 04944245beec: Verifying Checksum [2022-06-07T10:21:51.587Z] 04944245beec: Download complete [2022-06-07T10:21:51.587Z] 765212b225bb: Verifying Checksum [2022-06-07T10:21:51.587Z] 765212b225bb: Download complete [2022-06-07T10:21:51.587Z] f23df028b6ca: Download complete [2022-06-07T10:21:51.587Z] d65c8cfc05b1: Download complete [2022-06-07T10:21:51.863Z] 699f458cf7ca: Verifying Checksum [2022-06-07T10:21:51.863Z] 699f458cf7ca: Download complete [2022-06-07T10:21:52.134Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T10:21:52.134Z] 8998bd30e6a1: Download complete [2022-06-07T10:21:54.779Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T10:21:54.779Z] 2437ff75d9bd: Download complete [2022-06-07T10:21:56.229Z] 8998bd30e6a1: Pull complete [2022-06-07T10:21:56.825Z] 04944245beec: Pull complete [2022-06-07T10:21:58.266Z] 699f458cf7ca: Pull complete [2022-06-07T10:21:58.540Z] 765212b225bb: Pull complete [2022-06-07T10:21:59.139Z] f23df028b6ca: Pull complete [2022-06-07T10:21:59.413Z] d65c8cfc05b1: Pull complete [2022-06-07T10:22:14.508Z] 2437ff75d9bd: Pull complete [2022-06-07T10:22:14.508Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T10:22:14.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T10:22:14.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:22:14.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2022-06-07T10:22:14.866Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T10:22:17.432Z] $ docker top 2287263d7b1d454b28f92e5a6477c9d294dcf512eab2294e71c527d5df66602b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:18.361Z] ---> job-cost.sh [2022-06-07T10:22:18.361Z] lf-activate-venv: SKIPPING [2022-06-07T10:22:18.361Z] INFO: No Stack... [2022-06-07T10:22:18.960Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T10:22:19.942Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T10:22:20.613Z] + + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2022-06-07T10:22:20.613Z] cut -d, -f6 [Pipeline] lock [2022-06-07T10:22:20.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [2022-06-07T10:22:20.694Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] did not exist. Created. [2022-06-07T10:22:20.694Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T10:22:21.383Z] /w/workspace/device-onvif-camera/12@tmp/durable-295b312e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T10:22:22.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T10:22:22.115Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T10:22:22.166Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T10:22:22.172Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T10:22:22.204Z] $ docker stop --time=1 2287263d7b1d454b28f92e5a6477c9d294dcf512eab2294e71c527d5df66602b [2022-06-07T10:22:23.730Z] $ docker rm -f 2287263d7b1d454b28f92e5a6477c9d294dcf512eab2294e71c527d5df66602b [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-07T10:22:24.153Z] provisioning config files... [2022-06-07T10:22:24.173Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config6252689981103370267tmp [Pipeline] { [Pipeline] sh [2022-06-07T10:22:24.524Z] + set +x [2022-06-07T10:22:24.524Z] + curl -s https://codecov.io/bash [2022-06-07T10:22:24.524Z] + bash -s -- [2022-06-07T10:22:24.524Z] [2022-06-07T10:22:24.524Z] _____ _ [2022-06-07T10:22:24.524Z] / ____| | | [2022-06-07T10:22:24.524Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T10:22:24.524Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T10:22:24.524Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T10:22:24.524Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T10:22:24.524Z] Bash-1.0.6 [2022-06-07T10:22:24.524Z] [2022-06-07T10:22:24.524Z] [2022-06-07T10:22:24.524Z] ==> git version 2.25.1 found [2022-06-07T10:22:24.524Z] ==> 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-07T10:22:24.524Z] Release-Date: 2020-01-08 [2022-06-07T10:22:24.524Z] 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-07T10:22:24.524Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T10:22:24.524Z] ==> Jenkins CI detected. [2022-06-07T10:22:24.524Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-07T10:22:24.524Z] project root: . [2022-06-07T10:22:24.524Z] --> token set from env [2022-06-07T10:22:24.524Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T10:22:24.524Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T10:22:24.524Z] ==> Python coveragepy not found [2022-06-07T10:22:24.524Z] ==> Searching for coverage reports in: [2022-06-07T10:22:24.524Z] + . [2022-06-07T10:22:24.524Z] -> Found 1 reports [2022-06-07T10:22:24.524Z] ==> Detecting git/mercurial file structure [2022-06-07T10:22:24.524Z] ==> Reading reports [2022-06-07T10:22:24.524Z] + ./coverage.out bytes=53381 [2022-06-07T10:22:24.524Z] ==> Appending adjustments [2022-06-07T10:22:24.524Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T10:22:24.784Z] + Found adjustments [2022-06-07T10:22:24.784Z] ==> Gzipping contents [2022-06-07T10:22:24.784Z] 8.0K /tmp/codecov.UuzQZP.gz [2022-06-07T10:22:24.784Z] ==> Uploading reports [2022-06-07T10:22:24.784Z] url: https://codecov.io [2022-06-07T10:22:24.784Z] query: branch=PR-64&commit=ba8e91d4dcc55f881d86110c1fac98b942c28cbe&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-07T10:22:24.784Z] -> Pinging Codecov [2022-06-07T10:22:24.784Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-64&commit=ba8e91d4dcc55f881d86110c1fac98b942c28cbe&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-07T10:22:24.784Z] -> Uploading to [2022-06-07T10:22:24.784Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/F29A59C45E3A92E06B3E522C9905F8EF/ba8e91d4dcc55f881d86110c1fac98b942c28cbe/d7635f6f-d6da-4860-91ec-336ac7836b1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T102224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7372837e193bdf55265c610fdf74e1ff5036f48bf527537eda361d49927d7ab7 [2022-06-07T10:22:24.784Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T10:22:24.784Z] Dload Upload Total Spent Left Speed [2022-06-07T10:22:25.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6895 0 0 100 6895 0 30508 --:--:-- --:--:-- --:--:-- 30508 [2022-06-07T10:22:25.044Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/ba8e91d4dcc55f881d86110c1fac98b942c28cbe [Pipeline] } [2022-06-07T10:22:25.051Z] 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-07T10:22:25.729Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-64/archives ] [2022-06-07T10:22:25.729Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T10:22:25.729Z] total 16 [2022-06-07T10:22:25.729Z] drwxr-xr-x 3 root root 4096 Jun 7 10:13 . [2022-06-07T10:22:25.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:13 .. [2022-06-07T10:22:25.729Z] drwxr-xr-x 2 root root 4096 Jun 7 10:13 cost [2022-06-07T10:22:25.729Z] -rw-r--r-- 1 root root 90 Jun 7 10:13 cost.csv [2022-06-07T10:22:25.729Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T10:22:25.729Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-07T10:22:25.729Z] total 16 [2022-06-07T10:22:25.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 10:13 . [2022-06-07T10:22:25.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 10:13 .. [2022-06-07T10:22:25.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 10:13 cost [2022-06-07T10:22:25.729Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 7 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:26.026Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:26.893Z] ---> package-listing.sh [2022-06-07T10:22:26.893Z] ++ facter osfamily [2022-06-07T10:22:26.893Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T10:22:27.154Z] + OS_FAMILY=debian [2022-06-07T10:22:27.154Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-07T10:22:27.154Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T10:22:27.154Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T10:22:27.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T10:22:27.154Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T10:22:27.154Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-07T10:22:27.154Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T10:22:27.154Z] + case "${OS_FAMILY}" in [2022-06-07T10:22:27.154Z] + dpkg -l [2022-06-07T10:22:27.154Z] + grep '^ii' [2022-06-07T10:22:27.154Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T10:22:27.154Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T10:22:27.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T10:22:27.154Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-07T10:22:27.154Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [2022-06-07T10:22:27.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [Pipeline] echo [2022-06-07T10:22:27.167Z] 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-64/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T10:22:27.446Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T10:22:28.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T10:22:28.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T10:22:28.089Z] prd-ubuntu20.04-docker-8c-8g-1635 does not seem to be running inside a container [2022-06-07T10:22:28.124Z] $ 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-64/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-64 -v /w/workspace/oundry_device-onvif-camera_PR-64:/w/workspace/oundry_device-onvif-camera_PR-64:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-64@tmp:/w/workspace/oundry_device-onvif-camera_PR-64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T10:22:28.353Z] $ docker top f6a8fafbcace30685091ad78a82519bca1dab51e26696bdf1c96a399a8abff41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T10:22:28.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T10:22:28.999Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T10:22:29.289Z] + ls /var/log/sa-host [2022-06-07T10:22:29.289Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T10:22:29.355Z] provisioning config files... [2022-06-07T10:22:29.365Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config6083530561579154810tmp [Pipeline] { [Pipeline] echo [2022-06-07T10:22:29.377Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:29.663Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T10:22:29.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:30.002Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T10:22:30.012Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:30.303Z] ---> sudo-logs.sh [2022-06-07T10:22:30.303Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T10:22:30.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:30.623Z] ---> job-cost.sh [2022-06-07T10:22:30.623Z] lf-activate-venv: SKIPPING [2022-06-07T10:22:30.623Z] DEBUG: total: 0.2199999988079071 [2022-06-07T10:22:30.623Z] INFO: Retrieving Stack Cost... [2022-06-07T10:22:30.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T10:22:31.461Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T10:22:31.473Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T10:22:31.761Z] ---> logs-deploy.sh [2022-06-07T10:22:31.761Z] lf-activate-venv: SKIPPING [2022-06-07T10:22:31.761Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-64/12 [2022-06-07T10:22:31.761Z] INFO: archiving workspace using pattern(s): [2022-06-07T10:22:32.703Z] Archives upload complete. [2022-06-07T10:22:32.703Z] INFO: archiving logs to Nexus