Pull request #103 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than aa1734eeeb4b02d9c93f55c1092f2f134bd6739a Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17702522294148567094.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-ssh9932226193024404912.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18264280260094455831.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-ssh4744628998602786506.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8540196706951815248.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-17240 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-103 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit aa1734eeeb4b02d9c93f55c1092f2f134bd6739a Merge succeeded, producing b9540dca37626deede8023244782a29d690dcea1 Checking out Revision b9540dca37626deede8023244782a29d690dcea1 (PR-103) > git config core.sparsecheckout # timeout=10 > git checkout -f aa1734eeeb4b02d9c93f55c1092f2f134bd6739a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9540dca37626deede8023244782a29d690dcea1 # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-08T15:40:56.878Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-08T15:40:56.938Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-08T15:40:56.951Z] ========================================================= [2022-07-08T15:40:56.951Z] EdgeX Global Pipelines Version Info [2022-07-08T15:40:56.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 # timeout=10 [2022-07-08T15:40:57.712Z] ------------------- [2022-07-08T15:40:57.712Z] stable info: [2022-07-08T15:40:57.712Z] ------------------- [2022-07-08T15:40:57.712Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-08T15:40:57.712Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-08T15:40:57.712Z] Message: update stable to v1.0.234 [2022-07-08T15:40:58.285Z] ------------------- [2022-07-08T15:40:58.285Z] experimental info: [2022-07-08T15:40:58.285Z] ------------------- [2022-07-08T15:40:58.286Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-08T15:40:58.286Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-08T15:40:58.286Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-08T15:40:58.457Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-08T15:40:58.468Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-08T15:40:58.476Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-08T15:40:58.485Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-08T15:40:58.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-08T15:40:58.509Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-08T15:40:58.517Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-08T15:40:58.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-08T15:40:58.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-08T15:40:58.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-08T15:40:58.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-08T15:40:58.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-08T15:40:58.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-08T15:40:58.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-08T15:40:58.589Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-08T15:40:58.598Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-08T15:40:58.608Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-08T15:40:58.617Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-08T15:40:58.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-08T15:40:58.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-08T15:40:58.663Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-08T15:40:58.677Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-08T15:40:58.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-08T15:40:58.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-08T15:40:58.713Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-08T15:40:58.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-08T15:40:58.738Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-08T15:40:58.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2022-07-08T15:40:58.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2022-07-08T15:40:58.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2022-07-08T15:40:58.792Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9540dca37626deede8023244782a29d690dcea1 [Pipeline] echo [2022-07-08T15:40:58.802Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9540dc [Pipeline] echo [2022-07-08T15:40:58.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T15:40:58.852Z] provisioning config files... [2022-07-08T15:40:58.865Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config1333828003312397954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:40:59.201Z] ---> docker-login.sh [2022-07-08T15:40:59.201Z] nexus3.edgexfoundry.org:10001 [2022-07-08T15:40:59.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:40:59.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:40:59.725Z] Configure a credential helper to remove this warning. See [2022-07-08T15:40:59.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:40:59.725Z] [2022-07-08T15:40:59.725Z] Login Succeeded [2022-07-08T15:40:59.725Z] nexus3.edgexfoundry.org:10002 [2022-07-08T15:40:59.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:40:59.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:40:59.986Z] Configure a credential helper to remove this warning. See [2022-07-08T15:40:59.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:40:59.986Z] [2022-07-08T15:40:59.986Z] Login Succeeded [2022-07-08T15:40:59.986Z] nexus3.edgexfoundry.org:10003 [2022-07-08T15:40:59.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:40:59.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:40:59.986Z] Configure a credential helper to remove this warning. See [2022-07-08T15:40:59.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:40:59.986Z] [2022-07-08T15:40:59.986Z] Login Succeeded [2022-07-08T15:40:59.986Z] nexus3.edgexfoundry.org:10004 [2022-07-08T15:41:00.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:00.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:00.249Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:00.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:00.249Z] [2022-07-08T15:41:00.249Z] Login Succeeded [2022-07-08T15:41:00.249Z] docker.io [2022-07-08T15:41:00.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:00.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:00.510Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:00.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:00.510Z] [2022-07-08T15:41:00.510Z] Login Succeeded [2022-07-08T15:41:00.510Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T15:41:00.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-08T15:41:00.900Z] + git rev-list -1 --merges b9540dca37626deede8023244782a29d690dcea1~1..b9540dca37626deede8023244782a29d690dcea1 [Pipeline] echo [2022-07-08T15:41:00.931Z] -----------> git rev-list -1 --merges b9540dca37626deede8023244782a29d690dcea1~1..b9540dca37626deede8023244782a29d690dcea1 b9540dca37626deede8023244782a29d690dcea1 [2022-07-08T15:41:00.931Z] b9540dca37626deede8023244782a29d690dcea1 [false] [Pipeline] sh [2022-07-08T15:41:01.224Z] + git log --format=format:%s -1 b9540dca37626deede8023244782a29d690dcea1 [Pipeline] echo [2022-07-08T15:41:01.240Z] ========================================================= [2022-07-08T15:41:01.240Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-08T15:41:01.240Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T15:41:01.578Z] + git log --format=format:%s -1 b9540dca37626deede8023244782a29d690dcea1 [Pipeline] echo [2022-07-08T15:41:01.592Z] [semverPrep] GIT_COMMIT: b9540dca37626deede8023244782a29d690dcea1, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo [2022-07-08T15:41:01.602Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-08T15:41:01.957Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-08T15:41:01.957Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-08T15:41:01.957Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-08T15:41:01.957Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-08T15:41:01.957Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-08T15:41:01.957Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-08T15:41:01.957Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:41:02.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T15:41:02.383Z] [2022-07-08T15:41:02.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:41:02.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T15:41:02.690Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-08T15:41:02.690Z] 42c077c10790: Pulling fs layer [2022-07-08T15:41:02.690Z] f63e77b7563a: Pulling fs layer [2022-07-08T15:41:02.690Z] bd5fdadae976: Pulling fs layer [2022-07-08T15:41:02.690Z] 205491f53016: Pulling fs layer [2022-07-08T15:41:02.690Z] df18705c85c3: Pulling fs layer [2022-07-08T15:41:02.690Z] bdb3f477010e: Pulling fs layer [2022-07-08T15:41:02.690Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-08T15:41:02.690Z] 2c6e9b1d212d: Pulling fs layer [2022-07-08T15:41:02.690Z] bdb8f0575790: Pulling fs layer [2022-07-08T15:41:02.690Z] 386e3cb2ff24: Pulling fs layer [2022-07-08T15:41:02.690Z] 2343380bae48: Pulling fs layer [2022-07-08T15:41:02.690Z] 205491f53016: Waiting [2022-07-08T15:41:02.690Z] df18705c85c3: Waiting [2022-07-08T15:41:02.690Z] bdb3f477010e: Waiting [2022-07-08T15:41:02.690Z] bdb8f0575790: Waiting [2022-07-08T15:41:02.690Z] 386e3cb2ff24: Waiting [2022-07-08T15:41:02.690Z] c8a8fc8e1c8f: Waiting [2022-07-08T15:41:02.690Z] 2c6e9b1d212d: Waiting [2022-07-08T15:41:02.690Z] 2343380bae48: Waiting [2022-07-08T15:41:02.690Z] f63e77b7563a: Verifying Checksum [2022-07-08T15:41:02.690Z] f63e77b7563a: Download complete [2022-07-08T15:41:02.690Z] 205491f53016: Verifying Checksum [2022-07-08T15:41:02.690Z] 205491f53016: Download complete [2022-07-08T15:41:02.961Z] df18705c85c3: Verifying Checksum [2022-07-08T15:41:02.961Z] df18705c85c3: Download complete [2022-07-08T15:41:02.961Z] bd5fdadae976: Download complete [2022-07-08T15:41:02.961Z] bdb3f477010e: Download complete [2022-07-08T15:41:02.961Z] 2c6e9b1d212d: Verifying Checksum [2022-07-08T15:41:02.961Z] 2c6e9b1d212d: Download complete [2022-07-08T15:41:02.961Z] bdb8f0575790: Download complete [2022-07-08T15:41:02.961Z] 386e3cb2ff24: Verifying Checksum [2022-07-08T15:41:02.961Z] 386e3cb2ff24: Download complete [2022-07-08T15:41:02.961Z] 2343380bae48: Verifying Checksum [2022-07-08T15:41:02.961Z] 2343380bae48: Download complete [2022-07-08T15:41:02.961Z] 42c077c10790: Verifying Checksum [2022-07-08T15:41:02.961Z] 42c077c10790: Download complete [2022-07-08T15:41:03.220Z] c8a8fc8e1c8f: Download complete [2022-07-08T15:41:04.612Z] 42c077c10790: Pull complete [2022-07-08T15:41:04.612Z] f63e77b7563a: Pull complete [2022-07-08T15:41:05.185Z] bd5fdadae976: Pull complete [2022-07-08T15:41:05.185Z] 205491f53016: Pull complete [2022-07-08T15:41:05.756Z] df18705c85c3: Pull complete [2022-07-08T15:41:05.756Z] bdb3f477010e: Pull complete [2022-07-08T15:41:07.668Z] c8a8fc8e1c8f: Pull complete [2022-07-08T15:41:07.668Z] 2c6e9b1d212d: Pull complete [2022-07-08T15:41:07.933Z] bdb8f0575790: Pull complete [2022-07-08T15:41:07.933Z] 386e3cb2ff24: Pull complete [2022-07-08T15:41:08.194Z] 2343380bae48: Pull complete [2022-07-08T15:41:08.194Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-08T15:41:08.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-08T15:41:08.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:41:08.302Z] prd-ubuntu20.04-docker-8c-8g-17240 does not seem to be running inside a container [2022-07-08T15:41:08.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-08T15:41:09.848Z] $ docker top 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 -eo pid,comm [2022-07-08T15:41:09.921Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-08T15:41:09.921Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-08T15:41:09.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-08T15:41:09.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-08T15:41:10.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-08T15:41:10.101Z] $ docker exec 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 ssh-agent [2022-07-08T15:41:10.237Z] SSH_AUTH_SOCK=/tmp/ssh-ynfJ13mBvgJJ/agent.33 [2022-07-08T15:41:10.237Z] SSH_AGENT_PID=39 [2022-07-08T15:41:10.243Z] Running ssh-add (command line suppressed) [2022-07-08T15:41:10.361Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2821830388509109145.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_2821830388509109145.key) [2022-07-08T15:41:10.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-08T15:41:10.661Z] + git tag --points-at HEAD [Pipeline] } [2022-07-08T15:41:10.680Z] $ docker exec --env ******** --env ******** 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 ssh-agent -k [2022-07-08T15:41:10.796Z] unset SSH_AUTH_SOCK; [2022-07-08T15:41:10.797Z] unset SSH_AGENT_PID; [2022-07-08T15:41:10.797Z] echo Agent pid 39 killed; [2022-07-08T15:41:10.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-08T15:41:10.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-08T15:41:10.836Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-08T15:41:10.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-08T15:41:10.970Z] $ docker exec 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 ssh-agent [2022-07-08T15:41:11.099Z] SSH_AUTH_SOCK=/tmp/ssh-7DPvs0jHJ20T/agent.71 [2022-07-08T15:41:11.099Z] SSH_AGENT_PID=78 [2022-07-08T15:41:11.105Z] Running ssh-add (command line suppressed) [2022-07-08T15:41:11.228Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1419262596071317402.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1419262596071317402.key) [2022-07-08T15:41:11.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-08T15:41:11.545Z] + git semver init [2022-07-08T15:41:11.806Z] 2022-07-08 15:41:11,759 [run_init] DEBUG init version:0.0.0 force:False [2022-07-08T15:41:11.806Z] 2022-07-08 15:41:11,760 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-08T15:41:11.806Z] 2022-07-08 15:41:11,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-08T15:41:11.806Z] 2022-07-08 15:41:11,761 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,411 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,412 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,412 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,416 [execute] INFO git cat-file --batch-check [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,424 [execute] INFO git cat-file --batch [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-08T15:41:12.750Z] 2022-07-08 15:41:12,431 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-08T15:41:12.750Z] 0.0.0 [Pipeline] } [2022-07-08T15:41:12.763Z] $ docker exec --env ******** --env ******** 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 ssh-agent -k [2022-07-08T15:41:12.881Z] unset SSH_AUTH_SOCK; [2022-07-08T15:41:12.881Z] unset SSH_AGENT_PID; [2022-07-08T15:41:12.881Z] echo Agent pid 78 killed; [2022-07-08T15:41:12.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-08T15:41:13.207Z] + git semver [Pipeline] } [2022-07-08T15:41:13.486Z] $ docker stop --time=1 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 [2022-07-08T15:41:14.819Z] $ docker rm -f 3457d67d34ce3e8878b6b8766efb70aaa3035d80fba5a243f356782dc4719303 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T15:41:15.180Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-08T15:41:15.466Z] Stashed 1 file(s) [Pipeline] echo [2022-07-08T15:41:15.468Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T15:41:15.573Z] provisioning config files... [2022-07-08T15:41:15.582Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config2798167935388091010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:41:15.886Z] ---> docker-login.sh [2022-07-08T15:41:15.886Z] nexus3.edgexfoundry.org:10001 [2022-07-08T15:41:15.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:15.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:15.886Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:15.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:15.886Z] [2022-07-08T15:41:15.886Z] Login Succeeded [2022-07-08T15:41:15.886Z] nexus3.edgexfoundry.org:10002 [2022-07-08T15:41:15.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:16.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:16.146Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:16.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:16.146Z] [2022-07-08T15:41:16.146Z] Login Succeeded [2022-07-08T15:41:16.146Z] nexus3.edgexfoundry.org:10003 [2022-07-08T15:41:16.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:16.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:16.146Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:16.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:16.146Z] [2022-07-08T15:41:16.146Z] Login Succeeded [2022-07-08T15:41:16.146Z] nexus3.edgexfoundry.org:10004 [2022-07-08T15:41:16.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:16.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:16.408Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:16.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:16.408Z] [2022-07-08T15:41:16.408Z] Login Succeeded [2022-07-08T15:41:16.408Z] docker.io [2022-07-08T15:41:16.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:41:16.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:41:16.670Z] Configure a credential helper to remove this warning. See [2022-07-08T15:41:16.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:41:16.670Z] [2022-07-08T15:41:16.670Z] Login Succeeded [2022-07-08T15:41:16.670Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T15:41:16.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-08T15:41:17.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T15:41:17.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T15:41:17.029Z] ========================================================= [2022-07-08T15:41:17.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-08T15:41:17.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:41:17.349Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-08T15:41:17.349Z] Sending build context to Docker daemon 9.42MB [2022-07-08T15:41:17.349Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T15:41:17.349Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-08T15:41:17.611Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-08T15:41:17.611Z] 59bf1c3509f3: Pulling fs layer [2022-07-08T15:41:17.611Z] 666ba61612fd: Pulling fs layer [2022-07-08T15:41:17.611Z] 8ed8ca486205: Pulling fs layer [2022-07-08T15:41:17.611Z] cc1cd167ecdc: Pulling fs layer [2022-07-08T15:41:17.611Z] c516ae0d96e1: Pulling fs layer [2022-07-08T15:41:17.611Z] 684cea983483: Pulling fs layer [2022-07-08T15:41:17.611Z] cc1cd167ecdc: Waiting [2022-07-08T15:41:17.611Z] c516ae0d96e1: Waiting [2022-07-08T15:41:17.611Z] 684cea983483: Waiting [2022-07-08T15:41:17.611Z] dd3240ac7de5: Pulling fs layer [2022-07-08T15:41:17.611Z] b1e948a4e11c: Pulling fs layer [2022-07-08T15:41:17.611Z] a8fd76ee1af6: Pulling fs layer [2022-07-08T15:41:17.611Z] 646ad004c059: Pulling fs layer [2022-07-08T15:41:17.611Z] dd3240ac7de5: Waiting [2022-07-08T15:41:17.611Z] a8fd76ee1af6: Waiting [2022-07-08T15:41:17.611Z] b1e948a4e11c: Waiting [2022-07-08T15:41:17.611Z] 646ad004c059: Waiting [2022-07-08T15:41:17.611Z] 8ed8ca486205: Verifying Checksum [2022-07-08T15:41:17.611Z] 8ed8ca486205: Download complete [2022-07-08T15:41:17.611Z] 666ba61612fd: Download complete [2022-07-08T15:41:17.611Z] c516ae0d96e1: Verifying Checksum [2022-07-08T15:41:17.611Z] c516ae0d96e1: Download complete [2022-07-08T15:41:17.611Z] 684cea983483: Verifying Checksum [2022-07-08T15:41:17.611Z] 684cea983483: Download complete [2022-07-08T15:41:17.611Z] 59bf1c3509f3: Verifying Checksum [2022-07-08T15:41:17.611Z] 59bf1c3509f3: Download complete [2022-07-08T15:41:17.611Z] dd3240ac7de5: Verifying Checksum [2022-07-08T15:41:17.611Z] dd3240ac7de5: Download complete [2022-07-08T15:41:17.611Z] b1e948a4e11c: Verifying Checksum [2022-07-08T15:41:17.611Z] b1e948a4e11c: Download complete [2022-07-08T15:41:17.611Z] 59bf1c3509f3: Pull complete [2022-07-08T15:41:17.878Z] 666ba61612fd: Pull complete [2022-07-08T15:41:17.878Z] 8ed8ca486205: Pull complete [2022-07-08T15:41:18.147Z] 646ad004c059: Verifying Checksum [2022-07-08T15:41:18.147Z] 646ad004c059: Download complete [2022-07-08T15:41:18.408Z] a8fd76ee1af6: Verifying Checksum [2022-07-08T15:41:18.408Z] a8fd76ee1af6: Download complete [2022-07-08T15:41:18.408Z] cc1cd167ecdc: Verifying Checksum [2022-07-08T15:41:18.408Z] cc1cd167ecdc: Download complete [2022-07-08T15:41:22.610Z] cc1cd167ecdc: Pull complete [2022-07-08T15:41:22.610Z] c516ae0d96e1: Pull complete [2022-07-08T15:41:22.610Z] 684cea983483: Pull complete [2022-07-08T15:41:22.610Z] dd3240ac7de5: Pull complete [2022-07-08T15:41:22.610Z] b1e948a4e11c: Pull complete [2022-07-08T15:41:25.151Z] a8fd76ee1af6: Pull complete [2022-07-08T15:41:25.720Z] 646ad004c059: Pull complete [2022-07-08T15:41:25.720Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-08T15:41:25.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-08T15:41:25.720Z] ---> 8f69c11f6b0c [2022-07-08T15:41:25.720Z] Step 3/13 : ARG MAKE="make build" [2022-07-08T15:41:27.634Z] ---> Running in 9c5555e0cdfc [2022-07-08T15:41:27.634Z] Removing intermediate container 9c5555e0cdfc [2022-07-08T15:41:27.634Z] ---> 5842004250ad [2022-07-08T15:41:27.634Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T15:41:27.634Z] ---> Running in fd4ed10cbed9 [2022-07-08T15:41:27.634Z] Removing intermediate container fd4ed10cbed9 [2022-07-08T15:41:27.634Z] ---> 0e5bcbb62849 [2022-07-08T15:41:27.634Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T15:41:27.634Z] ---> Running in fa908e0cbb43 [2022-07-08T15:41:27.893Z] Removing intermediate container fa908e0cbb43 [2022-07-08T15:41:27.893Z] ---> ac2105d581ab [2022-07-08T15:41:27.893Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-08T15:41:27.893Z] ---> Running in a54723c335cf [2022-07-08T15:41:27.893Z] Removing intermediate container a54723c335cf [2022-07-08T15:41:27.893Z] ---> 96a4d89d29f2 [2022-07-08T15:41:27.893Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T15:41:27.893Z] ---> Running in e2e842170f4d [2022-07-08T15:41:28.464Z] Removing intermediate container e2e842170f4d [2022-07-08T15:41:28.464Z] ---> 432dc1025912 [2022-07-08T15:41:28.464Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T15:41:28.725Z] ---> Running in 5d57e5615545 [2022-07-08T15:41:28.986Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T15:41:29.927Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T15:41:30.187Z] OK: 221 MiB in 52 packages [2022-07-08T15:41:30.447Z] Removing intermediate container 5d57e5615545 [2022-07-08T15:41:30.447Z] ---> 5dfc5bf844aa [2022-07-08T15:41:30.447Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-08T15:41:30.447Z] ---> Running in e8fdbf76f968 [2022-07-08T15:41:30.547Z] Still waiting to schedule task [2022-07-08T15:41:30.547Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-08T15:41:30.708Z] Removing intermediate container e8fdbf76f968 [2022-07-08T15:41:30.708Z] ---> cc17318fa30e [2022-07-08T15:41:30.708Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-08T15:41:30.708Z] ---> c2365d06f41c [2022-07-08T15:41:30.708Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T15:41:30.708Z] ---> Running in 4933d12d511b [2022-07-08T15:41:52.757Z] Removing intermediate container 4933d12d511b [2022-07-08T15:41:52.757Z] ---> 23e33064d865 [2022-07-08T15:41:52.757Z] Step 12/13 : COPY . . [2022-07-08T15:41:53.019Z] ---> 6e97319390db [2022-07-08T15:41:53.019Z] Step 13/13 : RUN ${MAKE} [2022-07-08T15:41:53.019Z] ---> Running in 0166f7c69bfb [2022-07-08T15:41:53.280Z] noop [2022-07-08T15:41:53.541Z] Removing intermediate container 0166f7c69bfb [2022-07-08T15:41:53.541Z] ---> 4b0f027558f4 [2022-07-08T15:41:53.541Z] Successfully built 4b0f027558f4 [2022-07-08T15:41:53.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:41:53.862Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-08T15:41:53.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:41:53.940Z] prd-ubuntu20.04-docker-8c-8g-17240 does not seem to be running inside a container [2022-07-08T15:41:53.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-08T15:41:54.391Z] $ docker top a364c5c6d0868996cc50a7751acb8e7b516a302527df4b18aeaf4cbefde8b4f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T15:41:54.760Z] + go version [2022-07-08T15:41:54.760Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-08T15:41:54.772Z] $ docker stop --time=1 a364c5c6d0868996cc50a7751acb8e7b516a302527df4b18aeaf4cbefde8b4f4 [2022-07-08T15:41:56.086Z] $ docker rm -f a364c5c6d0868996cc50a7751acb8e7b516a302527df4b18aeaf4cbefde8b4f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:41:56.503Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-08T15:41:56.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:41:56.630Z] prd-ubuntu20.04-docker-8c-8g-17240 does not seem to be running inside a container [2022-07-08T15:41:56.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-08T15:41:57.174Z] $ docker top 21ba58337be176d4cf197f0e5397d90a9bbb3f1e76788c393af7ef65fc9446ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-08T15:41:57.557Z] + make test [2022-07-08T15:41:57.557Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-08T15:41:58.127Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-08T15:42:08.117Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-08T15:42:08.117Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 7.0% of statements [2022-07-08T15:42:08.117Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-08T15:42:12.324Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.369s coverage: 13.8% of statements [2022-07-08T15:42:20.452Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-08T15:42:24.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-08T15:42:24.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-08T15:42:24.645Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-08T15:42:24.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-08T15:42:24.936Z] $ docker stop --time=1 21ba58337be176d4cf197f0e5397d90a9bbb3f1e76788c393af7ef65fc9446ab [2022-07-08T15:42:26.895Z] $ docker rm -f 21ba58337be176d4cf197f0e5397d90a9bbb3f1e76788c393af7ef65fc9446ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T15:42:27.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-08T15:42:27.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-08T15:42:27.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-08T15:42:28.218Z] + ls -al . [2022-07-08T15:42:28.218Z] total 252 [2022-07-08T15:42:28.218Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 8 15:42 . [2022-07-08T15:42:28.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:40 .. [2022-07-08T15:42:28.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 15:41 .git [2022-07-08T15:42:28.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 15:40 .github [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 15:40 .gitignore [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 15:40 .golangci.yml [2022-07-08T15:42:28.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 15:41 .semver [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 15:40 Attribution.txt [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 15:40 CHANGELOG.md [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 15:40 Dockerfile [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 15:40 GOVERNANCE.md [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 15:40 Jenkinsfile [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 15:40 LICENSE [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 15:40 Makefile [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 15:40 OWNERS.md [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 15:40 README.md [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 15:41 VERSION [2022-07-08T15:42:28.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 15:40 bin [2022-07-08T15:42:28.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 15:40 cmd [2022-07-08T15:42:28.218Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 15:42 coverage.out [2022-07-08T15:42:28.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:40 doc [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 15:40 go.mod [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 15:40 go.sum [2022-07-08T15:42:28.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:40 internal [2022-07-08T15:42:28.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:40 snap [2022-07-08T15:42:28.218Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 15:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:42:28.533Z] + 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=b9540dca37626deede8023244782a29d690dcea1 --label arch=amd64 --label version=0.0.0 . [2022-07-08T15:42:28.533Z] Sending build context to Docker daemon 9.491MB [2022-07-08T15:42:28.533Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T15:42:28.533Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-08T15:42:28.533Z] ---> 4b0f027558f4 [2022-07-08T15:42:28.533Z] Step 3/26 : ARG MAKE="make build" [2022-07-08T15:42:28.793Z] ---> Running in 227fcba12d0f [2022-07-08T15:42:28.793Z] Removing intermediate container 227fcba12d0f [2022-07-08T15:42:28.793Z] ---> 7541a5e038f1 [2022-07-08T15:42:28.793Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T15:42:28.793Z] ---> Running in ab46a3117f80 [2022-07-08T15:42:28.793Z] Removing intermediate container ab46a3117f80 [2022-07-08T15:42:28.793Z] ---> d2ba554c16c0 [2022-07-08T15:42:28.793Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T15:42:29.052Z] ---> Running in dc5244ba47df [2022-07-08T15:42:29.052Z] Removing intermediate container dc5244ba47df [2022-07-08T15:42:29.052Z] ---> a54e51ea5201 [2022-07-08T15:42:29.052Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-08T15:42:29.052Z] ---> Running in 20a6e530fe76 [2022-07-08T15:42:29.052Z] Removing intermediate container 20a6e530fe76 [2022-07-08T15:42:29.052Z] ---> 55864cab9e36 [2022-07-08T15:42:29.052Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T15:42:29.313Z] ---> Running in 13401685768d [2022-07-08T15:42:29.882Z] Removing intermediate container 13401685768d [2022-07-08T15:42:29.882Z] ---> 7ae7e686bfad [2022-07-08T15:42:29.882Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T15:42:29.882Z] ---> Running in cdd96a0dfcad [2022-07-08T15:42:30.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T15:42:31.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T15:42:31.346Z] OK: 221 MiB in 52 packages [2022-07-08T15:42:31.610Z] Removing intermediate container cdd96a0dfcad [2022-07-08T15:42:31.610Z] ---> 07ffd9fdf5c7 [2022-07-08T15:42:31.610Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-08T15:42:31.610Z] ---> Running in ead9f0b16780 [2022-07-08T15:42:31.610Z] Removing intermediate container ead9f0b16780 [2022-07-08T15:42:31.610Z] ---> c7632043fd20 [2022-07-08T15:42:31.610Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-08T15:42:31.871Z] ---> 9e6fb6bb9fbb [2022-07-08T15:42:31.871Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T15:42:31.871Z] ---> Running in e739e20d3a96 [2022-07-08T15:42:32.440Z] Removing intermediate container e739e20d3a96 [2022-07-08T15:42:32.440Z] ---> 0c6637e9c13e [2022-07-08T15:42:32.440Z] Step 12/26 : COPY . . [2022-07-08T15:42:33.012Z] ---> bb103df1a782 [2022-07-08T15:42:33.012Z] Step 13/26 : RUN ${MAKE} [2022-07-08T15:42:33.012Z] ---> Running in 7acaad09ae04 [2022-07-08T15:42:33.272Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-08T15:42:55.235Z] Removing intermediate container 7acaad09ae04 [2022-07-08T15:42:55.235Z] ---> 202be5498f1b [2022-07-08T15:42:55.235Z] Step 14/26 : FROM alpine:3.15 [2022-07-08T15:42:55.235Z] 3.15: Pulling from library/alpine [2022-07-08T15:42:55.235Z] df9b9388f04a: Pulling fs layer [2022-07-08T15:42:55.235Z] df9b9388f04a: Download complete [2022-07-08T15:42:55.235Z] df9b9388f04a: Pull complete [2022-07-08T15:42:55.235Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-08T15:42:55.235Z] Status: Downloaded newer image for alpine:3.15 [2022-07-08T15:42:55.235Z] ---> 0ac33e5f5afa [2022-07-08T15:42:55.235Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-08T15:42:55.235Z] ---> Running in 1b91b83f503b [2022-07-08T15:42:55.235Z] Removing intermediate container 1b91b83f503b [2022-07-08T15:42:55.235Z] ---> bb8e64c776d7 [2022-07-08T15:42:55.235Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-08T15:42:55.235Z] ---> Running in 4dd550b02fa5 [2022-07-08T15:42:55.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-08T15:42:55.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-08T15:42:55.755Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-08T15:42:55.755Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-08T15:42:55.755Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-08T15:42:55.755Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-08T15:42:56.015Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-08T15:42:56.015Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-08T15:42:56.015Z] Executing busybox-1.34.1-r5.trigger [2022-07-08T15:42:56.015Z] OK: 8 MiB in 20 packages [2022-07-08T15:42:56.276Z] Removing intermediate container 4dd550b02fa5 [2022-07-08T15:42:56.276Z] ---> b96019495788 [2022-07-08T15:42:56.276Z] Step 17/26 : WORKDIR / [2022-07-08T15:42:56.276Z] ---> Running in dbbb7f06d5aa [2022-07-08T15:42:56.536Z] Removing intermediate container dbbb7f06d5aa [2022-07-08T15:42:56.536Z] ---> 6c5a9d45e661 [2022-07-08T15:42:56.536Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-08T15:42:57.108Z] ---> f80899211684 [2022-07-08T15:42:57.108Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-08T15:42:57.108Z] ---> c37e38434abe [2022-07-08T15:42:57.108Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-08T15:42:57.369Z] ---> c6736d02e934 [2022-07-08T15:42:57.369Z] Step 21/26 : EXPOSE 59984 [2022-07-08T15:42:57.369Z] ---> Running in 3247176008c8 [2022-07-08T15:42:57.632Z] Removing intermediate container 3247176008c8 [2022-07-08T15:42:57.632Z] ---> 79769d835af0 [2022-07-08T15:42:57.632Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-08T15:42:57.632Z] ---> Running in 2ab95310e4d7 [2022-07-08T15:42:57.632Z] Removing intermediate container 2ab95310e4d7 [2022-07-08T15:42:57.632Z] ---> 3d805cb9ba1a [2022-07-08T15:42:57.632Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-08T15:42:57.632Z] ---> Running in 4acce9ccfa6d [2022-07-08T15:42:57.893Z] Removing intermediate container 4acce9ccfa6d [2022-07-08T15:42:57.893Z] ---> b3987da88297 [2022-07-08T15:42:57.893Z] Step 24/26 : LABEL arch=amd64 [2022-07-08T15:42:57.893Z] ---> Running in 0422d9080d45 [2022-07-08T15:42:57.893Z] Removing intermediate container 0422d9080d45 [2022-07-08T15:42:57.893Z] ---> 83c754ac6f1a [2022-07-08T15:42:57.893Z] Step 25/26 : LABEL git_sha=b9540dca37626deede8023244782a29d690dcea1 [2022-07-08T15:42:57.893Z] ---> Running in d2a55194c2fe [2022-07-08T15:42:58.154Z] Removing intermediate container d2a55194c2fe [2022-07-08T15:42:58.154Z] ---> ed08e2446ec4 [2022-07-08T15:42:58.154Z] Step 26/26 : LABEL version=0.0.0 [2022-07-08T15:42:58.154Z] ---> Running in 0d772018c0ae [2022-07-08T15:42:58.154Z] Removing intermediate container 0d772018c0ae [2022-07-08T15:42:58.154Z] ---> 28d2c57a6025 [2022-07-08T15:42:58.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-08T15:42:58.154Z] Successfully built 28d2c57a6025 [2022-07-08T15:42:58.154Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:42:58.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T15:42:58.604Z] [2022-07-08T15:42:58.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:42:58.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T15:42:58.914Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-08T15:42:58.914Z] 5eb5b503b376: Pulling fs layer [2022-07-08T15:42:58.914Z] 5c69ac0246d0: Pulling fs layer [2022-07-08T15:42:58.914Z] ec43610c2a17: Pulling fs layer [2022-07-08T15:42:58.914Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-08T15:42:58.914Z] 33b1e0a273af: Pulling fs layer [2022-07-08T15:42:58.914Z] 5d3b04190fa2: Pulling fs layer [2022-07-08T15:42:58.914Z] 2f39f015ded8: Pulling fs layer [2022-07-08T15:42:58.914Z] 33b1e0a273af: Waiting [2022-07-08T15:42:58.914Z] 5d3b04190fa2: Waiting [2022-07-08T15:42:58.914Z] 2f39f015ded8: Waiting [2022-07-08T15:42:58.914Z] 3a2ae6a8a46f: Waiting [2022-07-08T15:42:58.914Z] 5c69ac0246d0: Verifying Checksum [2022-07-08T15:42:58.914Z] 5c69ac0246d0: Download complete [2022-07-08T15:42:58.914Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-08T15:42:58.914Z] 3a2ae6a8a46f: Download complete [2022-07-08T15:42:58.914Z] 33b1e0a273af: Verifying Checksum [2022-07-08T15:42:58.914Z] 33b1e0a273af: Download complete [2022-07-08T15:42:58.914Z] 5d3b04190fa2: Download complete [2022-07-08T15:42:59.174Z] ec43610c2a17: Verifying Checksum [2022-07-08T15:42:59.174Z] ec43610c2a17: Download complete [2022-07-08T15:42:59.174Z] 5eb5b503b376: Verifying Checksum [2022-07-08T15:42:59.174Z] 5eb5b503b376: Download complete [2022-07-08T15:42:59.745Z] 2f39f015ded8: Download complete [2022-07-08T15:43:00.315Z] 5eb5b503b376: Pull complete [2022-07-08T15:43:00.574Z] 5c69ac0246d0: Pull complete [2022-07-08T15:43:01.142Z] ec43610c2a17: Pull complete [2022-07-08T15:43:01.142Z] 3a2ae6a8a46f: Pull complete [2022-07-08T15:43:01.402Z] 33b1e0a273af: Pull complete [2022-07-08T15:43:01.402Z] 5d3b04190fa2: Pull complete [2022-07-08T15:43:06.681Z] 2f39f015ded8: Pull complete [2022-07-08T15:43:06.681Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-08T15:43:06.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T15:43:06.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:43:06.775Z] prd-ubuntu20.04-docker-8c-8g-17240 does not seem to be running inside a container [2022-07-08T15:43:06.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-08T15:43:07.658Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17241 in /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-08T15:43:08.499Z] $ docker top 9c1b7531cd360225dc53abe42995eba958736215148d4a1003c6106c0497b5aa -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-07-08T15:43:08.727Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-07-08T15:43:08.766Z] Selected Git installation does not exist. Using Default [2022-07-08T15:43:08.766Z] The recommended git tool is: NONE [2022-07-08T15:43:09.008Z] ---> job-cost.sh [2022-07-08T15:43:09.008Z] lf-activate-venv: SKIPPING [2022-07-08T15:43:09.008Z] INFO: No Stack... [2022-07-08T15:43:09.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-08T15:43:09.586Z] INFO: Archiving Costs [Pipeline] sh [2022-07-08T15:43:09.884Z] + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv [2022-07-08T15:43:09.884Z] + cut -d, -f6 [Pipeline] lock [2022-07-08T15:43:09.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [2022-07-08T15:43:09.904Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] did not exist. Created. [2022-07-08T15:43:09.904Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-08T15:43:10.210Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-08T15:43:10.235Z] Stashed 1 file(s) [Pipeline] } [2022-07-08T15:43:10.241Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-08T15:43:10.257Z] $ docker stop --time=1 9c1b7531cd360225dc53abe42995eba958736215148d4a1003c6106c0497b5aa [2022-07-08T15:43:11.436Z] $ docker rm -f 9c1b7531cd360225dc53abe42995eba958736215148d4a1003c6106c0497b5aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-08T15:43:13.996Z] using credential edgex-jenkins-ssh [2022-07-08T15:43:14.016Z] Cloning the remote Git repository [2022-07-08T15:43:14.072Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T15:43:14.151Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-07-08T15:43:14.248Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T15:43:14.249Z] > git --version # timeout=10 [2022-07-08T15:43:14.267Z] > git --version # 'git version 2.25.1' [2022-07-08T15:43:14.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T15:43:14.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-08T15:43:15.918Z] Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit aa1734eeeb4b02d9c93f55c1092f2f134bd6739a [2022-07-08T15:43:15.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-08T15:43:15.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-08T15:43:15.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-08T15:43:15.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-08T15:43:15.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T15:43:15.392Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-08T15:43:15.940Z] > git config core.sparsecheckout # timeout=10 [2022-07-08T15:43:15.960Z] > git checkout -f aa1734eeeb4b02d9c93f55c1092f2f134bd6739a # timeout=10 [2022-07-08T15:43:16.122Z] > git remote # timeout=10 [2022-07-08T15:43:16.143Z] > git config --get remote.origin.url # timeout=10 [2022-07-08T15:43:16.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-08T15:43:16.167Z] > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 [2022-07-08T15:43:16.326Z] Merge succeeded, producing f62c5088c81a77f5f8155fa76f8b672cae66440b [2022-07-08T15:43:16.326Z] Checking out Revision f62c5088c81a77f5f8155fa76f8b672cae66440b (PR-103) [2022-07-08T15:43:16.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-08T15:43:16.337Z] > git config core.sparsecheckout # timeout=10 [2022-07-08T15:43:16.347Z] > git checkout -f f62c5088c81a77f5f8155fa76f8b672cae66440b # timeout=10 [2022-07-08T15:43:20.562Z] Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" [2022-07-08T15:43:20.587Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T15:43:21.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-08T15:43:21.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-08T15:43:21.472Z] Dload Upload Total Spent Left Speed [2022-07-08T15:43:21.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-07-08T15:43:20.574Z] > git rev-list --no-walk 73e3d16f345d5f5cb9cff74ff0774dbf3ab660c4 # timeout=10 [2022-07-08T15:43:22.287Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-08T15:43:22.628Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-08T15:43:22.628Z] + sudo tee /etc/docker/daemon.new [2022-07-08T15:43:22.628Z] { [2022-07-08T15:43:22.628Z] "registry-mirrors": [ [2022-07-08T15:43:22.628Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-08T15:43:22.628Z] ], [2022-07-08T15:43:22.628Z] "bip": "10.250.0.254/24", [2022-07-08T15:43:22.628Z] "hosts": [ [2022-07-08T15:43:22.628Z] "tcp://0.0.0.0:5555", [2022-07-08T15:43:22.628Z] "unix:///var/run/docker.sock" [2022-07-08T15:43:22.628Z] ], [2022-07-08T15:43:22.628Z] "mtu": 1458, [2022-07-08T15:43:22.628Z] "selinux-enabled": true, [2022-07-08T15:43:22.628Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-08T15:43:22.628Z] } [Pipeline] sh [2022-07-08T15:43:22.974Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-08T15:43:23.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T15:43:41.655Z] provisioning config files... [2022-07-08T15:43:41.678Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config6152753351296375703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:43:42.028Z] ---> docker-login.sh [2022-07-08T15:43:42.029Z] nexus3.edgexfoundry.org:10001 [2022-07-08T15:43:42.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:43:42.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:43:42.902Z] Configure a credential helper to remove this warning. See [2022-07-08T15:43:42.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:43:42.902Z] [2022-07-08T15:43:42.902Z] Login Succeeded [2022-07-08T15:43:42.902Z] nexus3.edgexfoundry.org:10002 [2022-07-08T15:43:43.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:43:43.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:43:43.178Z] Configure a credential helper to remove this warning. See [2022-07-08T15:43:43.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:43:43.178Z] [2022-07-08T15:43:43.178Z] Login Succeeded [2022-07-08T15:43:43.178Z] nexus3.edgexfoundry.org:10003 [2022-07-08T15:43:43.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:43:43.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:43:43.776Z] Configure a credential helper to remove this warning. See [2022-07-08T15:43:43.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:43:43.776Z] [2022-07-08T15:43:43.776Z] Login Succeeded [2022-07-08T15:43:43.776Z] nexus3.edgexfoundry.org:10004 [2022-07-08T15:43:44.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:43:44.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:43:44.051Z] Configure a credential helper to remove this warning. See [2022-07-08T15:43:44.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:43:44.051Z] [2022-07-08T15:43:44.051Z] Login Succeeded [2022-07-08T15:43:44.327Z] docker.io [2022-07-08T15:43:44.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-08T15:43:44.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-08T15:43:44.870Z] Configure a credential helper to remove this warning. See [2022-07-08T15:43:44.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-08T15:43:44.870Z] [2022-07-08T15:43:44.870Z] Login Succeeded [2022-07-08T15:43:44.870Z] ---> docker-login.sh ends [Pipeline] } [2022-07-08T15:43:44.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-08T15:43:45.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T15:43:45.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-08T15:43:45.463Z] ========================================================= [2022-07-08T15:43:45.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-08T15:43:45.463Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:43:45.845Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-08T15:43:46.125Z] Sending build context to Docker daemon 6.493MB [2022-07-08T15:43:46.400Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T15:43:46.400Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-08T15:43:46.400Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-08T15:43:46.400Z] 9b3977197b4f: Pulling fs layer [2022-07-08T15:43:46.400Z] 1a89e8eeedd5: Pulling fs layer [2022-07-08T15:43:46.400Z] 94645a83ff95: Pulling fs layer [2022-07-08T15:43:46.400Z] e6fb740bc735: Pulling fs layer [2022-07-08T15:43:46.400Z] 3a77bd46dcc9: Pulling fs layer [2022-07-08T15:43:46.400Z] 355e64cbe906: Pulling fs layer [2022-07-08T15:43:46.400Z] 63ab81a10011: Pulling fs layer [2022-07-08T15:43:46.400Z] 555d1d1c4555: Pulling fs layer [2022-07-08T15:43:46.400Z] 7d9057610161: Pulling fs layer [2022-07-08T15:43:46.400Z] e6fb740bc735: Waiting [2022-07-08T15:43:46.400Z] 3a77bd46dcc9: Waiting [2022-07-08T15:43:46.400Z] 355e64cbe906: Waiting [2022-07-08T15:43:46.400Z] 63ab81a10011: Waiting [2022-07-08T15:43:46.400Z] 555d1d1c4555: Waiting [2022-07-08T15:43:46.400Z] 7d9057610161: Waiting [2022-07-08T15:43:46.400Z] 94645a83ff95: Verifying Checksum [2022-07-08T15:43:46.400Z] 94645a83ff95: Download complete [2022-07-08T15:43:46.400Z] 1a89e8eeedd5: Download complete [2022-07-08T15:43:46.400Z] 3a77bd46dcc9: Verifying Checksum [2022-07-08T15:43:46.400Z] 3a77bd46dcc9: Download complete [2022-07-08T15:43:46.692Z] 355e64cbe906: Verifying Checksum [2022-07-08T15:43:46.692Z] 355e64cbe906: Download complete [2022-07-08T15:43:46.692Z] 9b3977197b4f: Verifying Checksum [2022-07-08T15:43:46.692Z] 9b3977197b4f: Download complete [2022-07-08T15:43:46.692Z] 63ab81a10011: Verifying Checksum [2022-07-08T15:43:46.692Z] 63ab81a10011: Download complete [2022-07-08T15:43:47.689Z] 9b3977197b4f: Pull complete [2022-07-08T15:43:47.689Z] 7d9057610161: Verifying Checksum [2022-07-08T15:43:47.689Z] 7d9057610161: Download complete [2022-07-08T15:43:47.968Z] 1a89e8eeedd5: Pull complete [2022-07-08T15:43:48.243Z] 94645a83ff95: Pull complete [2022-07-08T15:43:48.843Z] 555d1d1c4555: Verifying Checksum [2022-07-08T15:43:48.843Z] 555d1d1c4555: Download complete [2022-07-08T15:43:49.438Z] e6fb740bc735: Verifying Checksum [2022-07-08T15:43:49.438Z] e6fb740bc735: Download complete [2022-07-08T15:44:01.844Z] e6fb740bc735: Pull complete [2022-07-08T15:44:01.845Z] 3a77bd46dcc9: Pull complete [2022-07-08T15:44:01.845Z] 355e64cbe906: Pull complete [2022-07-08T15:44:01.845Z] 63ab81a10011: Pull complete [2022-07-08T15:44:08.569Z] 555d1d1c4555: Pull complete [2022-07-08T15:44:10.009Z] 7d9057610161: Pull complete [2022-07-08T15:44:10.009Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-08T15:44:10.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-08T15:44:10.009Z] ---> 819e984ddca1 [2022-07-08T15:44:10.009Z] Step 3/13 : ARG MAKE="make build" [2022-07-08T15:44:11.991Z] ---> Running in f8e99840c007 [2022-07-08T15:44:11.991Z] Removing intermediate container f8e99840c007 [2022-07-08T15:44:11.991Z] ---> e81a785a20f1 [2022-07-08T15:44:11.991Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T15:44:12.271Z] ---> Running in 9db02f568ac5 [2022-07-08T15:44:12.544Z] Removing intermediate container 9db02f568ac5 [2022-07-08T15:44:12.544Z] ---> 1b1e174a5f48 [2022-07-08T15:44:12.544Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T15:44:12.544Z] ---> Running in 6e05c3067b19 [2022-07-08T15:44:12.817Z] Removing intermediate container 6e05c3067b19 [2022-07-08T15:44:12.817Z] ---> 3457b85160a9 [2022-07-08T15:44:12.817Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-08T15:44:12.817Z] ---> Running in 6238e5e88271 [2022-07-08T15:44:13.415Z] Removing intermediate container 6238e5e88271 [2022-07-08T15:44:13.415Z] ---> 9ca1b9866c22 [2022-07-08T15:44:13.415Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T15:44:13.415Z] ---> Running in 6dffe51a772f [2022-07-08T15:44:15.391Z] Removing intermediate container 6dffe51a772f [2022-07-08T15:44:15.391Z] ---> 7dd098f01c81 [2022-07-08T15:44:15.391Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T15:44:15.391Z] ---> Running in b311aaaaf08a [2022-07-08T15:44:15.999Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T15:44:16.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T15:44:17.965Z] OK: 220 MiB in 52 packages [2022-07-08T15:44:18.567Z] Removing intermediate container b311aaaaf08a [2022-07-08T15:44:18.567Z] ---> 91765e3ca1cc [2022-07-08T15:44:18.567Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-08T15:44:18.567Z] ---> Running in 16fdc079f630 [2022-07-08T15:44:18.840Z] Removing intermediate container 16fdc079f630 [2022-07-08T15:44:18.840Z] ---> 5b2815725c8f [2022-07-08T15:44:18.840Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-08T15:44:19.437Z] ---> 5c94e86ddcdf [2022-07-08T15:44:19.437Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T15:44:19.437Z] ---> Running in a2a442204b57 [2022-07-08T15:45:06.447Z] Removing intermediate container a2a442204b57 [2022-07-08T15:45:06.447Z] ---> 05ade757b490 [2022-07-08T15:45:06.447Z] Step 12/13 : COPY . . [2022-07-08T15:45:06.447Z] ---> 7636143b1699 [2022-07-08T15:45:06.447Z] Step 13/13 : RUN ${MAKE} [2022-07-08T15:45:06.447Z] ---> Running in 8da89ca648ad [2022-07-08T15:45:06.723Z] noop [2022-07-08T15:45:07.344Z] Removing intermediate container 8da89ca648ad [2022-07-08T15:45:07.344Z] ---> 50a4555d7dce [2022-07-08T15:45:07.344Z] Successfully built 50a4555d7dce [2022-07-08T15:45:07.344Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:45:07.710Z] + docker inspect -f . ci-base-image-arm64 [2022-07-08T15:45:07.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:45:07.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-17241 does not seem to be running inside a container [2022-07-08T15:45:08.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-08T15:45:09.358Z] $ docker top c98d2a6af27b9d891ae35d472c11f790a8d7abfeb1383491d0ee71d934acc6f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T15:45:10.287Z] + go version [2022-07-08T15:45:10.288Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-08T15:45:10.318Z] $ docker stop --time=1 c98d2a6af27b9d891ae35d472c11f790a8d7abfeb1383491d0ee71d934acc6f4 [2022-07-08T15:45:11.969Z] $ docker rm -f c98d2a6af27b9d891ae35d472c11f790a8d7abfeb1383491d0ee71d934acc6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:45:12.565Z] + docker inspect -f . ci-base-image-arm64 [2022-07-08T15:45:12.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:45:12.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-17241 does not seem to be running inside a container [2022-07-08T15:45:12.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-08T15:45:14.161Z] $ docker top eaf62383585a57d4d9c1f55450f383db30fd03ba603ff43c8cb761f0d3d07f22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-08T15:45:15.094Z] + make test [2022-07-08T15:45:15.094Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-08T15:45:17.097Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-08T15:46:38.930Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-08T15:46:43.268Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.100s coverage: 7.0% of statements [2022-07-08T15:46:43.268Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-08T15:47:15.670Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.324s coverage: 13.8% of statements [2022-07-08T15:47:15.670Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-08T15:47:15.670Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-08T15:47:42.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-08T15:47:42.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-08T15:47:42.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-08T15:47:43.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-08T15:47:43.140Z] $ docker stop --time=1 eaf62383585a57d4d9c1f55450f383db30fd03ba603ff43c8cb761f0d3d07f22 [2022-07-08T15:47:44.853Z] $ docker rm -f eaf62383585a57d4d9c1f55450f383db30fd03ba603ff43c8cb761f0d3d07f22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-08T15:47:45.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-08T15:47:45.850Z] Warning: overwriting stash ‘coverage-report’ [2022-07-08T15:47:46.563Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-08T15:47:46.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-08T15:47:47.353Z] + ls -al . [2022-07-08T15:47:47.354Z] total 248 [2022-07-08T15:47:47.354Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 8 15:47 . [2022-07-08T15:47:47.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:43 .. [2022-07-08T15:47:47.354Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 15:43 .git [2022-07-08T15:47:47.354Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 15:43 .github [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 352 Jul 8 15:43 .gitignore [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 8 15:43 .golangci.yml [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 8 15:43 Attribution.txt [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 8 15:43 CHANGELOG.md [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 8 15:43 Dockerfile [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 8 15:43 GOVERNANCE.md [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 8 15:43 Jenkinsfile [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 8 15:43 LICENSE [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 8 15:43 Makefile [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 8 15:43 OWNERS.md [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 8 15:43 README.md [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 15:41 VERSION [2022-07-08T15:47:47.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 15:43 bin [2022-07-08T15:47:47.354Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 8 15:43 cmd [2022-07-08T15:47:47.354Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 8 15:47 coverage.out [2022-07-08T15:47:47.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:43 doc [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 8 15:43 go.mod [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 8 15:43 go.sum [2022-07-08T15:47:47.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:43 internal [2022-07-08T15:47:47.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 15:43 snap [2022-07-08T15:47:47.354Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 8 15:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:47:47.739Z] + 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=f62c5088c81a77f5f8155fa76f8b672cae66440b --label arch=arm64 --label version=0.0.0 . [2022-07-08T15:47:48.378Z] Sending build context to Docker daemon 6.564MB [2022-07-08T15:47:48.378Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-08T15:47:48.378Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-08T15:47:48.378Z] ---> 50a4555d7dce [2022-07-08T15:47:48.378Z] Step 3/26 : ARG MAKE="make build" [2022-07-08T15:47:48.378Z] ---> Running in c8f83d39089e [2022-07-08T15:47:48.663Z] Removing intermediate container c8f83d39089e [2022-07-08T15:47:48.663Z] ---> 76ac30854f6e [2022-07-08T15:47:48.663Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-08T15:47:48.939Z] ---> Running in 1a835558baf6 [2022-07-08T15:47:49.214Z] Removing intermediate container 1a835558baf6 [2022-07-08T15:47:49.214Z] ---> aba2083c2be2 [2022-07-08T15:47:49.214Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-08T15:47:49.214Z] ---> Running in 7d064dd55984 [2022-07-08T15:47:49.488Z] Removing intermediate container 7d064dd55984 [2022-07-08T15:47:49.488Z] ---> 2bb3562a3b0e [2022-07-08T15:47:49.488Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-08T15:47:49.488Z] ---> Running in d206220c26c2 [2022-07-08T15:47:50.093Z] Removing intermediate container d206220c26c2 [2022-07-08T15:47:50.093Z] ---> 36dece3ce4ca [2022-07-08T15:47:50.093Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-08T15:47:50.093Z] ---> Running in 1818494d95d6 [2022-07-08T15:47:51.552Z] Removing intermediate container 1818494d95d6 [2022-07-08T15:47:51.552Z] ---> 99eec4cdf757 [2022-07-08T15:47:51.552Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-08T15:47:51.552Z] ---> Running in b35fdab558f2 [2022-07-08T15:47:52.539Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T15:47:53.518Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T15:47:54.498Z] OK: 220 MiB in 52 packages [2022-07-08T15:47:55.097Z] Removing intermediate container b35fdab558f2 [2022-07-08T15:47:55.097Z] ---> f3fe5c64e49a [2022-07-08T15:47:55.097Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-08T15:47:55.097Z] ---> Running in 56a4e1fd529d [2022-07-08T15:47:55.372Z] Removing intermediate container 56a4e1fd529d [2022-07-08T15:47:55.372Z] ---> c071544c77a0 [2022-07-08T15:47:55.372Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-08T15:47:55.972Z] ---> fbe21df4fe2f [2022-07-08T15:47:55.972Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-08T15:47:55.972Z] ---> Running in 6062efab7e31 [2022-07-08T15:47:57.957Z] Removing intermediate container 6062efab7e31 [2022-07-08T15:47:57.957Z] ---> 8441927bec9b [2022-07-08T15:47:57.957Z] Step 12/26 : COPY . . [2022-07-08T15:47:59.398Z] ---> cd9d37826e5b [2022-07-08T15:47:59.398Z] Step 13/26 : RUN ${MAKE} [2022-07-08T15:47:59.398Z] ---> Running in 98b32c7034e0 [2022-07-08T15:48:00.383Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-08T15:50:07.265Z] Removing intermediate container 98b32c7034e0 [2022-07-08T15:50:07.265Z] ---> 684c1e0db56a [2022-07-08T15:50:07.265Z] Step 14/26 : FROM alpine:3.15 [2022-07-08T15:50:07.265Z] 3.15: Pulling from library/alpine [2022-07-08T15:50:07.265Z] 9981e73032c8: Pulling fs layer [2022-07-08T15:50:07.265Z] 9981e73032c8: Download complete [2022-07-08T15:50:07.265Z] 9981e73032c8: Pull complete [2022-07-08T15:50:07.265Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-08T15:50:07.265Z] Status: Downloaded newer image for alpine:3.15 [2022-07-08T15:50:07.265Z] ---> 3fb3c9af89a9 [2022-07-08T15:50:07.265Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-08T15:50:07.265Z] ---> Running in 9c0c356cc6c9 [2022-07-08T15:50:07.265Z] Removing intermediate container 9c0c356cc6c9 [2022-07-08T15:50:07.265Z] ---> 4f99c03b8391 [2022-07-08T15:50:07.265Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-08T15:50:07.265Z] ---> Running in 25fdcccb8f63 [2022-07-08T15:50:07.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-08T15:50:07.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-08T15:50:07.265Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-08T15:50:07.265Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-08T15:50:07.265Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-08T15:50:07.265Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-08T15:50:07.265Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-08T15:50:07.265Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-08T15:50:07.265Z] Executing busybox-1.34.1-r5.trigger [2022-07-08T15:50:07.265Z] OK: 8 MiB in 20 packages [2022-07-08T15:50:07.265Z] Removing intermediate container 25fdcccb8f63 [2022-07-08T15:50:07.265Z] ---> 4264bcdc5297 [2022-07-08T15:50:07.265Z] Step 17/26 : WORKDIR / [2022-07-08T15:50:07.265Z] ---> Running in 531af26fba70 [2022-07-08T15:50:07.265Z] Removing intermediate container 531af26fba70 [2022-07-08T15:50:07.265Z] ---> d77170571991 [2022-07-08T15:50:07.265Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-08T15:50:07.265Z] ---> 40d93c1a250c [2022-07-08T15:50:07.265Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-08T15:50:07.265Z] ---> 26476c37dd91 [2022-07-08T15:50:07.265Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-08T15:50:07.265Z] ---> 4fb2921e2127 [2022-07-08T15:50:07.265Z] Step 21/26 : EXPOSE 59984 [2022-07-08T15:50:07.265Z] ---> Running in 9f073dff0043 [2022-07-08T15:50:07.265Z] Removing intermediate container 9f073dff0043 [2022-07-08T15:50:07.265Z] ---> 755237501485 [2022-07-08T15:50:07.265Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-08T15:50:07.543Z] ---> Running in 80ccc06ac8a2 [2022-07-08T15:50:07.816Z] Removing intermediate container 80ccc06ac8a2 [2022-07-08T15:50:07.816Z] ---> 84ddaf19f524 [2022-07-08T15:50:07.816Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-08T15:50:07.816Z] ---> Running in 8659f5f79b0c [2022-07-08T15:50:08.090Z] Removing intermediate container 8659f5f79b0c [2022-07-08T15:50:08.090Z] ---> ed4b84ab29d5 [2022-07-08T15:50:08.090Z] Step 24/26 : LABEL arch=arm64 [2022-07-08T15:50:08.090Z] ---> Running in 9430ff0854c2 [2022-07-08T15:50:08.370Z] Removing intermediate container 9430ff0854c2 [2022-07-08T15:50:08.370Z] ---> 91e9a8538b3c [2022-07-08T15:50:08.370Z] Step 25/26 : LABEL git_sha=f62c5088c81a77f5f8155fa76f8b672cae66440b [2022-07-08T15:50:08.644Z] ---> Running in e52904826cec [2022-07-08T15:50:08.918Z] Removing intermediate container e52904826cec [2022-07-08T15:50:08.918Z] ---> 86a53a2b6ef7 [2022-07-08T15:50:08.918Z] Step 26/26 : LABEL version=0.0.0 [2022-07-08T15:50:08.918Z] ---> Running in 4c29145c28cf [2022-07-08T15:50:09.191Z] Removing intermediate container 4c29145c28cf [2022-07-08T15:50:09.191Z] ---> 8259a5cfbb5f [2022-07-08T15:50:09.191Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-08T15:50:09.191Z] Successfully built 8259a5cfbb5f [2022-07-08T15:50:09.191Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:50:09.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T15:50:09.663Z] [2022-07-08T15:50:09.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:50:10.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T15:50:10.288Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-08T15:50:10.288Z] 8998bd30e6a1: Pulling fs layer [2022-07-08T15:50:10.288Z] 04944245beec: Pulling fs layer [2022-07-08T15:50:10.288Z] 699f458cf7ca: Pulling fs layer [2022-07-08T15:50:10.288Z] 765212b225bb: Pulling fs layer [2022-07-08T15:50:10.288Z] f23df028b6ca: Pulling fs layer [2022-07-08T15:50:10.288Z] d65c8cfc05b1: Pulling fs layer [2022-07-08T15:50:10.288Z] 2437ff75d9bd: Pulling fs layer [2022-07-08T15:50:10.288Z] 765212b225bb: Waiting [2022-07-08T15:50:10.288Z] f23df028b6ca: Waiting [2022-07-08T15:50:10.288Z] d65c8cfc05b1: Waiting [2022-07-08T15:50:10.288Z] 2437ff75d9bd: Waiting [2022-07-08T15:50:10.288Z] 04944245beec: Verifying Checksum [2022-07-08T15:50:10.288Z] 04944245beec: Download complete [2022-07-08T15:50:10.288Z] 765212b225bb: Verifying Checksum [2022-07-08T15:50:10.288Z] 765212b225bb: Download complete [2022-07-08T15:50:10.288Z] f23df028b6ca: Verifying Checksum [2022-07-08T15:50:10.288Z] f23df028b6ca: Download complete [2022-07-08T15:50:10.288Z] d65c8cfc05b1: Verifying Checksum [2022-07-08T15:50:10.288Z] d65c8cfc05b1: Download complete [2022-07-08T15:50:10.562Z] 699f458cf7ca: Verifying Checksum [2022-07-08T15:50:10.562Z] 699f458cf7ca: Download complete [2022-07-08T15:50:10.835Z] 8998bd30e6a1: Verifying Checksum [2022-07-08T15:50:10.835Z] 8998bd30e6a1: Download complete [2022-07-08T15:50:13.466Z] 2437ff75d9bd: Verifying Checksum [2022-07-08T15:50:13.466Z] 2437ff75d9bd: Download complete [2022-07-08T15:50:15.449Z] 8998bd30e6a1: Pull complete [2022-07-08T15:50:15.449Z] 04944245beec: Pull complete [2022-07-08T15:50:17.425Z] 699f458cf7ca: Pull complete [2022-07-08T15:50:17.425Z] 765212b225bb: Pull complete [2022-07-08T15:50:18.407Z] f23df028b6ca: Pull complete [2022-07-08T15:50:18.407Z] d65c8cfc05b1: Pull complete [2022-07-08T15:50:33.497Z] 2437ff75d9bd: Pull complete [2022-07-08T15:50:33.497Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-08T15:50:33.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-08T15:50:33.497Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:50:33.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-17241 does not seem to be running inside a container [2022-07-08T15:50:33.853Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-08T15:50:36.357Z] $ docker top e1c3b09b4e0d4326062b37836fdf204f114ccc3bd7bd9c1ee914b1e8befb72ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:37.286Z] ---> job-cost.sh [2022-07-08T15:50:37.286Z] lf-activate-venv: SKIPPING [2022-07-08T15:50:37.286Z] INFO: No Stack... [2022-07-08T15:50:37.880Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-08T15:50:38.477Z] INFO: Archiving Costs [Pipeline] sh [2022-07-08T15:50:39.143Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-07-08T15:50:39.144Z] + cut -d, -f6 [Pipeline] lock [2022-07-08T15:50:39.208Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [2022-07-08T15:50:39.213Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] did not exist. Created. [2022-07-08T15:50:39.213Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-08T15:50:39.897Z] /w/workspace/device-onvif-camera/6@tmp/durable-40e6ce37/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-08T15:50:40.571Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-08T15:50:40.593Z] Warning: overwriting stash ‘stack-cost’ [2022-07-08T15:50:40.685Z] Stashed 1 file(s) [Pipeline] } [2022-07-08T15:50:40.692Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-08T15:50:40.715Z] $ docker stop --time=1 e1c3b09b4e0d4326062b37836fdf204f114ccc3bd7bd9c1ee914b1e8befb72ff [2022-07-08T15:50:42.241Z] $ docker rm -f e1c3b09b4e0d4326062b37836fdf204f114ccc3bd7bd9c1ee914b1e8befb72ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-08T15:50:42.706Z] provisioning config files... [2022-07-08T15:50:42.714Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config2898039526089185323tmp [Pipeline] { [Pipeline] sh [2022-07-08T15:50:43.008Z] + set +x [2022-07-08T15:50:43.008Z] + curl -s https://codecov.io/bash [2022-07-08T15:50:43.008Z] + bash -s -- [2022-07-08T15:50:43.008Z] [2022-07-08T15:50:43.008Z] _____ _ [2022-07-08T15:50:43.008Z] / ____| | | [2022-07-08T15:50:43.008Z] | | ___ __| | ___ ___ _____ __ [2022-07-08T15:50:43.008Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-08T15:50:43.008Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-08T15:50:43.008Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-08T15:50:43.008Z] Bash-1.0.6 [2022-07-08T15:50:43.008Z] [2022-07-08T15:50:43.008Z] [2022-07-08T15:50:43.008Z] ==> git version 2.25.1 found [2022-07-08T15:50:43.008Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-08T15:50:43.008Z] Release-Date: 2020-01-08 [2022-07-08T15:50:43.008Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-08T15:50:43.008Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-08T15:50:43.008Z] ==> Jenkins CI detected. [2022-07-08T15:50:43.008Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-08T15:50:43.008Z] project root: . [2022-07-08T15:50:43.008Z] --> token set from env [2022-07-08T15:50:43.008Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-08T15:50:43.008Z] ==> Running gcov in . (disable via -X gcov) [2022-07-08T15:50:43.008Z] ==> Python coveragepy not found [2022-07-08T15:50:43.008Z] ==> Searching for coverage reports in: [2022-07-08T15:50:43.008Z] + . [2022-07-08T15:50:43.008Z] -> Found 1 reports [2022-07-08T15:50:43.008Z] ==> Detecting git/mercurial file structure [2022-07-08T15:50:43.008Z] ==> Reading reports [2022-07-08T15:50:43.008Z] + ./coverage.out bytes=70262 [2022-07-08T15:50:43.008Z] ==> Appending adjustments [2022-07-08T15:50:43.008Z] https://docs.codecov.io/docs/fixing-reports [2022-07-08T15:50:43.269Z] + Found adjustments [2022-07-08T15:50:43.269Z] ==> Gzipping contents [2022-07-08T15:50:43.269Z] 12K /tmp/codecov.DTn9QL.gz [2022-07-08T15:50:43.269Z] ==> Uploading reports [2022-07-08T15:50:43.269Z] url: https://codecov.io [2022-07-08T15:50:43.269Z] query: branch=PR-103&commit=b9540dca37626deede8023244782a29d690dcea1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-08T15:50:43.269Z] -> Pinging Codecov [2022-07-08T15:50:43.269Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=b9540dca37626deede8023244782a29d690dcea1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-08T15:50:43.532Z] -> Uploading to [2022-07-08T15:50:43.532Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-08/F29A59C45E3A92E06B3E522C9905F8EF/b9540dca37626deede8023244782a29d690dcea1/530e350f-c348-453d-ae62-d8071b6c2c65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220708%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220708T155043Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e898c1d44c35dea8d7d4a0478f2f27b6fe348a10ed7a9a90ff1ab8a9eb492e1a [2022-07-08T15:50:43.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-08T15:50:43.532Z] Dload Upload Total Spent Left Speed [2022-07-08T15:50:43.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9531 0 0 100 9531 0 39712 --:--:-- --:--:-- --:--:-- 39712 [2022-07-08T15:50:43.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b9540dca37626deede8023244782a29d690dcea1 [Pipeline] } [2022-07-08T15:50:43.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-08T15:50:44.490Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] [2022-07-08T15:50:44.490Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T15:50:44.490Z] total 16 [2022-07-08T15:50:44.490Z] drwxr-xr-x 3 root root 4096 Jul 8 15:43 . [2022-07-08T15:50:44.490Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 15:43 .. [2022-07-08T15:50:44.490Z] drwxr-xr-x 2 root root 4096 Jul 8 15:43 cost [2022-07-08T15:50:44.490Z] -rw-r--r-- 1 root root 90 Jul 8 15:43 cost.csv [2022-07-08T15:50:44.490Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T15:50:44.490Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-08T15:50:44.490Z] total 16 [2022-07-08T15:50:44.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 8 15:43 . [2022-07-08T15:50:44.490Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 8 15:43 .. [2022-07-08T15:50:44.490Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 8 15:43 cost [2022-07-08T15:50:44.490Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 8 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:44.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:45.653Z] ---> package-listing.sh [2022-07-08T15:50:45.653Z] ++ facter osfamily [2022-07-08T15:50:45.653Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-08T15:50:45.915Z] + OS_FAMILY=debian [2022-07-08T15:50:45.915Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-103 [2022-07-08T15:50:45.915Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-08T15:50:45.915Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-08T15:50:45.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-08T15:50:45.915Z] + PACKAGES=/tmp/packages_start.txt [2022-07-08T15:50:45.915Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-08T15:50:45.915Z] + PACKAGES=/tmp/packages_end.txt [2022-07-08T15:50:45.915Z] + case "${OS_FAMILY}" in [2022-07-08T15:50:45.915Z] + dpkg -l [2022-07-08T15:50:45.915Z] + grep '^ii' [2022-07-08T15:50:45.915Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-08T15:50:45.915Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-08T15:50:45.915Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-08T15:50:45.915Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-08T15:50:45.915Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ [2022-07-08T15:50:45.915Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo [2022-07-08T15:50:45.925Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-08T15:50:46.206Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-08T15:50:46.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-08T15:50:46.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-08T15:50:46.854Z] prd-ubuntu20.04-docker-8c-8g-17240 does not seem to be running inside a container [2022-07-08T15:50:46.888Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-08T15:50:47.135Z] $ docker top 547e68955a55587b5fd934aa6caf60c063d8a6ec5a3d4cdbdaa74e8cae953048 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-08T15:50:47.491Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-08T15:50:47.778Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-08T15:50:48.065Z] + ls /var/log/sa-host [2022-07-08T15:50:48.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-08T15:50:48.190Z] provisioning config files... [2022-07-08T15:50:48.199Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config8435393213701792002tmp [Pipeline] { [Pipeline] echo [2022-07-08T15:50:48.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:48.497Z] ---> create-netrc.sh [Pipeline] } [2022-07-08T15:50:48.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:48.834Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-08T15:50:48.844Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:49.133Z] ---> sudo-logs.sh [2022-07-08T15:50:49.133Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-08T15:50:49.165Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:49.451Z] ---> job-cost.sh [2022-07-08T15:50:49.451Z] lf-activate-venv: SKIPPING [2022-07-08T15:50:49.451Z] DEBUG: total: 0.2199999988079071 [2022-07-08T15:50:49.451Z] INFO: Retrieving Stack Cost... [2022-07-08T15:50:49.710Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-08T15:50:50.279Z] INFO: Archiving Costs [Pipeline] echo [2022-07-08T15:50:50.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-08T15:50:50.575Z] ---> logs-deploy.sh [2022-07-08T15:50:50.575Z] lf-activate-venv: SKIPPING [2022-07-08T15:50:50.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/6 [2022-07-08T15:50:50.575Z] INFO: archiving workspace using pattern(s): [2022-07-08T15:50:51.523Z] Archives upload complete. [2022-07-08T15:50:51.523Z] INFO: archiving logs to Nexus