Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf2d7918a48e2e9daaeccb6451a2c4b556b1851e+24145fbef97b1fa0849e90c42711cf4bdce583e6 (0cbb13f3026c701a0839114ca7d065817edbbfcb) 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-ssh10893247861397661404.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8782953058326289800.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh6978626634343416183.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10293286766567129317.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-ssh7118822187107010348.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2330’ Running on prd-ubuntu20.04-docker-8c-8g-2333 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 > 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 Merging remotes/origin/main commit 24145fbef97b1fa0849e90c42711cf4bdce583e6 into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e Merge succeeded, producing b1752d5fec30393fbb96df1c5cdcfd0cef050467 Checking out Revision b1752d5fec30393fbb96df1c5cdcfd0cef050467 (PR-64) > git config core.sparsecheckout # timeout=10 > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # 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 24145fbef97b1fa0849e90c42711cf4bdce583e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1752d5fec30393fbb96df1c5cdcfd0cef050467 # timeout=10 Commit message: "Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-13T10:11:38.245Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-13T10:11:38.299Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-13T10:11:38.314Z] ========================================================= [2022-06-13T10:11:38.314Z] EdgeX Global Pipelines Version Info [2022-06-13T10:11:38.314Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 818baeb24568186d46fce827af37ff05c7fff715 # timeout=10 [2022-06-13T10:11:39.083Z] ------------------- [2022-06-13T10:11:39.084Z] stable info: [2022-06-13T10:11:39.084Z] ------------------- [2022-06-13T10:11:39.084Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-13T10:11:39.084Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T10:11:39.084Z] Message: update stable to v1.0.234 [2022-06-13T10:11:39.659Z] ------------------- [2022-06-13T10:11:39.659Z] experimental info: [2022-06-13T10:11:39.659Z] ------------------- [2022-06-13T10:11:39.659Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-13T10:11:39.659Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-13T10:11:39.659Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-13T10:11:39.840Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-13T10:11:39.851Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-13T10:11:39.863Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-13T10:11:39.874Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-13T10:11:39.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-13T10:11:39.896Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-13T10:11:39.909Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-13T10:11:39.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-13T10:11:39.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-13T10:11:39.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-13T10:11:39.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-13T10:11:39.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-13T10:11:39.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-13T10:11:39.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-13T10:11:39.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T10:11:40.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-13T10:11:40.034Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T10:11:40.050Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-13T10:11:40.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-13T10:11:40.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-13T10:11:40.079Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-13T10:11:40.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-13T10:11:40.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-13T10:11:40.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-13T10:11:40.119Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-13T10:11:40.130Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-13T10:11:40.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-13T10:11:40.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-64 [Pipeline] echo [2022-06-13T10:11:40.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-64 [Pipeline] echo [2022-06-13T10:11:40.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-64 [Pipeline] echo [2022-06-13T10:11:40.195Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1752d5fec30393fbb96df1c5cdcfd0cef050467 [Pipeline] echo [2022-06-13T10:11:40.209Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1752d5 [Pipeline] echo [2022-06-13T10:11:40.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T10:11:40.262Z] provisioning config files... [2022-06-13T10:11:40.280Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config991429471059804609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:11:40.584Z] ---> docker-login.sh [2022-06-13T10:11:40.584Z] nexus3.edgexfoundry.org:10001 [2022-06-13T10:11:40.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:40.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:40.845Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:40.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:40.845Z] [2022-06-13T10:11:40.845Z] Login Succeeded [2022-06-13T10:11:40.845Z] nexus3.edgexfoundry.org:10002 [2022-06-13T10:11:41.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:41.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:41.106Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:41.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:41.106Z] [2022-06-13T10:11:41.106Z] Login Succeeded [2022-06-13T10:11:41.106Z] nexus3.edgexfoundry.org:10003 [2022-06-13T10:11:41.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:41.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:41.366Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:41.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:41.366Z] [2022-06-13T10:11:41.366Z] Login Succeeded [2022-06-13T10:11:41.366Z] nexus3.edgexfoundry.org:10004 [2022-06-13T10:11:41.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:41.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:41.366Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:41.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:41.366Z] [2022-06-13T10:11:41.366Z] Login Succeeded [2022-06-13T10:11:41.366Z] docker.io [2022-06-13T10:11:41.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:41.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:41.941Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:41.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:41.941Z] [2022-06-13T10:11:41.941Z] Login Succeeded [2022-06-13T10:11:41.941Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T10:11:41.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-13T10:11:42.326Z] + git rev-list -1 --merges b1752d5fec30393fbb96df1c5cdcfd0cef050467~1..b1752d5fec30393fbb96df1c5cdcfd0cef050467 [Pipeline] echo [2022-06-13T10:11:42.359Z] -----------> git rev-list -1 --merges b1752d5fec30393fbb96df1c5cdcfd0cef050467~1..b1752d5fec30393fbb96df1c5cdcfd0cef050467 b1752d5fec30393fbb96df1c5cdcfd0cef050467 [2022-06-13T10:11:42.359Z] b1752d5fec30393fbb96df1c5cdcfd0cef050467 [false] [Pipeline] sh [2022-06-13T10:11:42.654Z] + git log --format=format:%s -1 b1752d5fec30393fbb96df1c5cdcfd0cef050467 [Pipeline] echo [2022-06-13T10:11:42.671Z] ========================================================= [2022-06-13T10:11:42.671Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-13T10:11:42.671Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T10:11:43.000Z] + git log --format=format:%s -1 b1752d5fec30393fbb96df1c5cdcfd0cef050467 [Pipeline] echo [2022-06-13T10:11:43.013Z] [semverPrep] GIT_COMMIT: b1752d5fec30393fbb96df1c5cdcfd0cef050467, Commit Message: Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD [Pipeline] echo [2022-06-13T10:11:43.022Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-13T10:11:43.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-13T10:11:43.368Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-13T10:11:43.368Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-13T10:11:43.368Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-13T10:11:43.368Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-13T10:11:43.368Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-13T10:11:43.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:11:43.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T10:11:43.742Z] [2022-06-13T10:11:43.742Z] 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-13T10:11:44.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T10:11:44.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-13T10:11:44.047Z] 42c077c10790: Pulling fs layer [2022-06-13T10:11:44.047Z] f63e77b7563a: Pulling fs layer [2022-06-13T10:11:44.047Z] bd5fdadae976: Pulling fs layer [2022-06-13T10:11:44.047Z] 205491f53016: Pulling fs layer [2022-06-13T10:11:44.047Z] df18705c85c3: Pulling fs layer [2022-06-13T10:11:44.047Z] bdb3f477010e: Pulling fs layer [2022-06-13T10:11:44.047Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-13T10:11:44.047Z] 2c6e9b1d212d: Pulling fs layer [2022-06-13T10:11:44.047Z] bdb8f0575790: Pulling fs layer [2022-06-13T10:11:44.047Z] 386e3cb2ff24: Pulling fs layer [2022-06-13T10:11:44.047Z] 2343380bae48: Pulling fs layer [2022-06-13T10:11:44.047Z] 205491f53016: Waiting [2022-06-13T10:11:44.047Z] df18705c85c3: Waiting [2022-06-13T10:11:44.047Z] bdb3f477010e: Waiting [2022-06-13T10:11:44.047Z] c8a8fc8e1c8f: Waiting [2022-06-13T10:11:44.047Z] 2c6e9b1d212d: Waiting [2022-06-13T10:11:44.047Z] bdb8f0575790: Waiting [2022-06-13T10:11:44.047Z] 386e3cb2ff24: Waiting [2022-06-13T10:11:44.047Z] f63e77b7563a: Download complete [2022-06-13T10:11:44.047Z] 205491f53016: Verifying Checksum [2022-06-13T10:11:44.047Z] 205491f53016: Download complete [2022-06-13T10:11:44.310Z] df18705c85c3: Verifying Checksum [2022-06-13T10:11:44.310Z] df18705c85c3: Download complete [2022-06-13T10:11:44.310Z] bdb3f477010e: Verifying Checksum [2022-06-13T10:11:44.310Z] bdb3f477010e: Download complete [2022-06-13T10:11:44.310Z] bd5fdadae976: Verifying Checksum [2022-06-13T10:11:44.310Z] bd5fdadae976: Download complete [2022-06-13T10:11:44.310Z] 2c6e9b1d212d: Download complete [2022-06-13T10:11:44.310Z] bdb8f0575790: Verifying Checksum [2022-06-13T10:11:44.310Z] bdb8f0575790: Download complete [2022-06-13T10:11:44.310Z] 2343380bae48: Verifying Checksum [2022-06-13T10:11:44.310Z] 2343380bae48: Download complete [2022-06-13T10:11:44.310Z] 42c077c10790: Download complete [2022-06-13T10:11:44.570Z] c8a8fc8e1c8f: Download complete [2022-06-13T10:11:45.509Z] 42c077c10790: Pull complete [2022-06-13T10:11:45.770Z] f63e77b7563a: Pull complete [2022-06-13T10:11:46.341Z] bd5fdadae976: Pull complete [2022-06-13T10:11:46.341Z] 205491f53016: Pull complete [2022-06-13T10:11:46.603Z] df18705c85c3: Pull complete [2022-06-13T10:11:46.864Z] bdb3f477010e: Pull complete [2022-06-13T10:11:48.770Z] c8a8fc8e1c8f: Pull complete [2022-06-13T10:11:48.770Z] 2c6e9b1d212d: Pull complete [2022-06-13T10:11:49.033Z] bdb8f0575790: Pull complete [2022-06-13T10:11:49.033Z] 386e3cb2ff24: Pull complete [2022-06-13T10:11:49.294Z] 2343380bae48: Pull complete [2022-06-13T10:11:49.294Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-13T10:11:49.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-13T10:11:49.294Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:11:49.393Z] prd-ubuntu20.04-docker-8c-8g-2333 does not seem to be running inside a container [2022-06-13T10:11:49.431Z] $ 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-13T10:11:51.083Z] $ docker top 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b -eo pid,comm [2022-06-13T10:11:51.145Z] 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-13T10:11:51.145Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-13T10:11:51.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T10:11:51.182Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T10:11:51.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T10:11:51.326Z] $ docker exec 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b ssh-agent [2022-06-13T10:11:51.455Z] SSH_AUTH_SOCK=/tmp/ssh-eb4WXw8vmfLG/agent.33 [2022-06-13T10:11:51.455Z] SSH_AGENT_PID=39 [2022-06-13T10:11:51.462Z] Running ssh-add (command line suppressed) [2022-06-13T10:11:51.596Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_8759488300013288947.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_8759488300013288947.key) [2022-06-13T10:11:51.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T10:11:51.900Z] + git tag --points-at HEAD [Pipeline] } [2022-06-13T10:11:51.924Z] $ docker exec --env ******** --env ******** 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b ssh-agent -k [2022-06-13T10:11:52.044Z] unset SSH_AUTH_SOCK; [2022-06-13T10:11:52.045Z] unset SSH_AGENT_PID; [2022-06-13T10:11:52.045Z] echo Agent pid 39 killed; [2022-06-13T10:11:52.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-13T10:11:52.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-13T10:11:52.073Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-13T10:11:52.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-13T10:11:52.211Z] $ docker exec 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b ssh-agent [2022-06-13T10:11:52.326Z] SSH_AUTH_SOCK=/tmp/ssh-M8pFWDqHk1f0/agent.72 [2022-06-13T10:11:52.326Z] SSH_AGENT_PID=78 [2022-06-13T10:11:52.334Z] Running ssh-add (command line suppressed) [2022-06-13T10:11:52.462Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_5477923145233994335.key (/w/workspace/oundry_device-onvif-camera_PR-64@tmp/private_key_5477923145233994335.key) [2022-06-13T10:11:52.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-13T10:11:52.768Z] + git semver init [2022-06-13T10:11:53.028Z] 2022-06-13 10:11:52,985 [run_init] DEBUG init version:0.0.0 force:False [2022-06-13T10:11:53.028Z] 2022-06-13 10:11:52,986 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-64/.semver [2022-06-13T10:11:53.028Z] 2022-06-13 10:11:52,986 [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-13T10:11:53.028Z] 2022-06-13 10:11:52,986 [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-13T10:11:53.974Z] 2022-06-13 10:11:53,665 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-64/.git/info/exclude [2022-06-13T10:11:53.974Z] 2022-06-13 10:11:53,666 [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-13T10:11:53.974Z] 2022-06-13 10:11:53,666 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-13T10:11:53.974Z] 2022-06-13 10:11:53,670 [execute] INFO git cat-file --batch-check [2022-06-13T10:11:53.974Z] 2022-06-13 10:11:53,670 [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-13T10:11:53.974Z] 2022-06-13 10:11:53,676 [execute] INFO git cat-file --batch [2022-06-13T10:11:53.974Z] 2022-06-13 10:11:53,676 [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-13T10:11:53.974Z] 2022-06-13 10:11:53,681 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-64/.semver/PR-64 [2022-06-13T10:11:53.974Z] 0.0.0 [Pipeline] } [2022-06-13T10:11:53.989Z] $ docker exec --env ******** --env ******** 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b ssh-agent -k [2022-06-13T10:11:54.094Z] unset SSH_AUTH_SOCK; [2022-06-13T10:11:54.095Z] unset SSH_AGENT_PID; [2022-06-13T10:11:54.095Z] echo Agent pid 78 killed; [2022-06-13T10:11:54.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-13T10:11:54.411Z] + git semver [Pipeline] } [2022-06-13T10:11:54.689Z] $ docker stop --time=1 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b [2022-06-13T10:11:56.051Z] $ docker rm -f 14bd27f9b8997b4eb4a1431e9b720271902cd77fec8251967af0ecd6356f514b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T10:11:56.405Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-13T10:11:56.640Z] Stashed 1 file(s) [Pipeline] echo [2022-06-13T10:11:56.643Z] [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-13T10:11:56.766Z] provisioning config files... [2022-06-13T10:11:56.777Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config7611303917176808255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:11:57.077Z] ---> docker-login.sh [2022-06-13T10:11:57.077Z] nexus3.edgexfoundry.org:10001 [2022-06-13T10:11:57.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:57.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:57.077Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:57.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:57.077Z] [2022-06-13T10:11:57.077Z] Login Succeeded [2022-06-13T10:11:57.077Z] nexus3.edgexfoundry.org:10002 [2022-06-13T10:11:57.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:57.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:57.337Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:57.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:57.337Z] [2022-06-13T10:11:57.337Z] Login Succeeded [2022-06-13T10:11:57.337Z] nexus3.edgexfoundry.org:10003 [2022-06-13T10:11:57.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:57.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:57.338Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:57.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:57.338Z] [2022-06-13T10:11:57.338Z] Login Succeeded [2022-06-13T10:11:57.338Z] nexus3.edgexfoundry.org:10004 [2022-06-13T10:11:57.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:57.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:57.598Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:57.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:57.598Z] [2022-06-13T10:11:57.598Z] Login Succeeded [2022-06-13T10:11:57.598Z] docker.io [2022-06-13T10:11:57.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:11:57.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:11:57.859Z] Configure a credential helper to remove this warning. See [2022-06-13T10:11:57.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:11:57.859Z] [2022-06-13T10:11:57.859Z] Login Succeeded [2022-06-13T10:11:57.859Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T10:11:57.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T10:11:57.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T10:11:57.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T10:11:57.953Z] ========================================================= [2022-06-13T10:11:57.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-13T10:11:57.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:11:58.271Z] + 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-13T10:11:58.271Z] Sending build context to Docker daemon 8.993MB [2022-06-13T10:11:58.271Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T10:11:58.271Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-13T10:11:58.271Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-13T10:11:58.271Z] 59bf1c3509f3: Pulling fs layer [2022-06-13T10:11:58.271Z] 666ba61612fd: Pulling fs layer [2022-06-13T10:11:58.271Z] 8ed8ca486205: Pulling fs layer [2022-06-13T10:11:58.271Z] cc1cd167ecdc: Pulling fs layer [2022-06-13T10:11:58.271Z] c516ae0d96e1: Pulling fs layer [2022-06-13T10:11:58.271Z] 684cea983483: Pulling fs layer [2022-06-13T10:11:58.271Z] dd3240ac7de5: Pulling fs layer [2022-06-13T10:11:58.271Z] b1e948a4e11c: Pulling fs layer [2022-06-13T10:11:58.271Z] a8fd76ee1af6: Pulling fs layer [2022-06-13T10:11:58.271Z] 646ad004c059: Pulling fs layer [2022-06-13T10:11:58.271Z] b1e948a4e11c: Waiting [2022-06-13T10:11:58.271Z] c516ae0d96e1: Waiting [2022-06-13T10:11:58.271Z] 646ad004c059: Waiting [2022-06-13T10:11:58.271Z] dd3240ac7de5: Waiting [2022-06-13T10:11:58.271Z] cc1cd167ecdc: Waiting [2022-06-13T10:11:58.271Z] 8ed8ca486205: Verifying Checksum [2022-06-13T10:11:58.271Z] 8ed8ca486205: Download complete [2022-06-13T10:11:58.271Z] 666ba61612fd: Download complete [2022-06-13T10:11:58.537Z] c516ae0d96e1: Download complete [2022-06-13T10:11:58.537Z] 684cea983483: Verifying Checksum [2022-06-13T10:11:58.537Z] 684cea983483: Download complete [2022-06-13T10:11:58.537Z] dd3240ac7de5: Download complete [2022-06-13T10:11:58.537Z] 59bf1c3509f3: Verifying Checksum [2022-06-13T10:11:58.537Z] 59bf1c3509f3: Download complete [2022-06-13T10:11:58.537Z] b1e948a4e11c: Verifying Checksum [2022-06-13T10:11:58.537Z] b1e948a4e11c: Download complete [2022-06-13T10:11:58.537Z] 59bf1c3509f3: Pull complete [2022-06-13T10:11:58.799Z] 666ba61612fd: Pull complete [2022-06-13T10:11:58.799Z] 8ed8ca486205: Pull complete [2022-06-13T10:11:59.067Z] 646ad004c059: Verifying Checksum [2022-06-13T10:11:59.067Z] 646ad004c059: Download complete [2022-06-13T10:11:59.067Z] a8fd76ee1af6: Verifying Checksum [2022-06-13T10:11:59.067Z] cc1cd167ecdc: Verifying Checksum [2022-06-13T10:11:59.067Z] cc1cd167ecdc: Download complete [2022-06-13T10:12:02.357Z] cc1cd167ecdc: Pull complete [2022-06-13T10:12:02.617Z] c516ae0d96e1: Pull complete [2022-06-13T10:12:02.617Z] 684cea983483: Pull complete [2022-06-13T10:12:02.617Z] dd3240ac7de5: Pull complete [2022-06-13T10:12:02.877Z] b1e948a4e11c: Pull complete [2022-06-13T10:12:04.779Z] a8fd76ee1af6: Pull complete [2022-06-13T10:12:05.717Z] 646ad004c059: Pull complete [2022-06-13T10:12:05.717Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-13T10:12:05.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-13T10:12:05.717Z] ---> 8f69c11f6b0c [2022-06-13T10:12:05.717Z] Step 3/13 : ARG MAKE="make build" [2022-06-13T10:12:07.636Z] ---> Running in 34ecef5bed1e [2022-06-13T10:12:07.636Z] Removing intermediate container 34ecef5bed1e [2022-06-13T10:12:07.636Z] ---> d82863ca48a4 [2022-06-13T10:12:07.636Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T10:12:07.636Z] ---> Running in 465ec72beaec [2022-06-13T10:12:07.895Z] Removing intermediate container 465ec72beaec [2022-06-13T10:12:07.895Z] ---> a664b8237605 [2022-06-13T10:12:07.895Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T10:12:07.895Z] ---> Running in 21ea757e3f82 [2022-06-13T10:12:07.895Z] Removing intermediate container 21ea757e3f82 [2022-06-13T10:12:07.895Z] ---> e02d30899808 [2022-06-13T10:12:07.895Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-13T10:12:07.895Z] ---> Running in 305cbcf1d09b [2022-06-13T10:12:08.155Z] Removing intermediate container 305cbcf1d09b [2022-06-13T10:12:08.155Z] ---> f018e80df9b9 [2022-06-13T10:12:08.155Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T10:12:08.155Z] ---> Running in 55d2461c3bac [2022-06-13T10:12:08.725Z] Removing intermediate container 55d2461c3bac [2022-06-13T10:12:08.725Z] ---> 98f423ade402 [2022-06-13T10:12:08.725Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T10:12:08.984Z] ---> Running in 5b7edf111ff5 [2022-06-13T10:12:09.244Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T10:12:10.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T10:12:10.443Z] OK: 221 MiB in 52 packages [2022-06-13T10:12:10.704Z] Removing intermediate container 5b7edf111ff5 [2022-06-13T10:12:10.704Z] ---> 223c2201a933 [2022-06-13T10:12:10.704Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-13T10:12:10.704Z] ---> Running in 4f3bfae17b8b [2022-06-13T10:12:10.965Z] Removing intermediate container 4f3bfae17b8b [2022-06-13T10:12:10.965Z] ---> bc08ecf5f8c7 [2022-06-13T10:12:10.965Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-13T10:12:10.965Z] ---> bc842ce6c272 [2022-06-13T10:12:10.965Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T10:12:11.226Z] ---> Running in 6657f79815f3 [2022-06-13T10:12:11.732Z] Still waiting to schedule task [2022-06-13T10:12:11.733Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2331’ [2022-06-13T10:12:26.123Z] Removing intermediate container 6657f79815f3 [2022-06-13T10:12:26.123Z] ---> 935d574f1b36 [2022-06-13T10:12:26.123Z] Step 12/13 : COPY . . [2022-06-13T10:12:26.123Z] ---> e9b106dd55b4 [2022-06-13T10:12:26.123Z] Step 13/13 : RUN ${MAKE} [2022-06-13T10:12:26.123Z] ---> Running in efbc76ce90ec [2022-06-13T10:12:26.123Z] noop [2022-06-13T10:12:26.123Z] Removing intermediate container efbc76ce90ec [2022-06-13T10:12:26.123Z] ---> 28f90e027f52 [2022-06-13T10:12:26.123Z] Successfully built 28f90e027f52 [2022-06-13T10:12:26.123Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:12:26.442Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T10:12:26.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:12:26.523Z] prd-ubuntu20.04-docker-8c-8g-2333 does not seem to be running inside a container [2022-06-13T10:12:26.562Z] $ 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-13T10:12:26.998Z] $ docker top 04b73a612e30e2e2e483c61f97a61a20dbfd68af85262b273cec86e6b5850a6b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T10:12:27.349Z] + go version [2022-06-13T10:12:27.349Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-13T10:12:27.364Z] $ docker stop --time=1 04b73a612e30e2e2e483c61f97a61a20dbfd68af85262b273cec86e6b5850a6b [2022-06-13T10:12:28.656Z] $ docker rm -f 04b73a612e30e2e2e483c61f97a61a20dbfd68af85262b273cec86e6b5850a6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:12:29.091Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-13T10:12:29.091Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:12:29.217Z] prd-ubuntu20.04-docker-8c-8g-2333 does not seem to be running inside a container [2022-06-13T10:12:29.295Z] $ 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-13T10:12:29.705Z] $ docker top 34de6a8ea7beb778615fe406b40ab708aa9ec4ba9d2bed07f05c96915ff9665c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T10:12:30.068Z] + make test [2022-06-13T10:12:30.068Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T10:12:30.327Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-13T10:12:40.323Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-13T10:12:40.323Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.3% of statements [2022-06-13T10:12:45.619Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.539s coverage: 13.8% of statements [2022-06-13T10:12:52.193Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T10:12:55.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T10:12:55.479Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T10:12:55.479Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T10:12:55.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T10:12:55.765Z] $ docker stop --time=1 34de6a8ea7beb778615fe406b40ab708aa9ec4ba9d2bed07f05c96915ff9665c [2022-06-13T10:12:57.671Z] $ docker rm -f 34de6a8ea7beb778615fe406b40ab708aa9ec4ba9d2bed07f05c96915ff9665c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T10:12:58.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T10:12:58.195Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-13T10:12:58.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T10:12:58.912Z] + ls -al . [2022-06-13T10:12:58.912Z] total 232 [2022-06-13T10:12:58.912Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 13 10:12 . [2022-06-13T10:12:58.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 10:11 .. [2022-06-13T10:12:58.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 10:11 .git [2022-06-13T10:12:58.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 10:11 .github [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 13 10:11 .gitignore [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 13 10:11 .golangci.yml [2022-06-13T10:12:58.912Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 10:11 .semver [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 13 10:11 Attribution.txt [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 13 10:11 CHANGELOG.md [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 13 10:11 Dockerfile [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 10:11 GOVERNANCE.md [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 13 10:11 Jenkinsfile [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 13 10:11 LICENSE [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 13 10:11 Makefile [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 13 10:11 OWNERS.md [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 13 10:11 README.md [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 10:11 VERSION [2022-06-13T10:12:58.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 10:11 bin [2022-06-13T10:12:58.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 10:11 cmd [2022-06-13T10:12:58.912Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 13 10:12 coverage.out [2022-06-13T10:12:58.912Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 13 10:11 doc [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 13 10:11 go.mod [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 13 10:11 go.sum [2022-06-13T10:12:58.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 10:11 internal [2022-06-13T10:12:58.912Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 13 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:12:59.225Z] + 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=b1752d5fec30393fbb96df1c5cdcfd0cef050467 --label arch=amd64 --label version=0.0.0 . [2022-06-13T10:12:59.225Z] Sending build context to Docker daemon 9.047MB [2022-06-13T10:12:59.225Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T10:12:59.225Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-13T10:12:59.225Z] ---> 28f90e027f52 [2022-06-13T10:12:59.225Z] Step 3/26 : ARG MAKE="make build" [2022-06-13T10:12:59.490Z] ---> Running in 07ef31dd185c [2022-06-13T10:12:59.490Z] Removing intermediate container 07ef31dd185c [2022-06-13T10:12:59.490Z] ---> 0992ef4eb013 [2022-06-13T10:12:59.490Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T10:12:59.490Z] ---> Running in 1b4f2f990c7b [2022-06-13T10:12:59.752Z] Removing intermediate container 1b4f2f990c7b [2022-06-13T10:12:59.752Z] ---> 467526a71681 [2022-06-13T10:12:59.752Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T10:12:59.752Z] ---> Running in 353bdb78b8b7 [2022-06-13T10:12:59.752Z] Removing intermediate container 353bdb78b8b7 [2022-06-13T10:12:59.752Z] ---> f2b2e3fb25c7 [2022-06-13T10:12:59.752Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-13T10:13:00.011Z] ---> Running in 29d3b21cfaa2 [2022-06-13T10:13:00.011Z] Removing intermediate container 29d3b21cfaa2 [2022-06-13T10:13:00.011Z] ---> abf1442e241a [2022-06-13T10:13:00.011Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T10:13:00.011Z] ---> Running in 7bb9ab49e661 [2022-06-13T10:13:00.583Z] Removing intermediate container 7bb9ab49e661 [2022-06-13T10:13:00.583Z] ---> a85d4b03ed1b [2022-06-13T10:13:00.583Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T10:13:00.845Z] ---> Running in 9b2491ed58c3 [2022-06-13T10:13:01.104Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T10:13:02.048Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T10:13:02.048Z] OK: 221 MiB in 52 packages [2022-06-13T10:13:02.620Z] Removing intermediate container 9b2491ed58c3 [2022-06-13T10:13:02.620Z] ---> 8fd54aa7f245 [2022-06-13T10:13:02.620Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-13T10:13:02.620Z] ---> Running in ea836de58950 [2022-06-13T10:13:02.620Z] Removing intermediate container ea836de58950 [2022-06-13T10:13:02.620Z] ---> c98bcc5a8c42 [2022-06-13T10:13:02.620Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-13T10:13:02.620Z] ---> c48b8c9aadfa [2022-06-13T10:13:02.620Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T10:13:02.881Z] ---> Running in 22437432d1a5 [2022-06-13T10:13:03.451Z] Removing intermediate container 22437432d1a5 [2022-06-13T10:13:03.451Z] ---> 6da77365e46c [2022-06-13T10:13:03.451Z] Step 12/26 : COPY . . [2022-06-13T10:13:03.711Z] ---> e8fa40aeedaa [2022-06-13T10:13:03.711Z] Step 13/26 : RUN ${MAKE} [2022-06-13T10:13:03.711Z] ---> Running in 6516e631ef01 [2022-06-13T10:13:04.278Z] 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-13T10:13:26.234Z] Removing intermediate container 6516e631ef01 [2022-06-13T10:13:26.234Z] ---> e5cee7e9534f [2022-06-13T10:13:26.234Z] Step 14/26 : FROM alpine:3.15 [2022-06-13T10:13:26.234Z] 3.15: Pulling from library/alpine [2022-06-13T10:13:26.234Z] df9b9388f04a: Pulling fs layer [2022-06-13T10:13:26.234Z] df9b9388f04a: Verifying Checksum [2022-06-13T10:13:26.234Z] df9b9388f04a: Pull complete [2022-06-13T10:13:26.234Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-13T10:13:26.234Z] Status: Downloaded newer image for alpine:3.15 [2022-06-13T10:13:26.234Z] ---> 0ac33e5f5afa [2022-06-13T10:13:26.234Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-13T10:13:26.234Z] ---> Running in 7d42149daa22 [2022-06-13T10:13:26.234Z] Removing intermediate container 7d42149daa22 [2022-06-13T10:13:26.234Z] ---> 67c0bd39bd46 [2022-06-13T10:13:26.234Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T10:13:26.234Z] ---> Running in 7278117a26ca [2022-06-13T10:13:26.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-13T10:13:26.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-13T10:13:26.234Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T10:13:26.234Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-13T10:13:26.234Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T10:13:26.234Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-13T10:13:26.234Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T10:13:26.234Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T10:13:26.234Z] Executing busybox-1.34.1-r5.trigger [2022-06-13T10:13:26.234Z] OK: 8 MiB in 20 packages [2022-06-13T10:13:26.234Z] Removing intermediate container 7278117a26ca [2022-06-13T10:13:26.234Z] ---> cf3126709351 [2022-06-13T10:13:26.234Z] Step 17/26 : WORKDIR / [2022-06-13T10:13:26.234Z] ---> Running in e04d8e1cb505 [2022-06-13T10:13:26.234Z] Removing intermediate container e04d8e1cb505 [2022-06-13T10:13:26.234Z] ---> 115a120d25ad [2022-06-13T10:13:26.234Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-13T10:13:26.234Z] ---> 70d98cbfd606 [2022-06-13T10:13:26.234Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-13T10:13:26.493Z] ---> 3de420ece5c7 [2022-06-13T10:13:26.494Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-13T10:13:26.494Z] ---> 65fd15e5e788 [2022-06-13T10:13:26.494Z] Step 21/26 : EXPOSE 59984 [2022-06-13T10:13:26.494Z] ---> Running in 725f8e42fbf3 [2022-06-13T10:13:26.765Z] Removing intermediate container 725f8e42fbf3 [2022-06-13T10:13:26.765Z] ---> 2a17e5f58011 [2022-06-13T10:13:26.765Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-13T10:13:26.765Z] ---> Running in 51f8b59dcfdb [2022-06-13T10:13:26.765Z] Removing intermediate container 51f8b59dcfdb [2022-06-13T10:13:26.765Z] ---> cf8da3389b44 [2022-06-13T10:13:26.765Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T10:13:26.765Z] ---> Running in fe4795821bca [2022-06-13T10:13:26.765Z] Removing intermediate container fe4795821bca [2022-06-13T10:13:26.765Z] ---> 197d99f9d203 [2022-06-13T10:13:26.765Z] Step 24/26 : LABEL arch=amd64 [2022-06-13T10:13:27.025Z] ---> Running in df5a9c43346d [2022-06-13T10:13:27.025Z] Removing intermediate container df5a9c43346d [2022-06-13T10:13:27.025Z] ---> fd558988c2b8 [2022-06-13T10:13:27.025Z] Step 25/26 : LABEL git_sha=b1752d5fec30393fbb96df1c5cdcfd0cef050467 [2022-06-13T10:13:27.025Z] ---> Running in 46156a02953b [2022-06-13T10:13:27.025Z] Removing intermediate container 46156a02953b [2022-06-13T10:13:27.025Z] ---> 638e8b04d983 [2022-06-13T10:13:27.025Z] Step 26/26 : LABEL version=0.0.0 [2022-06-13T10:13:27.285Z] ---> Running in 7d5619efb5be [2022-06-13T10:13:27.285Z] Removing intermediate container 7d5619efb5be [2022-06-13T10:13:27.285Z] ---> b1436c4f199e [2022-06-13T10:13:27.285Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T10:13:27.285Z] Successfully built b1436c4f199e [2022-06-13T10:13:27.285Z] 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-13T10:13:27.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T10:13:27.694Z] [2022-06-13T10:13:27.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:13:28.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T10:13:28.002Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-13T10:13:28.002Z] 5eb5b503b376: Pulling fs layer [2022-06-13T10:13:28.002Z] 5c69ac0246d0: Pulling fs layer [2022-06-13T10:13:28.002Z] ec43610c2a17: Pulling fs layer [2022-06-13T10:13:28.002Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-13T10:13:28.002Z] 33b1e0a273af: Pulling fs layer [2022-06-13T10:13:28.002Z] 3a2ae6a8a46f: Waiting [2022-06-13T10:13:28.002Z] 5d3b04190fa2: Pulling fs layer [2022-06-13T10:13:28.002Z] 2f39f015ded8: Pulling fs layer [2022-06-13T10:13:28.002Z] 33b1e0a273af: Waiting [2022-06-13T10:13:28.002Z] 5d3b04190fa2: Waiting [2022-06-13T10:13:28.002Z] 2f39f015ded8: Waiting [2022-06-13T10:13:28.002Z] 5c69ac0246d0: Verifying Checksum [2022-06-13T10:13:28.002Z] 5c69ac0246d0: Download complete [2022-06-13T10:13:28.002Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-13T10:13:28.002Z] 3a2ae6a8a46f: Download complete [2022-06-13T10:13:28.002Z] 33b1e0a273af: Verifying Checksum [2022-06-13T10:13:28.002Z] 33b1e0a273af: Download complete [2022-06-13T10:13:28.002Z] 5d3b04190fa2: Download complete [2022-06-13T10:13:28.002Z] ec43610c2a17: Verifying Checksum [2022-06-13T10:13:28.002Z] ec43610c2a17: Download complete [2022-06-13T10:13:28.263Z] 5eb5b503b376: Verifying Checksum [2022-06-13T10:13:28.263Z] 5eb5b503b376: Download complete [2022-06-13T10:13:28.833Z] 2f39f015ded8: Download complete [2022-06-13T10:13:29.403Z] 5eb5b503b376: Pull complete [2022-06-13T10:13:29.403Z] 5c69ac0246d0: Pull complete [2022-06-13T10:13:29.971Z] ec43610c2a17: Pull complete [2022-06-13T10:13:29.971Z] 3a2ae6a8a46f: Pull complete [2022-06-13T10:13:30.231Z] 33b1e0a273af: Pull complete [2022-06-13T10:13:30.231Z] 5d3b04190fa2: Pull complete [2022-06-13T10:13:34.428Z] 2f39f015ded8: Pull complete [2022-06-13T10:13:34.428Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-13T10:13:34.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T10:13:34.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:13:34.524Z] prd-ubuntu20.04-docker-8c-8g-2333 does not seem to be running inside a container [2022-06-13T10:13:34.561Z] $ 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-13T10:13:36.170Z] $ docker top 0e1e12bcfff9fa6c1fb00859b1c51d66ed5ffe921f0a6c9581736c4084cb2f20 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:13:36.567Z] ---> job-cost.sh [2022-06-13T10:13:36.567Z] lf-activate-venv: SKIPPING [2022-06-13T10:13:36.567Z] INFO: No Stack... [2022-06-13T10:13:37.138Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T10:13:37.399Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T10:13:37.693Z] + cat /w/workspace/oundry_device-onvif-camera_PR-64/archives/cost.csv [2022-06-13T10:13:37.693Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T10:13:37.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [2022-06-13T10:13:37.717Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] did not exist. Created. [2022-06-13T10:13:37.717Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T10:13:38.021Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-13T10:13:38.047Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T10:13:38.053Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T10:13:38.073Z] $ docker stop --time=1 0e1e12bcfff9fa6c1fb00859b1c51d66ed5ffe921f0a6c9581736c4084cb2f20 [2022-06-13T10:13:39.261Z] $ docker rm -f 0e1e12bcfff9fa6c1fb00859b1c51d66ed5ffe921f0a6c9581736c4084cb2f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-13T10:15:07.070Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2335 in /w/workspace/oundry_device-onvif-camera_PR-64 [Pipeline] { [Pipeline] ws [2022-06-13T10:15:07.083Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-06-13T10:15:07.155Z] Selected Git installation does not exist. Using Default [2022-06-13T10:15:07.155Z] The recommended git tool is: NONE [2022-06-13T10:15:14.147Z] using credential edgex-jenkins-ssh [2022-06-13T10:15:14.167Z] Cloning the remote Git repository [2022-06-13T10:15:14.238Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T10:15:14.327Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-06-13T10:15:14.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T10:15:14.414Z] > git --version # timeout=10 [2022-06-13T10:15:14.443Z] > git --version # 'git version 2.25.1' [2022-06-13T10:15:14.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T10:15:14.605Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T10:15:16.038Z] Merging remotes/origin/main commit 24145fbef97b1fa0849e90c42711cf4bdce583e6 into PR head commit bf2d7918a48e2e9daaeccb6451a2c4b556b1851e [2022-06-13T10:15:15.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-13T10:15:15.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-13T10:15:15.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-13T10:15:15.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-13T10:15:15.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T10:15:15.570Z] > 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-13T10:15:16.061Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T10:15:16.077Z] > git checkout -f bf2d7918a48e2e9daaeccb6451a2c4b556b1851e # timeout=10 [2022-06-13T10:15:16.542Z] Merge succeeded, producing 5363cee5e22a4a83c28de4aaa4b6bde736af220a [2022-06-13T10:15:16.543Z] Checking out Revision 5363cee5e22a4a83c28de4aaa4b6bde736af220a (PR-64) [2022-06-13T10:15:16.225Z] > git remote # timeout=10 [2022-06-13T10:15:16.242Z] > git config --get remote.origin.url # timeout=10 [2022-06-13T10:15:16.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-13T10:15:16.274Z] > git merge 24145fbef97b1fa0849e90c42711cf4bdce583e6 # timeout=10 [2022-06-13T10:15:16.523Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-13T10:15:16.555Z] > git config core.sparsecheckout # timeout=10 [2022-06-13T10:15:16.568Z] > git checkout -f 5363cee5e22a4a83c28de4aaa4b6bde736af220a # timeout=10 [2022-06-13T10:15:20.859Z] Commit message: "Merge commit '24145fbef97b1fa0849e90c42711cf4bdce583e6' into HEAD" [2022-06-13T10:15:20.884Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T10:15:21.732Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-13T10:15:21.732Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T10:15:21.732Z] Dload Upload Total Spent Left Speed [2022-06-13T10:15:21.732Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2022-06-13T10:15:20.872Z] > git rev-list --no-walk 818baeb24568186d46fce827af37ff05c7fff715 # timeout=10 [2022-06-13T10:15:22.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-13T10:15:22.775Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-13T10:15:22.775Z] sudo tee /etc/docker/daemon.new [2022-06-13T10:15:22.775Z] { [2022-06-13T10:15:22.775Z] "registry-mirrors": [ [2022-06-13T10:15:22.775Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-13T10:15:22.775Z] ], [2022-06-13T10:15:22.775Z] "bip": "10.250.0.254/24", [2022-06-13T10:15:22.775Z] "hosts": [ [2022-06-13T10:15:22.775Z] "tcp://0.0.0.0:5555", [2022-06-13T10:15:22.775Z] "unix:///var/run/docker.sock" [2022-06-13T10:15:22.775Z] ], [2022-06-13T10:15:22.775Z] "mtu": 1458, [2022-06-13T10:15:22.775Z] "selinux-enabled": true, [2022-06-13T10:15:22.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-13T10:15:22.775Z] } [Pipeline] sh [2022-06-13T10:15:23.130Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-13T10:15:23.468Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T10:15:41.790Z] provisioning config files... [2022-06-13T10:15:41.813Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config3418449847146662392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:15:42.173Z] ---> docker-login.sh [2022-06-13T10:15:42.174Z] nexus3.edgexfoundry.org:10001 [2022-06-13T10:15:42.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:15:43.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:15:43.061Z] Configure a credential helper to remove this warning. See [2022-06-13T10:15:43.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:15:43.061Z] [2022-06-13T10:15:43.061Z] Login Succeeded [2022-06-13T10:15:43.061Z] nexus3.edgexfoundry.org:10002 [2022-06-13T10:15:43.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:15:43.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:15:43.609Z] Configure a credential helper to remove this warning. See [2022-06-13T10:15:43.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:15:43.609Z] [2022-06-13T10:15:43.609Z] Login Succeeded [2022-06-13T10:15:43.609Z] nexus3.edgexfoundry.org:10003 [2022-06-13T10:15:43.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:15:43.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:15:43.883Z] Configure a credential helper to remove this warning. See [2022-06-13T10:15:43.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:15:43.883Z] [2022-06-13T10:15:43.883Z] Login Succeeded [2022-06-13T10:15:43.883Z] nexus3.edgexfoundry.org:10004 [2022-06-13T10:15:44.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:15:44.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:15:44.480Z] Configure a credential helper to remove this warning. See [2022-06-13T10:15:44.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:15:44.480Z] [2022-06-13T10:15:44.480Z] Login Succeeded [2022-06-13T10:15:44.480Z] docker.io [2022-06-13T10:15:44.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-13T10:15:45.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-13T10:15:45.347Z] Configure a credential helper to remove this warning. See [2022-06-13T10:15:45.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-13T10:15:45.347Z] [2022-06-13T10:15:45.347Z] Login Succeeded [2022-06-13T10:15:45.347Z] ---> docker-login.sh ends [Pipeline] } [2022-06-13T10:15:45.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-13T10:15:45.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T10:15:45.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-13T10:15:45.912Z] ========================================================= [2022-06-13T10:15:45.912Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-13T10:15:45.912Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:15:46.410Z] + 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-13T10:15:46.687Z] Sending build context to Docker daemon 6.22MB [2022-06-13T10:15:46.965Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T10:15:46.965Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-13T10:15:46.965Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-13T10:15:46.965Z] 9b3977197b4f: Pulling fs layer [2022-06-13T10:15:46.965Z] 1a89e8eeedd5: Pulling fs layer [2022-06-13T10:15:46.965Z] 94645a83ff95: Pulling fs layer [2022-06-13T10:15:46.965Z] e6fb740bc735: Pulling fs layer [2022-06-13T10:15:46.965Z] 3a77bd46dcc9: Pulling fs layer [2022-06-13T10:15:46.965Z] 355e64cbe906: Pulling fs layer [2022-06-13T10:15:46.965Z] 63ab81a10011: Pulling fs layer [2022-06-13T10:15:46.965Z] 555d1d1c4555: Pulling fs layer [2022-06-13T10:15:46.965Z] 7d9057610161: Pulling fs layer [2022-06-13T10:15:46.965Z] e6fb740bc735: Waiting [2022-06-13T10:15:46.965Z] 3a77bd46dcc9: Waiting [2022-06-13T10:15:46.965Z] 555d1d1c4555: Waiting [2022-06-13T10:15:46.965Z] 355e64cbe906: Waiting [2022-06-13T10:15:46.965Z] 63ab81a10011: Waiting [2022-06-13T10:15:46.965Z] 7d9057610161: Waiting [2022-06-13T10:15:46.965Z] 94645a83ff95: Download complete [2022-06-13T10:15:46.965Z] 1a89e8eeedd5: Verifying Checksum [2022-06-13T10:15:46.965Z] 1a89e8eeedd5: Download complete [2022-06-13T10:15:46.965Z] 3a77bd46dcc9: Verifying Checksum [2022-06-13T10:15:46.965Z] 3a77bd46dcc9: Download complete [2022-06-13T10:15:47.245Z] 355e64cbe906: Verifying Checksum [2022-06-13T10:15:47.245Z] 355e64cbe906: Download complete [2022-06-13T10:15:47.245Z] 9b3977197b4f: Verifying Checksum [2022-06-13T10:15:47.245Z] 9b3977197b4f: Download complete [2022-06-13T10:15:47.245Z] 63ab81a10011: Verifying Checksum [2022-06-13T10:15:47.245Z] 63ab81a10011: Download complete [2022-06-13T10:15:48.236Z] 9b3977197b4f: Pull complete [2022-06-13T10:15:48.236Z] 7d9057610161: Verifying Checksum [2022-06-13T10:15:48.236Z] 7d9057610161: Download complete [2022-06-13T10:15:48.836Z] 1a89e8eeedd5: Pull complete [2022-06-13T10:15:49.110Z] 94645a83ff95: Pull complete [2022-06-13T10:15:49.385Z] 555d1d1c4555: Verifying Checksum [2022-06-13T10:15:49.385Z] 555d1d1c4555: Download complete [2022-06-13T10:15:49.985Z] e6fb740bc735: Download complete [2022-06-13T10:16:02.382Z] e6fb740bc735: Pull complete [2022-06-13T10:16:02.382Z] 3a77bd46dcc9: Pull complete [2022-06-13T10:16:02.382Z] 355e64cbe906: Pull complete [2022-06-13T10:16:02.382Z] 63ab81a10011: Pull complete [2022-06-13T10:16:09.106Z] 555d1d1c4555: Pull complete [2022-06-13T10:16:11.086Z] 7d9057610161: Pull complete [2022-06-13T10:16:11.086Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-13T10:16:11.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-13T10:16:11.086Z] ---> 819e984ddca1 [2022-06-13T10:16:11.086Z] Step 3/13 : ARG MAKE="make build" [2022-06-13T10:16:12.537Z] ---> Running in 7d340346932c [2022-06-13T10:16:12.812Z] Removing intermediate container 7d340346932c [2022-06-13T10:16:12.812Z] ---> 225b513aef0a [2022-06-13T10:16:12.812Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T10:16:12.812Z] ---> Running in 88497825717e [2022-06-13T10:16:13.087Z] Removing intermediate container 88497825717e [2022-06-13T10:16:13.087Z] ---> a17585dc6ee4 [2022-06-13T10:16:13.087Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T10:16:13.087Z] ---> Running in 32d0ced0c624 [2022-06-13T10:16:13.697Z] Removing intermediate container 32d0ced0c624 [2022-06-13T10:16:13.697Z] ---> 4bd39a27f32e [2022-06-13T10:16:13.697Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-13T10:16:13.697Z] ---> Running in 00a3630da0b7 [2022-06-13T10:16:13.977Z] Removing intermediate container 00a3630da0b7 [2022-06-13T10:16:13.977Z] ---> 31afc73ab66d [2022-06-13T10:16:13.977Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T10:16:13.977Z] ---> Running in 11b9770fcf10 [2022-06-13T10:16:16.613Z] Removing intermediate container 11b9770fcf10 [2022-06-13T10:16:16.613Z] ---> a3affb46ac6a [2022-06-13T10:16:16.613Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T10:16:16.613Z] ---> Running in 8a0054bd061e [2022-06-13T10:16:18.073Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T10:16:18.675Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T10:16:19.656Z] OK: 220 MiB in 52 packages [2022-06-13T10:16:20.652Z] Removing intermediate container 8a0054bd061e [2022-06-13T10:16:20.652Z] ---> 444abbe1d271 [2022-06-13T10:16:20.652Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-13T10:16:20.652Z] ---> Running in 58efd2406094 [2022-06-13T10:16:20.927Z] Removing intermediate container 58efd2406094 [2022-06-13T10:16:20.927Z] ---> ddca18ca3a14 [2022-06-13T10:16:20.927Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-13T10:16:21.527Z] ---> 6acec41a6982 [2022-06-13T10:16:21.527Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T10:16:21.527Z] ---> Running in 3ad2b13b6925 [2022-06-13T10:17:18.113Z] Removing intermediate container 3ad2b13b6925 [2022-06-13T10:17:18.113Z] ---> f2f1f335e072 [2022-06-13T10:17:18.113Z] Step 12/13 : COPY . . [2022-06-13T10:17:18.113Z] ---> 1e071d4f14a7 [2022-06-13T10:17:18.113Z] Step 13/13 : RUN ${MAKE} [2022-06-13T10:17:18.113Z] ---> Running in 2c6b91d4f560 [2022-06-13T10:17:18.113Z] noop [2022-06-13T10:17:18.113Z] Removing intermediate container 2c6b91d4f560 [2022-06-13T10:17:18.113Z] ---> 403634821d67 [2022-06-13T10:17:18.113Z] Successfully built 403634821d67 [2022-06-13T10:17:18.113Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:17:18.480Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T10:17:18.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:17:18.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-2335 does not seem to be running inside a container [2022-06-13T10:17:18.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-arm64 cat [2022-06-13T10:17:20.282Z] $ docker top 41e0a156c96febcecbb7497e6d0828a98d6d374f73f46ed8008d116e7241d2df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T10:17:21.199Z] + go version [2022-06-13T10:17:21.199Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-13T10:17:21.236Z] $ docker stop --time=1 41e0a156c96febcecbb7497e6d0828a98d6d374f73f46ed8008d116e7241d2df [2022-06-13T10:17:22.915Z] $ docker rm -f 41e0a156c96febcecbb7497e6d0828a98d6d374f73f46ed8008d116e7241d2df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:17:23.562Z] + docker inspect -f . ci-base-image-arm64 [2022-06-13T10:17:23.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:17:23.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-2335 does not seem to be running inside a container [2022-06-13T10:17:23.905Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-arm64 cat [2022-06-13T10:17:25.250Z] $ docker top 0e71861adaa57de13d6339415e410f96af88002d70a93a7c86e55935583ae38e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-13T10:17:26.204Z] + make test [2022-06-13T10:17:26.204Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-13T10:17:28.203Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-13T10:19:05.119Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-13T10:19:05.119Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.088s coverage: 1.3% of statements [2022-06-13T10:19:27.312Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 34.286s coverage: 13.8% of statements [2022-06-13T10:19:27.312Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-13T10:19:27.312Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-13T10:19:54.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-13T10:19:54.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-13T10:19:54.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-13T10:19:58.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-13T10:19:58.755Z] $ docker stop --time=1 0e71861adaa57de13d6339415e410f96af88002d70a93a7c86e55935583ae38e [2022-06-13T10:20:00.465Z] $ docker rm -f 0e71861adaa57de13d6339415e410f96af88002d70a93a7c86e55935583ae38e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-13T10:20:01.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-13T10:20:01.470Z] Warning: overwriting stash ‘coverage-report’ [2022-06-13T10:20:02.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-13T10:20:02.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-13T10:20:02.740Z] + ls -al . [2022-06-13T10:20:02.740Z] total 228 [2022-06-13T10:20:02.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 10:19 . [2022-06-13T10:20:02.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 10:15 .. [2022-06-13T10:20:02.740Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 13 10:15 .git [2022-06-13T10:20:02.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 10:15 .github [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 13 10:15 .gitignore [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 13 10:15 .golangci.yml [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 13 10:15 Attribution.txt [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 13 10:15 CHANGELOG.md [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 13 10:15 Dockerfile [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 13 10:15 GOVERNANCE.md [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 13 10:15 Jenkinsfile [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 13 10:15 LICENSE [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 13 10:15 Makefile [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 13 10:15 OWNERS.md [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 30708 Jun 13 10:15 README.md [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 13 10:11 VERSION [2022-06-13T10:20:02.740Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 13 10:15 bin [2022-06-13T10:20:02.740Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 13 10:15 cmd [2022-06-13T10:20:02.740Z] -rw-r--r-- 1 jenkins jenkins 53381 Jun 13 10:19 coverage.out [2022-06-13T10:20:02.740Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 13 10:15 doc [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 13 10:15 go.mod [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 13 10:15 go.sum [2022-06-13T10:20:02.740Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 13 10:15 internal [2022-06-13T10:20:02.740Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 13 10:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:20:03.098Z] + 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=5363cee5e22a4a83c28de4aaa4b6bde736af220a --label arch=arm64 --label version=0.0.0 . [2022-06-13T10:20:03.371Z] Sending build context to Docker daemon 6.274MB [2022-06-13T10:20:03.646Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-13T10:20:03.646Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-13T10:20:03.646Z] ---> 403634821d67 [2022-06-13T10:20:03.646Z] Step 3/26 : ARG MAKE="make build" [2022-06-13T10:20:03.646Z] ---> Running in 3b3d9e97287e [2022-06-13T10:20:03.921Z] Removing intermediate container 3b3d9e97287e [2022-06-13T10:20:03.921Z] ---> a6ea626ef3c7 [2022-06-13T10:20:03.921Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-13T10:20:03.921Z] ---> Running in 49f3d4289408 [2022-06-13T10:20:04.194Z] Removing intermediate container 49f3d4289408 [2022-06-13T10:20:04.194Z] ---> f82b1b2c713e [2022-06-13T10:20:04.194Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-13T10:20:04.470Z] ---> Running in 7228a58219df [2022-06-13T10:20:04.745Z] Removing intermediate container 7228a58219df [2022-06-13T10:20:04.745Z] ---> e3f875e6496b [2022-06-13T10:20:04.745Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-13T10:20:04.745Z] ---> Running in e7be78d8a19d [2022-06-13T10:20:05.020Z] Removing intermediate container e7be78d8a19d [2022-06-13T10:20:05.020Z] ---> 28bf9cff2d55 [2022-06-13T10:20:05.020Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-13T10:20:05.309Z] ---> Running in 2a1091af1477 [2022-06-13T10:20:06.755Z] Removing intermediate container 2a1091af1477 [2022-06-13T10:20:06.755Z] ---> 2cbc2814d658 [2022-06-13T10:20:06.755Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-13T10:20:07.031Z] ---> Running in 5c7ca1ff5934 [2022-06-13T10:20:08.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T10:20:08.997Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T10:20:09.591Z] OK: 220 MiB in 52 packages [2022-06-13T10:20:10.574Z] Removing intermediate container 5c7ca1ff5934 [2022-06-13T10:20:10.574Z] ---> fe2d473551cf [2022-06-13T10:20:10.574Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-13T10:20:10.574Z] ---> Running in 3d4d1ada2c34 [2022-06-13T10:20:10.851Z] Removing intermediate container 3d4d1ada2c34 [2022-06-13T10:20:10.851Z] ---> 34f3605bd652 [2022-06-13T10:20:10.851Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-13T10:20:11.453Z] ---> fc2399da5143 [2022-06-13T10:20:11.453Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-13T10:20:11.453Z] ---> Running in 43515b1f183f [2022-06-13T10:20:13.456Z] Removing intermediate container 43515b1f183f [2022-06-13T10:20:13.456Z] ---> 6cbd3ad3934a [2022-06-13T10:20:13.456Z] Step 12/26 : COPY . . [2022-06-13T10:20:14.904Z] ---> fc8fbf384939 [2022-06-13T10:20:14.904Z] Step 13/26 : RUN ${MAKE} [2022-06-13T10:20:14.904Z] ---> Running in 5453ccee6e88 [2022-06-13T10:20:15.897Z] 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-13T10:22:22.795Z] Removing intermediate container 5453ccee6e88 [2022-06-13T10:22:22.796Z] ---> 46b67fe74586 [2022-06-13T10:22:22.796Z] Step 14/26 : FROM alpine:3.15 [2022-06-13T10:22:23.394Z] 3.15: Pulling from library/alpine [2022-06-13T10:22:23.394Z] 9981e73032c8: Pulling fs layer [2022-06-13T10:22:23.669Z] 9981e73032c8: Verifying Checksum [2022-06-13T10:22:23.669Z] 9981e73032c8: Download complete [2022-06-13T10:22:24.271Z] 9981e73032c8: Pull complete [2022-06-13T10:22:24.271Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-13T10:22:24.271Z] Status: Downloaded newer image for alpine:3.15 [2022-06-13T10:22:24.271Z] ---> 3fb3c9af89a9 [2022-06-13T10:22:24.271Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-13T10:22:24.271Z] ---> Running in ae30ad7eb62c [2022-06-13T10:22:24.548Z] Removing intermediate container ae30ad7eb62c [2022-06-13T10:22:24.548Z] ---> d183eb1ed4b1 [2022-06-13T10:22:24.548Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-13T10:22:24.845Z] ---> Running in 8d5650930ba8 [2022-06-13T10:22:25.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-13T10:22:26.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-13T10:22:27.083Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-13T10:22:27.083Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-13T10:22:27.083Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-13T10:22:27.083Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-13T10:22:27.083Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-13T10:22:27.083Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-13T10:22:27.083Z] Executing busybox-1.34.1-r5.trigger [2022-06-13T10:22:27.083Z] OK: 8 MiB in 20 packages [2022-06-13T10:22:28.080Z] Removing intermediate container 8d5650930ba8 [2022-06-13T10:22:28.080Z] ---> c17178e89000 [2022-06-13T10:22:28.080Z] Step 17/26 : WORKDIR / [2022-06-13T10:22:28.080Z] ---> Running in 21f6360b82ed [2022-06-13T10:22:28.355Z] Removing intermediate container 21f6360b82ed [2022-06-13T10:22:28.355Z] ---> 0695f5c236bc [2022-06-13T10:22:28.355Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-13T10:22:29.797Z] ---> c38fc8bfc99d [2022-06-13T10:22:29.797Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-13T10:22:30.395Z] ---> 7ff2d14926b9 [2022-06-13T10:22:30.395Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-13T10:22:30.998Z] ---> 9f3a0b1c4ece [2022-06-13T10:22:30.998Z] Step 21/26 : EXPOSE 59984 [2022-06-13T10:22:30.998Z] ---> Running in 18c33224c8f1 [2022-06-13T10:22:31.275Z] Removing intermediate container 18c33224c8f1 [2022-06-13T10:22:31.275Z] ---> d5c943bbf612 [2022-06-13T10:22:31.275Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-13T10:22:31.275Z] ---> Running in 251c8fc8833d [2022-06-13T10:22:31.560Z] Removing intermediate container 251c8fc8833d [2022-06-13T10:22:31.560Z] ---> 913b8d28cfce [2022-06-13T10:22:31.560Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-13T10:22:31.838Z] ---> Running in d8b731d609c1 [2022-06-13T10:22:32.114Z] Removing intermediate container d8b731d609c1 [2022-06-13T10:22:32.114Z] ---> 74b3abeaeba7 [2022-06-13T10:22:32.114Z] Step 24/26 : LABEL arch=arm64 [2022-06-13T10:22:32.114Z] ---> Running in 8b4efce8ed2a [2022-06-13T10:22:32.393Z] Removing intermediate container 8b4efce8ed2a [2022-06-13T10:22:32.393Z] ---> 668cb1d42b2b [2022-06-13T10:22:32.393Z] Step 25/26 : LABEL git_sha=5363cee5e22a4a83c28de4aaa4b6bde736af220a [2022-06-13T10:22:32.393Z] ---> Running in ecb51670fbe8 [2022-06-13T10:22:32.995Z] Removing intermediate container ecb51670fbe8 [2022-06-13T10:22:32.995Z] ---> e0cff8fd79cc [2022-06-13T10:22:32.995Z] Step 26/26 : LABEL version=0.0.0 [2022-06-13T10:22:32.995Z] ---> Running in fa513a99a229 [2022-06-13T10:22:33.269Z] Removing intermediate container fa513a99a229 [2022-06-13T10:22:33.269Z] ---> fa5522672ff2 [2022-06-13T10:22:33.269Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-13T10:22:33.269Z] Successfully built fa5522672ff2 [2022-06-13T10:22:33.269Z] 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-13T10:22:33.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T10:22:33.753Z] [2022-06-13T10:22:33.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:22:34.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T10:22:34.385Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-13T10:22:34.385Z] 8998bd30e6a1: Pulling fs layer [2022-06-13T10:22:34.385Z] 04944245beec: Pulling fs layer [2022-06-13T10:22:34.385Z] 699f458cf7ca: Pulling fs layer [2022-06-13T10:22:34.385Z] 765212b225bb: Pulling fs layer [2022-06-13T10:22:34.385Z] f23df028b6ca: Pulling fs layer [2022-06-13T10:22:34.385Z] d65c8cfc05b1: Pulling fs layer [2022-06-13T10:22:34.385Z] 2437ff75d9bd: Pulling fs layer [2022-06-13T10:22:34.385Z] 765212b225bb: Waiting [2022-06-13T10:22:34.385Z] f23df028b6ca: Waiting [2022-06-13T10:22:34.385Z] d65c8cfc05b1: Waiting [2022-06-13T10:22:34.385Z] 2437ff75d9bd: Waiting [2022-06-13T10:22:34.385Z] 04944245beec: Verifying Checksum [2022-06-13T10:22:34.385Z] 04944245beec: Download complete [2022-06-13T10:22:34.385Z] 765212b225bb: Verifying Checksum [2022-06-13T10:22:34.385Z] 765212b225bb: Download complete [2022-06-13T10:22:34.385Z] f23df028b6ca: Verifying Checksum [2022-06-13T10:22:34.385Z] f23df028b6ca: Download complete [2022-06-13T10:22:34.385Z] d65c8cfc05b1: Verifying Checksum [2022-06-13T10:22:34.385Z] d65c8cfc05b1: Download complete [2022-06-13T10:22:34.660Z] 699f458cf7ca: Verifying Checksum [2022-06-13T10:22:34.660Z] 699f458cf7ca: Download complete [2022-06-13T10:22:34.936Z] 8998bd30e6a1: Verifying Checksum [2022-06-13T10:22:34.936Z] 8998bd30e6a1: Download complete [2022-06-13T10:22:36.914Z] 2437ff75d9bd: Verifying Checksum [2022-06-13T10:22:36.914Z] 2437ff75d9bd: Download complete [2022-06-13T10:22:39.546Z] 8998bd30e6a1: Pull complete [2022-06-13T10:22:39.820Z] 04944245beec: Pull complete [2022-06-13T10:22:41.258Z] 699f458cf7ca: Pull complete [2022-06-13T10:22:41.258Z] 765212b225bb: Pull complete [2022-06-13T10:22:42.242Z] f23df028b6ca: Pull complete [2022-06-13T10:22:42.242Z] d65c8cfc05b1: Pull complete [2022-06-13T10:22:57.345Z] 2437ff75d9bd: Pull complete [2022-06-13T10:22:57.345Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-13T10:22:57.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-13T10:22:57.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:22:57.608Z] prd-ubuntu20.04-docker-arm64-4c-16g-2335 does not seem to be running inside a container [2022-06-13T10:22:57.709Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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:arm64 cat [2022-06-13T10:23:00.199Z] $ docker top be9fca4213cc352a53ad9119ccc17609ae82f6ede198a2b01a115e8aa055ad80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:01.129Z] ---> job-cost.sh [2022-06-13T10:23:01.129Z] lf-activate-venv: SKIPPING [2022-06-13T10:23:01.129Z] INFO: No Stack... [2022-06-13T10:23:01.725Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-13T10:23:02.703Z] INFO: Archiving Costs [Pipeline] sh [2022-06-13T10:23:03.375Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [2022-06-13T10:23:03.375Z] + cut -d, -f6 [Pipeline] lock [2022-06-13T10:23:03.439Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [2022-06-13T10:23:03.445Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] did not exist. Created. [2022-06-13T10:23:03.445Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-13T10:23:04.134Z] /w/workspace/device-onvif-camera/14@tmp/durable-37ce28cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-13T10:23:04.825Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-13T10:23:04.853Z] Warning: overwriting stash ‘stack-cost’ [2022-06-13T10:23:04.904Z] Stashed 1 file(s) [Pipeline] } [2022-06-13T10:23:04.910Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-64-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-13T10:23:04.943Z] $ docker stop --time=1 be9fca4213cc352a53ad9119ccc17609ae82f6ede198a2b01a115e8aa055ad80 [2022-06-13T10:23:06.461Z] $ docker rm -f be9fca4213cc352a53ad9119ccc17609ae82f6ede198a2b01a115e8aa055ad80 [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-13T10:23:06.966Z] provisioning config files... [2022-06-13T10:23:06.974Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config2658313345388803504tmp [Pipeline] { [Pipeline] sh [2022-06-13T10:23:07.266Z] + set +x [2022-06-13T10:23:07.267Z] + + bash -s -- [2022-06-13T10:23:07.267Z] curl -s https://codecov.io/bash [2022-06-13T10:23:07.267Z] [2022-06-13T10:23:07.267Z] _____ _ [2022-06-13T10:23:07.267Z] / ____| | | [2022-06-13T10:23:07.267Z] | | ___ __| | ___ ___ _____ __ [2022-06-13T10:23:07.267Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-13T10:23:07.267Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-13T10:23:07.267Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-13T10:23:07.267Z] Bash-1.0.6 [2022-06-13T10:23:07.267Z] [2022-06-13T10:23:07.267Z] [2022-06-13T10:23:07.267Z] ==> git version 2.25.1 found [2022-06-13T10:23:07.267Z] ==> 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-13T10:23:07.267Z] Release-Date: 2020-01-08 [2022-06-13T10:23:07.267Z] 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-13T10:23:07.267Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-13T10:23:07.267Z] ==> Jenkins CI detected. [2022-06-13T10:23:07.267Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-13T10:23:07.267Z] project root: . [2022-06-13T10:23:07.267Z] --> token set from env [2022-06-13T10:23:07.267Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-13T10:23:07.267Z] ==> Running gcov in . (disable via -X gcov) [2022-06-13T10:23:07.267Z] ==> Python coveragepy not found [2022-06-13T10:23:07.267Z] ==> Searching for coverage reports in: [2022-06-13T10:23:07.267Z] + . [2022-06-13T10:23:07.267Z] -> Found 1 reports [2022-06-13T10:23:07.267Z] ==> Detecting git/mercurial file structure [2022-06-13T10:23:07.267Z] ==> Reading reports [2022-06-13T10:23:07.267Z] + ./coverage.out bytes=53381 [2022-06-13T10:23:07.267Z] ==> Appending adjustments [2022-06-13T10:23:07.267Z] https://docs.codecov.io/docs/fixing-reports [2022-06-13T10:23:07.535Z] + Found adjustments [2022-06-13T10:23:07.535Z] ==> Gzipping contents [2022-06-13T10:23:07.535Z] 8.0K /tmp/codecov.SXffXm.gz [2022-06-13T10:23:07.535Z] ==> Uploading reports [2022-06-13T10:23:07.535Z] url: https://codecov.io [2022-06-13T10:23:07.535Z] query: branch=PR-64&commit=b1752d5fec30393fbb96df1c5cdcfd0cef050467&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-13T10:23:07.535Z] -> Pinging Codecov [2022-06-13T10:23:07.535Z] 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=b1752d5fec30393fbb96df1c5cdcfd0cef050467&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-64%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=64&job=&cmd_args= [2022-06-13T10:23:07.797Z] -> Uploading to [2022-06-13T10:23:07.797Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-13/F29A59C45E3A92E06B3E522C9905F8EF/b1752d5fec30393fbb96df1c5cdcfd0cef050467/942f2e8e-f6e9-4570-91d1-c5c481f1a818.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220613%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220613T102307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0007dc97eda3d68d24378ceaf641587bdf38f19ad79fdf52a7c7c9604b714a5a [2022-06-13T10:23:07.797Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-13T10:23:07.797Z] Dload Upload Total Spent Left Speed [2022-06-13T10:23:07.797Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6889 0 0 100 6889 0 33280 --:--:-- --:--:-- --:--:-- 33280 [2022-06-13T10:23:07.797Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b1752d5fec30393fbb96df1c5cdcfd0cef050467 [Pipeline] } [2022-06-13T10:23:07.806Z] 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-13T10:23:08.503Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-64/archives ] [2022-06-13T10:23:08.503Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-13T10:23:08.503Z] total 16 [2022-06-13T10:23:08.503Z] drwxr-xr-x 3 root root 4096 Jun 13 10:13 . [2022-06-13T10:23:08.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 10:13 .. [2022-06-13T10:23:08.503Z] drwxr-xr-x 2 root root 4096 Jun 13 10:13 cost [2022-06-13T10:23:08.503Z] -rw-r--r-- 1 root root 90 Jun 13 10:13 cost.csv [2022-06-13T10:23:08.503Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-13T10:23:08.503Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-64/archives [2022-06-13T10:23:08.503Z] total 16 [2022-06-13T10:23:08.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 10:13 . [2022-06-13T10:23:08.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 13 10:13 .. [2022-06-13T10:23:08.503Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 10:13 cost [2022-06-13T10:23:08.503Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 13 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:08.798Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:09.662Z] ---> package-listing.sh [2022-06-13T10:23:09.662Z] ++ facter osfamily [2022-06-13T10:23:09.662Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-13T10:23:09.921Z] + OS_FAMILY=debian [2022-06-13T10:23:09.921Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-64 [2022-06-13T10:23:09.921Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-13T10:23:09.921Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-13T10:23:09.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-13T10:23:09.921Z] + PACKAGES=/tmp/packages_start.txt [2022-06-13T10:23:09.921Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-13T10:23:09.921Z] + PACKAGES=/tmp/packages_end.txt [2022-06-13T10:23:09.921Z] + case "${OS_FAMILY}" in [2022-06-13T10:23:09.921Z] + dpkg -l [2022-06-13T10:23:09.921Z] + grep '^ii' [2022-06-13T10:23:09.921Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-13T10:23:09.921Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-13T10:23:09.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-13T10:23:09.921Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-64 ']' [2022-06-13T10:23:09.921Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-64/archives/ [2022-06-13T10:23:09.921Z] + 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-13T10:23:09.932Z] 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-13T10:23:10.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-13T10:23:10.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-13T10:23:10.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-13T10:23:10.861Z] prd-ubuntu20.04-docker-8c-8g-2333 does not seem to be running inside a container [2022-06-13T10:23:10.893Z] $ 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-13T10:23:11.116Z] $ docker top 075df423542dc9a70b89acd0f9f09f83b578bf28ddee779ee2c16dd895ca0b34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-13T10:23:11.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-13T10:23:11.762Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-13T10:23:12.049Z] + ls /var/log/sa-host [2022-06-13T10:23:12.049Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-13T10:23:12.117Z] provisioning config files... [2022-06-13T10:23:12.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-64@tmp/config1919654674966221549tmp [Pipeline] { [Pipeline] echo [2022-06-13T10:23:12.141Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:12.425Z] ---> create-netrc.sh [Pipeline] } [2022-06-13T10:23:12.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:12.765Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-13T10:23:12.774Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:13.064Z] ---> sudo-logs.sh [2022-06-13T10:23:13.065Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-13T10:23:13.098Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:13.387Z] ---> job-cost.sh [2022-06-13T10:23:13.387Z] lf-activate-venv: SKIPPING [2022-06-13T10:23:13.387Z] DEBUG: total: 0.2199999988079071 [2022-06-13T10:23:13.387Z] INFO: Retrieving Stack Cost... [2022-06-13T10:23:13.959Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-13T10:23:14.221Z] INFO: Archiving Costs [Pipeline] echo [2022-06-13T10:23:14.232Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-13T10:23:14.521Z] ---> logs-deploy.sh [2022-06-13T10:23:14.521Z] lf-activate-venv: SKIPPING [2022-06-13T10:23:14.521Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-64/14 [2022-06-13T10:23:14.521Z] INFO: archiving workspace using pattern(s): [2022-06-13T10:23:15.465Z] Archives upload complete. [2022-06-13T10:23:15.465Z] INFO: archiving logs to Nexus