Branch indexing 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 77ccddf1f831a316cff875f9b23112dd948a8538 rather than 58b2c8476daecf2b64caad4338a742bde6bc2200 Obtained Jenkinsfile from 77ccddf1f831a316cff875f9b23112dd948a8538 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-ssh9267241352774818386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7083736222780619663.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-273/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-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377487399676945103.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17175455284039953271.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-273/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-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12761408014274819617.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4436 in /w/workspace/undry_device-onvif-camera_PR-273 [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-273 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 58b2c8476daecf2b64caad4338a742bde6bc2200 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58b2c8476daecf2b64caad4338a742bde6bc2200 # 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 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 Merge succeeded, producing 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 Checking out Revision 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 (PR-273) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 # timeout=10 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" > git rev-list --no-walk 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T22:11:08.613Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T22:11:08.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T22:11:08.690Z] ========================================================= [2023-03-17T22:11:08.690Z] EdgeX Global Pipelines Version Info [2023-03-17T22:11:08.690Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:09.398Z] ------------------- [2023-03-17T22:11:09.398Z] stable info: [2023-03-17T22:11:09.398Z] ------------------- [2023-03-17T22:11:09.398Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T22:11:09.398Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T22:11:09.398Z] Message: update stable to v1.0.245 [2023-03-17T22:11:09.968Z] ------------------- [2023-03-17T22:11:09.968Z] experimental info: [2023-03-17T22:11:09.968Z] ------------------- [2023-03-17T22:11:09.968Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T22:11:09.968Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T22:11:09.968Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T22:11:10.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T22:11:10.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T22:11:10.158Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T22:11:10.167Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T22:11:10.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T22:11:10.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T22:11:10.194Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T22:11:10.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T22:11:10.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T22:11:10.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T22:11:10.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T22:11:10.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T22:11:10.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T22:11:10.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T22:11:10.266Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:11:10.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:11:10.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:11:10.295Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:11:10.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T22:11:10.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T22:11:10.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T22:11:10.329Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T22:11:10.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T22:11:10.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T22:11:10.371Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T22:11:10.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T22:11:10.397Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T22:11:10.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo [2023-03-17T22:11:10.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo [2023-03-17T22:11:10.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo [2023-03-17T22:11:10.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo [2023-03-17T22:11:10.465Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d72c9b [Pipeline] echo [2023-03-17T22:11:10.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:11:10.529Z] provisioning config files... [2023-03-17T22:11:10.543Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config15197601532938823381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:10.841Z] ---> docker-login.sh [2023-03-17T22:11:10.841Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:11:11.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:11.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:11.107Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:11.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:11.107Z] [2023-03-17T22:11:11.107Z] Login Succeeded [2023-03-17T22:11:11.107Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:11:11.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:11.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:11.370Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:11.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:11.370Z] [2023-03-17T22:11:11.370Z] Login Succeeded [2023-03-17T22:11:11.370Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:11:11.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:11.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:11.370Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:11.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:11.370Z] [2023-03-17T22:11:11.370Z] Login Succeeded [2023-03-17T22:11:11.370Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:11:11.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:11.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:11.630Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:11.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:11.630Z] [2023-03-17T22:11:11.630Z] Login Succeeded [2023-03-17T22:11:11.630Z] docker.io [2023-03-17T22:11:11.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:11.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:11.889Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:11.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:11.889Z] [2023-03-17T22:11:11.889Z] Login Succeeded [2023-03-17T22:11:11.889Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:11:11.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T22:11:12.267Z] + git rev-list -1 --merges 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911~1..8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo [2023-03-17T22:11:12.377Z] -----------> git rev-list -1 --merges 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911~1..8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [2023-03-17T22:11:12.377Z] 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [false] [Pipeline] sh [2023-03-17T22:11:12.664Z] + git log --format=format:%s -1 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo [2023-03-17T22:11:12.677Z] ========================================================= [2023-03-17T22:11:12.678Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T22:11:12.678Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:11:12.999Z] + git log --format=format:%s -1 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [Pipeline] echo [2023-03-17T22:11:13.008Z] [semverPrep] GIT_COMMIT: 8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911, Commit Message: Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD [Pipeline] echo [2023-03-17T22:11:13.016Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T22:11:13.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T22:11:13.346Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T22:11:13.346Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T22:11:13.346Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T22:11:13.346Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T22:11:13.346Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T22:11:13.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:13.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:13.684Z] [2023-03-17T22:11:13.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:13.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:13.985Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T22:11:13.985Z] b85a868b505f: Pulling fs layer [2023-03-17T22:11:13.985Z] e2be974225ed: Pulling fs layer [2023-03-17T22:11:13.985Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T22:11:13.985Z] 988bab9f4d93: Pulling fs layer [2023-03-17T22:11:13.985Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T22:11:13.985Z] eaf3925da568: Pulling fs layer [2023-03-17T22:11:13.985Z] bab4dde63d76: Pulling fs layer [2023-03-17T22:11:13.985Z] bde34c3a00c8: Pulling fs layer [2023-03-17T22:11:13.985Z] b352a97aabf1: Pulling fs layer [2023-03-17T22:11:13.985Z] 4872d77fe225: Pulling fs layer [2023-03-17T22:11:13.985Z] 5851b861e8e6: Pulling fs layer [2023-03-17T22:11:13.985Z] b352a97aabf1: Waiting [2023-03-17T22:11:13.985Z] 4872d77fe225: Waiting [2023-03-17T22:11:13.985Z] 5851b861e8e6: Waiting [2023-03-17T22:11:13.985Z] 1469e6f7b9e6: Waiting [2023-03-17T22:11:13.985Z] bab4dde63d76: Waiting [2023-03-17T22:11:13.985Z] bde34c3a00c8: Waiting [2023-03-17T22:11:13.985Z] 988bab9f4d93: Waiting [2023-03-17T22:11:13.985Z] e2be974225ed: Verifying Checksum [2023-03-17T22:11:13.985Z] e2be974225ed: Download complete [2023-03-17T22:11:13.985Z] 988bab9f4d93: Download complete [2023-03-17T22:11:14.247Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T22:11:14.247Z] 1469e6f7b9e6: Download complete [2023-03-17T22:11:14.247Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T22:11:14.247Z] 339a4e72a1f5: Download complete [2023-03-17T22:11:14.247Z] eaf3925da568: Verifying Checksum [2023-03-17T22:11:14.247Z] eaf3925da568: Download complete [2023-03-17T22:11:14.247Z] bde34c3a00c8: Verifying Checksum [2023-03-17T22:11:14.247Z] bde34c3a00c8: Download complete [2023-03-17T22:11:14.247Z] b352a97aabf1: Verifying Checksum [2023-03-17T22:11:14.247Z] b352a97aabf1: Download complete [2023-03-17T22:11:14.247Z] 4872d77fe225: Verifying Checksum [2023-03-17T22:11:14.247Z] 4872d77fe225: Download complete [2023-03-17T22:11:14.247Z] 5851b861e8e6: Verifying Checksum [2023-03-17T22:11:14.247Z] 5851b861e8e6: Download complete [2023-03-17T22:11:14.247Z] b85a868b505f: Download complete [2023-03-17T22:11:14.814Z] bab4dde63d76: Verifying Checksum [2023-03-17T22:11:14.814Z] bab4dde63d76: Download complete [2023-03-17T22:11:15.749Z] b85a868b505f: Pull complete [2023-03-17T22:11:15.749Z] e2be974225ed: Pull complete [2023-03-17T22:11:16.314Z] 339a4e72a1f5: Pull complete [2023-03-17T22:11:16.572Z] 988bab9f4d93: Pull complete [2023-03-17T22:11:17.139Z] 1469e6f7b9e6: Pull complete [2023-03-17T22:11:17.139Z] eaf3925da568: Pull complete [2023-03-17T22:11:19.053Z] bab4dde63d76: Pull complete [2023-03-17T22:11:19.053Z] bde34c3a00c8: Pull complete [2023-03-17T22:11:19.312Z] b352a97aabf1: Pull complete [2023-03-17T22:11:19.312Z] 4872d77fe225: Pull complete [2023-03-17T22:11:19.597Z] 5851b861e8e6: Pull complete [2023-03-17T22:11:19.597Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T22:11:19.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:11:19.597Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:11:19.718Z] prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container [2023-03-17T22:11:19.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T22:11:21.440Z] $ docker top 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 -eo pid,comm [2023-03-17T22:11:21.495Z] 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-03-17T22:11:21.495Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T22:11:21.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:11:21.524Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:11:21.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:11:21.643Z] $ docker exec 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent [2023-03-17T22:11:21.753Z] SSH_AUTH_SOCK=/tmp/ssh-Jmf40WRQDuJS/agent.32 [2023-03-17T22:11:21.753Z] SSH_AGENT_PID=38 [2023-03-17T22:11:21.759Z] Running ssh-add (command line suppressed) [2023-03-17T22:11:21.874Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_5995712038475627272.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_5995712038475627272.key) [2023-03-17T22:11:21.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:11:22.171Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T22:11:22.197Z] $ docker exec --env ******** --env ******** 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent -k [2023-03-17T22:11:22.306Z] unset SSH_AUTH_SOCK; [2023-03-17T22:11:22.306Z] unset SSH_AGENT_PID; [2023-03-17T22:11:22.306Z] echo Agent pid 38 killed; [2023-03-17T22:11:22.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T22:11:22.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:11:22.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:11:22.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:11:22.453Z] $ docker exec 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent [2023-03-17T22:11:22.567Z] SSH_AUTH_SOCK=/tmp/ssh-cunLkKCDnY42/agent.70 [2023-03-17T22:11:22.567Z] SSH_AGENT_PID=76 [2023-03-17T22:11:22.571Z] Running ssh-add (command line suppressed) [2023-03-17T22:11:22.673Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15648493193032555865.key (/w/workspace/undry_device-onvif-camera_PR-273@tmp/private_key_15648493193032555865.key) [2023-03-17T22:11:22.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:11:22.970Z] + git semver init [2023-03-17T22:11:23.230Z] 2023-03-17 22:11:23,191 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T22:11:23.230Z] 2023-03-17 22:11:23,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-273/.semver [2023-03-17T22:11:23.230Z] 2023-03-17 22:11:23,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-273/.semver [2023-03-17T22:11:23.230Z] 2023-03-17 22:11:23,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-273/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-273, universal_newlines=False, shell=None, istream=None) [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,005 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-273/.git/info/exclude [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 with force:False [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,006 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,010 [execute] INFO git cat-file --batch-check [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,018 [execute] INFO git cat-file --batch [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-273/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:11:24.173Z] 2023-03-17 22:11:24,025 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-273/.semver/PR-273 [2023-03-17T22:11:24.173Z] 0.0.0 [Pipeline] } [2023-03-17T22:11:24.185Z] $ docker exec --env ******** --env ******** 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 ssh-agent -k [2023-03-17T22:11:24.280Z] unset SSH_AUTH_SOCK; [2023-03-17T22:11:24.281Z] unset SSH_AGENT_PID; [2023-03-17T22:11:24.281Z] echo Agent pid 76 killed; [2023-03-17T22:11:24.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T22:11:24.591Z] + git semver [Pipeline] } [2023-03-17T22:11:24.869Z] $ docker stop --time=1 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 [2023-03-17T22:11:26.319Z] $ docker rm -f --volumes 0a092bac7161fb586b56947656f9f2048e6ef1c6e18f5c7533b24a20695c2f24 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T22:11:26.701Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T22:11:26.893Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T22:11:26.895Z] [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-03-17T22:11:27.031Z] provisioning config files... [2023-03-17T22:11:27.039Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config13676311173361082157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:27.330Z] ---> docker-login.sh [2023-03-17T22:11:27.330Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:11:27.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:27.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:27.330Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:27.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:27.330Z] [2023-03-17T22:11:27.330Z] Login Succeeded [2023-03-17T22:11:27.330Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:11:27.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:27.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:27.330Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:27.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:27.330Z] [2023-03-17T22:11:27.330Z] Login Succeeded [2023-03-17T22:11:27.330Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:11:27.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:27.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:27.589Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:27.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:27.589Z] [2023-03-17T22:11:27.589Z] Login Succeeded [2023-03-17T22:11:27.589Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:11:27.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:27.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:27.589Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:27.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:27.589Z] [2023-03-17T22:11:27.589Z] Login Succeeded [2023-03-17T22:11:27.589Z] docker.io [2023-03-17T22:11:27.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:11:27.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:11:27.849Z] Configure a credential helper to remove this warning. See [2023-03-17T22:11:27.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:11:27.849Z] [2023-03-17T22:11:27.849Z] Login Succeeded [2023-03-17T22:11:27.849Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:11:27.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:11:27.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:11:27.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:11:27.920Z] ========================================================= [2023-03-17T22:11:27.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T22:11:27.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:28.217Z] + 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-03-17T22:11:28.217Z] Sending build context to Docker daemon 26.92MB [2023-03-17T22:11:28.217Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:11:28.217Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:11:28.478Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T22:11:28.478Z] 63b65145d645: Pulling fs layer [2023-03-17T22:11:28.478Z] a2d21d5440eb: Pulling fs layer [2023-03-17T22:11:28.478Z] 935e6c44a52c: Pulling fs layer [2023-03-17T22:11:28.478Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T22:11:28.478Z] 30dea6a524f1: Pulling fs layer [2023-03-17T22:11:28.478Z] a2aff8979fd8: Pulling fs layer [2023-03-17T22:11:28.478Z] 6808be2612f2: Pulling fs layer [2023-03-17T22:11:28.478Z] f25807f1079a: Pulling fs layer [2023-03-17T22:11:28.478Z] a2aff8979fd8: Waiting [2023-03-17T22:11:28.478Z] 6808be2612f2: Waiting [2023-03-17T22:11:28.478Z] f25807f1079a: Waiting [2023-03-17T22:11:28.478Z] 94cc34f8dd06: Waiting [2023-03-17T22:11:28.478Z] 30dea6a524f1: Waiting [2023-03-17T22:11:28.478Z] a2d21d5440eb: Verifying Checksum [2023-03-17T22:11:28.478Z] a2d21d5440eb: Download complete [2023-03-17T22:11:28.478Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T22:11:28.478Z] 94cc34f8dd06: Download complete [2023-03-17T22:11:28.478Z] 30dea6a524f1: Verifying Checksum [2023-03-17T22:11:28.478Z] 30dea6a524f1: Download complete [2023-03-17T22:11:28.478Z] 63b65145d645: Verifying Checksum [2023-03-17T22:11:28.478Z] 63b65145d645: Download complete [2023-03-17T22:11:28.478Z] a2aff8979fd8: Verifying Checksum [2023-03-17T22:11:28.478Z] a2aff8979fd8: Download complete [2023-03-17T22:11:28.739Z] 63b65145d645: Pull complete [2023-03-17T22:11:28.739Z] a2d21d5440eb: Pull complete [2023-03-17T22:11:29.322Z] 935e6c44a52c: Verifying Checksum [2023-03-17T22:11:29.322Z] 935e6c44a52c: Download complete [2023-03-17T22:11:29.322Z] f25807f1079a: Verifying Checksum [2023-03-17T22:11:29.580Z] 6808be2612f2: Download complete [2023-03-17T22:11:32.859Z] 935e6c44a52c: Pull complete [2023-03-17T22:11:32.859Z] 94cc34f8dd06: Pull complete [2023-03-17T22:11:32.859Z] 30dea6a524f1: Pull complete [2023-03-17T22:11:32.859Z] a2aff8979fd8: Pull complete [2023-03-17T22:11:35.397Z] 6808be2612f2: Pull complete [2023-03-17T22:11:36.335Z] f25807f1079a: Pull complete [2023-03-17T22:11:36.336Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T22:11:36.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T22:11:36.336Z] ---> 3b553350e43f [2023-03-17T22:11:36.336Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:11:38.900Z] ---> Running in 9704070f0a1b [2023-03-17T22:11:38.900Z] Removing intermediate container 9704070f0a1b [2023-03-17T22:11:38.900Z] ---> 2196f299767b [2023-03-17T22:11:38.900Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:11:38.900Z] ---> Running in c6349d842934 [2023-03-17T22:11:38.900Z] Removing intermediate container c6349d842934 [2023-03-17T22:11:38.900Z] ---> 4fd43e7e7aa0 [2023-03-17T22:11:38.900Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:11:38.900Z] ---> Running in c9bf4ab3e1f3 [2023-03-17T22:11:39.168Z] Removing intermediate container c9bf4ab3e1f3 [2023-03-17T22:11:39.168Z] ---> 21154bc498b2 [2023-03-17T22:11:39.168Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:11:39.168Z] ---> Running in 96e570f4cf5d [2023-03-17T22:11:39.168Z] Removing intermediate container 96e570f4cf5d [2023-03-17T22:11:39.168Z] ---> f825f127626f [2023-03-17T22:11:39.168Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:11:39.427Z] ---> Running in e8fa3d5569c4 [2023-03-17T22:11:39.428Z] Removing intermediate container e8fa3d5569c4 [2023-03-17T22:11:39.428Z] ---> 6119dd74a4d3 [2023-03-17T22:11:39.428Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:11:39.428Z] ---> Running in f5bd8c9414ae [2023-03-17T22:11:39.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T22:11:39.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T22:11:39.948Z] OK: 265 MiB in 53 packages [2023-03-17T22:11:40.207Z] Removing intermediate container f5bd8c9414ae [2023-03-17T22:11:40.207Z] ---> b9d4d4e0311c [2023-03-17T22:11:40.207Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:11:40.467Z] ---> Running in f518bdd58029 [2023-03-17T22:11:40.467Z] Removing intermediate container f518bdd58029 [2023-03-17T22:11:40.467Z] ---> 6911c6f9638e [2023-03-17T22:11:40.467Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:11:40.467Z] ---> 0139827b9d68 [2023-03-17T22:11:40.467Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:11:40.726Z] ---> Running in f0636a604b25 [2023-03-17T22:11:41.990Z] Still waiting to schedule task [2023-03-17T22:11:41.990Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T22:12:19.526Z] Removing intermediate container f0636a604b25 [2023-03-17T22:12:19.527Z] ---> 7e92405cc92f [2023-03-17T22:12:19.527Z] Step 12/13 : COPY . . [2023-03-17T22:12:19.527Z] ---> 322663083836 [2023-03-17T22:12:19.527Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:12:19.527Z] ---> Running in 072a6e7be328 [2023-03-17T22:12:19.527Z] noop [2023-03-17T22:12:19.527Z] Removing intermediate container 072a6e7be328 [2023-03-17T22:12:19.527Z] ---> 2820ca7572aa [2023-03-17T22:12:19.527Z] Successfully built 2820ca7572aa [2023-03-17T22:12:19.527Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:12:19.831Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:12:19.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:12:19.902Z] prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container [2023-03-17T22:12:19.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T22:12:20.299Z] $ docker top ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:12:20.637Z] + go version [2023-03-17T22:12:20.637Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T22:12:20.651Z] $ docker stop --time=1 ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 [2023-03-17T22:12:21.918Z] $ docker rm -f --volumes ca473a265e48c6d0724af08fca43dc8771aa5cd5a8aae0d550967c0b27a199b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:12:22.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:12:22.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:12:22.375Z] prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container [2023-03-17T22:12:22.407Z] $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T22:12:22.841Z] $ docker top 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:12:23.174Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:12:23.465Z] + make test [2023-03-17T22:12:23.465Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:12:28.730Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:12:40.919Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-17T22:12:40.919Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:12:42.823Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 30.5% of statements [2023-03-17T22:12:42.823Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.163s coverage: 86.5% of statements [2023-03-17T22:12:50.933Z] go vet ./... [2023-03-17T22:12:54.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T22:12:54.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T22:12:54.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T22:12:54.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T22:12:54.502Z] $ docker stop --time=1 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 [2023-03-17T22:12:58.670Z] $ docker rm -f --volumes 465c719b754e3c159b9ebc83396c75f4e7fff72eb286d16be833e90e09436573 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T22:12:59.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T22:12:59.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T22:12:59.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T22:13:00.109Z] + ls -al . [2023-03-17T22:13:00.109Z] total 232 [2023-03-17T22:13:00.109Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 22:12 . [2023-03-17T22:13:00.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 .. [2023-03-17T22:13:00.109Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 22:11 .git [2023-03-17T22:13:00.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 22:11 .github [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 17 22:11 .gitignore [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 22:11 .golangci.yml [2023-03-17T22:13:00.109Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:11 .semver [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 17 22:11 Attribution.txt [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 17 22:11 CHANGELOG.md [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 17 22:11 Dockerfile [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 22:11 GOVERNANCE.md [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 17 22:11 Jenkinsfile [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 17 22:11 LICENSE [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 17 22:11 Makefile [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 17 22:11 OWNERS.md [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 17 22:11 README.md [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 22:11 VERSION [2023-03-17T22:13:00.109Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 22:11 bin [2023-03-17T22:13:00.109Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 22:11 cmd [2023-03-17T22:13:00.109Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 17 22:12 coverage.out [2023-03-17T22:13:00.109Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 22:11 doc [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 17 22:11 go.mod [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 17 22:11 go.sum [2023-03-17T22:13:00.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 internal [2023-03-17T22:13:00.109Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 22:11 snap [2023-03-17T22:13:00.109Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 17 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:13:00.420Z] + 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=8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 --label arch=amd64 --label version=0.0.0 . [2023-03-17T22:13:00.421Z] Sending build context to Docker daemon 27MB [2023-03-17T22:13:00.421Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:13:00.421Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-17T22:13:00.421Z] ---> 2820ca7572aa [2023-03-17T22:13:00.421Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:13:00.990Z] ---> Running in 9887831150b3 [2023-03-17T22:13:00.990Z] Removing intermediate container 9887831150b3 [2023-03-17T22:13:00.990Z] ---> 5a75a2fa84c1 [2023-03-17T22:13:00.990Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:13:00.990Z] ---> Running in 46973d5718e8 [2023-03-17T22:13:01.249Z] Removing intermediate container 46973d5718e8 [2023-03-17T22:13:01.249Z] ---> a9d6e788ff8c [2023-03-17T22:13:01.249Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:13:01.249Z] ---> Running in ba5928125d59 [2023-03-17T22:13:01.249Z] Removing intermediate container ba5928125d59 [2023-03-17T22:13:01.249Z] ---> c7e23ad585a0 [2023-03-17T22:13:01.249Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:13:01.249Z] ---> Running in c77c2ad802d6 [2023-03-17T22:13:01.249Z] Removing intermediate container c77c2ad802d6 [2023-03-17T22:13:01.249Z] ---> e8546d3e6fc4 [2023-03-17T22:13:01.249Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:13:01.249Z] ---> Running in f0311f08a1cb [2023-03-17T22:13:01.508Z] Removing intermediate container f0311f08a1cb [2023-03-17T22:13:01.508Z] ---> 5d6e98323bd2 [2023-03-17T22:13:01.508Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:13:01.508Z] ---> Running in f015a4a39363 [2023-03-17T22:13:01.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T22:13:02.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T22:13:02.283Z] OK: 265 MiB in 53 packages [2023-03-17T22:13:02.541Z] Removing intermediate container f015a4a39363 [2023-03-17T22:13:02.541Z] ---> 80c2f40cb159 [2023-03-17T22:13:02.541Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-17T22:13:02.541Z] ---> Running in 905d28a77244 [2023-03-17T22:13:02.541Z] Removing intermediate container 905d28a77244 [2023-03-17T22:13:02.541Z] ---> 69fe510c1d38 [2023-03-17T22:13:02.541Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-17T22:13:02.799Z] ---> 2f272997ca44 [2023-03-17T22:13:02.799Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:13:02.799Z] ---> Running in 770eb1386cee [2023-03-17T22:13:03.732Z] Removing intermediate container 770eb1386cee [2023-03-17T22:13:03.732Z] ---> 2f349c8bc07c [2023-03-17T22:13:03.732Z] Step 12/26 : COPY . . [2023-03-17T22:13:04.668Z] ---> d92f8cc235e8 [2023-03-17T22:13:04.668Z] Step 13/26 : RUN ${MAKE} [2023-03-17T22:13:04.668Z] ---> Running in 20899570a6df [2023-03-17T22:13:04.927Z] 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-03-17T22:13:31.471Z] Removing intermediate container 20899570a6df [2023-03-17T22:13:31.471Z] ---> efa9427086b4 [2023-03-17T22:13:31.471Z] Step 14/26 : FROM alpine:3.17 [2023-03-17T22:13:31.471Z] 3.17: Pulling from library/alpine [2023-03-17T22:13:31.471Z] 63b65145d645: Already exists [2023-03-17T22:13:31.471Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T22:13:31.471Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T22:13:31.471Z] ---> b2aa39c304c2 [2023-03-17T22:13:31.471Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-17T22:13:31.471Z] ---> Running in 7eca01c4a784 [2023-03-17T22:13:31.471Z] Removing intermediate container 7eca01c4a784 [2023-03-17T22:13:31.471Z] ---> 3b5d3f1d291d [2023-03-17T22:13:31.471Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-17T22:13:31.471Z] ---> Running in 88ad60729b8f [2023-03-17T22:13:31.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T22:13:31.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T22:13:31.471Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-17T22:13:31.471Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T22:13:31.471Z] OK: 7 MiB in 16 packages [2023-03-17T22:13:31.471Z] Removing intermediate container 88ad60729b8f [2023-03-17T22:13:31.471Z] ---> aeda11440046 [2023-03-17T22:13:31.471Z] Step 17/26 : WORKDIR / [2023-03-17T22:13:31.471Z] ---> Running in e406271d219c [2023-03-17T22:13:31.471Z] Removing intermediate container e406271d219c [2023-03-17T22:13:31.471Z] ---> f7616ed06dae [2023-03-17T22:13:31.471Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-17T22:13:31.471Z] ---> 5f755e88ae11 [2023-03-17T22:13:31.471Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-17T22:13:31.471Z] ---> cddbb044e70e [2023-03-17T22:13:31.471Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-17T22:13:31.471Z] ---> 0831b22fbf36 [2023-03-17T22:13:31.471Z] Step 21/26 : EXPOSE 59984 [2023-03-17T22:13:31.471Z] ---> Running in cdb8a0ec0331 [2023-03-17T22:13:31.471Z] Removing intermediate container cdb8a0ec0331 [2023-03-17T22:13:31.471Z] ---> c2f5f72b1e73 [2023-03-17T22:13:31.471Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-17T22:13:31.471Z] ---> Running in 12bbfc289bb1 [2023-03-17T22:13:31.471Z] Removing intermediate container 12bbfc289bb1 [2023-03-17T22:13:31.471Z] ---> e9f39f662799 [2023-03-17T22:13:31.471Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T22:13:31.471Z] ---> Running in 797c0a0f695b [2023-03-17T22:13:31.471Z] Removing intermediate container 797c0a0f695b [2023-03-17T22:13:31.471Z] ---> b8053d86d8fa [2023-03-17T22:13:31.471Z] Step 24/26 : LABEL arch=amd64 [2023-03-17T22:13:31.471Z] ---> Running in cac4492524b0 [2023-03-17T22:13:31.471Z] Removing intermediate container cac4492524b0 [2023-03-17T22:13:31.471Z] ---> 843476d81c9a [2023-03-17T22:13:31.471Z] Step 25/26 : LABEL git_sha=8d72c9b6ae670652bd6ec9a3ba3eedf872bd9911 [2023-03-17T22:13:31.471Z] ---> Running in 136d207f7cb3 [2023-03-17T22:13:31.471Z] Removing intermediate container 136d207f7cb3 [2023-03-17T22:13:31.471Z] ---> 2c1bdee27481 [2023-03-17T22:13:31.471Z] Step 26/26 : LABEL version=0.0.0 [2023-03-17T22:13:31.471Z] ---> Running in cecbebc460ba [2023-03-17T22:13:31.471Z] Removing intermediate container cecbebc460ba [2023-03-17T22:13:31.471Z] ---> d0a24920b09b [2023-03-17T22:13:31.471Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T22:13:31.471Z] Successfully built d0a24920b09b [2023-03-17T22:13:31.471Z] 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-03-17T22:13:31.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:13:31.928Z] [2023-03-17T22:13:31.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:13:32.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:13:32.226Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T22:13:32.226Z] 5eb5b503b376: Pulling fs layer [2023-03-17T22:13:32.226Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T22:13:32.226Z] ec43610c2a17: Pulling fs layer [2023-03-17T22:13:32.226Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T22:13:32.226Z] 33b1e0a273af: Pulling fs layer [2023-03-17T22:13:32.226Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T22:13:32.226Z] 2f39f015ded8: Pulling fs layer [2023-03-17T22:13:32.226Z] 5d3b04190fa2: Waiting [2023-03-17T22:13:32.226Z] 3a2ae6a8a46f: Waiting [2023-03-17T22:13:32.226Z] 33b1e0a273af: Waiting [2023-03-17T22:13:32.226Z] 2f39f015ded8: Waiting [2023-03-17T22:13:32.226Z] 5c69ac0246d0: Download complete [2023-03-17T22:13:32.226Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T22:13:32.226Z] 3a2ae6a8a46f: Download complete [2023-03-17T22:13:32.485Z] ec43610c2a17: Verifying Checksum [2023-03-17T22:13:32.485Z] ec43610c2a17: Download complete [2023-03-17T22:13:32.485Z] 33b1e0a273af: Verifying Checksum [2023-03-17T22:13:32.485Z] 33b1e0a273af: Download complete [2023-03-17T22:13:32.485Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T22:13:32.485Z] 5d3b04190fa2: Download complete [2023-03-17T22:13:32.485Z] 5eb5b503b376: Verifying Checksum [2023-03-17T22:13:32.485Z] 5eb5b503b376: Download complete [2023-03-17T22:13:33.051Z] 2f39f015ded8: Verifying Checksum [2023-03-17T22:13:33.051Z] 2f39f015ded8: Download complete [2023-03-17T22:13:33.613Z] 5eb5b503b376: Pull complete [2023-03-17T22:13:33.871Z] 5c69ac0246d0: Pull complete [2023-03-17T22:13:34.130Z] ec43610c2a17: Pull complete [2023-03-17T22:13:34.388Z] 3a2ae6a8a46f: Pull complete [2023-03-17T22:13:34.647Z] 33b1e0a273af: Pull complete [2023-03-17T22:13:34.647Z] 5d3b04190fa2: Pull complete [2023-03-17T22:13:38.821Z] 2f39f015ded8: Pull complete [2023-03-17T22:13:38.821Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T22:13:38.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:13:38.821Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:13:38.911Z] prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container [2023-03-17T22:13:38.941Z] $ 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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T22:13:43.167Z] $ docker top 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:13:43.530Z] ---> job-cost.sh [2023-03-17T22:13:43.530Z] lf-activate-venv: SKIPPING [2023-03-17T22:13:43.530Z] INFO: No Stack... [2023-03-17T22:13:44.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:13:44.358Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:13:44.649Z] + cat /w/workspace/undry_device-onvif-camera_PR-273/archives/cost.csv [2023-03-17T22:13:44.650Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T22:13:44.664Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [2023-03-17T22:13:44.674Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] did not exist. Created. [2023-03-17T22:13:44.674Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:13:44.973Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T22:13:45.006Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:13:45.013Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:13:45.039Z] $ docker stop --time=1 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 [2023-03-17T22:13:46.197Z] $ docker rm -f --volumes 32604b82a46e2c4f12dc3b4f6b7f44a749cf3b144410581200a19ac9f1d57034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:14:00.539Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4441 in /w/workspace/undry_device-onvif-camera_PR-273 [Pipeline] { [Pipeline] ws [2023-03-17T22:14:00.547Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-17T22:14:00.649Z] The recommended git tool is: git [2023-03-17T22:14:06.522Z] using credential edgex-jenkins-ssh [2023-03-17T22:14:06.544Z] Cloning the remote Git repository [2023-03-17T22:14:06.602Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:06.965Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-17T22:14:07.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:07.109Z] > git --version # timeout=10 [2023-03-17T22:14:07.129Z] > git --version # 'git version 2.25.1' [2023-03-17T22:14:07.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:07.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:14:08.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:14:08.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:14:10.432Z] Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 58b2c8476daecf2b64caad4338a742bde6bc2200 [2023-03-17T22:14:09.760Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:14:09.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:14:09.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:09.835Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T22:14:10.456Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:14:10.540Z] > git checkout -f 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 [2023-03-17T22:14:10.862Z] > git remote # timeout=10 [2023-03-17T22:14:10.885Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T22:14:10.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:14:10.922Z] > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 [2023-03-17T22:14:11.431Z] Merge succeeded, producing 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 [2023-03-17T22:14:11.431Z] Checking out Revision 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 (PR-273) [2023-03-17T22:14:11.413Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T22:14:11.439Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:14:11.456Z] > git checkout -f 56a1ff7e801d714ee667909cd4526c18ad2ff3c3 # timeout=10 [2023-03-17T22:14:15.010Z] Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" [2023-03-17T22:14:15.021Z] > git rev-list --no-walk 58b2c8476daecf2b64caad4338a742bde6bc2200 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:14:16.040Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T22:14:16.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T22:14:16.040Z] Dload Upload Total Spent Left Speed [2023-03-17T22:14:16.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-03-17T22:14:16.788Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T22:14:17.123Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T22:14:17.123Z] + sudo tee /etc/docker/daemon.new [2023-03-17T22:14:17.123Z] { [2023-03-17T22:14:17.123Z] "registry-mirrors": [ [2023-03-17T22:14:17.123Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T22:14:17.123Z] ], [2023-03-17T22:14:17.123Z] "bip": "10.250.0.254/24", [2023-03-17T22:14:17.123Z] "hosts": [ [2023-03-17T22:14:17.123Z] "tcp://0.0.0.0:5555", [2023-03-17T22:14:17.123Z] "unix:///var/run/docker.sock" [2023-03-17T22:14:17.123Z] ], [2023-03-17T22:14:17.123Z] "mtu": 1458, [2023-03-17T22:14:17.123Z] "selinux-enabled": true, [2023-03-17T22:14:17.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T22:14:17.123Z] } [Pipeline] sh [2023-03-17T22:14:17.468Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T22:14:17.818Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:14:36.114Z] provisioning config files... [2023-03-17T22:14:36.144Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config147301395371408510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:14:36.509Z] ---> docker-login.sh [2023-03-17T22:14:36.509Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:14:37.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:14:37.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:14:37.102Z] Configure a credential helper to remove this warning. See [2023-03-17T22:14:37.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:14:37.102Z] [2023-03-17T22:14:37.102Z] Login Succeeded [2023-03-17T22:14:37.102Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:14:37.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:14:37.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:14:37.646Z] Configure a credential helper to remove this warning. See [2023-03-17T22:14:37.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:14:37.646Z] [2023-03-17T22:14:37.646Z] Login Succeeded [2023-03-17T22:14:37.646Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:14:37.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:14:37.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:14:37.916Z] Configure a credential helper to remove this warning. See [2023-03-17T22:14:37.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:14:37.916Z] [2023-03-17T22:14:37.916Z] Login Succeeded [2023-03-17T22:14:37.916Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:14:38.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:14:38.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:14:38.193Z] Configure a credential helper to remove this warning. See [2023-03-17T22:14:38.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:14:38.193Z] [2023-03-17T22:14:38.193Z] Login Succeeded [2023-03-17T22:14:38.193Z] docker.io [2023-03-17T22:14:38.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:14:38.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:14:38.734Z] Configure a credential helper to remove this warning. See [2023-03-17T22:14:38.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:14:38.734Z] [2023-03-17T22:14:38.734Z] Login Succeeded [2023-03-17T22:14:38.734Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:14:38.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:14:39.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:14:39.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:14:39.065Z] ========================================================= [2023-03-17T22:14:39.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T22:14:39.065Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:14:39.409Z] + 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-03-17T22:14:39.998Z] Sending build context to Docker daemon 19.65MB [2023-03-17T22:14:39.998Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:14:39.998Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:14:39.998Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T22:14:39.998Z] af6eaf76a39c: Pulling fs layer [2023-03-17T22:14:39.998Z] 55522c791124: Pulling fs layer [2023-03-17T22:14:39.998Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T22:14:39.998Z] 169dfbe0d373: Pulling fs layer [2023-03-17T22:14:39.998Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T22:14:39.998Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T22:14:39.998Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T22:14:39.998Z] e1ff8fa3b103: Waiting [2023-03-17T22:14:39.998Z] 52ebb69f0ebf: Waiting [2023-03-17T22:14:39.998Z] 5abe8eddf0d5: Waiting [2023-03-17T22:14:39.998Z] 169dfbe0d373: Waiting [2023-03-17T22:14:40.277Z] 55522c791124: Verifying Checksum [2023-03-17T22:14:40.277Z] 55522c791124: Download complete [2023-03-17T22:14:40.277Z] 169dfbe0d373: Verifying Checksum [2023-03-17T22:14:40.277Z] 169dfbe0d373: Download complete [2023-03-17T22:14:40.277Z] e1ff8fa3b103: Download complete [2023-03-17T22:14:40.277Z] af6eaf76a39c: Download complete [2023-03-17T22:14:41.261Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T22:14:41.261Z] 5abe8eddf0d5: Download complete [2023-03-17T22:14:41.537Z] af6eaf76a39c: Pull complete [2023-03-17T22:14:42.138Z] 55522c791124: Pull complete [2023-03-17T22:14:43.126Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T22:14:43.126Z] ce5c4a1c91eb: Download complete [2023-03-17T22:14:43.126Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T22:14:43.126Z] 52ebb69f0ebf: Download complete [2023-03-17T22:14:55.479Z] ce5c4a1c91eb: Pull complete [2023-03-17T22:14:55.479Z] 169dfbe0d373: Pull complete [2023-03-17T22:14:55.479Z] e1ff8fa3b103: Pull complete [2023-03-17T22:15:02.167Z] 52ebb69f0ebf: Pull complete [2023-03-17T22:15:03.602Z] 5abe8eddf0d5: Pull complete [2023-03-17T22:15:03.602Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T22:15:03.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T22:15:03.602Z] ---> 6cb57ee374ae [2023-03-17T22:15:03.602Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:15:05.564Z] ---> Running in e764a5a08e9b [2023-03-17T22:15:05.837Z] Removing intermediate container e764a5a08e9b [2023-03-17T22:15:05.837Z] ---> 64d6016cf050 [2023-03-17T22:15:05.837Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:15:05.837Z] ---> Running in 0f6f0115a98e [2023-03-17T22:15:06.120Z] Removing intermediate container 0f6f0115a98e [2023-03-17T22:15:06.120Z] ---> 2cfc96b81f7a [2023-03-17T22:15:06.120Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:15:06.391Z] ---> Running in 5647bdb7b00c [2023-03-17T22:15:06.662Z] Removing intermediate container 5647bdb7b00c [2023-03-17T22:15:06.662Z] ---> bea1f193e63d [2023-03-17T22:15:06.662Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:15:06.939Z] ---> Running in 8d736c51bdf8 [2023-03-17T22:15:07.216Z] Removing intermediate container 8d736c51bdf8 [2023-03-17T22:15:07.216Z] ---> 29faf07feb9e [2023-03-17T22:15:07.216Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:15:07.216Z] ---> Running in eb79cc811678 [2023-03-17T22:15:07.490Z] Removing intermediate container eb79cc811678 [2023-03-17T22:15:07.490Z] ---> 3d311e3f46eb [2023-03-17T22:15:07.490Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:15:07.761Z] ---> Running in 91a3874a714c [2023-03-17T22:15:09.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T22:15:09.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T22:15:11.192Z] OK: 263 MiB in 53 packages [2023-03-17T22:15:11.786Z] Removing intermediate container 91a3874a714c [2023-03-17T22:15:11.786Z] ---> fb2772e03dab [2023-03-17T22:15:11.786Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:15:12.057Z] ---> Running in 4065693f7dff [2023-03-17T22:15:12.329Z] Removing intermediate container 4065693f7dff [2023-03-17T22:15:12.329Z] ---> c9233259068f [2023-03-17T22:15:12.329Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:15:12.919Z] ---> 5cef151548ff [2023-03-17T22:15:12.919Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:15:12.919Z] ---> Running in cbf5245ab1b8 [2023-03-17T22:16:34.652Z] Removing intermediate container cbf5245ab1b8 [2023-03-17T22:16:34.652Z] ---> e01ee6062bda [2023-03-17T22:16:34.652Z] Step 12/13 : COPY . . [2023-03-17T22:16:34.652Z] ---> 3d9a1664dce5 [2023-03-17T22:16:34.652Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:16:34.652Z] ---> Running in df2f2e09f759 [2023-03-17T22:16:34.652Z] noop [2023-03-17T22:16:34.652Z] Removing intermediate container df2f2e09f759 [2023-03-17T22:16:34.652Z] ---> bfc37999c3fc [2023-03-17T22:16:34.652Z] Successfully built bfc37999c3fc [2023-03-17T22:16:34.652Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:16:35.016Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:16:35.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:16:35.232Z] prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container [2023-03-17T22:16:35.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T22:16:36.630Z] $ docker top 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:16:37.552Z] + go version [2023-03-17T22:16:37.552Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T22:16:37.580Z] $ docker stop --time=1 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f [2023-03-17T22:16:39.197Z] $ docker rm -f --volumes 472201062f7c68e2ec68ddadd6ba31dfa20bf2d177499596d3daf946c4c0465f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:16:39.729Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:16:39.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:16:39.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container [2023-03-17T22:16:39.993Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T22:16:41.255Z] $ docker top 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:16:42.095Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:16:42.754Z] + make test [2023-03-17T22:16:42.754Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:17:21.680Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:20:13.432Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-17T22:20:14.402Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:20:16.998Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 30.5% of statements [2023-03-17T22:20:49.329Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-17T22:20:49.329Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.06s) [2023-03-17T22:20:49.329Z] util_test.go:180: [2023-03-17T22:20:49.329Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:180 [2023-03-17T22:20:49.329Z] Error: Not equal: [2023-03-17T22:20:49.329Z] expected: 0xfffffe [2023-03-17T22:20:49.329Z] actual : 0xf6ad9e [2023-03-17T22:20:49.329Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-17T22:20:49.329Z] util_test.go:183: [2023-03-17T22:20:49.329Z] Error Trace: /w/workspace/device-onvif-camera/2/internal/netscan/util_test.go:183 [2023-03-17T22:20:49.329Z] Error: Not equal: [2023-03-17T22:20:49.329Z] expected: "10.255.255.254" [2023-03-17T22:20:49.329Z] actual : "10.246.173.158" [2023-03-17T22:20:49.329Z] [2023-03-17T22:20:49.329Z] Diff: [2023-03-17T22:20:49.329Z] --- Expected [2023-03-17T22:20:49.329Z] +++ Actual [2023-03-17T22:20:49.329Z] @@ -1 +1 @@ [2023-03-17T22:20:49.329Z] -10.255.255.254 [2023-03-17T22:20:49.329Z] +10.246.173.158 [2023-03-17T22:20:49.329Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-17T22:20:49.329Z] FAIL [2023-03-17T22:20:49.329Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-17T22:20:49.329Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.293s [2023-03-17T22:20:49.329Z] FAIL [2023-03-17T22:20:49.329Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T22:20:49.359Z] $ docker stop --time=1 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a [2023-03-17T22:20:51.276Z] $ docker rm -f --volumes 1a36662d7b7248e6fbbb29de7ea81924cbbb0d33550a65983920bad79cace24a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:20:52.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:20:52.620Z] [2023-03-17T22:20:52.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:20:52.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:20:53.234Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T22:20:53.235Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T22:20:53.235Z] 04944245beec: Pulling fs layer [2023-03-17T22:20:53.235Z] 699f458cf7ca: Pulling fs layer [2023-03-17T22:20:53.235Z] 765212b225bb: Pulling fs layer [2023-03-17T22:20:53.235Z] f23df028b6ca: Pulling fs layer [2023-03-17T22:20:53.235Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T22:20:53.235Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T22:20:53.235Z] f23df028b6ca: Waiting [2023-03-17T22:20:53.235Z] d65c8cfc05b1: Waiting [2023-03-17T22:20:53.235Z] 2437ff75d9bd: Waiting [2023-03-17T22:20:53.235Z] 765212b225bb: Waiting [2023-03-17T22:20:53.235Z] 04944245beec: Download complete [2023-03-17T22:20:53.235Z] 765212b225bb: Verifying Checksum [2023-03-17T22:20:53.235Z] 765212b225bb: Download complete [2023-03-17T22:20:53.504Z] f23df028b6ca: Verifying Checksum [2023-03-17T22:20:53.504Z] f23df028b6ca: Download complete [2023-03-17T22:20:53.504Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T22:20:53.504Z] d65c8cfc05b1: Download complete [2023-03-17T22:20:53.504Z] 699f458cf7ca: Verifying Checksum [2023-03-17T22:20:53.504Z] 699f458cf7ca: Download complete [2023-03-17T22:20:54.099Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T22:20:54.099Z] 8998bd30e6a1: Download complete [2023-03-17T22:20:56.708Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T22:20:56.708Z] 2437ff75d9bd: Download complete [2023-03-17T22:20:59.407Z] 8998bd30e6a1: Pull complete [2023-03-17T22:20:59.694Z] 04944245beec: Pull complete [2023-03-17T22:21:01.141Z] 699f458cf7ca: Pull complete [2023-03-17T22:21:01.422Z] 765212b225bb: Pull complete [2023-03-17T22:21:02.406Z] f23df028b6ca: Pull complete [2023-03-17T22:21:02.676Z] d65c8cfc05b1: Pull complete [2023-03-17T22:21:17.710Z] 2437ff75d9bd: Pull complete [2023-03-17T22:21:17.710Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T22:21:17.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:21:17.710Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:21:17.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-4441 does not seem to be running inside a container [2023-03-17T22:21:18.033Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T22:21:21.115Z] $ docker top 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:21.950Z] ---> job-cost.sh [2023-03-17T22:21:21.950Z] lf-activate-venv: SKIPPING [2023-03-17T22:21:21.950Z] INFO: No Stack... [2023-03-17T22:21:22.533Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T22:21:23.118Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:21:23.756Z] + cut -d, -f6 [2023-03-17T22:21:23.756Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2023-03-17T22:21:23.824Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [2023-03-17T22:21:23.830Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] did not exist. Created. [2023-03-17T22:21:23.831Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:21:24.489Z] /w/workspace/device-onvif-camera/2@tmp/durable-f06fbef2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T22:21:25.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T22:21:25.174Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T22:21:25.665Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:21:25.673Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-273-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:21:25.704Z] $ docker stop --time=1 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b [2023-03-17T22:21:27.239Z] $ docker rm -f --volumes 98af2fad59d21153131e93f860314af1b1a77c9dcf75d23ea754f5431249cf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:21:27.511Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-17T22:21:28.169Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-273/archives ] [2023-03-17T22:21:28.169Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives [2023-03-17T22:21:28.169Z] total 16 [2023-03-17T22:21:28.169Z] drwxr-xr-x 3 root root 4096 Mar 17 22:13 . [2023-03-17T22:21:28.169Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:13 .. [2023-03-17T22:21:28.169Z] drwxr-xr-x 2 root root 4096 Mar 17 22:13 cost [2023-03-17T22:21:28.169Z] -rw-r--r-- 1 root root 91 Mar 17 22:13 cost.csv [2023-03-17T22:21:28.169Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-273/archives [2023-03-17T22:21:28.169Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-273/archives [2023-03-17T22:21:28.169Z] total 16 [2023-03-17T22:21:28.169Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:13 . [2023-03-17T22:21:28.169Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:13 .. [2023-03-17T22:21:28.169Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 22:13 cost [2023-03-17T22:21:28.169Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:28.457Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:29.312Z] ---> package-listing.sh [2023-03-17T22:21:29.312Z] ++ facter osfamily [2023-03-17T22:21:29.312Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T22:21:29.571Z] + OS_FAMILY=debian [2023-03-17T22:21:29.571Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-273 [2023-03-17T22:21:29.571Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T22:21:29.571Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T22:21:29.571Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T22:21:29.571Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T22:21:29.571Z] + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' [2023-03-17T22:21:29.571Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T22:21:29.571Z] + case "${OS_FAMILY}" in [2023-03-17T22:21:29.571Z] + dpkg -l [2023-03-17T22:21:29.571Z] + grep '^ii' [2023-03-17T22:21:29.571Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T22:21:29.571Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T22:21:29.571Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T22:21:29.572Z] + '[' /w/workspace/undry_device-onvif-camera_PR-273 ']' [2023-03-17T22:21:29.572Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-273/archives/ [2023-03-17T22:21:29.572Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-273/archives/ [Pipeline] echo [2023-03-17T22:21:29.582Z] 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T22:21:29.859Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:21:30.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:21:30.414Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:21:30.482Z] prd-ubuntu20.04-docker-8c-8g-4436 does not seem to be running inside a container [2023-03-17T22:21:30.520Z] $ 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-273/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-273 -v /w/workspace/undry_device-onvif-camera_PR-273:/w/workspace/undry_device-onvif-camera_PR-273:rw,z -v /w/workspace/undry_device-onvif-camera_PR-273@tmp:/w/workspace/undry_device-onvif-camera_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T22:21:30.749Z] $ docker top 1e0539fe6e78bd3ec100d07788e648f02def8d1e6144c25bae61cdb5fc20048a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:21:31.085Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T22:21:31.371Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T22:21:31.658Z] + ls /var/log/sa-host [2023-03-17T22:21:31.658Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:21:31.725Z] provisioning config files... [2023-03-17T22:21:31.733Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-273@tmp/config4784392476196696344tmp [Pipeline] { [Pipeline] echo [2023-03-17T22:21:31.750Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:32.030Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T22:21:32.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:32.358Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T22:21:32.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:32.652Z] ---> sudo-logs.sh [2023-03-17T22:21:32.652Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T22:21:32.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:32.967Z] ---> job-cost.sh [2023-03-17T22:21:32.967Z] lf-activate-venv: SKIPPING [2023-03-17T22:21:32.967Z] DEBUG: total: 0.2199999988079071 [2023-03-17T22:21:32.967Z] INFO: Retrieving Stack Cost... [2023-03-17T22:21:33.226Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:21:33.792Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T22:21:33.802Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:21:34.081Z] ---> logs-deploy.sh [2023-03-17T22:21:34.081Z] lf-activate-venv: SKIPPING [2023-03-17T22:21:34.081Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-273/2 [2023-03-17T22:21:34.081Z] INFO: archiving workspace using pattern(s): [2023-03-17T22:21:35.016Z] Archives upload complete. [2023-03-17T22:21:35.016Z] INFO: archiving logs to Nexus