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 e6ac60498b5fba72165e9a0243a438296d4de819 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-ssh15817556312048778110.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-ssh3994836658399326046.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-ssh4722457066493531287.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-ssh1618421417268875812.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-ssh15963840707104234346.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-15563 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit e6ac60498b5fba72165e9a0243a438296d4de819 Merge succeeded, producing 9b11e50a6246e2a1deeabe85649c63670f51acb8 Checking out Revision 9b11e50a6246e2a1deeabe85649c63670f51acb8 (PR-87) > 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 e6ac60498b5fba72165e9a0243a438296d4de819 # 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 9b11e50a6246e2a1deeabe85649c63670f51acb8 # 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-24T22:00:29.973Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T22:00:30.034Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T22:00:30.057Z] ========================================================= [2022-06-24T22:00:30.057Z] EdgeX Global Pipelines Version Info [2022-06-24T22:00:30.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7450cfda72332ac71abf332f064ac8d221898e3a # timeout=10 [2022-06-24T22:00:30.836Z] ------------------- [2022-06-24T22:00:30.836Z] stable info: [2022-06-24T22:00:30.836Z] ------------------- [2022-06-24T22:00:30.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T22:00:30.836Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T22:00:30.836Z] Message: update stable to v1.0.234 [2022-06-24T22:00:31.410Z] ------------------- [2022-06-24T22:00:31.410Z] experimental info: [2022-06-24T22:00:31.410Z] ------------------- [2022-06-24T22:00:31.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T22:00:31.410Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T22:00:31.410Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T22:00:31.589Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T22:00:31.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T22:00:31.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T22:00:31.628Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T22:00:31.639Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T22:00:31.653Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T22:00:31.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T22:00:31.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T22:00:31.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T22:00:31.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T22:00:31.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T22:00:31.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T22:00:31.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T22:00:31.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T22:00:31.786Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T22:00:31.798Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T22:00:31.813Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T22:00:31.824Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T22:00:31.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T22:00:31.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T22:00:31.866Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T22:00:31.881Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T22:00:31.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T22:00:31.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T22:00:31.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T22:00:31.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T22:00:31.949Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T22:00:31.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-87 [Pipeline] echo [2022-06-24T22:00:31.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-87 [Pipeline] echo [2022-06-24T22:00:31.988Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-87 [Pipeline] echo [2022-06-24T22:00:32.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b11e50a6246e2a1deeabe85649c63670f51acb8 [Pipeline] echo [2022-06-24T22:00:32.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b11e50 [Pipeline] echo [2022-06-24T22:00:32.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T22:00:32.067Z] provisioning config files... [2022-06-24T22:00:32.083Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config4152201339867395443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:00:32.390Z] ---> docker-login.sh [2022-06-24T22:00:32.390Z] nexus3.edgexfoundry.org:10001 [2022-06-24T22:00:32.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:32.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:32.652Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:32.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:32.652Z] [2022-06-24T22:00:32.652Z] Login Succeeded [2022-06-24T22:00:32.652Z] nexus3.edgexfoundry.org:10002 [2022-06-24T22:00:32.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:32.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:32.914Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:32.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:32.914Z] [2022-06-24T22:00:32.914Z] Login Succeeded [2022-06-24T22:00:32.914Z] nexus3.edgexfoundry.org:10003 [2022-06-24T22:00:32.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:33.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:33.175Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:33.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:33.175Z] [2022-06-24T22:00:33.175Z] Login Succeeded [2022-06-24T22:00:33.175Z] nexus3.edgexfoundry.org:10004 [2022-06-24T22:00:33.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:33.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:33.175Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:33.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:33.175Z] [2022-06-24T22:00:33.175Z] Login Succeeded [2022-06-24T22:00:33.175Z] docker.io [2022-06-24T22:00:33.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:33.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:33.700Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:33.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:33.700Z] [2022-06-24T22:00:33.700Z] Login Succeeded [2022-06-24T22:00:33.700Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T22:00:33.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T22:00:34.109Z] + git rev-list -1 --merges 9b11e50a6246e2a1deeabe85649c63670f51acb8~1..9b11e50a6246e2a1deeabe85649c63670f51acb8 [Pipeline] echo [2022-06-24T22:00:34.139Z] -----------> git rev-list -1 --merges 9b11e50a6246e2a1deeabe85649c63670f51acb8~1..9b11e50a6246e2a1deeabe85649c63670f51acb8 9b11e50a6246e2a1deeabe85649c63670f51acb8 [2022-06-24T22:00:34.139Z] 9b11e50a6246e2a1deeabe85649c63670f51acb8 [false] [Pipeline] sh [2022-06-24T22:00:34.436Z] + git log --format=format:%s -1 9b11e50a6246e2a1deeabe85649c63670f51acb8 [Pipeline] echo [2022-06-24T22:00:34.452Z] ========================================================= [2022-06-24T22:00:34.452Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T22:00:34.452Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T22:00:34.797Z] + git log --format=format:%s -1 9b11e50a6246e2a1deeabe85649c63670f51acb8 [Pipeline] echo [2022-06-24T22:00:34.810Z] [semverPrep] GIT_COMMIT: 9b11e50a6246e2a1deeabe85649c63670f51acb8, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T22:00:34.819Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T22:00:35.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T22:00:35.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T22:00:35.188Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T22:00:35.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T22:00:35.188Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T22:00:35.188Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T22:00:35.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:00:35.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T22:00:35.606Z] [2022-06-24T22:00:35.606Z] 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-24T22:00:35.913Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T22:00:35.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T22:00:35.914Z] 42c077c10790: Pulling fs layer [2022-06-24T22:00:35.914Z] f63e77b7563a: Pulling fs layer [2022-06-24T22:00:35.914Z] bd5fdadae976: Pulling fs layer [2022-06-24T22:00:35.914Z] 205491f53016: Pulling fs layer [2022-06-24T22:00:35.914Z] df18705c85c3: Pulling fs layer [2022-06-24T22:00:35.914Z] bdb3f477010e: Pulling fs layer [2022-06-24T22:00:35.914Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T22:00:35.914Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T22:00:35.914Z] bdb8f0575790: Pulling fs layer [2022-06-24T22:00:35.914Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T22:00:35.914Z] 2343380bae48: Pulling fs layer [2022-06-24T22:00:35.914Z] df18705c85c3: Waiting [2022-06-24T22:00:35.914Z] bdb8f0575790: Waiting [2022-06-24T22:00:35.914Z] bdb3f477010e: Waiting [2022-06-24T22:00:35.914Z] 2c6e9b1d212d: Waiting [2022-06-24T22:00:35.914Z] 2343380bae48: Waiting [2022-06-24T22:00:35.914Z] 386e3cb2ff24: Waiting [2022-06-24T22:00:35.914Z] c8a8fc8e1c8f: Waiting [2022-06-24T22:00:35.914Z] f63e77b7563a: Verifying Checksum [2022-06-24T22:00:35.914Z] f63e77b7563a: Download complete [2022-06-24T22:00:35.914Z] 205491f53016: Verifying Checksum [2022-06-24T22:00:35.914Z] 205491f53016: Download complete [2022-06-24T22:00:36.175Z] df18705c85c3: Verifying Checksum [2022-06-24T22:00:36.175Z] df18705c85c3: Download complete [2022-06-24T22:00:36.175Z] bdb3f477010e: Verifying Checksum [2022-06-24T22:00:36.175Z] bdb3f477010e: Download complete [2022-06-24T22:00:36.175Z] bd5fdadae976: Verifying Checksum [2022-06-24T22:00:36.175Z] bd5fdadae976: Download complete [2022-06-24T22:00:36.175Z] 2c6e9b1d212d: Download complete [2022-06-24T22:00:36.175Z] bdb8f0575790: Download complete [2022-06-24T22:00:36.175Z] 386e3cb2ff24: Verifying Checksum [2022-06-24T22:00:36.175Z] 386e3cb2ff24: Download complete [2022-06-24T22:00:36.175Z] 2343380bae48: Download complete [2022-06-24T22:00:36.175Z] 42c077c10790: Verifying Checksum [2022-06-24T22:00:36.175Z] 42c077c10790: Download complete [2022-06-24T22:00:36.435Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-24T22:00:36.435Z] c8a8fc8e1c8f: Download complete [2022-06-24T22:00:37.815Z] 42c077c10790: Pull complete [2022-06-24T22:00:37.815Z] f63e77b7563a: Pull complete [2022-06-24T22:00:38.387Z] bd5fdadae976: Pull complete [2022-06-24T22:00:38.387Z] 205491f53016: Pull complete [2022-06-24T22:00:38.959Z] df18705c85c3: Pull complete [2022-06-24T22:00:38.959Z] bdb3f477010e: Pull complete [2022-06-24T22:00:40.870Z] c8a8fc8e1c8f: Pull complete [2022-06-24T22:00:41.131Z] 2c6e9b1d212d: Pull complete [2022-06-24T22:00:41.131Z] bdb8f0575790: Pull complete [2022-06-24T22:00:41.393Z] 386e3cb2ff24: Pull complete [2022-06-24T22:00:41.393Z] 2343380bae48: Pull complete [2022-06-24T22:00:41.393Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T22:00:41.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T22:00:41.393Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:00:41.496Z] prd-ubuntu20.04-docker-8c-8g-15563 does not seem to be running inside a container [2022-06-24T22:00:41.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-24T22:00:43.102Z] $ docker top 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f -eo pid,comm [2022-06-24T22:00:43.176Z] 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-24T22:00:43.176Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T22:00:43.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T22:00:43.210Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T22:00:43.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T22:00:43.363Z] $ docker exec 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f ssh-agent [2022-06-24T22:00:43.481Z] SSH_AUTH_SOCK=/tmp/ssh-AqmrRBSMS51E/agent.32 [2022-06-24T22:00:43.481Z] SSH_AGENT_PID=38 [2022-06-24T22:00:43.488Z] Running ssh-add (command line suppressed) [2022-06-24T22:00:43.612Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3721627379824608884.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_3721627379824608884.key) [2022-06-24T22:00:43.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T22:00:43.914Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T22:00:43.937Z] $ docker exec --env ******** --env ******** 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f ssh-agent -k [2022-06-24T22:00:44.054Z] unset SSH_AUTH_SOCK; [2022-06-24T22:00:44.055Z] unset SSH_AGENT_PID; [2022-06-24T22:00:44.055Z] echo Agent pid 38 killed; [2022-06-24T22:00:44.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T22:00:44.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T22:00:44.086Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T22:00:44.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T22:00:44.230Z] $ docker exec 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f ssh-agent [2022-06-24T22:00:44.372Z] SSH_AUTH_SOCK=/tmp/ssh-owf2XzmhRRvB/agent.71 [2022-06-24T22:00:44.372Z] SSH_AGENT_PID=77 [2022-06-24T22:00:44.378Z] Running ssh-add (command line suppressed) [2022-06-24T22:00:44.502Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8427507603843314227.key (/w/workspace/oundry_device-onvif-camera_PR-87@tmp/private_key_8427507603843314227.key) [2022-06-24T22:00:44.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T22:00:44.809Z] + git semver init [2022-06-24T22:00:45.070Z] 2022-06-24 22:00:45,008 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T22:00:45.070Z] 2022-06-24 22:00:45,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-87/.semver [2022-06-24T22:00:45.070Z] 2022-06-24 22:00:45,009 [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-24T22:00:45.070Z] 2022-06-24 22:00:45,010 [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-24T22:00:46.014Z] 2022-06-24 22:00:45,696 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-87/.git/info/exclude [2022-06-24T22:00:46.014Z] 2022-06-24 22:00:45,697 [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-24T22:00:46.014Z] 2022-06-24 22:00:45,697 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-24T22:00:46.014Z] 2022-06-24 22:00:45,701 [execute] INFO git cat-file --batch-check [2022-06-24T22:00:46.014Z] 2022-06-24 22:00:45,702 [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-24T22:00:46.014Z] 2022-06-24 22:00:45,708 [execute] INFO git cat-file --batch [2022-06-24T22:00:46.014Z] 2022-06-24 22:00:45,709 [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-24T22:00:46.014Z] 2022-06-24 22:00:45,714 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-87/.semver/PR-87 [2022-06-24T22:00:46.014Z] 0.0.0 [Pipeline] } [2022-06-24T22:00:46.033Z] $ docker exec --env ******** --env ******** 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f ssh-agent -k [2022-06-24T22:00:46.159Z] unset SSH_AUTH_SOCK; [2022-06-24T22:00:46.159Z] unset SSH_AGENT_PID; [2022-06-24T22:00:46.159Z] echo Agent pid 77 killed; [2022-06-24T22:00:46.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T22:00:46.473Z] + git semver [Pipeline] } [2022-06-24T22:00:46.756Z] $ docker stop --time=1 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f [2022-06-24T22:00:48.075Z] $ docker rm -f 565ff337e7d7e86ab2cf7a83b5103c63ef55544893fcc8f1b53bd60ccac4e86f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T22:00:48.424Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T22:00:48.684Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T22:00:48.686Z] [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-24T22:00:48.844Z] provisioning config files... [2022-06-24T22:00:48.856Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config434339977808091651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:00:49.157Z] ---> docker-login.sh [2022-06-24T22:00:49.157Z] nexus3.edgexfoundry.org:10001 [2022-06-24T22:00:49.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:49.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:49.157Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:49.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:49.157Z] [2022-06-24T22:00:49.157Z] Login Succeeded [2022-06-24T22:00:49.157Z] nexus3.edgexfoundry.org:10002 [2022-06-24T22:00:49.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:49.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:49.418Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:49.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:49.418Z] [2022-06-24T22:00:49.418Z] Login Succeeded [2022-06-24T22:00:49.418Z] nexus3.edgexfoundry.org:10003 [2022-06-24T22:00:49.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:49.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:49.418Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:49.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:49.418Z] [2022-06-24T22:00:49.418Z] Login Succeeded [2022-06-24T22:00:49.418Z] nexus3.edgexfoundry.org:10004 [2022-06-24T22:00:49.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:49.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:49.678Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:49.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:49.678Z] [2022-06-24T22:00:49.678Z] Login Succeeded [2022-06-24T22:00:49.678Z] docker.io [2022-06-24T22:00:49.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:00:49.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:00:49.940Z] Configure a credential helper to remove this warning. See [2022-06-24T22:00:49.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:00:49.940Z] [2022-06-24T22:00:49.940Z] Login Succeeded [2022-06-24T22:00:49.940Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T22:00:49.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T22:00:50.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T22:00:50.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T22:00:50.035Z] ========================================================= [2022-06-24T22:00:50.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T22:00:50.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:00:50.349Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-24T22:00:50.349Z] Sending build context to Docker daemon 8.841MB [2022-06-24T22:00:50.349Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T22:00:50.349Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T22:00:50.349Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T22:00:50.349Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T22:00:50.349Z] 666ba61612fd: Pulling fs layer [2022-06-24T22:00:50.349Z] 8ed8ca486205: Pulling fs layer [2022-06-24T22:00:50.349Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T22:00:50.349Z] c516ae0d96e1: Pulling fs layer [2022-06-24T22:00:50.349Z] 684cea983483: Pulling fs layer [2022-06-24T22:00:50.349Z] dd3240ac7de5: Pulling fs layer [2022-06-24T22:00:50.349Z] b1e948a4e11c: Pulling fs layer [2022-06-24T22:00:50.349Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T22:00:50.349Z] 646ad004c059: Pulling fs layer [2022-06-24T22:00:50.349Z] dd3240ac7de5: Waiting [2022-06-24T22:00:50.349Z] b1e948a4e11c: Waiting [2022-06-24T22:00:50.349Z] a8fd76ee1af6: Waiting [2022-06-24T22:00:50.349Z] 646ad004c059: Waiting [2022-06-24T22:00:50.349Z] c516ae0d96e1: Waiting [2022-06-24T22:00:50.349Z] 684cea983483: Waiting [2022-06-24T22:00:50.611Z] 8ed8ca486205: Verifying Checksum [2022-06-24T22:00:50.611Z] 8ed8ca486205: Download complete [2022-06-24T22:00:50.611Z] 666ba61612fd: Verifying Checksum [2022-06-24T22:00:50.611Z] 666ba61612fd: Download complete [2022-06-24T22:00:50.611Z] c516ae0d96e1: Download complete [2022-06-24T22:00:50.611Z] 684cea983483: Verifying Checksum [2022-06-24T22:00:50.611Z] 684cea983483: Download complete [2022-06-24T22:00:50.611Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T22:00:50.611Z] 59bf1c3509f3: Download complete [2022-06-24T22:00:50.611Z] dd3240ac7de5: Download complete [2022-06-24T22:00:50.611Z] b1e948a4e11c: Verifying Checksum [2022-06-24T22:00:50.611Z] b1e948a4e11c: Download complete [2022-06-24T22:00:50.611Z] 59bf1c3509f3: Pull complete [2022-06-24T22:00:50.875Z] 666ba61612fd: Pull complete [2022-06-24T22:00:50.876Z] 8ed8ca486205: Pull complete [2022-06-24T22:00:51.137Z] 646ad004c059: Verifying Checksum [2022-06-24T22:00:51.137Z] 646ad004c059: Download complete [2022-06-24T22:00:51.137Z] a8fd76ee1af6: Download complete [2022-06-24T22:00:51.397Z] cc1cd167ecdc: Verifying Checksum [2022-06-24T22:00:51.397Z] cc1cd167ecdc: Download complete [2022-06-24T22:00:55.607Z] cc1cd167ecdc: Pull complete [2022-06-24T22:00:55.607Z] c516ae0d96e1: Pull complete [2022-06-24T22:00:55.607Z] 684cea983483: Pull complete [2022-06-24T22:00:55.607Z] dd3240ac7de5: Pull complete [2022-06-24T22:00:55.607Z] b1e948a4e11c: Pull complete [2022-06-24T22:00:58.152Z] a8fd76ee1af6: Pull complete [2022-06-24T22:00:58.412Z] 646ad004c059: Pull complete [2022-06-24T22:00:58.673Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T22:00:58.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T22:00:58.673Z] ---> 8f69c11f6b0c [2022-06-24T22:00:58.673Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T22:01:00.588Z] ---> Running in 5e4ffa9862a1 [2022-06-24T22:01:00.588Z] Removing intermediate container 5e4ffa9862a1 [2022-06-24T22:01:00.588Z] ---> cb6e0766a0af [2022-06-24T22:01:00.588Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T22:01:00.588Z] ---> Running in 1d9ef7ee6fb3 [2022-06-24T22:01:00.588Z] Removing intermediate container 1d9ef7ee6fb3 [2022-06-24T22:01:00.588Z] ---> b60e1bb46b9c [2022-06-24T22:01:00.588Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T22:01:00.588Z] ---> Running in 3abc8da2a13d [2022-06-24T22:01:00.588Z] Removing intermediate container 3abc8da2a13d [2022-06-24T22:01:00.588Z] ---> 332c75d0b31e [2022-06-24T22:01:00.588Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T22:01:00.588Z] ---> Running in 95ae807c7455 [2022-06-24T22:01:00.848Z] Removing intermediate container 95ae807c7455 [2022-06-24T22:01:00.848Z] ---> d5e59931fcf2 [2022-06-24T22:01:00.848Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T22:01:00.848Z] ---> Running in b9838eccf66f [2022-06-24T22:01:01.422Z] Removing intermediate container b9838eccf66f [2022-06-24T22:01:01.422Z] ---> 1808581146a7 [2022-06-24T22:01:01.422Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T22:01:01.422Z] ---> Running in d564cfc24d2e [2022-06-24T22:01:01.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T22:01:02.625Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T22:01:02.887Z] OK: 221 MiB in 52 packages [2022-06-24T22:01:03.465Z] Removing intermediate container d564cfc24d2e [2022-06-24T22:01:03.466Z] ---> b09db846ee46 [2022-06-24T22:01:03.466Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T22:01:03.466Z] ---> Running in 6f89a4ccc6af [2022-06-24T22:01:03.466Z] Removing intermediate container 6f89a4ccc6af [2022-06-24T22:01:03.466Z] ---> d72862f11e81 [2022-06-24T22:01:03.466Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T22:01:03.725Z] ---> 2594ab38a7fc [2022-06-24T22:01:03.725Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T22:01:03.725Z] ---> Running in f563b3dc881f [2022-06-24T22:01:03.795Z] Still waiting to schedule task [2022-06-24T22:01:03.796Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-24T22:01:21.860Z] Removing intermediate container f563b3dc881f [2022-06-24T22:01:21.860Z] ---> 63a97cf48208 [2022-06-24T22:01:21.860Z] Step 12/13 : COPY . . [2022-06-24T22:01:21.860Z] ---> 60f0361dc894 [2022-06-24T22:01:21.860Z] Step 13/13 : RUN ${MAKE} [2022-06-24T22:01:21.860Z] ---> Running in a247c294977d [2022-06-24T22:01:21.860Z] noop [2022-06-24T22:01:21.860Z] Removing intermediate container a247c294977d [2022-06-24T22:01:21.860Z] ---> 8691e4adee6a [2022-06-24T22:01:21.860Z] Successfully built 8691e4adee6a [2022-06-24T22:01:21.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:01:22.181Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T22:01:22.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:01:22.266Z] prd-ubuntu20.04-docker-8c-8g-15563 does not seem to be running inside a container [2022-06-24T22:01:22.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T22:01:22.799Z] $ docker top b17efa0b33358eab8a225186615d8a91bdf4e43caeb7fab53f03afe131a3f166 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T22:01:23.161Z] + go version [2022-06-24T22:01:23.161Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T22:01:23.177Z] $ docker stop --time=1 b17efa0b33358eab8a225186615d8a91bdf4e43caeb7fab53f03afe131a3f166 [2022-06-24T22:01:24.483Z] $ docker rm -f b17efa0b33358eab8a225186615d8a91bdf4e43caeb7fab53f03afe131a3f166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:01:24.919Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T22:01:24.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:01:25.009Z] prd-ubuntu20.04-docker-8c-8g-15563 does not seem to be running inside a container [2022-06-24T22:01:25.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-24T22:01:25.470Z] $ docker top 48948328da3f1d9f541b7541bb4b8baa8c5daa2dc00c36f3f29c8c5d2eac774e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T22:01:25.881Z] + make test [2022-06-24T22:01:25.882Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T22:01:26.141Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T22:01:36.135Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T22:01:36.135Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 6.2% of statements [2022-06-24T22:01:41.416Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.458s coverage: 13.8% of statements [2022-06-24T22:01:47.995Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-24T22:01:52.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-24T22:01:52.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-24T22:01:52.200Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-24T22:01:52.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-24T22:01:52.263Z] $ docker stop --time=1 48948328da3f1d9f541b7541bb4b8baa8c5daa2dc00c36f3f29c8c5d2eac774e [2022-06-24T22:01:54.192Z] $ docker rm -f 48948328da3f1d9f541b7541bb4b8baa8c5daa2dc00c36f3f29c8c5d2eac774e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T22:01:54.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-24T22:01:54.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-24T22:01:55.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-24T22:01:55.507Z] + ls -al . [2022-06-24T22:01:55.507Z] total 240 [2022-06-24T22:01:55.507Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 22:01 . [2022-06-24T22:01:55.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:00 .. [2022-06-24T22:01:55.507Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 22:00 .git [2022-06-24T22:01:55.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 22:00 .github [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 24 22:00 .gitignore [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 22:00 .golangci.yml [2022-06-24T22:01:55.507Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 22:00 .semver [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 24 22:00 Attribution.txt [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 24 22:00 CHANGELOG.md [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 24 22:00 Dockerfile [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 22:00 GOVERNANCE.md [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 24 22:00 Jenkinsfile [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 22:00 LICENSE [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 24 22:00 Makefile [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 22:00 OWNERS.md [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 24 22:00 README.md [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 22:00 VERSION [2022-06-24T22:01:55.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 22:00 bin [2022-06-24T22:01:55.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 22:00 cmd [2022-06-24T22:01:55.507Z] -rw-r--r-- 1 jenkins jenkins 64705 Jun 24 22:01 coverage.out [2022-06-24T22:01:55.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:00 doc [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 24 22:00 go.mod [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 24 22:00 go.sum [2022-06-24T22:01:55.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:00 internal [2022-06-24T22:01:55.507Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 22:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:01:55.832Z] + 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=9b11e50a6246e2a1deeabe85649c63670f51acb8 --label arch=amd64 --label version=0.0.0 . [2022-06-24T22:01:55.832Z] Sending build context to Docker daemon 8.907MB [2022-06-24T22:01:55.832Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T22:01:55.832Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-24T22:01:55.832Z] ---> 8691e4adee6a [2022-06-24T22:01:55.832Z] Step 3/26 : ARG MAKE="make build" [2022-06-24T22:01:56.097Z] ---> Running in b650bf857c9d [2022-06-24T22:01:56.097Z] Removing intermediate container b650bf857c9d [2022-06-24T22:01:56.097Z] ---> f48789b15943 [2022-06-24T22:01:56.097Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T22:01:56.097Z] ---> Running in 0f8f25a650e8 [2022-06-24T22:01:56.097Z] Removing intermediate container 0f8f25a650e8 [2022-06-24T22:01:56.097Z] ---> 7e110b8975e2 [2022-06-24T22:01:56.097Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T22:01:56.359Z] ---> Running in a2f0ca510771 [2022-06-24T22:01:56.359Z] Removing intermediate container a2f0ca510771 [2022-06-24T22:01:56.359Z] ---> 686ee511774d [2022-06-24T22:01:56.359Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-24T22:01:56.359Z] ---> Running in b4857ac41fa6 [2022-06-24T22:01:56.359Z] Removing intermediate container b4857ac41fa6 [2022-06-24T22:01:56.359Z] ---> b50bdc98688e [2022-06-24T22:01:56.359Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T22:01:56.619Z] ---> Running in ef8a8bc0ffbc [2022-06-24T22:01:57.190Z] Removing intermediate container ef8a8bc0ffbc [2022-06-24T22:01:57.190Z] ---> c20e62dd8e43 [2022-06-24T22:01:57.190Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T22:01:57.190Z] ---> Running in 9e79dfdcfffe [2022-06-24T22:01:57.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T22:01:58.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T22:01:58.654Z] OK: 221 MiB in 52 packages [2022-06-24T22:01:58.915Z] Removing intermediate container 9e79dfdcfffe [2022-06-24T22:01:58.915Z] ---> 573f316c4508 [2022-06-24T22:01:58.915Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-24T22:01:58.915Z] ---> Running in 705d126065a4 [2022-06-24T22:01:58.915Z] Removing intermediate container 705d126065a4 [2022-06-24T22:01:58.915Z] ---> 04adb3c8825f [2022-06-24T22:01:58.915Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-24T22:01:59.180Z] ---> 13cfb1d7a575 [2022-06-24T22:01:59.180Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T22:01:59.180Z] ---> Running in dc4df492023f [2022-06-24T22:01:59.751Z] Removing intermediate container dc4df492023f [2022-06-24T22:01:59.751Z] ---> 786b391cccf2 [2022-06-24T22:01:59.751Z] Step 12/26 : COPY . . [2022-06-24T22:02:00.321Z] ---> c6d95676a738 [2022-06-24T22:02:00.321Z] Step 13/26 : RUN ${MAKE} [2022-06-24T22:02:00.321Z] ---> Running in 1870bc962d5a [2022-06-24T22:02:00.580Z] 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-24T22:02:22.534Z] Removing intermediate container 1870bc962d5a [2022-06-24T22:02:22.534Z] ---> 8940edfb538b [2022-06-24T22:02:22.534Z] Step 14/26 : FROM alpine:3.15 [2022-06-24T22:02:22.534Z] 3.15: Pulling from library/alpine [2022-06-24T22:02:22.534Z] df9b9388f04a: Pulling fs layer [2022-06-24T22:02:22.534Z] df9b9388f04a: Verifying Checksum [2022-06-24T22:02:22.534Z] df9b9388f04a: Download complete [2022-06-24T22:02:22.534Z] df9b9388f04a: Pull complete [2022-06-24T22:02:22.534Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-24T22:02:22.534Z] Status: Downloaded newer image for alpine:3.15 [2022-06-24T22:02:22.534Z] ---> 0ac33e5f5afa [2022-06-24T22:02:22.534Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-24T22:02:22.534Z] ---> Running in 4c08ef3e5376 [2022-06-24T22:02:22.534Z] Removing intermediate container 4c08ef3e5376 [2022-06-24T22:02:22.534Z] ---> 8be41d63533e [2022-06-24T22:02:22.534Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-24T22:02:22.534Z] ---> Running in 12ade0a0c258 [2022-06-24T22:02:22.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T22:02:22.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T22:02:22.796Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-24T22:02:22.796Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-24T22:02:23.056Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-24T22:02:23.056Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-24T22:02:23.056Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-24T22:02:23.056Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-24T22:02:23.056Z] Executing busybox-1.34.1-r5.trigger [2022-06-24T22:02:23.056Z] OK: 8 MiB in 20 packages [2022-06-24T22:02:23.319Z] Removing intermediate container 12ade0a0c258 [2022-06-24T22:02:23.319Z] ---> 9c9360d62b3a [2022-06-24T22:02:23.319Z] Step 17/26 : WORKDIR / [2022-06-24T22:02:23.319Z] ---> Running in 61bff95f472f [2022-06-24T22:02:23.580Z] Removing intermediate container 61bff95f472f [2022-06-24T22:02:23.580Z] ---> c12f06cb15db [2022-06-24T22:02:23.580Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-24T22:02:24.151Z] ---> d3a820bd8152 [2022-06-24T22:02:24.151Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-24T22:02:24.411Z] ---> 176048c1c2dc [2022-06-24T22:02:24.411Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-24T22:02:24.411Z] ---> b14d6a92af59 [2022-06-24T22:02:24.411Z] Step 21/26 : EXPOSE 59984 [2022-06-24T22:02:24.411Z] ---> Running in af377f7e2cd5 [2022-06-24T22:02:24.670Z] Removing intermediate container af377f7e2cd5 [2022-06-24T22:02:24.670Z] ---> c1d3c8712fa8 [2022-06-24T22:02:24.670Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-24T22:02:24.670Z] ---> Running in 3d0e6556d95a [2022-06-24T22:02:24.670Z] Removing intermediate container 3d0e6556d95a [2022-06-24T22:02:24.670Z] ---> 05808d155246 [2022-06-24T22:02:24.670Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-24T22:02:24.670Z] ---> Running in 28e6b4e08566 [2022-06-24T22:02:24.931Z] Removing intermediate container 28e6b4e08566 [2022-06-24T22:02:24.931Z] ---> aefec5b13b79 [2022-06-24T22:02:24.931Z] Step 24/26 : LABEL arch=amd64 [2022-06-24T22:02:24.931Z] ---> Running in a8af690cb93b [2022-06-24T22:02:24.931Z] Removing intermediate container a8af690cb93b [2022-06-24T22:02:24.931Z] ---> e5257c5a0d54 [2022-06-24T22:02:24.931Z] Step 25/26 : LABEL git_sha=9b11e50a6246e2a1deeabe85649c63670f51acb8 [2022-06-24T22:02:24.931Z] ---> Running in c72fd63c3918 [2022-06-24T22:02:25.192Z] Removing intermediate container c72fd63c3918 [2022-06-24T22:02:25.192Z] ---> e5b2f4e1c24b [2022-06-24T22:02:25.192Z] Step 26/26 : LABEL version=0.0.0 [2022-06-24T22:02:25.192Z] ---> Running in 6570bdcbf430 [2022-06-24T22:02:25.192Z] Removing intermediate container 6570bdcbf430 [2022-06-24T22:02:25.192Z] ---> 6f6db4cbd610 [2022-06-24T22:02:25.192Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-24T22:02:25.192Z] Successfully built 6f6db4cbd610 [2022-06-24T22:02:25.192Z] 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-24T22:02:25.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T22:02:25.664Z] [2022-06-24T22:02:25.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:02:25.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T22:02:25.965Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T22:02:25.965Z] 5eb5b503b376: Pulling fs layer [2022-06-24T22:02:25.965Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T22:02:25.965Z] ec43610c2a17: Pulling fs layer [2022-06-24T22:02:25.965Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T22:02:25.965Z] 33b1e0a273af: Pulling fs layer [2022-06-24T22:02:25.965Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T22:02:25.965Z] 3a2ae6a8a46f: Waiting [2022-06-24T22:02:25.965Z] 33b1e0a273af: Waiting [2022-06-24T22:02:25.965Z] 2f39f015ded8: Pulling fs layer [2022-06-24T22:02:25.965Z] 5d3b04190fa2: Waiting [2022-06-24T22:02:25.965Z] 2f39f015ded8: Waiting [2022-06-24T22:02:25.965Z] 5c69ac0246d0: Verifying Checksum [2022-06-24T22:02:25.965Z] 5c69ac0246d0: Download complete [2022-06-24T22:02:25.965Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-24T22:02:25.965Z] 3a2ae6a8a46f: Download complete [2022-06-24T22:02:25.965Z] 33b1e0a273af: Verifying Checksum [2022-06-24T22:02:25.965Z] 33b1e0a273af: Download complete [2022-06-24T22:02:25.965Z] 5d3b04190fa2: Verifying Checksum [2022-06-24T22:02:25.965Z] 5d3b04190fa2: Download complete [2022-06-24T22:02:26.225Z] ec43610c2a17: Download complete [2022-06-24T22:02:26.225Z] 5eb5b503b376: Verifying Checksum [2022-06-24T22:02:26.225Z] 5eb5b503b376: Download complete [2022-06-24T22:02:26.793Z] 2f39f015ded8: Download complete [2022-06-24T22:02:27.362Z] 5eb5b503b376: Pull complete [2022-06-24T22:02:27.621Z] 5c69ac0246d0: Pull complete [2022-06-24T22:02:27.882Z] ec43610c2a17: Pull complete [2022-06-24T22:02:28.142Z] 3a2ae6a8a46f: Pull complete [2022-06-24T22:02:28.142Z] 33b1e0a273af: Pull complete [2022-06-24T22:02:28.403Z] 5d3b04190fa2: Pull complete [2022-06-24T22:02:32.608Z] 2f39f015ded8: Pull complete [2022-06-24T22:02:32.608Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T22:02:32.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T22:02:32.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:02:32.697Z] prd-ubuntu20.04-docker-8c-8g-15563 does not seem to be running inside a container [2022-06-24T22:02:32.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T22:02:34.488Z] $ docker top 6f86e4342e4505eecddda5866255e2f1cbddf4dbe3af955d20d0c4e951c73457 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:02:34.901Z] ---> job-cost.sh [2022-06-24T22:02:34.901Z] lf-activate-venv: SKIPPING [2022-06-24T22:02:34.901Z] INFO: No Stack... [2022-06-24T22:02:35.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T22:02:35.734Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T22:02:36.040Z] + cat /w/workspace/oundry_device-onvif-camera_PR-87/archives/cost.csv [2022-06-24T22:02:36.040Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T22:02:36.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [2022-06-24T22:02:36.059Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] did not exist. Created. [2022-06-24T22:02:36.059Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T22:02:36.370Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T22:02:36.397Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T22:02:36.403Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T22:02:36.425Z] $ docker stop --time=1 6f86e4342e4505eecddda5866255e2f1cbddf4dbe3af955d20d0c4e951c73457 [2022-06-24T22:02:37.590Z] $ docker rm -f 6f86e4342e4505eecddda5866255e2f1cbddf4dbe3af955d20d0c4e951c73457 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T22:02:40.246Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15564 in /w/workspace/oundry_device-onvif-camera_PR-87 [Pipeline] { [Pipeline] ws [2022-06-24T22:02:40.263Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-06-24T22:02:40.314Z] Selected Git installation does not exist. Using Default [2022-06-24T22:02:40.314Z] The recommended git tool is: NONE [2022-06-24T22:02:45.991Z] using credential edgex-jenkins-ssh [2022-06-24T22:02:46.008Z] Cloning the remote Git repository [2022-06-24T22:02:46.077Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T22:02:46.163Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-06-24T22:02:46.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T22:02:46.252Z] > git --version # timeout=10 [2022-06-24T22:02:46.287Z] > git --version # 'git version 2.25.1' [2022-06-24T22:02:46.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T22:02:46.409Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T22:02:47.825Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit e6ac60498b5fba72165e9a0243a438296d4de819 [2022-06-24T22:02:47.213Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T22:02:47.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T22:02:47.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T22:02:47.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T22:02:47.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T22:02:47.324Z] > 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-24T22:02:47.846Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T22:02:47.860Z] > git checkout -f e6ac60498b5fba72165e9a0243a438296d4de819 # timeout=10 [2022-06-24T22:02:48.187Z] Merge succeeded, producing 2544a4637863af08b37a4a0cd6e8ae962e47b284 [2022-06-24T22:02:48.187Z] Checking out Revision 2544a4637863af08b37a4a0cd6e8ae962e47b284 (PR-87) [2022-06-24T22:02:47.994Z] > git remote # timeout=10 [2022-06-24T22:02:48.011Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T22:02:48.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T22:02:48.044Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T22:02:48.175Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T22:02:48.197Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T22:02:48.223Z] > git checkout -f 2544a4637863af08b37a4a0cd6e8ae962e47b284 # timeout=10 [2022-06-24T22:02:52.325Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T22:02:52.350Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T22:02:53.220Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T22:02:53.220Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T22:02:53.220Z] Dload Upload Total Spent Left Speed [2022-06-24T22:02:53.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10505 0 0 66910 0 --:--:-- --:--:-- --:--:-- 66487 100 12253 100 12253 0 0 77062 0 --:--:-- --:--:-- --:--:-- 76581 [Pipeline] sh [2022-06-24T22:02:52.339Z] > git rev-list --no-walk 7450cfda72332ac71abf332f064ac8d221898e3a # timeout=10 [2022-06-24T22:02:53.913Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T22:02:54.250Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-24T22:02:54.250Z] /etc/docker/daemon.json [2022-06-24T22:02:54.250Z] { [2022-06-24T22:02:54.250Z] "registry-mirrors": [ [2022-06-24T22:02:54.250Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T22:02:54.250Z] ], [2022-06-24T22:02:54.250Z] "bip": "10.250.0.254/24", [2022-06-24T22:02:54.250Z] "hosts": [ [2022-06-24T22:02:54.250Z] "tcp://0.0.0.0:5555", [2022-06-24T22:02:54.250Z] "unix:///var/run/docker.sock" [2022-06-24T22:02:54.250Z] ], [2022-06-24T22:02:54.250Z] "mtu": 1458, [2022-06-24T22:02:54.250Z] "selinux-enabled": true, [2022-06-24T22:02:54.250Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T22:02:54.250Z] } [Pipeline] sh [2022-06-24T22:02:54.597Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T22:02:54.933Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T22:03:13.276Z] provisioning config files... [2022-06-24T22:03:13.299Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config3533937571158728576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:03:13.655Z] ---> docker-login.sh [2022-06-24T22:03:13.655Z] nexus3.edgexfoundry.org:10001 [2022-06-24T22:03:14.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:03:14.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:03:14.529Z] Configure a credential helper to remove this warning. See [2022-06-24T22:03:14.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:03:14.529Z] [2022-06-24T22:03:14.529Z] Login Succeeded [2022-06-24T22:03:14.529Z] nexus3.edgexfoundry.org:10002 [2022-06-24T22:03:14.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:03:15.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:03:15.077Z] Configure a credential helper to remove this warning. See [2022-06-24T22:03:15.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:03:15.077Z] [2022-06-24T22:03:15.077Z] Login Succeeded [2022-06-24T22:03:15.077Z] nexus3.edgexfoundry.org:10003 [2022-06-24T22:03:15.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:03:15.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:03:15.352Z] Configure a credential helper to remove this warning. See [2022-06-24T22:03:15.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:03:15.352Z] [2022-06-24T22:03:15.352Z] Login Succeeded [2022-06-24T22:03:15.352Z] nexus3.edgexfoundry.org:10004 [2022-06-24T22:03:15.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:03:15.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:03:15.962Z] Configure a credential helper to remove this warning. See [2022-06-24T22:03:15.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:03:15.962Z] [2022-06-24T22:03:15.962Z] Login Succeeded [2022-06-24T22:03:15.962Z] docker.io [2022-06-24T22:03:16.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T22:03:16.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T22:03:16.509Z] Configure a credential helper to remove this warning. See [2022-06-24T22:03:16.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T22:03:16.509Z] [2022-06-24T22:03:16.509Z] Login Succeeded [2022-06-24T22:03:16.509Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T22:03:16.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T22:03:17.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T22:03:17.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T22:03:17.077Z] ========================================================= [2022-06-24T22:03:17.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T22:03:17.077Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:03:17.492Z] + 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-24T22:03:17.771Z] Sending build context to Docker daemon 6.05MB [2022-06-24T22:03:18.048Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T22:03:18.048Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T22:03:18.048Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T22:03:18.048Z] 9b3977197b4f: Pulling fs layer [2022-06-24T22:03:18.048Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T22:03:18.048Z] 94645a83ff95: Pulling fs layer [2022-06-24T22:03:18.048Z] e6fb740bc735: Pulling fs layer [2022-06-24T22:03:18.048Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T22:03:18.048Z] 355e64cbe906: Pulling fs layer [2022-06-24T22:03:18.048Z] 63ab81a10011: Pulling fs layer [2022-06-24T22:03:18.048Z] 555d1d1c4555: Pulling fs layer [2022-06-24T22:03:18.048Z] 7d9057610161: Pulling fs layer [2022-06-24T22:03:18.048Z] 355e64cbe906: Waiting [2022-06-24T22:03:18.048Z] 63ab81a10011: Waiting [2022-06-24T22:03:18.048Z] e6fb740bc735: Waiting [2022-06-24T22:03:18.048Z] 3a77bd46dcc9: Waiting [2022-06-24T22:03:18.048Z] 7d9057610161: Waiting [2022-06-24T22:03:18.048Z] 555d1d1c4555: Waiting [2022-06-24T22:03:18.048Z] 94645a83ff95: Verifying Checksum [2022-06-24T22:03:18.048Z] 94645a83ff95: Download complete [2022-06-24T22:03:18.048Z] 1a89e8eeedd5: Download complete [2022-06-24T22:03:18.048Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T22:03:18.048Z] 3a77bd46dcc9: Download complete [2022-06-24T22:03:18.048Z] 355e64cbe906: Verifying Checksum [2022-06-24T22:03:18.048Z] 355e64cbe906: Download complete [2022-06-24T22:03:18.048Z] 9b3977197b4f: Verifying Checksum [2022-06-24T22:03:18.048Z] 9b3977197b4f: Download complete [2022-06-24T22:03:18.327Z] 63ab81a10011: Verifying Checksum [2022-06-24T22:03:18.327Z] 63ab81a10011: Download complete [2022-06-24T22:03:19.320Z] 9b3977197b4f: Pull complete [2022-06-24T22:03:19.320Z] 7d9057610161: Verifying Checksum [2022-06-24T22:03:19.320Z] 7d9057610161: Download complete [2022-06-24T22:03:19.603Z] 1a89e8eeedd5: Pull complete [2022-06-24T22:03:20.201Z] 94645a83ff95: Pull complete [2022-06-24T22:03:20.473Z] 555d1d1c4555: Verifying Checksum [2022-06-24T22:03:20.473Z] 555d1d1c4555: Download complete [2022-06-24T22:03:21.071Z] e6fb740bc735: Download complete [2022-06-24T22:03:33.472Z] e6fb740bc735: Pull complete [2022-06-24T22:03:33.472Z] 3a77bd46dcc9: Pull complete [2022-06-24T22:03:33.472Z] 355e64cbe906: Pull complete [2022-06-24T22:03:33.746Z] 63ab81a10011: Pull complete [2022-06-24T22:03:40.473Z] 555d1d1c4555: Pull complete [2022-06-24T22:03:41.911Z] 7d9057610161: Pull complete [2022-06-24T22:03:41.911Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T22:03:41.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T22:03:41.911Z] ---> 819e984ddca1 [2022-06-24T22:03:41.911Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T22:03:43.364Z] ---> Running in cc9c710e2585 [2022-06-24T22:03:43.639Z] Removing intermediate container cc9c710e2585 [2022-06-24T22:03:43.639Z] ---> 8fe8b17b1f37 [2022-06-24T22:03:43.639Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T22:03:43.915Z] ---> Running in ded968058b3f [2022-06-24T22:03:44.189Z] Removing intermediate container ded968058b3f [2022-06-24T22:03:44.189Z] ---> 80570c7b9b51 [2022-06-24T22:03:44.189Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T22:03:44.189Z] ---> Running in 45f35a23ac08 [2022-06-24T22:03:44.464Z] Removing intermediate container 45f35a23ac08 [2022-06-24T22:03:44.464Z] ---> 916f63b3d6c0 [2022-06-24T22:03:44.464Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T22:03:44.464Z] ---> Running in 9e4652a8657d [2022-06-24T22:03:45.064Z] Removing intermediate container 9e4652a8657d [2022-06-24T22:03:45.064Z] ---> 9c88cabd2d8a [2022-06-24T22:03:45.064Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T22:03:45.064Z] ---> Running in 5ae4fc4de517 [2022-06-24T22:03:48.459Z] Removing intermediate container 5ae4fc4de517 [2022-06-24T22:03:48.459Z] ---> d9dfc36c6684 [2022-06-24T22:03:48.459Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T22:03:48.459Z] ---> Running in 0c85bd7559c5 [2022-06-24T22:03:49.055Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T22:03:50.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T22:03:50.623Z] OK: 220 MiB in 52 packages [2022-06-24T22:03:51.240Z] Removing intermediate container 0c85bd7559c5 [2022-06-24T22:03:51.240Z] ---> eb9725e59ed9 [2022-06-24T22:03:51.240Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T22:03:51.517Z] ---> Running in e6e2139780be [2022-06-24T22:03:51.792Z] Removing intermediate container e6e2139780be [2022-06-24T22:03:51.792Z] ---> e8f0cc1677ad [2022-06-24T22:03:51.792Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T22:03:52.390Z] ---> 7b791fffd70a [2022-06-24T22:03:52.390Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T22:03:52.390Z] ---> Running in 6964f2504dc6 [2022-06-24T22:04:39.366Z] Removing intermediate container 6964f2504dc6 [2022-06-24T22:04:39.366Z] ---> f7b979093902 [2022-06-24T22:04:39.366Z] Step 12/13 : COPY . . [2022-06-24T22:04:39.366Z] ---> 7d1417a67074 [2022-06-24T22:04:39.366Z] Step 13/13 : RUN ${MAKE} [2022-06-24T22:04:39.366Z] ---> Running in 170e81b9749a [2022-06-24T22:04:39.963Z] noop [2022-06-24T22:04:40.556Z] Removing intermediate container 170e81b9749a [2022-06-24T22:04:40.556Z] ---> 65380e210272 [2022-06-24T22:04:40.556Z] Successfully built 65380e210272 [2022-06-24T22:04:40.556Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:04:40.921Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T22:04:40.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:04:41.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-15564 does not seem to be running inside a container [2022-06-24T22:04:41.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T22:04:42.533Z] $ docker top e65c446e4284515c29a7bb1354cfc3befb18065f892d89839c0eaa2010119dd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T22:04:43.426Z] + go version [2022-06-24T22:04:43.426Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T22:04:43.456Z] $ docker stop --time=1 e65c446e4284515c29a7bb1354cfc3befb18065f892d89839c0eaa2010119dd4 [2022-06-24T22:04:45.153Z] $ docker rm -f e65c446e4284515c29a7bb1354cfc3befb18065f892d89839c0eaa2010119dd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:04:45.749Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T22:04:45.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:04:45.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-15564 does not seem to be running inside a container [2022-06-24T22:04:46.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T22:04:47.357Z] $ docker top 6f20d16af70c29f108cd6b98e1fa090f03267e8de3cba2ce3bffd3345ec6f119 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T22:04:48.277Z] + make test [2022-06-24T22:04:48.277Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T22:04:50.258Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T22:06:27.128Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-24T22:06:27.129Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.082s coverage: 6.2% of statements [2022-06-24T22:06:35.419Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.848s coverage: 13.8% of statements [2022-06-24T22:06:35.704Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-24T22:06:35.704Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-24T22:07:02.537Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-24T22:07:02.537Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-24T22:07:02.537Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-24T22:07:05.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-24T22:07:05.965Z] $ docker stop --time=1 6f20d16af70c29f108cd6b98e1fa090f03267e8de3cba2ce3bffd3345ec6f119 [2022-06-24T22:07:07.758Z] $ docker rm -f 6f20d16af70c29f108cd6b98e1fa090f03267e8de3cba2ce3bffd3345ec6f119 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T22:07:08.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-24T22:07:08.737Z] Warning: overwriting stash ‘coverage-report’ [2022-06-24T22:07:09.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T22:07:09.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-24T22:07:09.946Z] + ls -al . [2022-06-24T22:07:09.946Z] total 236 [2022-06-24T22:07:09.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 22:07 . [2022-06-24T22:07:09.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:02 .. [2022-06-24T22:07:09.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 22:02 .git [2022-06-24T22:07:09.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 22:02 .github [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 24 22:02 .gitignore [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 22:02 .golangci.yml [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 9099 Jun 24 22:02 Attribution.txt [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 24 22:02 CHANGELOG.md [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 24 22:02 Dockerfile [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 22:02 GOVERNANCE.md [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 24 22:02 Jenkinsfile [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 22:02 LICENSE [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 24 22:02 Makefile [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 22:02 OWNERS.md [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 30926 Jun 24 22:02 README.md [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 22:00 VERSION [2022-06-24T22:07:09.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 22:02 bin [2022-06-24T22:07:09.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 22:02 cmd [2022-06-24T22:07:09.946Z] -rw-r--r-- 1 jenkins jenkins 64705 Jun 24 22:06 coverage.out [2022-06-24T22:07:09.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:02 doc [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 3506 Jun 24 22:02 go.mod [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 37405 Jun 24 22:02 go.sum [2022-06-24T22:07:09.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 22:02 internal [2022-06-24T22:07:09.946Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 22:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:07:10.300Z] + 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=2544a4637863af08b37a4a0cd6e8ae962e47b284 --label arch=arm64 --label version=0.0.0 . [2022-06-24T22:07:10.572Z] Sending build context to Docker daemon 6.115MB [2022-06-24T22:07:10.572Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T22:07:10.573Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-24T22:07:10.573Z] ---> 65380e210272 [2022-06-24T22:07:10.573Z] Step 3/26 : ARG MAKE="make build" [2022-06-24T22:07:10.846Z] ---> Running in 716d8bcbf9db [2022-06-24T22:07:11.119Z] Removing intermediate container 716d8bcbf9db [2022-06-24T22:07:11.119Z] ---> b7744a8f6d32 [2022-06-24T22:07:11.119Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T22:07:11.119Z] ---> Running in 020ab3e934a0 [2022-06-24T22:07:11.731Z] Removing intermediate container 020ab3e934a0 [2022-06-24T22:07:11.731Z] ---> 94486cd7cf1d [2022-06-24T22:07:11.731Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T22:07:11.731Z] ---> Running in 0b9523796aba [2022-06-24T22:07:12.003Z] Removing intermediate container 0b9523796aba [2022-06-24T22:07:12.003Z] ---> db2c5809d515 [2022-06-24T22:07:12.003Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-24T22:07:12.003Z] ---> Running in f1ccc4083d96 [2022-06-24T22:07:12.282Z] Removing intermediate container f1ccc4083d96 [2022-06-24T22:07:12.282Z] ---> be5833392538 [2022-06-24T22:07:12.282Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T22:07:12.282Z] ---> Running in dfb34ed142b2 [2022-06-24T22:07:14.261Z] Removing intermediate container dfb34ed142b2 [2022-06-24T22:07:14.261Z] ---> 4ffb311ac3e0 [2022-06-24T22:07:14.261Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T22:07:14.261Z] ---> Running in dccd15da3f68 [2022-06-24T22:07:15.239Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T22:07:15.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T22:07:16.808Z] OK: 220 MiB in 52 packages [2022-06-24T22:07:17.788Z] Removing intermediate container dccd15da3f68 [2022-06-24T22:07:17.788Z] ---> fcac332bf2e9 [2022-06-24T22:07:17.788Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-24T22:07:17.788Z] ---> Running in 1c2ad5166eac [2022-06-24T22:07:18.063Z] Removing intermediate container 1c2ad5166eac [2022-06-24T22:07:18.063Z] ---> af53a25f0b91 [2022-06-24T22:07:18.063Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-24T22:07:18.660Z] ---> 232bd8dd2ac8 [2022-06-24T22:07:18.660Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T22:07:18.660Z] ---> Running in f4333ddf7c53 [2022-06-24T22:07:20.638Z] Removing intermediate container f4333ddf7c53 [2022-06-24T22:07:20.639Z] ---> 5996b028b3ad [2022-06-24T22:07:20.639Z] Step 12/26 : COPY . . [2022-06-24T22:07:21.626Z] ---> a4abe7c9158f [2022-06-24T22:07:21.626Z] Step 13/26 : RUN ${MAKE} [2022-06-24T22:07:21.626Z] ---> Running in 5e91617c4c2f [2022-06-24T22:07:22.608Z] 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-24T22:09:29.505Z] Removing intermediate container 5e91617c4c2f [2022-06-24T22:09:29.505Z] ---> 559203d69be1 [2022-06-24T22:09:29.505Z] Step 14/26 : FROM alpine:3.15 [2022-06-24T22:09:29.505Z] 3.15: Pulling from library/alpine [2022-06-24T22:09:29.505Z] 9981e73032c8: Pulling fs layer [2022-06-24T22:09:29.505Z] 9981e73032c8: Download complete [2022-06-24T22:09:29.505Z] 9981e73032c8: Pull complete [2022-06-24T22:09:29.505Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-24T22:09:29.505Z] Status: Downloaded newer image for alpine:3.15 [2022-06-24T22:09:29.505Z] ---> 3fb3c9af89a9 [2022-06-24T22:09:29.505Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-24T22:09:29.505Z] ---> Running in fdbfad98a8aa [2022-06-24T22:09:29.505Z] Removing intermediate container fdbfad98a8aa [2022-06-24T22:09:29.505Z] ---> 47535080720e [2022-06-24T22:09:29.505Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-24T22:09:29.505Z] ---> Running in 4e7bb73c0493 [2022-06-24T22:09:29.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T22:09:29.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T22:09:29.505Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-24T22:09:29.505Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-24T22:09:29.505Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-24T22:09:29.505Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-24T22:09:29.505Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-24T22:09:29.505Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-24T22:09:29.505Z] Executing busybox-1.34.1-r5.trigger [2022-06-24T22:09:29.505Z] OK: 8 MiB in 20 packages [2022-06-24T22:09:29.505Z] Removing intermediate container 4e7bb73c0493 [2022-06-24T22:09:29.505Z] ---> 4daf519d1c9a [2022-06-24T22:09:29.505Z] Step 17/26 : WORKDIR / [2022-06-24T22:09:29.505Z] ---> Running in aa136157978b [2022-06-24T22:09:29.505Z] Removing intermediate container aa136157978b [2022-06-24T22:09:29.505Z] ---> c1497f56adfa [2022-06-24T22:09:29.505Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-24T22:09:29.505Z] ---> 8b9067d695e6 [2022-06-24T22:09:29.505Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-24T22:09:29.505Z] ---> d1e45ebb46d8 [2022-06-24T22:09:29.505Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-24T22:09:29.505Z] ---> 423a86aa31c7 [2022-06-24T22:09:29.505Z] Step 21/26 : EXPOSE 59984 [2022-06-24T22:09:29.505Z] ---> Running in bf07bc92b54d [2022-06-24T22:09:29.505Z] Removing intermediate container bf07bc92b54d [2022-06-24T22:09:29.505Z] ---> a36870f86840 [2022-06-24T22:09:29.505Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-24T22:09:29.505Z] ---> Running in 28318656ed20 [2022-06-24T22:09:29.780Z] Removing intermediate container 28318656ed20 [2022-06-24T22:09:29.781Z] ---> f8daf510fef5 [2022-06-24T22:09:29.781Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-24T22:09:30.064Z] ---> Running in e134531ab3a7 [2022-06-24T22:09:30.339Z] Removing intermediate container e134531ab3a7 [2022-06-24T22:09:30.339Z] ---> 580cc656cdfd [2022-06-24T22:09:30.339Z] Step 24/26 : LABEL arch=arm64 [2022-06-24T22:09:30.339Z] ---> Running in 7110c2ad42de [2022-06-24T22:09:30.617Z] Removing intermediate container 7110c2ad42de [2022-06-24T22:09:30.617Z] ---> dda1b94e212a [2022-06-24T22:09:30.617Z] Step 25/26 : LABEL git_sha=2544a4637863af08b37a4a0cd6e8ae962e47b284 [2022-06-24T22:09:30.617Z] ---> Running in c951a8e3e948 [2022-06-24T22:09:30.893Z] Removing intermediate container c951a8e3e948 [2022-06-24T22:09:30.893Z] ---> 98182f40de78 [2022-06-24T22:09:30.893Z] Step 26/26 : LABEL version=0.0.0 [2022-06-24T22:09:31.187Z] ---> Running in aa635b73f32e [2022-06-24T22:09:31.461Z] Removing intermediate container aa635b73f32e [2022-06-24T22:09:31.461Z] ---> 6f0ad2994e04 [2022-06-24T22:09:31.461Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-24T22:09:31.461Z] Successfully built 6f0ad2994e04 [2022-06-24T22:09:31.461Z] 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-24T22:09:31.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T22:09:31.911Z] [2022-06-24T22:09:31.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:09:32.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T22:09:32.535Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T22:09:32.535Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T22:09:32.535Z] 04944245beec: Pulling fs layer [2022-06-24T22:09:32.535Z] 699f458cf7ca: Pulling fs layer [2022-06-24T22:09:32.535Z] 765212b225bb: Pulling fs layer [2022-06-24T22:09:32.535Z] f23df028b6ca: Pulling fs layer [2022-06-24T22:09:32.535Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T22:09:32.535Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T22:09:32.535Z] 765212b225bb: Waiting [2022-06-24T22:09:32.535Z] f23df028b6ca: Waiting [2022-06-24T22:09:32.535Z] 2437ff75d9bd: Waiting [2022-06-24T22:09:32.535Z] d65c8cfc05b1: Waiting [2022-06-24T22:09:32.535Z] 04944245beec: Verifying Checksum [2022-06-24T22:09:32.535Z] 04944245beec: Download complete [2022-06-24T22:09:32.535Z] 765212b225bb: Download complete [2022-06-24T22:09:32.535Z] f23df028b6ca: Verifying Checksum [2022-06-24T22:09:32.536Z] f23df028b6ca: Download complete [2022-06-24T22:09:32.536Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T22:09:32.536Z] d65c8cfc05b1: Download complete [2022-06-24T22:09:32.813Z] 699f458cf7ca: Verifying Checksum [2022-06-24T22:09:32.813Z] 699f458cf7ca: Download complete [2022-06-24T22:09:33.091Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T22:09:33.091Z] 8998bd30e6a1: Download complete [2022-06-24T22:09:35.086Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T22:09:35.086Z] 2437ff75d9bd: Download complete [2022-06-24T22:09:37.717Z] 8998bd30e6a1: Pull complete [2022-06-24T22:09:37.717Z] 04944245beec: Pull complete [2022-06-24T22:09:39.159Z] 699f458cf7ca: Pull complete [2022-06-24T22:09:39.432Z] 765212b225bb: Pull complete [2022-06-24T22:09:40.417Z] f23df028b6ca: Pull complete [2022-06-24T22:09:40.417Z] d65c8cfc05b1: Pull complete [2022-06-24T22:09:55.531Z] 2437ff75d9bd: Pull complete [2022-06-24T22:09:55.531Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T22:09:55.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T22:09:55.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:09:55.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-15564 does not seem to be running inside a container [2022-06-24T22:09:55.885Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-24T22:09:58.395Z] $ docker top 5d57bddd52445446c7e2936a70ad11ae991bcd2a1b6e3edfc5d9230ddce6f8d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:09:59.318Z] ---> job-cost.sh [2022-06-24T22:09:59.318Z] lf-activate-venv: SKIPPING [2022-06-24T22:09:59.318Z] INFO: No Stack... [2022-06-24T22:09:59.913Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T22:10:00.512Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T22:10:01.179Z] + + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [2022-06-24T22:10:01.179Z] cut -d, -f6 [Pipeline] lock [2022-06-24T22:10:01.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [2022-06-24T22:10:01.264Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] did not exist. Created. [2022-06-24T22:10:01.264Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T22:10:01.948Z] /w/workspace/device-onvif-camera/10@tmp/durable-ae987bdc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T22:10:02.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T22:10:02.648Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T22:10:02.696Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T22:10:02.702Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-87-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T22:10:02.728Z] $ docker stop --time=1 5d57bddd52445446c7e2936a70ad11ae991bcd2a1b6e3edfc5d9230ddce6f8d8 [2022-06-24T22:10:04.254Z] $ docker rm -f 5d57bddd52445446c7e2936a70ad11ae991bcd2a1b6e3edfc5d9230ddce6f8d8 [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-24T22:10:04.732Z] provisioning config files... [2022-06-24T22:10:04.742Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config8692352688186915906tmp [Pipeline] { [Pipeline] sh [2022-06-24T22:10:05.073Z] + set +x [2022-06-24T22:10:05.073Z] + bash -s -- [2022-06-24T22:10:05.073Z] + curl -s https://codecov.io/bash [2022-06-24T22:10:05.073Z] [2022-06-24T22:10:05.073Z] _____ _ [2022-06-24T22:10:05.073Z] / ____| | | [2022-06-24T22:10:05.073Z] | | ___ __| | ___ ___ _____ __ [2022-06-24T22:10:05.073Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-24T22:10:05.073Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-24T22:10:05.073Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-24T22:10:05.073Z] Bash-1.0.6 [2022-06-24T22:10:05.073Z] [2022-06-24T22:10:05.073Z] [2022-06-24T22:10:05.073Z] ==> git version 2.25.1 found [2022-06-24T22:10:05.073Z] ==> 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-24T22:10:05.073Z] Release-Date: 2020-01-08 [2022-06-24T22:10:05.073Z] 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-24T22:10:05.073Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-24T22:10:05.073Z] ==> Jenkins CI detected. [2022-06-24T22:10:05.073Z] current dir:  /w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-24T22:10:05.073Z] project root: . [2022-06-24T22:10:05.073Z] --> token set from env [2022-06-24T22:10:05.073Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-24T22:10:05.073Z] ==> Running gcov in . (disable via -X gcov) [2022-06-24T22:10:05.073Z] ==> Python coveragepy not found [2022-06-24T22:10:05.073Z] ==> Searching for coverage reports in: [2022-06-24T22:10:05.073Z] + . [2022-06-24T22:10:05.347Z] -> Found 1 reports [2022-06-24T22:10:05.347Z] ==> Detecting git/mercurial file structure [2022-06-24T22:10:05.347Z] ==> Reading reports [2022-06-24T22:10:05.347Z] + ./coverage.out bytes=64705 [2022-06-24T22:10:05.347Z] ==> Appending adjustments [2022-06-24T22:10:05.347Z] https://docs.codecov.io/docs/fixing-reports [2022-06-24T22:10:05.347Z] + Found adjustments [2022-06-24T22:10:05.347Z] ==> Gzipping contents [2022-06-24T22:10:05.347Z] 12K /tmp/codecov.51nT8X.gz [2022-06-24T22:10:05.347Z] ==> Uploading reports [2022-06-24T22:10:05.347Z] url: https://codecov.io [2022-06-24T22:10:05.347Z] query: branch=PR-87&commit=9b11e50a6246e2a1deeabe85649c63670f51acb8&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-24T22:10:05.347Z] -> Pinging Codecov [2022-06-24T22:10:05.347Z] 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=9b11e50a6246e2a1deeabe85649c63670f51acb8&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-87%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=87&job=&cmd_args= [2022-06-24T22:10:05.627Z] -> Uploading to [2022-06-24T22:10:05.627Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-24/F29A59C45E3A92E06B3E522C9905F8EF/9b11e50a6246e2a1deeabe85649c63670f51acb8/6368612f-e030-4708-adb9-133d358352e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220624T221005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e52b6f2f22ff6405f8a2c6fecbb304601a2d3c56abdce475317787df115ceaed [2022-06-24T22:10:05.627Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T22:10:05.627Z] Dload Upload Total Spent Left Speed [2022-06-24T22:10:05.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8204 0 0 100 8204 0 34762 --:--:-- --:--:-- --:--:-- 34616 [2022-06-24T22:10:05.891Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/9b11e50a6246e2a1deeabe85649c63670f51acb8 [Pipeline] } [2022-06-24T22:10:05.899Z] 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-24T22:10:06.623Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-87/archives ] [2022-06-24T22:10:06.623Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-24T22:10:06.623Z] total 16 [2022-06-24T22:10:06.623Z] drwxr-xr-x 3 root root 4096 Jun 24 22:02 . [2022-06-24T22:10:06.623Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 22:02 .. [2022-06-24T22:10:06.623Z] drwxr-xr-x 2 root root 4096 Jun 24 22:02 cost [2022-06-24T22:10:06.623Z] -rw-r--r-- 1 root root 90 Jun 24 22:02 cost.csv [2022-06-24T22:10:06.624Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-24T22:10:06.624Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-87/archives [2022-06-24T22:10:06.624Z] total 16 [2022-06-24T22:10:06.624Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 22:02 . [2022-06-24T22:10:06.624Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 22:02 .. [2022-06-24T22:10:06.624Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 22:02 cost [2022-06-24T22:10:06.624Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 24 22:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:06.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:07.778Z] ---> package-listing.sh [2022-06-24T22:10:07.778Z] ++ facter osfamily [2022-06-24T22:10:07.778Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T22:10:08.040Z] + OS_FAMILY=debian [2022-06-24T22:10:08.040Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-87 [2022-06-24T22:10:08.040Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T22:10:08.040Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T22:10:08.040Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T22:10:08.040Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T22:10:08.040Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-24T22:10:08.040Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T22:10:08.040Z] + case "${OS_FAMILY}" in [2022-06-24T22:10:08.040Z] + dpkg -l [2022-06-24T22:10:08.040Z] + grep '^ii' [2022-06-24T22:10:08.040Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T22:10:08.040Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T22:10:08.040Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T22:10:08.040Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-87 ']' [2022-06-24T22:10:08.040Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-87/archives/ [2022-06-24T22:10:08.040Z] + 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-24T22:10:08.051Z] 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-24T22:10:08.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T22:10:08.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T22:10:08.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T22:10:08.979Z] prd-ubuntu20.04-docker-8c-8g-15563 does not seem to be running inside a container [2022-06-24T22:10:09.007Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-87/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-87 -v /w/workspace/oundry_device-onvif-camera_PR-87:/w/workspace/oundry_device-onvif-camera_PR-87:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-87@tmp:/w/workspace/oundry_device-onvif-camera_PR-87@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T22:10:09.245Z] $ docker top 14c862f6c1090821909f9476ffa21de95a589fb65016a844e9b80a9f92b22dd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T22:10:09.619Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T22:10:09.906Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T22:10:10.197Z] + ls /var/log/sa-host [2022-06-24T22:10:10.197Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T22:10:10.316Z] provisioning config files... [2022-06-24T22:10:10.326Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-87@tmp/config6679811521793570618tmp [Pipeline] { [Pipeline] echo [2022-06-24T22:10:10.344Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:10.630Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T22:10:10.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:10.964Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T22:10:10.972Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:11.262Z] ---> sudo-logs.sh [2022-06-24T22:10:11.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T22:10:11.290Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:11.574Z] ---> job-cost.sh [2022-06-24T22:10:11.574Z] lf-activate-venv: SKIPPING [2022-06-24T22:10:11.574Z] DEBUG: total: 0.2199999988079071 [2022-06-24T22:10:11.574Z] INFO: Retrieving Stack Cost... [2022-06-24T22:10:12.145Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T22:10:12.404Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T22:10:12.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T22:10:12.699Z] ---> logs-deploy.sh [2022-06-24T22:10:12.699Z] lf-activate-venv: SKIPPING [2022-06-24T22:10:12.699Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-87/10 [2022-06-24T22:10:12.699Z] INFO: archiving workspace using pattern(s): [2022-06-24T22:10:13.639Z] Archives upload complete. [2022-06-24T22:10:13.639Z] INFO: archiving logs to Nexus