Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than 7d17f0b4f07913a6713cd22845b624b7c41c0b60 Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b 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-ssh7729681938768026409.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-ssh4464680621178147899.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-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18302773697862201697.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-ssh7971161749229486194.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11547927392954458287.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5248 in /w/workspace/undry_device-onvif-camera_PR-281 [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-281 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 7d17f0b4f07913a6713cd22845b624b7c41c0b60 Merge succeeded, producing 7be26329dd991cb1dfcde37f32a1d05510de5605 Checking out Revision 7be26329dd991cb1dfcde37f32a1d05510de5605 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 7d17f0b4f07913a6713cd22845b624b7c41c0b60 # 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 e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7be26329dd991cb1dfcde37f32a1d05510de5605 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T17:45:33.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T17:45:34.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T17:45:34.054Z] ========================================================= [2023-03-22T17:45:34.054Z] EdgeX Global Pipelines Version Info [2023-03-22T17:45:34.054Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:45:34.759Z] ------------------- [2023-03-22T17:45:34.759Z] stable info: [2023-03-22T17:45:34.759Z] ------------------- [2023-03-22T17:45:34.759Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T17:45:34.759Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T17:45:34.759Z] Message: update stable to v1.0.245 > git rev-list --no-walk 730a48994eabd4b2d93cb4aa5ef259aaf93a3699 # timeout=10 [2023-03-22T17:45:35.330Z] ------------------- [2023-03-22T17:45:35.330Z] experimental info: [2023-03-22T17:45:35.330Z] ------------------- [2023-03-22T17:45:35.330Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T17:45:35.330Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T17:45:35.330Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T17:45:35.499Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-22T17:45:35.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-22T17:45:35.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T17:45:35.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T17:45:35.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T17:45:35.554Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T17:45:35.567Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T17:45:35.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T17:45:35.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T17:45:35.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T17:45:35.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T17:45:35.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-22T17:45:35.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T17:45:35.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T17:45:35.662Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:45:35.674Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T17:45:35.685Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:45:35.696Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T17:45:35.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T17:45:35.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T17:45:35.743Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T17:45:35.754Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-22T17:45:35.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T17:45:35.779Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T17:45:35.790Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T17:45:35.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T17:45:35.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T17:45:35.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2023-03-22T17:45:35.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2023-03-22T17:45:35.848Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2023-03-22T17:45:35.979Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7be26329dd991cb1dfcde37f32a1d05510de5605 [Pipeline] echo [2023-03-22T17:45:35.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7be2632 [Pipeline] echo [2023-03-22T17:45:36.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:45:36.038Z] provisioning config files... [2023-03-22T17:45:36.053Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config12285444991906126509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:45:36.354Z] ---> docker-login.sh [2023-03-22T17:45:36.354Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:45:36.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:36.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:36.617Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:36.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:36.617Z] [2023-03-22T17:45:36.617Z] Login Succeeded [2023-03-22T17:45:36.618Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:45:36.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:36.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:36.618Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:36.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:36.618Z] [2023-03-22T17:45:36.618Z] Login Succeeded [2023-03-22T17:45:36.618Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:45:36.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:36.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:36.883Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:36.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:36.883Z] [2023-03-22T17:45:36.883Z] Login Succeeded [2023-03-22T17:45:36.883Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:45:36.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:36.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:36.883Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:36.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:36.883Z] [2023-03-22T17:45:36.883Z] Login Succeeded [2023-03-22T17:45:36.883Z] docker.io [2023-03-22T17:45:36.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:37.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:37.143Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:37.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:37.143Z] [2023-03-22T17:45:37.143Z] Login Succeeded [2023-03-22T17:45:37.143Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:45:37.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T17:45:37.528Z] + git rev-list -1 --merges 7be26329dd991cb1dfcde37f32a1d05510de5605~1..7be26329dd991cb1dfcde37f32a1d05510de5605 [Pipeline] echo [2023-03-22T17:45:37.573Z] -----------> git rev-list -1 --merges 7be26329dd991cb1dfcde37f32a1d05510de5605~1..7be26329dd991cb1dfcde37f32a1d05510de5605 7be26329dd991cb1dfcde37f32a1d05510de5605 [2023-03-22T17:45:37.573Z] 7be26329dd991cb1dfcde37f32a1d05510de5605 [false] [Pipeline] sh [2023-03-22T17:45:37.860Z] + git log --format=format:%s -1 7be26329dd991cb1dfcde37f32a1d05510de5605 [Pipeline] echo [2023-03-22T17:45:37.874Z] ========================================================= [2023-03-22T17:45:37.874Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T17:45:37.874Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:45:38.208Z] + git log --format=format:%s -1 7be26329dd991cb1dfcde37f32a1d05510de5605 [Pipeline] echo [2023-03-22T17:45:38.219Z] [semverPrep] GIT_COMMIT: 7be26329dd991cb1dfcde37f32a1d05510de5605, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo [2023-03-22T17:45:38.232Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T17:45:38.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T17:45:38.589Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T17:45:38.589Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T17:45:38.589Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T17:45:38.589Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T17:45:38.589Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T17:45:38.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:45:38.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:45:38.992Z] [2023-03-22T17:45:38.992Z] 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-22T17:45:39.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:45:39.300Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T17:45:39.300Z] b85a868b505f: Pulling fs layer [2023-03-22T17:45:39.300Z] e2be974225ed: Pulling fs layer [2023-03-22T17:45:39.300Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T17:45:39.300Z] 988bab9f4d93: Pulling fs layer [2023-03-22T17:45:39.300Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T17:45:39.300Z] eaf3925da568: Pulling fs layer [2023-03-22T17:45:39.300Z] bab4dde63d76: Pulling fs layer [2023-03-22T17:45:39.300Z] bde34c3a00c8: Pulling fs layer [2023-03-22T17:45:39.300Z] b352a97aabf1: Pulling fs layer [2023-03-22T17:45:39.300Z] 4872d77fe225: Pulling fs layer [2023-03-22T17:45:39.300Z] 5851b861e8e6: Pulling fs layer [2023-03-22T17:45:39.300Z] bde34c3a00c8: Waiting [2023-03-22T17:45:39.300Z] b352a97aabf1: Waiting [2023-03-22T17:45:39.300Z] bab4dde63d76: Waiting [2023-03-22T17:45:39.300Z] 4872d77fe225: Waiting [2023-03-22T17:45:39.300Z] 5851b861e8e6: Waiting [2023-03-22T17:45:39.300Z] eaf3925da568: Waiting [2023-03-22T17:45:39.300Z] 988bab9f4d93: Waiting [2023-03-22T17:45:39.300Z] e2be974225ed: Verifying Checksum [2023-03-22T17:45:39.300Z] e2be974225ed: Download complete [2023-03-22T17:45:39.300Z] 988bab9f4d93: Verifying Checksum [2023-03-22T17:45:39.300Z] 988bab9f4d93: Download complete [2023-03-22T17:45:39.561Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T17:45:39.561Z] 1469e6f7b9e6: Download complete [2023-03-22T17:45:39.561Z] eaf3925da568: Verifying Checksum [2023-03-22T17:45:39.561Z] eaf3925da568: Download complete [2023-03-22T17:45:39.561Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T17:45:39.561Z] 339a4e72a1f5: Download complete [2023-03-22T17:45:39.561Z] bde34c3a00c8: Verifying Checksum [2023-03-22T17:45:39.561Z] bde34c3a00c8: Download complete [2023-03-22T17:45:39.561Z] b352a97aabf1: Download complete [2023-03-22T17:45:39.561Z] b85a868b505f: Verifying Checksum [2023-03-22T17:45:39.561Z] b85a868b505f: Download complete [2023-03-22T17:45:39.561Z] 4872d77fe225: Verifying Checksum [2023-03-22T17:45:39.561Z] 4872d77fe225: Download complete [2023-03-22T17:45:39.561Z] 5851b861e8e6: Verifying Checksum [2023-03-22T17:45:39.561Z] 5851b861e8e6: Download complete [2023-03-22T17:45:40.129Z] bab4dde63d76: Verifying Checksum [2023-03-22T17:45:40.129Z] bab4dde63d76: Download complete [2023-03-22T17:45:40.697Z] b85a868b505f: Pull complete [2023-03-22T17:45:40.955Z] e2be974225ed: Pull complete [2023-03-22T17:45:41.524Z] 339a4e72a1f5: Pull complete [2023-03-22T17:45:41.524Z] 988bab9f4d93: Pull complete [2023-03-22T17:45:41.785Z] 1469e6f7b9e6: Pull complete [2023-03-22T17:45:41.785Z] eaf3925da568: Pull complete [2023-03-22T17:45:43.690Z] bab4dde63d76: Pull complete [2023-03-22T17:45:43.690Z] bde34c3a00c8: Pull complete [2023-03-22T17:45:43.690Z] b352a97aabf1: Pull complete [2023-03-22T17:45:43.690Z] 4872d77fe225: Pull complete [2023-03-22T17:45:43.690Z] 5851b861e8e6: Pull complete [2023-03-22T17:45:43.690Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T17:45:43.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T17:45:43.690Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:45:43.785Z] prd-ubuntu20.04-docker-8c-8g-5248 does not seem to be running inside a container [2023-03-22T17:45:43.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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-22T17:45:44.985Z] $ docker top def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 -eo pid,comm [2023-03-22T17:45:45.038Z] 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-22T17:45:45.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T17:45:45.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:45:45.081Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:45:45.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:45:45.189Z] $ docker exec def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 ssh-agent [2023-03-22T17:45:45.293Z] SSH_AUTH_SOCK=/tmp/ssh-6RlnxIm1TAN4/agent.31 [2023-03-22T17:45:45.293Z] SSH_AGENT_PID=37 [2023-03-22T17:45:45.300Z] Running ssh-add (command line suppressed) [2023-03-22T17:45:45.403Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_4779395772889430437.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_4779395772889430437.key) [2023-03-22T17:45:45.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:45:45.706Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T17:45:45.726Z] $ docker exec --env ******** --env ******** def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 ssh-agent -k [2023-03-22T17:45:45.834Z] unset SSH_AUTH_SOCK; [2023-03-22T17:45:45.835Z] unset SSH_AGENT_PID; [2023-03-22T17:45:45.835Z] echo Agent pid 37 killed; [2023-03-22T17:45:45.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T17:45:45.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T17:45:45.863Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T17:45:45.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T17:45:45.978Z] $ docker exec def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 ssh-agent [2023-03-22T17:45:46.080Z] SSH_AUTH_SOCK=/tmp/ssh-R9M8vaKouSZ0/agent.69 [2023-03-22T17:45:46.080Z] SSH_AGENT_PID=75 [2023-03-22T17:45:46.085Z] Running ssh-add (command line suppressed) [2023-03-22T17:45:46.184Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_17987456849046193043.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_17987456849046193043.key) [2023-03-22T17:45:46.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T17:45:46.480Z] + git semver init [2023-03-22T17:45:46.739Z] 2023-03-22 17:45:46,668 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T17:45:46.739Z] 2023-03-22 17:45:46,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver [2023-03-22T17:45:46.739Z] 2023-03-22 17:45:46,670 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver [2023-03-22T17:45:46.739Z] 2023-03-22 17:45:46,670 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,665 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,666 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,666 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,670 [execute] INFO git cat-file --batch-check [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:45:47.676Z] 2023-03-22 17:45:47,675 [execute] INFO git cat-file --batch [2023-03-22T17:45:47.677Z] 2023-03-22 17:45:47,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T17:45:47.936Z] 2023-03-22 17:45:47,680 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 [2023-03-22T17:45:47.936Z] 0.0.0 [Pipeline] } [2023-03-22T17:45:47.947Z] $ docker exec --env ******** --env ******** def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 ssh-agent -k [2023-03-22T17:45:48.049Z] unset SSH_AUTH_SOCK; [2023-03-22T17:45:48.050Z] unset SSH_AGENT_PID; [2023-03-22T17:45:48.050Z] echo Agent pid 75 killed; [2023-03-22T17:45:48.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T17:45:48.369Z] + git semver [Pipeline] } [2023-03-22T17:45:48.642Z] $ docker stop --time=1 def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 [2023-03-22T17:45:49.937Z] $ docker rm -f --volumes def705a848c0e695ecae6ac425f949c4fa8d82e7fbf2a2f797ec6f8569b56364 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:45:50.270Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T17:45:50.469Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T17:45:50.472Z] [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-22T17:45:50.616Z] provisioning config files... [2023-03-22T17:45:50.626Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config16781429244522538942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:45:50.920Z] ---> docker-login.sh [2023-03-22T17:45:50.920Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:45:50.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:50.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:50.920Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:50.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:50.920Z] [2023-03-22T17:45:50.920Z] Login Succeeded [2023-03-22T17:45:50.920Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:45:50.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:50.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:50.920Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:50.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:50.920Z] [2023-03-22T17:45:50.920Z] Login Succeeded [2023-03-22T17:45:50.920Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:45:51.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:51.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:51.181Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:51.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:51.181Z] [2023-03-22T17:45:51.181Z] Login Succeeded [2023-03-22T17:45:51.181Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:45:51.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:51.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:51.181Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:51.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:51.181Z] [2023-03-22T17:45:51.181Z] Login Succeeded [2023-03-22T17:45:51.181Z] docker.io [2023-03-22T17:45:51.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:45:51.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:45:51.441Z] Configure a credential helper to remove this warning. See [2023-03-22T17:45:51.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:45:51.441Z] [2023-03-22T17:45:51.441Z] Login Succeeded [2023-03-22T17:45:51.441Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:45:51.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:45:51.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:45:51.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:45:51.534Z] ========================================================= [2023-03-22T17:45:51.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T17:45:51.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:45:51.850Z] + 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-22T17:45:51.850Z] Sending build context to Docker daemon 27.15MB [2023-03-22T17:45:51.850Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:45:51.851Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T17:45:52.113Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T17:45:52.113Z] 63b65145d645: Pulling fs layer [2023-03-22T17:45:52.113Z] a2d21d5440eb: Pulling fs layer [2023-03-22T17:45:52.113Z] 935e6c44a52c: Pulling fs layer [2023-03-22T17:45:52.113Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T17:45:52.113Z] 30dea6a524f1: Pulling fs layer [2023-03-22T17:45:52.113Z] a2aff8979fd8: Pulling fs layer [2023-03-22T17:45:52.113Z] 6808be2612f2: Pulling fs layer [2023-03-22T17:45:52.113Z] f25807f1079a: Pulling fs layer [2023-03-22T17:45:52.113Z] 94cc34f8dd06: Waiting [2023-03-22T17:45:52.113Z] 30dea6a524f1: Waiting [2023-03-22T17:45:52.113Z] 6808be2612f2: Waiting [2023-03-22T17:45:52.113Z] f25807f1079a: Waiting [2023-03-22T17:45:52.113Z] a2d21d5440eb: Verifying Checksum [2023-03-22T17:45:52.113Z] a2d21d5440eb: Download complete [2023-03-22T17:45:52.113Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T17:45:52.113Z] 94cc34f8dd06: Download complete [2023-03-22T17:45:52.113Z] 30dea6a524f1: Verifying Checksum [2023-03-22T17:45:52.113Z] 30dea6a524f1: Download complete [2023-03-22T17:45:52.113Z] 63b65145d645: Download complete [2023-03-22T17:45:52.113Z] a2aff8979fd8: Verifying Checksum [2023-03-22T17:45:52.113Z] a2aff8979fd8: Download complete [2023-03-22T17:45:52.383Z] 63b65145d645: Pull complete [2023-03-22T17:45:52.383Z] a2d21d5440eb: Pull complete [2023-03-22T17:45:52.653Z] f25807f1079a: Verifying Checksum [2023-03-22T17:45:52.654Z] f25807f1079a: Download complete [2023-03-22T17:45:53.232Z] 6808be2612f2: Verifying Checksum [2023-03-22T17:45:53.232Z] 6808be2612f2: Download complete [2023-03-22T17:45:53.232Z] 935e6c44a52c: Verifying Checksum [2023-03-22T17:45:53.232Z] 935e6c44a52c: Download complete [2023-03-22T17:45:56.520Z] 935e6c44a52c: Pull complete [2023-03-22T17:45:56.520Z] 94cc34f8dd06: Pull complete [2023-03-22T17:45:56.520Z] 30dea6a524f1: Pull complete [2023-03-22T17:45:56.520Z] a2aff8979fd8: Pull complete [2023-03-22T17:45:58.421Z] 6808be2612f2: Pull complete [2023-03-22T17:45:59.359Z] f25807f1079a: Pull complete [2023-03-22T17:45:59.359Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T17:45:59.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T17:45:59.359Z] ---> 3b553350e43f [2023-03-22T17:45:59.359Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:46:00.738Z] ---> Running in f1f837d7626b [2023-03-22T17:46:00.738Z] Removing intermediate container f1f837d7626b [2023-03-22T17:46:00.738Z] ---> ad91f6d418f3 [2023-03-22T17:46:00.738Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:46:00.738Z] ---> Running in 22bb0e42190d [2023-03-22T17:46:00.738Z] Removing intermediate container 22bb0e42190d [2023-03-22T17:46:00.738Z] ---> 04be17801e75 [2023-03-22T17:46:00.738Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T17:46:00.738Z] ---> Running in bccac6605643 [2023-03-22T17:46:00.997Z] Removing intermediate container bccac6605643 [2023-03-22T17:46:00.997Z] ---> a30d4baaad0a [2023-03-22T17:46:00.997Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:46:00.997Z] ---> Running in 7b4e2b52e35d [2023-03-22T17:46:00.997Z] Removing intermediate container 7b4e2b52e35d [2023-03-22T17:46:00.997Z] ---> 1c95c4296038 [2023-03-22T17:46:00.997Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-22T17:46:00.997Z] ---> Running in 62f57c362c74 [2023-03-22T17:46:01.256Z] Removing intermediate container 62f57c362c74 [2023-03-22T17:46:01.256Z] ---> 03083c53163a [2023-03-22T17:46:01.256Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:46:01.256Z] ---> Running in 631c8567d194 [2023-03-22T17:46:01.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:46:01.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:46:01.774Z] OK: 265 MiB in 53 packages [2023-03-22T17:46:02.032Z] Removing intermediate container 631c8567d194 [2023-03-22T17:46:02.032Z] ---> fb57ece44981 [2023-03-22T17:46:02.032Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-22T17:46:02.032Z] ---> Running in 44df12633b6d [2023-03-22T17:46:02.292Z] Removing intermediate container 44df12633b6d [2023-03-22T17:46:02.292Z] ---> c9c193646b8c [2023-03-22T17:46:02.292Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-22T17:46:02.292Z] ---> 257cb16a327d [2023-03-22T17:46:02.292Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:46:02.292Z] ---> Running in 0771a7484121 [2023-03-22T17:46:05.574Z] Still waiting to schedule task [2023-03-22T17:46:05.574Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T17:46:34.369Z] Removing intermediate container 0771a7484121 [2023-03-22T17:46:34.369Z] ---> 159778867057 [2023-03-22T17:46:34.369Z] Step 12/13 : COPY . . [2023-03-22T17:46:34.369Z] ---> a0460f434232 [2023-03-22T17:46:34.369Z] Step 13/13 : RUN ${MAKE} [2023-03-22T17:46:34.369Z] ---> Running in 9efe971b457f [2023-03-22T17:46:34.369Z] noop [2023-03-22T17:46:34.369Z] Removing intermediate container 9efe971b457f [2023-03-22T17:46:34.369Z] ---> 54158b0c56b2 [2023-03-22T17:46:34.369Z] Successfully built 54158b0c56b2 [2023-03-22T17:46:34.369Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:46:34.684Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:46:34.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:46:34.750Z] prd-ubuntu20.04-docker-8c-8g-5248 does not seem to be running inside a container [2023-03-22T17:46:34.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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-22T17:46:35.177Z] $ docker top a006cd09e0963b3f4684bd95f5d5ec0871922ac88055ce238233af97bfaeeb18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:46:35.525Z] + go version [2023-03-22T17:46:35.525Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T17:46:35.536Z] $ docker stop --time=1 a006cd09e0963b3f4684bd95f5d5ec0871922ac88055ce238233af97bfaeeb18 [2023-03-22T17:46:36.830Z] $ docker rm -f --volumes a006cd09e0963b3f4684bd95f5d5ec0871922ac88055ce238233af97bfaeeb18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:46:37.225Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T17:46:37.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:46:37.297Z] prd-ubuntu20.04-docker-8c-8g-5248 does not seem to be running inside a container [2023-03-22T17:46:37.323Z] $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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-22T17:46:37.662Z] $ docker top f3a81f18cfb291ea29f0b0571bbc0eda7c817b2beed504b9649ef784945c987c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:46:38.013Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:46:38.311Z] + make test [2023-03-22T17:46:38.311Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T17:46:43.583Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-22T17:46:53.540Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-22T17:46:53.540Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-22T17:46:55.440Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.7% of statements [2023-03-22T17:46:57.968Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.835s coverage: 86.5% of statements [2023-03-22T17:47:04.524Z] go vet ./... [2023-03-22T17:47:08.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T17:47:08.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T17:47:08.708Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T17:47:08.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T17:47:08.732Z] $ docker stop --time=1 f3a81f18cfb291ea29f0b0571bbc0eda7c817b2beed504b9649ef784945c987c [2023-03-22T17:47:10.597Z] $ docker rm -f --volumes f3a81f18cfb291ea29f0b0571bbc0eda7c817b2beed504b9649ef784945c987c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T17:47:11.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T17:47:11.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T17:47:11.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T17:47:11.853Z] + ls -al . [2023-03-22T17:47:11.853Z] total 236 [2023-03-22T17:47:11.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:46 . [2023-03-22T17:47:11.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:45 .. [2023-03-22T17:47:11.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:45 .git [2023-03-22T17:47:11.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:45 .github [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 17:45 .gitignore [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 17:45 .golangci.yml [2023-03-22T17:47:11.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:45 .semver [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 17:45 Attribution.txt [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 17:45 CHANGELOG.md [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 17:45 Dockerfile [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:45 GOVERNANCE.md [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 17:45 Jenkinsfile [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 17:45 LICENSE [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 17:45 Makefile [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 17:45 OWNERS.md [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 17:45 README.md [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 17:45 VERSION [2023-03-22T17:47:11.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:45 bin [2023-03-22T17:47:11.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:45 cmd [2023-03-22T17:47:11.853Z] -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 17:46 coverage.out [2023-03-22T17:47:11.853Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 17:45 doc [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 17:45 go.mod [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 17:45 go.sum [2023-03-22T17:47:11.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:45 internal [2023-03-22T17:47:11.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:45 snap [2023-03-22T17:47:11.853Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 17:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:47:12.160Z] + 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=7be26329dd991cb1dfcde37f32a1d05510de5605 --label arch=amd64 --label version=0.0.0 . [2023-03-22T17:47:12.160Z] Sending build context to Docker daemon 27.23MB [2023-03-22T17:47:12.160Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:47:12.160Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-22T17:47:12.160Z] ---> 54158b0c56b2 [2023-03-22T17:47:12.160Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:47:12.421Z] ---> Running in cd975c1da4e9 [2023-03-22T17:47:12.421Z] Removing intermediate container cd975c1da4e9 [2023-03-22T17:47:12.421Z] ---> 584c6debef91 [2023-03-22T17:47:12.421Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:47:12.421Z] ---> Running in 1f1adfd94bdb [2023-03-22T17:47:12.421Z] Removing intermediate container 1f1adfd94bdb [2023-03-22T17:47:12.421Z] ---> 3fcbae86bd44 [2023-03-22T17:47:12.421Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T17:47:12.680Z] ---> Running in a64c3321eaf5 [2023-03-22T17:47:12.680Z] Removing intermediate container a64c3321eaf5 [2023-03-22T17:47:12.680Z] ---> 9ddce100a081 [2023-03-22T17:47:12.680Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:47:12.680Z] ---> Running in 9a654c6e6245 [2023-03-22T17:47:12.680Z] Removing intermediate container 9a654c6e6245 [2023-03-22T17:47:12.680Z] ---> 934464a21555 [2023-03-22T17:47:12.680Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-22T17:47:12.680Z] ---> Running in 1ece3c0948cf [2023-03-22T17:47:12.939Z] Removing intermediate container 1ece3c0948cf [2023-03-22T17:47:12.939Z] ---> 56262aecfed7 [2023-03-22T17:47:12.939Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:47:12.939Z] ---> Running in ce691a2b7161 [2023-03-22T17:47:13.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:47:13.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:47:13.455Z] OK: 265 MiB in 53 packages [2023-03-22T17:47:13.713Z] Removing intermediate container ce691a2b7161 [2023-03-22T17:47:13.713Z] ---> 36d418bf0bf6 [2023-03-22T17:47:13.713Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-22T17:47:13.972Z] ---> Running in 6cb8d42e32ad [2023-03-22T17:47:13.972Z] Removing intermediate container 6cb8d42e32ad [2023-03-22T17:47:13.972Z] ---> 747216d55cd6 [2023-03-22T17:47:13.972Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-22T17:47:14.231Z] ---> f1c7a891af4c [2023-03-22T17:47:14.231Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:47:14.231Z] ---> Running in 02419d8b2dd7 [2023-03-22T17:47:15.166Z] Removing intermediate container 02419d8b2dd7 [2023-03-22T17:47:15.166Z] ---> 0afabc09c557 [2023-03-22T17:47:15.166Z] Step 12/26 : COPY . . [2023-03-22T17:47:15.736Z] ---> 6dd46397f283 [2023-03-22T17:47:15.736Z] Step 13/26 : RUN ${MAKE} [2023-03-22T17:47:15.736Z] ---> Running in 77c9d6906e2c [2023-03-22T17:47:15.995Z] 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-22T17:47:34.070Z] Removing intermediate container 77c9d6906e2c [2023-03-22T17:47:34.070Z] ---> ac184ff59e15 [2023-03-22T17:47:34.070Z] Step 14/26 : FROM alpine:3.17 [2023-03-22T17:47:34.070Z] 3.17: Pulling from library/alpine [2023-03-22T17:47:34.070Z] 63b65145d645: Already exists [2023-03-22T17:47:34.070Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T17:47:34.070Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T17:47:34.070Z] ---> b2aa39c304c2 [2023-03-22T17:47:34.070Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-22T17:47:34.070Z] ---> Running in 01e0b6f6331d [2023-03-22T17:47:34.070Z] Removing intermediate container 01e0b6f6331d [2023-03-22T17:47:34.070Z] ---> 5c430871e7c1 [2023-03-22T17:47:34.070Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-22T17:47:34.070Z] ---> Running in 3d56c0d3e31f [2023-03-22T17:47:34.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T17:47:34.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T17:47:34.070Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T17:47:34.070Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T17:47:34.070Z] OK: 7 MiB in 16 packages [2023-03-22T17:47:34.070Z] Removing intermediate container 3d56c0d3e31f [2023-03-22T17:47:34.070Z] ---> 6c83c2d5cd5f [2023-03-22T17:47:34.070Z] Step 17/26 : WORKDIR / [2023-03-22T17:47:34.327Z] ---> Running in 1ad13b169ca3 [2023-03-22T17:47:34.327Z] Removing intermediate container 1ad13b169ca3 [2023-03-22T17:47:34.327Z] ---> 3e97ffd35967 [2023-03-22T17:47:34.327Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-22T17:47:34.893Z] ---> e7ab0e1d70a2 [2023-03-22T17:47:34.893Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-22T17:47:34.893Z] ---> 609ebca94186 [2023-03-22T17:47:34.893Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-22T17:47:34.893Z] ---> 28edd88973f5 [2023-03-22T17:47:34.893Z] Step 21/26 : EXPOSE 59984 [2023-03-22T17:47:34.893Z] ---> Running in 4992129a8d4f [2023-03-22T17:47:35.152Z] Removing intermediate container 4992129a8d4f [2023-03-22T17:47:35.152Z] ---> d06645cb1432 [2023-03-22T17:47:35.152Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-22T17:47:35.152Z] ---> Running in c71936489f43 [2023-03-22T17:47:35.152Z] Removing intermediate container c71936489f43 [2023-03-22T17:47:35.152Z] ---> 800346c62180 [2023-03-22T17:47:35.152Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T17:47:35.152Z] ---> Running in 7b034953525f [2023-03-22T17:47:35.412Z] Removing intermediate container 7b034953525f [2023-03-22T17:47:35.412Z] ---> 846c19a4ad2a [2023-03-22T17:47:35.412Z] Step 24/26 : LABEL arch=amd64 [2023-03-22T17:47:35.412Z] ---> Running in 24f4c3d65320 [2023-03-22T17:47:35.412Z] Removing intermediate container 24f4c3d65320 [2023-03-22T17:47:35.412Z] ---> 7504efe7fc59 [2023-03-22T17:47:35.412Z] Step 25/26 : LABEL git_sha=7be26329dd991cb1dfcde37f32a1d05510de5605 [2023-03-22T17:47:35.412Z] ---> Running in f5e0e241c478 [2023-03-22T17:47:35.412Z] Removing intermediate container f5e0e241c478 [2023-03-22T17:47:35.412Z] ---> 0a73072f69b7 [2023-03-22T17:47:35.412Z] Step 26/26 : LABEL version=0.0.0 [2023-03-22T17:47:35.412Z] ---> Running in bb5c334f5d5c [2023-03-22T17:47:35.669Z] Removing intermediate container bb5c334f5d5c [2023-03-22T17:47:35.669Z] ---> bda8674ddecd [2023-03-22T17:47:35.669Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T17:47:35.669Z] Successfully built bda8674ddecd [2023-03-22T17:47:35.669Z] 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-22T17:47:36.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:47:36.098Z] [2023-03-22T17:47:36.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:47:36.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:47:36.397Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T17:47:36.397Z] 5eb5b503b376: Pulling fs layer [2023-03-22T17:47:36.397Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T17:47:36.397Z] ec43610c2a17: Pulling fs layer [2023-03-22T17:47:36.397Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T17:47:36.397Z] 33b1e0a273af: Pulling fs layer [2023-03-22T17:47:36.397Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T17:47:36.397Z] 2f39f015ded8: Pulling fs layer [2023-03-22T17:47:36.397Z] 3a2ae6a8a46f: Waiting [2023-03-22T17:47:36.397Z] 33b1e0a273af: Waiting [2023-03-22T17:47:36.397Z] 5d3b04190fa2: Waiting [2023-03-22T17:47:36.397Z] 2f39f015ded8: Waiting [2023-03-22T17:47:36.397Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T17:47:36.397Z] 5c69ac0246d0: Download complete [2023-03-22T17:47:36.397Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T17:47:36.397Z] 3a2ae6a8a46f: Download complete [2023-03-22T17:47:36.669Z] 33b1e0a273af: Verifying Checksum [2023-03-22T17:47:36.669Z] 33b1e0a273af: Download complete [2023-03-22T17:47:36.669Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T17:47:36.669Z] 5d3b04190fa2: Download complete [2023-03-22T17:47:36.934Z] ec43610c2a17: Verifying Checksum [2023-03-22T17:47:36.934Z] ec43610c2a17: Download complete [2023-03-22T17:47:36.934Z] 5eb5b503b376: Verifying Checksum [2023-03-22T17:47:36.934Z] 5eb5b503b376: Download complete [2023-03-22T17:47:37.500Z] 2f39f015ded8: Download complete [2023-03-22T17:47:38.064Z] 5eb5b503b376: Pull complete [2023-03-22T17:47:38.322Z] 5c69ac0246d0: Pull complete [2023-03-22T17:47:38.579Z] ec43610c2a17: Pull complete [2023-03-22T17:47:38.579Z] 3a2ae6a8a46f: Pull complete [2023-03-22T17:47:38.837Z] 33b1e0a273af: Pull complete [2023-03-22T17:47:38.837Z] 5d3b04190fa2: Pull complete [2023-03-22T17:47:43.016Z] 2f39f015ded8: Pull complete [2023-03-22T17:47:43.016Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T17:47:43.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:47:43.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:47:43.090Z] prd-ubuntu20.04-docker-8c-8g-5248 does not seem to be running inside a container [2023-03-22T17:47:43.116Z] $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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-22T17:47:44.433Z] $ docker top 542b7cdddf7b8c242b6ec5db3fdbe720a09ea428ed92ba55cdc9b38a801b7f57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:47:44.886Z] ---> job-cost.sh [2023-03-22T17:47:44.886Z] lf-activate-venv: SKIPPING [2023-03-22T17:47:44.886Z] INFO: No Stack... [2023-03-22T17:47:45.456Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:47:45.715Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:47:46.006Z] + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv [2023-03-22T17:47:46.006Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T17:47:46.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [2023-03-22T17:47:46.029Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] did not exist. Created. [2023-03-22T17:47:46.029Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:47:46.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T17:47:46.355Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:47:46.361Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:47:46.373Z] $ docker stop --time=1 542b7cdddf7b8c242b6ec5db3fdbe720a09ea428ed92ba55cdc9b38a801b7f57 [2023-03-22T17:47:47.537Z] $ docker rm -f --volumes 542b7cdddf7b8c242b6ec5db3fdbe720a09ea428ed92ba55cdc9b38a801b7f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T17:49:56.043Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5250 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws [2023-03-22T17:49:56.057Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2023-03-22T17:49:56.117Z] The recommended git tool is: git [2023-03-22T17:50:06.255Z] using credential edgex-jenkins-ssh [2023-03-22T17:50:06.284Z] Cloning the remote Git repository [2023-03-22T17:50:06.368Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T17:50:06.539Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2023-03-22T17:50:07.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T17:50:07.066Z] > git --version # timeout=10 [2023-03-22T17:50:07.108Z] > git --version # 'git version 2.25.1' [2023-03-22T17:50:07.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T17:50:07.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:50:09.712Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-22T17:50:09.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T17:50:12.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-22T17:50:12.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T17:50:12.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T17:50:12.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T17:50:13.486Z] Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 7d17f0b4f07913a6713cd22845b624b7c41c0b60 [2023-03-22T17:50:13.522Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T17:50:13.781Z] > git checkout -f 7d17f0b4f07913a6713cd22845b624b7c41c0b60 # timeout=10 [2023-03-22T17:50:14.236Z] > git remote # timeout=10 [2023-03-22T17:50:14.279Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T17:50:14.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T17:50:14.332Z] > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 [2023-03-22T17:50:15.038Z] Merge succeeded, producing 9039c2e1fafe1b1b7aedfc620503e24ba0bcbca0 [2023-03-22T17:50:15.038Z] Checking out Revision 9039c2e1fafe1b1b7aedfc620503e24ba0bcbca0 (PR-281) [2023-03-22T17:50:14.994Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T17:50:15.048Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T17:50:15.078Z] > git checkout -f 9039c2e1fafe1b1b7aedfc620503e24ba0bcbca0 # timeout=10 [2023-03-22T17:50:19.298Z] Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" [2023-03-22T17:50:19.385Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T17:50:20.515Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T17:50:20.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T17:50:20.515Z] Dload Upload Total Spent Left Speed [2023-03-22T17:50:20.516Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 155k 0 --:--:-- --:--:-- --:--:-- 157k [2023-03-22T17:50:19.351Z] > git rev-list --no-walk 730a48994eabd4b2d93cb4aa5ef259aaf93a3699 # timeout=10 [Pipeline] sh [2023-03-22T17:50:21.390Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T17:50:21.768Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T17:50:21.768Z] + sudo tee /etc/docker/daemon.new [2023-03-22T17:50:22.050Z] { [2023-03-22T17:50:22.050Z] "registry-mirrors": [ [2023-03-22T17:50:22.050Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T17:50:22.050Z] ], [2023-03-22T17:50:22.050Z] "bip": "10.250.0.254/24", [2023-03-22T17:50:22.050Z] "hosts": [ [2023-03-22T17:50:22.050Z] "tcp://0.0.0.0:5555", [2023-03-22T17:50:22.050Z] "unix:///var/run/docker.sock" [2023-03-22T17:50:22.050Z] ], [2023-03-22T17:50:22.050Z] "mtu": 1458, [2023-03-22T17:50:22.050Z] "selinux-enabled": true, [2023-03-22T17:50:22.050Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T17:50:22.050Z] } [Pipeline] sh [2023-03-22T17:50:22.429Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T17:50:22.799Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:50:41.210Z] provisioning config files... [2023-03-22T17:50:41.251Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config16210977899538163363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:50:41.654Z] ---> docker-login.sh [2023-03-22T17:50:41.654Z] nexus3.edgexfoundry.org:10001 [2023-03-22T17:50:42.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:50:42.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:50:42.557Z] Configure a credential helper to remove this warning. See [2023-03-22T17:50:42.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:50:42.557Z] [2023-03-22T17:50:42.557Z] Login Succeeded [2023-03-22T17:50:42.557Z] nexus3.edgexfoundry.org:10002 [2023-03-22T17:50:42.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:50:43.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:50:43.111Z] Configure a credential helper to remove this warning. See [2023-03-22T17:50:43.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:50:43.111Z] [2023-03-22T17:50:43.111Z] Login Succeeded [2023-03-22T17:50:43.111Z] nexus3.edgexfoundry.org:10003 [2023-03-22T17:50:43.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:50:43.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:50:43.389Z] Configure a credential helper to remove this warning. See [2023-03-22T17:50:43.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:50:43.389Z] [2023-03-22T17:50:43.389Z] Login Succeeded [2023-03-22T17:50:43.389Z] nexus3.edgexfoundry.org:10004 [2023-03-22T17:50:44.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:50:44.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:50:44.000Z] Configure a credential helper to remove this warning. See [2023-03-22T17:50:44.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:50:44.000Z] [2023-03-22T17:50:44.000Z] Login Succeeded [2023-03-22T17:50:44.000Z] docker.io [2023-03-22T17:50:44.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T17:50:44.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T17:50:44.551Z] Configure a credential helper to remove this warning. See [2023-03-22T17:50:44.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T17:50:44.551Z] [2023-03-22T17:50:44.551Z] Login Succeeded [2023-03-22T17:50:44.551Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T17:50:44.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T17:50:44.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:50:44.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T17:50:44.997Z] ========================================================= [2023-03-22T17:50:44.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T17:50:44.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:50:45.366Z] + 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-22T17:50:46.372Z] Sending build context to Docker daemon 19.85MB [2023-03-22T17:50:46.372Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T17:50:46.372Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T17:50:46.372Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T17:50:46.372Z] af6eaf76a39c: Pulling fs layer [2023-03-22T17:50:46.372Z] 55522c791124: Pulling fs layer [2023-03-22T17:50:46.372Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T17:50:46.372Z] 169dfbe0d373: Pulling fs layer [2023-03-22T17:50:46.372Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T17:50:46.372Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T17:50:46.372Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T17:50:46.372Z] 169dfbe0d373: Waiting [2023-03-22T17:50:46.372Z] 52ebb69f0ebf: Waiting [2023-03-22T17:50:46.372Z] e1ff8fa3b103: Waiting [2023-03-22T17:50:46.372Z] 5abe8eddf0d5: Waiting [2023-03-22T17:50:46.372Z] 55522c791124: Verifying Checksum [2023-03-22T17:50:46.372Z] 169dfbe0d373: Verifying Checksum [2023-03-22T17:50:46.650Z] 169dfbe0d373: Download complete [2023-03-22T17:50:46.650Z] e1ff8fa3b103: Download complete [2023-03-22T17:50:46.650Z] af6eaf76a39c: Verifying Checksum [2023-03-22T17:50:46.650Z] af6eaf76a39c: Download complete [2023-03-22T17:50:47.652Z] af6eaf76a39c: Pull complete [2023-03-22T17:50:47.937Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T17:50:47.937Z] 5abe8eddf0d5: Download complete [2023-03-22T17:50:48.542Z] 55522c791124: Pull complete [2023-03-22T17:50:49.552Z] ce5c4a1c91eb: Download complete [2023-03-22T17:50:49.552Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T17:50:49.552Z] 52ebb69f0ebf: Download complete [2023-03-22T17:51:01.961Z] ce5c4a1c91eb: Pull complete [2023-03-22T17:51:01.961Z] 169dfbe0d373: Pull complete [2023-03-22T17:51:01.961Z] e1ff8fa3b103: Pull complete [2023-03-22T17:51:08.687Z] 52ebb69f0ebf: Pull complete [2023-03-22T17:51:10.662Z] 5abe8eddf0d5: Pull complete [2023-03-22T17:51:10.662Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T17:51:10.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T17:51:10.662Z] ---> 6cb57ee374ae [2023-03-22T17:51:10.662Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T17:51:13.298Z] ---> Running in cc5b7c0ae46c [2023-03-22T17:51:13.298Z] Removing intermediate container cc5b7c0ae46c [2023-03-22T17:51:13.298Z] ---> d6b8697571c9 [2023-03-22T17:51:13.298Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T17:51:13.576Z] ---> Running in 3c6ac0906cc3 [2023-03-22T17:51:13.853Z] Removing intermediate container 3c6ac0906cc3 [2023-03-22T17:51:13.853Z] ---> 55c070c5a66c [2023-03-22T17:51:13.853Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T17:51:13.853Z] ---> Running in ff9cd6c2e7c7 [2023-03-22T17:51:14.451Z] Removing intermediate container ff9cd6c2e7c7 [2023-03-22T17:51:14.451Z] ---> 4ed13cba3bf2 [2023-03-22T17:51:14.451Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T17:51:14.452Z] ---> Running in 8a8fbb4a01ea [2023-03-22T17:51:14.726Z] Removing intermediate container 8a8fbb4a01ea [2023-03-22T17:51:14.726Z] ---> da1db4ac4b50 [2023-03-22T17:51:14.726Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-22T17:51:15.002Z] ---> Running in ffbfda43e140 [2023-03-22T17:51:15.275Z] Removing intermediate container ffbfda43e140 [2023-03-22T17:51:15.275Z] ---> 83c9cdea16e4 [2023-03-22T17:51:15.276Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T17:51:15.276Z] ---> Running in d7bf03f933df [2023-03-22T17:51:16.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T17:51:17.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T17:51:19.134Z] OK: 263 MiB in 53 packages [2023-03-22T17:51:20.576Z] Removing intermediate container d7bf03f933df [2023-03-22T17:51:20.576Z] ---> 1e5ae70a29a2 [2023-03-22T17:51:20.576Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-22T17:51:20.576Z] ---> Running in 79851e748b30 [2023-03-22T17:51:20.850Z] Removing intermediate container 79851e748b30 [2023-03-22T17:51:20.850Z] ---> d66b150ae2ab [2023-03-22T17:51:20.850Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-22T17:51:21.447Z] ---> 5de097201db2 [2023-03-22T17:51:21.447Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T17:51:21.447Z] ---> Running in 5375bc65b4e0 [2023-03-22T17:52:43.207Z] Removing intermediate container 5375bc65b4e0 [2023-03-22T17:52:43.207Z] ---> 9a0ba4744d5e [2023-03-22T17:52:43.207Z] Step 12/13 : COPY . . [2023-03-22T17:52:45.832Z] ---> d2ac895ea101 [2023-03-22T17:52:45.832Z] Step 13/13 : RUN ${MAKE} [2023-03-22T17:52:45.832Z] ---> Running in 75c7f9ad1752 [2023-03-22T17:52:46.809Z] noop [2023-03-22T17:52:47.403Z] Removing intermediate container 75c7f9ad1752 [2023-03-22T17:52:47.403Z] ---> 08c365d1466c [2023-03-22T17:52:47.673Z] Successfully built 08c365d1466c [2023-03-22T17:52:47.673Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:52:48.045Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:52:48.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:52:48.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-5250 does not seem to be running inside a container [2023-03-22T17:52:48.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T17:52:49.939Z] $ docker top 676233faa3427d8c62197f43ca5d0356840a924ff04d3a74641dd32dde604400 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:52:50.870Z] + go version [2023-03-22T17:52:50.870Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T17:52:50.899Z] $ docker stop --time=1 676233faa3427d8c62197f43ca5d0356840a924ff04d3a74641dd32dde604400 [2023-03-22T17:52:52.642Z] $ docker rm -f --volumes 676233faa3427d8c62197f43ca5d0356840a924ff04d3a74641dd32dde604400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:52:53.274Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T17:52:53.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:52:53.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-5250 does not seem to be running inside a container [2023-03-22T17:52:53.610Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T17:52:57.713Z] $ docker top 57a4a32b175b504baa0d491e5a6955aa473d48cd3944977de946ff33445d2f51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:52:58.626Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2023-03-22T17:52:59.305Z] + make test [2023-03-22T17:52:59.305Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T17:53:46.442Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-22T17:56:08.307Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-22T17:56:13.720Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-22T17:56:15.144Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.202s coverage: 31.7% of statements [2023-03-22T17:56:47.445Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-22T17:56:47.445Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.01s) [2023-03-22T17:56:47.445Z] util_test.go:180: [2023-03-22T17:56:47.445Z] Error Trace: /w/workspace/device-onvif-camera/5/internal/netscan/util_test.go:180 [2023-03-22T17:56:47.445Z] Error: Not equal: [2023-03-22T17:56:47.445Z] expected: 0xfffffe [2023-03-22T17:56:47.445Z] actual : 0xff51c3 [2023-03-22T17:56:47.445Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-22T17:56:47.445Z] util_test.go:183: [2023-03-22T17:56:47.445Z] Error Trace: /w/workspace/device-onvif-camera/5/internal/netscan/util_test.go:183 [2023-03-22T17:56:47.445Z] Error: Not equal: [2023-03-22T17:56:47.445Z] expected: "10.255.255.254" [2023-03-22T17:56:47.445Z] actual : "10.255.81.195" [2023-03-22T17:56:47.445Z] [2023-03-22T17:56:47.445Z] Diff: [2023-03-22T17:56:47.445Z] --- Expected [2023-03-22T17:56:47.445Z] +++ Actual [2023-03-22T17:56:47.445Z] @@ -1 +1 @@ [2023-03-22T17:56:47.445Z] -10.255.255.254 [2023-03-22T17:56:47.445Z] +10.255.81.195 [2023-03-22T17:56:47.445Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-22T17:56:47.445Z] FAIL [2023-03-22T17:56:47.445Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-22T17:56:47.445Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.236s [2023-03-22T17:56:47.445Z] FAIL [2023-03-22T17:56:47.445Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-22T17:56:47.472Z] $ docker stop --time=1 57a4a32b175b504baa0d491e5a6955aa473d48cd3944977de946ff33445d2f51 [2023-03-22T17:56:49.457Z] $ docker rm -f --volumes 57a4a32b175b504baa0d491e5a6955aa473d48cd3944977de946ff33445d2f51 [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-22T17:56:50.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:56:50.912Z] [2023-03-22T17:56:50.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:56:51.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:56:51.541Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T17:56:51.541Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T17:56:51.541Z] 04944245beec: Pulling fs layer [2023-03-22T17:56:51.541Z] 699f458cf7ca: Pulling fs layer [2023-03-22T17:56:51.541Z] 765212b225bb: Pulling fs layer [2023-03-22T17:56:51.541Z] f23df028b6ca: Pulling fs layer [2023-03-22T17:56:51.541Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T17:56:51.541Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T17:56:51.541Z] f23df028b6ca: Waiting [2023-03-22T17:56:51.541Z] d65c8cfc05b1: Waiting [2023-03-22T17:56:51.541Z] 2437ff75d9bd: Waiting [2023-03-22T17:56:51.541Z] 765212b225bb: Waiting [2023-03-22T17:56:51.541Z] 04944245beec: Verifying Checksum [2023-03-22T17:56:51.541Z] 04944245beec: Download complete [2023-03-22T17:56:51.541Z] 765212b225bb: Verifying Checksum [2023-03-22T17:56:51.541Z] 765212b225bb: Download complete [2023-03-22T17:56:51.541Z] f23df028b6ca: Verifying Checksum [2023-03-22T17:56:51.541Z] f23df028b6ca: Download complete [2023-03-22T17:56:51.813Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T17:56:51.813Z] d65c8cfc05b1: Download complete [2023-03-22T17:56:51.813Z] 699f458cf7ca: Verifying Checksum [2023-03-22T17:56:51.813Z] 699f458cf7ca: Download complete [2023-03-22T17:56:52.088Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T17:56:52.088Z] 8998bd30e6a1: Download complete [2023-03-22T17:56:54.701Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T17:56:56.657Z] 8998bd30e6a1: Pull complete [2023-03-22T17:56:57.246Z] 04944245beec: Pull complete [2023-03-22T17:56:58.669Z] 699f458cf7ca: Pull complete [2023-03-22T17:56:58.669Z] 765212b225bb: Pull complete [2023-03-22T17:56:59.641Z] f23df028b6ca: Pull complete [2023-03-22T17:56:59.915Z] d65c8cfc05b1: Pull complete [2023-03-22T17:57:14.982Z] 2437ff75d9bd: Pull complete [2023-03-22T17:57:14.982Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T17:57:14.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T17:57:14.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:57:15.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-5250 does not seem to be running inside a container [2023-03-22T17:57:15.341Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T17:57:18.465Z] $ docker top 95a9c69f944182314b5aba1693a1369f3370bc75f8fbd6e409558129cde91304 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:19.369Z] ---> job-cost.sh [2023-03-22T17:57:19.369Z] lf-activate-venv: SKIPPING [2023-03-22T17:57:19.369Z] INFO: No Stack... [2023-03-22T17:57:19.960Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T17:57:20.937Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T17:57:21.612Z] + + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2023-03-22T17:57:21.612Z] cut -d, -f6 [Pipeline] lock [2023-03-22T17:57:21.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [2023-03-22T17:57:21.713Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] did not exist. Created. [2023-03-22T17:57:21.713Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T17:57:22.413Z] /w/workspace/device-onvif-camera/5@tmp/durable-e6c8b2e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T17:57:23.110Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T17:57:23.132Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T17:57:23.824Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T17:57:23.833Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T17:57:23.858Z] $ docker stop --time=1 95a9c69f944182314b5aba1693a1369f3370bc75f8fbd6e409558129cde91304 [2023-03-22T17:57:25.488Z] $ docker rm -f --volumes 95a9c69f944182314b5aba1693a1369f3370bc75f8fbd6e409558129cde91304 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T17:57:25.783Z] 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-22T17:57:26.500Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] [2023-03-22T17:57:26.500Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T17:57:26.500Z] total 16 [2023-03-22T17:57:26.500Z] drwxr-xr-x 3 root root 4096 Mar 22 17:47 . [2023-03-22T17:57:26.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:47 .. [2023-03-22T17:57:26.500Z] drwxr-xr-x 2 root root 4096 Mar 22 17:47 cost [2023-03-22T17:57:26.500Z] -rw-r--r-- 1 root root 91 Mar 22 17:47 cost.csv [2023-03-22T17:57:26.500Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T17:57:26.500Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T17:57:26.500Z] total 16 [2023-03-22T17:57:26.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:47 . [2023-03-22T17:57:26.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:47 .. [2023-03-22T17:57:26.500Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 17:47 cost [2023-03-22T17:57:26.500Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 22 17:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:26.791Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:27.651Z] ---> package-listing.sh [2023-03-22T17:57:27.651Z] ++ facter osfamily [2023-03-22T17:57:27.651Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T17:57:27.910Z] + OS_FAMILY=debian [2023-03-22T17:57:27.910Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-281 [2023-03-22T17:57:27.910Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T17:57:27.910Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T17:57:27.910Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T17:57:27.910Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T17:57:27.910Z] + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' [2023-03-22T17:57:27.910Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T17:57:27.910Z] + case "${OS_FAMILY}" in [2023-03-22T17:57:27.910Z] + dpkg -l [2023-03-22T17:57:27.910Z] + grep '^ii' [2023-03-22T17:57:27.910Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T17:57:27.910Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T17:57:27.910Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T17:57:27.910Z] + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' [2023-03-22T17:57:27.910Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ [2023-03-22T17:57:27.910Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo [2023-03-22T17:57:27.921Z] 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T17:57:28.199Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T17:57:28.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T17:57:28.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T17:57:28.836Z] prd-ubuntu20.04-docker-8c-8g-5248 does not seem to be running inside a container [2023-03-22T17:57:28.868Z] $ 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-281/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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@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-22T17:57:29.101Z] $ docker top c03720e9f54122b07fa55a5c4a2be2dfe82d30a4a26ee8c6aee6475e6d5ad5dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T17:57:29.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T17:57:29.731Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T17:57:30.020Z] + ls /var/log/sa-host [2023-03-22T17:57:30.020Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T17:57:30.168Z] provisioning config files... [2023-03-22T17:57:30.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config5911097498198450284tmp [Pipeline] { [Pipeline] echo [2023-03-22T17:57:30.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:30.478Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T17:57:30.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:30.829Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T17:57:30.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:31.124Z] ---> sudo-logs.sh [2023-03-22T17:57:31.124Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T17:57:31.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:31.428Z] ---> job-cost.sh [2023-03-22T17:57:31.428Z] lf-activate-venv: SKIPPING [2023-03-22T17:57:31.428Z] DEBUG: total: 0.2199999988079071 [2023-03-22T17:57:31.428Z] INFO: Retrieving Stack Cost... [2023-03-22T17:57:31.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T17:57:32.252Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T17:57:32.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T17:57:32.546Z] ---> logs-deploy.sh [2023-03-22T17:57:32.547Z] lf-activate-venv: SKIPPING [2023-03-22T17:57:32.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/5 [2023-03-22T17:57:32.547Z] INFO: archiving workspace using pattern(s): [2023-03-22T17:57:33.483Z] Archives upload complete. [2023-03-22T17:57:33.483Z] INFO: archiving logs to Nexus