Pull request #87 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 ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 rather than 74261d7ae4a424e0f182f3dc5054176a36de88c3 Obtained Jenkinsfile from b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 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-ssh3501800121721535138.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-ssh8863727602380074334.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-87/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-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17977486403831809906.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-ssh18354786029225190472.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-87/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-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17835153233394749235.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-16253 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 into PR head commit 74261d7ae4a424e0f182f3dc5054176a36de88c3 Merge succeeded, producing 08e854daba5477ef3edf886d82dc1fd88a4f1089 Checking out Revision 08e854daba5477ef3edf886d82dc1fd88a4f1089 (PR-87) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74261d7ae4a424e0f182f3dc5054176a36de88c3 # 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 b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08e854daba5477ef3edf886d82dc1fd88a4f1089 # timeout=10 Commit message: "Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T18:26:37.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T18:26:37.797Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T18:26:37.814Z] ========================================================= [2022-06-28T18:26:37.814Z] EdgeX Global Pipelines Version Info [2022-06-28T18:26:37.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d52b3279de4d5a1a11de2b80528bef128d39226f # timeout=10 [2022-06-28T18:26:38.566Z] ------------------- [2022-06-28T18:26:38.566Z] stable info: [2022-06-28T18:26:38.566Z] ------------------- [2022-06-28T18:26:38.566Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T18:26:38.566Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T18:26:38.566Z] Message: update stable to v1.0.234 [2022-06-28T18:26:39.140Z] ------------------- [2022-06-28T18:26:39.140Z] experimental info: [2022-06-28T18:26:39.140Z] ------------------- [2022-06-28T18:26:39.140Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T18:26:39.140Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T18:26:39.140Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T18:26:39.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T18:26:39.370Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T18:26:39.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T18:26:39.397Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T18:26:39.412Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T18:26:39.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T18:26:39.438Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T18:26:39.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T18:26:39.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T18:26:39.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T18:26:39.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T18:26:39.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T18:26:39.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T18:26:39.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T18:26:39.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T18:26:39.570Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T18:26:39.588Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T18:26:39.597Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T18:26:39.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T18:26:39.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T18:26:39.636Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T18:26:39.649Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T18:26:39.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T18:26:39.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T18:26:39.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T18:26:39.708Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T18:26:39.726Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T18:26:39.741Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-28T18:26:39.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-28T18:26:39.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-28T18:26:39.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08e854daba5477ef3edf886d82dc1fd88a4f1089 [Pipeline] echo [2022-06-28T18:26:39.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08e854d [Pipeline] echo [2022-06-28T18:26:39.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T18:26:39.841Z] provisioning config files... [2022-06-28T18:26:39.857Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config7561676200282912596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:26:40.170Z] ---> docker-login.sh [2022-06-28T18:26:40.170Z] nexus3.edgexfoundry.org:10001 [2022-06-28T18:26:40.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:40.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:40.431Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:40.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:40.431Z] [2022-06-28T18:26:40.431Z] Login Succeeded [2022-06-28T18:26:40.431Z] nexus3.edgexfoundry.org:10002 [2022-06-28T18:26:40.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:40.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:40.693Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:40.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:40.693Z] [2022-06-28T18:26:40.693Z] Login Succeeded [2022-06-28T18:26:40.693Z] nexus3.edgexfoundry.org:10003 [2022-06-28T18:26:40.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:40.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:40.693Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:40.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:40.693Z] [2022-06-28T18:26:40.693Z] Login Succeeded [2022-06-28T18:26:40.693Z] nexus3.edgexfoundry.org:10004 [2022-06-28T18:26:40.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:40.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:40.954Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:40.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:40.954Z] [2022-06-28T18:26:40.954Z] Login Succeeded [2022-06-28T18:26:40.954Z] docker.io [2022-06-28T18:26:40.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:41.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:41.215Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:41.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:41.215Z] [2022-06-28T18:26:41.215Z] Login Succeeded [2022-06-28T18:26:41.215Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T18:26:41.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T18:26:41.593Z] + git rev-list -1 --merges 08e854daba5477ef3edf886d82dc1fd88a4f1089~1..08e854daba5477ef3edf886d82dc1fd88a4f1089 [Pipeline] echo [2022-06-28T18:26:41.621Z] -----------> git rev-list -1 --merges 08e854daba5477ef3edf886d82dc1fd88a4f1089~1..08e854daba5477ef3edf886d82dc1fd88a4f1089 08e854daba5477ef3edf886d82dc1fd88a4f1089 [2022-06-28T18:26:41.621Z] 08e854daba5477ef3edf886d82dc1fd88a4f1089 [false] [Pipeline] sh [2022-06-28T18:26:41.916Z] + git log --format=format:%s -1 08e854daba5477ef3edf886d82dc1fd88a4f1089 [Pipeline] echo [2022-06-28T18:26:41.930Z] ========================================================= [2022-06-28T18:26:41.930Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T18:26:41.930Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T18:26:42.266Z] + git log --format=format:%s -1 08e854daba5477ef3edf886d82dc1fd88a4f1089 [Pipeline] echo [2022-06-28T18:26:42.279Z] [semverPrep] GIT_COMMIT: 08e854daba5477ef3edf886d82dc1fd88a4f1089, Commit Message: Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD [Pipeline] echo [2022-06-28T18:26:42.290Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T18:26:42.654Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T18:26:42.654Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T18:26:42.654Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T18:26:42.654Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T18:26:42.654Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T18:26:42.654Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T18:26:42.654Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:26:43.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T18:26:43.105Z] [2022-06-28T18:26:43.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:26:43.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T18:26:43.420Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T18:26:43.420Z] 42c077c10790: Pulling fs layer [2022-06-28T18:26:43.420Z] f63e77b7563a: Pulling fs layer [2022-06-28T18:26:43.420Z] bd5fdadae976: Pulling fs layer [2022-06-28T18:26:43.420Z] 205491f53016: Pulling fs layer [2022-06-28T18:26:43.420Z] df18705c85c3: Pulling fs layer [2022-06-28T18:26:43.420Z] bdb3f477010e: Pulling fs layer [2022-06-28T18:26:43.420Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T18:26:43.420Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T18:26:43.420Z] bdb8f0575790: Pulling fs layer [2022-06-28T18:26:43.420Z] df18705c85c3: Waiting [2022-06-28T18:26:43.420Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T18:26:43.420Z] 2343380bae48: Pulling fs layer [2022-06-28T18:26:43.420Z] 205491f53016: Waiting [2022-06-28T18:26:43.420Z] bdb3f477010e: Waiting [2022-06-28T18:26:43.420Z] bdb8f0575790: Waiting [2022-06-28T18:26:43.420Z] c8a8fc8e1c8f: Waiting [2022-06-28T18:26:43.420Z] 386e3cb2ff24: Waiting [2022-06-28T18:26:43.420Z] 2c6e9b1d212d: Waiting [2022-06-28T18:26:43.420Z] 2343380bae48: Waiting [2022-06-28T18:26:43.420Z] f63e77b7563a: Verifying Checksum [2022-06-28T18:26:43.420Z] f63e77b7563a: Download complete [2022-06-28T18:26:43.420Z] 205491f53016: Verifying Checksum [2022-06-28T18:26:43.420Z] 205491f53016: Download complete [2022-06-28T18:26:43.420Z] df18705c85c3: Verifying Checksum [2022-06-28T18:26:43.420Z] df18705c85c3: Download complete [2022-06-28T18:26:43.420Z] bdb3f477010e: Download complete [2022-06-28T18:26:43.680Z] bd5fdadae976: Verifying Checksum [2022-06-28T18:26:43.680Z] bd5fdadae976: Download complete [2022-06-28T18:26:43.680Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T18:26:43.680Z] 2c6e9b1d212d: Download complete [2022-06-28T18:26:43.680Z] bdb8f0575790: Verifying Checksum [2022-06-28T18:26:43.680Z] bdb8f0575790: Download complete [2022-06-28T18:26:43.680Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T18:26:43.680Z] 386e3cb2ff24: Download complete [2022-06-28T18:26:43.680Z] 2343380bae48: Verifying Checksum [2022-06-28T18:26:43.680Z] 2343380bae48: Download complete [2022-06-28T18:26:43.680Z] 42c077c10790: Download complete [2022-06-28T18:26:43.940Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-28T18:26:43.940Z] c8a8fc8e1c8f: Download complete [2022-06-28T18:26:45.326Z] 42c077c10790: Pull complete [2022-06-28T18:26:45.326Z] f63e77b7563a: Pull complete [2022-06-28T18:26:45.589Z] bd5fdadae976: Pull complete [2022-06-28T18:26:45.849Z] 205491f53016: Pull complete [2022-06-28T18:26:46.115Z] df18705c85c3: Pull complete [2022-06-28T18:26:46.115Z] bdb3f477010e: Pull complete [2022-06-28T18:26:48.043Z] c8a8fc8e1c8f: Pull complete [2022-06-28T18:26:48.043Z] 2c6e9b1d212d: Pull complete [2022-06-28T18:26:48.043Z] bdb8f0575790: Pull complete [2022-06-28T18:26:48.043Z] 386e3cb2ff24: Pull complete [2022-06-28T18:26:48.306Z] 2343380bae48: Pull complete [2022-06-28T18:26:48.306Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T18:26:48.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T18:26:48.306Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:26:48.411Z] prd-ubuntu20.04-docker-8c-8g-16253 does not seem to be running inside a container [2022-06-28T18:26:48.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T18:26:49.812Z] $ docker top db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T18:26:49.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T18:26:49.918Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T18:26:50.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T18:26:50.065Z] $ docker exec db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 ssh-agent [2022-06-28T18:26:50.194Z] SSH_AUTH_SOCK=/tmp/ssh-E1vcmyKd6smb/agent.32 [2022-06-28T18:26:50.194Z] SSH_AGENT_PID=39 [2022-06-28T18:26:50.202Z] Running ssh-add (command line suppressed) [2022-06-28T18:26:50.333Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_5408999366253444332.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_5408999366253444332.key) [2022-06-28T18:26:50.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T18:26:50.634Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T18:26:50.654Z] $ docker exec --env ******** --env ******** db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 ssh-agent -k [2022-06-28T18:26:50.769Z] unset SSH_AUTH_SOCK; [2022-06-28T18:26:50.769Z] unset SSH_AGENT_PID; [2022-06-28T18:26:50.769Z] echo Agent pid 39 killed; [2022-06-28T18:26:50.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T18:26:50.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T18:26:50.808Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T18:26:50.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T18:26:50.951Z] $ docker exec db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 ssh-agent [2022-06-28T18:26:51.097Z] SSH_AUTH_SOCK=/tmp/ssh-BPHmPlxlOejQ/agent.71 [2022-06-28T18:26:51.097Z] SSH_AGENT_PID=77 [2022-06-28T18:26:51.107Z] Running ssh-add (command line suppressed) [2022-06-28T18:26:51.255Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_7868092847923637986.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_7868092847923637986.key) [2022-06-28T18:26:51.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T18:26:51.552Z] + git semver init [2022-06-28T18:26:51.813Z] 2022-06-28 18:26:51,788 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T18:26:51.813Z] 2022-06-28 18:26:51,789 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-28T18:26:51.813Z] 2022-06-28 18:26:51,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-28T18:26:51.813Z] 2022-06-28 18:26:51,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,463 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,464 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,464 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,469 [execute] INFO git cat-file --batch-check [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,476 [execute] INFO git cat-file --batch [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,476 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T18:26:52.757Z] 2022-06-28 18:26:52,481 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-28T18:26:52.757Z] 0.0.0 [Pipeline] } [2022-06-28T18:26:52.771Z] $ docker exec --env ******** --env ******** db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 ssh-agent -k [2022-06-28T18:26:52.874Z] unset SSH_AUTH_SOCK; [2022-06-28T18:26:52.874Z] unset SSH_AGENT_PID; [2022-06-28T18:26:52.875Z] echo Agent pid 77 killed; [2022-06-28T18:26:52.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T18:26:53.190Z] + git semver [Pipeline] } [2022-06-28T18:26:53.467Z] $ docker stop --time=1 db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 [2022-06-28T18:26:54.787Z] $ docker rm -f db9a794ce6d437cc476c5959210e87517db34d2207a034d63fe35a9eb6d47629 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T18:26:55.133Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T18:26:55.397Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T18:26:55.400Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T18:26:55.507Z] provisioning config files... [2022-06-28T18:26:55.515Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3701317943980762225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:26:55.820Z] ---> docker-login.sh [2022-06-28T18:26:55.820Z] nexus3.edgexfoundry.org:10001 [2022-06-28T18:26:55.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:55.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:55.820Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:55.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:55.820Z] [2022-06-28T18:26:55.820Z] Login Succeeded [2022-06-28T18:26:55.820Z] nexus3.edgexfoundry.org:10002 [2022-06-28T18:26:55.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:56.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:56.081Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:56.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:56.081Z] [2022-06-28T18:26:56.081Z] Login Succeeded [2022-06-28T18:26:56.081Z] nexus3.edgexfoundry.org:10003 [2022-06-28T18:26:56.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:56.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:56.082Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:56.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:56.082Z] [2022-06-28T18:26:56.082Z] Login Succeeded [2022-06-28T18:26:56.082Z] nexus3.edgexfoundry.org:10004 [2022-06-28T18:26:56.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:56.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:56.343Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:56.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:56.343Z] [2022-06-28T18:26:56.343Z] Login Succeeded [2022-06-28T18:26:56.343Z] docker.io [2022-06-28T18:26:56.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:26:56.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:26:56.605Z] Configure a credential helper to remove this warning. See [2022-06-28T18:26:56.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:26:56.605Z] [2022-06-28T18:26:56.605Z] Login Succeeded [2022-06-28T18:26:56.605Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T18:26:56.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T18:26:56.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T18:26:56.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T18:26:56.699Z] ========================================================= [2022-06-28T18:26:56.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T18:26:56.699Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:26:57.019Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T18:26:57.019Z] Sending build context to Docker daemon 8.86MB [2022-06-28T18:26:57.019Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T18:26:57.019Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T18:26:57.019Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T18:26:57.019Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T18:26:57.019Z] 666ba61612fd: Pulling fs layer [2022-06-28T18:26:57.019Z] 8ed8ca486205: Pulling fs layer [2022-06-28T18:26:57.019Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T18:26:57.019Z] c516ae0d96e1: Pulling fs layer [2022-06-28T18:26:57.019Z] 684cea983483: Pulling fs layer [2022-06-28T18:26:57.019Z] dd3240ac7de5: Pulling fs layer [2022-06-28T18:26:57.019Z] b1e948a4e11c: Pulling fs layer [2022-06-28T18:26:57.019Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T18:26:57.019Z] 646ad004c059: Pulling fs layer [2022-06-28T18:26:57.019Z] dd3240ac7de5: Waiting [2022-06-28T18:26:57.019Z] b1e948a4e11c: Waiting [2022-06-28T18:26:57.019Z] a8fd76ee1af6: Waiting [2022-06-28T18:26:57.019Z] cc1cd167ecdc: Waiting [2022-06-28T18:26:57.019Z] 646ad004c059: Waiting [2022-06-28T18:26:57.019Z] 684cea983483: Waiting [2022-06-28T18:26:57.019Z] c516ae0d96e1: Waiting [2022-06-28T18:26:57.279Z] 8ed8ca486205: Verifying Checksum [2022-06-28T18:26:57.279Z] 8ed8ca486205: Download complete [2022-06-28T18:26:57.279Z] 666ba61612fd: Download complete [2022-06-28T18:26:57.279Z] c516ae0d96e1: Verifying Checksum [2022-06-28T18:26:57.279Z] c516ae0d96e1: Download complete [2022-06-28T18:26:57.279Z] 684cea983483: Verifying Checksum [2022-06-28T18:26:57.279Z] 684cea983483: Download complete [2022-06-28T18:26:57.279Z] dd3240ac7de5: Verifying Checksum [2022-06-28T18:26:57.279Z] dd3240ac7de5: Download complete [2022-06-28T18:26:57.279Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T18:26:57.279Z] 59bf1c3509f3: Download complete [2022-06-28T18:26:57.279Z] b1e948a4e11c: Verifying Checksum [2022-06-28T18:26:57.279Z] b1e948a4e11c: Download complete [2022-06-28T18:26:57.279Z] 59bf1c3509f3: Pull complete [2022-06-28T18:26:57.541Z] 666ba61612fd: Pull complete [2022-06-28T18:26:57.541Z] 8ed8ca486205: Pull complete [2022-06-28T18:26:57.802Z] 646ad004c059: Verifying Checksum [2022-06-28T18:26:57.802Z] 646ad004c059: Download complete [2022-06-28T18:26:57.802Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T18:26:57.802Z] a8fd76ee1af6: Download complete [2022-06-28T18:26:58.063Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T18:26:58.063Z] cc1cd167ecdc: Download complete [2022-06-28T18:27:01.363Z] cc1cd167ecdc: Pull complete [2022-06-28T18:27:01.363Z] c516ae0d96e1: Pull complete [2022-06-28T18:27:01.363Z] 684cea983483: Pull complete [2022-06-28T18:27:01.622Z] dd3240ac7de5: Pull complete [2022-06-28T18:27:01.622Z] b1e948a4e11c: Pull complete [2022-06-28T18:27:03.530Z] a8fd76ee1af6: Pull complete [2022-06-28T18:27:04.469Z] 646ad004c059: Pull complete [2022-06-28T18:27:04.469Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T18:27:04.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T18:27:04.469Z] ---> 8f69c11f6b0c [2022-06-28T18:27:04.469Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T18:27:05.854Z] ---> Running in d794c52f3493 [2022-06-28T18:27:05.854Z] Removing intermediate container d794c52f3493 [2022-06-28T18:27:05.854Z] ---> f762b24feefd [2022-06-28T18:27:05.854Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T18:27:06.116Z] ---> Running in 87e32cf1d32f [2022-06-28T18:27:06.116Z] Removing intermediate container 87e32cf1d32f [2022-06-28T18:27:06.116Z] ---> 8b7efa50c5d2 [2022-06-28T18:27:06.116Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T18:27:06.116Z] ---> Running in 9b4be79cd4f5 [2022-06-28T18:27:06.116Z] Removing intermediate container 9b4be79cd4f5 [2022-06-28T18:27:06.116Z] ---> 313fc982d8fc [2022-06-28T18:27:06.116Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T18:27:06.375Z] ---> Running in b48f511c329f [2022-06-28T18:27:06.375Z] Removing intermediate container b48f511c329f [2022-06-28T18:27:06.375Z] ---> 20bf0b686dea [2022-06-28T18:27:06.375Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T18:27:06.375Z] ---> Running in 1994a13ff88e [2022-06-28T18:27:06.944Z] Removing intermediate container 1994a13ff88e [2022-06-28T18:27:06.944Z] ---> 250cf5eca746 [2022-06-28T18:27:06.944Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T18:27:06.944Z] ---> Running in cd3f156aea33 [2022-06-28T18:27:07.204Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T18:27:08.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T18:27:08.408Z] OK: 221 MiB in 52 packages [2022-06-28T18:27:08.668Z] Removing intermediate container cd3f156aea33 [2022-06-28T18:27:08.668Z] ---> 96a6b596273d [2022-06-28T18:27:08.668Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T18:27:08.668Z] ---> Running in 77cdd4f4e4a6 [2022-06-28T18:27:08.930Z] Removing intermediate container 77cdd4f4e4a6 [2022-06-28T18:27:08.930Z] ---> e716d977f521 [2022-06-28T18:27:08.930Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T18:27:08.930Z] ---> f288cb7428b6 [2022-06-28T18:27:08.930Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T18:27:09.189Z] ---> Running in b0ce9c20e733 [2022-06-28T18:27:10.481Z] Still waiting to schedule task [2022-06-28T18:27:10.481Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-28T18:27:27.307Z] Removing intermediate container b0ce9c20e733 [2022-06-28T18:27:27.307Z] ---> 7921ff42b35e [2022-06-28T18:27:27.307Z] Step 12/13 : COPY . . [2022-06-28T18:27:27.880Z] ---> b3a5a9cc61f0 [2022-06-28T18:27:27.880Z] Step 13/13 : RUN ${MAKE} [2022-06-28T18:27:27.880Z] ---> Running in 94554781527e [2022-06-28T18:27:28.139Z] noop [2022-06-28T18:27:28.400Z] Removing intermediate container 94554781527e [2022-06-28T18:27:28.400Z] ---> 59ebabad50a6 [2022-06-28T18:27:28.400Z] Successfully built 59ebabad50a6 [2022-06-28T18:27:28.400Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:27:28.720Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T18:27:28.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:27:28.799Z] prd-ubuntu20.04-docker-8c-8g-16253 does not seem to be running inside a container [2022-06-28T18:27:28.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T18:27:29.181Z] $ docker top a60c9ba92b467dfd39e2f9e02083381c6b3b4d169c92ab7ef4392864f368be2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T18:27:29.527Z] + go version [2022-06-28T18:27:29.527Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T18:27:29.544Z] $ docker stop --time=1 a60c9ba92b467dfd39e2f9e02083381c6b3b4d169c92ab7ef4392864f368be2c [2022-06-28T18:27:30.837Z] $ docker rm -f a60c9ba92b467dfd39e2f9e02083381c6b3b4d169c92ab7ef4392864f368be2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:27:31.249Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T18:27:31.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:27:31.341Z] prd-ubuntu20.04-docker-8c-8g-16253 does not seem to be running inside a container [2022-06-28T18:27:31.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T18:27:31.909Z] $ docker top f4a5cf52dd4a5896ee5eeb15606cb1cfc20fa1b8b12805474fc6a60708f61440 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T18:27:32.267Z] + make test [2022-06-28T18:27:32.267Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T18:27:32.527Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T18:27:42.508Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T18:27:42.508Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 5.8% of statements [2022-06-28T18:27:46.710Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.069s coverage: 13.8% of statements [2022-06-28T18:27:53.310Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T18:27:57.529Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T18:27:57.529Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T18:27:57.529Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T18:27:57.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T18:27:57.819Z] $ docker stop --time=1 f4a5cf52dd4a5896ee5eeb15606cb1cfc20fa1b8b12805474fc6a60708f61440 [2022-06-28T18:27:59.644Z] $ docker rm -f f4a5cf52dd4a5896ee5eeb15606cb1cfc20fa1b8b12805474fc6a60708f61440 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T18:28:00.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T18:28:00.127Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-28T18:28:00.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T18:28:00.922Z] + ls -al . [2022-06-28T18:28:00.922Z] total 240 [2022-06-28T18:28:00.922Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 18:27 . [2022-06-28T18:28:00.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:26 .. [2022-06-28T18:28:00.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 18:26 .git [2022-06-28T18:28:00.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:26 .github [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 18:26 .gitignore [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 18:26 .golangci.yml [2022-06-28T18:28:00.922Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 18:26 .semver [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 18:26 Attribution.txt [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 18:26 CHANGELOG.md [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 18:26 Dockerfile [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 18:26 GOVERNANCE.md [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 18:26 Jenkinsfile [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 18:26 LICENSE [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 18:26 Makefile [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 18:26 OWNERS.md [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 18:26 README.md [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 18:26 VERSION [2022-06-28T18:28:00.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:26 bin [2022-06-28T18:28:00.922Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 18:26 cmd [2022-06-28T18:28:00.922Z] -rw-r--r-- 1 jenkins jenkins 64610 Jun 28 18:27 coverage.out [2022-06-28T18:28:00.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:26 doc [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 18:26 go.mod [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 18:26 go.sum [2022-06-28T18:28:00.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:26 internal [2022-06-28T18:28:00.922Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 18:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:28:01.237Z] + 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=08e854daba5477ef3edf886d82dc1fd88a4f1089 --label arch=amd64 --label version=0.0.0 . [2022-06-28T18:28:01.237Z] Sending build context to Docker daemon 8.925MB [2022-06-28T18:28:01.237Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T18:28:01.237Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T18:28:01.237Z] ---> 59ebabad50a6 [2022-06-28T18:28:01.237Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T18:28:01.497Z] ---> Running in 565353ea1eff [2022-06-28T18:28:01.497Z] Removing intermediate container 565353ea1eff [2022-06-28T18:28:01.497Z] ---> 0562d96ef052 [2022-06-28T18:28:01.497Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T18:28:01.497Z] ---> Running in 8d3dfadb22f6 [2022-06-28T18:28:01.497Z] Removing intermediate container 8d3dfadb22f6 [2022-06-28T18:28:01.497Z] ---> 2324233e85bd [2022-06-28T18:28:01.497Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T18:28:01.497Z] ---> Running in 5267b4ad70ed [2022-06-28T18:28:01.757Z] Removing intermediate container 5267b4ad70ed [2022-06-28T18:28:01.757Z] ---> 365760c779de [2022-06-28T18:28:01.757Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T18:28:01.757Z] ---> Running in 535b429e8bfe [2022-06-28T18:28:01.757Z] Removing intermediate container 535b429e8bfe [2022-06-28T18:28:01.757Z] ---> ca254c282f21 [2022-06-28T18:28:01.757Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T18:28:01.757Z] ---> Running in f5260c3bd00e [2022-06-28T18:28:02.697Z] Removing intermediate container f5260c3bd00e [2022-06-28T18:28:02.697Z] ---> f848e2eb2a49 [2022-06-28T18:28:02.697Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T18:28:02.697Z] ---> Running in 5f3856471193 [2022-06-28T18:28:02.697Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T18:28:03.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T18:28:03.897Z] OK: 221 MiB in 52 packages [2022-06-28T18:28:04.160Z] Removing intermediate container 5f3856471193 [2022-06-28T18:28:04.160Z] ---> b254ee9d6989 [2022-06-28T18:28:04.160Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T18:28:04.424Z] ---> Running in 62de2da48d14 [2022-06-28T18:28:04.424Z] Removing intermediate container 62de2da48d14 [2022-06-28T18:28:04.424Z] ---> b92e80a3c39b [2022-06-28T18:28:04.424Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T18:28:04.424Z] ---> dd2a37311dc2 [2022-06-28T18:28:04.424Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T18:28:04.684Z] ---> Running in 761611be82a8 [2022-06-28T18:28:05.253Z] Removing intermediate container 761611be82a8 [2022-06-28T18:28:05.253Z] ---> e5f2801f30af [2022-06-28T18:28:05.253Z] Step 12/26 : COPY . . [2022-06-28T18:28:05.513Z] ---> 1bc67038c570 [2022-06-28T18:28:05.513Z] Step 13/26 : RUN ${MAKE} [2022-06-28T18:28:05.513Z] ---> Running in f13ee07e4a5a [2022-06-28T18:28:05.773Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T18:28:27.782Z] Removing intermediate container f13ee07e4a5a [2022-06-28T18:28:27.782Z] ---> 22c725d5e3ec [2022-06-28T18:28:27.782Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T18:28:27.782Z] 3.15: Pulling from library/alpine [2022-06-28T18:28:27.782Z] df9b9388f04a: Pulling fs layer [2022-06-28T18:28:27.782Z] df9b9388f04a: Verifying Checksum [2022-06-28T18:28:27.782Z] df9b9388f04a: Download complete [2022-06-28T18:28:27.782Z] df9b9388f04a: Pull complete [2022-06-28T18:28:27.782Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T18:28:27.782Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T18:28:27.782Z] ---> 0ac33e5f5afa [2022-06-28T18:28:27.782Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T18:28:27.782Z] ---> Running in d1754d2efe25 [2022-06-28T18:28:27.782Z] Removing intermediate container d1754d2efe25 [2022-06-28T18:28:27.782Z] ---> db3841935f64 [2022-06-28T18:28:27.782Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T18:28:27.782Z] ---> Running in 03da229ff623 [2022-06-28T18:28:27.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T18:28:27.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T18:28:27.782Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T18:28:27.782Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T18:28:27.782Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T18:28:27.782Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T18:28:27.782Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T18:28:27.782Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T18:28:27.782Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T18:28:27.782Z] OK: 8 MiB in 20 packages [2022-06-28T18:28:27.782Z] Removing intermediate container 03da229ff623 [2022-06-28T18:28:27.782Z] ---> 03222d09da81 [2022-06-28T18:28:27.782Z] Step 17/26 : WORKDIR / [2022-06-28T18:28:27.782Z] ---> Running in 67b1ecf2b111 [2022-06-28T18:28:27.782Z] Removing intermediate container 67b1ecf2b111 [2022-06-28T18:28:27.782Z] ---> b8c45079154c [2022-06-28T18:28:27.782Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T18:28:28.043Z] ---> 314e9f1319e7 [2022-06-28T18:28:28.043Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T18:28:28.043Z] ---> 47d754d7f9ac [2022-06-28T18:28:28.043Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T18:28:28.305Z] ---> 52c6decd9f49 [2022-06-28T18:28:28.305Z] Step 21/26 : EXPOSE 59984 [2022-06-28T18:28:28.305Z] ---> Running in 5d286c90dd30 [2022-06-28T18:28:28.305Z] Removing intermediate container 5d286c90dd30 [2022-06-28T18:28:28.305Z] ---> a3f53f687c09 [2022-06-28T18:28:28.305Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T18:28:28.305Z] ---> Running in ad44e3aea89c [2022-06-28T18:28:28.565Z] Removing intermediate container ad44e3aea89c [2022-06-28T18:28:28.565Z] ---> 44738c0d4325 [2022-06-28T18:28:28.565Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T18:28:28.565Z] ---> Running in 86b6a846c910 [2022-06-28T18:28:28.565Z] Removing intermediate container 86b6a846c910 [2022-06-28T18:28:28.565Z] ---> fb9f97226061 [2022-06-28T18:28:28.565Z] Step 24/26 : LABEL arch=amd64 [2022-06-28T18:28:28.826Z] ---> Running in 66dba10191aa [2022-06-28T18:28:28.826Z] Removing intermediate container 66dba10191aa [2022-06-28T18:28:28.826Z] ---> 195f58a9c7a9 [2022-06-28T18:28:28.826Z] Step 25/26 : LABEL git_sha=08e854daba5477ef3edf886d82dc1fd88a4f1089 [2022-06-28T18:28:28.826Z] ---> Running in 10e94d4561b8 [2022-06-28T18:28:29.087Z] Removing intermediate container 10e94d4561b8 [2022-06-28T18:28:29.087Z] ---> ac3e19b89935 [2022-06-28T18:28:29.087Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T18:28:29.087Z] ---> Running in 5c45fccac60d [2022-06-28T18:28:29.348Z] Removing intermediate container 5c45fccac60d [2022-06-28T18:28:29.348Z] ---> c80c92929a00 [2022-06-28T18:28:29.348Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T18:28:29.348Z] Successfully built c80c92929a00 [2022-06-28T18:28:29.348Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:28:29.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T18:28:29.771Z] [2022-06-28T18:28:29.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:28:30.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T18:28:30.072Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T18:28:30.072Z] 5eb5b503b376: Pulling fs layer [2022-06-28T18:28:30.072Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T18:28:30.072Z] ec43610c2a17: Pulling fs layer [2022-06-28T18:28:30.072Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T18:28:30.072Z] 33b1e0a273af: Pulling fs layer [2022-06-28T18:28:30.072Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T18:28:30.072Z] 2f39f015ded8: Pulling fs layer [2022-06-28T18:28:30.072Z] 33b1e0a273af: Waiting [2022-06-28T18:28:30.072Z] 2f39f015ded8: Waiting [2022-06-28T18:28:30.072Z] 5d3b04190fa2: Waiting [2022-06-28T18:28:30.072Z] 3a2ae6a8a46f: Waiting [2022-06-28T18:28:30.072Z] 5c69ac0246d0: Download complete [2022-06-28T18:28:30.072Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T18:28:30.072Z] 3a2ae6a8a46f: Download complete [2022-06-28T18:28:30.072Z] 33b1e0a273af: Verifying Checksum [2022-06-28T18:28:30.072Z] 33b1e0a273af: Download complete [2022-06-28T18:28:30.072Z] ec43610c2a17: Verifying Checksum [2022-06-28T18:28:30.072Z] ec43610c2a17: Download complete [2022-06-28T18:28:30.072Z] 5d3b04190fa2: Verifying Checksum [2022-06-28T18:28:30.072Z] 5d3b04190fa2: Download complete [2022-06-28T18:28:30.331Z] 5eb5b503b376: Download complete [2022-06-28T18:28:30.899Z] 2f39f015ded8: Download complete [2022-06-28T18:28:31.469Z] 5eb5b503b376: Pull complete [2022-06-28T18:28:31.728Z] 5c69ac0246d0: Pull complete [2022-06-28T18:28:31.987Z] ec43610c2a17: Pull complete [2022-06-28T18:28:32.247Z] 3a2ae6a8a46f: Pull complete [2022-06-28T18:28:32.247Z] 33b1e0a273af: Pull complete [2022-06-28T18:28:32.506Z] 5d3b04190fa2: Pull complete [2022-06-28T18:28:36.697Z] 2f39f015ded8: Pull complete [2022-06-28T18:28:36.697Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T18:28:36.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T18:28:36.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:28:36.785Z] prd-ubuntu20.04-docker-8c-8g-16253 does not seem to be running inside a container [2022-06-28T18:28:36.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T18:28:38.487Z] $ docker top d2d25a43f4a8e9d3b2d33baac21cdf33f46504e6731b989db39550a9d9f63b45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:28:38.887Z] ---> job-cost.sh [2022-06-28T18:28:38.888Z] lf-activate-venv: SKIPPING [2022-06-28T18:28:38.888Z] INFO: No Stack... [2022-06-28T18:28:39.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T18:28:39.718Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T18:28:40.010Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-28T18:28:40.010Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T18:28:40.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [2022-06-28T18:28:40.032Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] did not exist. Created. [2022-06-28T18:28:40.032Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T18:28:40.337Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T18:28:40.371Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T18:28:40.378Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T18:28:40.399Z] $ docker stop --time=1 d2d25a43f4a8e9d3b2d33baac21cdf33f46504e6731b989db39550a9d9f63b45 [2022-06-28T18:28:41.560Z] $ docker rm -f d2d25a43f4a8e9d3b2d33baac21cdf33f46504e6731b989db39550a9d9f63b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T18:28:47.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16254 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-28T18:28:47.433Z] Running in /w/workspace/device-onvif-camera/15 [Pipeline] { [Pipeline] checkout [2022-06-28T18:28:47.479Z] Selected Git installation does not exist. Using Default [2022-06-28T18:28:47.479Z] The recommended git tool is: NONE [2022-06-28T18:28:54.424Z] using credential edgex-jenkins-ssh [2022-06-28T18:28:54.442Z] Cloning the remote Git repository [2022-06-28T18:28:54.509Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T18:28:54.584Z] > git init /w/workspace/device-onvif-camera/15 # timeout=10 [2022-06-28T18:28:54.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T18:28:54.680Z] > git --version # timeout=10 [2022-06-28T18:28:54.700Z] > git --version # 'git version 2.25.1' [2022-06-28T18:28:54.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T18:28:54.834Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T18:28:56.303Z] Merging remotes/origin/main commit b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 into PR head commit 74261d7ae4a424e0f182f3dc5054176a36de88c3 [2022-06-28T18:28:56.718Z] Merge succeeded, producing 593160ae5e235ec267bd6dff7b3ab2c9f1b4a374 [2022-06-28T18:28:56.718Z] Checking out Revision 593160ae5e235ec267bd6dff7b3ab2c9f1b4a374 (PR-87) [2022-06-28T18:28:55.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T18:28:55.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T18:28:55.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T18:28:55.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T18:28:55.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T18:28:55.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-28T18:28:56.324Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T18:28:56.342Z] > git checkout -f 74261d7ae4a424e0f182f3dc5054176a36de88c3 # timeout=10 [2022-06-28T18:28:56.478Z] > git remote # timeout=10 [2022-06-28T18:28:56.498Z] > git config --get remote.origin.url # timeout=10 [2022-06-28T18:28:56.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T18:28:56.524Z] > git merge b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2 # timeout=10 [2022-06-28T18:28:56.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-28T18:28:56.733Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T18:28:56.746Z] > git checkout -f 593160ae5e235ec267bd6dff7b3ab2c9f1b4a374 # timeout=10 [2022-06-28T18:29:00.949Z] Commit message: "Merge commit 'b5c5b9072f42dc21f2bf043c20f0d38cd3cdc3c2' into HEAD" [2022-06-28T18:29:00.977Z] First time build. Skipping changelog. [2022-06-28T18:29:00.962Z] > git rev-list --no-walk d52b3279de4d5a1a11de2b80528bef128d39226f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T18:29:02.019Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T18:29:02.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T18:29:02.019Z] Dload Upload Total Spent Left Speed [2022-06-28T18:29:02.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh [2022-06-28T18:29:02.799Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T18:29:03.140Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T18:29:03.140Z] sudo tee /etc/docker/daemon.new [2022-06-28T18:29:03.140Z] { [2022-06-28T18:29:03.140Z] "registry-mirrors": [ [2022-06-28T18:29:03.140Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T18:29:03.140Z] ], [2022-06-28T18:29:03.140Z] "bip": "10.250.0.254/24", [2022-06-28T18:29:03.140Z] "hosts": [ [2022-06-28T18:29:03.140Z] "tcp://0.0.0.0:5555", [2022-06-28T18:29:03.140Z] "unix:///var/run/docker.sock" [2022-06-28T18:29:03.140Z] ], [2022-06-28T18:29:03.140Z] "mtu": 1458, [2022-06-28T18:29:03.140Z] "selinux-enabled": true, [2022-06-28T18:29:03.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T18:29:03.140Z] } [Pipeline] sh [2022-06-28T18:29:03.488Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T18:29:03.831Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T18:29:22.185Z] provisioning config files... [2022-06-28T18:29:22.208Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/15@tmp/config263515621486351267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:29:22.563Z] ---> docker-login.sh [2022-06-28T18:29:22.563Z] nexus3.edgexfoundry.org:10001 [2022-06-28T18:29:23.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:29:23.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:29:23.439Z] Configure a credential helper to remove this warning. See [2022-06-28T18:29:23.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:29:23.439Z] [2022-06-28T18:29:23.439Z] Login Succeeded [2022-06-28T18:29:23.439Z] nexus3.edgexfoundry.org:10002 [2022-06-28T18:29:23.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:29:23.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:29:23.712Z] Configure a credential helper to remove this warning. See [2022-06-28T18:29:23.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:29:23.712Z] [2022-06-28T18:29:23.712Z] Login Succeeded [2022-06-28T18:29:23.712Z] nexus3.edgexfoundry.org:10003 [2022-06-28T18:29:24.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:29:24.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:29:24.310Z] Configure a credential helper to remove this warning. See [2022-06-28T18:29:24.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:29:24.310Z] [2022-06-28T18:29:24.310Z] Login Succeeded [2022-06-28T18:29:24.310Z] nexus3.edgexfoundry.org:10004 [2022-06-28T18:29:24.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:29:24.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:29:24.862Z] Configure a credential helper to remove this warning. See [2022-06-28T18:29:24.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:29:24.862Z] [2022-06-28T18:29:24.862Z] Login Succeeded [2022-06-28T18:29:24.862Z] docker.io [2022-06-28T18:29:25.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T18:29:25.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T18:29:25.404Z] Configure a credential helper to remove this warning. See [2022-06-28T18:29:25.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T18:29:25.404Z] [2022-06-28T18:29:25.404Z] Login Succeeded [2022-06-28T18:29:25.404Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T18:29:25.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T18:29:25.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T18:29:25.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T18:29:25.968Z] ========================================================= [2022-06-28T18:29:25.968Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T18:29:25.969Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:29:26.335Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-28T18:29:26.609Z] Sending build context to Docker daemon 6.063MB [2022-06-28T18:29:26.609Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T18:29:26.609Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T18:29:26.884Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T18:29:26.884Z] 9b3977197b4f: Pulling fs layer [2022-06-28T18:29:26.884Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T18:29:26.884Z] 94645a83ff95: Pulling fs layer [2022-06-28T18:29:26.884Z] e6fb740bc735: Pulling fs layer [2022-06-28T18:29:26.884Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T18:29:26.884Z] 355e64cbe906: Pulling fs layer [2022-06-28T18:29:26.884Z] 63ab81a10011: Pulling fs layer [2022-06-28T18:29:26.884Z] 555d1d1c4555: Pulling fs layer [2022-06-28T18:29:26.884Z] 7d9057610161: Pulling fs layer [2022-06-28T18:29:26.884Z] e6fb740bc735: Waiting [2022-06-28T18:29:26.884Z] 3a77bd46dcc9: Waiting [2022-06-28T18:29:26.884Z] 355e64cbe906: Waiting [2022-06-28T18:29:26.884Z] 63ab81a10011: Waiting [2022-06-28T18:29:26.884Z] 555d1d1c4555: Waiting [2022-06-28T18:29:26.884Z] 7d9057610161: Waiting [2022-06-28T18:29:26.884Z] 94645a83ff95: Verifying Checksum [2022-06-28T18:29:26.884Z] 94645a83ff95: Download complete [2022-06-28T18:29:26.884Z] 1a89e8eeedd5: Download complete [2022-06-28T18:29:26.884Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T18:29:26.884Z] 3a77bd46dcc9: Download complete [2022-06-28T18:29:26.884Z] 355e64cbe906: Download complete [2022-06-28T18:29:26.884Z] 9b3977197b4f: Download complete [2022-06-28T18:29:27.173Z] 63ab81a10011: Verifying Checksum [2022-06-28T18:29:27.173Z] 63ab81a10011: Download complete [2022-06-28T18:29:27.783Z] 9b3977197b4f: Pull complete [2022-06-28T18:29:28.061Z] 7d9057610161: Verifying Checksum [2022-06-28T18:29:28.061Z] 7d9057610161: Download complete [2022-06-28T18:29:28.660Z] 1a89e8eeedd5: Pull complete [2022-06-28T18:29:28.932Z] 94645a83ff95: Pull complete [2022-06-28T18:29:29.208Z] 555d1d1c4555: Verifying Checksum [2022-06-28T18:29:29.208Z] 555d1d1c4555: Download complete [2022-06-28T18:29:29.806Z] e6fb740bc735: Verifying Checksum [2022-06-28T18:29:29.806Z] e6fb740bc735: Download complete [2022-06-28T18:29:42.226Z] e6fb740bc735: Pull complete [2022-06-28T18:29:42.226Z] 3a77bd46dcc9: Pull complete [2022-06-28T18:29:42.226Z] 355e64cbe906: Pull complete [2022-06-28T18:29:42.226Z] 63ab81a10011: Pull complete [2022-06-28T18:29:48.945Z] 555d1d1c4555: Pull complete [2022-06-28T18:29:50.925Z] 7d9057610161: Pull complete [2022-06-28T18:29:50.925Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T18:29:50.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T18:29:50.925Z] ---> 819e984ddca1 [2022-06-28T18:29:50.925Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T18:29:51.523Z] ---> Running in 1ce2b3788812 [2022-06-28T18:29:52.119Z] Removing intermediate container 1ce2b3788812 [2022-06-28T18:29:52.119Z] ---> 3da32439fa0f [2022-06-28T18:29:52.119Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T18:29:52.119Z] ---> Running in 5e117497f5ec [2022-06-28T18:29:52.392Z] Removing intermediate container 5e117497f5ec [2022-06-28T18:29:52.392Z] ---> 7ff9614a27bb [2022-06-28T18:29:52.392Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T18:29:52.392Z] ---> Running in 22b90128ebe8 [2022-06-28T18:29:52.672Z] Removing intermediate container 22b90128ebe8 [2022-06-28T18:29:52.672Z] ---> 2bfd3702e02b [2022-06-28T18:29:52.672Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T18:29:52.672Z] ---> Running in 51f4228e876c [2022-06-28T18:29:53.272Z] Removing intermediate container 51f4228e876c [2022-06-28T18:29:53.272Z] ---> f3baf68b049a [2022-06-28T18:29:53.272Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T18:29:53.272Z] ---> Running in a1809fa4046f [2022-06-28T18:29:55.262Z] Removing intermediate container a1809fa4046f [2022-06-28T18:29:55.262Z] ---> 2b44102468f9 [2022-06-28T18:29:55.262Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T18:29:55.262Z] ---> Running in 7a446d1c5a49 [2022-06-28T18:29:57.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T18:29:58.215Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T18:29:58.811Z] OK: 220 MiB in 52 packages [2022-06-28T18:29:59.791Z] Removing intermediate container 7a446d1c5a49 [2022-06-28T18:29:59.792Z] ---> f3c70fed6eb8 [2022-06-28T18:29:59.792Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T18:29:59.792Z] ---> Running in c19a5f6f5255 [2022-06-28T18:30:00.065Z] Removing intermediate container c19a5f6f5255 [2022-06-28T18:30:00.065Z] ---> 84b46f5f4051 [2022-06-28T18:30:00.065Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T18:30:00.665Z] ---> abc0165c56f0 [2022-06-28T18:30:00.665Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T18:30:00.665Z] ---> Running in f159cac69e5b [2022-06-28T18:30:47.702Z] Removing intermediate container f159cac69e5b [2022-06-28T18:30:47.702Z] ---> 7484c32785ce [2022-06-28T18:30:47.702Z] Step 12/13 : COPY . . [2022-06-28T18:30:47.977Z] ---> 684bdc3e5e79 [2022-06-28T18:30:47.977Z] Step 13/13 : RUN ${MAKE} [2022-06-28T18:30:47.977Z] ---> Running in 82d8502911b0 [2022-06-28T18:30:48.960Z] noop [2022-06-28T18:30:49.560Z] Removing intermediate container 82d8502911b0 [2022-06-28T18:30:49.560Z] ---> c7f667f63ec1 [2022-06-28T18:30:49.560Z] Successfully built c7f667f63ec1 [2022-06-28T18:30:49.560Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:30:49.926Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T18:30:49.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:30:50.162Z] prd-ubuntu20.04-docker-arm64-4c-16g-16254 does not seem to be running inside a container [2022-06-28T18:30:50.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T18:30:51.528Z] $ docker top 6226a55d3c5f3a48be19fbb73ad339048cd4301d4823c4c877b3815283ed9093 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T18:30:52.440Z] + go version [2022-06-28T18:30:52.440Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T18:30:52.466Z] $ docker stop --time=1 6226a55d3c5f3a48be19fbb73ad339048cd4301d4823c4c877b3815283ed9093 [2022-06-28T18:30:54.096Z] $ docker rm -f 6226a55d3c5f3a48be19fbb73ad339048cd4301d4823c4c877b3815283ed9093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:30:54.722Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T18:30:54.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:30:54.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-16254 does not seem to be running inside a container [2022-06-28T18:30:55.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T18:30:56.360Z] $ docker top 22770226f102593efb1bea199dd385dd432d0f5ab5108644a27441878f996c81 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T18:30:57.308Z] + make test [2022-06-28T18:30:57.308Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T18:30:59.308Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T18:32:21.172Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-28T18:32:21.773Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 5.8% of statements [2022-06-28T18:32:48.583Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.483s coverage: 13.8% of statements [2022-06-28T18:32:48.583Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-28T18:32:48.583Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-28T18:33:20.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-28T18:33:20.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-28T18:33:20.945Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-28T18:33:20.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-28T18:33:20.981Z] $ docker stop --time=1 22770226f102593efb1bea199dd385dd432d0f5ab5108644a27441878f996c81 [2022-06-28T18:33:22.761Z] $ docker rm -f 22770226f102593efb1bea199dd385dd432d0f5ab5108644a27441878f996c81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T18:33:23.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-28T18:33:23.746Z] Warning: overwriting stash ‘coverage-report’ [2022-06-28T18:33:24.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T18:33:24.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-28T18:33:24.969Z] + ls -al . [2022-06-28T18:33:24.969Z] total 236 [2022-06-28T18:33:24.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 18:33 . [2022-06-28T18:33:24.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:28 .. [2022-06-28T18:33:24.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 18:29 .git [2022-06-28T18:33:24.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:28 .github [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 28 18:28 .gitignore [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 28 18:28 .golangci.yml [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 28 18:28 Attribution.txt [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 28 18:28 CHANGELOG.md [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 28 18:28 Dockerfile [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 18:28 GOVERNANCE.md [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 28 18:28 Jenkinsfile [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 28 18:28 LICENSE [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 28 18:28 Makefile [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 28 18:28 OWNERS.md [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 28 18:28 README.md [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 28 18:26 VERSION [2022-06-28T18:33:24.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 18:28 bin [2022-06-28T18:33:24.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 18:28 cmd [2022-06-28T18:33:24.969Z] -rw-r--r-- 1 jenkins jenkins 64610 Jun 28 18:32 coverage.out [2022-06-28T18:33:24.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:28 doc [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 28 18:28 go.mod [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 28 18:28 go.sum [2022-06-28T18:33:24.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 18:28 internal [2022-06-28T18:33:24.969Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 28 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:33:25.324Z] + 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=593160ae5e235ec267bd6dff7b3ab2c9f1b4a374 --label arch=arm64 --label version=0.0.0 . [2022-06-28T18:33:25.597Z] Sending build context to Docker daemon 6.128MB [2022-06-28T18:33:25.597Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T18:33:25.597Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-28T18:33:25.871Z] ---> c7f667f63ec1 [2022-06-28T18:33:25.871Z] Step 3/26 : ARG MAKE="make build" [2022-06-28T18:33:25.871Z] ---> Running in b4dfe130ad0f [2022-06-28T18:33:26.145Z] Removing intermediate container b4dfe130ad0f [2022-06-28T18:33:26.145Z] ---> a5ce7c9def97 [2022-06-28T18:33:26.145Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T18:33:26.145Z] ---> Running in d8abb43779fd [2022-06-28T18:33:26.419Z] Removing intermediate container d8abb43779fd [2022-06-28T18:33:26.419Z] ---> aeeae3405a07 [2022-06-28T18:33:26.419Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T18:33:26.692Z] ---> Running in 8c4f1891f752 [2022-06-28T18:33:26.967Z] Removing intermediate container 8c4f1891f752 [2022-06-28T18:33:26.967Z] ---> 9e7f8bfe5cfc [2022-06-28T18:33:26.967Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-28T18:33:26.967Z] ---> Running in 6d49fbd36877 [2022-06-28T18:33:27.241Z] Removing intermediate container 6d49fbd36877 [2022-06-28T18:33:27.241Z] ---> dbc6633b1c54 [2022-06-28T18:33:27.241Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T18:33:27.528Z] ---> Running in 26562898f720 [2022-06-28T18:33:28.997Z] Removing intermediate container 26562898f720 [2022-06-28T18:33:28.997Z] ---> d5b1327040c8 [2022-06-28T18:33:28.997Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T18:33:28.997Z] ---> Running in 838dd980979f [2022-06-28T18:33:29.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T18:33:30.956Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T18:33:31.933Z] OK: 220 MiB in 52 packages [2022-06-28T18:33:32.537Z] Removing intermediate container 838dd980979f [2022-06-28T18:33:32.537Z] ---> b8762499c779 [2022-06-28T18:33:32.537Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-28T18:33:32.537Z] ---> Running in f720ba7761de [2022-06-28T18:33:33.134Z] Removing intermediate container f720ba7761de [2022-06-28T18:33:33.134Z] ---> 14e5c5f9b028 [2022-06-28T18:33:33.134Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-28T18:33:33.408Z] ---> 0fec8db4b0a2 [2022-06-28T18:33:33.408Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T18:33:33.408Z] ---> Running in d6d729e8f6c5 [2022-06-28T18:33:35.394Z] Removing intermediate container d6d729e8f6c5 [2022-06-28T18:33:35.394Z] ---> 6ae279c515e8 [2022-06-28T18:33:35.394Z] Step 12/26 : COPY . . [2022-06-28T18:33:36.840Z] ---> dd9d19e18839 [2022-06-28T18:33:36.840Z] Step 13/26 : RUN ${MAKE} [2022-06-28T18:33:36.840Z] ---> Running in 9b04d2ae04d8 [2022-06-28T18:33:37.823Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-28T18:35:44.709Z] Removing intermediate container 9b04d2ae04d8 [2022-06-28T18:35:44.709Z] ---> f6c7bd9f31aa [2022-06-28T18:35:44.709Z] Step 14/26 : FROM alpine:3.15 [2022-06-28T18:35:44.709Z] 3.15: Pulling from library/alpine [2022-06-28T18:35:44.709Z] 9981e73032c8: Pulling fs layer [2022-06-28T18:35:44.709Z] 9981e73032c8: Verifying Checksum [2022-06-28T18:35:44.709Z] 9981e73032c8: Download complete [2022-06-28T18:35:44.709Z] 9981e73032c8: Pull complete [2022-06-28T18:35:44.709Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-28T18:35:44.709Z] Status: Downloaded newer image for alpine:3.15 [2022-06-28T18:35:44.709Z] ---> 3fb3c9af89a9 [2022-06-28T18:35:44.709Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-28T18:35:44.709Z] ---> Running in 62dca5f24912 [2022-06-28T18:35:44.709Z] Removing intermediate container 62dca5f24912 [2022-06-28T18:35:44.709Z] ---> 073b08b77abd [2022-06-28T18:35:44.709Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-28T18:35:44.709Z] ---> Running in e13d7644d483 [2022-06-28T18:35:44.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T18:35:44.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T18:35:44.709Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-28T18:35:44.709Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-28T18:35:44.709Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-28T18:35:44.709Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-28T18:35:44.709Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-28T18:35:44.709Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-28T18:35:44.709Z] Executing busybox-1.34.1-r5.trigger [2022-06-28T18:35:44.709Z] OK: 8 MiB in 20 packages [2022-06-28T18:35:44.709Z] Removing intermediate container e13d7644d483 [2022-06-28T18:35:44.709Z] ---> e164c604ade5 [2022-06-28T18:35:44.709Z] Step 17/26 : WORKDIR / [2022-06-28T18:35:44.709Z] ---> Running in ab13c08ba195 [2022-06-28T18:35:44.709Z] Removing intermediate container ab13c08ba195 [2022-06-28T18:35:44.709Z] ---> 383dc2910167 [2022-06-28T18:35:44.709Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-28T18:35:44.709Z] ---> 4f607ec4b5ab [2022-06-28T18:35:44.709Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-28T18:35:44.709Z] ---> 0ed7f52d9641 [2022-06-28T18:35:44.709Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-28T18:35:44.709Z] ---> 4b3e1d97d9b3 [2022-06-28T18:35:44.709Z] Step 21/26 : EXPOSE 59984 [2022-06-28T18:35:44.709Z] ---> Running in 7ff05e318095 [2022-06-28T18:35:44.709Z] Removing intermediate container 7ff05e318095 [2022-06-28T18:35:44.709Z] ---> 8c81907bc6c7 [2022-06-28T18:35:44.709Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-28T18:35:44.709Z] ---> Running in 894b755db071 [2022-06-28T18:35:44.984Z] Removing intermediate container 894b755db071 [2022-06-28T18:35:44.985Z] ---> a1ab08adc7fd [2022-06-28T18:35:44.985Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-28T18:35:44.985Z] ---> Running in 6f90b80dd5cd [2022-06-28T18:35:45.268Z] Removing intermediate container 6f90b80dd5cd [2022-06-28T18:35:45.268Z] ---> 1bea8c6217cb [2022-06-28T18:35:45.268Z] Step 24/26 : LABEL arch=arm64 [2022-06-28T18:35:45.268Z] ---> Running in 9c82208f9324 [2022-06-28T18:35:45.554Z] Removing intermediate container 9c82208f9324 [2022-06-28T18:35:45.554Z] ---> 1fb26a36b7e4 [2022-06-28T18:35:45.554Z] Step 25/26 : LABEL git_sha=593160ae5e235ec267bd6dff7b3ab2c9f1b4a374 [2022-06-28T18:35:45.829Z] ---> Running in 3a213dbd41b1 [2022-06-28T18:35:46.106Z] Removing intermediate container 3a213dbd41b1 [2022-06-28T18:35:46.106Z] ---> 50f812e76f0c [2022-06-28T18:35:46.106Z] Step 26/26 : LABEL version=0.0.0 [2022-06-28T18:35:46.106Z] ---> Running in 1d7559b8a524 [2022-06-28T18:35:46.380Z] Removing intermediate container 1d7559b8a524 [2022-06-28T18:35:46.380Z] ---> 768745dbc1ee [2022-06-28T18:35:46.380Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-28T18:35:46.380Z] Successfully built 768745dbc1ee [2022-06-28T18:35:46.380Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:35:46.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T18:35:46.840Z] [2022-06-28T18:35:46.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:35:47.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T18:35:47.471Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T18:35:47.471Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T18:35:47.471Z] 04944245beec: Pulling fs layer [2022-06-28T18:35:47.471Z] 699f458cf7ca: Pulling fs layer [2022-06-28T18:35:47.471Z] 765212b225bb: Pulling fs layer [2022-06-28T18:35:47.471Z] f23df028b6ca: Pulling fs layer [2022-06-28T18:35:47.471Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T18:35:47.471Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T18:35:47.471Z] 765212b225bb: Waiting [2022-06-28T18:35:47.471Z] f23df028b6ca: Waiting [2022-06-28T18:35:47.471Z] d65c8cfc05b1: Waiting [2022-06-28T18:35:47.471Z] 2437ff75d9bd: Waiting [2022-06-28T18:35:47.471Z] 04944245beec: Verifying Checksum [2022-06-28T18:35:47.471Z] 04944245beec: Download complete [2022-06-28T18:35:47.471Z] 765212b225bb: Verifying Checksum [2022-06-28T18:35:47.471Z] 765212b225bb: Download complete [2022-06-28T18:35:47.471Z] f23df028b6ca: Download complete [2022-06-28T18:35:47.471Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T18:35:47.471Z] d65c8cfc05b1: Download complete [2022-06-28T18:35:47.749Z] 699f458cf7ca: Verifying Checksum [2022-06-28T18:35:47.749Z] 699f458cf7ca: Download complete [2022-06-28T18:35:48.026Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T18:35:48.026Z] 8998bd30e6a1: Download complete [2022-06-28T18:35:50.659Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T18:35:50.659Z] 2437ff75d9bd: Download complete [2022-06-28T18:35:52.645Z] 8998bd30e6a1: Pull complete [2022-06-28T18:35:52.919Z] 04944245beec: Pull complete [2022-06-28T18:35:54.361Z] 699f458cf7ca: Pull complete [2022-06-28T18:35:54.636Z] 765212b225bb: Pull complete [2022-06-28T18:35:55.236Z] f23df028b6ca: Pull complete [2022-06-28T18:35:55.508Z] d65c8cfc05b1: Pull complete [2022-06-28T18:36:10.607Z] 2437ff75d9bd: Pull complete [2022-06-28T18:36:10.607Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T18:36:10.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T18:36:10.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:36:10.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-16254 does not seem to be running inside a container [2022-06-28T18:36:10.954Z] $ 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/15 -v /w/workspace/device-onvif-camera/15:/w/workspace/device-onvif-camera/15:rw,z -v /w/workspace/device-onvif-camera/15@tmp:/w/workspace/device-onvif-camera/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-28T18:36:13.427Z] $ docker top 7565b90cc43c83ad97190f72f10e07ccf8040f3774516df30d962fccee544732 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:14.373Z] ---> job-cost.sh [2022-06-28T18:36:14.373Z] lf-activate-venv: SKIPPING [2022-06-28T18:36:14.373Z] INFO: No Stack... [2022-06-28T18:36:14.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T18:36:15.565Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T18:36:16.241Z] + + catcut /w/workspace/device-onvif-camera/15/archives/cost.csv -d, [2022-06-28T18:36:16.241Z] -f6 [Pipeline] lock [2022-06-28T18:36:16.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [2022-06-28T18:36:16.314Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] did not exist. Created. [2022-06-28T18:36:16.314Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T18:36:17.002Z] /w/workspace/device-onvif-camera/15@tmp/durable-0ef342c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T18:36:17.686Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T18:36:17.717Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T18:36:17.765Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T18:36:17.772Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T18:36:17.793Z] $ docker stop --time=1 7565b90cc43c83ad97190f72f10e07ccf8040f3774516df30d962fccee544732 [2022-06-28T18:36:19.314Z] $ docker rm -f 7565b90cc43c83ad97190f72f10e07ccf8040f3774516df30d962fccee544732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-28T18:36:19.789Z] provisioning config files... [2022-06-28T18:36:19.798Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config7640072587275088236tmp [Pipeline] { [Pipeline] sh [2022-06-28T18:36:20.092Z] + set +x [2022-06-28T18:36:20.092Z] + curl -s https://codecov.io/bash [2022-06-28T18:36:20.092Z] + bash -s -- [2022-06-28T18:36:20.092Z] [2022-06-28T18:36:20.092Z] _____ _ [2022-06-28T18:36:20.092Z] / ____| | | [2022-06-28T18:36:20.092Z] | | ___ __| | ___ ___ _____ __ [2022-06-28T18:36:20.092Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-28T18:36:20.092Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-28T18:36:20.092Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-28T18:36:20.092Z] Bash-1.0.6 [2022-06-28T18:36:20.092Z] [2022-06-28T18:36:20.092Z] [2022-06-28T18:36:20.092Z] ==> git version 2.25.1 found [2022-06-28T18:36:20.092Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-28T18:36:20.092Z] Release-Date: 2020-01-08 [2022-06-28T18:36:20.092Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-28T18:36:20.092Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-28T18:36:20.092Z] ==> Jenkins CI detected. [2022-06-28T18:36:20.092Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-28T18:36:20.092Z] project root: . [2022-06-28T18:36:20.092Z] --> token set from env [2022-06-28T18:36:20.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-28T18:36:20.092Z] ==> Running gcov in . (disable via -X gcov) [2022-06-28T18:36:20.092Z] ==> Python coveragepy not found [2022-06-28T18:36:20.092Z] ==> Searching for coverage reports in: [2022-06-28T18:36:20.092Z] + . [2022-06-28T18:36:20.092Z] -> Found 1 reports [2022-06-28T18:36:20.092Z] ==> Detecting git/mercurial file structure [2022-06-28T18:36:20.092Z] ==> Reading reports [2022-06-28T18:36:20.092Z] + ./coverage.out bytes=64610 [2022-06-28T18:36:20.092Z] ==> Appending adjustments [2022-06-28T18:36:20.092Z] https://docs.codecov.io/docs/fixing-reports [2022-06-28T18:36:20.352Z] + Found adjustments [2022-06-28T18:36:20.352Z] ==> Gzipping contents [2022-06-28T18:36:20.352Z] 8.0K /tmp/codecov.B3fxrI.gz [2022-06-28T18:36:20.352Z] ==> Uploading reports [2022-06-28T18:36:20.352Z] url: https://codecov.io [2022-06-28T18:36:20.352Z] query: branch=PR-87&commit=08e854daba5477ef3edf886d82dc1fd88a4f1089&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-28T18:36:20.352Z] -> Pinging Codecov [2022-06-28T18:36:20.352Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=08e854daba5477ef3edf886d82dc1fd88a4f1089&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-28T18:36:20.614Z] -> Uploading to [2022-06-28T18:36:20.614Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-28/F29A59C45E3A92E06B3E522C9905F8EF/08e854daba5477ef3edf886d82dc1fd88a4f1089/83a2b055-e199-4c18-b817-e452f9901a5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T183620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d047f238a538bf7cbb50d440bf17209ea14704491b2fcfdb20f83876eb7bb166 [2022-06-28T18:36:20.614Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T18:36:20.614Z] Dload Upload Total Spent Left Speed [2022-06-28T18:36:20.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8179 0 0 100 8179 0 37177 --:--:-- --:--:-- --:--:-- 37009 100 8179 0 0 100 8179 0 35254 --:--:-- --:--:-- --:--:-- 35103 [2022-06-28T18:36:20.875Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/08e854daba5477ef3edf886d82dc1fd88a4f1089 [Pipeline] } [2022-06-28T18:36:20.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-28T18:36:21.559Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-28T18:36:21.559Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T18:36:21.559Z] total 16 [2022-06-28T18:36:21.559Z] drwxr-xr-x 3 root root 4096 Jun 28 18:28 . [2022-06-28T18:36:21.559Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 18:28 .. [2022-06-28T18:36:21.559Z] drwxr-xr-x 2 root root 4096 Jun 28 18:28 cost [2022-06-28T18:36:21.559Z] -rw-r--r-- 1 root root 90 Jun 28 18:28 cost.csv [2022-06-28T18:36:21.559Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T18:36:21.559Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-28T18:36:21.559Z] total 16 [2022-06-28T18:36:21.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 18:28 . [2022-06-28T18:36:21.559Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 18:28 .. [2022-06-28T18:36:21.559Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 18:28 cost [2022-06-28T18:36:21.559Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 28 18:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:21.935Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:22.817Z] ---> package-listing.sh [2022-06-28T18:36:22.817Z] ++ facter osfamily [2022-06-28T18:36:22.817Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T18:36:23.076Z] + OS_FAMILY=debian [2022-06-28T18:36:23.076Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-28T18:36:23.076Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T18:36:23.076Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T18:36:23.076Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T18:36:23.076Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T18:36:23.076Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-28T18:36:23.076Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T18:36:23.076Z] + case "${OS_FAMILY}" in [2022-06-28T18:36:23.076Z] + dpkg -l [2022-06-28T18:36:23.076Z] + grep '^ii' [2022-06-28T18:36:23.076Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T18:36:23.076Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T18:36:23.076Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T18:36:23.076Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-28T18:36:23.076Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-28T18:36:23.076Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-28T18:36:23.087Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-28T18:36:23.365Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T18:36:23.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T18:36:23.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T18:36:24.017Z] prd-ubuntu20.04-docker-8c-8g-16253 does not seem to be running inside a container [2022-06-28T18:36:24.051Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T18:36:24.298Z] $ docker top 8a6d9aa18700c595373123914a3c5df264ba77a7c2ebb14a5596be663ef460c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T18:36:24.650Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T18:36:24.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T18:36:25.244Z] + ls /var/log/sa-host [2022-06-28T18:36:25.244Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T18:36:25.368Z] provisioning config files... [2022-06-28T18:36:25.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config1522715896661755277tmp [Pipeline] { [Pipeline] echo [2022-06-28T18:36:25.391Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:25.673Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T18:36:25.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:26.014Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T18:36:26.024Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:26.311Z] ---> sudo-logs.sh [2022-06-28T18:36:26.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T18:36:26.345Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:26.632Z] ---> job-cost.sh [2022-06-28T18:36:26.632Z] lf-activate-venv: SKIPPING [2022-06-28T18:36:26.632Z] DEBUG: total: 0.2199999988079071 [2022-06-28T18:36:26.632Z] INFO: Retrieving Stack Cost... [2022-06-28T18:36:26.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T18:36:27.466Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T18:36:27.478Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T18:36:27.767Z] ---> logs-deploy.sh [2022-06-28T18:36:27.767Z] lf-activate-venv: SKIPPING [2022-06-28T18:36:27.767Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/15 [2022-06-28T18:36:27.767Z] INFO: archiving workspace using pattern(s): [2022-06-28T18:36:28.708Z] Archives upload complete. [2022-06-28T18:36:28.708Z] INFO: archiving logs to Nexus