Pull request #305 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b3088f74b80dce78a876441a0c72d3538a65c555 rather than 8d8f978d72964aae6139b6ac91f53478463931b3 Obtained Jenkinsfile from b3088f74b80dce78a876441a0c72d3538a65c555 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-ssh18055749952926695439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4507742167227342373.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17564354359121589669.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14288767552079805905.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13822847925088274384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.20 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8926’ Running on prd-ubuntu20.04-docker-8c-8g-8929 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-305 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 8d8f978d72964aae6139b6ac91f53478463931b3 Merge succeeded, producing 8c35913cf3b7b5f2db41eab1b01bae1f525b458d Checking out Revision 8c35913cf3b7b5f2db41eab1b01bae1f525b458d (PR-305) > 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/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d8f978d72964aae6139b6ac91f53478463931b3 # 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 b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c35913cf3b7b5f2db41eab1b01bae1f525b458d # timeout=10 Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T15:01:00.561Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T15:01:00.625Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T15:01:00.641Z] ========================================================= [2023-04-18T15:01:00.641Z] EdgeX Global Pipelines Version Info [2023-04-18T15:01:00.641Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2fe4024c4462f94174de9a249616962efb0eb08a # timeout=10 [2023-04-18T15:01:01.354Z] ------------------- [2023-04-18T15:01:01.354Z] stable info: [2023-04-18T15:01:01.354Z] ------------------- [2023-04-18T15:01:01.354Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T15:01:01.354Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:01:01.354Z] Message: update stable to v1.0.248 [2023-04-18T15:01:01.925Z] ------------------- [2023-04-18T15:01:01.925Z] experimental info: [2023-04-18T15:01:01.925Z] ------------------- [2023-04-18T15:01:01.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T15:01:01.925Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T15:01:01.925Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T15:01:02.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-18T15:01:02.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-18T15:01:02.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T15:01:02.139Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T15:01:02.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T15:01:02.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T15:01:02.173Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T15:01:02.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T15:01:02.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T15:01:02.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T15:01:02.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T15:01:02.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-18T15:01:02.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T15:01:02.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T15:01:02.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:01:02.324Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T15:01:02.333Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:01:02.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T15:01:02.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T15:01:02.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T15:01:02.389Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T15:01:02.408Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-18T15:01:02.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T15:01:02.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T15:01:02.448Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T15:01:02.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T15:01:02.475Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T15:01:02.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2023-04-18T15:01:02.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2023-04-18T15:01:02.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2023-04-18T15:01:02.526Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c35913cf3b7b5f2db41eab1b01bae1f525b458d [Pipeline] echo [2023-04-18T15:01:02.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c35913 [Pipeline] echo [2023-04-18T15:01:02.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:01:02.597Z] provisioning config files... [2023-04-18T15:01:02.610Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config4248183881610455478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:01:02.909Z] ---> docker-login.sh [2023-04-18T15:01:02.909Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:01:03.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:03.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:03.170Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:03.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:03.170Z] [2023-04-18T15:01:03.170Z] Login Succeeded [2023-04-18T15:01:03.170Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:01:03.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:03.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:03.433Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:03.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:03.433Z] [2023-04-18T15:01:03.433Z] Login Succeeded [2023-04-18T15:01:03.433Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:01:03.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:03.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:03.433Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:03.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:03.433Z] [2023-04-18T15:01:03.433Z] Login Succeeded [2023-04-18T15:01:03.433Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:01:03.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:03.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:03.692Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:03.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:03.692Z] [2023-04-18T15:01:03.692Z] Login Succeeded [2023-04-18T15:01:03.692Z] docker.io [2023-04-18T15:01:03.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:03.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:03.951Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:03.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:03.951Z] [2023-04-18T15:01:03.951Z] Login Succeeded [2023-04-18T15:01:03.951Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:01:03.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T15:01:04.308Z] + git rev-list -1 --merges 8c35913cf3b7b5f2db41eab1b01bae1f525b458d~1..8c35913cf3b7b5f2db41eab1b01bae1f525b458d [Pipeline] echo [2023-04-18T15:01:04.350Z] -----------> git rev-list -1 --merges 8c35913cf3b7b5f2db41eab1b01bae1f525b458d~1..8c35913cf3b7b5f2db41eab1b01bae1f525b458d 8c35913cf3b7b5f2db41eab1b01bae1f525b458d [2023-04-18T15:01:04.350Z] 8c35913cf3b7b5f2db41eab1b01bae1f525b458d [false] [Pipeline] sh [2023-04-18T15:01:04.636Z] + git log --format=format:%s -1 8c35913cf3b7b5f2db41eab1b01bae1f525b458d [Pipeline] echo [2023-04-18T15:01:04.650Z] ========================================================= [2023-04-18T15:01:04.650Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T15:01:04.650Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:01:04.968Z] + git log --format=format:%s -1 8c35913cf3b7b5f2db41eab1b01bae1f525b458d [Pipeline] echo [2023-04-18T15:01:04.977Z] [semverPrep] GIT_COMMIT: 8c35913cf3b7b5f2db41eab1b01bae1f525b458d, Commit Message: Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD [Pipeline] echo [2023-04-18T15:01:04.984Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T15:01:05.345Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T15:01:05.345Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T15:01:05.345Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T15:01:05.345Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T15:01:05.345Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T15:01:05.345Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T15:01:05.345Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:01:05.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:01:05.748Z] [2023-04-18T15:01:05.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:01:06.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:01:06.045Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T15:01:06.045Z] b85a868b505f: Pulling fs layer [2023-04-18T15:01:06.045Z] e2be974225ed: Pulling fs layer [2023-04-18T15:01:06.045Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T15:01:06.045Z] 988bab9f4d93: Pulling fs layer [2023-04-18T15:01:06.045Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T15:01:06.045Z] 988bab9f4d93: Waiting [2023-04-18T15:01:06.045Z] eaf3925da568: Pulling fs layer [2023-04-18T15:01:06.045Z] 1469e6f7b9e6: Waiting [2023-04-18T15:01:06.045Z] bab4dde63d76: Pulling fs layer [2023-04-18T15:01:06.045Z] bde34c3a00c8: Pulling fs layer [2023-04-18T15:01:06.045Z] b352a97aabf1: Pulling fs layer [2023-04-18T15:01:06.045Z] eaf3925da568: Waiting [2023-04-18T15:01:06.045Z] bde34c3a00c8: Waiting [2023-04-18T15:01:06.045Z] 4872d77fe225: Pulling fs layer [2023-04-18T15:01:06.045Z] 5851b861e8e6: Pulling fs layer [2023-04-18T15:01:06.045Z] b352a97aabf1: Waiting [2023-04-18T15:01:06.045Z] e2be974225ed: Verifying Checksum [2023-04-18T15:01:06.045Z] e2be974225ed: Download complete [2023-04-18T15:01:06.045Z] 988bab9f4d93: Verifying Checksum [2023-04-18T15:01:06.045Z] 988bab9f4d93: Download complete [2023-04-18T15:01:06.045Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T15:01:06.045Z] 339a4e72a1f5: Download complete [2023-04-18T15:01:06.045Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T15:01:06.045Z] 1469e6f7b9e6: Download complete [2023-04-18T15:01:06.304Z] eaf3925da568: Verifying Checksum [2023-04-18T15:01:06.304Z] eaf3925da568: Download complete [2023-04-18T15:01:06.304Z] bde34c3a00c8: Verifying Checksum [2023-04-18T15:01:06.304Z] bde34c3a00c8: Download complete [2023-04-18T15:01:06.304Z] b352a97aabf1: Verifying Checksum [2023-04-18T15:01:06.304Z] b352a97aabf1: Download complete [2023-04-18T15:01:06.304Z] 4872d77fe225: Verifying Checksum [2023-04-18T15:01:06.304Z] 4872d77fe225: Download complete [2023-04-18T15:01:06.304Z] 5851b861e8e6: Download complete [2023-04-18T15:01:06.304Z] b85a868b505f: Verifying Checksum [2023-04-18T15:01:06.304Z] b85a868b505f: Download complete [2023-04-18T15:01:06.562Z] bab4dde63d76: Verifying Checksum [2023-04-18T15:01:06.562Z] bab4dde63d76: Download complete [2023-04-18T15:01:07.497Z] b85a868b505f: Pull complete [2023-04-18T15:01:07.756Z] e2be974225ed: Pull complete [2023-04-18T15:01:08.324Z] 339a4e72a1f5: Pull complete [2023-04-18T15:01:08.324Z] 988bab9f4d93: Pull complete [2023-04-18T15:01:08.583Z] 1469e6f7b9e6: Pull complete [2023-04-18T15:01:08.583Z] eaf3925da568: Pull complete [2023-04-18T15:01:10.482Z] bab4dde63d76: Pull complete [2023-04-18T15:01:10.482Z] bde34c3a00c8: Pull complete [2023-04-18T15:01:10.482Z] b352a97aabf1: Pull complete [2023-04-18T15:01:10.482Z] 4872d77fe225: Pull complete [2023-04-18T15:01:10.742Z] 5851b861e8e6: Pull complete [2023-04-18T15:01:10.742Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T15:01:10.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T15:01:10.742Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:01:10.834Z] prd-ubuntu20.04-docker-8c-8g-8929 does not seem to be running inside a container [2023-04-18T15:01:10.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 [2023-04-18T15:01:14.753Z] $ docker top 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 -eo pid,comm [2023-04-18T15:01:14.816Z] 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). [2023-04-18T15:01:14.816Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T15:01:14.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:01:14.852Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:01:14.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:01:14.964Z] $ docker exec 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 ssh-agent [2023-04-18T15:01:15.067Z] SSH_AUTH_SOCK=/tmp/ssh-1dAwsvAzjt6w/agent.33 [2023-04-18T15:01:15.067Z] SSH_AGENT_PID=39 [2023-04-18T15:01:15.073Z] Running ssh-add (command line suppressed) [2023-04-18T15:01:15.181Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15630021306875499325.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_15630021306875499325.key) [2023-04-18T15:01:15.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:01:15.478Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T15:01:15.491Z] $ docker exec --env ******** --env ******** 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 ssh-agent -k [2023-04-18T15:01:15.590Z] unset SSH_AUTH_SOCK; [2023-04-18T15:01:15.590Z] unset SSH_AGENT_PID; [2023-04-18T15:01:15.590Z] echo Agent pid 39 killed; [2023-04-18T15:01:15.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T15:01:15.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T15:01:15.633Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T15:01:15.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T15:01:15.734Z] $ docker exec 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 ssh-agent [2023-04-18T15:01:15.838Z] SSH_AUTH_SOCK=/tmp/ssh-B1FHeLMkq38n/agent.72 [2023-04-18T15:01:15.838Z] SSH_AGENT_PID=78 [2023-04-18T15:01:15.842Z] Running ssh-add (command line suppressed) [2023-04-18T15:01:15.939Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_12628319448128422944.key (/w/workspace/undry_device-onvif-camera_PR-305@tmp/private_key_12628319448128422944.key) [2023-04-18T15:01:15.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T15:01:16.244Z] + git semver init [2023-04-18T15:01:16.502Z] 2023-04-18 15:01:16,407 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T15:01:16.502Z] 2023-04-18 15:01:16,408 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-18T15:01:16.502Z] 2023-04-18 15:01:16,408 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-305/.semver [2023-04-18T15:01:16.502Z] 2023-04-18 15:01:16,409 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-305/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-305, universal_newlines=False, shell=None, istream=None) [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,284 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-305/.git/info/exclude [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,285 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 with force:False [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,285 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,290 [execute] INFO git cat-file --batch-check [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,297 [execute] INFO git cat-file --batch [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T15:01:17.443Z] 2023-04-18 15:01:17,302 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-305/.semver/PR-305 [2023-04-18T15:01:17.443Z] 0.0.0 [Pipeline] } [2023-04-18T15:01:17.452Z] $ docker exec --env ******** --env ******** 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 ssh-agent -k [2023-04-18T15:01:17.552Z] unset SSH_AUTH_SOCK; [2023-04-18T15:01:17.552Z] unset SSH_AGENT_PID; [2023-04-18T15:01:17.555Z] echo Agent pid 78 killed; [2023-04-18T15:01:17.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T15:01:17.863Z] + git semver [Pipeline] } [2023-04-18T15:01:18.135Z] $ docker stop --time=1 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 [2023-04-18T15:01:19.529Z] $ docker rm -f --volumes 8ace83e6c0e11b30a41cb3b5f7be413c45318853b15d8f002af36db49cdcb122 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:01:19.867Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T15:01:20.060Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T15:01:20.063Z] [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 [2023-04-18T15:01:20.202Z] provisioning config files... [2023-04-18T15:01:20.212Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config6882601372299376617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:01:20.506Z] ---> docker-login.sh [2023-04-18T15:01:20.506Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:01:20.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:20.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:20.506Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:20.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:20.506Z] [2023-04-18T15:01:20.506Z] Login Succeeded [2023-04-18T15:01:20.506Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:01:20.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:20.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:20.507Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:20.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:20.507Z] [2023-04-18T15:01:20.507Z] Login Succeeded [2023-04-18T15:01:20.507Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:01:20.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:20.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:20.785Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:20.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:20.785Z] [2023-04-18T15:01:20.785Z] Login Succeeded [2023-04-18T15:01:20.785Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:01:20.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:20.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:20.785Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:20.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:20.785Z] [2023-04-18T15:01:20.785Z] Login Succeeded [2023-04-18T15:01:20.785Z] docker.io [2023-04-18T15:01:20.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:01:21.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:01:21.056Z] Configure a credential helper to remove this warning. See [2023-04-18T15:01:21.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:01:21.056Z] [2023-04-18T15:01:21.056Z] Login Succeeded [2023-04-18T15:01:21.056Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:01:21.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:01:21.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:01:21.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:01:21.148Z] ========================================================= [2023-04-18T15:01:21.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T15:01:21.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:01:21.456Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:01:21.456Z] Sending build context to Docker daemon 21.47MB [2023-04-18T15:01:21.456Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:01:21.456Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:01:21.748Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T15:01:21.748Z] 63b65145d645: Pulling fs layer [2023-04-18T15:01:21.748Z] a2d21d5440eb: Pulling fs layer [2023-04-18T15:01:21.748Z] 935e6c44a52c: Pulling fs layer [2023-04-18T15:01:21.748Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T15:01:21.748Z] 30dea6a524f1: Pulling fs layer [2023-04-18T15:01:21.748Z] a2aff8979fd8: Pulling fs layer [2023-04-18T15:01:21.748Z] 6808be2612f2: Pulling fs layer [2023-04-18T15:01:21.748Z] f25807f1079a: Pulling fs layer [2023-04-18T15:01:21.748Z] 94cc34f8dd06: Waiting [2023-04-18T15:01:21.748Z] 30dea6a524f1: Waiting [2023-04-18T15:01:21.748Z] a2aff8979fd8: Waiting [2023-04-18T15:01:21.748Z] 6808be2612f2: Waiting [2023-04-18T15:01:21.748Z] f25807f1079a: Waiting [2023-04-18T15:01:21.748Z] a2d21d5440eb: Download complete [2023-04-18T15:01:21.748Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T15:01:21.748Z] 94cc34f8dd06: Download complete [2023-04-18T15:01:21.748Z] 30dea6a524f1: Verifying Checksum [2023-04-18T15:01:21.748Z] 30dea6a524f1: Download complete [2023-04-18T15:01:21.748Z] 63b65145d645: Verifying Checksum [2023-04-18T15:01:21.748Z] 63b65145d645: Download complete [2023-04-18T15:01:21.748Z] a2aff8979fd8: Verifying Checksum [2023-04-18T15:01:21.748Z] a2aff8979fd8: Download complete [2023-04-18T15:01:22.008Z] 63b65145d645: Pull complete [2023-04-18T15:01:22.008Z] a2d21d5440eb: Pull complete [2023-04-18T15:01:22.008Z] f25807f1079a: Verifying Checksum [2023-04-18T15:01:22.008Z] f25807f1079a: Download complete [2023-04-18T15:01:22.267Z] 935e6c44a52c: Verifying Checksum [2023-04-18T15:01:22.267Z] 935e6c44a52c: Download complete [2023-04-18T15:01:22.525Z] 6808be2612f2: Verifying Checksum [2023-04-18T15:01:22.525Z] 6808be2612f2: Download complete [2023-04-18T15:01:25.810Z] 935e6c44a52c: Pull complete [2023-04-18T15:01:25.810Z] 94cc34f8dd06: Pull complete [2023-04-18T15:01:25.810Z] 30dea6a524f1: Pull complete [2023-04-18T15:01:25.810Z] a2aff8979fd8: Pull complete [2023-04-18T15:01:28.370Z] 6808be2612f2: Pull complete [2023-04-18T15:01:29.317Z] f25807f1079a: Pull complete [2023-04-18T15:01:29.601Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T15:01:29.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T15:01:29.862Z] ---> 3b553350e43f [2023-04-18T15:01:29.862Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:01:35.165Z] Still waiting to schedule task [2023-04-18T15:01:35.165Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8927’ is offline [2023-04-18T15:01:42.118Z] ---> Running in 0086e9dab4df [2023-04-18T15:01:42.118Z] Removing intermediate container 0086e9dab4df [2023-04-18T15:01:42.118Z] ---> ede78d94c095 [2023-04-18T15:01:42.118Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:01:42.118Z] ---> Running in c6322e2c56a4 [2023-04-18T15:01:42.118Z] Removing intermediate container c6322e2c56a4 [2023-04-18T15:01:42.118Z] ---> 565f973dd83a [2023-04-18T15:01:42.118Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:01:42.118Z] ---> Running in abf8b74438c2 [2023-04-18T15:01:42.118Z] Removing intermediate container abf8b74438c2 [2023-04-18T15:01:42.118Z] ---> 7a7510f1825f [2023-04-18T15:01:42.118Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:01:42.118Z] ---> Running in 4aabf13c83bc [2023-04-18T15:01:42.118Z] Removing intermediate container 4aabf13c83bc [2023-04-18T15:01:42.118Z] ---> 69c766cd3875 [2023-04-18T15:01:42.118Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:01:42.118Z] ---> Running in 197a785fe9fb [2023-04-18T15:01:42.118Z] Removing intermediate container 197a785fe9fb [2023-04-18T15:01:42.118Z] ---> fe372e413e97 [2023-04-18T15:01:42.118Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:01:42.118Z] ---> Running in 5b4e7dfee14a [2023-04-18T15:01:42.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:01:42.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:01:42.377Z] OK: 265 MiB in 53 packages [2023-04-18T15:01:42.636Z] Removing intermediate container 5b4e7dfee14a [2023-04-18T15:01:42.636Z] ---> 8c960d13e774 [2023-04-18T15:01:42.636Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:01:42.636Z] ---> Running in abd1f6bc646c [2023-04-18T15:01:42.896Z] Removing intermediate container abd1f6bc646c [2023-04-18T15:01:42.896Z] ---> 79a8b7edb5c4 [2023-04-18T15:01:42.896Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:01:42.896Z] ---> 24c2da0ab2b4 [2023-04-18T15:01:42.896Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:01:43.155Z] ---> Running in b3b157883ea2 [2023-04-18T15:02:39.400Z] Removing intermediate container b3b157883ea2 [2023-04-18T15:02:39.400Z] ---> 4d8bb3f7120f [2023-04-18T15:02:39.400Z] Step 12/13 : COPY . . [2023-04-18T15:02:39.400Z] ---> 211e2408b208 [2023-04-18T15:02:39.400Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:02:39.400Z] ---> Running in 0bb7b5b90055 [2023-04-18T15:02:39.400Z] noop [2023-04-18T15:02:39.659Z] Removing intermediate container 0bb7b5b90055 [2023-04-18T15:02:39.659Z] ---> bc78d834f994 [2023-04-18T15:02:39.659Z] Successfully built bc78d834f994 [2023-04-18T15:02:39.659Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:02:39.969Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:02:39.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:02:40.107Z] prd-ubuntu20.04-docker-8c-8g-8929 does not seem to be running inside a container [2023-04-18T15:02:40.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 [2023-04-18T15:02:40.563Z] $ docker top ea42d2d93857cb368a60b63d10aaa5af974e1f65555ac2a612b4b5c6eb3bb8d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:02:40.893Z] + go version [2023-04-18T15:02:40.893Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T15:02:40.912Z] $ docker stop --time=1 ea42d2d93857cb368a60b63d10aaa5af974e1f65555ac2a612b4b5c6eb3bb8d3 [2023-04-18T15:02:42.252Z] $ docker rm -f --volumes ea42d2d93857cb368a60b63d10aaa5af974e1f65555ac2a612b4b5c6eb3bb8d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:02:42.642Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T15:02:42.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:02:42.708Z] prd-ubuntu20.04-docker-8c-8g-8929 does not seem to be running inside a container [2023-04-18T15:02:42.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 [2023-04-18T15:02:43.131Z] $ docker top 9122512c45a474258a60861b4aab43273f051c3385094427d94cac946569a7e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:02:43.458Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:02:43.751Z] + make test [2023-04-18T15:02:43.751Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:02:47.935Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:03:00.123Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:03:00.124Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:03:00.382Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.6% of statements [2023-04-18T15:03:03.666Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.863s coverage: 86.5% of statements [2023-04-18T15:03:10.220Z] go vet ./... [2023-04-18T15:03:12.771Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8931 in /w/workspace/undry_device-onvif-camera_PR-305 [Pipeline] { [Pipeline] ws [2023-04-18T15:03:12.784Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2023-04-18T15:03:12.816Z] The recommended git tool is: git [2023-04-18T15:03:13.501Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:03:13.501Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:03:13.501Z] ./bin/test-attribution-txt.sh [2023-04-18T15:03:13.501Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-18T15:03:13.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:03:13.534Z] $ docker stop --time=1 9122512c45a474258a60861b4aab43273f051c3385094427d94cac946569a7e4 [2023-04-18T15:03:18.003Z] using credential edgex-jenkins-ssh [2023-04-18T15:03:18.024Z] Cloning the remote Git repository [2023-04-18T15:03:18.906Z] $ docker rm -f --volumes 9122512c45a474258a60861b4aab43273f051c3385094427d94cac946569a7e4 [2023-04-18T15:03:18.084Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:03:18.215Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2023-04-18T15:03:18.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:03:18.389Z] > git --version # timeout=10 [2023-04-18T15:03:18.418Z] > git --version # 'git version 2.25.1' [2023-04-18T15:03:18.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:03:18.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:03:19.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:03:19.414Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T15:03:19.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:03:20.202Z] + ls -al . [2023-04-18T15:03:20.202Z] total 236 [2023-04-18T15:03:20.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:02 . [2023-04-18T15:03:20.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:00 .. [2023-04-18T15:03:20.202Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:01 .git [2023-04-18T15:03:20.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:00 .github [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:00 .gitignore [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:00 .golangci.yml [2023-04-18T15:03:20.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:01 .semver [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:00 Attribution.txt [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:00 CHANGELOG.md [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:00 Dockerfile [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:00 GOVERNANCE.md [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:00 Jenkinsfile [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:00 LICENSE [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:00 Makefile [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:00 OWNERS.md [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 5075 Apr 18 15:00 README.md [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:01 VERSION [2023-04-18T15:03:20.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:00 bin [2023-04-18T15:03:20.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:00 cmd [2023-04-18T15:03:20.202Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:03 coverage.out [2023-04-18T15:03:20.202Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:00 doc [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:00 go.mod [2023-04-18T15:03:20.202Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:00 go.sum [2023-04-18T15:03:20.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:00 internal [2023-04-18T15:03:20.203Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:00 snap [2023-04-18T15:03:20.203Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:03:20.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:03:20.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T15:03:20.568Z] + 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=8c35913cf3b7b5f2db41eab1b01bae1f525b458d --label arch=amd64 --label version=0.0.0 . [2023-04-18T15:03:20.568Z] Sending build context to Docker daemon 21.55MB [2023-04-18T15:03:20.568Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:03:20.568Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:03:20.568Z] ---> bc78d834f994 [2023-04-18T15:03:20.568Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:03:20.826Z] ---> Running in d510d2dc10b1 [2023-04-18T15:03:20.826Z] Removing intermediate container d510d2dc10b1 [2023-04-18T15:03:20.826Z] ---> c2c4503d5058 [2023-04-18T15:03:20.826Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:03:20.826Z] ---> Running in 8c03666824e1 [2023-04-18T15:03:21.084Z] Removing intermediate container 8c03666824e1 [2023-04-18T15:03:21.084Z] ---> d5d3446d7545 [2023-04-18T15:03:21.084Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:03:21.084Z] ---> Running in 2b55f5a1edff [2023-04-18T15:03:21.084Z] Removing intermediate container 2b55f5a1edff [2023-04-18T15:03:21.084Z] ---> de0d35ce5fa3 [2023-04-18T15:03:21.084Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:03:21.084Z] ---> Running in a1ccf7048b79 [2023-04-18T15:03:21.084Z] Removing intermediate container a1ccf7048b79 [2023-04-18T15:03:21.084Z] ---> 16b062d5be6d [2023-04-18T15:03:21.084Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:03:21.084Z] ---> Running in a11fae31058d [2023-04-18T15:03:21.342Z] Removing intermediate container a11fae31058d [2023-04-18T15:03:21.342Z] ---> 29e6aea1c932 [2023-04-18T15:03:21.342Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:03:21.342Z] ---> Running in cdbe259c562e [2023-04-18T15:03:21.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:21.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:20.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-18T15:03:20.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-18T15:03:20.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:03:20.939Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T15:03:21.757Z] Merging remotes/origin/main commit b3088f74b80dce78a876441a0c72d3538a65c555 into PR head commit 8d8f978d72964aae6139b6ac91f53478463931b3 [2023-04-18T15:03:21.911Z] OK: 265 MiB in 53 packages [2023-04-18T15:03:22.169Z] Removing intermediate container cdbe259c562e [2023-04-18T15:03:22.169Z] ---> bf4dcd7fbe86 [2023-04-18T15:03:22.169Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:03:22.169Z] ---> Running in ef758f5e09b0 [2023-04-18T15:03:22.404Z] Merge succeeded, producing 46cabe13d72068d298b339c71508736a9b5aec0e [2023-04-18T15:03:22.405Z] Checking out Revision 46cabe13d72068d298b339c71508736a9b5aec0e (PR-305) [2023-04-18T15:03:22.427Z] Removing intermediate container ef758f5e09b0 [2023-04-18T15:03:22.427Z] ---> c162c544465c [2023-04-18T15:03:22.427Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:03:22.427Z] ---> 56a6579bb919 [2023-04-18T15:03:22.427Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:03:22.427Z] ---> Running in e9cc0fad5c25 [2023-04-18T15:03:21.779Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:03:21.856Z] > git checkout -f 8d8f978d72964aae6139b6ac91f53478463931b3 # timeout=10 [2023-04-18T15:03:22.074Z] > git remote # timeout=10 [2023-04-18T15:03:22.090Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T15:03:22.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T15:03:22.129Z] > git merge b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [2023-04-18T15:03:22.380Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T15:03:22.415Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T15:03:22.431Z] > git checkout -f 46cabe13d72068d298b339c71508736a9b5aec0e # timeout=10 [2023-04-18T15:03:23.362Z] Removing intermediate container e9cc0fad5c25 [2023-04-18T15:03:23.362Z] ---> d0ecd2028c53 [2023-04-18T15:03:23.362Z] Step 12/26 : COPY . . [2023-04-18T15:03:24.303Z] ---> 65380b69cd6e [2023-04-18T15:03:24.303Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:03:24.303Z] ---> Running in 879c594cd3dd [2023-04-18T15:03:24.560Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-18T15:03:25.892Z] Commit message: "Merge commit 'b3088f74b80dce78a876441a0c72d3538a65c555' into HEAD" [2023-04-18T15:03:25.919Z] First time build. Skipping changelog. [2023-04-18T15:03:25.905Z] > git rev-list --no-walk 2fe4024c4462f94174de9a249616962efb0eb08a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:03:27.002Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T15:03:27.002Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:03:27.002Z] Dload Upload Total Spent Left Speed [2023-04-18T15:03:27.002Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-04-18T15:03:27.769Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T15:03:28.105Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T15:03:28.105Z] + sudo tee /etc/docker/daemon.new [2023-04-18T15:03:28.105Z] { [2023-04-18T15:03:28.105Z] "registry-mirrors": [ [2023-04-18T15:03:28.105Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T15:03:28.105Z] ], [2023-04-18T15:03:28.105Z] "bip": "10.250.0.254/24", [2023-04-18T15:03:28.105Z] "hosts": [ [2023-04-18T15:03:28.105Z] "tcp://0.0.0.0:5555", [2023-04-18T15:03:28.105Z] "unix:///var/run/docker.sock" [2023-04-18T15:03:28.105Z] ], [2023-04-18T15:03:28.105Z] "mtu": 1458, [2023-04-18T15:03:28.105Z] "selinux-enabled": true, [2023-04-18T15:03:28.105Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T15:03:28.105Z] } [Pipeline] sh [2023-04-18T15:03:28.443Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T15:03:28.781Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:03:47.055Z] provisioning config files... [2023-04-18T15:03:47.084Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config6809534594872293935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:03:47.438Z] ---> docker-login.sh [2023-04-18T15:03:47.439Z] nexus3.edgexfoundry.org:10001 [2023-04-18T15:03:47.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:03:47.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:03:47.980Z] Configure a credential helper to remove this warning. See [2023-04-18T15:03:47.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:03:47.980Z] [2023-04-18T15:03:47.980Z] Login Succeeded [2023-04-18T15:03:47.980Z] nexus3.edgexfoundry.org:10002 [2023-04-18T15:03:48.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:03:48.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:03:48.251Z] Configure a credential helper to remove this warning. See [2023-04-18T15:03:48.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:03:48.251Z] [2023-04-18T15:03:48.251Z] Login Succeeded [2023-04-18T15:03:48.251Z] nexus3.edgexfoundry.org:10003 [2023-04-18T15:03:48.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:03:48.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:03:48.789Z] Configure a credential helper to remove this warning. See [2023-04-18T15:03:48.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:03:48.789Z] [2023-04-18T15:03:48.789Z] Login Succeeded [2023-04-18T15:03:48.789Z] nexus3.edgexfoundry.org:10004 [2023-04-18T15:03:48.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:03:49.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:03:49.058Z] Configure a credential helper to remove this warning. See [2023-04-18T15:03:49.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:03:49.058Z] [2023-04-18T15:03:49.058Z] Login Succeeded [2023-04-18T15:03:49.058Z] docker.io [2023-04-18T15:03:49.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T15:03:49.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T15:03:49.594Z] Configure a credential helper to remove this warning. See [2023-04-18T15:03:49.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T15:03:49.594Z] [2023-04-18T15:03:49.594Z] Login Succeeded [2023-04-18T15:03:49.594Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T15:03:49.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T15:03:49.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:03:49.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T15:03:49.899Z] ========================================================= [2023-04-18T15:03:49.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T15:03:49.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:03:50.235Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T15:03:50.827Z] Sending build context to Docker daemon 14.19MB [2023-04-18T15:03:50.827Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:03:50.827Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-18T15:03:50.827Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T15:03:50.827Z] af6eaf76a39c: Pulling fs layer [2023-04-18T15:03:50.827Z] 55522c791124: Pulling fs layer [2023-04-18T15:03:50.827Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T15:03:50.827Z] 169dfbe0d373: Pulling fs layer [2023-04-18T15:03:50.827Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T15:03:50.827Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T15:03:50.827Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T15:03:50.827Z] e1ff8fa3b103: Waiting [2023-04-18T15:03:50.827Z] 52ebb69f0ebf: Waiting [2023-04-18T15:03:50.827Z] 5abe8eddf0d5: Waiting [2023-04-18T15:03:50.827Z] 169dfbe0d373: Waiting [2023-04-18T15:03:50.827Z] 55522c791124: Download complete [2023-04-18T15:03:51.098Z] 169dfbe0d373: Verifying Checksum [2023-04-18T15:03:51.098Z] 169dfbe0d373: Download complete [2023-04-18T15:03:51.098Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T15:03:51.098Z] e1ff8fa3b103: Download complete [2023-04-18T15:03:51.098Z] af6eaf76a39c: Download complete [2023-04-18T15:03:51.117Z] Removing intermediate container 879c594cd3dd [2023-04-18T15:03:51.117Z] ---> 557145e44108 [2023-04-18T15:03:51.117Z] Step 14/26 : FROM alpine:3.17 [2023-04-18T15:03:51.117Z] 3.17: Pulling from library/alpine [2023-04-18T15:03:51.117Z] f56be85fc22e: Pulling fs layer [2023-04-18T15:03:51.117Z] f56be85fc22e: Verifying Checksum [2023-04-18T15:03:51.117Z] f56be85fc22e: Download complete [2023-04-18T15:03:51.117Z] f56be85fc22e: Pull complete [2023-04-18T15:03:51.117Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T15:03:51.117Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T15:03:51.117Z] ---> 9ed4aefc74f6 [2023-04-18T15:03:51.117Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:03:51.117Z] ---> Running in 9adbf12387b5 [2023-04-18T15:03:51.117Z] Removing intermediate container 9adbf12387b5 [2023-04-18T15:03:51.117Z] ---> 9e928c83c936 [2023-04-18T15:03:51.117Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-18T15:03:51.117Z] ---> Running in 69ed958f7e40 [2023-04-18T15:03:51.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:51.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T15:03:51.117Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T15:03:51.117Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T15:03:51.117Z] OK: 7 MiB in 16 packages [2023-04-18T15:03:51.684Z] Removing intermediate container 69ed958f7e40 [2023-04-18T15:03:51.684Z] ---> 20a54d01b57f [2023-04-18T15:03:51.684Z] Step 17/26 : WORKDIR / [2023-04-18T15:03:51.684Z] ---> Running in 8022a99834c3 [2023-04-18T15:03:51.684Z] Removing intermediate container 8022a99834c3 [2023-04-18T15:03:51.684Z] ---> 1cc0e2b7c109 [2023-04-18T15:03:51.684Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:03:52.071Z] af6eaf76a39c: Pull complete [2023-04-18T15:03:52.071Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T15:03:52.071Z] 5abe8eddf0d5: Download complete [2023-04-18T15:03:52.342Z] 55522c791124: Pull complete [2023-04-18T15:03:52.619Z] ---> 8fc9ecc444a4 [2023-04-18T15:03:52.619Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:03:52.888Z] ---> 73fc6fdeeec0 [2023-04-18T15:03:52.888Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:03:52.888Z] ---> d4d9e254dcec [2023-04-18T15:03:52.888Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:03:53.145Z] ---> Running in 66b84d462fd2 [2023-04-18T15:03:53.145Z] Removing intermediate container 66b84d462fd2 [2023-04-18T15:03:53.145Z] ---> 54cea2c5b042 [2023-04-18T15:03:53.145Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:03:53.308Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T15:03:53.308Z] ce5c4a1c91eb: Download complete [2023-04-18T15:03:53.308Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T15:03:53.308Z] 52ebb69f0ebf: Download complete [2023-04-18T15:03:53.403Z] ---> Running in 277723ec653d [2023-04-18T15:03:53.662Z] Removing intermediate container 277723ec653d [2023-04-18T15:03:53.662Z] ---> e74ff1c752ba [2023-04-18T15:03:53.662Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T15:03:53.662Z] ---> Running in 8e980aa6f70a [2023-04-18T15:03:53.924Z] Removing intermediate container 8e980aa6f70a [2023-04-18T15:03:53.924Z] ---> 7ba78d3de1c5 [2023-04-18T15:03:53.924Z] Step 24/26 : LABEL arch=amd64 [2023-04-18T15:03:53.924Z] ---> Running in b3a37197d41f [2023-04-18T15:03:54.184Z] Removing intermediate container b3a37197d41f [2023-04-18T15:03:54.184Z] ---> 41a7281bd0c2 [2023-04-18T15:03:54.184Z] Step 25/26 : LABEL git_sha=8c35913cf3b7b5f2db41eab1b01bae1f525b458d [2023-04-18T15:03:54.443Z] ---> Running in 4977a1919768 [2023-04-18T15:03:54.703Z] Removing intermediate container 4977a1919768 [2023-04-18T15:03:54.703Z] ---> e345efee8e16 [2023-04-18T15:03:54.703Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:03:54.703Z] ---> Running in 1b5d57812edc [2023-04-18T15:03:54.961Z] Removing intermediate container 1b5d57812edc [2023-04-18T15:03:54.961Z] ---> 1d8d74ac6f7b [2023-04-18T15:03:54.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:03:54.961Z] Successfully built 1d8d74ac6f7b [2023-04-18T15:03:54.961Z] 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 [2023-04-18T15:03:55.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:03:55.373Z] [2023-04-18T15:03:55.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:03:55.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:03:55.668Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T15:03:55.668Z] 5eb5b503b376: Pulling fs layer [2023-04-18T15:03:55.668Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T15:03:55.668Z] ec43610c2a17: Pulling fs layer [2023-04-18T15:03:55.668Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T15:03:55.668Z] 33b1e0a273af: Pulling fs layer [2023-04-18T15:03:55.668Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T15:03:55.668Z] 2f39f015ded8: Pulling fs layer [2023-04-18T15:03:55.668Z] 3a2ae6a8a46f: Waiting [2023-04-18T15:03:55.668Z] 33b1e0a273af: Waiting [2023-04-18T15:03:55.668Z] 5d3b04190fa2: Waiting [2023-04-18T15:03:55.668Z] 2f39f015ded8: Waiting [2023-04-18T15:03:55.668Z] 5c69ac0246d0: Download complete [2023-04-18T15:03:55.668Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T15:03:55.668Z] 3a2ae6a8a46f: Download complete [2023-04-18T15:03:55.668Z] 33b1e0a273af: Verifying Checksum [2023-04-18T15:03:55.668Z] 33b1e0a273af: Download complete [2023-04-18T15:03:55.668Z] ec43610c2a17: Verifying Checksum [2023-04-18T15:03:55.668Z] ec43610c2a17: Download complete [2023-04-18T15:03:55.668Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T15:03:55.668Z] 5d3b04190fa2: Download complete [2023-04-18T15:03:55.927Z] 5eb5b503b376: Verifying Checksum [2023-04-18T15:03:55.927Z] 5eb5b503b376: Download complete [2023-04-18T15:03:56.493Z] 2f39f015ded8: Download complete [2023-04-18T15:03:57.058Z] 5eb5b503b376: Pull complete [2023-04-18T15:03:57.315Z] 5c69ac0246d0: Pull complete [2023-04-18T15:03:57.879Z] ec43610c2a17: Pull complete [2023-04-18T15:03:57.879Z] 3a2ae6a8a46f: Pull complete [2023-04-18T15:03:58.137Z] 33b1e0a273af: Pull complete [2023-04-18T15:03:58.137Z] 5d3b04190fa2: Pull complete [2023-04-18T15:04:02.320Z] 2f39f015ded8: Pull complete [2023-04-18T15:04:02.320Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T15:04:02.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:04:02.320Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:04:02.404Z] prd-ubuntu20.04-docker-8c-8g-8929 does not seem to be running inside a container [2023-04-18T15:04:02.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 [2023-04-18T15:04:05.626Z] ce5c4a1c91eb: Pull complete [2023-04-18T15:04:05.626Z] 169dfbe0d373: Pull complete [2023-04-18T15:04:05.626Z] e1ff8fa3b103: Pull complete [2023-04-18T15:04:09.258Z] $ docker top 7e0c918b2a48767a92de4c1fbe8983f65dbb6d38c7727b04a29a408a3b2a19a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:04:09.634Z] ---> job-cost.sh [2023-04-18T15:04:09.634Z] lf-activate-venv: SKIPPING [2023-04-18T15:04:09.634Z] INFO: No Stack... [2023-04-18T15:04:09.895Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:04:10.153Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:04:10.439Z] + cat /w/workspace/undry_device-onvif-camera_PR-305/archives/cost.csv [2023-04-18T15:04:10.439Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T15:04:10.452Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [2023-04-18T15:04:10.458Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] did not exist. Created. [2023-04-18T15:04:10.458Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:04:10.758Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T15:04:10.781Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:04:10.786Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:04:10.812Z] $ docker stop --time=1 7e0c918b2a48767a92de4c1fbe8983f65dbb6d38c7727b04a29a408a3b2a19a3 [2023-04-18T15:04:10.969Z] 52ebb69f0ebf: Pull complete [2023-04-18T15:04:11.971Z] $ docker rm -f --volumes 7e0c918b2a48767a92de4c1fbe8983f65dbb6d38c7727b04a29a408a3b2a19a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T15:04:12.379Z] 5abe8eddf0d5: Pull complete [2023-04-18T15:04:12.379Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T15:04:12.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T15:04:12.379Z] ---> 6cb57ee374ae [2023-04-18T15:04:12.379Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:04:14.343Z] ---> Running in d918e82fac9f [2023-04-18T15:04:14.343Z] Removing intermediate container d918e82fac9f [2023-04-18T15:04:14.343Z] ---> 33c5d14c36af [2023-04-18T15:04:14.343Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:04:14.613Z] ---> Running in 4328a2761907 [2023-04-18T15:04:14.879Z] Removing intermediate container 4328a2761907 [2023-04-18T15:04:14.879Z] ---> 889ce861e353 [2023-04-18T15:04:14.879Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:04:14.879Z] ---> Running in 197de1386160 [2023-04-18T15:04:15.146Z] Removing intermediate container 197de1386160 [2023-04-18T15:04:15.146Z] ---> 85a8d86b9ce1 [2023-04-18T15:04:15.146Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:04:15.146Z] ---> Running in 7e439a6f39f3 [2023-04-18T15:04:15.412Z] Removing intermediate container 7e439a6f39f3 [2023-04-18T15:04:15.412Z] ---> b9ecb2178f70 [2023-04-18T15:04:15.412Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:04:15.678Z] ---> Running in 9f75079e32b3 [2023-04-18T15:04:15.944Z] Removing intermediate container 9f75079e32b3 [2023-04-18T15:04:15.944Z] ---> 46832927e5b2 [2023-04-18T15:04:15.944Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:04:15.944Z] ---> Running in 0ed7c36412ff [2023-04-18T15:04:17.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:04:17.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:04:18.575Z] OK: 263 MiB in 53 packages [2023-04-18T15:04:19.533Z] Removing intermediate container 0ed7c36412ff [2023-04-18T15:04:19.533Z] ---> 95189ae5f60f [2023-04-18T15:04:19.533Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-18T15:04:19.533Z] ---> Running in baf778c952f5 [2023-04-18T15:04:19.802Z] Removing intermediate container baf778c952f5 [2023-04-18T15:04:19.802Z] ---> a2a48c7c69c5 [2023-04-18T15:04:19.802Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-18T15:04:20.074Z] ---> 9e2079461a20 [2023-04-18T15:04:20.074Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:04:20.344Z] ---> Running in c837f1a63db3 [2023-04-18T15:05:28.236Z] Removing intermediate container c837f1a63db3 [2023-04-18T15:05:28.236Z] ---> 7725f2d2305f [2023-04-18T15:05:28.236Z] Step 12/13 : COPY . . [2023-04-18T15:05:28.236Z] ---> f3758bbe6f35 [2023-04-18T15:05:28.236Z] Step 13/13 : RUN ${MAKE} [2023-04-18T15:05:28.236Z] ---> Running in c4495af88d9a [2023-04-18T15:05:28.236Z] noop [2023-04-18T15:05:28.236Z] Removing intermediate container c4495af88d9a [2023-04-18T15:05:28.236Z] ---> 556931e143d3 [2023-04-18T15:05:28.236Z] Successfully built 556931e143d3 [2023-04-18T15:05:28.236Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:05:28.584Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:05:28.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:05:28.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2023-04-18T15:05:28.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-04-18T15:05:30.132Z] $ docker top 22a992ad885f260e2151e7b97f36221165ba22e38ffb57ae1ba6a0e65ba4e1ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:05:30.967Z] + go version [2023-04-18T15:05:30.967Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T15:05:30.987Z] $ docker stop --time=1 22a992ad885f260e2151e7b97f36221165ba22e38ffb57ae1ba6a0e65ba4e1ad [2023-04-18T15:05:32.589Z] $ docker rm -f --volumes 22a992ad885f260e2151e7b97f36221165ba22e38ffb57ae1ba6a0e65ba4e1ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:05:33.126Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T15:05:33.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:05:33.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2023-04-18T15:05:33.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-04-18T15:05:36.046Z] $ docker top 2188de03005b6f9a99eb74209e5ad6c248bbdf7afe90c230ce4cba5358734f90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:05:36.546Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-04-18T15:05:36.879Z] + make test [2023-04-18T15:05:36.879Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T15:06:09.117Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-18T15:08:30.838Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-18T15:08:30.838Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-18T15:08:30.838Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.282s coverage: 31.6% of statements [2023-04-18T15:08:49.120Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.832s coverage: 86.5% of statements [2023-04-18T15:08:49.720Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T15:08:49.720Z] go vet ./... [2023-04-18T15:09:21.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T15:09:21.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T15:09:21.999Z] ./bin/test-attribution-txt.sh [2023-04-18T15:09:21.999Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-18T15:09:22.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T15:09:22.032Z] $ docker stop --time=1 2188de03005b6f9a99eb74209e5ad6c248bbdf7afe90c230ce4cba5358734f90 [2023-04-18T15:09:23.900Z] $ docker rm -f --volumes 2188de03005b6f9a99eb74209e5ad6c248bbdf7afe90c230ce4cba5358734f90 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T15:09:25.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T15:09:25.224Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T15:09:25.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T15:09:26.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T15:09:26.710Z] + ls -al . [2023-04-18T15:09:26.710Z] total 232 [2023-04-18T15:09:26.710Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 15:05 . [2023-04-18T15:09:26.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:03 .. [2023-04-18T15:09:26.710Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:03 .git [2023-04-18T15:09:26.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:03 .github [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 18 15:03 .gitignore [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:03 .golangci.yml [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 18 15:03 Attribution.txt [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 18 15:03 CHANGELOG.md [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 18 15:03 Dockerfile [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:03 GOVERNANCE.md [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 18 15:03 Jenkinsfile [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 18 15:03 LICENSE [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 18 15:03 Makefile [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 18 15:03 OWNERS.md [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 5075 Apr 18 15:03 README.md [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 15:01 VERSION [2023-04-18T15:09:26.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:03 bin [2023-04-18T15:09:26.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:03 cmd [2023-04-18T15:09:26.710Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 18 15:08 coverage.out [2023-04-18T15:09:26.710Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:03 doc [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 18 15:03 go.mod [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 18 15:03 go.sum [2023-04-18T15:09:26.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:03 internal [2023-04-18T15:09:26.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:03 snap [2023-04-18T15:09:26.710Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 18 15:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:09:27.064Z] + 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=46cabe13d72068d298b339c71508736a9b5aec0e --label arch=arm64 --label version=0.0.0 . [2023-04-18T15:09:27.689Z] Sending build context to Docker daemon 14.27MB [2023-04-18T15:09:27.689Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T15:09:27.689Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-18T15:09:27.689Z] ---> 556931e143d3 [2023-04-18T15:09:27.689Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-18T15:09:27.689Z] ---> Running in 54326291ae3d [2023-04-18T15:09:28.279Z] Removing intermediate container 54326291ae3d [2023-04-18T15:09:28.279Z] ---> 2d84cfe6defd [2023-04-18T15:09:28.279Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T15:09:28.279Z] ---> Running in a42b3d8ff556 [2023-04-18T15:09:28.547Z] Removing intermediate container a42b3d8ff556 [2023-04-18T15:09:28.547Z] ---> 6ebe3ceadf60 [2023-04-18T15:09:28.547Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-18T15:09:28.547Z] ---> Running in ce6e71eec449 [2023-04-18T15:09:28.815Z] Removing intermediate container ce6e71eec449 [2023-04-18T15:09:28.815Z] ---> 4bf3a4a1d2c5 [2023-04-18T15:09:28.815Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T15:09:29.084Z] ---> Running in 6f5874434797 [2023-04-18T15:09:29.356Z] Removing intermediate container 6f5874434797 [2023-04-18T15:09:29.356Z] ---> 1f9e09466f53 [2023-04-18T15:09:29.356Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-18T15:09:29.356Z] ---> Running in 7cf54ffc4f36 [2023-04-18T15:09:29.625Z] Removing intermediate container 7cf54ffc4f36 [2023-04-18T15:09:29.625Z] ---> f08e412c1755 [2023-04-18T15:09:29.625Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T15:09:29.908Z] ---> Running in 9826d3571ce1 [2023-04-18T15:09:30.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:09:31.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:09:33.255Z] OK: 263 MiB in 53 packages [2023-04-18T15:09:33.846Z] Removing intermediate container 9826d3571ce1 [2023-04-18T15:09:33.846Z] ---> 744035f7e79f [2023-04-18T15:09:33.846Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-18T15:09:34.115Z] ---> Running in d20238eb1850 [2023-04-18T15:09:34.383Z] Removing intermediate container d20238eb1850 [2023-04-18T15:09:34.383Z] ---> 7d9810baa1fe [2023-04-18T15:09:34.383Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-18T15:09:36.347Z] ---> 2c3fe8b36fa1 [2023-04-18T15:09:36.347Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T15:09:36.347Z] ---> Running in ddb541140e28 [2023-04-18T15:09:38.929Z] Removing intermediate container ddb541140e28 [2023-04-18T15:09:38.929Z] ---> a2d14d840343 [2023-04-18T15:09:38.929Z] Step 12/26 : COPY . . [2023-04-18T15:09:40.338Z] ---> 0dc37373a524 [2023-04-18T15:09:40.338Z] Step 13/26 : RUN ${MAKE} [2023-04-18T15:09:40.338Z] ---> Running in 94e585a69c92 [2023-04-18T15:09:41.300Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-18T15:12:02.995Z] Removing intermediate container 94e585a69c92 [2023-04-18T15:12:02.996Z] ---> dc7b202e9ae3 [2023-04-18T15:12:02.996Z] Step 14/26 : FROM alpine:3.17 [2023-04-18T15:12:02.996Z] 3.17: Pulling from library/alpine [2023-04-18T15:12:02.996Z] c41833b44d91: Pulling fs layer [2023-04-18T15:12:02.996Z] c41833b44d91: Verifying Checksum [2023-04-18T15:12:02.996Z] c41833b44d91: Download complete [2023-04-18T15:12:02.996Z] c41833b44d91: Pull complete [2023-04-18T15:12:02.996Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T15:12:02.996Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T15:12:02.996Z] ---> 51e60588ff2c [2023-04-18T15:12:02.996Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-18T15:12:03.579Z] ---> Running in 3004a049279e [2023-04-18T15:12:03.848Z] Removing intermediate container 3004a049279e [2023-04-18T15:12:03.848Z] ---> 418c86be2a4b [2023-04-18T15:12:03.848Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-18T15:12:03.848Z] ---> Running in 1fb0bf03fb6b [2023-04-18T15:12:04.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T15:12:05.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T15:12:06.354Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T15:12:06.354Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T15:12:06.354Z] OK: 8 MiB in 16 packages [2023-04-18T15:12:07.315Z] Removing intermediate container 1fb0bf03fb6b [2023-04-18T15:12:07.315Z] ---> 91efdd7d726a [2023-04-18T15:12:07.315Z] Step 17/26 : WORKDIR / [2023-04-18T15:12:07.315Z] ---> Running in fcae7b43deb1 [2023-04-18T15:12:07.582Z] Removing intermediate container fcae7b43deb1 [2023-04-18T15:12:07.582Z] ---> cfd12dd4bf9e [2023-04-18T15:12:07.582Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-18T15:12:08.992Z] ---> b3ac9fc49c40 [2023-04-18T15:12:08.992Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-18T15:12:09.574Z] ---> 381db0fd65a3 [2023-04-18T15:12:09.574Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-18T15:12:10.157Z] ---> ab9eb1a87370 [2023-04-18T15:12:10.157Z] Step 21/26 : EXPOSE 59984 [2023-04-18T15:12:10.157Z] ---> Running in 12052dec9f62 [2023-04-18T15:12:10.426Z] Removing intermediate container 12052dec9f62 [2023-04-18T15:12:10.426Z] ---> 7ac432ed3517 [2023-04-18T15:12:10.426Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-18T15:12:10.426Z] ---> Running in f284ff80ec99 [2023-04-18T15:12:10.693Z] Removing intermediate container f284ff80ec99 [2023-04-18T15:12:10.693Z] ---> 20ade3c7faaf [2023-04-18T15:12:10.693Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T15:12:10.693Z] ---> Running in fca7e9848e20 [2023-04-18T15:12:11.279Z] Removing intermediate container fca7e9848e20 [2023-04-18T15:12:11.279Z] ---> 57e3e07347af [2023-04-18T15:12:11.279Z] Step 24/26 : LABEL arch=arm64 [2023-04-18T15:12:11.279Z] ---> Running in d52d9c383014 [2023-04-18T15:12:11.549Z] Removing intermediate container d52d9c383014 [2023-04-18T15:12:11.549Z] ---> aa269aa2f205 [2023-04-18T15:12:11.549Z] Step 25/26 : LABEL git_sha=46cabe13d72068d298b339c71508736a9b5aec0e [2023-04-18T15:12:11.549Z] ---> Running in 16feee1f44fe [2023-04-18T15:12:11.815Z] Removing intermediate container 16feee1f44fe [2023-04-18T15:12:11.815Z] ---> 5aae75811acf [2023-04-18T15:12:11.815Z] Step 26/26 : LABEL version=0.0.0 [2023-04-18T15:12:12.088Z] ---> Running in b5debfa2d43b [2023-04-18T15:12:12.356Z] Removing intermediate container b5debfa2d43b [2023-04-18T15:12:12.356Z] ---> ad681de91884 [2023-04-18T15:12:12.356Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T15:12:12.356Z] Successfully built ad681de91884 [2023-04-18T15:12:12.356Z] 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 [2023-04-18T15:12:12.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:12:12.804Z] [2023-04-18T15:12:12.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:12:13.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:12:13.402Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T15:12:13.402Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T15:12:13.402Z] 04944245beec: Pulling fs layer [2023-04-18T15:12:13.402Z] 699f458cf7ca: Pulling fs layer [2023-04-18T15:12:13.402Z] 765212b225bb: Pulling fs layer [2023-04-18T15:12:13.402Z] f23df028b6ca: Pulling fs layer [2023-04-18T15:12:13.402Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T15:12:13.402Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T15:12:13.402Z] 765212b225bb: Waiting [2023-04-18T15:12:13.402Z] f23df028b6ca: Waiting [2023-04-18T15:12:13.402Z] d65c8cfc05b1: Waiting [2023-04-18T15:12:13.402Z] 2437ff75d9bd: Waiting [2023-04-18T15:12:13.402Z] 04944245beec: Verifying Checksum [2023-04-18T15:12:13.402Z] 04944245beec: Download complete [2023-04-18T15:12:13.402Z] 765212b225bb: Verifying Checksum [2023-04-18T15:12:13.402Z] 765212b225bb: Download complete [2023-04-18T15:12:13.402Z] f23df028b6ca: Verifying Checksum [2023-04-18T15:12:13.402Z] f23df028b6ca: Download complete [2023-04-18T15:12:13.402Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T15:12:13.402Z] d65c8cfc05b1: Download complete [2023-04-18T15:12:13.669Z] 699f458cf7ca: Verifying Checksum [2023-04-18T15:12:13.669Z] 699f458cf7ca: Download complete [2023-04-18T15:12:13.936Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T15:12:13.936Z] 8998bd30e6a1: Download complete [2023-04-18T15:12:16.529Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T15:12:16.529Z] 2437ff75d9bd: Download complete [2023-04-18T15:12:17.937Z] 8998bd30e6a1: Pull complete [2023-04-18T15:12:18.521Z] 04944245beec: Pull complete [2023-04-18T15:12:19.932Z] 699f458cf7ca: Pull complete [2023-04-18T15:12:20.200Z] 765212b225bb: Pull complete [2023-04-18T15:12:21.170Z] f23df028b6ca: Pull complete [2023-04-18T15:12:21.170Z] d65c8cfc05b1: Pull complete [2023-04-18T15:12:36.189Z] 2437ff75d9bd: Pull complete [2023-04-18T15:12:36.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T15:12:36.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T15:12:36.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:12:36.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2023-04-18T15:12:36.456Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 [2023-04-18T15:12:39.176Z] $ docker top de1ffc63ad12408f104630648f249940a375c5724b1b5713e4218c2e248f5dce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:39.692Z] ---> job-cost.sh [2023-04-18T15:12:39.960Z] lf-activate-venv: SKIPPING [2023-04-18T15:12:39.960Z] INFO: No Stack... [2023-04-18T15:12:40.229Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T15:12:41.186Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T15:12:41.512Z] + cut -d, -f6+ [2023-04-18T15:12:41.512Z] cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2023-04-18T15:12:41.573Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [2023-04-18T15:12:41.583Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] did not exist. Created. [2023-04-18T15:12:41.583Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T15:12:41.931Z] /w/workspace/device-onvif-camera/3@tmp/durable-4248e10b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T15:12:42.587Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T15:12:42.610Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T15:12:42.665Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T15:12:42.673Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T15:12:42.692Z] $ docker stop --time=1 de1ffc63ad12408f104630648f249940a375c5724b1b5713e4218c2e248f5dce [2023-04-18T15:12:44.176Z] $ docker rm -f --volumes de1ffc63ad12408f104630648f249940a375c5724b1b5713e4218c2e248f5dce [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 [2023-04-18T15:12:44.503Z] provisioning config files... [2023-04-18T15:12:44.511Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config16437927938639892996tmp [Pipeline] { [Pipeline] sh [2023-04-18T15:12:44.799Z] + set +x [2023-04-18T15:12:44.799Z] + + curl -s https://codecov.io/bash [2023-04-18T15:12:44.799Z] bash -s -- [2023-04-18T15:12:44.799Z] [2023-04-18T15:12:44.799Z] _____ _ [2023-04-18T15:12:44.799Z] / ____| | | [2023-04-18T15:12:44.799Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T15:12:44.799Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T15:12:44.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T15:12:44.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T15:12:44.799Z] Bash-1.0.6 [2023-04-18T15:12:44.799Z] [2023-04-18T15:12:44.799Z] [2023-04-18T15:12:44.799Z] ==> git version 2.25.1 found [2023-04-18T15:12:44.799Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T15:12:44.799Z] Release-Date: 2020-01-08 [2023-04-18T15:12:44.799Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T15:12:44.799Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T15:12:44.799Z] ==> Jenkins CI detected. [2023-04-18T15:12:44.799Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-305 [2023-04-18T15:12:44.799Z] project root: . [2023-04-18T15:12:44.799Z] --> token set from env [2023-04-18T15:12:44.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T15:12:44.799Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T15:12:44.799Z] ==> Python coveragepy not found [2023-04-18T15:12:44.799Z] ==> Searching for coverage reports in: [2023-04-18T15:12:44.799Z] + . [2023-04-18T15:12:44.799Z] -> Found 1 reports [2023-04-18T15:12:44.799Z] ==> Detecting git/mercurial file structure [2023-04-18T15:12:45.059Z] ==> Reading reports [2023-04-18T15:12:45.059Z] + ./coverage.out bytes=78835 [2023-04-18T15:12:45.059Z] ==> Appending adjustments [2023-04-18T15:12:45.059Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T15:12:45.059Z] + Found adjustments [2023-04-18T15:12:45.059Z] ==> Gzipping contents [2023-04-18T15:12:45.059Z] 12K /tmp/codecov.CTA0cW.gz [2023-04-18T15:12:45.059Z] ==> Uploading reports [2023-04-18T15:12:45.059Z] url: https://codecov.io [2023-04-18T15:12:45.059Z] query: branch=PR-305&commit=8c35913cf3b7b5f2db41eab1b01bae1f525b458d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-18T15:12:45.059Z] -> Pinging Codecov [2023-04-18T15:12:45.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-305&commit=8c35913cf3b7b5f2db41eab1b01bae1f525b458d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=305&job=&cmd_args= [2023-04-18T15:12:45.318Z] -> Uploading to [2023-04-18T15:12:45.318Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/F29A59C45E3A92E06B3E522C9905F8EF/8c35913cf3b7b5f2db41eab1b01bae1f525b458d/799efab7-f3d1-485e-b475-227b1eac13ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T151245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08c4024c1fe22831fa8debb4382190845958042d840f6e763475adfeeab94fc5 [2023-04-18T15:12:45.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T15:12:45.318Z] Dload Upload Total Spent Left Speed [2023-04-18T15:12:45.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 43351 --:--:-- --:--:-- --:--:-- 43351 [2023-04-18T15:12:45.578Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8c35913cf3b7b5f2db41eab1b01bae1f525b458d [Pipeline] } [2023-04-18T15:12:45.585Z] 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 [2023-04-18T15:12:46.212Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-305/archives ] [2023-04-18T15:12:46.212Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:12:46.212Z] total 16 [2023-04-18T15:12:46.212Z] drwxr-xr-x 3 root root 4096 Apr 18 15:04 . [2023-04-18T15:12:46.212Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:04 .. [2023-04-18T15:12:46.212Z] drwxr-xr-x 2 root root 4096 Apr 18 15:04 cost [2023-04-18T15:12:46.212Z] -rw-r--r-- 1 root root 91 Apr 18 15:04 cost.csv [2023-04-18T15:12:46.212Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:12:46.212Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-305/archives [2023-04-18T15:12:46.212Z] total 16 [2023-04-18T15:12:46.212Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:04 . [2023-04-18T15:12:46.212Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:04 .. [2023-04-18T15:12:46.212Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:04 cost [2023-04-18T15:12:46.212Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 18 15:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:46.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:47.368Z] ---> package-listing.sh [2023-04-18T15:12:47.368Z] ++ facter osfamily [2023-04-18T15:12:47.368Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T15:12:47.627Z] + OS_FAMILY=debian [2023-04-18T15:12:47.627Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-305 [2023-04-18T15:12:47.627Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T15:12:47.627Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T15:12:47.627Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T15:12:47.627Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T15:12:47.627Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-18T15:12:47.627Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T15:12:47.627Z] + case "${OS_FAMILY}" in [2023-04-18T15:12:47.627Z] + dpkg -l [2023-04-18T15:12:47.627Z] + grep '^ii' [2023-04-18T15:12:47.627Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T15:12:47.627Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T15:12:47.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T15:12:47.627Z] + '[' /w/workspace/undry_device-onvif-camera_PR-305 ']' [2023-04-18T15:12:47.627Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-305/archives/ [2023-04-18T15:12:47.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-305/archives/ [Pipeline] echo [2023-04-18T15:12:47.637Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T15:12:47.915Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T15:12:48.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T15:12:48.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T15:12:48.550Z] prd-ubuntu20.04-docker-8c-8g-8929 does not seem to be running inside a container [2023-04-18T15:12:48.596Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-305 -v /w/workspace/undry_device-onvif-camera_PR-305:/w/workspace/undry_device-onvif-camera_PR-305:rw,z -v /w/workspace/undry_device-onvif-camera_PR-305@tmp:/w/workspace/undry_device-onvif-camera_PR-305@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 [2023-04-18T15:12:48.759Z] $ docker top 10cf42c7410ced54707ee72e25c65be7ec2dbb819a534bdb6f7d8ff46f175377 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T15:12:49.071Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T15:12:49.353Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T15:12:49.636Z] + ls /var/log/sa-host [2023-04-18T15:12:49.636Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T15:12:49.705Z] provisioning config files... [2023-04-18T15:12:49.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-305@tmp/config4568240889899950665tmp [Pipeline] { [Pipeline] echo [2023-04-18T15:12:49.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:50.001Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T15:12:50.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:50.325Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T15:12:50.334Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:50.615Z] ---> sudo-logs.sh [2023-04-18T15:12:50.615Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T15:12:50.644Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:50.923Z] ---> job-cost.sh [2023-04-18T15:12:50.923Z] lf-activate-venv: SKIPPING [2023-04-18T15:12:50.923Z] DEBUG: total: 0.2199999988079071 [2023-04-18T15:12:50.923Z] INFO: Retrieving Stack Cost... [2023-04-18T15:12:51.490Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T15:12:51.749Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T15:12:51.760Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T15:12:52.039Z] ---> logs-deploy.sh [2023-04-18T15:12:52.039Z] lf-activate-venv: SKIPPING [2023-04-18T15:12:52.039Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-305/3 [2023-04-18T15:12:52.039Z] INFO: archiving workspace using pattern(s): [2023-04-18T15:12:52.975Z] Archives upload complete. [2023-04-18T15:12:52.975Z] INFO: archiving logs to Nexus