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 05c851161300a38c95846c5528dad20742973dec 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-ssh5585897567478916498.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-ssh7147765896748322145.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-ssh10565426241433777019.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-ssh7668438416148000934.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-ssh7401900602808990881.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5278’ Running on prd-ubuntu20.04-docker-8c-8g-5280 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 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 05c851161300a38c95846c5528dad20742973dec Merge succeeded, producing 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 Checking out Revision 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 (PR-281) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 05c851161300a38c95846c5528dad20742973dec # 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 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 # 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-22T20:47:18.047Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T20:47:18.097Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T20:47:18.111Z] ========================================================= [2023-03-22T20:47:18.111Z] EdgeX Global Pipelines Version Info [2023-03-22T20:47:18.111Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 66864d28fca1ab84d07011c328eeca2611b1502e # timeout=10 [2023-03-22T20:47:18.824Z] ------------------- [2023-03-22T20:47:18.824Z] stable info: [2023-03-22T20:47:18.824Z] ------------------- [2023-03-22T20:47:18.824Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T20:47:18.824Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T20:47:18.824Z] Message: update stable to v1.0.245 [2023-03-22T20:47:19.393Z] ------------------- [2023-03-22T20:47:19.393Z] experimental info: [2023-03-22T20:47:19.393Z] ------------------- [2023-03-22T20:47:19.393Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T20:47:19.394Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T20:47:19.394Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T20:47:19.562Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-22T20:47:19.576Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-22T20:47:19.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T20:47:19.604Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T20:47:19.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T20:47:19.631Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T20:47:19.643Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T20:47:19.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-22T20:47:19.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T20:47:19.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T20:47:19.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T20:47:19.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-22T20:47:19.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T20:47:19.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T20:47:19.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T20:47:19.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T20:47:19.774Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T20:47:19.785Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T20:47:19.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T20:47:19.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T20:47:19.820Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T20:47:19.831Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-22T20:47:19.843Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T20:47:19.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T20:47:19.865Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T20:47:19.876Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T20:47:19.889Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T20:47:19.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2023-03-22T20:47:19.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2023-03-22T20:47:19.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2023-03-22T20:47:19.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo [2023-03-22T20:47:19.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f3e708 [Pipeline] echo [2023-03-22T20:47:19.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T20:47:20.007Z] provisioning config files... [2023-03-22T20:47:20.021Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config15762654056515845414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:47:20.322Z] ---> docker-login.sh [2023-03-22T20:47:20.322Z] nexus3.edgexfoundry.org:10001 [2023-03-22T20:47:20.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:20.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:20.583Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:20.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:20.583Z] [2023-03-22T20:47:20.583Z] Login Succeeded [2023-03-22T20:47:20.583Z] nexus3.edgexfoundry.org:10002 [2023-03-22T20:47:20.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:20.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:20.583Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:20.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:20.583Z] [2023-03-22T20:47:20.583Z] Login Succeeded [2023-03-22T20:47:20.583Z] nexus3.edgexfoundry.org:10003 [2023-03-22T20:47:20.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:20.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:20.842Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:20.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:20.842Z] [2023-03-22T20:47:20.842Z] Login Succeeded [2023-03-22T20:47:20.842Z] nexus3.edgexfoundry.org:10004 [2023-03-22T20:47:20.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:20.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:20.842Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:20.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:20.842Z] [2023-03-22T20:47:20.842Z] Login Succeeded [2023-03-22T20:47:20.842Z] docker.io [2023-03-22T20:47:21.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:21.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:21.103Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:21.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:21.103Z] [2023-03-22T20:47:21.103Z] Login Succeeded [2023-03-22T20:47:21.103Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T20:47:21.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T20:47:21.481Z] + git rev-list -1 --merges 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5~1..2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo [2023-03-22T20:47:21.521Z] -----------> git rev-list -1 --merges 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5~1..2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [2023-03-22T20:47:21.521Z] 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [false] [Pipeline] sh [2023-03-22T20:47:21.804Z] + git log --format=format:%s -1 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo [2023-03-22T20:47:21.817Z] ========================================================= [2023-03-22T20:47:21.817Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T20:47:21.817Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T20:47:22.132Z] + git log --format=format:%s -1 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [Pipeline] echo [2023-03-22T20:47:22.140Z] [semverPrep] GIT_COMMIT: 2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo [2023-03-22T20:47:22.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T20:47:22.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T20:47:22.480Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T20:47:22.480Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T20:47:22.480Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T20:47:22.480Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T20:47:22.481Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T20:47:22.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:47:22.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T20:47:22.827Z] [2023-03-22T20:47:22.827Z] 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-22T20:47:23.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T20:47:23.127Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T20:47:23.127Z] b85a868b505f: Pulling fs layer [2023-03-22T20:47:23.127Z] e2be974225ed: Pulling fs layer [2023-03-22T20:47:23.127Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T20:47:23.127Z] 988bab9f4d93: Pulling fs layer [2023-03-22T20:47:23.127Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T20:47:23.127Z] eaf3925da568: Pulling fs layer [2023-03-22T20:47:23.127Z] bab4dde63d76: Pulling fs layer [2023-03-22T20:47:23.127Z] bde34c3a00c8: Pulling fs layer [2023-03-22T20:47:23.127Z] b352a97aabf1: Pulling fs layer [2023-03-22T20:47:23.127Z] 4872d77fe225: Pulling fs layer [2023-03-22T20:47:23.127Z] 5851b861e8e6: Pulling fs layer [2023-03-22T20:47:23.127Z] eaf3925da568: Waiting [2023-03-22T20:47:23.127Z] bab4dde63d76: Waiting [2023-03-22T20:47:23.127Z] bde34c3a00c8: Waiting [2023-03-22T20:47:23.127Z] b352a97aabf1: Waiting [2023-03-22T20:47:23.127Z] 4872d77fe225: Waiting [2023-03-22T20:47:23.127Z] 5851b861e8e6: Waiting [2023-03-22T20:47:23.127Z] 988bab9f4d93: Waiting [2023-03-22T20:47:23.127Z] 1469e6f7b9e6: Waiting [2023-03-22T20:47:23.127Z] e2be974225ed: Verifying Checksum [2023-03-22T20:47:23.127Z] e2be974225ed: Download complete [2023-03-22T20:47:23.127Z] 988bab9f4d93: Download complete [2023-03-22T20:47:23.389Z] 1469e6f7b9e6: Download complete [2023-03-22T20:47:23.389Z] eaf3925da568: Verifying Checksum [2023-03-22T20:47:23.389Z] eaf3925da568: Download complete [2023-03-22T20:47:23.389Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T20:47:23.389Z] 339a4e72a1f5: Download complete [2023-03-22T20:47:23.389Z] bde34c3a00c8: Verifying Checksum [2023-03-22T20:47:23.389Z] bde34c3a00c8: Download complete [2023-03-22T20:47:23.389Z] b352a97aabf1: Verifying Checksum [2023-03-22T20:47:23.389Z] b352a97aabf1: Download complete [2023-03-22T20:47:23.389Z] 4872d77fe225: Verifying Checksum [2023-03-22T20:47:23.389Z] 4872d77fe225: Download complete [2023-03-22T20:47:23.389Z] 5851b861e8e6: Download complete [2023-03-22T20:47:23.389Z] b85a868b505f: Verifying Checksum [2023-03-22T20:47:23.389Z] b85a868b505f: Download complete [2023-03-22T20:47:23.955Z] bab4dde63d76: Verifying Checksum [2023-03-22T20:47:23.955Z] bab4dde63d76: Download complete [2023-03-22T20:47:24.888Z] b85a868b505f: Pull complete [2023-03-22T20:47:24.888Z] e2be974225ed: Pull complete [2023-03-22T20:47:25.457Z] 339a4e72a1f5: Pull complete [2023-03-22T20:47:25.457Z] 988bab9f4d93: Pull complete [2023-03-22T20:47:25.717Z] 1469e6f7b9e6: Pull complete [2023-03-22T20:47:25.717Z] eaf3925da568: Pull complete [2023-03-22T20:47:27.624Z] bab4dde63d76: Pull complete [2023-03-22T20:47:27.624Z] bde34c3a00c8: Pull complete [2023-03-22T20:47:27.884Z] b352a97aabf1: Pull complete [2023-03-22T20:47:27.884Z] 4872d77fe225: Pull complete [2023-03-22T20:47:27.884Z] 5851b861e8e6: Pull complete [2023-03-22T20:47:27.884Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T20:47:27.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T20:47:27.884Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:47:28.238Z] prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container [2023-03-22T20:47:28.273Z] $ 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-22T20:47:29.711Z] $ docker top 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb -eo pid,comm [2023-03-22T20:47:29.764Z] 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-22T20:47:29.764Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T20:47:29.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T20:47:29.794Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T20:47:29.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T20:47:29.913Z] $ docker exec 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent [2023-03-22T20:47:30.029Z] SSH_AUTH_SOCK=/tmp/ssh-0hPxHvBzK2WW/agent.32 [2023-03-22T20:47:30.029Z] SSH_AGENT_PID=38 [2023-03-22T20:47:30.036Z] Running ssh-add (command line suppressed) [2023-03-22T20:47:30.165Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6593525718555142922.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6593525718555142922.key) [2023-03-22T20:47:30.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T20:47:30.464Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T20:47:30.487Z] $ docker exec --env ******** --env ******** 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent -k [2023-03-22T20:47:30.590Z] unset SSH_AUTH_SOCK; [2023-03-22T20:47:30.591Z] unset SSH_AGENT_PID; [2023-03-22T20:47:30.591Z] echo Agent pid 38 killed; [2023-03-22T20:47:30.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T20:47:30.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T20:47:30.618Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T20:47:30.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T20:47:30.739Z] $ docker exec 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent [2023-03-22T20:47:30.861Z] SSH_AUTH_SOCK=/tmp/ssh-tBpCzpl5EHO9/agent.70 [2023-03-22T20:47:30.861Z] SSH_AGENT_PID=76 [2023-03-22T20:47:30.866Z] Running ssh-add (command line suppressed) [2023-03-22T20:47:30.979Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5851333795942150701.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5851333795942150701.key) [2023-03-22T20:47:30.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T20:47:31.280Z] + git semver init [2023-03-22T20:47:31.540Z] 2023-03-22 20:47:31,462 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T20:47:31.540Z] 2023-03-22 20:47:31,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver [2023-03-22T20:47:31.540Z] 2023-03-22 20:47:31,464 [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-22T20:47:31.540Z] 2023-03-22 20:47:31,464 [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-22T20:47:32.481Z] 2023-03-22 20:47:32,307 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude [2023-03-22T20:47:32.481Z] 2023-03-22 20:47:32,308 [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-22T20:47:32.481Z] 2023-03-22 20:47:32,308 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 [2023-03-22T20:47:32.481Z] 2023-03-22 20:47:32,311 [execute] INFO git cat-file --batch-check [2023-03-22T20:47:32.481Z] 2023-03-22 20:47:32,311 [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-22T20:47:32.481Z] 2023-03-22 20:47:32,317 [execute] INFO git cat-file --batch [2023-03-22T20:47:32.481Z] 2023-03-22 20:47:32,318 [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-22T20:47:32.481Z] 2023-03-22 20:47:32,323 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 [2023-03-22T20:47:32.481Z] 0.0.0 [Pipeline] } [2023-03-22T20:47:32.497Z] $ docker exec --env ******** --env ******** 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb ssh-agent -k [2023-03-22T20:47:32.601Z] unset SSH_AUTH_SOCK; [2023-03-22T20:47:32.601Z] unset SSH_AGENT_PID; [2023-03-22T20:47:32.601Z] echo Agent pid 76 killed; [2023-03-22T20:47:32.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T20:47:32.917Z] + git semver [Pipeline] } [2023-03-22T20:47:33.196Z] $ docker stop --time=1 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb [2023-03-22T20:47:34.513Z] $ docker rm -f --volumes 4f87f9c4b9fc6cefaeb3d0879baed2a051caef9aa0e5754213d5c0875bc697fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T20:47:34.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T20:47:35.061Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T20:47:35.065Z] [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-22T20:47:35.222Z] provisioning config files... [2023-03-22T20:47:35.231Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config12859465725916912621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:47:35.530Z] ---> docker-login.sh [2023-03-22T20:47:35.531Z] nexus3.edgexfoundry.org:10001 [2023-03-22T20:47:35.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:35.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:35.531Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:35.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:35.531Z] [2023-03-22T20:47:35.531Z] Login Succeeded [2023-03-22T20:47:35.531Z] nexus3.edgexfoundry.org:10002 [2023-03-22T20:47:35.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:35.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:35.531Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:35.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:35.531Z] [2023-03-22T20:47:35.531Z] Login Succeeded [2023-03-22T20:47:35.531Z] nexus3.edgexfoundry.org:10003 [2023-03-22T20:47:35.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:35.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:35.791Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:35.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:35.791Z] [2023-03-22T20:47:35.791Z] Login Succeeded [2023-03-22T20:47:35.791Z] nexus3.edgexfoundry.org:10004 [2023-03-22T20:47:35.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:35.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:35.791Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:35.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:35.791Z] [2023-03-22T20:47:35.791Z] Login Succeeded [2023-03-22T20:47:35.791Z] docker.io [2023-03-22T20:47:36.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:47:36.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:47:36.051Z] Configure a credential helper to remove this warning. See [2023-03-22T20:47:36.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:47:36.051Z] [2023-03-22T20:47:36.051Z] Login Succeeded [2023-03-22T20:47:36.051Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T20:47:36.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T20:47:36.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T20:47:36.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T20:47:36.164Z] ========================================================= [2023-03-22T20:47:36.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T20:47:36.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:47:36.476Z] + 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-22T20:47:36.476Z] Sending build context to Docker daemon 27.22MB [2023-03-22T20:47:36.476Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T20:47:36.476Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T20:47:36.741Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T20:47:36.741Z] 63b65145d645: Pulling fs layer [2023-03-22T20:47:36.741Z] a2d21d5440eb: Pulling fs layer [2023-03-22T20:47:36.741Z] 935e6c44a52c: Pulling fs layer [2023-03-22T20:47:36.741Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T20:47:36.741Z] 30dea6a524f1: Pulling fs layer [2023-03-22T20:47:36.741Z] a2aff8979fd8: Pulling fs layer [2023-03-22T20:47:36.741Z] 6808be2612f2: Pulling fs layer [2023-03-22T20:47:36.741Z] 94cc34f8dd06: Waiting [2023-03-22T20:47:36.741Z] 30dea6a524f1: Waiting [2023-03-22T20:47:36.741Z] a2aff8979fd8: Waiting [2023-03-22T20:47:36.741Z] f25807f1079a: Pulling fs layer [2023-03-22T20:47:36.741Z] 6808be2612f2: Waiting [2023-03-22T20:47:36.741Z] f25807f1079a: Waiting [2023-03-22T20:47:36.741Z] a2d21d5440eb: Download complete [2023-03-22T20:47:36.741Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T20:47:36.741Z] 94cc34f8dd06: Download complete [2023-03-22T20:47:36.741Z] 30dea6a524f1: Verifying Checksum [2023-03-22T20:47:36.741Z] 30dea6a524f1: Download complete [2023-03-22T20:47:36.741Z] 63b65145d645: Verifying Checksum [2023-03-22T20:47:36.741Z] 63b65145d645: Download complete [2023-03-22T20:47:36.741Z] a2aff8979fd8: Verifying Checksum [2023-03-22T20:47:36.741Z] a2aff8979fd8: Download complete [2023-03-22T20:47:37.013Z] 63b65145d645: Pull complete [2023-03-22T20:47:37.013Z] a2d21d5440eb: Pull complete [2023-03-22T20:47:37.609Z] 935e6c44a52c: Download complete [2023-03-22T20:47:37.609Z] f25807f1079a: Verifying Checksum [2023-03-22T20:47:37.609Z] f25807f1079a: Download complete [2023-03-22T20:47:37.868Z] 6808be2612f2: Verifying Checksum [2023-03-22T20:47:37.868Z] 6808be2612f2: Download complete [2023-03-22T20:47:41.157Z] 935e6c44a52c: Pull complete [2023-03-22T20:47:41.417Z] 94cc34f8dd06: Pull complete [2023-03-22T20:47:41.417Z] 30dea6a524f1: Pull complete [2023-03-22T20:47:41.417Z] a2aff8979fd8: Pull complete [2023-03-22T20:47:43.951Z] 6808be2612f2: Pull complete [2023-03-22T20:47:44.887Z] f25807f1079a: Pull complete [2023-03-22T20:47:44.887Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T20:47:44.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T20:47:44.887Z] ---> 3b553350e43f [2023-03-22T20:47:44.887Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T20:47:46.802Z] ---> Running in fee07436b7f9 [2023-03-22T20:47:46.802Z] Removing intermediate container fee07436b7f9 [2023-03-22T20:47:46.802Z] ---> b453ab0ff74d [2023-03-22T20:47:46.802Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T20:47:46.802Z] ---> Running in a04a252802e1 [2023-03-22T20:47:46.802Z] Removing intermediate container a04a252802e1 [2023-03-22T20:47:46.802Z] ---> caef81cca74b [2023-03-22T20:47:46.802Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T20:47:47.062Z] ---> Running in c5177487821b [2023-03-22T20:47:47.062Z] Removing intermediate container c5177487821b [2023-03-22T20:47:47.062Z] ---> c0cac2d4e300 [2023-03-22T20:47:47.062Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T20:47:47.062Z] ---> Running in 2f0200c97e96 [2023-03-22T20:47:47.320Z] Removing intermediate container 2f0200c97e96 [2023-03-22T20:47:47.320Z] ---> 388900994987 [2023-03-22T20:47:47.320Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-22T20:47:47.320Z] ---> Running in 289c53be45a4 [2023-03-22T20:47:47.320Z] Removing intermediate container 289c53be45a4 [2023-03-22T20:47:47.320Z] ---> c862de85949f [2023-03-22T20:47:47.320Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T20:47:47.320Z] ---> Running in d8ac4e6c5cd9 [2023-03-22T20:47:47.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T20:47:47.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T20:47:48.098Z] OK: 265 MiB in 53 packages [2023-03-22T20:47:48.358Z] Removing intermediate container d8ac4e6c5cd9 [2023-03-22T20:47:48.358Z] ---> 76032153e370 [2023-03-22T20:47:48.358Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-22T20:47:48.358Z] ---> Running in a1e8021c2bea [2023-03-22T20:47:48.617Z] Removing intermediate container a1e8021c2bea [2023-03-22T20:47:48.617Z] ---> 700a6a2f333b [2023-03-22T20:47:48.617Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-22T20:47:48.617Z] ---> 376aca36bf61 [2023-03-22T20:47:48.617Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T20:47:48.617Z] ---> Running in bed8b9fc179b [2023-03-22T20:47:50.172Z] Still waiting to schedule task [2023-03-22T20:47:50.173Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5279’ is offline [2023-03-22T20:48:27.382Z] Removing intermediate container bed8b9fc179b [2023-03-22T20:48:27.382Z] ---> badd17b66015 [2023-03-22T20:48:27.382Z] Step 12/13 : COPY . . [2023-03-22T20:48:27.382Z] ---> 15ce7065e2d7 [2023-03-22T20:48:27.382Z] Step 13/13 : RUN ${MAKE} [2023-03-22T20:48:27.382Z] ---> Running in 3633cbf61d2e [2023-03-22T20:48:27.382Z] noop [2023-03-22T20:48:27.382Z] Removing intermediate container 3633cbf61d2e [2023-03-22T20:48:27.382Z] ---> 671ec7cac261 [2023-03-22T20:48:27.382Z] Successfully built 671ec7cac261 [2023-03-22T20:48:27.382Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:48:27.706Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T20:48:27.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:48:27.786Z] prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container [2023-03-22T20:48:27.821Z] $ 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-22T20:48:28.228Z] $ docker top 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T20:48:28.570Z] + go version [2023-03-22T20:48:28.570Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T20:48:28.584Z] $ docker stop --time=1 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a [2023-03-22T20:48:29.880Z] $ docker rm -f --volumes 376561cad7fb002c4af772680d643a3c400c140edf00d08993957da32e18058a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:48:30.267Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T20:48:30.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:48:30.336Z] prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container [2023-03-22T20:48:30.377Z] $ 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-22T20:48:30.745Z] $ docker top 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T20:48:31.093Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh [2023-03-22T20:48:31.384Z] + make test [2023-03-22T20:48:31.384Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T20:48:36.652Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-22T20:48:48.848Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-22T20:48:48.848Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-22T20:48:49.786Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.7% of statements [2023-03-22T20:48:50.722Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.851s coverage: 86.5% of statements [2023-03-22T20:48:57.279Z] go vet ./... [2023-03-22T20:49:02.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T20:49:02.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T20:49:02.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T20:49:02.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T20:49:02.575Z] $ docker stop --time=1 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f [2023-03-22T20:49:04.028Z] $ docker rm -f --volumes 0cc9e6aba8d4fe372e8f1141810dcc5006318f318ec895c95ec89e1cdd46f28f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T20:49:04.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T20:49:04.572Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T20:49:05.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T20:49:05.370Z] + ls -al . [2023-03-22T20:49:05.370Z] total 236 [2023-03-22T20:49:05.370Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 20:48 . [2023-03-22T20:49:05.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 .. [2023-03-22T20:49:05.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 20:47 .git [2023-03-22T20:49:05.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:47 .github [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 20:47 .gitignore [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 20:47 .golangci.yml [2023-03-22T20:49:05.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:47 .semver [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 20:47 Attribution.txt [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 20:47 CHANGELOG.md [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 20:47 Dockerfile [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 20:47 GOVERNANCE.md [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 20:47 Jenkinsfile [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 20:47 LICENSE [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 20:47 Makefile [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 20:47 OWNERS.md [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 20:47 README.md [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 20:47 VERSION [2023-03-22T20:49:05.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 20:47 bin [2023-03-22T20:49:05.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 20:47 cmd [2023-03-22T20:49:05.370Z] -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 20:48 coverage.out [2023-03-22T20:49:05.370Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 20:47 doc [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 20:47 go.mod [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 20:47 go.sum [2023-03-22T20:49:05.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 internal [2023-03-22T20:49:05.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 20:47 snap [2023-03-22T20:49:05.370Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:49:05.682Z] + 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=2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 --label arch=amd64 --label version=0.0.0 . [2023-03-22T20:49:05.682Z] Sending build context to Docker daemon 27.3MB [2023-03-22T20:49:05.682Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T20:49:05.682Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-22T20:49:05.682Z] ---> 671ec7cac261 [2023-03-22T20:49:05.682Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-22T20:49:05.948Z] ---> Running in 0b3f9286960b [2023-03-22T20:49:06.207Z] Removing intermediate container 0b3f9286960b [2023-03-22T20:49:06.208Z] ---> 1bf44242cd18 [2023-03-22T20:49:06.208Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T20:49:06.208Z] ---> Running in 6a0b88549a46 [2023-03-22T20:49:06.208Z] Removing intermediate container 6a0b88549a46 [2023-03-22T20:49:06.208Z] ---> db9ece36601c [2023-03-22T20:49:06.208Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T20:49:06.208Z] ---> Running in ae5bda2ac259 [2023-03-22T20:49:06.468Z] Removing intermediate container ae5bda2ac259 [2023-03-22T20:49:06.468Z] ---> f6860bb438e2 [2023-03-22T20:49:06.468Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T20:49:06.468Z] ---> Running in ca45d59add97 [2023-03-22T20:49:06.468Z] Removing intermediate container ca45d59add97 [2023-03-22T20:49:06.468Z] ---> ed42a2857459 [2023-03-22T20:49:06.468Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-22T20:49:06.468Z] ---> Running in c1e0f5cf716f [2023-03-22T20:49:06.726Z] Removing intermediate container c1e0f5cf716f [2023-03-22T20:49:06.726Z] ---> 6dc5860cf759 [2023-03-22T20:49:06.726Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T20:49:06.726Z] ---> Running in ada72346fcf6 [2023-03-22T20:49:06.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T20:49:06.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T20:49:07.243Z] OK: 265 MiB in 53 packages [2023-03-22T20:49:07.811Z] Removing intermediate container ada72346fcf6 [2023-03-22T20:49:07.811Z] ---> 508f7488ec8d [2023-03-22T20:49:07.811Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-22T20:49:07.811Z] ---> Running in 91d15afcac20 [2023-03-22T20:49:07.811Z] Removing intermediate container 91d15afcac20 [2023-03-22T20:49:07.811Z] ---> da11349d3d59 [2023-03-22T20:49:07.811Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-22T20:49:08.070Z] ---> 87aa39ccd976 [2023-03-22T20:49:08.070Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T20:49:08.070Z] ---> Running in 089a57bf1543 [2023-03-22T20:49:09.008Z] Removing intermediate container 089a57bf1543 [2023-03-22T20:49:09.008Z] ---> 26961acb2925 [2023-03-22T20:49:09.008Z] Step 12/26 : COPY . . [2023-03-22T20:49:09.944Z] ---> 3d7d078b5696 [2023-03-22T20:49:09.944Z] Step 13/26 : RUN ${MAKE} [2023-03-22T20:49:09.944Z] ---> Running in 82f372b2647e [2023-03-22T20:49:10.202Z] 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-22T20:49:32.165Z] Removing intermediate container 82f372b2647e [2023-03-22T20:49:32.165Z] ---> 118d115a2c2d [2023-03-22T20:49:32.165Z] Step 14/26 : FROM alpine:3.17 [2023-03-22T20:49:32.165Z] 3.17: Pulling from library/alpine [2023-03-22T20:49:32.165Z] 63b65145d645: Already exists [2023-03-22T20:49:32.165Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T20:49:32.165Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T20:49:32.165Z] ---> b2aa39c304c2 [2023-03-22T20:49:32.165Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-22T20:49:32.165Z] ---> Running in 7b8e19678b16 [2023-03-22T20:49:32.165Z] Removing intermediate container 7b8e19678b16 [2023-03-22T20:49:32.165Z] ---> 02fb1d567541 [2023-03-22T20:49:32.165Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-22T20:49:32.165Z] ---> Running in c44caba09512 [2023-03-22T20:49:32.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T20:49:32.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T20:49:32.165Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-22T20:49:32.165Z] Executing busybox-1.35.0-r29.trigger [2023-03-22T20:49:32.165Z] OK: 7 MiB in 16 packages [2023-03-22T20:49:32.165Z] Removing intermediate container c44caba09512 [2023-03-22T20:49:32.165Z] ---> bee542ccebe4 [2023-03-22T20:49:32.165Z] Step 17/26 : WORKDIR / [2023-03-22T20:49:32.165Z] ---> Running in 27995efd695e [2023-03-22T20:49:32.425Z] Removing intermediate container 27995efd695e [2023-03-22T20:49:32.425Z] ---> d1484700e934 [2023-03-22T20:49:32.425Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-22T20:49:32.994Z] ---> 6977ccbc6592 [2023-03-22T20:49:32.994Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-22T20:49:32.994Z] ---> 3eb2cf4bbd56 [2023-03-22T20:49:32.994Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-22T20:49:33.255Z] ---> bc3532ae8bab [2023-03-22T20:49:33.255Z] Step 21/26 : EXPOSE 59984 [2023-03-22T20:49:33.255Z] ---> Running in d1b74e94b395 [2023-03-22T20:49:33.513Z] Removing intermediate container d1b74e94b395 [2023-03-22T20:49:33.514Z] ---> c61175f21819 [2023-03-22T20:49:33.514Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-22T20:49:33.514Z] ---> Running in 08e742fb06ee [2023-03-22T20:49:33.514Z] Removing intermediate container 08e742fb06ee [2023-03-22T20:49:33.514Z] ---> bbd32af9269e [2023-03-22T20:49:33.514Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T20:49:33.514Z] ---> Running in 4bd17487e60d [2023-03-22T20:49:33.772Z] Removing intermediate container 4bd17487e60d [2023-03-22T20:49:33.772Z] ---> 50275d9bebff [2023-03-22T20:49:33.772Z] Step 24/26 : LABEL arch=amd64 [2023-03-22T20:49:33.772Z] ---> Running in c6abe8824469 [2023-03-22T20:49:33.772Z] Removing intermediate container c6abe8824469 [2023-03-22T20:49:33.772Z] ---> a8a00951aa74 [2023-03-22T20:49:33.772Z] Step 25/26 : LABEL git_sha=2f3e708c5fa6f72c5b93b9f63e8afc2421c466d5 [2023-03-22T20:49:33.772Z] ---> Running in 9232c3c0c8a5 [2023-03-22T20:49:34.031Z] Removing intermediate container 9232c3c0c8a5 [2023-03-22T20:49:34.031Z] ---> 21d00878e964 [2023-03-22T20:49:34.031Z] Step 26/26 : LABEL version=0.0.0 [2023-03-22T20:49:34.031Z] ---> Running in 0f9d2015d7f8 [2023-03-22T20:49:34.031Z] Removing intermediate container 0f9d2015d7f8 [2023-03-22T20:49:34.031Z] ---> e64077ae1598 [2023-03-22T20:49:34.031Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T20:49:34.031Z] Successfully built e64077ae1598 [2023-03-22T20:49:34.031Z] 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-22T20:49:34.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T20:49:34.444Z] [2023-03-22T20:49:34.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:49:34.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T20:49:34.743Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T20:49:34.743Z] 5eb5b503b376: Pulling fs layer [2023-03-22T20:49:34.743Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T20:49:34.743Z] ec43610c2a17: Pulling fs layer [2023-03-22T20:49:34.743Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T20:49:34.743Z] 33b1e0a273af: Pulling fs layer [2023-03-22T20:49:34.743Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T20:49:34.743Z] 2f39f015ded8: Pulling fs layer [2023-03-22T20:49:34.743Z] 33b1e0a273af: Waiting [2023-03-22T20:49:34.743Z] 5d3b04190fa2: Waiting [2023-03-22T20:49:34.743Z] 2f39f015ded8: Waiting [2023-03-22T20:49:34.743Z] 3a2ae6a8a46f: Waiting [2023-03-22T20:49:34.743Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T20:49:34.743Z] 5c69ac0246d0: Download complete [2023-03-22T20:49:34.743Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T20:49:34.743Z] 3a2ae6a8a46f: Download complete [2023-03-22T20:49:35.003Z] 33b1e0a273af: Verifying Checksum [2023-03-22T20:49:35.003Z] 33b1e0a273af: Download complete [2023-03-22T20:49:35.003Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T20:49:35.003Z] 5d3b04190fa2: Download complete [2023-03-22T20:49:35.003Z] ec43610c2a17: Verifying Checksum [2023-03-22T20:49:35.003Z] ec43610c2a17: Download complete [2023-03-22T20:49:35.003Z] 5eb5b503b376: Verifying Checksum [2023-03-22T20:49:35.003Z] 5eb5b503b376: Download complete [2023-03-22T20:49:35.939Z] 2f39f015ded8: Verifying Checksum [2023-03-22T20:49:35.939Z] 2f39f015ded8: Download complete [2023-03-22T20:49:36.504Z] 5eb5b503b376: Pull complete [2023-03-22T20:49:36.504Z] 5c69ac0246d0: Pull complete [2023-03-22T20:49:37.072Z] ec43610c2a17: Pull complete [2023-03-22T20:49:37.072Z] 3a2ae6a8a46f: Pull complete [2023-03-22T20:49:37.330Z] 33b1e0a273af: Pull complete [2023-03-22T20:49:37.330Z] 5d3b04190fa2: Pull complete [2023-03-22T20:49:42.595Z] 2f39f015ded8: Pull complete [2023-03-22T20:49:42.595Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T20:49:42.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T20:49:42.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:49:42.681Z] prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container [2023-03-22T20:49:42.716Z] $ 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-22T20:49:44.595Z] $ docker top bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:49:44.958Z] ---> job-cost.sh [2023-03-22T20:49:44.958Z] lf-activate-venv: SKIPPING [2023-03-22T20:49:44.958Z] INFO: No Stack... [2023-03-22T20:49:45.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T20:49:45.475Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T20:49:46.026Z] + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv [2023-03-22T20:49:46.026Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T20:49:46.040Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [2023-03-22T20:49:46.053Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] did not exist. Created. [2023-03-22T20:49:46.053Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T20:49:46.355Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T20:49:46.386Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T20:49:46.393Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T20:49:46.413Z] $ docker stop --time=1 bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c [2023-03-22T20:49:47.585Z] $ docker rm -f --volumes bba13fcf6f6d0832c0cb8d0d684407c2f5c34895ed84adeab2187a5954b14b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T20:49:50.509Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5281 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws [2023-03-22T20:49:50.522Z] Running in /w/workspace/device-onvif-camera/8 [Pipeline] { [Pipeline] checkout [2023-03-22T20:49:50.561Z] The recommended git tool is: git [2023-03-22T20:50:01.278Z] using credential edgex-jenkins-ssh [2023-03-22T20:50:01.312Z] Cloning the remote Git repository [2023-03-22T20:50:01.421Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T20:50:01.650Z] > git init /w/workspace/device-onvif-camera/8 # timeout=10 [2023-03-22T20:50:01.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T20:50:01.960Z] > git --version # timeout=10 [2023-03-22T20:50:02.023Z] > git --version # 'git version 2.25.1' [2023-03-22T20:50:02.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T20:50:02.413Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T20:50:04.606Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-22T20:50:04.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T20:50:06.851Z] Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 05c851161300a38c95846c5528dad20742973dec [2023-03-22T20:50:06.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-22T20:50:06.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-22T20:50:06.144Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T20:50:06.162Z] > 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-22T20:50:06.882Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T20:50:06.975Z] > git checkout -f 05c851161300a38c95846c5528dad20742973dec # timeout=10 [2023-03-22T20:50:08.056Z] Merge succeeded, producing 454bb8809c70651e487a1a798886b44a9cbdbd45 [2023-03-22T20:50:08.057Z] Checking out Revision 454bb8809c70651e487a1a798886b44a9cbdbd45 (PR-281) [2023-03-22T20:50:07.319Z] > git remote # timeout=10 [2023-03-22T20:50:07.371Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T20:50:07.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T20:50:07.427Z] > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 [2023-03-22T20:50:08.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T20:50:08.070Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T20:50:08.090Z] > git checkout -f 454bb8809c70651e487a1a798886b44a9cbdbd45 # timeout=10 [2023-03-22T20:50:11.759Z] Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" [2023-03-22T20:50:11.783Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T20:50:12.690Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T20:50:12.690Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T20:50:12.690Z] Dload Upload Total Spent Left Speed [2023-03-22T20:50:12.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [2023-03-22T20:50:11.772Z] > git rev-list --no-walk 66864d28fca1ab84d07011c328eeca2611b1502e # timeout=10 [Pipeline] sh [2023-03-22T20:50:13.389Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T20:50:13.720Z] + sudo tee /etc/docker/daemon.new [2023-03-22T20:50:13.720Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T20:50:13.720Z] { [2023-03-22T20:50:13.720Z] "registry-mirrors": [ [2023-03-22T20:50:13.720Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T20:50:13.720Z] ], [2023-03-22T20:50:13.720Z] "bip": "10.250.0.254/24", [2023-03-22T20:50:13.720Z] "hosts": [ [2023-03-22T20:50:13.720Z] "tcp://0.0.0.0:5555", [2023-03-22T20:50:13.720Z] "unix:///var/run/docker.sock" [2023-03-22T20:50:13.720Z] ], [2023-03-22T20:50:13.720Z] "mtu": 1458, [2023-03-22T20:50:13.720Z] "selinux-enabled": true, [2023-03-22T20:50:13.720Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T20:50:13.720Z] } [Pipeline] sh [2023-03-22T20:50:14.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T20:50:14.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T20:50:32.716Z] provisioning config files... [2023-03-22T20:50:32.743Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/8@tmp/config14943099039356850369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:50:33.096Z] ---> docker-login.sh [2023-03-22T20:50:33.096Z] nexus3.edgexfoundry.org:10001 [2023-03-22T20:50:33.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:50:33.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:50:33.633Z] Configure a credential helper to remove this warning. See [2023-03-22T20:50:33.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:50:33.633Z] [2023-03-22T20:50:33.633Z] Login Succeeded [2023-03-22T20:50:33.901Z] nexus3.edgexfoundry.org:10002 [2023-03-22T20:50:33.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:50:34.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:50:34.170Z] Configure a credential helper to remove this warning. See [2023-03-22T20:50:34.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:50:34.170Z] [2023-03-22T20:50:34.170Z] Login Succeeded [2023-03-22T20:50:34.170Z] nexus3.edgexfoundry.org:10003 [2023-03-22T20:50:34.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:50:34.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:50:34.443Z] Configure a credential helper to remove this warning. See [2023-03-22T20:50:34.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:50:34.443Z] [2023-03-22T20:50:34.443Z] Login Succeeded [2023-03-22T20:50:34.443Z] nexus3.edgexfoundry.org:10004 [2023-03-22T20:50:34.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:50:34.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:50:34.719Z] Configure a credential helper to remove this warning. See [2023-03-22T20:50:34.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:50:34.719Z] [2023-03-22T20:50:34.719Z] Login Succeeded [2023-03-22T20:50:34.719Z] docker.io [2023-03-22T20:50:34.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T20:50:35.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T20:50:35.258Z] Configure a credential helper to remove this warning. See [2023-03-22T20:50:35.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T20:50:35.258Z] [2023-03-22T20:50:35.258Z] Login Succeeded [2023-03-22T20:50:35.258Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T20:50:35.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T20:50:35.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T20:50:35.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T20:50:35.539Z] ========================================================= [2023-03-22T20:50:35.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T20:50:35.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:50:35.893Z] + 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-22T20:50:36.481Z] Sending build context to Docker daemon 19.92MB [2023-03-22T20:50:36.481Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T20:50:36.481Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-22T20:50:36.750Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T20:50:36.750Z] af6eaf76a39c: Pulling fs layer [2023-03-22T20:50:36.750Z] 55522c791124: Pulling fs layer [2023-03-22T20:50:36.750Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T20:50:36.750Z] 169dfbe0d373: Pulling fs layer [2023-03-22T20:50:36.750Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T20:50:36.750Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T20:50:36.750Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T20:50:36.750Z] e1ff8fa3b103: Waiting [2023-03-22T20:50:36.750Z] 52ebb69f0ebf: Waiting [2023-03-22T20:50:36.750Z] 5abe8eddf0d5: Waiting [2023-03-22T20:50:36.750Z] 55522c791124: Verifying Checksum [2023-03-22T20:50:36.750Z] 55522c791124: Download complete [2023-03-22T20:50:36.750Z] 169dfbe0d373: Verifying Checksum [2023-03-22T20:50:36.750Z] 169dfbe0d373: Download complete [2023-03-22T20:50:36.750Z] e1ff8fa3b103: Download complete [2023-03-22T20:50:36.750Z] af6eaf76a39c: Verifying Checksum [2023-03-22T20:50:36.750Z] af6eaf76a39c: Download complete [2023-03-22T20:50:37.741Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T20:50:37.741Z] 5abe8eddf0d5: Download complete [2023-03-22T20:50:37.741Z] af6eaf76a39c: Pull complete [2023-03-22T20:50:39.158Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T20:50:39.158Z] ce5c4a1c91eb: Download complete [2023-03-22T20:50:39.158Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T20:50:39.158Z] 52ebb69f0ebf: Download complete [2023-03-22T20:50:40.574Z] 55522c791124: Pull complete [2023-03-22T20:50:50.674Z] ce5c4a1c91eb: Pull complete [2023-03-22T20:50:50.675Z] 169dfbe0d373: Pull complete [2023-03-22T20:50:50.675Z] e1ff8fa3b103: Pull complete [2023-03-22T20:50:57.351Z] 52ebb69f0ebf: Pull complete [2023-03-22T20:50:59.311Z] 5abe8eddf0d5: Pull complete [2023-03-22T20:50:59.311Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T20:50:59.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T20:50:59.311Z] ---> 6cb57ee374ae [2023-03-22T20:50:59.311Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-22T20:51:01.272Z] ---> Running in 9dc25f7af697 [2023-03-22T20:51:01.541Z] Removing intermediate container 9dc25f7af697 [2023-03-22T20:51:01.541Z] ---> 26b774efb27d [2023-03-22T20:51:01.541Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-22T20:51:01.541Z] ---> Running in 995568db1309 [2023-03-22T20:51:01.810Z] Removing intermediate container 995568db1309 [2023-03-22T20:51:01.810Z] ---> 2df17aceaf2e [2023-03-22T20:51:01.810Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-22T20:51:01.810Z] ---> Running in 780f4148ec60 [2023-03-22T20:51:02.082Z] Removing intermediate container 780f4148ec60 [2023-03-22T20:51:02.082Z] ---> 74ed10b486d4 [2023-03-22T20:51:02.082Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-22T20:51:02.082Z] ---> Running in 2a4d8a4b2c0a [2023-03-22T20:51:02.357Z] Removing intermediate container 2a4d8a4b2c0a [2023-03-22T20:51:02.357Z] ---> 4b262edd8a53 [2023-03-22T20:51:02.358Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-22T20:51:02.631Z] ---> Running in 8bdff08bf3b1 [2023-03-22T20:51:02.901Z] Removing intermediate container 8bdff08bf3b1 [2023-03-22T20:51:02.901Z] ---> 461f4fef98c2 [2023-03-22T20:51:02.901Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-22T20:51:02.901Z] ---> Running in 3b1a7ae110e8 [2023-03-22T20:51:04.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T20:51:04.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T20:51:05.550Z] OK: 263 MiB in 53 packages [2023-03-22T20:51:06.529Z] Removing intermediate container 3b1a7ae110e8 [2023-03-22T20:51:06.529Z] ---> ebf3e30d215e [2023-03-22T20:51:06.529Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-22T20:51:06.529Z] ---> Running in 8abfa75f4ff2 [2023-03-22T20:51:06.819Z] Removing intermediate container 8abfa75f4ff2 [2023-03-22T20:51:06.819Z] ---> e45e3b404ef2 [2023-03-22T20:51:06.819Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-22T20:51:07.407Z] ---> 406e9d22e7a5 [2023-03-22T20:51:07.407Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T20:51:07.407Z] ---> Running in ddd6605c4eb0 [2023-03-22T20:52:15.319Z] Removing intermediate container ddd6605c4eb0 [2023-03-22T20:52:15.319Z] ---> 451eef9dcac1 [2023-03-22T20:52:15.319Z] Step 12/13 : COPY . . [2023-03-22T20:52:17.289Z] ---> 341d49874191 [2023-03-22T20:52:17.289Z] Step 13/13 : RUN ${MAKE} [2023-03-22T20:52:17.289Z] ---> Running in e816d294bf1b [2023-03-22T20:52:18.261Z] noop [2023-03-22T20:52:18.848Z] Removing intermediate container e816d294bf1b [2023-03-22T20:52:18.848Z] ---> 5582e6d486b4 [2023-03-22T20:52:18.848Z] Successfully built 5582e6d486b4 [2023-03-22T20:52:18.848Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:52:19.204Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T20:52:19.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:52:19.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container [2023-03-22T20:52:19.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-22T20:52:20.737Z] $ docker top d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T20:52:21.621Z] + go version [2023-03-22T20:52:21.621Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T20:52:21.650Z] $ docker stop --time=1 d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 [2023-03-22T20:52:23.340Z] $ docker rm -f --volumes d029c448a0a054a6b364aa06f0c49d48650377e24fbbe5463aa7e4e1f2bd3c97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:52:23.908Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T20:52:23.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:52:24.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container [2023-03-22T20:52:24.162Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-22T20:52:26.471Z] $ docker top 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T20:52:27.304Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/8 [Pipeline] fileExists [Pipeline] sh [2023-03-22T20:52:27.957Z] + make test [2023-03-22T20:52:27.957Z] go test ./... -coverprofile=coverage.out ./... [2023-03-22T20:53:00.220Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-22T20:55:21.958Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-22T20:55:21.958Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-22T20:55:21.958Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.7% of statements [2023-03-22T20:55:48.698Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-22T20:55:48.698Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.18s) [2023-03-22T20:55:48.698Z] util_test.go:180: [2023-03-22T20:55:48.698Z] Error Trace: /w/workspace/device-onvif-camera/8/internal/netscan/util_test.go:180 [2023-03-22T20:55:48.698Z] Error: Not equal: [2023-03-22T20:55:48.698Z] expected: 0xfffffe [2023-03-22T20:55:48.698Z] actual : 0xdf51aa [2023-03-22T20:55:48.698Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-22T20:55:48.698Z] util_test.go:183: [2023-03-22T20:55:48.698Z] Error Trace: /w/workspace/device-onvif-camera/8/internal/netscan/util_test.go:183 [2023-03-22T20:55:48.698Z] Error: Not equal: [2023-03-22T20:55:48.698Z] expected: "10.255.255.254" [2023-03-22T20:55:48.698Z] actual : "10.223.81.170" [2023-03-22T20:55:48.698Z] [2023-03-22T20:55:48.698Z] Diff: [2023-03-22T20:55:48.698Z] --- Expected [2023-03-22T20:55:48.698Z] +++ Actual [2023-03-22T20:55:48.698Z] @@ -1 +1 @@ [2023-03-22T20:55:48.698Z] -10.255.255.254 [2023-03-22T20:55:48.698Z] +10.223.81.170 [2023-03-22T20:55:48.698Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-22T20:55:48.698Z] FAIL [2023-03-22T20:55:48.698Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-22T20:55:48.698Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.399s [2023-03-22T20:55:48.698Z] FAIL [2023-03-22T20:55:48.698Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-22T20:55:48.726Z] $ docker stop --time=1 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 [2023-03-22T20:55:51.952Z] $ docker rm -f --volumes 253d687c2a3b0feac20f29f112dab239914c8f9992b996873a10186fad252b97 [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-22T20:55:53.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T20:55:53.366Z] [2023-03-22T20:55:53.366Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:55:53.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T20:55:53.981Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T20:55:53.981Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T20:55:53.981Z] 04944245beec: Pulling fs layer [2023-03-22T20:55:53.981Z] 699f458cf7ca: Pulling fs layer [2023-03-22T20:55:53.981Z] 765212b225bb: Pulling fs layer [2023-03-22T20:55:53.981Z] f23df028b6ca: Pulling fs layer [2023-03-22T20:55:53.981Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T20:55:53.981Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T20:55:53.981Z] 765212b225bb: Waiting [2023-03-22T20:55:53.981Z] f23df028b6ca: Waiting [2023-03-22T20:55:53.981Z] d65c8cfc05b1: Waiting [2023-03-22T20:55:53.981Z] 2437ff75d9bd: Waiting [2023-03-22T20:55:53.981Z] 04944245beec: Verifying Checksum [2023-03-22T20:55:53.981Z] 04944245beec: Download complete [2023-03-22T20:55:53.981Z] 765212b225bb: Verifying Checksum [2023-03-22T20:55:53.981Z] 765212b225bb: Download complete [2023-03-22T20:55:54.256Z] f23df028b6ca: Verifying Checksum [2023-03-22T20:55:54.256Z] f23df028b6ca: Download complete [2023-03-22T20:55:54.256Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T20:55:54.256Z] d65c8cfc05b1: Download complete [2023-03-22T20:55:54.256Z] 699f458cf7ca: Verifying Checksum [2023-03-22T20:55:54.256Z] 699f458cf7ca: Download complete [2023-03-22T20:55:54.847Z] 8998bd30e6a1: Download complete [2023-03-22T20:55:57.442Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T20:55:57.442Z] 2437ff75d9bd: Download complete [2023-03-22T20:55:58.858Z] 8998bd30e6a1: Pull complete [2023-03-22T20:55:59.217Z] 04944245beec: Pull complete [2023-03-22T20:56:01.266Z] 699f458cf7ca: Pull complete [2023-03-22T20:56:01.266Z] 765212b225bb: Pull complete [2023-03-22T20:56:01.866Z] f23df028b6ca: Pull complete [2023-03-22T20:56:02.140Z] d65c8cfc05b1: Pull complete [2023-03-22T20:56:17.188Z] 2437ff75d9bd: Pull complete [2023-03-22T20:56:17.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T20:56:17.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T20:56:17.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:56:17.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-5281 does not seem to be running inside a container [2023-03-22T20:56:17.545Z] $ 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/8 -v /w/workspace/device-onvif-camera/8:/w/workspace/device-onvif-camera/8:rw,z -v /w/workspace/device-onvif-camera/8@tmp:/w/workspace/device-onvif-camera/8@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-22T20:56:19.394Z] $ docker top eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:20.240Z] ---> job-cost.sh [2023-03-22T20:56:20.241Z] lf-activate-venv: SKIPPING [2023-03-22T20:56:20.241Z] INFO: No Stack... [2023-03-22T20:56:20.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T20:56:21.477Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T20:56:22.134Z] + cat /w/workspace/device-onvif-camera/8/archives/cost.csv [2023-03-22T20:56:22.134Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T20:56:22.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [2023-03-22T20:56:22.230Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] did not exist. Created. [2023-03-22T20:56:22.230Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T20:56:22.892Z] /w/workspace/device-onvif-camera/8@tmp/durable-96974c4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T20:56:23.231Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T20:56:23.520Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T20:56:24.012Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T20:56:24.021Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T20:56:24.049Z] $ docker stop --time=1 eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af [2023-03-22T20:56:25.516Z] $ docker rm -f --volumes eca9ae3a8af4674ea6ff5b9f1cc348fedbe8015a864b83b7a42326d2837dd3af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T20:56:25.751Z] 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-22T20:56:26.413Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] [2023-03-22T20:56:26.413Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T20:56:26.413Z] total 16 [2023-03-22T20:56:26.413Z] drwxr-xr-x 3 root root 4096 Mar 22 20:49 . [2023-03-22T20:56:26.413Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 20:49 .. [2023-03-22T20:56:26.413Z] drwxr-xr-x 2 root root 4096 Mar 22 20:49 cost [2023-03-22T20:56:26.413Z] -rw-r--r-- 1 root root 91 Mar 22 20:49 cost.csv [2023-03-22T20:56:26.413Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T20:56:26.413Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives [2023-03-22T20:56:26.413Z] total 16 [2023-03-22T20:56:26.413Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 20:49 . [2023-03-22T20:56:26.413Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 20:49 .. [2023-03-22T20:56:26.413Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 20:49 cost [2023-03-22T20:56:26.413Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 22 20:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:26.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:27.566Z] ---> package-listing.sh [2023-03-22T20:56:27.567Z] ++ facter osfamily [2023-03-22T20:56:27.567Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T20:56:27.825Z] + OS_FAMILY=debian [2023-03-22T20:56:27.825Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-281 [2023-03-22T20:56:27.825Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T20:56:27.825Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T20:56:27.825Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T20:56:27.825Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T20:56:27.825Z] + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' [2023-03-22T20:56:27.825Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T20:56:27.825Z] + case "${OS_FAMILY}" in [2023-03-22T20:56:27.825Z] + dpkg -l [2023-03-22T20:56:27.825Z] + grep '^ii' [2023-03-22T20:56:27.825Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T20:56:27.826Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T20:56:27.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T20:56:27.826Z] + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' [2023-03-22T20:56:27.826Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ [2023-03-22T20:56:27.826Z] + 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-22T20:56:27.835Z] 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-22T20:56:28.113Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T20:56:28.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T20:56:28.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T20:56:28.756Z] prd-ubuntu20.04-docker-8c-8g-5280 does not seem to be running inside a container [2023-03-22T20:56:28.797Z] $ 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-22T20:56:29.011Z] $ docker top 453207bca6e6a1f5b193db24bb1d05aab4891268387de14fa1806aa97a2bcb50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T20:56:29.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T20:56:29.642Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T20:56:29.928Z] + ls /var/log/sa-host [2023-03-22T20:56:29.928Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T20:56:29.994Z] provisioning config files... [2023-03-22T20:56:30.004Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17888145094668820033tmp [Pipeline] { [Pipeline] echo [2023-03-22T20:56:30.021Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:30.306Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T20:56:30.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:30.637Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T20:56:30.645Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:30.934Z] ---> sudo-logs.sh [2023-03-22T20:56:30.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T20:56:30.962Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:31.247Z] ---> job-cost.sh [2023-03-22T20:56:31.247Z] lf-activate-venv: SKIPPING [2023-03-22T20:56:31.247Z] DEBUG: total: 0.2199999988079071 [2023-03-22T20:56:31.247Z] INFO: Retrieving Stack Cost... [2023-03-22T20:56:31.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T20:56:31.766Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T20:56:31.778Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T20:56:32.063Z] ---> logs-deploy.sh [2023-03-22T20:56:32.063Z] lf-activate-venv: SKIPPING [2023-03-22T20:56:32.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/8 [2023-03-22T20:56:32.063Z] INFO: archiving workspace using pattern(s): [2023-03-22T20:56:33.004Z] Archives upload complete. [2023-03-22T20:56:33.264Z] INFO: archiving logs to Nexus