Pull request #87 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than 7266bc57a863dae91f3b656266a1c82ca297b41b Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh7089198148253518690.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-ssh6796500180664284764.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2792249623805362843.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-ssh5710231174482981539.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-87/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13588091972922453012.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-15468 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-87 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 7266bc57a863dae91f3b656266a1c82ca297b41b Merge succeeded, producing 2b8d6c8d28623305c12a38e4ffec768bb475a239 Checking out Revision 2b8d6c8d28623305c12a38e4ffec768bb475a239 (PR-87) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7266bc57a863dae91f3b656266a1c82ca297b41b # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b8d6c8d28623305c12a38e4ffec768bb475a239 # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T17:28:49.818Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T17:28:49.894Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T17:28:49.909Z] ========================================================= [2022-06-23T17:28:49.909Z] EdgeX Global Pipelines Version Info [2022-06-23T17:28:49.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f5bdda2df7736f008aeaee640873ceac743246c7 # timeout=10 [2022-06-23T17:28:50.705Z] ------------------- [2022-06-23T17:28:50.705Z] stable info: [2022-06-23T17:28:50.705Z] ------------------- [2022-06-23T17:28:50.705Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T17:28:50.705Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T17:28:50.705Z] Message: update stable to v1.0.234 [2022-06-23T17:28:51.279Z] ------------------- [2022-06-23T17:28:51.279Z] experimental info: [2022-06-23T17:28:51.279Z] ------------------- [2022-06-23T17:28:51.279Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T17:28:51.279Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T17:28:51.279Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T17:28:51.449Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-23T17:28:51.460Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-23T17:28:51.471Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T17:28:51.483Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T17:28:51.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T17:28:51.502Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T17:28:51.510Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T17:28:51.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T17:28:51.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T17:28:51.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T17:28:51.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T17:28:51.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-23T17:28:51.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T17:28:51.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T17:28:51.593Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T17:28:51.604Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T17:28:51.620Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T17:28:51.638Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T17:28:51.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T17:28:51.665Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T17:28:51.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T17:28:51.693Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T17:28:51.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T17:28:51.716Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T17:28:51.729Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T17:28:51.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T17:28:51.753Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T17:28:51.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-23T17:28:51.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-23T17:28:51.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-23T17:28:51.804Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b8d6c8d28623305c12a38e4ffec768bb475a239 [Pipeline] echo [2022-06-23T17:28:51.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b8d6c8 [Pipeline] echo [2022-06-23T17:28:51.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T17:28:51.875Z] provisioning config files... [2022-06-23T17:28:51.901Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config1228111812028917156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:28:52.217Z] ---> docker-login.sh [2022-06-23T17:28:52.218Z] nexus3.edgexfoundry.org:10001 [2022-06-23T17:28:52.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:28:52.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:28:52.478Z] Configure a credential helper to remove this warning. See [2022-06-23T17:28:52.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:28:52.478Z] [2022-06-23T17:28:52.478Z] Login Succeeded [2022-06-23T17:28:52.478Z] nexus3.edgexfoundry.org:10002 [2022-06-23T17:28:52.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:28:52.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:28:52.739Z] Configure a credential helper to remove this warning. See [2022-06-23T17:28:52.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:28:52.739Z] [2022-06-23T17:28:52.739Z] Login Succeeded [2022-06-23T17:28:52.739Z] nexus3.edgexfoundry.org:10003 [2022-06-23T17:28:52.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:28:52.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:28:52.739Z] Configure a credential helper to remove this warning. See [2022-06-23T17:28:52.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:28:52.739Z] [2022-06-23T17:28:52.739Z] Login Succeeded [2022-06-23T17:28:52.739Z] nexus3.edgexfoundry.org:10004 [2022-06-23T17:28:53.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:28:53.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:28:53.001Z] Configure a credential helper to remove this warning. See [2022-06-23T17:28:53.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:28:53.001Z] [2022-06-23T17:28:53.001Z] Login Succeeded [2022-06-23T17:28:53.001Z] docker.io [2022-06-23T17:28:53.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:28:53.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:28:53.575Z] Configure a credential helper to remove this warning. See [2022-06-23T17:28:53.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:28:53.575Z] [2022-06-23T17:28:53.575Z] Login Succeeded [2022-06-23T17:28:53.575Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T17:28:53.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T17:28:53.994Z] + git rev-list -1 --merges 2b8d6c8d28623305c12a38e4ffec768bb475a239~1..2b8d6c8d28623305c12a38e4ffec768bb475a239 [Pipeline] echo [2022-06-23T17:28:54.105Z] -----------> git rev-list -1 --merges 2b8d6c8d28623305c12a38e4ffec768bb475a239~1..2b8d6c8d28623305c12a38e4ffec768bb475a239 2b8d6c8d28623305c12a38e4ffec768bb475a239 [2022-06-23T17:28:54.105Z] 2b8d6c8d28623305c12a38e4ffec768bb475a239 [false] [Pipeline] sh [2022-06-23T17:28:54.399Z] + git log --format=format:%s -1 2b8d6c8d28623305c12a38e4ffec768bb475a239 [Pipeline] echo [2022-06-23T17:28:54.418Z] ========================================================= [2022-06-23T17:28:54.418Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T17:28:54.418Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T17:28:54.776Z] + git log --format=format:%s -1 2b8d6c8d28623305c12a38e4ffec768bb475a239 [Pipeline] echo [2022-06-23T17:28:54.791Z] [semverPrep] GIT_COMMIT: 2b8d6c8d28623305c12a38e4ffec768bb475a239, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-23T17:28:54.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T17:28:55.210Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T17:28:55.210Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T17:28:55.210Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T17:28:55.210Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T17:28:55.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T17:28:55.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T17:28:55.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:28:55.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T17:28:55.659Z] [2022-06-23T17:28:55.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:28:55.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T17:28:55.974Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T17:28:55.974Z] 42c077c10790: Pulling fs layer [2022-06-23T17:28:55.974Z] f63e77b7563a: Pulling fs layer [2022-06-23T17:28:55.974Z] bd5fdadae976: Pulling fs layer [2022-06-23T17:28:55.974Z] 205491f53016: Pulling fs layer [2022-06-23T17:28:55.974Z] df18705c85c3: Pulling fs layer [2022-06-23T17:28:55.974Z] bdb3f477010e: Pulling fs layer [2022-06-23T17:28:55.974Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T17:28:55.974Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T17:28:55.974Z] bdb8f0575790: Pulling fs layer [2022-06-23T17:28:55.974Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T17:28:55.974Z] 2343380bae48: Pulling fs layer [2022-06-23T17:28:55.974Z] 205491f53016: Waiting [2022-06-23T17:28:55.974Z] df18705c85c3: Waiting [2022-06-23T17:28:55.974Z] c8a8fc8e1c8f: Waiting [2022-06-23T17:28:55.974Z] 386e3cb2ff24: Waiting [2022-06-23T17:28:55.974Z] 2343380bae48: Waiting [2022-06-23T17:28:55.974Z] 2c6e9b1d212d: Waiting [2022-06-23T17:28:55.974Z] bdb3f477010e: Waiting [2022-06-23T17:28:55.974Z] f63e77b7563a: Download complete [2022-06-23T17:28:55.974Z] 205491f53016: Download complete [2022-06-23T17:28:56.249Z] df18705c85c3: Verifying Checksum [2022-06-23T17:28:56.249Z] df18705c85c3: Download complete [2022-06-23T17:28:56.249Z] bdb3f477010e: Verifying Checksum [2022-06-23T17:28:56.249Z] bdb3f477010e: Download complete [2022-06-23T17:28:56.249Z] bd5fdadae976: Verifying Checksum [2022-06-23T17:28:56.249Z] bd5fdadae976: Download complete [2022-06-23T17:28:56.249Z] 2c6e9b1d212d: Download complete [2022-06-23T17:28:56.249Z] bdb8f0575790: Verifying Checksum [2022-06-23T17:28:56.249Z] bdb8f0575790: Download complete [2022-06-23T17:28:56.249Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T17:28:56.249Z] 386e3cb2ff24: Download complete [2022-06-23T17:28:56.249Z] 2343380bae48: Verifying Checksum [2022-06-23T17:28:56.249Z] 2343380bae48: Download complete [2022-06-23T17:28:56.249Z] 42c077c10790: Verifying Checksum [2022-06-23T17:28:56.249Z] 42c077c10790: Download complete [2022-06-23T17:28:56.514Z] c8a8fc8e1c8f: Download complete [2022-06-23T17:28:57.900Z] 42c077c10790: Pull complete [2022-06-23T17:28:57.900Z] f63e77b7563a: Pull complete [2022-06-23T17:28:58.474Z] bd5fdadae976: Pull complete [2022-06-23T17:28:58.474Z] 205491f53016: Pull complete [2022-06-23T17:28:58.737Z] df18705c85c3: Pull complete [2022-06-23T17:28:58.737Z] bdb3f477010e: Pull complete [2022-06-23T17:29:01.288Z] c8a8fc8e1c8f: Pull complete [2022-06-23T17:29:01.288Z] 2c6e9b1d212d: Pull complete [2022-06-23T17:29:01.288Z] bdb8f0575790: Pull complete [2022-06-23T17:29:01.288Z] 386e3cb2ff24: Pull complete [2022-06-23T17:29:01.288Z] 2343380bae48: Pull complete [2022-06-23T17:29:01.288Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T17:29:01.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T17:29:01.288Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:29:01.399Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2022-06-23T17:29:01.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T17:29:02.859Z] $ docker top 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 -eo pid,comm [2022-06-23T17:29:02.931Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-23T17:29:02.931Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T17:29:02.970Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T17:29:02.970Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T17:29:03.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T17:29:03.099Z] $ docker exec 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 ssh-agent [2022-06-23T17:29:03.220Z] SSH_AUTH_SOCK=/tmp/ssh-HcFEN8OyjvAM/agent.32 [2022-06-23T17:29:03.220Z] SSH_AGENT_PID=39 [2022-06-23T17:29:03.227Z] Running ssh-add (command line suppressed) [2022-06-23T17:29:03.351Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4865306881276374444.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_4865306881276374444.key) [2022-06-23T17:29:03.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T17:29:03.668Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T17:29:03.690Z] $ docker exec --env ******** --env ******** 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 ssh-agent -k [2022-06-23T17:29:03.823Z] unset SSH_AUTH_SOCK; [2022-06-23T17:29:03.823Z] unset SSH_AGENT_PID; [2022-06-23T17:29:03.823Z] echo Agent pid 39 killed; [2022-06-23T17:29:03.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T17:29:03.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T17:29:03.865Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T17:29:04.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T17:29:04.004Z] $ docker exec 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 ssh-agent [2022-06-23T17:29:04.134Z] SSH_AUTH_SOCK=/tmp/ssh-AMCzPimB8mvX/agent.71 [2022-06-23T17:29:04.134Z] SSH_AGENT_PID=77 [2022-06-23T17:29:04.140Z] Running ssh-add (command line suppressed) [2022-06-23T17:29:04.268Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_5094368103177857286.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_5094368103177857286.key) [2022-06-23T17:29:04.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T17:29:04.566Z] + git semver init [2022-06-23T17:29:04.827Z] 2022-06-23 17:29:04,787 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T17:29:04.827Z] 2022-06-23 17:29:04,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-23T17:29:04.827Z] 2022-06-23 17:29:04,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-23T17:29:04.827Z] 2022-06-23 17:29:04,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-87/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87, universal_newlines=False, shell=None, istream=None) [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,485 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,486 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 with force:False [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,486 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,491 [execute] INFO git cat-file --batch-check [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,496 [execute] INFO git cat-file --batch [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-87/.semver, universal_newlines=False, shell=None, istream=) [2022-06-23T17:29:05.770Z] 2022-06-23 17:29:05,501 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-23T17:29:05.770Z] 0.0.0 [Pipeline] } [2022-06-23T17:29:05.781Z] $ docker exec --env ******** --env ******** 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 ssh-agent -k [2022-06-23T17:29:05.899Z] unset SSH_AUTH_SOCK; [2022-06-23T17:29:05.900Z] unset SSH_AGENT_PID; [2022-06-23T17:29:05.904Z] echo Agent pid 77 killed; [2022-06-23T17:29:05.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T17:29:06.215Z] + git semver [Pipeline] } [2022-06-23T17:29:06.492Z] $ docker stop --time=1 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 [2022-06-23T17:29:07.816Z] $ docker rm -f 01221b03bd7ec825f74237981326e2575b9ac888d9b46d859461daa17f4e73b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T17:29:08.174Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T17:29:08.442Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T17:29:08.445Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T17:29:08.580Z] provisioning config files... [2022-06-23T17:29:08.589Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config3542607898443965034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:29:08.889Z] ---> docker-login.sh [2022-06-23T17:29:08.889Z] nexus3.edgexfoundry.org:10001 [2022-06-23T17:29:08.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:29:08.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:29:08.889Z] Configure a credential helper to remove this warning. See [2022-06-23T17:29:08.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:29:08.889Z] [2022-06-23T17:29:08.889Z] Login Succeeded [2022-06-23T17:29:08.889Z] nexus3.edgexfoundry.org:10002 [2022-06-23T17:29:08.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:29:09.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:29:09.151Z] Configure a credential helper to remove this warning. See [2022-06-23T17:29:09.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:29:09.151Z] [2022-06-23T17:29:09.151Z] Login Succeeded [2022-06-23T17:29:09.151Z] nexus3.edgexfoundry.org:10003 [2022-06-23T17:29:09.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:29:09.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:29:09.151Z] Configure a credential helper to remove this warning. See [2022-06-23T17:29:09.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:29:09.151Z] [2022-06-23T17:29:09.151Z] Login Succeeded [2022-06-23T17:29:09.151Z] nexus3.edgexfoundry.org:10004 [2022-06-23T17:29:09.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:29:09.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:29:09.413Z] Configure a credential helper to remove this warning. See [2022-06-23T17:29:09.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:29:09.413Z] [2022-06-23T17:29:09.413Z] Login Succeeded [2022-06-23T17:29:09.413Z] docker.io [2022-06-23T17:29:09.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:29:09.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:29:09.673Z] Configure a credential helper to remove this warning. See [2022-06-23T17:29:09.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:29:09.673Z] [2022-06-23T17:29:09.673Z] Login Succeeded [2022-06-23T17:29:09.673Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T17:29:09.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T17:29:09.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T17:29:09.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T17:29:09.778Z] ========================================================= [2022-06-23T17:29:09.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T17:29:09.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:29:10.102Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T17:29:10.102Z] Sending build context to Docker daemon 8.834MB [2022-06-23T17:29:10.102Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T17:29:10.102Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T17:29:10.102Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T17:29:10.102Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T17:29:10.102Z] 666ba61612fd: Pulling fs layer [2022-06-23T17:29:10.102Z] 8ed8ca486205: Pulling fs layer [2022-06-23T17:29:10.102Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T17:29:10.102Z] c516ae0d96e1: Pulling fs layer [2022-06-23T17:29:10.102Z] 684cea983483: Pulling fs layer [2022-06-23T17:29:10.102Z] dd3240ac7de5: Pulling fs layer [2022-06-23T17:29:10.102Z] b1e948a4e11c: Pulling fs layer [2022-06-23T17:29:10.102Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T17:29:10.102Z] 646ad004c059: Pulling fs layer [2022-06-23T17:29:10.102Z] dd3240ac7de5: Waiting [2022-06-23T17:29:10.102Z] 646ad004c059: Waiting [2022-06-23T17:29:10.102Z] a8fd76ee1af6: Waiting [2022-06-23T17:29:10.102Z] b1e948a4e11c: Waiting [2022-06-23T17:29:10.102Z] c516ae0d96e1: Waiting [2022-06-23T17:29:10.102Z] cc1cd167ecdc: Waiting [2022-06-23T17:29:10.102Z] 684cea983483: Waiting [2022-06-23T17:29:10.363Z] 8ed8ca486205: Verifying Checksum [2022-06-23T17:29:10.363Z] 8ed8ca486205: Download complete [2022-06-23T17:29:10.363Z] 666ba61612fd: Download complete [2022-06-23T17:29:10.363Z] c516ae0d96e1: Verifying Checksum [2022-06-23T17:29:10.363Z] c516ae0d96e1: Download complete [2022-06-23T17:29:10.363Z] 684cea983483: Verifying Checksum [2022-06-23T17:29:10.363Z] 684cea983483: Download complete [2022-06-23T17:29:10.363Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T17:29:10.363Z] dd3240ac7de5: Download complete [2022-06-23T17:29:10.363Z] b1e948a4e11c: Verifying Checksum [2022-06-23T17:29:10.363Z] b1e948a4e11c: Download complete [2022-06-23T17:29:10.363Z] 59bf1c3509f3: Pull complete [2022-06-23T17:29:10.626Z] 666ba61612fd: Pull complete [2022-06-23T17:29:10.626Z] 8ed8ca486205: Pull complete [2022-06-23T17:29:10.888Z] 646ad004c059: Verifying Checksum [2022-06-23T17:29:11.151Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T17:29:11.151Z] a8fd76ee1af6: Download complete [2022-06-23T17:29:11.151Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T17:29:11.151Z] cc1cd167ecdc: Download complete [2022-06-23T17:29:15.354Z] cc1cd167ecdc: Pull complete [2022-06-23T17:29:15.354Z] c516ae0d96e1: Pull complete [2022-06-23T17:29:15.354Z] 684cea983483: Pull complete [2022-06-23T17:29:15.354Z] dd3240ac7de5: Pull complete [2022-06-23T17:29:15.354Z] b1e948a4e11c: Pull complete [2022-06-23T17:29:17.907Z] a8fd76ee1af6: Pull complete [2022-06-23T17:29:18.479Z] 646ad004c059: Pull complete [2022-06-23T17:29:18.479Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T17:29:18.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T17:29:18.479Z] ---> 8f69c11f6b0c [2022-06-23T17:29:18.479Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T17:29:20.395Z] ---> Running in 1ee4ab1a5b0b [2022-06-23T17:29:20.395Z] Removing intermediate container 1ee4ab1a5b0b [2022-06-23T17:29:20.395Z] ---> a3ab5c6fc43d [2022-06-23T17:29:20.395Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T17:29:20.395Z] ---> Running in 70c9c3da135e [2022-06-23T17:29:20.395Z] Removing intermediate container 70c9c3da135e [2022-06-23T17:29:20.395Z] ---> c45dcbbd6cb9 [2022-06-23T17:29:20.395Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T17:29:20.395Z] ---> Running in 373a84a687f3 [2022-06-23T17:29:20.395Z] Removing intermediate container 373a84a687f3 [2022-06-23T17:29:20.395Z] ---> d8f0385727a8 [2022-06-23T17:29:20.395Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T17:29:20.395Z] ---> Running in 93727200eac1 [2022-06-23T17:29:20.395Z] Removing intermediate container 93727200eac1 [2022-06-23T17:29:20.395Z] ---> e6730a568bed [2022-06-23T17:29:20.395Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T17:29:20.654Z] ---> Running in 6c0955f095cf [2022-06-23T17:29:21.224Z] Removing intermediate container 6c0955f095cf [2022-06-23T17:29:21.224Z] ---> 4ac729cc1140 [2022-06-23T17:29:21.224Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T17:29:21.224Z] ---> Running in 0e3ecde36725 [2022-06-23T17:29:21.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T17:29:22.431Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T17:29:22.694Z] OK: 221 MiB in 52 packages [2022-06-23T17:29:22.957Z] Removing intermediate container 0e3ecde36725 [2022-06-23T17:29:22.957Z] ---> 5813f4156d2d [2022-06-23T17:29:22.957Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T17:29:22.957Z] ---> Running in f3248425e907 [2022-06-23T17:29:22.957Z] Removing intermediate container f3248425e907 [2022-06-23T17:29:22.957Z] ---> d92cf8d07dc2 [2022-06-23T17:29:22.957Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T17:29:23.218Z] ---> b7dacbd6565d [2022-06-23T17:29:23.218Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T17:29:23.218Z] ---> Running in 9c2ebef84bca [2022-06-23T17:29:23.540Z] Still waiting to schedule task [2022-06-23T17:29:23.541Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T17:29:41.350Z] Removing intermediate container 9c2ebef84bca [2022-06-23T17:29:41.350Z] ---> 8f66e3248a79 [2022-06-23T17:29:41.350Z] Step 12/13 : COPY . . [2022-06-23T17:29:41.350Z] ---> 15704fa57b35 [2022-06-23T17:29:41.350Z] Step 13/13 : RUN ${MAKE} [2022-06-23T17:29:41.350Z] ---> Running in 5e3de70e52e3 [2022-06-23T17:29:41.350Z] noop [2022-06-23T17:29:41.350Z] Removing intermediate container 5e3de70e52e3 [2022-06-23T17:29:41.350Z] ---> 96a01127b6b1 [2022-06-23T17:29:41.350Z] Successfully built 96a01127b6b1 [2022-06-23T17:29:41.350Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:29:41.668Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T17:29:41.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:29:41.757Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2022-06-23T17:29:41.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T17:29:42.219Z] $ docker top 1d29251eaea8af6219ab5ddc352cf9142d435b9d1e6c2063afe409fed269586e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T17:29:42.605Z] + go version [2022-06-23T17:29:42.605Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T17:29:42.623Z] $ docker stop --time=1 1d29251eaea8af6219ab5ddc352cf9142d435b9d1e6c2063afe409fed269586e [2022-06-23T17:29:43.906Z] $ docker rm -f 1d29251eaea8af6219ab5ddc352cf9142d435b9d1e6c2063afe409fed269586e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:29:44.326Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T17:29:44.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:29:44.410Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2022-06-23T17:29:44.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T17:29:44.834Z] $ docker top 7f10afdfa6aa1b24aa3f8bafc6327ed9c6bb04db706bac0b4fbf91446e46f1cd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T17:29:45.215Z] + make test [2022-06-23T17:29:45.215Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T17:29:45.517Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T17:29:55.570Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T17:29:56.512Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 4.6% of statements [2022-06-23T17:29:59.808Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.237s coverage: 13.8% of statements [2022-06-23T17:30:07.956Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T17:30:11.250Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T17:30:11.250Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T17:30:11.250Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T17:30:11.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T17:30:11.545Z] $ docker stop --time=1 7f10afdfa6aa1b24aa3f8bafc6327ed9c6bb04db706bac0b4fbf91446e46f1cd [2022-06-23T17:30:13.259Z] $ docker rm -f 7f10afdfa6aa1b24aa3f8bafc6327ed9c6bb04db706bac0b4fbf91446e46f1cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T17:30:13.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T17:30:13.749Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T17:30:14.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T17:30:14.558Z] + ls -al . [2022-06-23T17:30:14.558Z] total 240 [2022-06-23T17:30:14.558Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 17:30 . [2022-06-23T17:30:14.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:28 .. [2022-06-23T17:30:14.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 17:29 .git [2022-06-23T17:30:14.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 17:28 .github [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 17:28 .gitignore [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 17:28 .golangci.yml [2022-06-23T17:30:14.558Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 17:29 .semver [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 17:28 Attribution.txt [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 17:28 CHANGELOG.md [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 17:28 Dockerfile [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 17:28 GOVERNANCE.md [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 17:28 Jenkinsfile [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 17:28 LICENSE [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 17:28 Makefile [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 17:28 OWNERS.md [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 30763 Jun 23 17:28 README.md [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 17:29 VERSION [2022-06-23T17:30:14.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 17:28 bin [2022-06-23T17:30:14.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 17:28 cmd [2022-06-23T17:30:14.558Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 23 17:29 coverage.out [2022-06-23T17:30:14.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:28 doc [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 17:28 go.mod [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 17:28 go.sum [2022-06-23T17:30:14.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:28 internal [2022-06-23T17:30:14.558Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:30:14.867Z] + 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=2b8d6c8d28623305c12a38e4ffec768bb475a239 --label arch=amd64 --label version=0.0.0 . [2022-06-23T17:30:14.868Z] Sending build context to Docker daemon 8.898MB [2022-06-23T17:30:14.868Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T17:30:14.868Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T17:30:14.868Z] ---> 96a01127b6b1 [2022-06-23T17:30:14.868Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T17:30:14.868Z] ---> Running in 3221819679d3 [2022-06-23T17:30:15.128Z] Removing intermediate container 3221819679d3 [2022-06-23T17:30:15.128Z] ---> 970519895861 [2022-06-23T17:30:15.128Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T17:30:15.128Z] ---> Running in 49188c0ebe6d [2022-06-23T17:30:15.128Z] Removing intermediate container 49188c0ebe6d [2022-06-23T17:30:15.128Z] ---> 57b9f665216d [2022-06-23T17:30:15.128Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T17:30:15.128Z] ---> Running in 65145a9397e4 [2022-06-23T17:30:15.128Z] Removing intermediate container 65145a9397e4 [2022-06-23T17:30:15.128Z] ---> fe10cbcf8167 [2022-06-23T17:30:15.128Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T17:30:15.389Z] ---> Running in 1ddb7d25af1f [2022-06-23T17:30:15.389Z] Removing intermediate container 1ddb7d25af1f [2022-06-23T17:30:15.389Z] ---> 2dc79167e847 [2022-06-23T17:30:15.389Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T17:30:15.389Z] ---> Running in 7ecee81fa8e3 [2022-06-23T17:30:15.961Z] Removing intermediate container 7ecee81fa8e3 [2022-06-23T17:30:15.961Z] ---> 4d214d16e3b7 [2022-06-23T17:30:15.961Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T17:30:15.961Z] ---> Running in 8b226f1d37d3 [2022-06-23T17:30:16.221Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T17:30:17.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T17:30:17.426Z] OK: 221 MiB in 52 packages [2022-06-23T17:30:17.686Z] Removing intermediate container 8b226f1d37d3 [2022-06-23T17:30:17.686Z] ---> 93b309f5550e [2022-06-23T17:30:17.686Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T17:30:17.686Z] ---> Running in 6dd0fbe27f33 [2022-06-23T17:30:17.945Z] Removing intermediate container 6dd0fbe27f33 [2022-06-23T17:30:17.945Z] ---> 6c015911e2a4 [2022-06-23T17:30:17.945Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T17:30:17.945Z] ---> 9804e568b9d0 [2022-06-23T17:30:17.945Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T17:30:17.945Z] ---> Running in 3bd954c752dc [2022-06-23T17:30:18.932Z] Removing intermediate container 3bd954c752dc [2022-06-23T17:30:18.932Z] ---> e338298021ba [2022-06-23T17:30:18.932Z] Step 12/26 : COPY . . [2022-06-23T17:30:19.193Z] ---> 36f06df7cc8b [2022-06-23T17:30:19.193Z] Step 13/26 : RUN ${MAKE} [2022-06-23T17:30:19.193Z] ---> Running in b2549b137dab [2022-06-23T17:30:19.452Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T17:30:41.430Z] Removing intermediate container b2549b137dab [2022-06-23T17:30:41.430Z] ---> e798f67b9fc8 [2022-06-23T17:30:41.430Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T17:30:41.430Z] 3.15: Pulling from library/alpine [2022-06-23T17:30:41.430Z] df9b9388f04a: Pulling fs layer [2022-06-23T17:30:41.430Z] df9b9388f04a: Verifying Checksum [2022-06-23T17:30:41.430Z] df9b9388f04a: Download complete [2022-06-23T17:30:41.430Z] df9b9388f04a: Pull complete [2022-06-23T17:30:41.430Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T17:30:41.430Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T17:30:41.430Z] ---> 0ac33e5f5afa [2022-06-23T17:30:41.430Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T17:30:41.430Z] ---> Running in f52fef2abcee [2022-06-23T17:30:41.430Z] Removing intermediate container f52fef2abcee [2022-06-23T17:30:41.430Z] ---> 98cd903da3e2 [2022-06-23T17:30:41.430Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T17:30:41.430Z] ---> Running in d6e2eb64f5dc [2022-06-23T17:30:41.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T17:30:41.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T17:30:41.430Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T17:30:41.430Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T17:30:41.430Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T17:30:41.430Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T17:30:41.430Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T17:30:41.430Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T17:30:41.430Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T17:30:41.430Z] OK: 8 MiB in 20 packages [2022-06-23T17:30:41.430Z] Removing intermediate container d6e2eb64f5dc [2022-06-23T17:30:41.430Z] ---> c7161f0b5db7 [2022-06-23T17:30:41.430Z] Step 17/26 : WORKDIR / [2022-06-23T17:30:41.430Z] ---> Running in 71ae60e6ad28 [2022-06-23T17:30:41.430Z] Removing intermediate container 71ae60e6ad28 [2022-06-23T17:30:41.430Z] ---> 9346453abfcd [2022-06-23T17:30:41.430Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T17:30:41.691Z] ---> 76f07f5fea15 [2022-06-23T17:30:41.691Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T17:30:41.691Z] ---> d6e7b23345cf [2022-06-23T17:30:41.691Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T17:30:41.952Z] ---> 32d69c3ecbf3 [2022-06-23T17:30:41.952Z] Step 21/26 : EXPOSE 59984 [2022-06-23T17:30:41.952Z] ---> Running in 817300e665de [2022-06-23T17:30:41.952Z] Removing intermediate container 817300e665de [2022-06-23T17:30:41.952Z] ---> 5fbeeaeaa2b3 [2022-06-23T17:30:41.952Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T17:30:41.952Z] ---> Running in 8980b9b89c58 [2022-06-23T17:30:41.952Z] Removing intermediate container 8980b9b89c58 [2022-06-23T17:30:41.952Z] ---> e2a92245ee13 [2022-06-23T17:30:41.952Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T17:30:42.211Z] ---> Running in 9deb3c04643d [2022-06-23T17:30:42.211Z] Removing intermediate container 9deb3c04643d [2022-06-23T17:30:42.211Z] ---> 513e900f2975 [2022-06-23T17:30:42.211Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T17:30:42.211Z] ---> Running in effefac5bf57 [2022-06-23T17:30:42.211Z] Removing intermediate container effefac5bf57 [2022-06-23T17:30:42.211Z] ---> 4152a243a0e0 [2022-06-23T17:30:42.211Z] Step 25/26 : LABEL git_sha=2b8d6c8d28623305c12a38e4ffec768bb475a239 [2022-06-23T17:30:42.211Z] ---> Running in e59f65b79cbc [2022-06-23T17:30:42.472Z] Removing intermediate container e59f65b79cbc [2022-06-23T17:30:42.472Z] ---> b22badf0d3e0 [2022-06-23T17:30:42.472Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T17:30:42.472Z] ---> Running in 19649ea5954e [2022-06-23T17:30:42.472Z] Removing intermediate container 19649ea5954e [2022-06-23T17:30:42.472Z] ---> 41387606745f [2022-06-23T17:30:42.472Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T17:30:42.472Z] Successfully built 41387606745f [2022-06-23T17:30:42.472Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:30:42.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T17:30:42.906Z] [2022-06-23T17:30:42.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:30:43.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T17:30:43.217Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T17:30:43.217Z] 5eb5b503b376: Pulling fs layer [2022-06-23T17:30:43.217Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T17:30:43.217Z] ec43610c2a17: Pulling fs layer [2022-06-23T17:30:43.217Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T17:30:43.217Z] 33b1e0a273af: Pulling fs layer [2022-06-23T17:30:43.217Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T17:30:43.217Z] 2f39f015ded8: Pulling fs layer [2022-06-23T17:30:43.217Z] 5d3b04190fa2: Waiting [2022-06-23T17:30:43.217Z] 3a2ae6a8a46f: Waiting [2022-06-23T17:30:43.217Z] 2f39f015ded8: Waiting [2022-06-23T17:30:43.217Z] 33b1e0a273af: Waiting [2022-06-23T17:30:43.217Z] 5c69ac0246d0: Verifying Checksum [2022-06-23T17:30:43.217Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-23T17:30:43.217Z] 3a2ae6a8a46f: Download complete [2022-06-23T17:30:43.217Z] 33b1e0a273af: Download complete [2022-06-23T17:30:43.217Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T17:30:43.217Z] 5d3b04190fa2: Download complete [2022-06-23T17:30:43.217Z] ec43610c2a17: Verifying Checksum [2022-06-23T17:30:43.217Z] ec43610c2a17: Download complete [2022-06-23T17:30:43.476Z] 5eb5b503b376: Download complete [2022-06-23T17:30:44.045Z] 2f39f015ded8: Download complete [2022-06-23T17:30:44.615Z] 5eb5b503b376: Pull complete [2022-06-23T17:30:44.873Z] 5c69ac0246d0: Pull complete [2022-06-23T17:30:45.442Z] ec43610c2a17: Pull complete [2022-06-23T17:30:45.442Z] 3a2ae6a8a46f: Pull complete [2022-06-23T17:30:45.702Z] 33b1e0a273af: Pull complete [2022-06-23T17:30:45.702Z] 5d3b04190fa2: Pull complete [2022-06-23T17:30:49.901Z] 2f39f015ded8: Pull complete [2022-06-23T17:30:49.901Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T17:30:49.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T17:30:49.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:30:49.989Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2022-06-23T17:30:50.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T17:30:51.376Z] $ docker top 7dc17c532e7f8ba387d2e4301ea63a0d284d778581ecf6f51beab6194bc7422c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:30:51.782Z] ---> job-cost.sh [2022-06-23T17:30:51.783Z] lf-activate-venv: SKIPPING [2022-06-23T17:30:51.783Z] INFO: No Stack... [2022-06-23T17:30:52.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T17:30:52.919Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T17:30:53.204Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-23T17:30:53.204Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T17:30:53.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [2022-06-23T17:30:53.224Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] did not exist. Created. [2022-06-23T17:30:53.224Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T17:30:53.534Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T17:30:53.555Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T17:30:53.561Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T17:30:53.588Z] $ docker stop --time=1 7dc17c532e7f8ba387d2e4301ea63a0d284d778581ecf6f51beab6194bc7422c [2022-06-23T17:30:54.790Z] $ docker rm -f 7dc17c532e7f8ba387d2e4301ea63a0d284d778581ecf6f51beab6194bc7422c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T17:31:00.904Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15469 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-23T17:31:00.917Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-06-23T17:31:00.957Z] Selected Git installation does not exist. Using Default [2022-06-23T17:31:00.957Z] The recommended git tool is: NONE [2022-06-23T17:31:06.806Z] using credential edgex-jenkins-ssh [2022-06-23T17:31:06.823Z] Cloning the remote Git repository [2022-06-23T17:31:06.871Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T17:31:06.940Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-06-23T17:31:07.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T17:31:07.027Z] > git --version # timeout=10 [2022-06-23T17:31:07.046Z] > git --version # 'git version 2.25.1' [2022-06-23T17:31:07.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T17:31:07.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T17:31:08.581Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 7266bc57a863dae91f3b656266a1c82ca297b41b [2022-06-23T17:31:08.979Z] Merge succeeded, producing a92da12dc0f175111ddd929216d9e9767a2bcb84 [2022-06-23T17:31:08.979Z] Checking out Revision a92da12dc0f175111ddd929216d9e9767a2bcb84 (PR-87) [2022-06-23T17:31:07.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T17:31:07.908Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T17:31:07.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-23T17:31:08.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-23T17:31:08.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T17:31:08.058Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/87/head:refs/remotes/origin/PR-87 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-23T17:31:08.605Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T17:31:08.633Z] > git checkout -f 7266bc57a863dae91f3b656266a1c82ca297b41b # timeout=10 [2022-06-23T17:31:08.760Z] > git remote # timeout=10 [2022-06-23T17:31:08.776Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T17:31:08.790Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T17:31:08.801Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-23T17:31:08.968Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T17:31:08.990Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T17:31:09.004Z] > git checkout -f a92da12dc0f175111ddd929216d9e9767a2bcb84 # timeout=10 [2022-06-23T17:31:13.204Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-23T17:31:13.230Z] First time build. Skipping changelog. [2022-06-23T17:31:13.217Z] > git rev-list --no-walk f5bdda2df7736f008aeaee640873ceac743246c7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T17:31:14.154Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T17:31:14.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T17:31:14.154Z] Dload Upload Total Spent Left Speed [2022-06-23T17:31:14.154Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 63 12253 63 7751 0 0 64591 0 --:--:-- --:--:-- --:--:-- 64057 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-06-23T17:31:14.919Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T17:31:15.258Z] + sudo tee /etc/docker/daemon.new [2022-06-23T17:31:15.258Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T17:31:15.258Z] { [2022-06-23T17:31:15.258Z] "registry-mirrors": [ [2022-06-23T17:31:15.258Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T17:31:15.258Z] ], [2022-06-23T17:31:15.258Z] "bip": "10.250.0.254/24", [2022-06-23T17:31:15.258Z] "hosts": [ [2022-06-23T17:31:15.258Z] "tcp://0.0.0.0:5555", [2022-06-23T17:31:15.258Z] "unix:///var/run/docker.sock" [2022-06-23T17:31:15.258Z] ], [2022-06-23T17:31:15.258Z] "mtu": 1458, [2022-06-23T17:31:15.258Z] "selinux-enabled": true, [2022-06-23T17:31:15.258Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T17:31:15.258Z] } [Pipeline] sh [2022-06-23T17:31:15.606Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T17:31:15.945Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T17:31:34.295Z] provisioning config files... [2022-06-23T17:31:34.317Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config3205997793246682500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:31:34.668Z] ---> docker-login.sh [2022-06-23T17:31:34.668Z] nexus3.edgexfoundry.org:10001 [2022-06-23T17:31:35.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:31:35.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:31:35.533Z] Configure a credential helper to remove this warning. See [2022-06-23T17:31:35.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:31:35.533Z] [2022-06-23T17:31:35.533Z] Login Succeeded [2022-06-23T17:31:35.533Z] nexus3.edgexfoundry.org:10002 [2022-06-23T17:31:35.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:31:35.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:31:35.808Z] Configure a credential helper to remove this warning. See [2022-06-23T17:31:35.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:31:35.808Z] [2022-06-23T17:31:35.808Z] Login Succeeded [2022-06-23T17:31:35.808Z] nexus3.edgexfoundry.org:10003 [2022-06-23T17:31:36.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:31:36.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:31:36.357Z] Configure a credential helper to remove this warning. See [2022-06-23T17:31:36.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:31:36.357Z] [2022-06-23T17:31:36.357Z] Login Succeeded [2022-06-23T17:31:36.357Z] nexus3.edgexfoundry.org:10004 [2022-06-23T17:31:36.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:31:36.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:31:36.631Z] Configure a credential helper to remove this warning. See [2022-06-23T17:31:36.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:31:36.631Z] [2022-06-23T17:31:36.631Z] Login Succeeded [2022-06-23T17:31:36.631Z] docker.io [2022-06-23T17:31:37.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T17:31:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T17:31:37.502Z] Configure a credential helper to remove this warning. See [2022-06-23T17:31:37.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T17:31:37.502Z] [2022-06-23T17:31:37.502Z] Login Succeeded [2022-06-23T17:31:37.502Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T17:31:37.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T17:31:37.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T17:31:38.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T17:31:38.013Z] ========================================================= [2022-06-23T17:31:38.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T17:31:38.013Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:31:38.365Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-23T17:31:38.641Z] Sending build context to Docker daemon 6.039MB [2022-06-23T17:31:38.641Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T17:31:38.641Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-23T17:31:38.930Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T17:31:38.930Z] 9b3977197b4f: Pulling fs layer [2022-06-23T17:31:38.930Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T17:31:38.930Z] 94645a83ff95: Pulling fs layer [2022-06-23T17:31:38.930Z] e6fb740bc735: Pulling fs layer [2022-06-23T17:31:38.930Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T17:31:38.930Z] 355e64cbe906: Pulling fs layer [2022-06-23T17:31:38.930Z] 63ab81a10011: Pulling fs layer [2022-06-23T17:31:38.930Z] 555d1d1c4555: Pulling fs layer [2022-06-23T17:31:38.930Z] 7d9057610161: Pulling fs layer [2022-06-23T17:31:38.930Z] e6fb740bc735: Waiting [2022-06-23T17:31:38.930Z] 3a77bd46dcc9: Waiting [2022-06-23T17:31:38.930Z] 555d1d1c4555: Waiting [2022-06-23T17:31:38.930Z] 63ab81a10011: Waiting [2022-06-23T17:31:38.930Z] 355e64cbe906: Waiting [2022-06-23T17:31:38.930Z] 7d9057610161: Waiting [2022-06-23T17:31:38.930Z] 94645a83ff95: Download complete [2022-06-23T17:31:38.930Z] 1a89e8eeedd5: Download complete [2022-06-23T17:31:38.930Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T17:31:38.930Z] 3a77bd46dcc9: Download complete [2022-06-23T17:31:38.930Z] 355e64cbe906: Verifying Checksum [2022-06-23T17:31:38.930Z] 355e64cbe906: Download complete [2022-06-23T17:31:38.930Z] 9b3977197b4f: Download complete [2022-06-23T17:31:38.930Z] 63ab81a10011: Verifying Checksum [2022-06-23T17:31:38.930Z] 63ab81a10011: Download complete [2022-06-23T17:31:39.923Z] 9b3977197b4f: Pull complete [2022-06-23T17:31:39.923Z] 7d9057610161: Verifying Checksum [2022-06-23T17:31:39.923Z] 7d9057610161: Download complete [2022-06-23T17:31:40.524Z] 1a89e8eeedd5: Pull complete [2022-06-23T17:31:40.801Z] 94645a83ff95: Pull complete [2022-06-23T17:31:41.073Z] 555d1d1c4555: Verifying Checksum [2022-06-23T17:31:41.073Z] 555d1d1c4555: Download complete [2022-06-23T17:31:41.672Z] e6fb740bc735: Verifying Checksum [2022-06-23T17:31:41.672Z] e6fb740bc735: Download complete [2022-06-23T17:31:54.065Z] e6fb740bc735: Pull complete [2022-06-23T17:31:54.065Z] 3a77bd46dcc9: Pull complete [2022-06-23T17:31:54.065Z] 355e64cbe906: Pull complete [2022-06-23T17:31:54.065Z] 63ab81a10011: Pull complete [2022-06-23T17:32:00.779Z] 555d1d1c4555: Pull complete [2022-06-23T17:32:02.760Z] 7d9057610161: Pull complete [2022-06-23T17:32:02.760Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T17:32:02.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T17:32:02.760Z] ---> 819e984ddca1 [2022-06-23T17:32:02.760Z] Step 3/13 : ARG MAKE="make build" [2022-06-23T17:32:04.206Z] ---> Running in 154f322e1a92 [2022-06-23T17:32:04.482Z] Removing intermediate container 154f322e1a92 [2022-06-23T17:32:04.482Z] ---> b88673d3a75d [2022-06-23T17:32:04.482Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T17:32:04.482Z] ---> Running in d5b73eef8b63 [2022-06-23T17:32:04.758Z] Removing intermediate container d5b73eef8b63 [2022-06-23T17:32:04.758Z] ---> 5c097dab5414 [2022-06-23T17:32:04.758Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T17:32:04.758Z] ---> Running in 10f82b78d6c0 [2022-06-23T17:32:05.034Z] Removing intermediate container 10f82b78d6c0 [2022-06-23T17:32:05.034Z] ---> b70e27de932f [2022-06-23T17:32:05.034Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-23T17:32:05.310Z] ---> Running in d1e6b42cb490 [2022-06-23T17:32:05.588Z] Removing intermediate container d1e6b42cb490 [2022-06-23T17:32:05.588Z] ---> 18fab49a3e14 [2022-06-23T17:32:05.588Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T17:32:05.588Z] ---> Running in 387585a870f1 [2022-06-23T17:32:08.225Z] Removing intermediate container 387585a870f1 [2022-06-23T17:32:08.225Z] ---> 10f3dd6cfaf4 [2022-06-23T17:32:08.225Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T17:32:08.225Z] ---> Running in e5c646677ebc [2022-06-23T17:32:09.208Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T17:32:10.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T17:32:10.781Z] OK: 220 MiB in 52 packages [2022-06-23T17:32:11.775Z] Removing intermediate container e5c646677ebc [2022-06-23T17:32:11.775Z] ---> 92e23a0c8221 [2022-06-23T17:32:11.775Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-23T17:32:11.775Z] ---> Running in 88c160211b0a [2022-06-23T17:32:12.047Z] Removing intermediate container 88c160211b0a [2022-06-23T17:32:12.047Z] ---> 12be6248490a [2022-06-23T17:32:12.047Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-23T17:32:12.644Z] ---> ee1a61f0fcca [2022-06-23T17:32:12.644Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T17:32:12.644Z] ---> Running in 062785387fee [2022-06-23T17:33:09.199Z] Removing intermediate container 062785387fee [2022-06-23T17:33:09.199Z] ---> 81cb611d55c3 [2022-06-23T17:33:09.199Z] Step 12/13 : COPY . . [2022-06-23T17:33:09.199Z] ---> 05b9e414fe1f [2022-06-23T17:33:09.199Z] Step 13/13 : RUN ${MAKE} [2022-06-23T17:33:09.199Z] ---> Running in 186476d65f5a [2022-06-23T17:33:09.199Z] noop [2022-06-23T17:33:09.199Z] Removing intermediate container 186476d65f5a [2022-06-23T17:33:09.199Z] ---> e1ad6450c77b [2022-06-23T17:33:09.199Z] Successfully built e1ad6450c77b [2022-06-23T17:33:09.199Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:33:09.567Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T17:33:09.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:33:09.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-15469 does not seem to be running inside a container [2022-06-23T17:33:09.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T17:33:11.161Z] $ docker top 1f04f40a22481b43b7d610ecfd4d9330c4e5eae1baf157f44216853c102d5ee9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T17:33:12.075Z] + go version [2022-06-23T17:33:12.075Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T17:33:12.103Z] $ docker stop --time=1 1f04f40a22481b43b7d610ecfd4d9330c4e5eae1baf157f44216853c102d5ee9 [2022-06-23T17:33:13.692Z] $ docker rm -f 1f04f40a22481b43b7d610ecfd4d9330c4e5eae1baf157f44216853c102d5ee9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:33:14.276Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T17:33:14.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:33:14.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-15469 does not seem to be running inside a container [2022-06-23T17:33:14.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-23T17:33:15.896Z] $ docker top 286f6eaf35fb639c1e21c3e0600e6e784de1182e19a457111b0109d41d455194 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T17:33:16.796Z] + make test [2022-06-23T17:33:16.796Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-23T17:33:18.791Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-23T17:34:55.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-23T17:34:55.681Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 4.6% of statements [2022-06-23T17:35:02.388Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.356s coverage: 13.8% of statements [2022-06-23T17:35:02.662Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T17:35:02.662Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T17:35:29.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T17:35:29.479Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T17:35:29.479Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T17:35:32.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T17:35:32.914Z] $ docker stop --time=1 286f6eaf35fb639c1e21c3e0600e6e784de1182e19a457111b0109d41d455194 [2022-06-23T17:35:34.705Z] $ docker rm -f 286f6eaf35fb639c1e21c3e0600e6e784de1182e19a457111b0109d41d455194 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T17:35:35.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T17:35:35.690Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T17:35:36.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T17:35:36.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T17:35:37.045Z] + ls -al . [2022-06-23T17:35:37.045Z] total 236 [2022-06-23T17:35:37.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 17:35 . [2022-06-23T17:35:37.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:31 .. [2022-06-23T17:35:37.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 17:31 .git [2022-06-23T17:35:37.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 17:31 .github [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 23 17:31 .gitignore [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 23 17:31 .golangci.yml [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 23 17:31 Attribution.txt [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 23 17:31 CHANGELOG.md [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 23 17:31 Dockerfile [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 17:31 GOVERNANCE.md [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 17:31 Jenkinsfile [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 23 17:31 LICENSE [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 23 17:31 Makefile [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 23 17:31 OWNERS.md [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 30763 Jun 23 17:31 README.md [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 17:29 VERSION [2022-06-23T17:35:37.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 17:31 bin [2022-06-23T17:35:37.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 17:31 cmd [2022-06-23T17:35:37.045Z] -rw-r--r-- 1 jenkins jenkins 63108 Jun 23 17:35 coverage.out [2022-06-23T17:35:37.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:31 doc [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 23 17:31 go.mod [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 23 17:31 go.sum [2022-06-23T17:35:37.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 17:31 internal [2022-06-23T17:35:37.045Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 23 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:35:37.435Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a92da12dc0f175111ddd929216d9e9767a2bcb84 --label arch=arm64 --label version=0.0.0 . [2022-06-23T17:35:38.074Z] Sending build context to Docker daemon 6.103MB [2022-06-23T17:35:38.074Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T17:35:38.074Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T17:35:38.074Z] ---> e1ad6450c77b [2022-06-23T17:35:38.074Z] Step 3/26 : ARG MAKE="make build" [2022-06-23T17:35:38.074Z] ---> Running in c6451c08df51 [2022-06-23T17:35:38.379Z] Removing intermediate container c6451c08df51 [2022-06-23T17:35:38.379Z] ---> fba755644c71 [2022-06-23T17:35:38.379Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T17:35:38.379Z] ---> Running in c12b8470df23 [2022-06-23T17:35:39.001Z] Removing intermediate container c12b8470df23 [2022-06-23T17:35:39.001Z] ---> 2eec1a20046d [2022-06-23T17:35:39.001Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T17:35:39.001Z] ---> Running in 1564345b5a47 [2022-06-23T17:35:39.275Z] Removing intermediate container 1564345b5a47 [2022-06-23T17:35:39.275Z] ---> 8746ef2d4439 [2022-06-23T17:35:39.275Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-23T17:35:39.275Z] ---> Running in 331fcb4d2d3a [2022-06-23T17:35:39.562Z] Removing intermediate container 331fcb4d2d3a [2022-06-23T17:35:39.562Z] ---> 284988c44608 [2022-06-23T17:35:39.562Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T17:35:39.562Z] ---> Running in ea51acfa9fb0 [2022-06-23T17:35:41.552Z] Removing intermediate container ea51acfa9fb0 [2022-06-23T17:35:41.552Z] ---> 7bc7070b6cf5 [2022-06-23T17:35:41.552Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T17:35:41.552Z] ---> Running in 5f54888984d7 [2022-06-23T17:35:42.527Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T17:35:43.506Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T17:35:44.101Z] OK: 220 MiB in 52 packages [2022-06-23T17:35:45.098Z] Removing intermediate container 5f54888984d7 [2022-06-23T17:35:45.098Z] ---> 20c3d0f352c7 [2022-06-23T17:35:45.098Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-23T17:35:45.098Z] ---> Running in 320f060be1f3 [2022-06-23T17:35:45.370Z] Removing intermediate container 320f060be1f3 [2022-06-23T17:35:45.370Z] ---> 625eb75bc6f9 [2022-06-23T17:35:45.370Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-23T17:35:45.644Z] ---> f37ee17e7564 [2022-06-23T17:35:45.644Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T17:35:45.933Z] ---> Running in 03b12066fab2 [2022-06-23T17:35:47.910Z] Removing intermediate container 03b12066fab2 [2022-06-23T17:35:47.910Z] ---> 0e293f2ac68a [2022-06-23T17:35:47.910Z] Step 12/26 : COPY . . [2022-06-23T17:35:48.889Z] ---> 9926bc9a2f48 [2022-06-23T17:35:48.889Z] Step 13/26 : RUN ${MAKE} [2022-06-23T17:35:48.889Z] ---> Running in 525d0f659ae2 [2022-06-23T17:35:49.865Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-23T17:37:56.708Z] Removing intermediate container 525d0f659ae2 [2022-06-23T17:37:56.708Z] ---> 3e8fe039497b [2022-06-23T17:37:56.708Z] Step 14/26 : FROM alpine:3.15 [2022-06-23T17:37:56.708Z] 3.15: Pulling from library/alpine [2022-06-23T17:37:56.708Z] 9981e73032c8: Pulling fs layer [2022-06-23T17:37:56.708Z] 9981e73032c8: Verifying Checksum [2022-06-23T17:37:56.708Z] 9981e73032c8: Download complete [2022-06-23T17:37:56.708Z] 9981e73032c8: Pull complete [2022-06-23T17:37:56.708Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-23T17:37:56.708Z] Status: Downloaded newer image for alpine:3.15 [2022-06-23T17:37:56.708Z] ---> 3fb3c9af89a9 [2022-06-23T17:37:56.708Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-23T17:37:56.708Z] ---> Running in ad5eb1f9a0a2 [2022-06-23T17:37:56.708Z] Removing intermediate container ad5eb1f9a0a2 [2022-06-23T17:37:56.708Z] ---> 66f57191ec09 [2022-06-23T17:37:56.708Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T17:37:56.708Z] ---> Running in d20a67d5a593 [2022-06-23T17:37:56.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T17:37:56.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T17:37:56.708Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T17:37:56.708Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-23T17:37:56.708Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T17:37:56.708Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-23T17:37:56.708Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T17:37:56.708Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T17:37:56.708Z] Executing busybox-1.34.1-r5.trigger [2022-06-23T17:37:56.708Z] OK: 8 MiB in 20 packages [2022-06-23T17:37:56.708Z] Removing intermediate container d20a67d5a593 [2022-06-23T17:37:56.708Z] ---> 5c4bdd4af338 [2022-06-23T17:37:56.708Z] Step 17/26 : WORKDIR / [2022-06-23T17:37:56.708Z] ---> Running in 5fd8e6d43654 [2022-06-23T17:37:56.708Z] Removing intermediate container 5fd8e6d43654 [2022-06-23T17:37:56.708Z] ---> 6cfd9ff72e4e [2022-06-23T17:37:56.708Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-23T17:37:56.708Z] ---> 31ed58159d59 [2022-06-23T17:37:56.708Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-23T17:37:56.708Z] ---> 7783991c527c [2022-06-23T17:37:56.708Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-23T17:37:56.708Z] ---> a83944f7a3ec [2022-06-23T17:37:56.708Z] Step 21/26 : EXPOSE 59984 [2022-06-23T17:37:56.708Z] ---> Running in 40f7343f3643 [2022-06-23T17:37:56.981Z] Removing intermediate container 40f7343f3643 [2022-06-23T17:37:56.981Z] ---> 102da4d4b57a [2022-06-23T17:37:56.981Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-23T17:37:57.255Z] ---> Running in 48766b173e12 [2022-06-23T17:37:57.527Z] Removing intermediate container 48766b173e12 [2022-06-23T17:37:57.527Z] ---> c25f905f5e44 [2022-06-23T17:37:57.527Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T17:37:57.527Z] ---> Running in 895417b8cc7a [2022-06-23T17:37:57.804Z] Removing intermediate container 895417b8cc7a [2022-06-23T17:37:57.804Z] ---> 26e0206ffd54 [2022-06-23T17:37:57.804Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T17:37:58.080Z] ---> Running in 08a06385572b [2022-06-23T17:37:58.352Z] Removing intermediate container 08a06385572b [2022-06-23T17:37:58.352Z] ---> f687acce3d5e [2022-06-23T17:37:58.352Z] Step 25/26 : LABEL git_sha=a92da12dc0f175111ddd929216d9e9767a2bcb84 [2022-06-23T17:37:58.352Z] ---> Running in 9f384b50bd1b [2022-06-23T17:37:58.625Z] Removing intermediate container 9f384b50bd1b [2022-06-23T17:37:58.625Z] ---> be9e54056440 [2022-06-23T17:37:58.625Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T17:37:58.625Z] ---> Running in 0778cd80a2c0 [2022-06-23T17:37:58.896Z] Removing intermediate container 0778cd80a2c0 [2022-06-23T17:37:58.896Z] ---> 15bb76bf4040 [2022-06-23T17:37:58.896Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T17:37:58.896Z] Successfully built 15bb76bf4040 [2022-06-23T17:37:59.167Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:37:59.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T17:37:59.624Z] [2022-06-23T17:37:59.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:37:59.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T17:38:00.247Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T17:38:00.248Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T17:38:00.248Z] 04944245beec: Pulling fs layer [2022-06-23T17:38:00.248Z] 699f458cf7ca: Pulling fs layer [2022-06-23T17:38:00.248Z] 765212b225bb: Pulling fs layer [2022-06-23T17:38:00.248Z] f23df028b6ca: Pulling fs layer [2022-06-23T17:38:00.248Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T17:38:00.248Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T17:38:00.248Z] f23df028b6ca: Waiting [2022-06-23T17:38:00.248Z] d65c8cfc05b1: Waiting [2022-06-23T17:38:00.248Z] 2437ff75d9bd: Waiting [2022-06-23T17:38:00.248Z] 765212b225bb: Waiting [2022-06-23T17:38:00.248Z] 04944245beec: Verifying Checksum [2022-06-23T17:38:00.248Z] 04944245beec: Download complete [2022-06-23T17:38:00.248Z] 765212b225bb: Verifying Checksum [2022-06-23T17:38:00.248Z] 765212b225bb: Download complete [2022-06-23T17:38:00.248Z] f23df028b6ca: Verifying Checksum [2022-06-23T17:38:00.248Z] f23df028b6ca: Download complete [2022-06-23T17:38:00.248Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T17:38:00.248Z] d65c8cfc05b1: Download complete [2022-06-23T17:38:00.527Z] 699f458cf7ca: Verifying Checksum [2022-06-23T17:38:00.527Z] 699f458cf7ca: Download complete [2022-06-23T17:38:00.802Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T17:38:00.802Z] 8998bd30e6a1: Download complete [2022-06-23T17:38:03.424Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T17:38:03.424Z] 2437ff75d9bd: Download complete [2022-06-23T17:38:05.404Z] 8998bd30e6a1: Pull complete [2022-06-23T17:38:05.679Z] 04944245beec: Pull complete [2022-06-23T17:38:07.113Z] 699f458cf7ca: Pull complete [2022-06-23T17:38:07.387Z] 765212b225bb: Pull complete [2022-06-23T17:38:07.983Z] f23df028b6ca: Pull complete [2022-06-23T17:38:08.267Z] d65c8cfc05b1: Pull complete [2022-06-23T17:38:23.347Z] 2437ff75d9bd: Pull complete [2022-06-23T17:38:23.347Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T17:38:23.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T17:38:23.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:38:23.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-15469 does not seem to be running inside a container [2022-06-23T17:38:23.702Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-23T17:38:26.131Z] $ docker top 0ef4e9c3013c7654f83c2ee63a73af85e8242b67653788a3503dad01b1ebd84b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:27.090Z] ---> job-cost.sh [2022-06-23T17:38:27.090Z] lf-activate-venv: SKIPPING [2022-06-23T17:38:27.090Z] INFO: No Stack... [2022-06-23T17:38:27.688Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T17:38:28.298Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T17:38:28.952Z] + cut -d, -f6 [2022-06-23T17:38:28.952Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-06-23T17:38:29.015Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [2022-06-23T17:38:29.021Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] did not exist. Created. [2022-06-23T17:38:29.022Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T17:38:29.699Z] /w/workspace/device-onvif-camera/7@tmp/durable-d9e0c7a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T17:38:30.370Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T17:38:30.398Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T17:38:30.442Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T17:38:30.449Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T17:38:30.473Z] $ docker stop --time=1 0ef4e9c3013c7654f83c2ee63a73af85e8242b67653788a3503dad01b1ebd84b [2022-06-23T17:38:31.976Z] $ docker rm -f 0ef4e9c3013c7654f83c2ee63a73af85e8242b67653788a3503dad01b1ebd84b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-23T17:38:32.428Z] provisioning config files... [2022-06-23T17:38:32.456Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config4534584143505943963tmp [Pipeline] { [Pipeline] sh [2022-06-23T17:38:32.799Z] + set +x [2022-06-23T17:38:32.799Z] + bash -s -- [2022-06-23T17:38:32.799Z] + curl -s https://codecov.io/bash [2022-06-23T17:38:32.799Z] [2022-06-23T17:38:32.799Z] _____ _ [2022-06-23T17:38:32.799Z] / ____| | | [2022-06-23T17:38:32.799Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T17:38:32.799Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T17:38:32.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T17:38:32.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T17:38:32.799Z] Bash-1.0.6 [2022-06-23T17:38:32.799Z] [2022-06-23T17:38:32.799Z] [2022-06-23T17:38:32.799Z] ==> git version 2.25.1 found [2022-06-23T17:38:32.799Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-23T17:38:32.799Z] Release-Date: 2020-01-08 [2022-06-23T17:38:32.799Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-23T17:38:32.799Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T17:38:32.799Z] ==> Jenkins CI detected. [2022-06-23T17:38:32.799Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-23T17:38:32.799Z] project root: . [2022-06-23T17:38:32.799Z] --> token set from env [2022-06-23T17:38:32.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T17:38:32.799Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T17:38:32.799Z] ==> Python coveragepy not found [2022-06-23T17:38:32.799Z] ==> Searching for coverage reports in: [2022-06-23T17:38:32.799Z] + . [2022-06-23T17:38:32.799Z] -> Found 1 reports [2022-06-23T17:38:32.799Z] ==> Detecting git/mercurial file structure [2022-06-23T17:38:32.799Z] ==> Reading reports [2022-06-23T17:38:32.799Z] + ./coverage.out bytes=63108 [2022-06-23T17:38:32.799Z] ==> Appending adjustments [2022-06-23T17:38:32.799Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T17:38:33.059Z] + Found adjustments [2022-06-23T17:38:33.059Z] ==> Gzipping contents [2022-06-23T17:38:33.059Z] 8.0K /tmp/codecov.6jaT8S.gz [2022-06-23T17:38:33.059Z] ==> Uploading reports [2022-06-23T17:38:33.059Z] url: https://codecov.io [2022-06-23T17:38:33.059Z] query: branch=PR-87&commit=2b8d6c8d28623305c12a38e4ffec768bb475a239&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-23T17:38:33.059Z] -> Pinging Codecov [2022-06-23T17:38:33.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-87&commit=2b8d6c8d28623305c12a38e4ffec768bb475a239&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-23T17:38:33.318Z] -> Uploading to [2022-06-23T17:38:33.318Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/F29A59C45E3A92E06B3E522C9905F8EF/2b8d6c8d28623305c12a38e4ffec768bb475a239/110df370-15f6-437a-a25a-d7e6e57c01c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T173833Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37f2e67c5de11de88d07f24ec34a9ab68cc7dd9f7d9152d82eca839c38db3939 [2022-06-23T17:38:33.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T17:38:33.318Z] Dload Upload Total Spent Left Speed [2022-06-23T17:38:33.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7998 0 0 100 7998 0 38267 --:--:-- --:--:-- --:--:-- 38267 [2022-06-23T17:38:33.319Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/2b8d6c8d28623305c12a38e4ffec768bb475a239 [Pipeline] } [2022-06-23T17:38:33.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-23T17:38:34.055Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-23T17:38:34.055Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T17:38:34.055Z] total 16 [2022-06-23T17:38:34.055Z] drwxr-xr-x 3 root root 4096 Jun 23 17:30 . [2022-06-23T17:38:34.055Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 17:30 .. [2022-06-23T17:38:34.055Z] drwxr-xr-x 2 root root 4096 Jun 23 17:30 cost [2022-06-23T17:38:34.055Z] -rw-r--r-- 1 root root 89 Jun 23 17:30 cost.csv [2022-06-23T17:38:34.055Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T17:38:34.055Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-23T17:38:34.055Z] total 16 [2022-06-23T17:38:34.055Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 17:30 . [2022-06-23T17:38:34.055Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 17:30 .. [2022-06-23T17:38:34.055Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 17:30 cost [2022-06-23T17:38:34.055Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:34.349Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:35.211Z] ---> package-listing.sh [2022-06-23T17:38:35.211Z] ++ facter osfamily [2022-06-23T17:38:35.211Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T17:38:35.472Z] + OS_FAMILY=debian [2022-06-23T17:38:35.472Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-23T17:38:35.472Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T17:38:35.472Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T17:38:35.472Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T17:38:35.472Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T17:38:35.472Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-23T17:38:35.472Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T17:38:35.472Z] + case "${OS_FAMILY}" in [2022-06-23T17:38:35.472Z] + dpkg -l [2022-06-23T17:38:35.472Z] + grep '^ii' [2022-06-23T17:38:35.472Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T17:38:35.472Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T17:38:35.472Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T17:38:35.472Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-23T17:38:35.472Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-23T17:38:35.472Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [Pipeline] echo [2022-06-23T17:38:35.482Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-23T17:38:35.764Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T17:38:36.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T17:38:36.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T17:38:36.158Z] prd-ubuntu20.04-docker-8c-8g-15468 does not seem to be running inside a container [2022-06-23T17:38:36.208Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T17:38:36.424Z] $ docker top 2e4efad5f9a9237e73c2672569f56f35ae6d9c84011ad2e9da5b8920bdd7dc05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T17:38:36.785Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T17:38:37.076Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T17:38:37.364Z] + ls /var/log/sa-host [2022-06-23T17:38:37.364Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T17:38:37.495Z] provisioning config files... [2022-06-23T17:38:37.505Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config5057485376096677304tmp [Pipeline] { [Pipeline] echo [2022-06-23T17:38:37.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:37.805Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T17:38:37.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:38.142Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T17:38:38.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:38.439Z] ---> sudo-logs.sh [2022-06-23T17:38:38.439Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T17:38:38.469Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:38.751Z] ---> job-cost.sh [2022-06-23T17:38:38.751Z] lf-activate-venv: SKIPPING [2022-06-23T17:38:38.751Z] DEBUG: total: 0.2199999988079071 [2022-06-23T17:38:38.751Z] INFO: Retrieving Stack Cost... [2022-06-23T17:38:39.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T17:38:39.582Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T17:38:39.593Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T17:38:39.879Z] ---> logs-deploy.sh [2022-06-23T17:38:39.879Z] lf-activate-venv: SKIPPING [2022-06-23T17:38:39.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/7 [2022-06-23T17:38:39.879Z] INFO: archiving workspace using pattern(s): [2022-06-23T17:38:40.818Z] Archives upload complete. [2022-06-23T17:38:40.818Z] INFO: archiving logs to Nexus