Pull request #103 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than 85d2694f6872ed47bfd3bbb6c6acafdcb028cfd0 Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 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-ssh5579342477141161817.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-ssh274555181183027348.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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9411597479128495776.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-ssh18384596851058201745.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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12364060005405298530.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17228 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 85d2694f6872ed47bfd3bbb6c6acafdcb028cfd0 Merge succeeded, producing 259d7c59e1a198909ec985cd75e1c4cac676cc05 Checking out Revision 259d7c59e1a198909ec985cd75e1c4cac676cc05 (PR-103) > 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/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85d2694f6872ed47bfd3bbb6c6acafdcb028cfd0 # 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 e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 259d7c59e1a198909ec985cd75e1c4cac676cc05 # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-08T07:39:30.051Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-08T07:39:30.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-08T07:39:30.127Z] ========================================================= [2022-07-08T07:39:30.127Z] EdgeX Global Pipelines Version Info [2022-07-08T07:39:30.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 50d7c97abd8ae261e87cf0c13ba7f55166dbaffe # timeout=10 [2022-07-08T07:39:30.889Z] ------------------- [2022-07-08T07:39:30.890Z] stable info: [2022-07-08T07:39:30.890Z] ------------------- [2022-07-08T07:39:30.890Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-08T07:39:30.890Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-08T07:39:30.890Z] Message: update stable to v1.0.234 [2022-07-08T07:39:31.465Z] ------------------- [2022-07-08T07:39:31.465Z] experimental info: [2022-07-08T07:39:31.465Z] ------------------- [2022-07-08T07:39:31.465Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-08T07:39:31.465Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-08T07:39:31.465Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-08T07:39:31.660Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-08T07:39:31.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-08T07:39:31.693Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-08T07:39:31.704Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-08T07:39:31.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-08T07:39:31.737Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-08T07:39:31.749Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-08T07:39:31.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-08T07:39:31.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-08T07:39:31.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-08T07:39:31.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-08T07:39:31.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-08T07:39:31.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-08T07:39:31.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-08T07:39:31.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-08T07:39:31.862Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-08T07:39:31.875Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-08T07:39:31.887Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-08T07:39:31.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-08T07:39:31.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-08T07:39:31.928Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-08T07:39:31.950Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-08T07:39:31.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-08T07:39:31.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-08T07:39:31.988Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-08T07:39:32.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-08T07:39:32.013Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-08T07:39:32.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2022-07-08T07:39:32.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2022-07-08T07:39:32.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2022-07-08T07:39:32.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 259d7c59e1a198909ec985cd75e1c4cac676cc05 [Pipeline] echo [2022-07-08T07:39:32.074Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 259d7c5 [Pipeline] echo [2022-07-08T07:39:32.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T07:39:32.136Z] provisioning config files... [2022-07-08T07:39:32.151Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config4576203857299334380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:39:32.459Z] ---> docker-login.sh [2022-07-08T07:39:32.459Z] nexus3.edgexfoundry.org:10001 [2022-07-08T07:39:32.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:32.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:32.993Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:32.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:32.993Z] [2022-07-08T07:39:32.993Z] Login Succeeded [2022-07-08T07:39:32.993Z] nexus3.edgexfoundry.org:10002 [2022-07-08T07:39:32.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:33.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:33.256Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:33.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:33.256Z] [2022-07-08T07:39:33.256Z] Login Succeeded [2022-07-08T07:39:33.256Z] nexus3.edgexfoundry.org:10003 [2022-07-08T07:39:33.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:33.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:33.256Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:33.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:33.256Z] [2022-07-08T07:39:33.256Z] Login Succeeded [2022-07-08T07:39:33.256Z] nexus3.edgexfoundry.org:10004 [2022-07-08T07:39:33.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:33.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:33.517Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:33.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:33.517Z] [2022-07-08T07:39:33.517Z] Login Succeeded [2022-07-08T07:39:33.517Z] docker.io [2022-07-08T07:39:33.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:33.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:33.779Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:33.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:33.779Z] [2022-07-08T07:39:33.779Z] Login Succeeded [2022-07-08T07:39:33.779Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T07:39:33.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-08T07:39:34.175Z] + git rev-list -1 --merges 259d7c59e1a198909ec985cd75e1c4cac676cc05~1..259d7c59e1a198909ec985cd75e1c4cac676cc05 [Pipeline] echo [2022-07-08T07:39:34.202Z] -----------> git rev-list -1 --merges 259d7c59e1a198909ec985cd75e1c4cac676cc05~1..259d7c59e1a198909ec985cd75e1c4cac676cc05 259d7c59e1a198909ec985cd75e1c4cac676cc05 [2022-07-08T07:39:34.202Z] 259d7c59e1a198909ec985cd75e1c4cac676cc05 [false] [Pipeline] sh [2022-07-08T07:39:34.506Z] + git log --format=format:%s -1 259d7c59e1a198909ec985cd75e1c4cac676cc05 [Pipeline] echo [2022-07-08T07:39:34.527Z] ========================================================= [2022-07-08T07:39:34.527Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-08T07:39:34.527Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T07:39:34.869Z] + git log --format=format:%s -1 259d7c59e1a198909ec985cd75e1c4cac676cc05 [Pipeline] echo [2022-07-08T07:39:34.882Z] [semverPrep] GIT_COMMIT: 259d7c59e1a198909ec985cd75e1c4cac676cc05, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo [2022-07-08T07:39:34.891Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-08T07:39:35.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-08T07:39:35.261Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-08T07:39:35.261Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-08T07:39:35.261Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-08T07:39:35.261Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-08T07:39:35.261Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-08T07:39:35.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:39:35.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T07:39:35.683Z] [2022-07-08T07:39:35.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:39:35.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T07:39:35.993Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-08T07:39:35.993Z] 42c077c10790: Pulling fs layer [2022-07-08T07:39:35.993Z] f63e77b7563a: Pulling fs layer [2022-07-08T07:39:35.993Z] bd5fdadae976: Pulling fs layer [2022-07-08T07:39:35.993Z] 205491f53016: Pulling fs layer [2022-07-08T07:39:35.993Z] df18705c85c3: Pulling fs layer [2022-07-08T07:39:35.993Z] bdb3f477010e: Pulling fs layer [2022-07-08T07:39:35.993Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-08T07:39:35.993Z] 2c6e9b1d212d: Pulling fs layer [2022-07-08T07:39:35.993Z] bdb8f0575790: Pulling fs layer [2022-07-08T07:39:35.993Z] 386e3cb2ff24: Pulling fs layer [2022-07-08T07:39:35.993Z] 2343380bae48: Pulling fs layer [2022-07-08T07:39:35.993Z] 2c6e9b1d212d: Waiting [2022-07-08T07:39:35.993Z] 205491f53016: Waiting [2022-07-08T07:39:35.993Z] c8a8fc8e1c8f: Waiting [2022-07-08T07:39:35.993Z] 386e3cb2ff24: Waiting [2022-07-08T07:39:35.993Z] 2343380bae48: Waiting [2022-07-08T07:39:35.993Z] bdb8f0575790: Waiting [2022-07-08T07:39:35.993Z] f63e77b7563a: Verifying Checksum [2022-07-08T07:39:35.993Z] f63e77b7563a: Download complete [2022-07-08T07:39:35.993Z] 205491f53016: Verifying Checksum [2022-07-08T07:39:35.993Z] 205491f53016: Download complete [2022-07-08T07:39:36.253Z] df18705c85c3: Verifying Checksum [2022-07-08T07:39:36.253Z] df18705c85c3: Download complete [2022-07-08T07:39:36.253Z] bdb3f477010e: Verifying Checksum [2022-07-08T07:39:36.253Z] bdb3f477010e: Download complete [2022-07-08T07:39:36.253Z] bd5fdadae976: Verifying Checksum [2022-07-08T07:39:36.253Z] bd5fdadae976: Download complete [2022-07-08T07:39:36.253Z] 2c6e9b1d212d: Download complete [2022-07-08T07:39:36.253Z] bdb8f0575790: Download complete [2022-07-08T07:39:36.253Z] 386e3cb2ff24: Download complete [2022-07-08T07:39:36.253Z] 2343380bae48: Verifying Checksum [2022-07-08T07:39:36.253Z] 2343380bae48: Download complete [2022-07-08T07:39:36.253Z] 42c077c10790: Download complete [2022-07-08T07:39:36.513Z] c8a8fc8e1c8f: Download complete [2022-07-08T07:39:37.462Z] 42c077c10790: Pull complete [2022-07-08T07:39:37.722Z] f63e77b7563a: Pull complete [2022-07-08T07:39:38.293Z] bd5fdadae976: Pull complete [2022-07-08T07:39:38.293Z] 205491f53016: Pull complete [2022-07-08T07:39:38.553Z] df18705c85c3: Pull complete [2022-07-08T07:39:38.813Z] bdb3f477010e: Pull complete [2022-07-08T07:39:40.723Z] c8a8fc8e1c8f: Pull complete [2022-07-08T07:39:40.723Z] 2c6e9b1d212d: Pull complete [2022-07-08T07:39:40.984Z] bdb8f0575790: Pull complete [2022-07-08T07:39:40.984Z] 386e3cb2ff24: Pull complete [2022-07-08T07:39:40.984Z] 2343380bae48: Pull complete [2022-07-08T07:39:40.984Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-08T07:39:40.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T07:39:40.984Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:39:41.088Z] prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container [2022-07-08T07:39:41.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-08T07:39:42.495Z] $ docker top d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 -eo pid,comm [2022-07-08T07:39:42.569Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-08T07:39:42.569Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-08T07:39:42.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-08T07:39:42.605Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-08T07:39:42.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-08T07:39:42.757Z] $ docker exec d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 ssh-agent [2022-07-08T07:39:42.878Z] SSH_AUTH_SOCK=/tmp/ssh-jafj1PABHTQK/agent.33 [2022-07-08T07:39:42.878Z] SSH_AGENT_PID=40 [2022-07-08T07:39:42.885Z] Running ssh-add (command line suppressed) [2022-07-08T07:39:43.013Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4092131932277703206.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4092131932277703206.key) [2022-07-08T07:39:43.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-08T07:39:43.314Z] + git tag --points-at HEAD [Pipeline] } [2022-07-08T07:39:43.339Z] $ docker exec --env ******** --env ******** d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 ssh-agent -k [2022-07-08T07:39:43.453Z] unset SSH_AUTH_SOCK; [2022-07-08T07:39:43.453Z] unset SSH_AGENT_PID; [2022-07-08T07:39:43.453Z] echo Agent pid 40 killed; [2022-07-08T07:39:43.463Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-08T07:39:43.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-08T07:39:43.489Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-08T07:39:43.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-08T07:39:43.645Z] $ docker exec d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 ssh-agent [2022-07-08T07:39:43.792Z] SSH_AUTH_SOCK=/tmp/ssh-juGDoyg1uJFL/agent.73 [2022-07-08T07:39:43.792Z] SSH_AGENT_PID=80 [2022-07-08T07:39:43.798Z] Running ssh-add (command line suppressed) [2022-07-08T07:39:43.927Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_8540726814843770805.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_8540726814843770805.key) [2022-07-08T07:39:43.941Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-08T07:39:44.234Z] + git semver init [2022-07-08T07:39:44.495Z] 2022-07-08 07:39:44,468 [run_init] DEBUG init version:0.0.0 force:False [2022-07-08T07:39:44.495Z] 2022-07-08 07:39:44,469 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-08T07:39:44.495Z] 2022-07-08 07:39:44,469 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-08T07:39:44.495Z] 2022-07-08 07:39:44,470 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,152 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,153 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,153 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,156 [execute] INFO git cat-file --batch-check [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,163 [execute] INFO git cat-file --batch [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-08T07:39:45.437Z] 2022-07-08 07:39:45,170 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-08T07:39:45.437Z] 0.0.0 [Pipeline] } [2022-07-08T07:39:45.453Z] $ docker exec --env ******** --env ******** d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 ssh-agent -k [2022-07-08T07:39:45.564Z] unset SSH_AUTH_SOCK; [2022-07-08T07:39:45.564Z] unset SSH_AGENT_PID; [2022-07-08T07:39:45.564Z] echo Agent pid 80 killed; [2022-07-08T07:39:45.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-08T07:39:45.891Z] + git semver [Pipeline] } [2022-07-08T07:39:46.170Z] $ docker stop --time=1 d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 [2022-07-08T07:39:47.479Z] $ docker rm -f d7eb61fa8a9cd10847a6370cd3b2a7ef8366c11adc37586388d042149436bfb0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T07:39:47.824Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-08T07:39:48.071Z] Stashed 1 file(s) [Pipeline] echo [2022-07-08T07:39:48.073Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T07:39:48.181Z] provisioning config files... [2022-07-08T07:39:48.190Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config4957099322035820216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:39:48.487Z] ---> docker-login.sh [2022-07-08T07:39:48.487Z] nexus3.edgexfoundry.org:10001 [2022-07-08T07:39:48.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:48.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:48.487Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:48.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:48.487Z] [2022-07-08T07:39:48.487Z] Login Succeeded [2022-07-08T07:39:48.487Z] nexus3.edgexfoundry.org:10002 [2022-07-08T07:39:48.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:48.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:48.747Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:48.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:48.747Z] [2022-07-08T07:39:48.747Z] Login Succeeded [2022-07-08T07:39:48.747Z] nexus3.edgexfoundry.org:10003 [2022-07-08T07:39:48.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:48.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:48.747Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:48.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:48.747Z] [2022-07-08T07:39:48.747Z] Login Succeeded [2022-07-08T07:39:48.747Z] nexus3.edgexfoundry.org:10004 [2022-07-08T07:39:49.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:49.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:49.008Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:49.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:49.008Z] [2022-07-08T07:39:49.008Z] Login Succeeded [2022-07-08T07:39:49.008Z] docker.io [2022-07-08T07:39:49.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:39:49.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:39:49.269Z] Configure a credential helper to remove this warning. See [2022-07-08T07:39:49.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:39:49.269Z] [2022-07-08T07:39:49.269Z] Login Succeeded [2022-07-08T07:39:49.269Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T07:39:49.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-08T07:39:49.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T07:39:49.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T07:39:49.361Z] ========================================================= [2022-07-08T07:39:49.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-08T07:39:49.361Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:39:49.684Z] + 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-07-08T07:39:49.684Z] Sending build context to Docker daemon 9.401MB [2022-07-08T07:39:49.684Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T07:39:49.684Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-08T07:39:49.684Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-08T07:39:49.684Z] 59bf1c3509f3: Pulling fs layer [2022-07-08T07:39:49.684Z] 666ba61612fd: Pulling fs layer [2022-07-08T07:39:49.684Z] 8ed8ca486205: Pulling fs layer [2022-07-08T07:39:49.684Z] cc1cd167ecdc: Pulling fs layer [2022-07-08T07:39:49.684Z] c516ae0d96e1: Pulling fs layer [2022-07-08T07:39:49.684Z] 684cea983483: Pulling fs layer [2022-07-08T07:39:49.684Z] dd3240ac7de5: Pulling fs layer [2022-07-08T07:39:49.684Z] b1e948a4e11c: Pulling fs layer [2022-07-08T07:39:49.684Z] a8fd76ee1af6: Pulling fs layer [2022-07-08T07:39:49.684Z] 646ad004c059: Pulling fs layer [2022-07-08T07:39:49.684Z] c516ae0d96e1: Waiting [2022-07-08T07:39:49.684Z] 684cea983483: Waiting [2022-07-08T07:39:49.684Z] dd3240ac7de5: Waiting [2022-07-08T07:39:49.684Z] b1e948a4e11c: Waiting [2022-07-08T07:39:49.684Z] a8fd76ee1af6: Waiting [2022-07-08T07:39:49.684Z] 646ad004c059: Waiting [2022-07-08T07:39:49.684Z] cc1cd167ecdc: Waiting [2022-07-08T07:39:49.945Z] 8ed8ca486205: Verifying Checksum [2022-07-08T07:39:49.945Z] 8ed8ca486205: Download complete [2022-07-08T07:39:49.945Z] 666ba61612fd: Download complete [2022-07-08T07:39:49.945Z] c516ae0d96e1: Verifying Checksum [2022-07-08T07:39:49.945Z] c516ae0d96e1: Download complete [2022-07-08T07:39:49.945Z] 684cea983483: Verifying Checksum [2022-07-08T07:39:49.945Z] 684cea983483: Download complete [2022-07-08T07:39:49.945Z] dd3240ac7de5: Verifying Checksum [2022-07-08T07:39:49.945Z] dd3240ac7de5: Download complete [2022-07-08T07:39:49.945Z] 59bf1c3509f3: Verifying Checksum [2022-07-08T07:39:49.945Z] 59bf1c3509f3: Download complete [2022-07-08T07:39:49.945Z] b1e948a4e11c: Verifying Checksum [2022-07-08T07:39:49.945Z] b1e948a4e11c: Download complete [2022-07-08T07:39:49.945Z] 59bf1c3509f3: Pull complete [2022-07-08T07:39:50.207Z] 666ba61612fd: Pull complete [2022-07-08T07:39:50.207Z] 8ed8ca486205: Pull complete [2022-07-08T07:39:50.467Z] 646ad004c059: Verifying Checksum [2022-07-08T07:39:50.467Z] 646ad004c059: Download complete [2022-07-08T07:39:50.467Z] a8fd76ee1af6: Verifying Checksum [2022-07-08T07:39:50.467Z] a8fd76ee1af6: Download complete [2022-07-08T07:39:50.727Z] cc1cd167ecdc: Verifying Checksum [2022-07-08T07:39:50.727Z] cc1cd167ecdc: Download complete [2022-07-08T07:39:54.926Z] cc1cd167ecdc: Pull complete [2022-07-08T07:39:54.926Z] c516ae0d96e1: Pull complete [2022-07-08T07:39:54.926Z] 684cea983483: Pull complete [2022-07-08T07:39:54.926Z] dd3240ac7de5: Pull complete [2022-07-08T07:39:54.926Z] b1e948a4e11c: Pull complete [2022-07-08T07:39:57.465Z] a8fd76ee1af6: Pull complete [2022-07-08T07:39:58.043Z] 646ad004c059: Pull complete [2022-07-08T07:39:58.043Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-08T07:39:58.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-08T07:39:58.043Z] ---> 8f69c11f6b0c [2022-07-08T07:39:58.043Z] Step 3/13 : ARG MAKE="make build" [2022-07-08T07:39:59.969Z] ---> Running in 27410866fd66 [2022-07-08T07:39:59.969Z] Removing intermediate container 27410866fd66 [2022-07-08T07:39:59.969Z] ---> 9d311ede1ed4 [2022-07-08T07:39:59.969Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T07:39:59.969Z] ---> Running in e27c8819368f [2022-07-08T07:39:59.969Z] Removing intermediate container e27c8819368f [2022-07-08T07:39:59.969Z] ---> eeb2ad96f778 [2022-07-08T07:39:59.969Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T07:39:59.969Z] ---> Running in e00ba45b3ce1 [2022-07-08T07:39:59.969Z] Removing intermediate container e00ba45b3ce1 [2022-07-08T07:39:59.969Z] ---> fdbcae30702e [2022-07-08T07:39:59.969Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-08T07:39:59.969Z] ---> Running in 0420bb536e71 [2022-07-08T07:40:00.230Z] Removing intermediate container 0420bb536e71 [2022-07-08T07:40:00.230Z] ---> 0f7d8335b90d [2022-07-08T07:40:00.230Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T07:40:00.230Z] ---> Running in 94bb02604cca [2022-07-08T07:40:00.802Z] Removing intermediate container 94bb02604cca [2022-07-08T07:40:00.802Z] ---> 919f1d7dcbf8 [2022-07-08T07:40:00.802Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T07:40:00.802Z] ---> Running in b814f6a710cb [2022-07-08T07:40:01.064Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T07:40:02.004Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T07:40:02.265Z] OK: 221 MiB in 52 packages [2022-07-08T07:40:02.525Z] Removing intermediate container b814f6a710cb [2022-07-08T07:40:02.525Z] ---> 44c91498a199 [2022-07-08T07:40:02.525Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-08T07:40:02.525Z] ---> Running in c996aed150f8 [2022-07-08T07:40:02.786Z] Removing intermediate container c996aed150f8 [2022-07-08T07:40:02.786Z] ---> db2695956c7c [2022-07-08T07:40:02.786Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-08T07:40:02.786Z] ---> f318e6841909 [2022-07-08T07:40:02.786Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T07:40:02.786Z] ---> Running in 048af63ea86c [2022-07-08T07:40:03.152Z] Still waiting to schedule task [2022-07-08T07:40:03.152Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-08T07:40:20.914Z] Removing intermediate container 048af63ea86c [2022-07-08T07:40:20.914Z] ---> 0a4998d224e4 [2022-07-08T07:40:20.914Z] Step 12/13 : COPY . . [2022-07-08T07:40:20.914Z] ---> 5225ff67f910 [2022-07-08T07:40:20.914Z] Step 13/13 : RUN ${MAKE} [2022-07-08T07:40:20.914Z] ---> Running in 5dc0349ab40f [2022-07-08T07:40:20.914Z] noop [2022-07-08T07:40:20.914Z] Removing intermediate container 5dc0349ab40f [2022-07-08T07:40:20.914Z] ---> c1c9032fc0b2 [2022-07-08T07:40:20.914Z] Successfully built c1c9032fc0b2 [2022-07-08T07:40:20.914Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:40:21.225Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-08T07:40:21.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:40:21.310Z] prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container [2022-07-08T07:40:21.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-08T07:40:21.756Z] $ docker top c94134f0412162739255f274485e9f39fab554e3bc76e331fd8f5d9b73f219d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T07:40:22.120Z] + go version [2022-07-08T07:40:22.120Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-08T07:40:22.136Z] $ docker stop --time=1 c94134f0412162739255f274485e9f39fab554e3bc76e331fd8f5d9b73f219d5 [2022-07-08T07:40:23.409Z] $ docker rm -f c94134f0412162739255f274485e9f39fab554e3bc76e331fd8f5d9b73f219d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:40:23.835Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-08T07:40:23.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:40:23.919Z] prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container [2022-07-08T07:40:23.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-08T07:40:24.393Z] $ docker top 4cf7d9e4f969414f151daa81b8ba588ab4edcbfea36498182d1836f4c1f423d2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-08T07:40:24.797Z] + make test [2022-07-08T07:40:24.798Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-08T07:40:25.056Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-08T07:40:35.064Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-08T07:40:35.064Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 7.0% of statements [2022-07-08T07:40:35.064Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-08T07:40:39.267Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.698s coverage: 13.8% of statements [2022-07-08T07:40:45.849Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-08T07:40:51.150Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-08T07:40:51.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-08T07:40:51.150Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-08T07:40:51.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-08T07:40:51.180Z] $ docker stop --time=1 4cf7d9e4f969414f151daa81b8ba588ab4edcbfea36498182d1836f4c1f423d2 [2022-07-08T07:40:52.954Z] $ docker rm -f 4cf7d9e4f969414f151daa81b8ba588ab4edcbfea36498182d1836f4c1f423d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T07:40:53.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-08T07:40:53.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-08T07:40:53.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-08T07:40:54.235Z] + ls -al . [2022-07-08T07:40:54.235Z] total 252 [2022-07-08T07:40:54.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 8 07:40 . [2022-07-08T07:40:54.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:39 .. [2022-07-08T07:40:54.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 07:39 .git [2022-07-08T07:40:54.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:39 .github [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 07:39 .gitignore [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 07:39 .golangci.yml [2022-07-08T07:40:54.235Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 07:39 .semver [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 07:39 Attribution.txt [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 07:39 CHANGELOG.md [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 07:39 Dockerfile [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 07:39 GOVERNANCE.md [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 07:39 Jenkinsfile [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 07:39 LICENSE [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 07:39 Makefile [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 07:39 OWNERS.md [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 07:39 README.md [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 07:39 VERSION [2022-07-08T07:40:54.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:39 bin [2022-07-08T07:40:54.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:39 cmd [2022-07-08T07:40:54.235Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 07:40 coverage.out [2022-07-08T07:40:54.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:39 doc [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 07:39 go.mod [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 07:39 go.sum [2022-07-08T07:40:54.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:39 internal [2022-07-08T07:40:54.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:39 snap [2022-07-08T07:40:54.235Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:40:54.538Z] + 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=259d7c59e1a198909ec985cd75e1c4cac676cc05 --label arch=amd64 --label version=0.0.0 . [2022-07-08T07:40:54.538Z] Sending build context to Docker daemon 9.472MB [2022-07-08T07:40:54.538Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T07:40:54.538Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-08T07:40:54.538Z] ---> c1c9032fc0b2 [2022-07-08T07:40:54.538Z] Step 3/26 : ARG MAKE="make build" [2022-07-08T07:40:54.538Z] ---> Running in 9bb2a5ec4633 [2022-07-08T07:40:54.798Z] Removing intermediate container 9bb2a5ec4633 [2022-07-08T07:40:54.798Z] ---> e1c3c441dd79 [2022-07-08T07:40:54.798Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T07:40:54.798Z] ---> Running in 219d53a5a364 [2022-07-08T07:40:54.798Z] Removing intermediate container 219d53a5a364 [2022-07-08T07:40:54.798Z] ---> 7cf1ca360d96 [2022-07-08T07:40:54.798Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T07:40:54.798Z] ---> Running in 24c0b2eae18a [2022-07-08T07:40:55.057Z] Removing intermediate container 24c0b2eae18a [2022-07-08T07:40:55.057Z] ---> 7de1af023282 [2022-07-08T07:40:55.057Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-08T07:40:55.057Z] ---> Running in bf5422e4fac0 [2022-07-08T07:40:55.057Z] Removing intermediate container bf5422e4fac0 [2022-07-08T07:40:55.057Z] ---> d76fb3a7b98b [2022-07-08T07:40:55.057Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T07:40:55.057Z] ---> Running in 645f2645f91d [2022-07-08T07:40:55.995Z] Removing intermediate container 645f2645f91d [2022-07-08T07:40:55.995Z] ---> 8adbb7e349cf [2022-07-08T07:40:55.995Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T07:40:55.995Z] ---> Running in 7bc0370b67bd [2022-07-08T07:40:55.995Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T07:40:56.936Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T07:40:57.197Z] OK: 221 MiB in 52 packages [2022-07-08T07:40:57.455Z] Removing intermediate container 7bc0370b67bd [2022-07-08T07:40:57.455Z] ---> bd10965b166d [2022-07-08T07:40:57.455Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-08T07:40:57.455Z] ---> Running in 4c8c0f78d190 [2022-07-08T07:40:57.714Z] Removing intermediate container 4c8c0f78d190 [2022-07-08T07:40:57.715Z] ---> 7cbaa4ae263c [2022-07-08T07:40:57.715Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-08T07:40:57.715Z] ---> 27c869c39ece [2022-07-08T07:40:57.715Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T07:40:57.715Z] ---> Running in 282c1006aa48 [2022-07-08T07:40:58.656Z] Removing intermediate container 282c1006aa48 [2022-07-08T07:40:58.656Z] ---> 31f657950c97 [2022-07-08T07:40:58.656Z] Step 12/26 : COPY . . [2022-07-08T07:40:58.916Z] ---> e4dd1fbb4366 [2022-07-08T07:40:58.916Z] Step 13/26 : RUN ${MAKE} [2022-07-08T07:40:58.916Z] ---> Running in 649c71afe996 [2022-07-08T07:40:59.175Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-08T07:41:21.117Z] Removing intermediate container 649c71afe996 [2022-07-08T07:41:21.117Z] ---> 4a7c5b991b58 [2022-07-08T07:41:21.117Z] Step 14/26 : FROM alpine:3.15 [2022-07-08T07:41:21.117Z] 3.15: Pulling from library/alpine [2022-07-08T07:41:21.117Z] df9b9388f04a: Pulling fs layer [2022-07-08T07:41:21.117Z] df9b9388f04a: Verifying Checksum [2022-07-08T07:41:21.117Z] df9b9388f04a: Download complete [2022-07-08T07:41:21.117Z] df9b9388f04a: Pull complete [2022-07-08T07:41:21.117Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-08T07:41:21.117Z] Status: Downloaded newer image for alpine:3.15 [2022-07-08T07:41:21.117Z] ---> 0ac33e5f5afa [2022-07-08T07:41:21.117Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-08T07:41:21.117Z] ---> Running in 349d5b75e208 [2022-07-08T07:41:21.117Z] Removing intermediate container 349d5b75e208 [2022-07-08T07:41:21.117Z] ---> 89aa79425726 [2022-07-08T07:41:21.117Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-08T07:41:21.117Z] ---> Running in 5dfa696aff36 [2022-07-08T07:41:21.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T07:41:21.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T07:41:21.117Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-08T07:41:21.117Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-08T07:41:21.117Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-08T07:41:21.117Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-08T07:41:21.117Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-08T07:41:21.117Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-08T07:41:21.117Z] Executing busybox-1.34.1-r5.trigger [2022-07-08T07:41:21.117Z] OK: 8 MiB in 20 packages [2022-07-08T07:41:21.117Z] Removing intermediate container 5dfa696aff36 [2022-07-08T07:41:21.117Z] ---> 00519bff44e8 [2022-07-08T07:41:21.117Z] Step 17/26 : WORKDIR / [2022-07-08T07:41:21.117Z] ---> Running in 6c7d9f447970 [2022-07-08T07:41:21.117Z] Removing intermediate container 6c7d9f447970 [2022-07-08T07:41:21.117Z] ---> 3f158f8d9097 [2022-07-08T07:41:21.117Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-08T07:41:21.376Z] ---> 0bece4ec9b8a [2022-07-08T07:41:21.376Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-08T07:41:21.376Z] ---> 315766e280c1 [2022-07-08T07:41:21.376Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-08T07:41:21.636Z] ---> 2f583240ba2a [2022-07-08T07:41:21.636Z] Step 21/26 : EXPOSE 59984 [2022-07-08T07:41:21.636Z] ---> Running in f337ad4208b7 [2022-07-08T07:41:21.636Z] Removing intermediate container f337ad4208b7 [2022-07-08T07:41:21.636Z] ---> a4746331f438 [2022-07-08T07:41:21.636Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-08T07:41:21.636Z] ---> Running in 68fcb5d66a77 [2022-07-08T07:41:21.896Z] Removing intermediate container 68fcb5d66a77 [2022-07-08T07:41:21.896Z] ---> b44319018d42 [2022-07-08T07:41:21.896Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-08T07:41:21.896Z] ---> Running in 0a419c8abc65 [2022-07-08T07:41:21.896Z] Removing intermediate container 0a419c8abc65 [2022-07-08T07:41:21.896Z] ---> c8d508a7b9ba [2022-07-08T07:41:21.896Z] Step 24/26 : LABEL arch=amd64 [2022-07-08T07:41:21.896Z] ---> Running in 9a66d0c2c397 [2022-07-08T07:41:22.157Z] Removing intermediate container 9a66d0c2c397 [2022-07-08T07:41:22.157Z] ---> e0d31d502fb4 [2022-07-08T07:41:22.157Z] Step 25/26 : LABEL git_sha=259d7c59e1a198909ec985cd75e1c4cac676cc05 [2022-07-08T07:41:22.157Z] ---> Running in f6de43e200f1 [2022-07-08T07:41:22.157Z] Removing intermediate container f6de43e200f1 [2022-07-08T07:41:22.157Z] ---> ad0e35ab5a2e [2022-07-08T07:41:22.157Z] Step 26/26 : LABEL version=0.0.0 [2022-07-08T07:41:22.157Z] ---> Running in 4fdd7d3ef29f [2022-07-08T07:41:22.418Z] Removing intermediate container 4fdd7d3ef29f [2022-07-08T07:41:22.418Z] ---> e84d0ed9c0df [2022-07-08T07:41:22.418Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-08T07:41:22.418Z] Successfully built e84d0ed9c0df [2022-07-08T07:41:22.418Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:41:22.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T07:41:22.841Z] [2022-07-08T07:41:22.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:41:23.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T07:41:23.144Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-08T07:41:23.144Z] 5eb5b503b376: Pulling fs layer [2022-07-08T07:41:23.144Z] 5c69ac0246d0: Pulling fs layer [2022-07-08T07:41:23.144Z] ec43610c2a17: Pulling fs layer [2022-07-08T07:41:23.144Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-08T07:41:23.144Z] 33b1e0a273af: Pulling fs layer [2022-07-08T07:41:23.144Z] 5d3b04190fa2: Pulling fs layer [2022-07-08T07:41:23.144Z] 33b1e0a273af: Waiting [2022-07-08T07:41:23.144Z] 3a2ae6a8a46f: Waiting [2022-07-08T07:41:23.144Z] 2f39f015ded8: Pulling fs layer [2022-07-08T07:41:23.144Z] 5d3b04190fa2: Waiting [2022-07-08T07:41:23.144Z] 5c69ac0246d0: Verifying Checksum [2022-07-08T07:41:23.144Z] 5c69ac0246d0: Download complete [2022-07-08T07:41:23.144Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-08T07:41:23.144Z] 3a2ae6a8a46f: Download complete [2022-07-08T07:41:23.144Z] 33b1e0a273af: Verifying Checksum [2022-07-08T07:41:23.144Z] 33b1e0a273af: Download complete [2022-07-08T07:41:23.144Z] ec43610c2a17: Verifying Checksum [2022-07-08T07:41:23.144Z] ec43610c2a17: Download complete [2022-07-08T07:41:23.144Z] 5d3b04190fa2: Verifying Checksum [2022-07-08T07:41:23.144Z] 5d3b04190fa2: Download complete [2022-07-08T07:41:23.403Z] 5eb5b503b376: Verifying Checksum [2022-07-08T07:41:23.403Z] 5eb5b503b376: Download complete [2022-07-08T07:41:23.972Z] 2f39f015ded8: Download complete [2022-07-08T07:41:24.539Z] 5eb5b503b376: Pull complete [2022-07-08T07:41:24.796Z] 5c69ac0246d0: Pull complete [2022-07-08T07:41:25.056Z] ec43610c2a17: Pull complete [2022-07-08T07:41:25.315Z] 3a2ae6a8a46f: Pull complete [2022-07-08T07:41:25.573Z] 33b1e0a273af: Pull complete [2022-07-08T07:41:25.573Z] 5d3b04190fa2: Pull complete [2022-07-08T07:41:29.765Z] 2f39f015ded8: Pull complete [2022-07-08T07:41:29.765Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-08T07:41:29.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T07:41:29.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:41:29.856Z] prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container [2022-07-08T07:41:29.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-08T07:41:31.651Z] $ docker top c264a09cf7bb04f7d6292bc51a010ff6c43c1307b235f22a76bcdd9e7d6c25ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:41:32.057Z] ---> job-cost.sh [2022-07-08T07:41:32.057Z] lf-activate-venv: SKIPPING [2022-07-08T07:41:32.057Z] INFO: No Stack... [2022-07-08T07:41:32.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-08T07:41:32.884Z] INFO: Archiving Costs [Pipeline] sh [2022-07-08T07:41:33.177Z] + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv [2022-07-08T07:41:33.177Z] + cut -d, -f6 [Pipeline] lock [2022-07-08T07:41:33.189Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [2022-07-08T07:41:33.197Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] did not exist. Created. [2022-07-08T07:41:33.198Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-08T07:41:33.500Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-08T07:41:33.527Z] Stashed 1 file(s) [Pipeline] } [2022-07-08T07:41:33.533Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-08T07:41:33.557Z] $ docker stop --time=1 c264a09cf7bb04f7d6292bc51a010ff6c43c1307b235f22a76bcdd9e7d6c25ad [2022-07-08T07:41:34.727Z] $ docker rm -f c264a09cf7bb04f7d6292bc51a010ff6c43c1307b235f22a76bcdd9e7d6c25ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-08T07:41:38.985Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17229 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws [2022-07-08T07:41:38.998Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-07-08T07:41:39.042Z] Selected Git installation does not exist. Using Default [2022-07-08T07:41:39.043Z] The recommended git tool is: NONE [2022-07-08T07:41:44.036Z] using credential edgex-jenkins-ssh [2022-07-08T07:41:44.052Z] Cloning the remote Git repository [2022-07-08T07:41:44.106Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T07:41:44.181Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-07-08T07:41:44.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T07:41:44.250Z] > git --version # timeout=10 [2022-07-08T07:41:44.270Z] > git --version # 'git version 2.25.1' [2022-07-08T07:41:44.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T07:41:44.466Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-08T07:41:46.118Z] Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 85d2694f6872ed47bfd3bbb6c6acafdcb028cfd0 [2022-07-08T07:41:46.546Z] Merge succeeded, producing 73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 [2022-07-08T07:41:46.547Z] Checking out Revision 73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 (PR-103) [2022-07-08T07:41:45.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-08T07:41:45.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-08T07:41:45.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-08T07:41:45.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T07:41:45.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T07:41:45.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-08T07:41:46.136Z] > git config core.sparsecheckout # timeout=10 [2022-07-08T07:41:46.157Z] > git checkout -f 85d2694f6872ed47bfd3bbb6c6acafdcb028cfd0 # timeout=10 [2022-07-08T07:41:46.300Z] > git remote # timeout=10 [2022-07-08T07:41:46.316Z] > git config --get remote.origin.url # timeout=10 [2022-07-08T07:41:46.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T07:41:46.341Z] > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 [2022-07-08T07:41:46.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-08T07:41:46.553Z] > git config core.sparsecheckout # timeout=10 [2022-07-08T07:41:46.574Z] > git checkout -f 73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 # timeout=10 [2022-07-08T07:41:50.773Z] Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" [2022-07-08T07:41:50.781Z] > git rev-list --no-walk 50d7c97abd8ae261e87cf0c13ba7f55166dbaffe # timeout=10 [2022-07-08T07:41:50.798Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T07:41:51.637Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-08T07:41:51.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-08T07:41:51.637Z] Dload Upload Total Spent Left Speed [2022-07-08T07:41:51.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 97428 0 --:--:-- --:--:-- --:--:-- 97428 [Pipeline] sh [2022-07-08T07:41:52.398Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-08T07:41:52.744Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-07-08T07:41:52.744Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-08T07:41:52.744Z] { [2022-07-08T07:41:52.744Z] "registry-mirrors": [ [2022-07-08T07:41:52.744Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-08T07:41:52.744Z] ], [2022-07-08T07:41:52.744Z] "bip": "10.250.0.254/24", [2022-07-08T07:41:52.744Z] "hosts": [ [2022-07-08T07:41:52.744Z] "tcp://0.0.0.0:5555", [2022-07-08T07:41:52.744Z] "unix:///var/run/docker.sock" [2022-07-08T07:41:52.744Z] ], [2022-07-08T07:41:52.744Z] "mtu": 1458, [2022-07-08T07:41:52.744Z] "selinux-enabled": true, [2022-07-08T07:41:52.744Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-08T07:41:52.744Z] } [Pipeline] sh [2022-07-08T07:41:53.092Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-08T07:41:53.427Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T07:42:12.041Z] provisioning config files... [2022-07-08T07:42:12.061Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config4067074410780689341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:42:12.412Z] ---> docker-login.sh [2022-07-08T07:42:12.412Z] nexus3.edgexfoundry.org:10001 [2022-07-08T07:42:13.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:42:13.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:42:13.277Z] Configure a credential helper to remove this warning. See [2022-07-08T07:42:13.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:42:13.277Z] [2022-07-08T07:42:13.277Z] Login Succeeded [2022-07-08T07:42:13.277Z] nexus3.edgexfoundry.org:10002 [2022-07-08T07:42:13.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:42:13.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:42:13.548Z] Configure a credential helper to remove this warning. See [2022-07-08T07:42:13.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:42:13.548Z] [2022-07-08T07:42:13.548Z] Login Succeeded [2022-07-08T07:42:13.548Z] nexus3.edgexfoundry.org:10003 [2022-07-08T07:42:14.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:42:14.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:42:14.147Z] Configure a credential helper to remove this warning. See [2022-07-08T07:42:14.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:42:14.147Z] [2022-07-08T07:42:14.147Z] Login Succeeded [2022-07-08T07:42:14.147Z] nexus3.edgexfoundry.org:10004 [2022-07-08T07:42:14.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:42:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:42:14.710Z] Configure a credential helper to remove this warning. See [2022-07-08T07:42:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:42:14.710Z] [2022-07-08T07:42:14.710Z] Login Succeeded [2022-07-08T07:42:14.710Z] docker.io [2022-07-08T07:42:14.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T07:42:15.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T07:42:15.253Z] Configure a credential helper to remove this warning. See [2022-07-08T07:42:15.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T07:42:15.253Z] [2022-07-08T07:42:15.253Z] Login Succeeded [2022-07-08T07:42:15.253Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T07:42:15.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-08T07:42:15.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T07:42:15.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T07:42:15.872Z] ========================================================= [2022-07-08T07:42:15.872Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-08T07:42:15.872Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:42:16.256Z] + 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-07-08T07:42:16.852Z] Sending build context to Docker daemon 6.472MB [2022-07-08T07:42:16.852Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T07:42:16.852Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-08T07:42:16.852Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-08T07:42:16.852Z] 9b3977197b4f: Pulling fs layer [2022-07-08T07:42:16.852Z] 1a89e8eeedd5: Pulling fs layer [2022-07-08T07:42:16.852Z] 94645a83ff95: Pulling fs layer [2022-07-08T07:42:16.852Z] e6fb740bc735: Pulling fs layer [2022-07-08T07:42:16.852Z] 3a77bd46dcc9: Pulling fs layer [2022-07-08T07:42:16.852Z] 355e64cbe906: Pulling fs layer [2022-07-08T07:42:16.852Z] 63ab81a10011: Pulling fs layer [2022-07-08T07:42:16.852Z] 555d1d1c4555: Pulling fs layer [2022-07-08T07:42:16.852Z] 7d9057610161: Pulling fs layer [2022-07-08T07:42:16.852Z] e6fb740bc735: Waiting [2022-07-08T07:42:16.852Z] 3a77bd46dcc9: Waiting [2022-07-08T07:42:16.852Z] 355e64cbe906: Waiting [2022-07-08T07:42:16.852Z] 7d9057610161: Waiting [2022-07-08T07:42:16.852Z] 555d1d1c4555: Waiting [2022-07-08T07:42:16.852Z] 63ab81a10011: Waiting [2022-07-08T07:42:16.852Z] 94645a83ff95: Verifying Checksum [2022-07-08T07:42:16.852Z] 94645a83ff95: Download complete [2022-07-08T07:42:16.852Z] 1a89e8eeedd5: Verifying Checksum [2022-07-08T07:42:16.852Z] 1a89e8eeedd5: Download complete [2022-07-08T07:42:16.852Z] 3a77bd46dcc9: Verifying Checksum [2022-07-08T07:42:16.852Z] 3a77bd46dcc9: Download complete [2022-07-08T07:42:16.852Z] 355e64cbe906: Verifying Checksum [2022-07-08T07:42:16.852Z] 355e64cbe906: Download complete [2022-07-08T07:42:16.852Z] 9b3977197b4f: Verifying Checksum [2022-07-08T07:42:16.852Z] 9b3977197b4f: Download complete [2022-07-08T07:42:16.852Z] 63ab81a10011: Verifying Checksum [2022-07-08T07:42:16.852Z] 63ab81a10011: Download complete [2022-07-08T07:42:17.839Z] 9b3977197b4f: Pull complete [2022-07-08T07:42:17.839Z] 7d9057610161: Verifying Checksum [2022-07-08T07:42:18.116Z] 7d9057610161: Download complete [2022-07-08T07:42:18.394Z] 1a89e8eeedd5: Pull complete [2022-07-08T07:42:18.671Z] 94645a83ff95: Pull complete [2022-07-08T07:42:18.945Z] 555d1d1c4555: Verifying Checksum [2022-07-08T07:42:18.945Z] 555d1d1c4555: Download complete [2022-07-08T07:42:19.924Z] e6fb740bc735: Verifying Checksum [2022-07-08T07:42:19.924Z] e6fb740bc735: Download complete [2022-07-08T07:42:32.344Z] e6fb740bc735: Pull complete [2022-07-08T07:42:32.345Z] 3a77bd46dcc9: Pull complete [2022-07-08T07:42:32.345Z] 355e64cbe906: Pull complete [2022-07-08T07:42:32.345Z] 63ab81a10011: Pull complete [2022-07-08T07:42:39.065Z] 555d1d1c4555: Pull complete [2022-07-08T07:42:40.506Z] 7d9057610161: Pull complete [2022-07-08T07:42:40.506Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-08T07:42:40.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-08T07:42:40.506Z] ---> 819e984ddca1 [2022-07-08T07:42:40.506Z] Step 3/13 : ARG MAKE="make build" [2022-07-08T07:42:41.945Z] ---> Running in 9794161e4ac8 [2022-07-08T07:42:42.545Z] Removing intermediate container 9794161e4ac8 [2022-07-08T07:42:42.545Z] ---> d040a0b45eae [2022-07-08T07:42:42.545Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T07:42:42.545Z] ---> Running in 5a96ba235563 [2022-07-08T07:42:42.817Z] Removing intermediate container 5a96ba235563 [2022-07-08T07:42:42.817Z] ---> 05833905d887 [2022-07-08T07:42:42.817Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T07:42:42.817Z] ---> Running in b908080d6f28 [2022-07-08T07:42:43.098Z] Removing intermediate container b908080d6f28 [2022-07-08T07:42:43.098Z] ---> 6c2234fd58c4 [2022-07-08T07:42:43.098Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-08T07:42:43.098Z] ---> Running in 1204e061e2ce [2022-07-08T07:42:43.376Z] Removing intermediate container 1204e061e2ce [2022-07-08T07:42:43.376Z] ---> 6691868ee0c3 [2022-07-08T07:42:43.376Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T07:42:43.659Z] ---> Running in 514403f43ce5 [2022-07-08T07:42:45.641Z] Removing intermediate container 514403f43ce5 [2022-07-08T07:42:45.641Z] ---> db59be1eec09 [2022-07-08T07:42:45.641Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T07:42:45.641Z] ---> Running in b24bbad553ba [2022-07-08T07:42:46.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T07:42:47.666Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T07:42:48.651Z] OK: 220 MiB in 52 packages [2022-07-08T07:42:49.254Z] Removing intermediate container b24bbad553ba [2022-07-08T07:42:49.254Z] ---> 506bb3236b93 [2022-07-08T07:42:49.255Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-08T07:42:49.526Z] ---> Running in 832a61ce97c9 [2022-07-08T07:42:49.801Z] Removing intermediate container 832a61ce97c9 [2022-07-08T07:42:49.801Z] ---> b445c40e5f4a [2022-07-08T07:42:49.801Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-08T07:42:50.404Z] ---> a4c99b81063b [2022-07-08T07:42:50.404Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T07:42:50.404Z] ---> Running in 3def499c84c9 [2022-07-08T07:43:58.970Z] Removing intermediate container 3def499c84c9 [2022-07-08T07:43:58.970Z] ---> 95b58284baa5 [2022-07-08T07:43:58.970Z] Step 12/13 : COPY . . [2022-07-08T07:43:58.970Z] ---> 7f24f55a2798 [2022-07-08T07:43:58.971Z] Step 13/13 : RUN ${MAKE} [2022-07-08T07:43:58.971Z] ---> Running in fa14f5e5bdbe [2022-07-08T07:43:58.971Z] noop [2022-07-08T07:43:58.971Z] Removing intermediate container fa14f5e5bdbe [2022-07-08T07:43:58.971Z] ---> 49b67ba10b3e [2022-07-08T07:43:58.971Z] Successfully built 49b67ba10b3e [2022-07-08T07:43:58.971Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:43:59.346Z] + docker inspect -f . ci-base-image-arm64 [2022-07-08T07:43:59.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:43:59.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-17229 does not seem to be running inside a container [2022-07-08T07:43:59.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-08T07:44:00.978Z] $ docker top 91b533822bc7eaf398297aba08e95d534fbbdb8a2690769a216d5e83ccc1af64 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T07:44:01.923Z] + go version [2022-07-08T07:44:01.923Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-08T07:44:01.921Z] $ docker stop --time=1 91b533822bc7eaf398297aba08e95d534fbbdb8a2690769a216d5e83ccc1af64 [2022-07-08T07:44:03.535Z] $ docker rm -f 91b533822bc7eaf398297aba08e95d534fbbdb8a2690769a216d5e83ccc1af64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:44:04.198Z] + docker inspect -f . ci-base-image-arm64 [2022-07-08T07:44:04.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:44:04.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-17229 does not seem to be running inside a container [2022-07-08T07:44:04.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-08T07:44:05.770Z] $ docker top 49142e4436bc40d1b2080cb21bb36ea0fffbb026804c06eec1e4f401c35f4cf0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-08T07:44:06.719Z] + make test [2022-07-08T07:44:06.719Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-08T07:44:08.699Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-08T07:45:45.839Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-08T07:45:45.840Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.097s coverage: 7.0% of statements [2022-07-08T07:45:45.840Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-08T07:45:56.072Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.159s coverage: 13.8% of statements [2022-07-08T07:45:56.072Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-08T07:45:56.072Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-08T07:46:28.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-08T07:46:28.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-08T07:46:28.493Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-08T07:46:28.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-08T07:46:28.527Z] $ docker stop --time=1 49142e4436bc40d1b2080cb21bb36ea0fffbb026804c06eec1e4f401c35f4cf0 [2022-07-08T07:46:30.272Z] $ docker rm -f 49142e4436bc40d1b2080cb21bb36ea0fffbb026804c06eec1e4f401c35f4cf0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T07:46:31.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-08T07:46:31.278Z] Warning: overwriting stash ‘coverage-report’ [2022-07-08T07:46:31.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T07:46:32.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-08T07:46:32.552Z] + ls -al . [2022-07-08T07:46:32.552Z] total 248 [2022-07-08T07:46:32.552Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 8 07:46 . [2022-07-08T07:46:32.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:41 .. [2022-07-08T07:46:32.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 07:41 .git [2022-07-08T07:46:32.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:41 .github [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 07:41 .gitignore [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 07:41 .golangci.yml [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 07:41 Attribution.txt [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 07:41 CHANGELOG.md [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 07:41 Dockerfile [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 07:41 GOVERNANCE.md [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 07:41 Jenkinsfile [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 07:41 LICENSE [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 07:41 Makefile [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 07:41 OWNERS.md [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 07:41 README.md [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 07:39 VERSION [2022-07-08T07:46:32.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 07:41 bin [2022-07-08T07:46:32.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 07:41 cmd [2022-07-08T07:46:32.552Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 07:45 coverage.out [2022-07-08T07:46:32.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:41 doc [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 07:41 go.mod [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 07:41 go.sum [2022-07-08T07:46:32.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:41 internal [2022-07-08T07:46:32.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 07:41 snap [2022-07-08T07:46:32.552Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:46:32.918Z] + 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=73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 --label arch=arm64 --label version=0.0.0 . [2022-07-08T07:46:33.191Z] Sending build context to Docker daemon 6.543MB [2022-07-08T07:46:33.483Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T07:46:33.483Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-08T07:46:33.483Z] ---> 49b67ba10b3e [2022-07-08T07:46:33.483Z] Step 3/26 : ARG MAKE="make build" [2022-07-08T07:46:33.483Z] ---> Running in f29bfe65a3c5 [2022-07-08T07:46:33.760Z] Removing intermediate container f29bfe65a3c5 [2022-07-08T07:46:33.760Z] ---> cabae63371e9 [2022-07-08T07:46:33.760Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T07:46:33.760Z] ---> Running in 28271bc0e7e8 [2022-07-08T07:46:34.033Z] Removing intermediate container 28271bc0e7e8 [2022-07-08T07:46:34.033Z] ---> 13bd6a7de7e5 [2022-07-08T07:46:34.033Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T07:46:34.310Z] ---> Running in fda5da1fd366 [2022-07-08T07:46:34.582Z] Removing intermediate container fda5da1fd366 [2022-07-08T07:46:34.582Z] ---> 2bc48196e587 [2022-07-08T07:46:34.582Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-08T07:46:34.582Z] ---> Running in 301ee8e71d03 [2022-07-08T07:46:34.855Z] Removing intermediate container 301ee8e71d03 [2022-07-08T07:46:34.855Z] ---> d6932883e32a [2022-07-08T07:46:34.855Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T07:46:35.138Z] ---> Running in e89bc5b82ec6 [2022-07-08T07:46:36.588Z] Removing intermediate container e89bc5b82ec6 [2022-07-08T07:46:36.588Z] ---> 6d713e2a1de1 [2022-07-08T07:46:36.588Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T07:46:36.588Z] ---> Running in 745fb314cd21 [2022-07-08T07:46:37.567Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T07:46:38.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T07:46:39.533Z] OK: 220 MiB in 52 packages [2022-07-08T07:46:40.129Z] Removing intermediate container 745fb314cd21 [2022-07-08T07:46:40.129Z] ---> 1806c1a8de90 [2022-07-08T07:46:40.129Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-08T07:46:40.129Z] ---> Running in 08ff0ee40b65 [2022-07-08T07:46:40.406Z] Removing intermediate container 08ff0ee40b65 [2022-07-08T07:46:40.406Z] ---> d92248741650 [2022-07-08T07:46:40.406Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-08T07:46:41.021Z] ---> 8326cce498e1 [2022-07-08T07:46:41.021Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T07:46:41.021Z] ---> Running in 8ab180ae70ac [2022-07-08T07:46:43.010Z] Removing intermediate container 8ab180ae70ac [2022-07-08T07:46:43.010Z] ---> f75af3f94a3b [2022-07-08T07:46:43.010Z] Step 12/26 : COPY . . [2022-07-08T07:46:44.466Z] ---> a5b3161a6c65 [2022-07-08T07:46:44.466Z] Step 13/26 : RUN ${MAKE} [2022-07-08T07:46:44.466Z] ---> Running in 9fc03c4588ff [2022-07-08T07:46:45.458Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-08T07:48:52.400Z] Removing intermediate container 9fc03c4588ff [2022-07-08T07:48:52.400Z] ---> 2379f64f6305 [2022-07-08T07:48:52.400Z] Step 14/26 : FROM alpine:3.15 [2022-07-08T07:48:52.400Z] 3.15: Pulling from library/alpine [2022-07-08T07:48:52.400Z] 9981e73032c8: Pulling fs layer [2022-07-08T07:48:52.400Z] 9981e73032c8: Verifying Checksum [2022-07-08T07:48:52.400Z] 9981e73032c8: Download complete [2022-07-08T07:48:52.400Z] 9981e73032c8: Pull complete [2022-07-08T07:48:52.400Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-08T07:48:52.400Z] Status: Downloaded newer image for alpine:3.15 [2022-07-08T07:48:52.400Z] ---> 3fb3c9af89a9 [2022-07-08T07:48:52.400Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-08T07:48:52.400Z] ---> Running in f087452a8ba6 [2022-07-08T07:48:52.400Z] Removing intermediate container f087452a8ba6 [2022-07-08T07:48:52.400Z] ---> b39c162202d1 [2022-07-08T07:48:52.400Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-08T07:48:52.400Z] ---> Running in d228bd60d225 [2022-07-08T07:48:52.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T07:48:52.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T07:48:52.400Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-08T07:48:52.400Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-08T07:48:52.400Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-08T07:48:52.400Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-08T07:48:52.400Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-08T07:48:52.400Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-08T07:48:52.400Z] Executing busybox-1.34.1-r5.trigger [2022-07-08T07:48:52.400Z] OK: 8 MiB in 20 packages [2022-07-08T07:48:52.400Z] Removing intermediate container d228bd60d225 [2022-07-08T07:48:52.400Z] ---> 1ee89459df50 [2022-07-08T07:48:52.400Z] Step 17/26 : WORKDIR / [2022-07-08T07:48:52.400Z] ---> Running in 7aa9516fda8d [2022-07-08T07:48:52.400Z] Removing intermediate container 7aa9516fda8d [2022-07-08T07:48:52.400Z] ---> c102d99a2367 [2022-07-08T07:48:52.400Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-08T07:48:52.400Z] ---> bb47053a1c2e [2022-07-08T07:48:52.400Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-08T07:48:52.400Z] ---> 2dc4ebf792c9 [2022-07-08T07:48:52.400Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-08T07:48:52.400Z] ---> d96c217bf969 [2022-07-08T07:48:52.400Z] Step 21/26 : EXPOSE 59984 [2022-07-08T07:48:52.400Z] ---> Running in ec7513627d2c [2022-07-08T07:48:52.400Z] Removing intermediate container ec7513627d2c [2022-07-08T07:48:52.400Z] ---> 7a5c46e7d927 [2022-07-08T07:48:52.400Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-08T07:48:52.400Z] ---> Running in c378842099e0 [2022-07-08T07:48:52.677Z] Removing intermediate container c378842099e0 [2022-07-08T07:48:52.677Z] ---> 6c4f7272a20d [2022-07-08T07:48:52.677Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-08T07:48:52.677Z] ---> Running in 4289f657e0bd [2022-07-08T07:48:52.951Z] Removing intermediate container 4289f657e0bd [2022-07-08T07:48:52.951Z] ---> b9bbe12f65ab [2022-07-08T07:48:52.951Z] Step 24/26 : LABEL arch=arm64 [2022-07-08T07:48:52.951Z] ---> Running in 3047df418309 [2022-07-08T07:48:53.239Z] Removing intermediate container 3047df418309 [2022-07-08T07:48:53.239Z] ---> 64086ac2de7b [2022-07-08T07:48:53.239Z] Step 25/26 : LABEL git_sha=73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 [2022-07-08T07:48:53.239Z] ---> Running in 4fd49f1e3814 [2022-07-08T07:48:53.845Z] Removing intermediate container 4fd49f1e3814 [2022-07-08T07:48:53.845Z] ---> 856bcb74a990 [2022-07-08T07:48:53.845Z] Step 26/26 : LABEL version=0.0.0 [2022-07-08T07:48:53.845Z] ---> Running in 52f234e41262 [2022-07-08T07:48:54.118Z] Removing intermediate container 52f234e41262 [2022-07-08T07:48:54.118Z] ---> dd5336ac238a [2022-07-08T07:48:54.118Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-08T07:48:54.118Z] Successfully built dd5336ac238a [2022-07-08T07:48:54.118Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:48:54.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T07:48:54.577Z] [2022-07-08T07:48:54.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:48:54.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T07:48:55.216Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-08T07:48:55.216Z] 8998bd30e6a1: Pulling fs layer [2022-07-08T07:48:55.216Z] 04944245beec: Pulling fs layer [2022-07-08T07:48:55.216Z] 699f458cf7ca: Pulling fs layer [2022-07-08T07:48:55.216Z] 765212b225bb: Pulling fs layer [2022-07-08T07:48:55.216Z] f23df028b6ca: Pulling fs layer [2022-07-08T07:48:55.216Z] d65c8cfc05b1: Pulling fs layer [2022-07-08T07:48:55.216Z] 2437ff75d9bd: Pulling fs layer [2022-07-08T07:48:55.216Z] 765212b225bb: Waiting [2022-07-08T07:48:55.216Z] f23df028b6ca: Waiting [2022-07-08T07:48:55.216Z] 2437ff75d9bd: Waiting [2022-07-08T07:48:55.216Z] d65c8cfc05b1: Waiting [2022-07-08T07:48:55.216Z] 04944245beec: Verifying Checksum [2022-07-08T07:48:55.216Z] 04944245beec: Download complete [2022-07-08T07:48:55.216Z] 765212b225bb: Verifying Checksum [2022-07-08T07:48:55.216Z] 765212b225bb: Download complete [2022-07-08T07:48:55.216Z] f23df028b6ca: Verifying Checksum [2022-07-08T07:48:55.216Z] f23df028b6ca: Download complete [2022-07-08T07:48:55.216Z] d65c8cfc05b1: Verifying Checksum [2022-07-08T07:48:55.216Z] d65c8cfc05b1: Download complete [2022-07-08T07:48:55.489Z] 699f458cf7ca: Verifying Checksum [2022-07-08T07:48:55.489Z] 699f458cf7ca: Download complete [2022-07-08T07:48:55.765Z] 8998bd30e6a1: Verifying Checksum [2022-07-08T07:48:55.765Z] 8998bd30e6a1: Download complete [2022-07-08T07:48:58.392Z] 2437ff75d9bd: Verifying Checksum [2022-07-08T07:48:58.392Z] 2437ff75d9bd: Download complete [2022-07-08T07:49:00.375Z] 8998bd30e6a1: Pull complete [2022-07-08T07:49:00.652Z] 04944245beec: Pull complete [2022-07-08T07:49:02.097Z] 699f458cf7ca: Pull complete [2022-07-08T07:49:02.372Z] 765212b225bb: Pull complete [2022-07-08T07:49:02.971Z] f23df028b6ca: Pull complete [2022-07-08T07:49:03.246Z] d65c8cfc05b1: Pull complete [2022-07-08T07:49:18.339Z] 2437ff75d9bd: Pull complete [2022-07-08T07:49:18.339Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-08T07:49:18.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T07:49:18.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:49:18.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-17229 does not seem to be running inside a container [2022-07-08T07:49:18.699Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-08T07:49:21.252Z] $ docker top 7d4d71ab27663250b3dcd1424b6392fd81e5e61a7037ff61bdd9c7df39d9eff1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:22.198Z] ---> job-cost.sh [2022-07-08T07:49:22.198Z] lf-activate-venv: SKIPPING [2022-07-08T07:49:22.198Z] INFO: No Stack... [2022-07-08T07:49:22.793Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-08T07:49:23.768Z] INFO: Archiving Costs [Pipeline] sh [2022-07-08T07:49:24.443Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-07-08T07:49:24.443Z] + cut -d, -f6 [Pipeline] lock [2022-07-08T07:49:24.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [2022-07-08T07:49:24.515Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] did not exist. Created. [2022-07-08T07:49:24.515Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-08T07:49:25.206Z] /w/workspace/device-onvif-camera/5@tmp/durable-cc2d16dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-08T07:49:25.888Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-08T07:49:25.909Z] Warning: overwriting stash ‘stack-cost’ [2022-07-08T07:49:25.964Z] Stashed 1 file(s) [Pipeline] } [2022-07-08T07:49:25.971Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-08T07:49:25.988Z] $ docker stop --time=1 7d4d71ab27663250b3dcd1424b6392fd81e5e61a7037ff61bdd9c7df39d9eff1 [2022-07-08T07:49:27.479Z] $ docker rm -f 7d4d71ab27663250b3dcd1424b6392fd81e5e61a7037ff61bdd9c7df39d9eff1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-08T07:49:27.941Z] provisioning config files... [2022-07-08T07:49:27.950Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config3095400002523618977tmp [Pipeline] { [Pipeline] sh [2022-07-08T07:49:28.255Z] + set +x [2022-07-08T07:49:28.255Z] + curl -s https://codecov.io/bash [2022-07-08T07:49:28.255Z] + bash -s -- [2022-07-08T07:49:28.255Z] [2022-07-08T07:49:28.255Z] _____ _ [2022-07-08T07:49:28.255Z] / ____| | | [2022-07-08T07:49:28.255Z] | | ___ __| | ___ ___ _____ __ [2022-07-08T07:49:28.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-08T07:49:28.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-08T07:49:28.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-08T07:49:28.255Z] Bash-1.0.6 [2022-07-08T07:49:28.255Z] [2022-07-08T07:49:28.255Z] [2022-07-08T07:49:28.255Z] ==> git version 2.25.1 found [2022-07-08T07:49:28.255Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-08T07:49:28.255Z] Release-Date: 2020-01-08 [2022-07-08T07:49:28.255Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-08T07:49:28.255Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-08T07:49:28.255Z] ==> Jenkins CI detected. [2022-07-08T07:49:28.255Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-08T07:49:28.255Z] project root: . [2022-07-08T07:49:28.255Z] --> token set from env [2022-07-08T07:49:28.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-08T07:49:28.255Z] ==> Running gcov in . (disable via -X gcov) [2022-07-08T07:49:28.255Z] ==> Python coveragepy not found [2022-07-08T07:49:28.255Z] ==> Searching for coverage reports in: [2022-07-08T07:49:28.255Z] + . [2022-07-08T07:49:28.255Z] -> Found 1 reports [2022-07-08T07:49:28.255Z] ==> Detecting git/mercurial file structure [2022-07-08T07:49:28.255Z] ==> Reading reports [2022-07-08T07:49:28.255Z] + ./coverage.out bytes=70262 [2022-07-08T07:49:28.255Z] ==> Appending adjustments [2022-07-08T07:49:28.255Z] https://docs.codecov.io/docs/fixing-reports [2022-07-08T07:49:28.516Z] + Found adjustments [2022-07-08T07:49:28.516Z] ==> Gzipping contents [2022-07-08T07:49:28.516Z] 12K /tmp/codecov.mEQebU.gz [2022-07-08T07:49:28.516Z] ==> Uploading reports [2022-07-08T07:49:28.516Z] url: https://codecov.io [2022-07-08T07:49:28.516Z] query: branch=PR-103&commit=259d7c59e1a198909ec985cd75e1c4cac676cc05&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-08T07:49:28.516Z] -> Pinging Codecov [2022-07-08T07:49:28.516Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=259d7c59e1a198909ec985cd75e1c4cac676cc05&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-08T07:49:28.778Z] -> Uploading to [2022-07-08T07:49:28.778Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-08/F29A59C45E3A92E06B3E522C9905F8EF/259d7c59e1a198909ec985cd75e1c4cac676cc05/d9d21756-0ea6-4fd0-8e89-1051f5adafa8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220708%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220708T074928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87614bd3f0d3426e2abb3c1c48fc28862144f43cb456735343b3c92571b7a906 [2022-07-08T07:49:28.778Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-08T07:49:28.778Z] Dload Upload Total Spent Left Speed [2022-07-08T07:49:29.039Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9499 0 0 100 9499 0 39744 --:--:-- --:--:-- --:--:-- 39744 [2022-07-08T07:49:29.039Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/259d7c59e1a198909ec985cd75e1c4cac676cc05 [Pipeline] } [2022-07-08T07:49:29.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-08T07:49:29.760Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] [2022-07-08T07:49:29.760Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T07:49:29.760Z] total 16 [2022-07-08T07:49:29.760Z] drwxr-xr-x 3 root root 4096 Jul 8 07:41 . [2022-07-08T07:49:29.760Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 07:41 .. [2022-07-08T07:49:29.760Z] drwxr-xr-x 2 root root 4096 Jul 8 07:41 cost [2022-07-08T07:49:29.760Z] -rw-r--r-- 1 root root 90 Jul 8 07:41 cost.csv [2022-07-08T07:49:29.760Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T07:49:29.760Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T07:49:29.760Z] total 16 [2022-07-08T07:49:29.760Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 07:41 . [2022-07-08T07:49:29.760Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 07:41 .. [2022-07-08T07:49:29.760Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 8 07:41 cost [2022-07-08T07:49:29.760Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 8 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:30.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:30.728Z] ---> package-listing.sh [2022-07-08T07:49:30.728Z] ++ facter osfamily [2022-07-08T07:49:30.728Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-08T07:49:30.989Z] + OS_FAMILY=debian [2022-07-08T07:49:30.989Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-103 [2022-07-08T07:49:30.989Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-08T07:49:30.989Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-08T07:49:30.989Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-08T07:49:30.989Z] + PACKAGES=/tmp/packages_start.txt [2022-07-08T07:49:30.989Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-08T07:49:30.989Z] + PACKAGES=/tmp/packages_end.txt [2022-07-08T07:49:30.989Z] + case "${OS_FAMILY}" in [2022-07-08T07:49:30.989Z] + dpkg -l [2022-07-08T07:49:30.989Z] + grep '^ii' [2022-07-08T07:49:30.989Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-08T07:49:30.989Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-08T07:49:30.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-08T07:49:30.989Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-08T07:49:30.989Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ [2022-07-08T07:49:30.989Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo [2022-07-08T07:49:31.002Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-08T07:49:31.282Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T07:49:31.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T07:49:31.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T07:49:31.938Z] prd-ubuntu20.04-docker-8c-8g-17228 does not seem to be running inside a container [2022-07-08T07:49:31.967Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@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-07-08T07:49:32.190Z] $ docker top 2f9aa1bfc42db32d1a7e8456f92e9e7d3f6a489f9dc6e5574c5bf1cd40178f1f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T07:49:32.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-08T07:49:32.842Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-08T07:49:33.133Z] + ls /var/log/sa-host [2022-07-08T07:49:33.133Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T07:49:33.259Z] provisioning config files... [2022-07-08T07:49:33.268Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config569180743839938852tmp [Pipeline] { [Pipeline] echo [2022-07-08T07:49:33.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:33.565Z] ---> create-netrc.sh [Pipeline] } [2022-07-08T07:49:33.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:33.900Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-08T07:49:33.909Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:34.195Z] ---> sudo-logs.sh [2022-07-08T07:49:34.195Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-08T07:49:34.219Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:34.505Z] ---> job-cost.sh [2022-07-08T07:49:34.505Z] lf-activate-venv: SKIPPING [2022-07-08T07:49:34.505Z] DEBUG: total: 0.2199999988079071 [2022-07-08T07:49:34.505Z] INFO: Retrieving Stack Cost... [2022-07-08T07:49:35.075Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-08T07:49:35.336Z] INFO: Archiving Costs [Pipeline] echo [2022-07-08T07:49:35.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T07:49:35.639Z] ---> logs-deploy.sh [2022-07-08T07:49:35.639Z] lf-activate-venv: SKIPPING [2022-07-08T07:49:35.639Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/5 [2022-07-08T07:49:35.639Z] INFO: archiving workspace using pattern(s): [2022-07-08T07:49:36.580Z] Archives upload complete. [2022-07-08T07:49:36.580Z] INFO: archiving logs to Nexus